Screen adjusting method and device, storage medium and electronic equipment

By acquiring information about screen usage time and fatigue levels, the screen's color gamut, brightness, and color temperature are dynamically adjusted, solving the problem of visual fatigue caused by prolonged use of electronic devices and improving the accuracy of screen display and visual comfort.

CN122116841APending Publication Date: 2026-05-29北京小米移动软件有限公司南京分公司 +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
北京小米移动软件有限公司南京分公司
Filing Date
2024-11-29
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Prolonged use of electronic devices can cause visual fatigue. Existing eye protection modes may cause screen color distortion, affecting the visual experience. Furthermore, the brightness and color temperature adjustments are not dynamic enough to adapt to changes in the user's eye fatigue level.

Method used

By measuring the continuous screen usage time, the system determines the user's eye fatigue level and adjusts the screen's color gamut, brightness, and color temperature accordingly. It uses color gamut compression coefficient, brightness conversion coefficient, and color temperature conversion coefficient for dynamic adjustment to reduce visual impact.

Benefits of technology

It can alleviate eye strain caused by prolonged use of electronic devices, improve the accuracy and visual comfort of screen displays, and reduce the stimulation of the eyes by screen light.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122116841A_ABST
    Figure CN122116841A_ABST
Patent Text Reader

Abstract

The present disclosure provides a screen adjusting method and device, a storage medium and an electronic device, wherein the method comprises: acquiring a continuous use time of a screen; determining a fatigue degree of a user's eyes according to the continuous use time and a preset fatigue degree corresponding relationship, wherein the fatigue degree corresponding relationship is a mapping relationship between the continuous use time and the fatigue degree; determining a color gamut compression coefficient based on the fatigue degree, and compressing an original color gamut of the screen according to the color gamut compression coefficient to obtain a compressed target color gamut; and adjusting the color gamut of the screen according to the target color gamut. By compressing the color gamut of the screen, the screen color becomes relatively dull, reducing the visual impact of the light of the screen of the electronic device on the user's eyes, thereby relieving the visual fatigue degree of the user when using the electronic device for a long time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic device technology, and in particular to a screen adjustment method, apparatus, storage medium and electronic device. Background Technology

[0002] With the development of internet technology, users' reliance on mobile electronic devices has increased significantly. The light emitted from the screens of electronic devices can cause some damage to the eyes, and prolonged use can lead to eye strain and fatigue. Therefore, it is necessary to adjust the screen settings of electronic devices to reduce the adverse effects of screen light on the user's eyes. Summary of the Invention

[0003] In view of this, the present disclosure provides a screen adjustment method, apparatus, storage medium, and electronic device that can alleviate eye strain caused by prolonged use of electronic devices.

[0004] According to a first aspect of the present disclosure, a screen adjustment method is provided, the method comprising:

[0005] Get the continuous usage time of the screen;

[0006] Based on the continuous use time and the preset fatigue level correspondence, the fatigue level of the user's eyes is determined, wherein the fatigue level correspondence is the correspondence between the continuous use time and the fatigue level;

[0007] The color gamut compression coefficient is determined based on the fatigue level, and the original color gamut of the screen is compressed according to the color gamut compression coefficient to obtain the compressed target color gamut.

[0008] The color gamut of the screen is adjusted according to the target color gamut.

[0009] In one embodiment, the method further includes:

[0010] Based on the fatigue level and the preset brightness correspondence, the brightness conversion coefficient is determined;

[0011] The target brightness of the screen is determined based on the brightness conversion coefficient and the original brightness of the screen.

[0012] The brightness of the screen is adjusted according to the target brightness.

[0013] In one embodiment, the method further includes:

[0014] Based on the fatigue level and the preset color temperature correspondence, the color temperature conversion coefficient is determined;

[0015] The target color temperature of the screen is determined based on the color temperature conversion coefficient and the original color temperature of the screen.

[0016] Based on the target color temperature, determine the coordinates of the reference white point;

[0017] The color temperature of the screen is adjusted based on the coordinates of the reference white point.

[0018] In one embodiment, adjusting the color temperature of the screen based on the coordinates of the reference white point includes:

