Screen display method and related electronic equipment

By obtaining data on application scenarios, user habits and ambient light, calculating the target rhythm stimulus value and adjusting the color of the screen light, the problem of insufficient blue light proportional adjustment ability in screen light in the prior art is solved, and the user experience and sleep quality are improved.

CN118314827BActive Publication Date: 2025-03-14HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410532458.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2025-03-14
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

The dynamic adjustment capability of the blue light ratio in the screen light of existing electronic devices is insufficient, which affects the user's user experience and sleep quality in different application scenarios.

Method used

By obtaining data from application scenarios, user habits and ambient light, the target rhythm stimulus value is calculated, the color conversion matrix is ​​calculated based on this value, the color of the screen light is dynamically adjusted, and the blue light ratio is adjusted.

Benefits of technology

It realizes dynamically adjusting the blue light ratio of screen light in different application scenarios to improve user experience and sleep quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314827B_ABST
    Figure CN118314827B_ABST
Patent Text Reader

Abstract

The present application provides a screen display method and related electronic equipment, the method comprising: acquiring first rhythm data, second rhythm data and third rhythm data, the first rhythm data being used to characterize the current application scenario of the electronic equipment, the second rhythm data being used to characterize the user's habit data, the habit data including the time data of the user falling asleep, and the third rhythm data being used to characterize the parameters of the ambient light; calculating a target rhythm stimulation value according to the first rhythm data, the second rhythm data and the third rhythm data and the rhythm stimulation value of white light under the current screen backlight; calculating a color conversion matrix based on the target rhythm stimulation value; and, when determining to adjust the color of the screen light, adjusting the color of the screen light of the screen through the color conversion matrix.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of screen display, and in particular to a screen display method and related electronic equipment. Background Art

[0002] When users use electronic devices, the different wavelengths of light emitted by the screen of the electronic device will affect the user's eyes, thereby affecting the secretion of the human brain and related hormones. In the human eye, there are cells such as cones, rods, and self-photosensitive retinal ganglion cells. Among them, cones are responsible for color recognition and are sensitive to strong light and color. They mainly include three types of cones, which sense red (wavelength of about 600nm), green (wavelength of about 550nm) and blue (wavelength of about 450nm) light respectively. There are about 120 million rods, which are sensitive to weak light stimulation. For self-photosensitive retinal ganglion cells, their light stimulation will affect the secretion of related hormones in the human body. When self-photosensitive retinal ganglion cells receive more blue light stimulation (or the screen color has a higher related color temperature), they will inhibit the secretion of melatonin and promote the increase of cortisol secretion. In the human body, excessive secretion of cortisol can improve the user's attention level and excitement level. In the human body, melatonin is used to regulate circadian rhythms. After night falls, light stimulation weakens, the activity of enzymes that synthesize melatonin in the pineal gland increases, and the level of melatonin secretion in the body also increases accordingly, reaching a peak at 2 to 3 a.m. At night, the level of melatonin directly affects the quality of sleep. When melatonin secretion is too low, it may cause the body to be unable to fall asleep normally at night due to excitement or concentration, affecting the mental state of the next day. Summary of the invention

[0003] The embodiments of the present application provide a screen display method and related electronic devices, which enable the electronic device to dynamically adjust the proportion of blue light in the screen light to meet the needs of users in different application scenarios.

[0004] In a first aspect, an embodiment of the present application provides a screen display method, which is applied to an electronic device with a display screen, the method comprising: acquiring first rhythm data, second rhythm data and third rhythm data, the first rhythm data being used to characterize a current application scenario of the electronic device, the second rhythm data being used to characterize a user's habit data, the habit data including data on the time the user falls asleep, and the third rhythm data being used to characterize parameters of ambient light; calculating a target rhythm stimulation value based on the first rhythm data, the second rhythm data and the third rhythm data and the rhythm stimulation value of white light under the current screen backlight; calculating a color conversion matrix based on the target rhythm stimulation value; and when determining to adjust the color of the screen light, adjusting the color of the screen light of the screen through the color conversion matrix.

[0005] In the above embodiments, the electronic device adjusts the proportion of blue light in the screen light by dynamically adjusting the correlated color temperature of the screen light based on factors such as the current application scenario, user habits, and ambient illumination / color temperature, so as to meet the needs of users in different application scenarios (for example, in a reading scenario, the proportion of blue light in the screen light is appropriately increased so that the user can concentrate better during the reading process), thereby improving the user experience.

[0006] In combination with the first aspect, in a possible implementation, the target rhythmic stimulation value is calculated according to the first rhythmic data, the second rhythmic data, the third rhythmic data and the rhythmic stimulation value of white light under the current screen backlight, specifically including: calculating the target rhythmic coefficient K′ according to the first rhythmic data, the second rhythmic data and the third rhythmic data; calculating the rhythmic stimulation value CS of white light under the current screen backlight; calculating the target rhythmic stimulation value CS_1 by the formula CS_1=K′×CS. In this way, the electronic device can calculate the target rhythmic stimulation value and adjust the color of the screen light according to the target rhythmic stimulation value.

[0007] In combination with the first aspect, in one possible implementation method, the target rhythm stimulation value is calculated based on the first rhythm data, the second rhythm data, the third rhythm data and the rhythm stimulation value of white light under the current screen backlight, specifically including: calculating the target rhythm coefficient K′ based on the first rhythm data, the second rhythm data and the third rhythm data; calculating the rhythm stimulation value CS of white light under the current screen backlight; calculating the target rhythm stimulation value CS_1 by the formula CS_1=K′×CS×0.8.

[0008] In combination with the first aspect, in one possible implementation method, the rhythmic stimulation value CS of the white light under the current screen backlight is calculated, specifically including: obtaining the RGB pixel spectrum of the display screen; calculating the chromaticity value of the white point of the display screen; calculating the spectrum of the white point at a first brightness value based on the chromaticity value of the white point of the display screen; calculating the rhythmic stimulation value of the white light under the current screen backlight based on the spectrum of the white point.

[0009] In combination with the first aspect, in a possible implementation method, calculating the rhythmic stimulation value CS of white light under the current screen backlight specifically includes: acquiring the RGB pixel spectrum of the display screen; performing white balance processing on the image of the display screen to obtain the image after white balance processing; calculating the chromaticity value of the white point of the image in the display screen; the white point of the image in the display screen is the white point of the display screen; calculating the spectrum of the white point at a first brightness value based on the chromaticity value of the white point of the display screen; and calculating the rhythmic stimulation value of the white light under the current screen backlight based on the spectrum of the white point.

[0010] In combination with the first aspect, in a possible implementation, calculating the chromaticity value of the white point of the display screen specifically includes: obtaining the correlated color temperature CCT of the current screen light of the display screen; if 4000K≤CCT≤7000K, the calculation formula of the chromaticity value of the white point of the display screen is: w =-4.607(10 9 / CCT 3 )+2.9678(10 6 / CCT 2 )+0.0911(10 3 / CCT)+0.244063,y w =-3x w 2 +2.87x w -0.275; if 7000K<CCT<25000K, the calculation formula of the chromaticity value of the white point of the display is: w =-2.006(10 9 / CCT 3 )+1.9018(10 6 / CCT 2 )+0.24748(10 3 / CCT)+0.23704,y w =-3x w 2 +2.87x w -0.275; where x w and w is the chromaticity value of the display's white point.

[0011] In combination with the first aspect, in a possible implementation, calculating the chromaticity value of the white point of the display screen specifically includes: obtaining the correlated color temperature CCT of the current screen light of the display screen; if 4000K≤CCT≤7000K, the calculation formula of the chromaticity value of the white point of the display screen is: w =-4.807(10 9 / CCT 3 )+2.9878(10 6 / CCT 2 )+0.0921(10 3 / CCT)+0.244063,y w =-3x w 2 +2.77x w -0.285; if 7000K<CCT<25000K, the calculation formula of the chromaticity value of the white point of the display is: w =-2.006(10 9 / CCT 3 )+1.9018(106 / CCT 2 )+0.24748(10 3 / CCT)+0.23704,y w =-3x w 2 +2.87x w -0.275; where x w and w is the chromaticity value of the display's white point.

[0012] In combination with the first aspect, in a possible implementation manner, calculating the spectrum of the white point at the first brightness value according to the chromaticity value specifically includes: calculating the XYZ value X of the red light in the screen light in the display screen in the CIE XYZ space according to the first red light spectrum curve, the second red light spectrum curve, the first green light spectrum curve, the second green light spectrum curve, the first blue light spectrum curve, and the second blue light spectrum curve. R Y R Z R , the XYZ value X of the green light in the screen light in the CIE XYZ space G Y G Z G , the XYZ value of blue light in screen light in CIE XYZ space B Y B Z B Calculate the XYZ value X of the white point in the CIE XYZ space according to the first brightness value and the chromaticity value W Y W Z W According to formula X W =K R ×X R +K G ×X G +K B ×X B , Y W =K R ×Y R +K G ×Y G +K B ×Y B , Z W =K R ×Z R +K G ×Z G +K B ×Z B Calculate the intensity ratio value K of the red light in the white point of the screen R , the intensity ratio value K of the green light in the white point of the screen G And the intensity ratio value K of the blue light in the white point of the screenB ; The K R The K G The K B The spectrum of the white point is obtained by multiplying the first blue light spectrum curve with the first red light spectrum curve; wherein the first red light spectrum curve, the first green light spectrum curve, and the first blue light spectrum curve are curves in the RGB pixel spectrum, and the second red light spectrum curve, the second green light spectrum curve, and the second blue light spectrum curve are curves in the CIE1931XYZ spectrum tristimulus value curve.

[0013] In combination with the first aspect, in a possible implementation manner, calculating the spectrum of the white point at the first brightness value according to the chromaticity value specifically includes: calculating the XYZ value X of the red light in the screen light in the display screen in the CIE XYZ space according to the first red light spectrum curve, the second red light spectrum curve, the first green light spectrum curve, the second green light spectrum curve, the first blue light spectrum curve, and the second blue light spectrum curve. R Y R Z R , the XYZ value X of the green light in the screen light in the CIE XYZ space G Y G Z G , the XYZ value of blue light in screen light in CIE XYZ space B Y B Z B Calculate the XYZ value X of the white point in the CIE XYZ space according to the first brightness value and the chromaticity value W Y W Z W According to formula X W =K R ×X R ×0.961+K G ×X G ×0.944+K B ×X B , Y W =K R ×Y R ×0.955+K G ×Y G ×0.987+K B ×Y B , Z W =K R ×Z R ×0.933+K G ×Z G ×0.996+K B ×Z BCalculate the intensity ratio value K of the red light in the white point of the screen R , the intensity ratio value K of the green light in the white point of the screen G And the intensity ratio value K of the blue light in the white point of the screen B ; The K R The K G The K B The spectrum of the white point is obtained by multiplying the first blue light spectrum curve with the first red light spectrum curve; wherein the first red light spectrum curve, the first green light spectrum curve, and the first blue light spectrum curve are curves in the RGB pixel spectrum, and the second red light spectrum curve, the second green light spectrum curve, and the second blue light spectrum curve are curves in the CIE1931XYZ spectrum tristimulus value curve.

[0014] In combination with the first aspect, in a possible implementation method, the rhythmic stimulation value of white light under the current screen backlight is calculated according to the spectrum of the white point, specifically including: according to the formula

[0015]

[0016] Calculate the circadian light level CL A ; Based on CL A By formula Calculate the rhythmic stimulation value CS; where M is the first parameter, Mc λ is the melanin response spectrum (calibrated by crystal transmittance), S λ is the short-wave cone response spectrum of the human eye, mp λ is the macular pigment transmittance, V λ is the photopic visual response spectrum, V′ λ is the dark vision response spectrum, RodSat is the half-saturation of light stimulation of rod cells, k is the second parameter, a b-y is the visual blue-yellow channel coefficient, a rod is the rod response coefficient, r1 is the third parameter, r2 is the fourth parameter, and r3 is the fifth parameter.

[0017] In combination with the first aspect, in a possible implementation method, the rhythmic stimulation value of white light under the current screen backlight is calculated according to the spectrum of the white point, specifically including: according to the formula

[0018]

[0019] Calculate the circadian light level CL A ; Based on CL A By formula Calculate the rhythmic stimulation value CS; where M is the first parameter, Mc λis the melanin response spectrum (calibrated by crystal transmittance), S λ is the short-wave cone response spectrum of the human eye, mp λ is the macular pigment transmittance, V λ is the photopic visual response spectrum, V′ λ is the dark vision response spectrum, RodSat is the half-saturation of light stimulation of rod cells, k is the second parameter, a b-y is the visual blue-yellow channel coefficient, a rod is the rod response coefficient, r1 is the third parameter, r2 is the fourth parameter, and r3 is the fifth parameter.

[0020] In combination with the first aspect, in a possible implementation, calculating the color conversion matrix based on the target rhythmic stimulation value includes: calculating the second brightness value L of the display screen in the original color gamut in the pure red color scene according to the brightness value of the display screen in the pure white color scene in the original color gamut, respectively. R , the second brightness value L in the green pure color scene G And the second brightness value L in the blue pure color scene B Based on the L R , the L G And the L B , the chromaticity value (x R ,y R ) is converted to the XYZ value X′ in the CIE XYZ space R Y′ R Z′ R , the chromaticity value of the display in the green light pure color scene (x G ,y G ) is converted to the XYZ value X′ in the CIE XYZ space G Y′ G Z′ G , the chromaticity value of the display in the blue light pure color scene (x B ,y B ) is converted to the XYZ value X′ in the CIE XYZ space B Y′ B Z′ B ; According to the brightness value of the set screen white point, the brightness value L′ of the display screen in the red light pure color scene is calculated in the transformed color gamut R , the brightness value L′ in the green light pure color scene G , the brightness value L′ in the blue light pure color scene B Based on the L′ R , the L′ G And the L′ B , the chromaticity value (x′) of the display screen in the red light pure color scene in the transformed color gamutR , y′ R ) is converted to the XYZ value X″ in the CIE XYZ space R Y″ R Z″ R , the chromaticity value of the display in the green light pure color scene (x′ G , y′ G ) is converted to the XYZ value X″ in the CIE XYZ space G Y″ G Z″ G , the chromaticity value of the display in the blue light pure color scene (x′ B , y′ B ) is converted to the XYZ value X″ in the CIE XYZ space B Y″ B Z″ B ; The transformed color gamut is the color gamut corresponding to the target correlated color temperature; According to the formula Calculate the color conversion matrix M tran .

[0021] In combination with the first aspect, in a possible implementation, calculating the color conversion matrix based on the target rhythmic stimulation value includes: calculating the second brightness value L of the display screen in the original color gamut in the pure red color scene according to the brightness value of the display screen in the pure white color scene in the original color gamut, respectively. R , the second brightness value L in the green pure color scene G And the second brightness value L in the blue pure color scene B Based on the L R , the L G And the L B , the chromaticity value (x R ,y R ) is converted to the XYZ value X′ in the CIE XYZ space R Y′ R Z′ R , the chromaticity value of the display in the green light pure color scene (x G ,y G ) is converted to the XYZ value X′ in the CIE XYZ space G Y′ G Z′ G , the chromaticity value of the display in the blue light pure color scene (x B ,y B ) is converted to the XYZ value X′ in the CIE XYZ space B Y′ B Z′ B; According to the brightness value of the set screen white point, the brightness value L′ of the display screen in the red light pure color scene is calculated in the transformed color gamut R , the brightness value L′ in the green light pure color scene G , the brightness value L′ in the blue light pure color scene B Based on the L′ R , the L′ G And the L′ B , the chromaticity value (x′) of the display screen in the red light pure color scene in the transformed color gamut R , y′ R ) is converted to the XYZ value X″ in the CIE XYZ space R Y″ R Z″ R , the chromaticity value of the display in the green light pure color scene (x′ G , y′ G ) is converted to the XYZ value X″ in the CIE XYZ space G Y″ G Z″ G , the chromaticity value of the display in the blue light pure color scene (x′ B , y′ B ) is converted to the XYZ value X″ in the CIE XYZ space B Y″ B Z″ B ; The transformed color gamut is the color gamut corresponding to the target correlated color temperature; According to the formula Calculate the color conversion matrix M tran .

[0022] In combination with the first aspect, in a possible implementation manner, the parameter of the ambient light is the correlated color temperature or the ambient illuminance of the ambient light.

[0023] In a second aspect, an embodiment of the present application provides an electronic device, which includes: one or more processors, a display screen and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute: obtain first rhythm data, second rhythm data and third rhythm data, the first rhythm data is used to characterize the current application scenario of the electronic device, the second rhythm data is used to characterize the user's habit data, the habit data includes the time data of the user falling asleep, and the third rhythm data is used to characterize the parameters of ambient light; calculate a target rhythm stimulation value according to the first rhythm data, the second rhythm data and the third rhythm data and the rhythm stimulation value of white light under the current screen backlight; calculate a color conversion matrix based on the target rhythm stimulation value; and when determining to adjust the color of the screen light, adjust the color of the screen light of the screen through the color conversion matrix.

[0024] In combination with the second aspect, in one possible implementation method, the one or more processors call the computer instructions to cause the electronic device to execute: calculating the target rhythm stimulation value based on the first rhythm data, the second rhythm data, the third rhythm data and the rhythm stimulation value of white light under the current screen backlight, specifically including: calculating the target rhythm coefficient K′ based on the first rhythm data, the second rhythm data and the third rhythm data; calculating the rhythm stimulation value CS of white light under the current screen backlight; calculating the target rhythm stimulation value CS_1 by the formula CS_1=K′×CS.

[0025] In combination with the second aspect, in one possible implementation method, the one or more processors call the computer instructions to cause the electronic device to execute: calculate the rhythmic stimulation value CS of the white light under the current screen backlight, specifically including: obtaining the RGB pixel spectrum of the display screen; calculating the chromaticity value of the white point of the display screen; calculating the spectrum of the white point at a first brightness value based on the chromaticity value of the white point of the display screen; calculating the rhythmic stimulation value of the white light under the current screen backlight based on the spectrum of the white point.

[0026] In conjunction with the second aspect, in a possible implementation, the one or more processors call the computer instructions to enable the electronic device to execute: obtaining the correlated color temperature CCT of the current screen light of the display screen; if 4000K≤CCT≤7000K, the calculation formula of the chromaticity value of the white point of the display screen is: w =-4.607(10 9 / CCT 3 )+2.9678(10 6 / CCT 2 )+0.0911(10 3 / CCT)+0.244063,y w =-3x w 2 +2.87x w -0.275; if 7000K<CCT<25000K, the calculation formula of the chromaticity value of the white point of the display is: w =-2.006(10 9 / CCT 3 )+1.9018(10 6 / CCT 2 )+0.24748(10 3 / CCT)+0.23704,y w =-3x w 2 +2.87x w -0.275; where x w and wis the chromaticity value of the display's white point.