[0019] Based on the coordinates of the reference white point, determine the color coefficients in the color conversion matrix;

[0020] The color temperature of the screen is adjusted according to the color conversion matrix.

[0021] In one embodiment, compressing the original color gamut of the screen according to the color gamut compression coefficient to obtain the compressed target color gamut includes:

[0022] Obtain initial values ​​for multiple vertices of the original color gamut, wherein the vertices are color vertices on the color gamut boundary;

[0023] Based on the color gamut compression coefficient, the plurality of vertices are compressed to obtain the compressed target value;

[0024] The target color gamut is determined based on the target values ​​of the multiple vertices.

[0025] In one embodiment, adjusting the color gamut of the screen according to the target color gamut includes:

[0026] Based on the target color gamut, determine the target values ​​for multiple vertices of the target color gamut;

[0027] Based on the target values ​​of the multiple vertices, determine the color coefficients in the color conversion matrix;

[0028] The color gamut of the screen is adjusted according to the color conversion matrix.

[0029] According to a second aspect of the present disclosure, a screen adjustment device is provided, the device comprising:

[0030] The acquisition unit is used to acquire the continuous usage time of the screen;

[0031] The first determining unit is used to determine the fatigue level of the user's eyes based on the continuous use time and a preset fatigue level correspondence, wherein the fatigue level correspondence is the correspondence between the continuous use time and the fatigue level.

[0032] A compression unit is used to determine a color gamut compression coefficient based on the fatigue level, and to compress the original color gamut of the screen according to the color gamut compression coefficient to obtain a compressed target color gamut.

[0033] The first adjustment unit is used to adjust the color gamut of the screen according to the target color gamut.

[0034] In one embodiment, the apparatus further includes:

[0035] The second determining unit is used to determine the brightness conversion coefficient based on the fatigue level and the preset brightness correspondence.

[0036] The third determining unit is used to determine the target brightness of the screen based on the brightness conversion coefficient and the original brightness of the screen;

[0037] The second adjustment unit is used to adjust the brightness of the screen according to the target brightness.

[0038] In one embodiment, the apparatus further includes:

[0039] The fourth determining unit is used to determine the color temperature conversion coefficient based on the fatigue level and the preset color temperature correspondence.

[0040] The fifth determining unit is used to determine the target color temperature of the screen based on the color temperature conversion coefficient and the original color temperature of the screen;

[0041] The sixth determining unit is used to determine the coordinates of the reference white point based on the target color temperature;

[0042] The third adjustment unit is used to adjust the color temperature of the screen based on the coordinates of the reference white point.

[0043] In one embodiment, the third adjustment unit is specifically used for:

[0044] Based on the coordinates of the reference white point, determine the color coefficients in the color conversion matrix;

[0045] The color temperature of the screen is adjusted according to the color conversion matrix.

[0046] In one embodiment, the compression unit is specifically used for:

[0047] Obtain initial values ​​for multiple vertices of the original color gamut, wherein the vertices are color vertices on the color gamut boundary;

[0048] Based on the color gamut compression coefficient, the plurality of vertices are compressed to obtain the compressed target value;

[0049] The target color gamut is determined based on the target values ​​of the multiple vertices.

[0050] In one embodiment, the first adjustment unit is specifically used for:

[0051] Based on the target color gamut, determine the target values ​​for multiple vertices of the target color gamut;

[0052] Based on the target values ​​of the multiple vertices, determine the color coefficients in the color conversion matrix;

[0053] The color gamut of the screen is adjusted according to the color conversion matrix.

[0054] According to a third aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of any of the methods described in the first aspect above.

[0055] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising:

[0056] processor;

[0057] Memory used to store processor-executable instructions;

[0058] Wherein, the processor executes the steps of any of the methods described in the first aspect above.

[0059] According to a fifth aspect of the present disclosure, a computer program product is provided that, when executed by a processor, implements the steps of any of the methods described in the first aspect.

[0060] The technical solutions provided in this disclosure may have the following beneficial effects:

[0061] By acquiring the continuous usage time of the screen and determining the user's eye fatigue level at the current moment based on the compression time, the compression coefficient of the screen's color gamut is determined based on the fatigue level. The screen's color gamut is compressed, making the screen colors relatively flat, reducing the visual impact of the electronic device screen's light on the user's eyes, thereby alleviating the eye fatigue caused by prolonged use of electronic devices.