[0027] In conjunction with the second aspect, in a possible implementation manner, the one or more processors call the computer instructions to enable the electronic device to execute: calculating an XYZ value X of red light in the screen light in the display screen in the CIE XYZ space according to the first red light spectrum curve, the second red light spectrum curve, the first green light spectrum curve, the second green light spectrum curve, the first blue light spectrum curve, and the second blue light spectrum curve; R Y R Z R , the XYZ value X of the green light in the screen light in the CIE XYZ space G Y G Z G , the XYZ value of blue light in screen light in CIE XYZ space B Y B Z B Calculate the XYZ value X of the white point in the CIE XYZ space according to the first brightness value and the chromaticity value W Y W Z W According to formula X W =K R ×X R +K G ×X G +K B ×X B , Y W =K R ×Y R +K G ×Y G +K B ×Y B , Z W =K R ×Z R +K G ×Z G +K B ×Z B Calculate the intensity ratio value K of the red light in the white point of the screen R , the intensity ratio value K of the green light in the white point of the screen G And the intensity ratio value K of the blue light in the white point of the screen B ; The K R The K G The K BThe spectrum of the white point is obtained by multiplying the first blue light spectrum curve with the first red light spectrum curve; wherein the first red light spectrum curve, the first green light spectrum curve, and the first blue light spectrum curve are curves in the RGB pixel spectrum, and the second red light spectrum curve, the second green light spectrum curve, and the second blue light spectrum curve are curves in the CIE1931XYZ spectrum tristimulus value curve.

[0028] In conjunction with the second aspect, in a possible implementation, the one or more processors call the computer instruction to cause the electronic device to execute: according to the formula

[0029]

[0030] Calculate the circadian light level CL A ; Based on CL A By formula Calculate the rhythmic stimulation value CS; where M is the first parameter, Mc λ is the melanin response spectrum (calibrated by crystal transmittance), S λ is the short-wave cone response spectrum of the human eye, mp λ is the macular pigment transmittance, V λ is the photopic visual response spectrum, V′ λ is the dark vision response spectrum, RodSat is the half-saturation of light stimulation of rod cells, k is the second parameter, a b-y is the visual blue-yellow channel coefficient, a rod is the rod response coefficient, r1 is the third parameter, r2 is the fourth parameter, and r3 is the fifth parameter.

[0031] In conjunction with the second aspect, in a possible implementation, the one or more processors call the computer instructions to cause the electronic device to execute: according to the brightness value of the display screen in the white pure color scene in the original color gamut, respectively calculate the second brightness value L of the display screen in the red pure color scene in the original color gamut; R , the second brightness value L in the green pure color scene G And the second brightness value L in the blue pure color scene B Based on the L R , the L G And the L B , the chromaticity value (x R ,y R ) is converted to the XYZ value X′ in the CIE XYZ space R Y′ R Z′ R , the chromaticity value of the display in the green light pure color scene (x G ,y G) is converted to the XYZ value X′ in the CIE XYZ space G Y′ G Z′ G , the chromaticity value of the display in the blue light pure color scene (x B ,y B ) is converted to the XYZ value X′ in the CIE XYZ space B Y′ B Z′ B ; According to the brightness value of the set screen white point, the brightness value L′ of the display screen in the red light pure color scene is calculated in the transformed color gamut R , the brightness value L′ in the green light pure color scene G , the brightness value L′ in the blue light pure color scene B Based on the L′ R , the L′ G And the L′ B , the chromaticity value (x′) of the display screen in the red light pure color scene in the transformed color gamut R , y′ R ) is converted to the XYZ value X″ in the CIE XYZ space R Y″ R Z″ R , the chromaticity value of the display in the green light pure color scene (x′ G , y′ G ) is converted to the XYZ value X″ in the CIE XYZ space G Y″ G Z″ G , the chromaticity value of the display in the blue light pure color scene (x′ B , y′ B ) is converted to the XYZ value X″ in the CIE XYZ space B Y″ B Z″ B ; The transformed color gamut is the color gamut corresponding to the target correlated color temperature; According to the formula Calculate the color conversion matrix M tran .

[0032] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a touch screen, a camera, one or more processors and one or more memories; the one or more processors are coupled to the touch screen, the camera, and the one or more memories, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the method described in the first aspect or any possible implementation method of the first aspect.

[0033] In a fourth aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, which are used to call computer instructions to enable the electronic device to execute the method described in the first aspect or any possible implementation method of the first aspect.

[0034] In a fifth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect or any possible implementation of the first aspect.

[0035] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute the method described in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1A-1B is an exemplary interface diagram of a night view mode of a group of electronic devices 100 provided in an embodiment of the present application;

[0037] Figure 1C This is an example diagram of the proportion of blue light in screen light provided in an embodiment of the present application;

[0038] Figure 2A-2B is an exemplary user interface diagram of a group of electronic devices 100 provided in an embodiment of the present application;

[0039] Figure 3 is a system structure diagram of a screen display method provided by an embodiment of the present application;

[0040] Figure 4 is a flow chart of a screen display method provided by an embodiment of the present application;

[0041] Figure 5 This is a calculation flow chart of the rhythmic stimulation value of screen light provided in an embodiment of the present application;

[0042] Fig. 6A is an exemplary color gamut diagram of a display screen of an electronic device provided in an embodiment of the present application;

[0043] Figure 6B is an exemplary RGB discrete spectrum of an electronic device display screen provided in an embodiment of the present application;

[0044] Figure 6C is an example diagram of the RGB spectrum of the display screen provided in the embodiment of the present application;

[0045] Fig.6D It is a CIE1931XYZ spectral tristimulus curve provided in an embodiment of the present application;

[0046] Fig. 6E is a melanin response spectrum provided in the embodiments of the present application;

[0047] Fig. 6F is an exemplary light and dark visual response spectrum provided in the embodiments of the present application;

[0048] Figure 7 is a color conversion matrix calculation flow chart provided in an embodiment of the present application;

[0049] Figure 8 is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application;

[0050] Fig. 9 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Mentioning "embodiment" in this article means that the specific features, structures or characteristics described in conjunction with the embodiments may be included in at least one embodiment of the present embodiment application. The appearance of this phrase in various positions in the specification is not necessarily the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It can be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0052] The terms "first", "second", "third", etc. in the specification and claims of the present application and the drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a series of steps or units are included, or optionally, steps or units not listed are included, or optionally, other steps or units inherent to these processes, methods, products or devices are included.

[0053] Only the part relevant to the present application but not all content is shown in the accompanying drawings.Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processing or methods described as flow charts.Although flow charts describe various operations (or steps) as sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously.In addition, the order of various operations can be rearranged.Described processing can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings.Described processing can correspond to method, function, procedure, subroutine, subprogram etc.

[0054] As used in this specification, the terms "component", "module", "system", "unit", etc. are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a unit can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or distributed between two or more computers. In addition, these units can be executed from various computer-readable media having various data structures stored thereon. Units can communicate through local and / or remote processes, for example, based on signals having one or more data packets (e.g., data from a second unit interacting with another unit in a local system, a distributed system, and / or a network. For example, the Internet interacts with other systems via signals).

[0055] The following is an introduction to the professional terms involved in the embodiments of the present application.

[0056] Correlated Color Temperature (CCT): refers to the temperature of the black body radiator that is closest to the color of the same brightness stimulus, expressed in Kelvin, and is used to describe the color of light near the Planckian locus. Other light sources except thermal radiation light sources have linear spectra, and their radiation characteristics are quite different from those of black body radiation. Therefore, the light colors of these light sources may not fall exactly on the black body locus on the chromaticity diagram. For such light sources, CCT is usually used to describe the color characteristics of the light source.

[0057] When users use electronic devices, the screens of electronic devices emit light of different wavelengths, which will affect the eyes of users, thereby affecting the secretion of the human brain and related hormones. In the human eye, there are cells such as cones, rods, and self-photosensitive retinal ganglion cells. Among them, cones are responsible for color recognition and are sensitive to strong light and color. In the human eye, there are mainly three types of cones that sense red (wavelength of about 600nm), green (wavelength of about 550nm) and blue (wavelength of about 450nm) light. There are about 120 million rods, which are sensitive to weak light stimulation. For self-photosensitive retinal ganglion cells, their light stimulation will affect the secretion of related hormones in the human body. When self-photosensitive retinal ganglion cells receive more blue light stimulation (or the screen color has a higher color temperature), the secretion of melatonin will be inhibited and the secretion of cortisol will be promoted. In the human body, excessive secretion of cortisol can improve the user's concentration and excitement level. In the human body, melatonin is used to regulate circadian rhythms. After night falls, light stimulation weakens, the activity of enzymes synthesizing melatonin in the pineal gland increases, and the level of melatonin secretion in the body also increases accordingly, reaching a peak at 2 to 3 a.m. At night, the level of melatonin directly affects the quality of sleep. When melatonin secretion is too low, the human body may not be able to fall asleep normally at night due to excitement or concentration, thus affecting the mental state of the next day.

[0058] Therefore, the correlated color temperature of the screen light of the electronic device can be adjusted based on the human body's circadian rhythm, thereby changing the proportion of blue light in the screen light and regulating the secretion of human hormones (for example, melatonin, cortisol, etc.), thereby meeting the user's application needs in different time periods and different scenarios.

[0059] For example, when users are reading on their mobile phones, they need to maintain a high level of concentration. At this time, appropriately increasing the proportion of blue light in the screen light can promote the secretion of cortisol, which helps users concentrate more. Alternatively, before the user falls asleep at night, by reducing the proportion of blue light in the screen light, the body's melatonin secretion can be increased, which helps users fall asleep peacefully and improve their sleep quality.

[0060] like Figure 1A-1B The following is an exemplary interface diagram of a night view mode of a group of electronic devices 100 provided in an embodiment of the present application. Figure 1AIn the user interface 10 shown, a night view mode prompt box 101 is displayed, and the night view mode prompt box 101 includes prompt information "whether to turn on the night view mode", a confirmation control 1011, and a cancel control 1012. After the electronic device 100 detects the user's single-click operation on the confirmation control 1011, in response to the operation, the electronic device 100 will switch the screen to warm tones at night, that is, reduce the proportion of blue light on the screen to avoid stimulating the user's self-photosensitive retinal ganglion cells due to excessive blue light on the screen, thereby inhibiting the secretion of melatonin, thereby affecting the user's sleep quality. The electronic device 100 can determine whether it is at night based on a set time reference. For example, the electronic device 100 can be based on 18:00, determine the time period from 18:00 to 6:00 as the evening time period, and determine the time period from 6:00 to 18:00 as the daytime time period. In this way, when the electronic device 100 detects that the current time is 18:00, the electronic device 100 can enter the night view mode, that is, reduce the proportion of blue light on the screen. When the electronic device 100 detects that the current time is 6:00, the electronic device 100 may restore the screen to the normal mode.

[0061] like Figure 1B The user interface 11 shown is the interface before the electronic device 100 enters the night view mode. In the picture displayed on the screen, the blue light color accounts for up to 60%, and the correlated color temperature is relatively high (in the user interface 11, the screen color is white). The user interface 12 is the interface after the electronic device 100 enters the night view mode. In the picture displayed on the screen, the blue light color accounts for about 30%, the color is warm, and the correlated color temperature is relatively low (in the user interface 12, the screen color is gray).

[0062] In addition, the electronic device 100 can also gradually adjust the correlated color temperature of the screen based on the sunset time, thereby reducing the impact of the color of the screen light of the electronic device on the user's sleep. Figure 1C As shown, before sunset, the proportion of blue light from the screen remains high. During the period from sunset to late night, electronic devices gradually lower the proportion of blue light from the screen. From late night to sunrise, the proportion of blue light from the screen remains low.

[0063] Through the above two methods, the blue light of the screen can be effectively reduced at night based on time, thereby preventing the screen light of the electronic device from reducing the user's sleep quality. However, the above two methods only adjust the blue light of the screen through time strategies, and the application scenarios are too single. For example, in scenarios where users use electronic devices to read, or users use electronic devices to query information, or users use electronic devices to play games, users are usually required to concentrate highly. In these scenarios, if the proportion of blue light in the screen light can be increased, the user's self-photosensitive retinal ganglion cells can be stimulated to promote the secretion of cortisol, so that the user can concentrate highly. In addition, during the user's fixed rest time period, if the electronic device gradually reduces the proportion of blue light on the screen in the adjacent time period before the user rests. Then, the user's self-photosensitive retinal ganglion cells can be stimulated, thereby promoting a decrease in cortisol secretion and an increase in melatonin secretion, which is more conducive to users falling asleep quickly within a fixed rest time period and ensuring the user's sleep quality.

[0064] Therefore, in order to solve the above problems, an embodiment of the present application provides a screen display method, in which the electronic device adjusts the proportion of blue light in the screen light by dynamically adjusting the correlated color temperature of the screen light based on factors such as the current application scenario, user habits, and ambient illumination / color temperature, so as to meet the needs of users in different application scenarios (for example, in a reading scenario, the proportion of blue light in the screen light is appropriately increased so that the user can concentrate more during the reading process), thereby improving the user experience.

[0065] Below, an exemplary introduction is given to the application scenario of a screen display method provided in an embodiment of the present application. Figure 2A The user interface 20 of the electronic device 100 is shown. The user interface 20 is the main interface of the electronic device 100. The user interface 20 includes multiple application icons. At this time, the blue light of the screen light in the user interface 20 accounts for 40%. After the electronic device 100 detects an input operation (e.g., a single click) for the reading icon 201, in response to the operation, the electronic device 100 displays the following Figure 2B User interface 21 is shown. User interface 21 is a reading interface of electronic device 100. After detecting that the current interface is a reading interface, electronic device 100 can increase the correlated color temperature of screen light, thereby increasing the proportion of blue light in the screen, stimulating the self-photosensitive retinal ganglion cells in the human eye, promoting the secretion of more cortisol in the user's body, and enhancing the user's attention during reading.

[0066] Assume that the user sleeps at night between 22:30 and 6:30. At 22:00, the proportion of blue light on the screen of the electronic device 100 is 50%. After detecting that the current time is 22:20, the electronic device 100 lowers the correlated color temperature of the screen and reduces the proportion of blue light on the screen to 20%, thereby promoting the user to secrete melatonin, thereby ensuring that the user can fall asleep at 22:30 as much as possible.

[0067] In some application scenarios, the electronic device 100 can also determine whether to adjust the correlated color temperature of the screen light in combination with data such as the ambient illumination of the ambient light. The electronic device can periodically / dynamically obtain data such as the ambient illumination of the ambient light through hardware devices such as ambient light sensors, and then determine whether to adjust the correlated color temperature of the screen light of the electronic device in combination with the current application scenario of the electronic device and / or user habits.

[0068] For example, in the above Figure 2B In an embodiment, when the electronic device 100 detects that the current user interface is a reading interface, in order to improve the user's attention during the reading process, the electronic device 100 can increase the proportion of blue light in the screen (increase the correlated color temperature of the screen light). At this time, if the electronic device 100 analyzes the current correlated color temperature of the ambient light in combination with the ambient illumination data of the ambient light, it is 6000K (the correlated color temperature is above 5000K, and the blue light is more). Since there is more blue light in the ambient light, at this time, the blue light in the ambient light is the important factor affecting the secretion of hormones such as melatonin and cortisol of the user, and the effect of adjusting the proportion of blue light in the screen light is limited. Therefore, in this case, even if the electronic device 100 detects that the current application scene is a reading scene, the correlated color temperature of the screen light may not be adjusted. Because the electronic device 100 determines that the ratio value of adjusting the correlated color temperature needs to be calculated. When the electronic device 100 determines not to adjust the screen light, a part of the computing resources of the electronic device can be saved, thereby ensuring that the electronic device can use the saved computing resources to serve other processes and ensure the system working performance of the electronic device.

[0069] The following is an introduction to the system framework diagram of a screen display method provided by an embodiment of the present application. Figure 3 , Figure 3 is a system structure diagram of a screen display method provided by an embodiment of the present application. Figure 3In, electronic devices can obtain different types of user data, which can reflect the user's habits and rhythms to a certain extent. Therefore, these user data can also be called the user's rhythmic data. Specifically, the rhythmic data can be application scenario data (for example, games, reading, etc.), the rhythmic data can also be user habit data (for example, the time period when the user sleeps at night, etc.), and the rhythmic data can also be the illumination or correlated color temperature of the environment. In addition, the rhythmic data can also include the geographic location of the electronic device, geographic fence, etc. Figure 3 In the present invention, only rhythm data is used as application scenario data, user habit data and ambient illumination data as examples for illustration.

[0070] After obtaining the rhythm coefficient, the electronic device can calculate the rhythm coefficients K1, K2 and K3 corresponding to the application scenario data, user habit data and ambient illumination data respectively. Then, the weight values ​​of K1, K2 and K3 are calculated respectively according to the weight of each rhythm data. The electronic device calculates the target rhythm coefficient K′ according to the weight values ​​of K1, K2 and K3.

[0071] After calculating K', the electronic device can calculate the target rhythmic stimulation value to be adjusted according to the rhythmic stimulation value of the white light under the current screen backlight and K', and calculate the correlated color temperature (target correlated color temperature) of the screen light to be adjusted according to the calculated target rhythmic stimulation value. Thus, the color conversion matrix is ​​calculated according to the target correlated color temperature. In this way, the electronic device can perform color conversion on any color in the screen image so that the correlated color temperature of the screen light is the target correlated color temperature, thereby changing the proportion of light such as blue light in the screen light.

[0072] In addition, before using the color conversion matrix to convert the color of the screen light, the electronic device can also calculate the time for the screen light color conversion based on the human eye's perceptibility to color changes, so that the color of the screen light can be smoothly converted to meet the human eye's need to adapt to color changes. This avoids the problem of the human eye not adapting or feeling uncomfortable due to large changes in screen color in a short period of time.

[0073] Below, the process of a screen display method provided in an embodiment of the present application is introduced. Before the electronic device adjusts the correlated color temperature of the screen light, the electronic device will collect multiple rhythm data of different types to calculate the rhythm coefficient. Among them, the rhythm data can be application scenario data of the electronic device (for example, games, learning, reading, watching movies, etc.), user habit data (for example, nighttime sleep time, nap habit time, color temperature preference, etc.), ambient illumination / color temperature data, etc. For the sake of ease of description, the embodiment of the present application takes the example of an electronic device collecting only 3 different types of rhythm data for explanation. Please refer to Figure 4 , Figure 4This is a flow chart of a screen display method provided by an embodiment of the present application. The specific process is as follows:

[0074] S401: The electronic device obtains first rhythm data, second rhythm data and third rhythm data.

[0075] Specifically, the rhythm data is data that can reflect the user's rhythm and user habits to a certain extent.

[0076] Exemplarily, rhythmic data can be used to characterize the application scenarios currently corresponding to the electronic device, such as games, reading, learning, watching movies and other scenarios. The electronic device can determine the current application scenario by detecting the application running in the foreground. For example, when the application running in the foreground is a video application such as Youku and Douyin, it can be determined that the current application scenario is a movie watching scene; when the application running in the foreground is a game application such as Candy Crush, it can be determined that the current application scenario is a game scene; when the application running in the foreground is a browser or e-book application, it can be determined that the current application scenario is a reading scene; when the application running in the foreground is a learning application such as Chalk or Offcn Education, it can be determined that the current application scenario is a learning scene.

[0077] Rhythm data may also be user habit data. For example, user habit data may be data such as the user's sleeping time, color temperature preference, etc. For ease of description, the present application embodiment takes the user's sleeping time and / or sleep duration as an example for description.