[0062] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0063] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0064] Figure 1This is a flowchart illustrating a screen adjustment method according to an exemplary embodiment of the present disclosure;

[0065] Figure 2 This disclosure is a flowchart illustrating a method for compressing screen color gamut according to an exemplary embodiment;

[0066] Figure 3 This disclosure is a flowchart illustrating an example of adjusting the screen color gamut;

[0067] Figure 4 This disclosure is a flowchart illustrating an exemplary embodiment of adjusting screen brightness;

[0068] Figure 5 This disclosure is a flowchart illustrating an exemplary embodiment of adjusting screen color temperature;

[0069] Figure 6 This disclosure illustrates another flowchart for adjusting screen color temperature according to an exemplary embodiment;

[0070] Figure 7 This is a block diagram illustrating a screen adjustment device according to an exemplary embodiment of the present disclosure;

[0071] Figure 8 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present disclosure. Detailed Implementation

[0072] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0073] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0074] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0075] With the development of internet technology, mobile phones, tablets, and other electronic devices are widely used, and users' dependence on these devices has increased significantly. The light emitted from the screens of these devices can have a certain impact on the eyes. If users don't rest their eyes for extended periods, their eyes will remain in a state of tension, leading to visual fatigue.

[0076] Currently, to alleviate eye strain caused by prolonged use of electronic devices, eye protection modes have been added to these devices, adjusting the screen's color temperature or brightness to protect the eyes. However, simply adjusting the screen's color temperature or brightness can lead to color distortion on the screen, affecting the visual experience, especially noticeable when watching videos or viewing images. Furthermore, the color temperature or brightness in a phone's eye protection mode is preset, for example, 5000K. However, using electronic devices is a dynamic process; eye fatigue increases with continuous screen usage. Suddenly switching the phone screen from normal display mode to eye protection mode requires the user's eyes to readjust to the distorted color environment, which may further exacerbate eye strain.

[0077] Based on this, this disclosure proposes a screen adjustment method that can be applied to electronic devices such as mobile phones and tablets. By adjusting the screen of the electronic device, it can alleviate eye strain caused by prolonged use of the device. Please refer to the following for details. Figure 1 The flowchart shown includes the following steps:

[0078] S101, obtain the continuous usage time of the screen.

[0079] The continuous usage time refers to the time the screen remains active after the electronic device is unlocked. The continuous usage time is recorded once the screen is confirmed to be on. For example, if the electronic device is unlocked and the screen starts working at 10:00 AM, and the current time is 10:30 AM, and the screen remains on continuously during this period, then the continuous usage time is 30 minutes.

[0080] S102, determine the user's eye fatigue level based on the continuous usage time and the preset fatigue level correspondence.

[0081] The fatigue level correspondence is the relationship between the continuous use time and the fatigue level, as shown in formula (1):

[0082]

[0083] Here, l represents the user's eye fatigue level, and t represents the continuous screen usage time. When the screen usage time is 0, the user's eye fatigue level is 0. After more than 2 hours of screen usage, the user's eye fatigue level reaches its maximum, corresponding to a fatigue level of 1. When the screen usage time is between (0, 2), the user's eye fatigue level gradually increases with the continuous screen usage time.

[0084] After obtaining the user's continuous screen usage time, the user's current fatigue level can be determined based on the correspondence between this time and the continuous usage time.

[0085] S103, determine the color gamut compression coefficient based on the fatigue level, and compress the original color gamut of the screen according to the color gamut compression coefficient to obtain the compressed target color gamut.

[0086] The color gamut compression factor is a ratio coefficient between the original color gamut and the target color gamut, determined based on the user's fatigue level. The original color gamut is the current color gamut data of the screen, and the target color gamut is the color gamut data after adjusting the screen according to the user's fatigue level.