[0078] The rhythmic data may also be ambient illumination / ambient color temperature data. The electronic device may periodically / regularly collect ambient light through an ambient light sensor to obtain data such as the correlated color temperature and ambient illumination of the ambient light.

[0079] The rhythm data can also be data such as geographic location data and geographic fence of the electronic device. The embodiment of the present application does not limit the type of rhythm data. However, for the sake of ease of description, the embodiment of the present application only takes the electronic device obtaining three types of rhythm data to calculate the rhythm coefficient as an example for illustration. These three types of rhythm data are rhythm data of different types, namely: first rhythm data, second rhythm data and third rhythm data. Among them, the first rhythm data is application scenario data, the second rhythm data is user habit data (the embodiment of the present application takes the user habit data as the user's sleep period and / or sleep duration as an example for illustration), and the third rhythm data is ambient illumination / ambient color temperature data.

[0080] S402: The electronic device calculates a target rhythm coefficient based on the first rhythm data, the second rhythm data, and the third rhythm data.

[0081] Specifically, the target rhythm coefficient is used to characterize whether the electronic device should increase or decrease the circadian stimulation value (Circadian Stimulus, CS). When the target rhythm coefficient is greater than 1, it means that the rhythm stimulation value should be increased; when the target rhythm coefficient is less than 1, it means that the rhythm stimulation value should be lowered; when the target rhythm coefficient is equal to 1, it means that the rhythm stimulation value will not be adjusted. Among them, the rhythm stimulation value is used to characterize the secretion level of melatonin in the human body. The larger the rhythm stimulation value, the smaller the secretion of melatonin and the more cortisol is secreted; the smaller the rhythm stimulation value, the greater the secretion of melatonin and the less cortisol is secreted.

[0082] The electronic device can calculate the first rhythm coefficient K1 based on the first rhythm data, calculate the second rhythm coefficient K2 based on the second rhythm data, and calculate the third rhythm coefficient K3 based on the third rhythm data K3. Then, the electronic device performs weighted summation based on these three rhythm coefficients to obtain the target rhythm coefficient. The electronic device can calculate K1, K2 and K3 based on the first rhythm data, the second rhythm data and the third rhythm data according to different rules and standards. For the sake of convenience, the calculation method of K1, K2 and K3 in the embodiment of the present application is only exemplified.

[0083] The electronic device may calculate K1 according to the first rhythm data in the following manner: when the electronic device is not currently in the photo taking mode, the electronic device detects whether the sleep do not disturb mode is turned on for the current electronic device. The do not disturb mode may be: the electronic device can receive a call, but there is no prompt tone, and the user who dials the phone number of the electronic device hears that the dialed call is in progress. This function can prevent the user from being disturbed without missing the call; the do not disturb mode may also be the flight mode of the electronic device; the do not disturb mode may also be a working mode in which the electronic device only has basic call functions, etc., which is not limited in the embodiments of the present application. When the electronic device detects that the electronic device is currently in the do not disturb mode, the electronic device may set the value of K1 to a larger negative value (for example, setting K1 in the range of -1 to 0). For example, the electronic device sets K1 to -0.1. In this way, the value of the target rhythm coefficient may be reduced to a certain extent, thereby lowering the rhythm stimulation value and promoting the user to secrete less cortisol.

[0084] When the electronic device is not currently in the camera mode, if the electronic device is not currently in the Do Not Disturb mode, the electronic device obtains the application running in the foreground. And detects the application scene of the current electronic device based on the application running in the foreground. If the electronic device detects that the application running in the foreground is a video application, a reading application, or a learning application, the electronic device determines that the current application scene is a video scene, a reading scene, or a learning scene. Then, the electronic device can determine whether the current application scene is a scene that requires concentration. If it is a scene that requires concentration, the electronic device can set K1 to a number greater than 0 (for example, set K1 in the range of 0 to 1). For example, the electronic device sets K1 to 0.2. If the electronic device detects that the application currently running in the foreground is a music application, a radio application, or an audiobook application that is more relaxing, the electronic device sets the value of K1 to a larger negative value (for example, set K1 in the range of -1 to 0). For example, the electronic device sets K1 to -0.1.

[0085] The electronic device may determine the setting of K1 according to a preset application information table. For example, the application information table is shown in Table 1 below:

[0086] Table 1

[0087]

[0088] The above table 1 includes information about application types installed by the electronic device, applications corresponding to each application type (application name or application identification information), and information about whether each type of application requires concentration and the degree of concentration. Among them, for the third column of information (applications requiring concentration) in the above table 1, numbers or other character identifiers can be used to indicate "yes" or "no". For example, "1" indicates "yes" and "0" indicates "no". The "degree of concentration" column is used to indicate the degree of concentration required for this type of application. Exemplarily, "1" can be used to indicate mild concentration, "2" can be used to indicate moderate concentration, and "3" can be used to indicate high concentration. The electronic device can determine the size of K1 according to the degree of concentration. For example, the K1 of the application type with high concentration is greater than the K1 of the application type with moderate concentration, and the K1 of the application type with moderate concentration is greater than the K1 of the application type with mild concentration (the K1 of the application type with mild concentration is greater than 0). "-1" can be used to indicate mild relief, "-2" can be used to indicate moderate relief, and "-3" can be used to indicate high relief. The K1 of the highly soothing application type is less than the K1 of the moderately soothing application type, and the K1 of the moderately soothing application type is less than the K1 of the mildly soothing application type (the K1 of the mildly soothing application type is less than 0). In this way, it can be ensured that in the soothing mode, K1 is set to a negative value to reduce the target rhythm coefficient.

[0089] When the electronic device is currently in a photo taking mode, the target rhythm coefficient may be set to 1 to ensure the consistency of the correlated color temperature of the screen light in the shooting environment.

[0090] The electronic device may calculate K2 based on the second rhythm data in the following manner: the electronic device obtains the user's sleeping period and / or sleeping duration data. The user's sleeping period and sleeping duration data may be obtained by statistics of the user data. For example, the electronic device may obtain the user's sleeping time T by counting the number of times the screen was turned off for more than 5 hours in the past period of time (for example, the past month), and the number of times the screen was turned off for more than five hours and the screen off time period. s and sleep duration.

[0091] Before going to bed, the electronic device can set a time reference value t1 (assuming T s 21:00, t1 can be set to 20:30), when the electronic device detects that the current system time t is greater than or equal to t1 and less than or equal to T s When t1-T s ≤tT s When <0, the formula K2=[(tT s ) / 5]*0.8+1 to calculate the second rhythm coefficient.

[0092] The electronic device can record the time t2 (assuming T s 21:00, t2 can be set to 22:00) is set as the time base value. s During the period from t2 to t2, the electronic device can set K2 to a constant (for example, set the value of K2 to a range of 0 to 1), for example, K2 is 0.2. s Less than or equal to the sleeping time counted by the electronic device. It should be understood that t2-T s There are two different ways to calculate t2, depending on whether t2 is the time of the day or the next day. If t2 is the time of the day, you can directly use t2-T s If t2 is the time of the second day, then t2 = t2 + 24, and then use t2-T s For example, if the day is August 1, T s is 21:00, if t2 is 23:00 on August 1, then t2-T s =23-21=2. If t2 is 4 o'clock on August 2, then t2-T s =4+24-21=7.

[0093] The electronic device can set the time t3 (t2 is less than or equal to t3) in the sleeping period as the time reference value (assuming T s is 21:00, t3 can be set to 5:00). w During this period (T w The electronic device can gradually increase the second rhythm coefficient so that the target rhythm coefficient can become larger, thereby increasing the correlated color temperature so that the correlated color temperature of the screen light can gradually return to the normal value before the decrease. In this way, after the user wakes up, the correlated color temperature of the screen light can be maintained at a normal level to avoid the overall color of the screen light being too warm due to the correlated color temperature of the screen light being too low, which can cause visual discomfort to the user. For example, when t3-T s ≤tT s <T w -T s When the electronic device can use the formula K2 = [(tT s -2) / 2.5]*0.8+1 to calculate the second rhythm coefficient. It should be understood that tT s There are two different ways to calculate t, depending on whether t is the time of the day or the next day. If t is the time of the day, you can directly use tT s ; If t is the time of the second day, then t = t + 24, and then use tT s For example, if the day is August 1, T s is 21:00, if t is 23:00 on August 1, then tT s =23-21=2. If t is 4 o'clock on August 2, then tT s =4+24-21=7. Similarly, T w -T s The calculation method of also follows the above method.

[0094] In the period far from the sleep period, the second rhythm coefficient can be appropriately increased, thereby increasing the rhythm stimulation value. s <19, it can be obtained by K2=1.2-(tT s -12) 2 / 125 second rhythm coefficient. Among them, tT s The calculation method is the same as the above calculation method of tT s The method is consistent with that of the present invention, and the embodiments of the present application will not be described in detail here.

[0095] The electronic device may set K2 to 1 during other time periods.

[0096] The electronic device may calculate K3 according to the third rhythm data in the following manner:

[0097] K3=(I-(H(Ix)*(tT s +5) / 5)) / 400(Ix) when I-(H(Ix)*(tT s +5) / 5)>0

[0098] K3=0When I-(H(Ix)*(tT s +5) / 5)≤0

[0099] That is, when the ambient light is higher than the expected illumination (H) at each time, the rhythmic stimulation level needs to be appropriately increased. When the ambient light is lower than the expected illumination, the rhythmic stimulation level maintains the original change rule. Wherein, I is the current ambient illumination, and Ix is the unit of ambient illumination. Wherein, H is the preset public ambient light illumination, preferably, H can be 300Ix.

[0100] After calculating K1, K2 and K3, the electronic device can fuse K1, K2 and K3 according to different preset proportional coefficients to obtain the target rhythm coefficient K'. For example, assuming that the proportional coefficients of K1, K2 and K3 are all 1, then K'=K1+K2+K3.

[0101] S403: The electronic device calculates the rhythmic stimulation value of the white light under the current screen backlight.

[0102] Specifically, before adjusting the correlated color temperature of the screen light, the electronic device needs to calculate the rhythmic stimulation value of the white light under the current screen backlight.

[0103] Next, combine Figure 5 , describes the process of calculating the rhythmic stimulus value of white light under screen backlighting by electronic devices. Figure 5 , Figure 5 This is a calculation flow chart of the rhythmic stimulation value of screen light provided in an embodiment of the present application. The specific process is as follows:

[0104] S501: The electronic device obtains an RGB pixel spectrum of a display screen.

[0105] Specifically, the electronic device can calculate the RGB pixel spectrum of the display screen through the color gamut of the display screen.

[0106] The following is an exemplary introduction to the process of obtaining the RGB pixel spectrum of a display screen. For a display screen, its color gamut has been determined when it leaves the factory, so its color gamut diagram is known. Fig. 6AThe figure shows an exemplary color gamut diagram of a display screen of an electronic device. In the color gamut diagram, curve l represents the color gamut range of the display screen, and each point within the color gamut range corresponds to a unique chromaticity value (x, y). Any point within the color gamut range can be converted to an RGB value. In this way, the color corresponding to each point in the color gamut diagram can be converted from the CIE xy space to the sRGB space. By converting the chromaticity value of each discrete point in the color gamut diagram into an RGB value, a discrete spectrum of the screen RGB can be obtained. Figure 6B The figure shows an exemplary RGB discrete spectrum of the electronic device display screen, in which the horizontal axis is the wavelength and the vertical axis is the intensity. Figure 6B The spectrum includes the spectrum of screen red light (R), screen green light (G) and screen blue light (B). By fitting the discrete spectra, the RGB spectrum of the display can be obtained. Figure 6C Shown is an example diagram of the RGB spectrum of the display screen provided in an embodiment of the present application.

[0107] S502: The electronic device calculates the chromaticity value of the white point of the screen.

[0108] Specifically, the electronic device can calculate the chromaticity value of the screen white point by the correlated color temperature of the screen light. The chromaticity value of the screen white point is used to calculate the spectrum of white light in the screen light. The electronic device can first calculate the correlated color temperature CCT of the screen light. When the correlated color temperature of the screen light is between 7000K and 25000K, the chromaticity value (x w ,y w ), formula (1) and formula (2) are as follows:

[0109] x w =-2.006(10 9 / CCT 3 )+1.9018(10 6 / CCT 2 )+0.24748(10 3 / CCT)+0.23704 (1)

[0110] y w =-3x w 2 +2.87x w -0.275 (2)

[0111] When the correlated color temperature of the screen light is between 4000K and 7000K, the chromaticity value of the screen white point is calculated by formula (3) and formula (4). Formula (3) and formula (4) are as follows:

[0112] x w=-4.607(10 9 / CCT 3 )+2.9678(10 6 / CCT 2 )+0.0911(10 3 / CCT)+0.244063 (3)

[0113] y w =-3x w 2 +2.87x w -0.275 (4)

[0114] S503: The electronic device calculates the spectrum of the screen white light at the first brightness value based on the chromaticity value of the screen white point.

[0115] Specifically, the electronic device may calculate the first brightness value L based on the chromaticity value of the screen white point. w The spectrum of white light from the lower screen is E λ Electronic devices can first be Fig.6D The CIE1931XYZ spectrum tristimulus value curve shown in FIG. 1 and the red light spectrum, green light spectrum and blue light spectrum of the screen in the RGB pixel spectrum of the display screen are used to calculate the XYZ value X of the current screen red light in the CIE XYZ space through formulas (5) to (7): R Y R Z R , calculate the XYZ value X of the current screen green light in the CIE XYZ space through formula (8) to formula (10) G Y G Z G , calculate the XYZ value X of the current screen blue light in the CIEXYZ space through formula (11) to formula (13) B Y B Z B , formula (5) to formula (13) are as follows:

[0116]

[0117]

[0118]

[0119]

[0120]

[0121]

[0122]

[0123]

[0124]

[0125] Among them, 380~780 is the wavelength range of visible light. Therefore, when calculating the chromaticity value (x w ,y w ) and screen white point brightness value L w (first brightness value) After that, the tristimulus value X of the screen white point can be calculated by formula (14) to formula (16) w Y w Z w (CIE XYZ space), formula (14) to formula (16) are as follows:

[0126] X w =x w ×L w / y w (14)

[0127] Y w =L w (15)

[0128] Z w =(1-x w -y w )×L w / y w (16)

[0129] Then, the electronic device can calculate the intensity ratio value K of the red light (R) of the screen white point according to formula (17) to formula (19) respectively: R , the intensity ratio value K of the green light (G) at the white point of the screen G , the intensity ratio value K of the blue light (B) at the white point of the screen B , formula (17) to formula (19) are as follows:

[0130] XW=K R ×X R +K G ×X G +K B ×X B (17)

[0131] Y W =K R ×Y R +K G ×Y G +K B ×Y B (18)

[0132] ZW =K R ×Z R +K G ×Z G +K B ×Z B (19)

[0133] Getting K R , K G and K B After that, the electronic device can R Multiply the spectrum curve of red light in the RGB pixel spectrum of the display screen to convert K G Multiply the green light spectrum curve in the RGB pixel spectrum of the display screen and convert K B Multiply it by the spectrum curve of blue light in the RGB pixel spectrum of the display to get w The spectrum of white light from the lower screen is E λ .

[0134] S504: The electronic device calculates the rhythmic stimulation value of the white light under the current screen backlight according to the spectrum of the white light.

[0135] Specifically, the electronic device calculates the spectrum E of the white point of the screen at the first brightness value. λ After that, electronic devices can be based on E λ The rhythmic stimulation value CS of white light under the current screen backlight is calculated by formula (20) to formula (21). Formula (20) to formula (21) are as follows:

[0136]

[0137]

[0138] Among them, CL A is the rhythmic light level value, M is the first parameter, Mc λ is the melanin response spectrum (calibrated by crystal transmittance, e.g. Fig. 6E shown), S λ is the short-wave cone response spectrum of the human eye, mp λ is the macular pigment transmittance, V λ is the photopic visual response spectrum, V′ λ is the dark visual response spectrum ( Fig. 6F is an exemplary light and dark visual response spectrum provided in the embodiment of the present application), RodSat is the half-saturation of light stimulation of rod cells, k is the second parameter, a b-y is the visual blue-yellow channel coefficient, a rod is the rod response coefficient, r1 is the third parameter, r2 is the fourth parameter, and r3 is the fifth parameter. Preferably, M can be 1548, and RodSat can be 6.5 W / m2 , k can be 0.2616, a b-y can be 0.7000, a rod It can be 3.3000, r1 can be 0.7, r2 can be 355.7, and r3 can be 1.1026.

[0139] S404: The electronic device calculates a target rhythm stimulation value according to the rhythm stimulation value of the white light under the current screen backlight and the target rhythm coefficient.

[0140] Specifically, the target rhythm stimulation value is the rhythm stimulation value to be adjusted. The electronic device can calculate the target rhythm stimulation value CS_1 through formula (20). Formula (22) is as follows:

[0141] CS_1=K′×CS (22)

[0142] S405: The electronic device calculates the target correlated color temperature according to the target rhythmic stimulation value.

[0143] Specifically, the chromaticity value (x, y) corresponding to each CCT can be obtained based on the blackbody radiation curve (or Planck curve) on the CIE xy space, that is, the chromaticity value (x, y) on the Planck curve has a mapping relationship with the CCT. And the brightness value L can be set according to the brightness strategy of the electronic device. Therefore, the spectrum corresponding to each CCT can be obtained through the brightness value L, x, y and the RGB pixel spectrum of the display screen. The rhythmic stimulation value corresponding to each CCT is obtained by the above formula (20) and formula (21). The electronic device can calibrate a rhythmic stimulation value corresponding to a CCT every 100K (other values ​​can also be selected, and the embodiments of the present application are not limited to this), and obtain a mapping relationship table (or function) between CCT and rhythmic stimulation values. After calculating the target rhythmic stimulation value, the electronic device can perform a table lookup interpolation to calculate the target correlated color temperature CCT′ corresponding to the target rhythmic stimulation value.

[0144] S406: The electronic device calculates a color conversion matrix according to the target correlated color temperature.

[0145] Specifically, after calculating the target correlated color temperature, the electronic device can calculate a color conversion matrix based on the target correlated color temperature, so that the electronic device can adjust the color of the screen light according to the color conversion matrix. Figure 7 Describes the process of calculating the color conversion matrix for electronic devices. Figure 7 , Figure 7 This is a color conversion matrix calculation flow chart provided in an embodiment of the present application. The specific process is as follows:

[0146] S701: The electronic device calculates the chromaticity value of the white point at the target correlated color temperature.

[0147] For example, after calculating CCT′, the electronic device can select the above formula (1) to (2) or formula (3) to (4) according to the value of CCT′ to calculate the chromaticity value (x′) of the white point of the display screen to be adjusted. w , y′ w ), the chromaticity value is the chromaticity value corresponding to the white point under the target correlated color temperature.

[0148] S702: The electronic device calculates the second brightness values ​​corresponding to the display screen in the original color gamut in the four pure color scenes of RGBW respectively.

[0149] Specifically, the RGBW pure color scenes of the display screen are: the scene where the display screen displays only red light, that is, the values ​​of the G channel and the B channel in the RGB three color channels are 0; the scene where the display screen displays only green light, that is, the values ​​of the R channel and the B channel in the RGB three color channels are 0; the scene where the display screen displays only blue light, that is, the values ​​of the R channel and the G channel in the RGB three color channels are 0; the scene where the display screen displays only white light, that is, the values ​​of the R channel, the G channel and the B channel in the RGB three color channels are the same.

[0150] In the four pure color scenes of RGBW (pure color scenes of red light, green light, blue light, and white light) corresponding to the original color gamut of the display screen of the electronic device, the chromaticity values ​​of R, G, B, and W in the CIE xy space and the brightness value L of white light in the pure color scene corresponding to W are w1 is known (the display has been set when it leaves the factory). Therefore, assuming that in the pure color scene corresponding to R, the chromaticity value of the screen red light in the original color gamut is (x R ,y R ); In the pure color scene corresponding to G, the chromaticity value of the screen green light in the original color gamut is (x G ,y G ); In the pure color scene corresponding to B, the chromaticity value of the blue light on the screen in the original color gamut is (x B ,y B ); In the pure color scene corresponding to W, the chromaticity value of the screen white light in the original color gamut is (x W1 ,y W1 ). The electronic device can calculate the second brightness value L of the red light in the pure color scene corresponding to R by formula (23) to formula (25). R , in the pure color scene corresponding to G, the second brightness value L of green light G , in the pure color scene corresponding to B, the second brightness value L of blue light B Formula (23) to Formula (25) are as follows:

[0151] x R *(L R / y R )+xG *(L G / y G )+x B *(L B / y B )=x W1 *L w1 / y W1 (twenty three)

[0152] (1-x R -y R )*(L R / y R )+(1-x G -y G )*(L G / y G )+(1-x B -y B )*(L B / y B )=x W1 *L w1 / y W1 (twenty four)

[0153] L R +L G +L B =L w1 (25)

[0154] S703: The electronic device calculates a color conversion matrix according to the second brightness value.

[0155] Specifically, after the electronic device calculates the second brightness value, the electronic device can calculate the color conversion matrix according to the relevant color adjustment strategy to adjust the screen color temperature. Take adjusting the screen color temperature only by the brightness ratio as an example. If the correlated color temperature of the screen light is adjusted only by the brightness ratio, then in the three pure color scenes of RGB, the chromaticity value of the display screen in the color gamut (transformed color gamut) corresponding to the target correlated color temperature is the same as its chromaticity value in the original color gamut, that is: in the pure color scene corresponding to R, the chromaticity value (x′) of the screen red light in the transformed color gamut is R , y′ R ) is (x R ,y R ); In the pure color scene corresponding to G, the chromaticity value of the screen green light in the transformed color gamut (x′ G , y′ G ) is (x G ,y G ); In the pure color scene corresponding to B, the chromaticity value of the blue light on the screen in the transformed color gamut (x′ B , y′ B ) is (x B,y B ). In the color gamut corresponding to the target correlated color temperature, the chromaticity value of the white point is (x′ w , y′ w ), the brightness value of the white point at the target correlated color temperature is set by the electronic device, so the chromaticity value of the white point (x′ w , y′ w ) corresponds to the brightness value L′ w is also a fixed value. Therefore, electronic devices can calculate the chromaticity value (x′) by formula (26) to formula (28) R , y′ R ) corresponds to the brightness value L′ R , chromaticity value (x′ G , y′ G ) corresponds to the brightness value L′ G , chromaticity value (x′ B , y′ B ) corresponds to the brightness value L′ B Formula (26) to Formula (28) are as follows:

[0156] x′ R *(L′ R / y′ R )+x′ G *(L′ G / y′ G )+x′ B *(L′ B / y′ B ) = x′ w *L′ w / y′ w (26)

[0157] (1-x′ R -y′ R )*(L′ R / y′ R )+(1-x′ G -y′ G )*(L′ G / y′ G )+(1-x′ B -y′ B )*(L′ B / y′ B ) = x′ w *L′ w / y′ w (27)

[0158] L′ R +L′ G +L′ B =L′ w (28)

[0159] The electronic device can convert the chromaticity value into the XYZ value in the CIE XYZ space by using the above formulas (14) to (16), thereby obtaining the chromaticity value (x R ,y R ) corresponding to the XYZ value X′ R Y′ R Z′ R , Chroma value (x G ,y G ) corresponding to the XYZ value X′ G Y′ G Z′ G , Chroma value (x B ,y B ) corresponding to the XYZ value X′ B Y′ B Z′ B , chromaticity value (x′ R , y′ R ) corresponding to the XYZ value X″ R Y″ R Z″ R , chromaticity value (x′ G , y′ G ) corresponding to the XYZ value X″ G Y″ G Z″ G , chromaticity value (x′ G , y′ G ) corresponding to the XYZ value X″ B Y″ B Z″ B .