[0087] The color gamut compression coefficient can be calculated based on the fatigue level and a preset color gamut correspondence. This correspondence represents the relationship between user fatigue level and the color gamut compression coefficient. For example, based on the preset correspondence, it can be determined that when user fatigue level is 0, the color gamut compression coefficient is also 0. When user fatigue level is 1, the color gamut compression coefficient is 0.8. It should be noted that user fatigue level and the color gamut compression coefficient are positively correlated; as user fatigue level increases, the color gamut compression coefficient gradually increases.

[0088] After determining the color gamut compression factor, the original color gamut of the screen is compressed according to this factor to obtain the compressed target color gamut. For example, the color gamut boundary of the original color gamut is compressed according to the factor, reducing the range of the color gamut boundary. This makes the colors on the screen relatively mild, reducing the visual impact on the user's eyes and alleviating visual fatigue.

[0089] The process of compressing the screen color gamut will be explained further below; please refer to [link to relevant documentation] for details. Figure 2 The flowchart shown includes the following steps:

[0090] S201, obtain the initial values ​​of multiple vertices of the original color gamut.

[0091] S202, based on the color gamut compression coefficient, the plurality of vertices are compressed to obtain the compressed target value.

[0092] S203, determine the target color gamut based on the target values ​​of the plurality of vertices.

[0093] The vertex is a color vertex on the boundary of the color gamut. Taking the RGB color mode as an example, the vertex can be a vertex of the red, green and blue color channels. For example, the initial value of the red vertex is (255, 0, 0), the initial value of the green vertex is (0, 255, 0), and the initial value of the blue vertex is (0, 0, 255).

[0094] After obtaining the screen's current original color gamut, the initial values ​​of multiple vertices can be determined based on the color gamut boundaries. It should be noted that the number of vertices may differ in different color modes.

[0095] After determining the initial values ​​of the vertices of the original color gamut, the vertices on the color gamut boundary can be compressed based on the color gamut compression coefficient. In one embodiment, this can be achieved using the method shown in formula (2):

[0096] z = z1 - (z1 - z2) * k g (2)

[0097] Where z represents the target value of the vertex, z1 represents the initial value of the vertex, z2 represents the variable minimum value of the vertex, and k g This represents the color gamut compression factor. If the color gamut compression is too small, the screen cannot accurately reproduce certain colors in the real world, leading to color distortion in the image. It also causes a decrease in contrast, making details in both bright and dark areas of the screen blurry, affecting the user experience. Therefore, it is necessary to limit the minimum value z2 of each vertex individually to ensure screen clarity.

[0098] In some embodiments, the screen displays in RGB color mode, so there are vertices of three color channels in the screen's color gamut. For each vertex, after determining its current initial value and corresponding variable minimum value, the vertex can be compressed according to the method shown in formula (2) to obtain the target value of the vertex. Based on the target values ​​of multiple vertices, the compressed target color gamut can be determined.

[0099] By compressing the vertices of the color gamut, accurate conversion of the screen's color gamut can be achieved, while ensuring the screen's color display effect, thus improving the accuracy and realism of the screen's displayed colors.

[0100] S104, Adjust the color gamut of the screen according to the target color gamut.

[0101] After determining the target color gamut, the original color gamut is mapped to the target color gamut using a color transformation matrix based on the vertex values ​​of the target color gamut, thus adjusting the screen's color gamut. The color transformation matrix helps map colors from the original color gamut to the target color gamut, preserving color richness and detail as much as possible. Furthermore, using matrix transformation ensures that even when color ranges do not match, original color information is preserved as much as possible, avoiding over-cropping or loss.

[0102] In one embodiment, it can be achieved by Figure 3 The flowchart shown adjusts the color gamut of the screen, and includes the following steps:

[0103] S301, Based on the target color gamut, determine the target values ​​of multiple vertices of the target color gamut.

[0104] S302, Based on the target values ​​of the multiple vertices, determine the color coefficients in the color conversion matrix.

[0105] S303, Adjust the color gamut of the screen according to the color conversion matrix.