[0160] Then, the electronic device can calculate the color conversion matrix M according to formula (29): tran , formula (29) is as follows:

[0161]

[0162] In some embodiments, the electronic device may also calculate the color conversion matrix by using a blue compression strategy. At this time, the chromaticity value (x′) of the screen red light in the transformed color gamut is R , y′ R ) is known; in the pure color scene corresponding to G, the chromaticity value (x′) of the screen green light in the transformed color gamut G , y′ G ) is known; in the pure color scene corresponding to B, the chromaticity value (x′) of the blue light on the screen in the transformed color gamut B , y′ B ) is known. Then, according to the above formulas (26) to (28), the chromaticity value (x′) can be calculatedR , y′ R ) corresponds to the brightness value L′ R , chromaticity value (x′ G , y′ G ) corresponds to the brightness value L′ G , chromaticity value (x′ B , y′ B ) corresponds to the brightness value L′ B In addition, the electronic device can convert the chromaticity value into the XYZ value in the CIE XYZ space through the above formulas (14) to (16), thereby obtaining the chromaticity value (x R ,y R ) corresponding to the XYZ value X′ R Y′ R Z′ R , Chroma value (x G ,y G ) corresponding to the XYZ value X′ G Y′ G Z′ G , Chroma value (x B ,y B ) corresponding to the XYZ value X′ B Y′ B Z′ B , chromaticity value (x′ R , y′ R ) corresponding to the XYZ value X″ R Y″ R Z″ R , chromaticity value (x′ G , y′ G ) corresponding to the XYZ value X″ G Y″ G Z″ G , chromaticity value (x′ G , y′ G ) corresponding to the XYZ value X″ B Y″ B Z″ B Then, the color conversion matrix is ​​calculated by the above formula (29).

[0163] Optionally, after calculating the screen conversion matrix, the electronic device adjusts the screen color according to the color conversion matrix. In some embodiments, before the electronic device adjusts the screen according to the color conversion matrix, it can calculate the absolute value of the difference between the target rhythm coefficient calculated this time and the target rhythm coefficient calculated last time. If the absolute value is greater than or equal to the first difference threshold, the electronic device adjusts the screen color according to the color conversion matrix. Otherwise, the electronic device does not adjust the screen color according to the color conversion matrix.

[0164] In some embodiments, after calculating the target rhythm coefficient this time, the electronic device may calculate the absolute value of the difference between the target rhythm coefficient calculated this time and the target rhythm coefficient calculated last time. If the absolute value is less than the first difference threshold, the steps after step S403 are not performed.

[0165] In an embodiment of the present application, the electronic device adjusts the proportion of blue light in the screen light by dynamically adjusting the correlated color temperature of the screen light based on factors such as the current application scenario, user habits, and ambient illumination / color temperature, so as to meet the needs of users in different application scenarios (for example, in a reading scenario, the proportion of blue light in the screen light is appropriately increased so that the user can concentrate better during the reading process), thereby improving the user experience.

[0166] The structure of the electronic device 100 is described below. Figure 8 , Figure 8 It is a schematic diagram of the structure of the electronic device 100 provided in an embodiment of the present application.

[0167] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0168] It is to be understood that the structure shown in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include: Figure 8 More or fewer components may be shown, or some components may be combined or separated, or different arrangements of components may be shown. Figure 8 The components shown may be implemented in hardware, software, or a combination of software and hardware.

[0169] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0170] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0171] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0172] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0173] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0174] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0175] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can communicate via the PCM interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0176] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0177] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0178] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0179] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0180] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0181] The charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.

[0182] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0183] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0184] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0185] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0186] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0187] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), BLE broadcasting, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0188] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0189] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0190] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0191] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0192] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0193] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0194] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0195] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0196] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0197] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0198] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0199] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0200] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0201] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0202] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0203] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0204] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0205] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194 .

[0206] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0207] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0208] The magnetic sensor 180D includes a Hall sensor, and the electronic device 100 can detect the opening and closing of the flip leather case by using the magnetic sensor 180D.

[0209] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0210] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0211] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects so as to automatically turn off the screen to save power. The proximity light sensor 180G may also be used for automatic unlocking and locking of the screen in the leather case mode and the pocket mode.

[0212] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0213] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0214] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.

[0215] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0216] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of a human vocal part.

[0217] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0218] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0219] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0220] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0221] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100. Fig. 9 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.

[0222] The application layer can include a series of application packages. Fig. 9 As shown, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0223] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Fig. 9 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0224] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0225] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0226] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0227] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0228] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0229] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0230] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0231] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0232] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0233] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0234] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0235] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0236] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0237] A 2D graphics engine is a drawing engine for 2D drawings.