[0106] The color conversion matrix is ​​a linear transformation matrix used for conversion between different color spaces. When adjusting the screen's color gamut, because the range of the color gamut needs to be narrowed, the color gamut display of the mobile phone screen will be converted to another color space. The color conversion matrix can be used to convert a screen's color gamut from the original color space to the target color space. The color conversion matrix determines the color coefficients of each color, thereby enabling the electronic device to adjust the screen's color gamut. First, based on the target values ​​of multiple vertices in the target color gamut, the color coefficients of each color component in the color conversion matrix are determined, and the color coefficients of each color component are configured into the pre-constructed conversion matrix. Through the color conversion matrix, accurate color representation of the target color gamut can be obtained, thus achieving color gamut adjustment of the screen. For example, the color conversion matrix can convert a mobile phone screen from the larger DCI-P3 color space to the smaller sRGB color space.

[0107] By acquiring the continuous usage time of the screen and determining the user's eye fatigue level at the current moment based on the compression time, the compression coefficient of the screen's color gamut is determined based on the fatigue level. The screen's color gamut is compressed, making the screen colors relatively flat, reducing the visual impact of the electronic device screen's light on the user's eyes, thereby alleviating the eye fatigue caused by prolonged use of electronic devices.

[0108] To mitigate the visual impact of electronic device screens on users' eyes, screen brightness and color temperature can be adjusted to achieve multi-dimensional eye protection modes. The process of adjusting screen brightness is explained below; please refer to [link to documentation]. Figure 4 The flowchart shown may include the following steps:

[0109] S401, Based on the fatigue level and the preset brightness correspondence, determine the brightness conversion coefficient.

[0110] S402, determine the target brightness of the screen based on the brightness conversion coefficient and the original brightness of the screen.

[0111] S403, Adjust the brightness of the screen according to the target brightness.

[0112] In one embodiment, the preset brightness correspondence can be as shown in formula (3):

[0113] k lv = -0.2*l+ 1 (3)

[0114] Where, k lv This represents the brightness conversion factor.

[0115] Based on this, the brightness conversion coefficient can be calculated according to the relationship between fatigue level and preset brightness. Then, multiplying this conversion coefficient by the screen's original brightness determines the target brightness. After determining the target brightness, the screen's brightness can be adjusted to the target value by adjusting the screen's DBV (Display Brightness Value).

[0116] Adjusting the screen brightness can reduce the stimulation of screen light on the user's eyes, thereby alleviating visual fatigue when using electronic devices.

[0117] For instructions on adjusting the screen color temperature, please refer to [link / reference]. Figure 5 The flowchart shown includes the following steps:

[0118] S501, Based on the fatigue level and the preset color temperature correspondence, determine the color temperature conversion coefficient.

[0119] S502, determine the target color temperature of the screen based on the color temperature conversion coefficient and the original color temperature of the screen.

[0120] S503, determine the coordinates of the reference white point based on the target color temperature.

[0121] S504, Adjust the color temperature of the screen according to the coordinates of the reference white point.

[0122] First, based on the fatigue level and the preset color temperature correspondence, the color temperature conversion coefficient can be calculated, wherein the preset color temperature correspondence can be as shown in formula (4):

[0123] k cct = -0.2*l+ 1 (4)

[0124] Where, k cct This represents the color temperature conversion coefficient.

[0125] After determining the color temperature conversion coefficient, the target color temperature is obtained by multiplying the conversion coefficient by the original color temperature. Then, based on the target color temperature, the coordinates of the reference white point are determined by looking up a table or using a specific formula. By adjusting the coordinates of the reference white point, its position can be moved within the color space, thereby changing the colors displayed on the screen. This process essentially adjusts the spectral composition of the display to ensure the image's color temperature matches expectations. The reference white point provides a standard for different light sources; its coordinates represent the "white" light emitted by the light source at a specific color temperature. Different light sources have different color temperatures, and the reference white point helps maintain color realism under different light sources. For example, the color temperature of D65 is 6500K, and its reference white point coordinates are (0.3136, 0.3235). The color temperature of D50 is 5000K, and its reference white point coordinates are (0.3452, 0.3515). Adjusting the reference white point coordinates from those of D65 to those of D50 can make the screen's color temperature warmer.

[0126] After calculating the coordinates of the reference white point, the screen's color temperature can be adjusted using the color conversion matrix. For details, please refer to [link to relevant documentation]. Figure 6 The flowchart shown includes the following steps:

[0127] S601, Based on the coordinates of the reference white point, determine the color coefficients in the color conversion matrix.

[0128] S602, Adjust the color temperature of the screen according to the color conversion matrix.

[0129] The color coefficients in the color conversion matrix can be determined based on the coordinates of the reference white point. For example, by calculating the ratio of the white point coordinates of the target color temperature to the white point coordinates of the initial color temperature, the coefficient matrix corresponding to the color coefficients in the color conversion matrix can be obtained. After obtaining the coefficient matrix, multiplying it by the color matrix of the original color temperature will allow the screen to display the adjusted color temperature.

[0130] Adjusting the screen's color temperature to make the light softer can reduce eye strain. It also reduces screen reflections and glare, further improving visual comfort and enhancing the user experience.

[0131] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should know that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps may be performed in other orders or simultaneously.

[0132] Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by this disclosure.

[0133] Corresponding to the aforementioned application function implementation method embodiments, this disclosure also provides embodiments of application function implementation apparatus and corresponding terminals.

[0134] Reference Figure 7 A block diagram of a screen adjustment device according to an exemplary embodiment shows that the device may include:

[0135] Acquisition unit 701 is used to acquire the continuous usage time of the screen;

[0136] The first determining unit 702 is used to determine the fatigue level of the user's eyes based on the continuous use time and a preset fatigue level correspondence, wherein the fatigue level correspondence is the correspondence between the continuous use time and the fatigue level.

[0137] Compression unit 703 is used to determine the color gamut compression coefficient based on the fatigue level, and to compress the original color gamut of the screen according to the color gamut compression coefficient to obtain the compressed target color gamut.

[0138] The first adjustment unit 704 is used to adjust the color gamut of the screen according to the target color gamut.

[0139] In this embodiment of the disclosure, the apparatus further includes:

[0140] The second determining unit is used to determine the brightness conversion coefficient based on the fatigue level and the preset brightness correspondence.

[0141] The third determining unit is used to determine the target brightness of the screen based on the brightness conversion coefficient and the original brightness of the screen;

[0142] The second adjustment unit is used to adjust the brightness of the screen according to the target brightness.

[0143] In this embodiment of the disclosure, the apparatus further includes:

[0144] The fourth determining unit is used to determine the color temperature conversion coefficient based on the fatigue level and the preset color temperature correspondence.

[0145] The fifth determining unit is used to determine the target color temperature of the screen based on the color temperature conversion coefficient and the original color temperature of the screen;

[0146] The sixth determining unit is used to determine the coordinates of the reference white point based on the target color temperature;

[0147] The third adjustment unit is used to adjust the color temperature of the screen based on the coordinates of the reference white point.

[0148] In this embodiment of the disclosure, the third adjustment unit is specifically used for:

[0149] Based on the coordinates of the reference white point, determine the color coefficients in the color conversion matrix;

[0150] The color temperature of the screen is adjusted according to the color conversion matrix.

[0151] In this embodiment of the disclosure, the compression unit 703 is specifically used for:

[0152] Obtain initial values ​​for multiple vertices of the original color gamut, wherein the vertices are color vertices on the color gamut boundary;

[0153] Based on the color gamut compression coefficient, the plurality of vertices are compressed to obtain the compressed target value;

[0154] The target color gamut is determined based on the target values ​​of the multiple vertices.

[0155] In this embodiment of the disclosure, the first adjustment unit 704 is specifically used for:

[0156] Based on the target color gamut, determine the target values ​​for multiple vertices of the target color gamut;

[0157] Based on the target values ​​of the multiple vertices, determine the color coefficients in the color conversion matrix;

[0158] The color gamut of the screen is adjusted according to the color conversion matrix.

[0159] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0160] Accordingly, this disclosure provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, when the processor executes, it implements any of the steps described in the screen adjustment method.

[0161] Figure 8 This is a schematic diagram illustrating the structure of an electronic device 800 according to an exemplary embodiment. For example, device 800 can be a user device, specifically a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, wearable device such as smartwatch, smart glasses, smart bracelet, smart running shoes, etc.

[0162] Reference Figure 8 The device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0163] Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0164] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0165] Power supply component 806 provides power to various components of device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 800.