[0238] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0239] In the above Figure 4 In the embodiment of Figure 4 The steps in the embodiments may be adjusted or deleted in order according to actual conditions, so as to obtain different embodiments, and the obtained embodiments still fall within the protection scope of the embodiments of the present application. Figure 5 In the embodiment of Figure 5 The steps in the embodiments may be adjusted or deleted in order according to actual conditions, so as to obtain different embodiments, and the obtained embodiments still fall within the protection scope of the embodiments of the present application. Figure 7 In the embodiment of Figure 7 The steps in the embodiments may be adjusted or deleted in order according to actual conditions to obtain different embodiments, and the obtained embodiments still fall within the protection scope of the embodiments of the present application.

[0240] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.

[0241] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0242] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0243] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by computer programs to instruct related hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned method embodiments. The aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0244] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A screen display method, characterized in that: Applied to an electronic device having a display screen, the method comprises: Acquire first rhythm data, second rhythm data, and third rhythm data, wherein the first rhythm data is used to characterize the current application scenario of the electronic device, the second rhythm data is used to characterize the user's habit data, the habit data includes the user's sleep time data, and the third rhythm data is used to characterize the parameters of the ambient light; Calculate a target rhythm coefficient K′ according to the first rhythm data, the second rhythm data and the third rhythm data; Get the rhythmic stimulus value CS of the white light under the current screen backlight; Obtaining a target rhythm stimulation value CS_1 based on the K′ and the CS; Acquire a color conversion matrix based on the target rhythm stimulation value; The color of the screen light of the screen is adjusted by the color conversion matrix.

2. The method according to claim 1, characterized in that The step of obtaining the target rhythm coefficient K′ according to the first rhythm data, the second rhythm data and the third rhythm data specifically includes: Obtaining a rhythm coefficient K1 corresponding to the application scenario, a rhythm coefficient K2 corresponding to the user's habit data, and a rhythm coefficient K3 corresponding to the ambient light parameter; Determine the weight values ​​of K1, K2 and K3; The target rhythm coefficient K′ is obtained according to K1, the weight value of K1, K2, the weight value of K2, K3 and the weight value of K3.

3. The method according to claim 1, characterized in that If the electronic device is not currently in the camera mode and the do not disturb mode is currently turned on, determining that the value of the rhythm coefficient K1 is less than 0; If the electronic device is not currently in the photo taking mode and the do not disturb mode is not currently turned on, the rhythm coefficient K1 corresponds to the type of application running in the foreground of the electronic device.

4. The method according to claim 3, characterized in that If the electronic device is not currently in the camera mode and the do not disturb mode is not currently turned on, the method further includes: The concentration level is determined according to the type of application currently running in the foreground of the electronic device, and the rhythm coefficient K1 is determined according to the concentration level; the type of application currently running in the foreground of the electronic device corresponds to the concentration level.

5. The method according to claim 2, characterized in that If it is between the first time reference value t1 and the first moment T s During the period of T s In the period from the third time reference value t3 to the second time instant T w During the period of time, K2 gradually increases; t1 is less than t2, and t2 is less than or equal to t3; T s is the user's sleep time; w The time when the user wakes up.

6. The method according to claim 5, characterized in that If it is between the first time reference value t1 and the first moment T s During the period of time, K2=[(tT s ) / 5]*0.8+1, where t is the current system time; If it is between the third time reference value t3 and the second time T w During the period of time, K2=[(tT s -2) / 2.5]*0.8+1.

7. The method according to claim 2, characterized in that When the ambient light is higher than the preset illumination H at each time, K3 is greater than 0, and when the ambient light is lower than H, K3 is equal to 0.

8. The method according to claim 7, characterized in that In I-(H*(tT s +5) / 5)>0, the K3 is (IH*(tT s +5) / 5)) / 400; I is the current ambient illumination, and H is the preset public ambient light illumination.

9. The method according to claim 1, characterized in that The calculation of the target rhythm stimulation value CS_1 based on the K′ and the CS specifically includes: The target rhythm stimulation value CS_1 is calculated by the formula CS_1=K′×CS.

10. The method according to claim 1, characterized in that The calculating of the rhythmic stimulation value CS of the white light under the current screen backlight specifically includes: Obtaining the RGB pixel spectrum of the display screen; Calculating the chromaticity value of the white point of the display screen; Calculate the spectrum of the white point at a first brightness value according to the chromaticity value; The rhythmic stimulation value of the white light under the current screen backlight is calculated according to the spectrum of the white point.

11. The method according to claim 10, characterized in that The calculating the chromaticity value of the white point of the display screen specifically includes: Obtaining the correlated color temperature CCT of the current screen light of the display screen; If 4000K≤CCT≤7000K, the calculation formula of the chromaticity value of the white point of the display screen is: x w =-4.607(10 9 / CCT 3 )+2.9678(10 6 / CCT 2 )+0.0911(10 3 / CCT)+0.244063, y w =-3x w 2 +2.87x w -0.275; If 7000K <CCT When the display screen is less than 25000K, the calculation formula for the chromaticity value of the white point of the display screen is: x w =-2.006(10 9 / CCT 3 )+1.9018(10 6 / CCT 2 )+0.24748(10 3 / CCT)+0.23704, y w =-3x w 2 +2.87x w -0.275; Among them, the x w and the w is the chromaticity value of the white point of the display screen.

12. The method according to claim 10, characterized in that The calculating the spectrum of the white point at the first brightness value according to the chromaticity value specifically includes: The XYZ value X of the red light in the screen light in the display screen in the CIE XYZ space is calculated according to the first red light spectrum curve, the second red light spectrum curve, the first green light spectrum curve, the second green light spectrum curve, the first blue light spectrum curve and the second blue light spectrum curve. R Y R Z R , the XYZ value X of the green light in the screen light in the CIE XYZ space G Y G Z G , the XYZ value of blue light in screen light in CIE XYZ space B Y B Z B ; Calculate the XYZ value X of the white point in the CIE XYZ space according to the first brightness value and the chromaticity value W Y W Z W ; According to the formula X W =K R ×X R +K G ×X G +K B ×X B , Y W =K R ×Y R +K G ×Y G +K B ×Y B , Z W =K R ×Z R +K G ×Z G +K B ×Z B Calculate the intensity ratio value K of the red light in the white point of the screen R , the intensity ratio value K of the green light in the white point of the screen G And the intensity ratio value K of the blue light in the white point of the screen B ; The K R The K G The K B Performing a product operation with the first blue light spectrum curve to obtain the spectrum of the white point; Among them, the first red light spectrum curve, the first green light spectrum curve, and the first blue light spectrum curve are curves in the RGB pixel spectrum, and the second red light spectrum curve, the second green light spectrum curve, and the second blue light spectrum curve are curves in the CIE1931XYZ spectrum tristimulus value curve.

13. The method according to any one of claims 10 to 12, characterized in that: The calculating the rhythmic stimulation value of white light under the current screen backlight according to the spectrum of the white point specifically includes: According to the formula Calculate the circadian light level CL A ; Based on the CL A By formula Calculating the rhythmic stimulation value CS; Wherein, M is the first parameter, Mc λ is the melanin response spectrum (calibrated by crystal transmittance), the S λ is the short-wave cone response spectrum of the human eye, the mp λ is the macular pigment transmittance, the V λ is the photopic visual response spectrum, the V′ λ is the dark vision response spectrum, RodSat is the half-saturation of the light stimulation of the rod photoreceptor cells, k is the second parameter, and a b-y is the visual blue-yellow channel coefficient, the a rod is the rod response coefficient, r1 is the third parameter, r2 is the fourth parameter, r3 is the fifth parameter, and E λ is the spectrum of the screen white point.

14. The method according to any one of claims 1 to 12, characterized in that: The calculating of the color conversion matrix based on the target rhythm stimulation value comprises: According to the brightness value of the display screen in the white pure color scene in the original color gamut, the second brightness value L of the display screen in the red pure color scene in the original color gamut is calculated respectively. R , the second brightness value L in the green pure color scene G And the second brightness value L in the blue pure color scene B ; Based on the L R , the L G And the L B , the chromaticity value (x R ,y R ) is converted to the XYZ value X′ in the CIE XYZ space R Y′ R Z′ R , the chromaticity value of the display in the green light pure color scene (x G ,y G ) is converted to the XYZ value X′ in the CIE XYZ space G Y′ G Z′ G , the chromaticity value of the display in the blue light pure color scene (x B ,y B ) is converted to the XYZ value X′ in the CIE XYZ space B Y B 'Z' B ; According to the brightness value of the set screen white point, the brightness value L′ of the display screen in the red light pure color scene is calculated in the transformed color gamut. R , the brightness value L′ in the green light pure color scene G , the brightness value L′ in the blue light pure color scene B ; Based on the L′ R , the L′ G And the L′ B , the chromaticity value (x′) of the display screen in the red light pure color scene in the transformed color gamut R , y′ R ) is converted to the XYZ value X″ in the CIE XYZ space R Y″ R Z″ R , the chromaticity value of the display in the green light pure color scene (x′ G , y′ G ) is converted to the XYZ value X″ in the CIE XYZ space G Y″ G Z″ G , the chromaticity value of the display in the blue light pure color scene (x′ B , y′ B ) is converted to the XYZ value X″ in the CIE XYZ space B Y″ B Z″ B ; The transformed color gamut is the color gamut corresponding to the target correlated color temperature; According to the formula Calculate the color conversion matrix M tran .

15. The method according to any one of claims 1 to 12, characterized in that: The parameter of the ambient light is the correlated color temperature or the ambient illumination of the ambient light.

16. An electronic device, characterized in that: include: Memory, processor and touch screen; wherein: The touch screen is used to display content; The memory is used to store a computer program, wherein the computer program includes program instructions; The processor is used to call the program instructions so that the electronic device executes the method according to any one of claims 1-15.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.

Citation Information

Patent Citations

  • Illumination adjustment method and terminal

    CN110538381A

  • Display interface adjusting method and device and computer storage medium

    CN111338726A