[0166] Multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0167] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0168] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0169] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800. For example, sensor assembly 814 can detect the on / off state of device 800, the relative positioning of components such as the aforementioned display and keypad of device 800, changes in the position of device 800 or a component of device 800, the presence or absence of user contact with device 800, the orientation or acceleration / deceleration of device 800, and temperature changes of device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0170] Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices. Device 800 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the aforementioned communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0171] In an exemplary embodiment, device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0172] In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a memory 804 including instructions, which, when executed by a processor 820 of the device 800, enables the device 800 to perform a screen adjustment method, the method including:

[0173] Get the continuous usage time of the screen;

[0174] Based on the continuous use time and the preset fatigue level correspondence, the fatigue level of the user's eyes is determined, wherein the fatigue level correspondence is the correspondence between the continuous use time and the fatigue level;

[0175] The color gamut compression coefficient is determined based on the fatigue level, and the original color gamut of the screen is compressed according to the color gamut compression coefficient to obtain the compressed target color gamut.

[0176] The color gamut of the screen is adjusted according to the target color gamut.

[0177] The non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0178] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0179] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A screen adjustment method, characterized in that, The method includes: Get the continuous usage time of the screen; Based on the continuous usage time and the preset fatigue level correspondence, the fatigue level of the user's eyes is determined, wherein the fatigue level correspondence is the correspondence between the continuous usage time and the fatigue level; The color gamut compression coefficient is determined based on the fatigue level, and the original color gamut of the screen is compressed according to the color gamut compression coefficient to obtain the compressed target color gamut. The color gamut of the screen is adjusted according to the target color gamut.

2. The method according to claim 1, characterized in that, The method further includes: Based on the fatigue level and the preset brightness correspondence, the brightness conversion coefficient is determined; The target brightness of the screen is determined based on the brightness conversion coefficient and the original brightness of the screen. The brightness of the screen is adjusted according to the target brightness.

3. The method according to claim 1, characterized in that, The method further includes: Based on the fatigue level and the preset color temperature correspondence, the color temperature conversion coefficient is determined; The target color temperature of the screen is determined based on the color temperature conversion coefficient and the original color temperature of the screen. Based on the target color temperature, determine the coordinates of the reference white point; The color temperature of the screen is adjusted based on the coordinates of the reference white point.

4. The method according to claim 3, characterized in that, Adjusting the color temperature of the screen based on the coordinates of the reference white point includes: Based on the coordinates of the reference white point, determine the color coefficients in the color conversion matrix; The color temperature of the screen is adjusted according to the color conversion matrix.

5. The method according to claim 1, characterized in that, The step of compressing the original color gamut of the screen according to the color gamut compression coefficient to obtain the compressed target color gamut includes: Obtain initial values ​​for multiple vertices of the original color gamut, wherein the vertices are color vertices on the color gamut boundary; Based on the color gamut compression coefficient, the plurality of vertices are compressed to obtain the compressed target value; The target color gamut is determined based on the target values ​​of the multiple vertices.

6. The method according to claim 1, characterized in that, Adjusting the color gamut of the screen according to the target color gamut includes: Based on the target color gamut, determine the target values ​​for multiple vertices of the target color gamut; Based on the target values ​​of the multiple vertices, determine the color coefficients in the color conversion matrix; The color gamut of the screen is adjusted according to the color conversion matrix.

7. A screen adjustment device, characterized in that, The device includes: The acquisition unit is used to acquire the continuous usage time of the screen; The first determining unit is used to determine the fatigue level of the user's eyes based on the continuous use time and a preset fatigue level correspondence, wherein the fatigue level correspondence is a mapping relationship between the continuous use time and the fatigue level. A compression unit is used to determine a color gamut compression coefficient based on the fatigue level, and to compress the original color gamut of the screen according to the color gamut compression coefficient to obtain a compressed target color gamut. The first adjustment unit is used to adjust the color gamut of the screen according to the target color gamut.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the method described in any one of claims 1 to 6.

9. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor executes the steps of any one of the methods described in claims 1 to 6.

10. A computer program product, characterized in that, When the computer program product is executed by a processor, it implements the steps of the method described in any one of claims 1 to 6.