Eye protection control method, system, device and storage medium for display screen

By automatically adjusting the eye protection display parameters of the display screen, based on ambient light and display scene information, the problem of poor blue light eye protection mode in the existing technology is solved, and the adaptive eye protection and display effect is achieved. .

CN114639332BActive Publication Date: 2024-11-22SPREADTRUM SEMICON (NANJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210280939.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-21
Publication Date
2024-11-22
Estimated Expiration
2042-03-21

AI Technical Summary

Technical Problem

In the prior art, the blue light eye protection mode of the display screen is inconvenient to operate, especially in low ambient light, which is poor in display effect and cannot be adaptively adjusted, affecting the user's photosensitive experience.

Method used

By determining the current display scene information of the display screen, and automatically adjusting the pixel brightness, backlight brightness and interface contrast according to the correspondence between the ambient lighting information and the eye protection display parameters, to achieve adaptive eye protection display parameters.

Benefits of technology

Implement eye protection and display effects in low ambient light to ensure the authentic and complete interface and enhance user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114639332B_ABST
    Figure CN114639332B_ABST
Patent Text Reader

Abstract

The present invention discloses an eye protection control method, system, device and storage medium for a display screen, wherein the method comprises: determining the current display scene information of the display screen; determining the target eye protection display parameters matching the current display scene information according to the corresponding relationship between the display scene information and the eye protection display parameters; and controlling the display screen to display according to the target eye protection display parameters. The present invention adaptively adjusts the eye protection display parameters of the display screen based on different display scene information, thereby realizing adaptive display of the display content of the display screen based on the target eye protection display parameters under low ambient light, so as to avoid damage to the eyes when viewing the display screen under low ambient light, so that the display content of the display screen satisfies the eye protection effect and display effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communication technology, and in particular to an eye protection control method, system, device and storage medium for a display screen. Background Art

[0002] At present, the eye protection function has been widely used in electronic products with screens, such as mobile phones, computers, etc. Common blue light eye protection realizes the eye protection function through blue light filtering. Specifically, after the blue light eye protection function is turned on, it is adjusted according to the fixed eye protection intensity value manually set by the user. However, in scenes with dim ambient light, the traditional blue light eye protection mode will cause the interface effect to be distorted, affecting the user's photosensitivity experience, and it is adjusted according to the fixed eye protection intensity value manually set by the user. The method is single and the processing is inflexible. It cannot be adjusted adaptively according to the content displayed on the device, resulting in a decrease in the display effect. In addition, in a darker environment, if the backlight brightness is high, it will irritate the eyes, and the darker backlight will cause the details of the dark area to not be fully displayed. Therefore, only adjusting the blue light through the fixed eye protection intensity value manually set by the user cannot achieve the eye protection function and the real and complete display of the interface under low ambient light. Summary of the invention

[0003] The technical problem to be solved by the present invention is to overcome the inconvenience of manually setting the blue light eye protection mode of the display screen in the prior art, and the defect that the display screen in the blue light eye protection mode has poor display effect in some scenarios, and to provide an eye protection control method, system, device and storage medium for the display screen.

[0004] The present invention solves the above technical problems through the following technical solutions:

[0005] A first aspect of the present invention provides an eye protection control method for a display screen, the eye protection control method comprising:

[0006] Determine the current display scene information of the display screen;

[0007] Determining target eye protection display parameters matching the current display scene information according to the corresponding relationship between the display scene information and the eye protection display parameters;

[0008] The display screen is controlled to display according to the target eye protection display parameters.

[0009] Preferably, the current display scene information includes ambient lighting information; before the step of determining the current display scene information of the display screen, the eye protection control method further includes:

[0010] Determining whether the ambient lighting information matches the preset lighting information;

[0011] If yes, the step of determining the current display scene information of the display screen is performed.

[0012] Preferably, the current display scene information includes ambient lighting information;

[0013] Determining target eye protection display parameters matching the current display scene information according to the corresponding relationship between the display scene information and the eye protection display parameters includes:

[0014] Determining a pixel brightness that matches the ambient lighting information according to the corresponding relationship; wherein the pixel brightness belongs to the target eye protection display parameter, and the pixel brightness is positively correlated with the ambient lighting information;

[0015] And / or, determining a backlight brightness that matches the ambient lighting information according to the corresponding relationship; wherein the backlight brightness belongs to the target eye protection display parameter, and the backlight brightness is positively correlated with the ambient lighting information;

[0016] And / or, determining an interface contrast that matches the ambient lighting information according to the corresponding relationship; wherein the interface contrast belongs to the target eye protection display parameter, and the interface contrast is negatively correlated with the ambient lighting information;

[0017] And / or, determining the regional contrast of the target area matching the ambient lighting information based on the corresponding relationship, and the regional contrast is also related to the interface contrast; wherein the regional contrast belongs to the target eye protection display parameter, and the target area is an area in the display interface of the display screen whose brightness is greater than a first brightness threshold or less than a second brightness threshold, and the first brightness threshold is greater than the second brightness threshold.

[0018] Preferably, the current display scene information also includes a dynamic display scene or a static display scene;

[0019] In the case where the current display scene information includes a static display scene, the pixel brightness is also negatively correlated with the backlight brightness;

[0020] When the current display scene information includes a dynamic display scene, the pixel brightness is also positively correlated with a weighted result, which is a weighted result of the backlight brightness and the interface brightness; and / or, the pixel brightness is also negatively correlated with the interface brightness.

[0021] Preferably, when the current display scene information includes a dynamic display scene, the interface brightness is the average brightness of the first display interface group; and / or, the interface contrast is the average contrast of the second display interface group;

[0022] Among them, the first display interface group includes a multi-frame display interface sequence whose interface brightness change is less than a brightness change threshold; the second display interface group includes a multi-frame display interface sequence whose interface contrast change is less than a contrast threshold.

[0023] Preferably, the eye protection control method further includes:

[0024] Obtaining a first average difference value of interface brightness of a sequence of K frames displaying an interface within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying an interface within a second preset time period, wherein the latest moment of the second preset time period is earlier than the earliest moment of the first preset time period;

[0025] Calculate a first absolute difference between a first average difference of the interface brightness and a second average difference of the interface brightness;

[0026] Determining whether the first absolute difference is less than a stability threshold;

[0027] If yes, determining the K-frame display interface sequence within the first preset time period as a first display interface group;

[0028] and / or,

[0029] The eye protection control method further includes:

[0030] Acquire a first average difference value of interface contrast of a sequence of K frames displaying interfaces within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying interfaces within a second preset time period;

[0031] Calculating a second absolute difference between the first average difference of the interface contrast and the second average difference of the interface contrast;

[0032] Determining whether the second absolute difference is less than a stability threshold;

[0033] If so, the K-frame display interface sequence within the first preset time period is determined as the second display interface group.

[0034] Preferably, the current display scene information includes a dynamic display scene or a static display scene;

[0035] The determining of the current display scene information of the display screen includes:

[0036] Determine whether the similarity between at least two frames of display interfaces displayed on the display screen is greater than a similarity threshold;

[0037] If yes, determining that the current display scene information includes a static display scene;

[0038] If not, it is determined that the current display scene information includes a dynamic display scene.

[0039] A second aspect of the present invention provides an eye protection control system for a display screen, the eye protection control system comprising:

[0040] A first determination module, used to determine current display scene information of the display screen;

[0041] A second determination module, configured to determine a target eye protection display parameter matching the current display scene information according to a correspondence between the display scene information and the eye protection display parameter;

[0042] A control module is used to control the display screen to display according to the target eye protection display parameters.

[0043] Preferably, the current display scene information includes ambient lighting information; and the eye protection control system further includes:

[0044] A first judgment module, used to judge whether the ambient lighting information matches the preset lighting information;

[0045] If so, an execution module is called, and the execution module is used to execute the step of determining the current display scene information of the display screen.

[0046] Preferably, the current display scene information includes ambient lighting information; the second determination module is specifically used to determine the pixel brightness matching the ambient lighting information according to the corresponding relationship; wherein the pixel brightness belongs to the target eye protection display parameter, and the pixel brightness is positively correlated with the ambient lighting information;

[0047] And / or, the second determination module is specifically used to determine the backlight brightness matching the ambient lighting information according to the corresponding relationship; wherein the backlight brightness belongs to the target eye protection display parameter, and the backlight brightness is positively correlated with the ambient lighting information;

[0048] And / or, the second determination module is specifically used to determine the interface contrast that matches the ambient lighting information according to the corresponding relationship; wherein the interface contrast belongs to the target eye protection display parameter, and the interface contrast is negatively correlated with the ambient lighting information;

[0049] And / or, the second determination module is specifically used to determine the regional contrast of the target area matching the ambient lighting information according to the corresponding relationship, and the regional contrast is also related to the interface contrast; wherein the regional contrast belongs to the target eye protection display parameter, and the target area is an area in the display interface of the display screen whose brightness is greater than a first brightness threshold or less than a second brightness threshold, and the first brightness threshold is greater than the second brightness threshold.

[0050] Preferably, the current display scene information also includes a dynamic display scene or a static display scene;

[0051] In the case where the current display scene information includes a static display scene, the pixel brightness is also negatively correlated with the backlight brightness;

[0052] When the current display scene information includes a dynamic display scene, the pixel brightness is also positively correlated with a weighted result, which is a weighted result of the backlight brightness and the interface brightness; and / or, the pixel brightness is also negatively correlated with the interface brightness.

[0053] Preferably, when the current display scene information includes a dynamic display scene, the interface brightness is the average brightness of the first display interface group; and / or, the interface contrast is the average contrast of the second display interface group;

[0054] Among them, the first display interface group includes a multi-frame display interface sequence whose interface brightness change is less than a brightness change threshold; the second display interface group includes an interface group whose interface contrast change is less than a contrast threshold.

[0055] Preferably, the eye protection control system further includes:

[0056] A first acquisition module is used to acquire a first average difference value of interface brightness of a sequence of K-frame display interfaces within a first preset time period and a second average difference value of interface brightness of a sequence of K-frame display interfaces within a second preset time period, wherein the latest moment of the second preset time period is earlier than the earliest moment of the first preset time period;

[0057] A first calculation module, used for calculating a first absolute difference between a first average difference of the interface brightness and a second average difference of the interface brightness;

[0058] A second judgment module, used to judge whether the first absolute difference is less than a stability threshold;

[0059] If yes, calling a third determination module, the third determination module is used to determine the K-frame display interface sequence within the first preset time period as a first display interface group;

[0060] and / or,

[0061] The eye protection control system also includes:

[0062] A second acquisition module is used to acquire a first average difference value of interface contrast of a sequence of K frames displaying an interface within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying an interface within a second preset time period;

[0063] A second calculation module, used for calculating a second absolute difference between the first average difference of the interface contrast and the second average difference of the interface contrast;

[0064] A third judgment module, used to judge whether the second absolute difference is less than a stability threshold;

[0065] If so, a fourth determining module is called, and the fourth determining module is used to determine the K-frame display interface sequence within the first preset time period as the second display interface group.

[0066] Preferably, the current display scene information includes a dynamic display scene or a static display scene; and the first determining module includes:

[0067] A judging unit, used to judge whether the similarity between at least two frames of display interfaces displayed on the display screen is greater than a similarity threshold;

[0068] If yes, calling a first determining unit, the first determining unit is used to determine that the current display scene information includes a static display scene;

[0069] If not, a second determining unit is called, and the second determining unit is used to determine whether the current display scene information includes a dynamic display scene.

[0070] A third aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the eye protection control method for a display screen as described in the first aspect is implemented.

[0071] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the eye protection control method for a display screen as described in the first aspect is implemented.

[0072] The positive and progressive effects of the present invention are:

[0073] The present invention determines the current display scene information of a display screen; determines target eye protection display parameters that match the current display scene information according to the correspondence between the display scene information and the eye protection display parameters; and then controls the display screen to display according to the target eye protection display parameters, thereby adaptively adjusting the eye protection display parameters of the display screen based on different display scene information to satisfy both eye protection and display effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 This is a first flow chart of the eye protection control method for a display screen according to Embodiment 1 of the present invention.

[0075] Figure 2This is a second flow chart of the eye protection control method for a display screen according to embodiment 1 of the present invention.

[0076] Figure 3 This is the third flow chart of the eye protection control method for a display screen according to embodiment 1 of the present invention.

[0077] Figure 4 This is the fourth flow chart of the eye protection control method for a display screen according to embodiment 1 of the present invention.

[0078] Figure 5 This is a flow chart of step 101 of the eye protection control method for a display screen according to embodiment 1 of the present invention.

[0079] Figure 6 This is a module schematic diagram of the eye protection control system of the display screen according to Example 2 of the present invention.

[0080] Figure 7 This is a schematic diagram of the structure of an electronic device according to Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0081] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.

[0082] Example 1

[0083] This embodiment provides a method for controlling eye protection of a display screen, such as Figure 1 As shown, the eye protection control method includes:

[0084] Step 101, determining the current display scene information of the display screen;

[0085] In this embodiment, when the user turns on the display screen of the terminal device, the terminal device determines the current display scene information of the display screen according to the display content of the display screen.

[0086] In this embodiment, the current display scene information includes ambient lighting information, a dynamic display scene or a static display scene.

[0087] In this embodiment, the static display scene includes at least one of a UI scene, a picture scene, and an e-book scene.

[0088] In this embodiment, the dynamic display scene includes at least one of a video scene and a game scene.

[0089] Step 102: Determine target eye protection display parameters that match the current display scene information according to the corresponding relationship between the display scene information and the eye protection display parameters;

[0090] In this embodiment, the correspondence between the display scene information and the eye protection display parameters can be obtained through experiments, can be obtained by training a neural network with historical data as training samples, can be obtained by fitting historical data, or can be obtained by other methods;

[0091] In addition, the corresponding relationship can be represented by a table, a function, a model, or other methods, which are not specifically limited here.

[0092] In this embodiment, the eye protection display parameter includes at least one of pixel brightness, regional contrast of the target area, backlight brightness, interface brightness and interface contrast;

[0093] In this embodiment, pixel brightness is an adjustable pixel brightness; interface brightness is the brightness obtained by the terminal device directly from the display content of the display screen (i.e., the display interface); interface contrast is the contrast obtained by the terminal device directly from the display content of the display screen (i.e., the display interface); the regional contrast of the target area is an adjustable contrast; wherein brightness is the brightness of the interface; contrast is the difference between the maximum grayscale level and the minimum grayscale level of the interface, and the user screen is the interface displayed in real time on the display screen.

[0094] It should be noted that different display scene information is configured with different eye protection display parameters.

[0095] In addition, the regional contrast of the target area includes but is not limited to the regional contrast of the interface ultra-bright area and the regional contrast of the interface dark area; the so-called interface ultra-bright area is the area in the display interface with a brightness greater than the first brightness threshold, and the so-called interface dark area is the area in the display interface with a brightness less than the second brightness threshold. The first brightness threshold is greater than the second brightness threshold.

[0096] Step 103: Control the display screen to display according to the target eye protection display parameters.

[0097] Among them, the target eye protection display parameters are display parameters that are adapted to the current display scene information and have eye protection effects. The display screen is controlled to display according to the target eye protection display parameters, which can not only achieve eye protection effects under low ambient light, but also improve the display effect.

[0098] This embodiment adaptively controls the display screen to display under low ambient light according to different display scene information combined with target eye protection display parameters matching the current scene information, thereby adaptively adjusting the eye protection display parameters of the display screen based on different display scene information to meet eye protection and display effects.

[0099] In an practicable solution, when the current display scene information includes ambient lighting information; before step 101, as Figure 2As shown, the eye protection control method also includes:

[0100] Step 100: Determine whether the ambient lighting information matches the preset lighting information;

[0101] In this embodiment, the ambient light information is detected by a sensor in the terminal device; it should be noted that the ambient light information includes but is not limited to ambient brightness and color temperature values.

[0102] In addition, the preset lighting information can be set according to actual conditions, including a brightness threshold of low ambient light, a light intensity threshold, etc.

[0103] If yes, it means that the current ambient light information is low ambient light, and long-term viewing of the display screen in a low ambient light scene will damage the eyes, then execute step 101 to adjust the display parameters of the display screen to the target eye protection display parameters to achieve the eye protection effect; if no, it means that the current ambient light information is not low ambient light, and viewing the display screen will cause little damage to the eyes, and there is no need to adjust the display parameters of the display screen, then execute step 100';

[0104] Step 100': no ​​action.

[0105] In this embodiment, when it is determined that the ambient light information matches the preset light information, it means that the current ambient light information is low ambient light, and the low ambient light eye protection mode of the display screen is automatically turned on.

[0106] In an implementable solution, when the current display scene information includes ambient lighting information; step 102 includes:

[0107] Determine the pixel brightness that matches the ambient lighting information according to the corresponding relationship; wherein the pixel brightness belongs to the target eye protection display parameter, and the pixel brightness is positively correlated with the ambient lighting information;

[0108] In an implementable solution, when the current display scene information includes ambient lighting information; step 102 includes:

[0109] Determine the backlight brightness that matches the ambient lighting information according to the corresponding relationship; wherein the backlight brightness belongs to the target eye protection display parameter, and the backlight brightness is positively correlated with the ambient lighting information;

[0110] In an implementable solution, when the current display scene information includes ambient lighting information; step 102 includes:

[0111] Determine an interface contrast that matches the ambient lighting information according to the corresponding relationship; wherein the interface contrast belongs to the target eye protection display parameter, and the interface contrast is negatively correlated with the ambient lighting information;

[0112] In an implementable solution, when the current display scene information includes ambient lighting information; step 102 includes:

[0113] The regional contrast of the target area that matches the ambient lighting information is determined based on the corresponding relationship, and the regional contrast is also related to the interface contrast; wherein the regional contrast belongs to the target eye protection display parameter, and the target area is the area in the display interface of the display screen where the brightness is greater than the first brightness threshold or less than the second brightness threshold, and the first brightness threshold is greater than the second brightness threshold. That is, the target area is the area in the display interface of the display screen where the brightness is greater than the first brightness threshold, that is, the interface special bright area, or the target area is the area in the display interface of the display screen where the brightness is less than the second brightness threshold, that is, the interface dark area.

[0114] In this embodiment, the first brightness threshold and the second brightness threshold are set according to actual conditions and are not specifically limited here.

[0115] In the specific implementation process, for both static display scenes and dynamic display scenes, the display screen can be controlled to display under low ambient light by adjusting the regional contrast of the target area. Specifically, the interface contrast of the display content is obtained through the picture histogram statistics, and the regional contrast of the target area matching the ambient lighting information is adjusted according to the interface contrast to enhance the visibility of the interface in darker environments. For example, the regional contrast of the target area matching the ambient lighting information can be adjusted to less than or equal to 50% of the standard contrast, that is, the regional contrast of the interface's brightest area matching the ambient lighting information and the regional contrast of the interface's dark area are adjusted to less than or equal to 50% of the standard contrast, so that the visibility of the interface in low ambient light can be enhanced while achieving the eye protection effect. The standard contrast is determined based on historical experience.

[0116] In an implementable solution, the current display scene information further includes a dynamic display scene or a static display scene;

[0117] In the case where the current display scene information includes a static display scene, the pixel brightness is also negatively correlated with the backlight brightness;

[0118] For example, when the ambient light is dim, if the backlight brightness is brighter, it will irritate the human eye. Therefore, when adjusting the pixel brightness, it is also necessary to combine the backlight brightness. When the backlight brightness is brighter, the pixel brightness can be reduced to suppress the overly bright backlight and reduce the light on the display that irritates the human eye. Specifically, the pixel brightness can be reduced to less than or equal to 50% of the standard pixel brightness according to the backlight brightness to achieve the effect of eye protection. The standard pixel brightness is determined based on historical experience.

[0119] When the current display scene information includes a dynamic display scene, the pixel brightness is also positively correlated with the weighted result, which is the weighted result of the backlight brightness and the interface brightness; and / or, the pixel brightness is also negatively correlated with the interface brightness.

[0120] The current display scene in this embodiment may be a static display scene or a dynamic display scene, that is, this embodiment is applicable to both static display scenes and dynamic display scenes.

[0121] In the specific implementation process, for both static display scenes and dynamic display scenes, the display screen can be controlled to display under low ambient light by adjusting the pixel brightness. Specifically, when the ambient light is dim, if the backlight brightness is brighter, it will irritate the human eye. At this time, the pixel brightness is reduced to suppress the overly bright backlight; for example, the pixel brightness can be reduced to less than or equal to 50% of the standard pixel brightness according to the backlight brightness to achieve the effect of eye protection; if the backlight brightness is low, the details of the dark area of ​​the interface cannot be fully displayed. At this time, the pixel brightness is increased to compensate for the interface display effect. For example, the pixel brightness can be increased to less than or equal to 50% of the standard pixel brightness according to the backlight brightness to achieve the effect of eye protection and compensation for the interface display effect.

[0122] It should be noted that for both static and dynamic display scenes, the display screen can be controlled under low ambient light by controlling the pixel brightness and the regional contrast of the target area, so as to further improve the eye protection effect of the display screen and further enhance the visibility of the interface in darker environments.

[0123] In this embodiment, for dynamic display scenes, since the display content changes dynamically, while the backlight brightness changes slightly, adjusting the pixel brightness by the backlight brightness is not suitable for dynamic display scenes. Therefore, the backlight brightness and the interface brightness of the display content are weighted to jointly configure the pixel brightness according to the relevant weights.

[0124] Specifically, the weight value of the backlight brightness and the weight value of the interface brightness of the display screen are set according to the influence of the backlight brightness and the interface brightness on the pixel brightness respectively; for example, when the influence of the backlight brightness on the pixel brightness is greater than the influence of the interface brightness on the pixel brightness, the weight of the backlight brightness is higher than the weight of the interface brightness; conversely, the weight of the interface brightness is higher than the weight of the backlight brightness; since the interface brightness has a greater impact on dynamic display scenes, the weight of the backlight brightness is usually set lower than the weight of the interface brightness.

[0125] For example, when the user opens a video, the terminal device automatically enters the dynamic display scene mode after detecting a dynamic display scene. If the backlight brightness is high at this time, the pixel brightness needs to be lowered (for example, the current backlight brightness is higher than the previous backlight brightness, which means that the backlight brightness has a tendency to increase, and the pixel brightness will be adjusted down at this time). If it is detected that the interface brightness is also high, the pixel brightness will be further reduced; if the backlight brightness is high and the interface brightness is low, the pixel brightness needs to be slightly reduced; if the backlight brightness is low, the pixel brightness needs to be increased, and if it is detected that the interface brightness is also low, the pixel brightness will be further increased; if the backlight brightness is low and the interface brightness is high, the backlight brightness needs to be slightly increased.

[0126] It should be noted that in a dynamic display scenario, since the frequency of backlight brightness changes is relatively low and the frequency of interface brightness changes is relatively high, the number of backlight brightness detections is less than the number of interface brightness detections.

[0127] This embodiment adjusts the pixel brightness by jointly adjusting the backlight brightness and the interface brightness, thereby achieving adaptive dynamic adjustment of the pixel brightness, so that the displayed content of the display screen appears more natural.

[0128] In an implementable solution, when the current display scene information includes a dynamic display scene, the interface brightness is the average brightness of the first display interface group; and / or, the interface contrast is the average contrast of the second display interface group;

[0129] Among them, the first display interface group includes a multi-frame display interface sequence whose interface brightness change is less than a brightness change threshold; the second display interface group includes a multi-frame display interface sequence whose interface contrast change is less than a contrast threshold.

[0130] In one feasible solution, Figure 3 As shown, the eye protection control method also includes:

[0131] Step 201: obtaining a first average difference value of interface brightness of a sequence of K frames displaying an interface within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying an interface within a second preset time period, wherein the latest moment of the second preset time period is earlier than the earliest moment of the first preset time period;

[0132] Step 202, calculating a first absolute difference between a first average difference of interface brightness and a second average difference of interface brightness;

[0133] Step 203: determine whether the first absolute difference is less than a stable threshold;

[0134] If yes, it means that the K frame display interface sequence in the first preset time period has a small change and is relatively stable, then execute step 204; if no, it means that the K frame display interface sequence in the first preset time period has a large change and changes frequently, then execute step 205;

[0135] Step 204: determine a sequence of K display interfaces within a first preset time period as a first display interface group;

[0136] Step 205 , cyclically obtain the average difference in interface brightness of the K / N frame display interface sequence within the first preset time period, until the calculated absolute difference between the average differences of the two preset time periods is less than a stable threshold.

[0137] In one feasible solution, Figure 4 As shown, the eye protection control method also includes:

[0138] Step 301, obtaining a first average difference value of interface contrast of a sequence of K frames displaying an interface within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying an interface within a second preset time period;

[0139] Step 302, calculating a second absolute difference between the first average difference of the interface contrast and the second average difference of the interface contrast;

[0140] Step 303: determine whether the second absolute difference is less than a stable threshold;

[0141] If yes, it means that the K-frame display interface sequence in the first preset time period has a small change and is relatively stable, then execute step 304; if no, it means that the K-frame display interface sequence in the first preset time period has a large change and changes frequently, then execute step 305;

[0142] Step 304: determine a K-frame display interface sequence within a first preset time period as a second display interface group.

[0143] Step 305 , cyclically obtain the average difference in interface contrast of the K / N frame display interface sequence within the first preset time period, until the calculated absolute difference between the average difference of the two preset time periods is less than the stability threshold.

[0144] It should be noted that the following formula can be used to determine the K-frame display interface sequence within the first preset time period as the first display interface group or the second display interface group:

[0145] △M=|M(k1)-M(k1+△k)|;

[0146] Among them, △M represents the first absolute difference of interface brightness or the second absolute difference of interface contrast, M(k1) represents the second average difference of interface brightness or the second average difference of interface contrast, and M(k1+△k) represents the first average difference of interface brightness or the first average difference of interface contrast.

[0147] In the specific implementation process, if △M is less than the stable threshold value T, it means that the current display content of the display screen changes less and is relatively stable. At this time, the K-frame display interface sequence in the first preset time period is determined as the first display interface group and the second display interface group to obtain the average brightness of the first display interface group and the average contrast of the second display interface group. If the calculated △M is not less than the stable threshold value T, it means that the number of display interface frames contained in the currently sampled display interface sequence is too large, and it is necessary to sample the K-frame display interface sequence more carefully. Specifically, the average difference M(k1+k / N) of the interface brightness and interface contrast of the K / N frame display interface sequence is obtained respectively. The absolute difference △M=|M(k1)-M(k1+k / N)| of the two adjacent average differences is calculated respectively. If △M is less than the stable threshold value T, the (k1+k / N) frame display content is determined as the first display interface group and the second display interface group to obtain the average brightness of the first display interface group and the average contrast of the second display interface group. At this time, the cycle is repeated N times until the K-frame sampling in the current first preset time period is completed. If k / N frames still cannot meet the requirement, the iteration cycle continues until the calculated absolute difference is less than the stability threshold.

[0148] In this embodiment, similar display contents are filtered at the frame level in a dynamic display scenario to avoid repeated processing of similar display contents, thereby improving processing efficiency and avoiding frequent sampling and processing that causes interface jitter. For display contents with large changes, more detailed sampling, statistics and filtering are used to more accurately obtain the average brightness of the first display interface group and the average contrast of the second display interface group.

[0149] In an implementable solution, the current display scene information includes a dynamic display scene or a static display scene; Figure 5 As shown, step 101 includes:

[0150] Step 101-1, determining whether the similarity between at least two frames of display content displayed on the display screen is greater than a similarity threshold;

[0151] In this embodiment, the similarity threshold is set according to actual conditions and is not specifically limited here.

[0152] If yes, it means that the change of the display content of the two frames is very small, then execute step 101-2; if no, it means that the change of the display content of the two frames is very large, then execute step 101-3;

[0153] Step 101-2, determining that the current display scene information includes a static display scene;

[0154] Step 101 - 3: Determine whether the current display scene information includes a dynamic display scene.

[0155] In the present embodiment, the current display scene information is identified as a static display scene or a dynamic display scene according to the display content of the display screen. It should be noted that due to the large differences in the display content (i.e., interface content) of the display screen in static display scenes and dynamic display scenes, the eye protection display parameters of the display screen in static display scenes and the eye protection display parameters of the display screen in dynamic display scenes need to be adjusted separately, so as to accurately control the display screen to display under low ambient light in different display scene types, so as to improve the eye protection effect and display effect.

[0156] This embodiment determines the current display scene information of the display screen; determines the target eye protection display parameters that match the current display scene information according to the correspondence between the display scene information and the eye protection display parameters; and then controls the display screen to display according to the target eye protection display parameters, so as to adaptively control the display screen to display under low ambient light according to different display scene information combined with the target eye protection display parameters that match the current scene information, thereby realizing adaptive adjustment of the eye protection display parameters of the display screen based on different display scene information, so as to satisfy the eye protection and display effects under low ambient light.

[0157] Example 2

[0158] This embodiment provides an eye protection control system for a display screen, such as Figure 6 As shown, the eye protection control system includes:

[0159] A first determining module 21, used to determine current display scene information of the display screen;

[0160] In this embodiment, when the user turns on the display screen of the terminal device, the terminal device determines the current display scene information of the display screen according to the display content of the display screen.

[0161] In this embodiment, the current display scene information includes ambient lighting information, a dynamic display scene or a static display scene.

[0162] In this embodiment, the static display scene includes at least one of a UI scene, a picture scene, and an e-book scene.

[0163] In this embodiment, the dynamic display scene includes at least one of a video scene and a game scene.

[0164] A second determination module 22, configured to determine a target eye protection display parameter that matches the current display scene information according to a correspondence between the display scene information and the eye protection display parameter;

[0165] In this embodiment, the correspondence between the display scene information and the eye protection display parameters can be obtained through experiments, can be obtained by training a neural network with historical data as training samples, can be obtained by fitting historical data, or can be obtained by other methods;

[0166] In addition, the corresponding relationship can be represented by a table, a function, a model, or other methods, which are not specifically limited here.

[0167] In this embodiment, the eye protection display parameter includes at least one of pixel brightness, regional contrast of the target area, backlight brightness, interface brightness and interface contrast;

[0168] In this embodiment, pixel brightness is an adjustable pixel brightness; interface brightness is the brightness obtained by the terminal device directly from the display content of the display screen (i.e., the display interface); interface contrast is the contrast obtained by the terminal device directly from the display content of the display screen (i.e., the display interface); the regional contrast of the target area is an adjustable contrast; wherein brightness is the brightness of the interface; contrast is the difference between the maximum grayscale level and the minimum grayscale level of the interface, and the user screen is the interface displayed in real time on the display screen.

[0169] It should be noted that different display scene information is configured with different eye protection display parameters.

[0170] In addition, the regional contrast of the target area includes but is not limited to the regional contrast of the interface ultra-bright area and the regional contrast of the interface dark area; the so-called regional contrast of the interface ultra-bright area is the area in the display interface with a brightness greater than the first brightness threshold, and the so-called interface dark area is the area in the display interface with a brightness less than the second brightness threshold. The first brightness threshold is greater than the second brightness threshold.

[0171] The control module 23 is used to control the display screen to display according to the target eye protection display parameters.

[0172] Among them, the target eye protection display parameters are display parameters that are adapted to the current display scene information and have eye protection effects. The display screen is controlled to display according to the target eye protection display parameters, which can not only achieve eye protection effects under low ambient light, but also improve the display effect.

[0173] This embodiment adaptively controls the display screen to display under low ambient light according to different display scene information combined with target eye protection display parameters matching the current scene information, thereby adaptively adjusting the eye protection display parameters of the display screen based on different display scene information to meet eye protection and display effects.

[0174] In an implementable solution, when the currently displayed scene information includes ambient lighting information; Figure 6As shown, the eye protection control system also includes:

[0175] A first judging module 24, used to judge whether the ambient lighting information matches the preset lighting information;

[0176] In this embodiment, the ambient light information is detected by a sensor in the terminal device; it should be noted that the ambient light information includes but is not limited to ambient brightness and color temperature values.

[0177] In addition, the preset lighting information can be set according to actual conditions, including a brightness threshold of low ambient light, a light intensity threshold, etc.

[0178] If so, it means that the current ambient light information is low ambient light, and watching the display screen for a long time in a low ambient light scene will damage the eyes, then the execution module 25 is called, and the execution module 25 is used to adjust the display parameters of the display screen to the target eye protection display parameters to achieve the eye protection effect; if not, it means that the current ambient light information is not low ambient light, and the damage to the eyes caused by watching the display screen is relatively small, and there is no need to adjust the display parameters of the display screen, then no action is taken.

[0179] In this embodiment, when it is determined that the ambient light information matches the preset light information, it means that the current ambient light information is low ambient light, and the low ambient light eye protection mode of the display screen is automatically turned on.

[0180] In an implementable solution, when the current display scene information includes ambient lighting information; the second determination module 22 is specifically used to determine the pixel brightness that matches the ambient lighting information according to the corresponding relationship; wherein the pixel brightness belongs to the target eye protection display parameter, and the pixel brightness is positively correlated with the ambient lighting information;

[0181] In an implementable solution, when the current display scene information includes ambient lighting information; the second determination module 22 is specifically used to determine the backlight brightness that matches the ambient lighting information according to the corresponding relationship; wherein the backlight brightness belongs to the target eye protection display parameter, and the backlight brightness is positively correlated with the ambient lighting information;

[0182] In an implementable solution, when the current display scene information includes ambient lighting information; the second determination module 22 is specifically used to determine the interface contrast that matches the ambient lighting information according to the corresponding relationship; wherein the interface contrast belongs to the target eye protection display parameter, and the interface contrast is negatively correlated with the ambient lighting information;

[0183] In an implementable solution, when the current display scene information includes ambient lighting information; the second determination module 22 is specifically used to determine the regional contrast of the target area that matches the ambient lighting information according to the corresponding relationship, and the regional contrast is also related to the interface contrast; wherein the regional contrast belongs to the target eye protection display parameter, and the target area is the area in the display interface of the display screen where the brightness is greater than the first brightness threshold or less than the second brightness threshold, and the first brightness threshold is greater than the second brightness threshold. That is, the target area is the area in the display interface of the display screen where the brightness is greater than the first brightness threshold, that is, the interface special bright area, or the target area is the area in the display interface of the display screen where the brightness is less than the second brightness threshold, that is, the interface dark area.

[0184] In this embodiment, the first brightness threshold and the second brightness threshold are set according to actual conditions and are not specifically limited here.

[0185] In the specific implementation process, for both static display scenes and dynamic display scenes, the display screen can be controlled to display under low ambient light by adjusting the regional contrast of the target area. Specifically, the interface contrast of the display content is obtained through the picture histogram statistics, and the regional contrast of the target area matching the ambient lighting information is adjusted according to the interface contrast to enhance the visibility of the interface in darker environments. For example, the regional contrast of the target area matching the ambient lighting information can be adjusted to less than or equal to 50% of the standard contrast, that is, the regional contrast of the interface's brightest area matching the ambient lighting information and the regional contrast of the interface's dark area are adjusted to less than or equal to 50% of the standard contrast, so that the visibility of the interface in low ambient light can be enhanced while achieving the eye protection effect. The standard contrast is determined based on historical experience.

[0186] In an implementable solution, the current display scene information further includes a dynamic display scene or a static display scene;

[0187] In the case where the current display scene information includes a static display scene, the pixel brightness is also negatively correlated with the backlight brightness;

[0188] For example, when the ambient light is dim, if the backlight brightness is brighter, it will irritate the human eye. Therefore, when adjusting the pixel brightness, it is also necessary to combine the backlight brightness. When the backlight brightness is brighter, the pixel brightness can be reduced to suppress the overly bright backlight and reduce the light on the display that irritates the human eye. Specifically, the pixel brightness can be reduced to less than or equal to 50% of the standard pixel brightness according to the backlight brightness to achieve the effect of eye protection. The standard pixel brightness is determined based on historical experience.

[0189] When the current display scene information includes a dynamic display scene, the pixel brightness is also positively correlated with the weighted result, which is the weighted result of the backlight brightness and the interface brightness; and / or, the pixel brightness is also negatively correlated with the interface brightness.

[0190] In the specific implementation process, for both static display scenes and dynamic display scenes, the display screen can be controlled to display under low ambient light by adjusting the pixel brightness. Specifically, when the ambient light is dim, if the backlight brightness is bright, it will irritate the human eye. At this time, the pixel brightness is reduced to suppress the overly bright backlight; for example, the pixel brightness can be reduced to less than or equal to 50% of the standard pixel brightness according to the backlight brightness to achieve the effect of eye protection; if the backlight brightness is low, the details of the dark area of ​​the interface cannot be fully displayed. At this time, the pixel brightness is increased to compensate for the interface display effect. For example, the pixel brightness can be increased to less than or equal to 50% of the standard pixel brightness according to the backlight brightness to achieve the effect of eye protection and compensation for the interface display effect.

[0191] It should be noted that for both static and dynamic display scenes, the display screen can be controlled under low ambient light by controlling the pixel brightness and the regional contrast of the target area, so as to further improve the eye protection effect of the display screen and further enhance the visibility of the interface in darker environments.

[0192] In this embodiment, for dynamic display scenes, since the display content changes dynamically, while the backlight brightness changes slightly, adjusting the pixel brightness by the backlight brightness is not suitable for dynamic display scenes. Therefore, the backlight brightness and the interface brightness of the display content are weighted to jointly configure the pixel brightness according to the relevant weights.

[0193] Specifically, the weight value of the backlight brightness and the weight value of the interface brightness of the display screen are set according to the influence of the backlight brightness and the interface brightness on the pixel brightness respectively; for example, when the influence of the backlight brightness on the pixel brightness is greater than the influence of the interface brightness on the pixel brightness, the weight of the backlight brightness is higher than the weight of the interface brightness; conversely, the weight of the interface brightness is higher than the weight of the backlight brightness; since the interface brightness has a greater impact on dynamic display scenes, the weight of the backlight brightness is usually set lower than the weight of the interface brightness.

[0194] For example, when the user opens a video, the terminal device automatically enters the dynamic display scene mode after detecting a dynamic display scene. If the backlight brightness is high at this time, the pixel brightness needs to be lowered (for example, the current backlight brightness is higher than the previous backlight brightness, which means that the backlight brightness has a tendency to increase, and the pixel brightness will be adjusted down at this time). If it is detected that the interface brightness is also high, the pixel brightness will be further reduced; if the backlight brightness is high and the interface brightness is low, the pixel brightness needs to be slightly reduced; if the backlight brightness is low, the pixel brightness needs to be increased, and if it is detected that the interface brightness is also low, the pixel brightness will be further increased; if the backlight brightness is low and the interface brightness is high, the backlight brightness needs to be slightly increased.

[0195] It should be noted that in a dynamic display scenario, since the frequency of backlight brightness changes is relatively low and the frequency of interface brightness changes is relatively high, the number of backlight brightness detections is less than the number of interface brightness detections.

[0196] This embodiment adjusts the pixel brightness by jointly adjusting the backlight brightness and the interface brightness, thereby achieving adaptive dynamic adjustment of the pixel brightness, so that the displayed content of the display screen appears more natural.

[0197] In an implementable solution, when the current display scene information includes a dynamic display scene, the interface brightness is the average brightness of the first display interface group; and / or, the interface contrast is the average contrast of the second display interface group;

[0198] Among them, the first display interface group includes a multi-frame display interface sequence whose interface brightness change is less than a brightness change threshold; the second display interface group includes a multi-frame display interface sequence whose interface contrast change is less than a contrast threshold.

[0199] In one feasible solution, Figure 6 As shown, the eye protection control system also includes:

[0200] A first acquisition module 26 is used to acquire a first average difference value of interface brightness of a sequence of K frames displaying an interface within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying an interface within a second preset time period, wherein the latest moment of the second preset time period is earlier than the earliest moment of the first preset time period;

[0201] A first calculation module 27, used for calculating a first absolute difference between a first average difference of interface brightness and a second average difference of interface brightness;

[0202] A second judgment module 28, used to judge whether the first absolute difference is less than a stability threshold;

[0203] If so, it means that the K-frame display interface sequence within the first preset time period has changed little and is relatively stable, then the third determination module 29 is called, and the third determination module 29 is used to determine the K-frame display interface sequence within the first preset time period as the first display interface group; if not, it means that the K-frame display interface sequence within the first preset time period has changed greatly and changed frequently, then the first loop module 311 is called, and the first loop module 311 is used to cyclically obtain the average difference in interface brightness of the K / N-frame display interface sequence within the first preset time period, until the calculated absolute difference between the average differences between the two preset time periods is less than the stability threshold.

[0204] In one feasible solution, Figure 6 As shown, the eye protection control system also includes:

[0205] The second acquisition module 312 is used to acquire a first average difference value of interface contrast of a sequence of K frame display interfaces within a first preset time period and a second average difference value of interface brightness of a sequence of K frame display interfaces within a second preset time period;

[0206] A second calculation module 313 is used to calculate a second absolute difference between the first average difference of the interface contrast and the second average difference of the interface contrast;

[0207] A third judgment module 314 is used to judge whether the second absolute difference is less than a stable threshold;

[0208] If so, it means that the K frame display interface sequence within the first preset time period has changed little and is relatively stable, then the fourth determination module 315 is called, and the fourth determination module 315 is used to determine the K frame display interface sequence within the first preset time period as the second display interface group; if not, it means that the K frame display interface sequence within the first preset time period has changed greatly and changed frequently, then the second loop module 316 is called, and the second loop module 316 is used to cyclically obtain the average difference in interface contrast of the K / N frame display interface sequence within the first preset time period, until the calculated absolute difference between the average difference between the two preset time periods is less than the stability threshold.

[0209] It should be noted that the following formula can be used to determine the K-frame display interface sequence within the first preset time period as the first display interface group or the second display interface group:

[0210] △M=|M(k1)-M(k1+△k)|;

[0211] Among them, △M represents the first absolute difference of interface brightness or the second absolute difference of interface contrast, M(k1) represents the second average difference of interface brightness or the second average difference of interface contrast, and M(k1+△k) represents the first average difference of interface brightness or the first average difference of interface contrast.

[0212] In the specific implementation process, if △M is less than the stable threshold value T, it means that the current display content of the display screen changes less and is relatively stable. At this time, the K-frame display interface sequence in the first preset time period is determined as the first display interface group and the second display interface group to obtain the average brightness of the first display interface group and the average contrast of the second display interface group. If the calculated △M is not less than the stable threshold value T, it means that the number of display interface frames contained in the currently sampled display interface sequence is too large, and it is necessary to sample the K-frame display interface sequence more carefully. Specifically, the average difference M(k1+k / N) of the interface brightness and interface contrast of the K / N frame display interface sequence is obtained respectively. The absolute difference △M=|M(k1)-M(k1+k / N)| of the two adjacent average differences is calculated respectively. If △M is less than the stable threshold value T, the (k1+k / N) frame display content is determined as the first display interface group and the second display interface group to obtain the average brightness of the first display interface group and the average contrast of the second display interface group. At this time, the cycle is repeated N times until the K-frame sampling in the current first preset time period is completed. If k / N frames still cannot meet the requirement, the iteration cycle continues until the calculated absolute difference is less than the stability threshold.

[0213] In this embodiment, similar display contents are filtered at the frame level in a dynamic display scenario to avoid repeated processing of similar display contents, thereby improving processing efficiency and avoiding frequent sampling and processing that causes interface jitter. For display contents with large changes, more detailed sampling, statistics and filtering are used to more accurately obtain the average brightness of the first display interface group and the average contrast of the second display interface group.

[0214] In an implementable solution, the current display scene information includes a dynamic display scene or a static display scene; Figure 6 As shown, the first determination module 21 includes:

[0215] A determination unit 211 is used to determine whether the similarity between at least two frames of display interfaces displayed on the display screen is greater than a similarity threshold;

[0216] In this embodiment, the similarity threshold is set according to actual conditions and is not specifically limited here.

[0217] If yes, it means that the change between the display contents of the previous and next two frames is very small, then the first determining unit 212 is called, and the first determining unit 212 is used to determine that the current display scene information includes a static display scene;

[0218] If not, it means that the display contents of the two frames before and after have changed greatly, and then the second determining unit 213 is called, and the second determining unit 213 is used to determine that the current display scene information includes a dynamic display scene.

[0219] In the present embodiment, the current display scene information is identified as a static display scene or a dynamic display scene according to the display content of the display screen. It should be noted that due to the large differences in the display content (i.e., interface content) of the display screen in static display scenes and dynamic display scenes, the eye protection display parameters of the display screen in static display scenes and the eye protection display parameters of the display screen in dynamic display scenes need to be adjusted separately, so as to accurately control the display screen to display under low ambient light in different display scene types, so as to improve the eye protection effect and display effect.

[0220] This embodiment determines the current display scene information of the display screen; determines the target eye protection display parameters that match the current display scene information according to the correspondence between the display scene information and the eye protection display parameters; and then controls the display screen to display according to the target eye protection display parameters, so as to adaptively control the display screen to display under low ambient light according to different display scene information combined with the target eye protection display parameters that match the current scene information, thereby realizing adaptive adjustment of the eye protection display parameters of the display screen based on different display scene information, so as to satisfy the eye protection and display effects under low ambient light.

[0221] Example 3

[0222] Figure 7 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the eye protection control method for the display screen of Embodiment 1 is implemented when the processor executes the program. Figure 7 The electronic device 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0223] like Figure 7 As shown, the electronic device 30 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).

[0224] The bus 33 includes a data bus, an address bus, and a control bus.

[0225] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .

[0226] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0227] The processor 31 executes various functional applications and data processing by running the computer programs stored in the memory 32, such as the eye protection control method of the display screen in embodiment 1 of the present invention.

[0228] The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model generating device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. Figure 7 As shown, the network adapter 36 communicates with other modules of the model-generated device 30 via the bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0229] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0230] Example 4

[0231] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the eye protection control method for the display screen provided in Embodiment 1 is implemented.

[0232] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0233] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes a program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute the eye protection control method for the display screen described in Example 1.

[0234] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0235] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. A method for controlling eye protection of a display screen, characterized in that: The eye protection control method comprises: Determine the current display scene information of the display screen; Determining target eye protection display parameters matching the current display scene information according to the corresponding relationship between the display scene information and the eye protection display parameters; Controlling the display screen to display according to the target eye protection display parameters; The current display scene information includes ambient lighting information, and the current display scene information also includes a dynamic display scene or a static display scene; according to the corresponding relationship between the display scene information and the eye protection display parameter, determining the target eye protection display parameter matching the current display scene information includes: Determining a pixel brightness that matches the ambient lighting information according to the corresponding relationship; wherein the pixel brightness belongs to the target eye protection display parameter, and the pixel brightness is positively correlated with the ambient lighting information; In the case where the current display scene information includes a static display scene, the pixel brightness is also negatively correlated with the backlight brightness; When the current display scene information includes a dynamic display scene, the pixel brightness is also positively correlated with a weighted result, which is a weighted result of the backlight brightness and the interface brightness; and / or, the pixel brightness is also negatively correlated with the interface brightness.

2. The eye protection control method of a display screen as claimed in claim 1, characterized in that: The current display scene information includes ambient lighting information; before the step of determining the current display scene information of the display screen, the eye protection control method further includes: Determining whether the ambient lighting information matches the preset lighting information; If so, the step of determining the current display scene information of the display screen is performed.

3. The eye protection control method of a display screen as claimed in claim 1, characterized in that: Determining target eye protection display parameters matching the current display scene information according to the corresponding relationship between the display scene information and the eye protection display parameters, further comprising: Determining a backlight brightness that matches the ambient lighting information according to the corresponding relationship; wherein the backlight brightness belongs to the target eye protection display parameter, and the backlight brightness is positively correlated with the ambient lighting information; And / or, determining an interface contrast that matches the ambient lighting information according to the corresponding relationship; wherein the interface contrast belongs to the target eye protection display parameter, and the interface contrast is negatively correlated with the ambient lighting information; And / or, determining the regional contrast of the target area matching the ambient lighting information based on the corresponding relationship, and the regional contrast is also related to the interface contrast; wherein the regional contrast belongs to the target eye protection display parameter, and the target area is an area in the display interface of the display screen whose brightness is greater than a first brightness threshold or less than a second brightness threshold, and the first brightness threshold is greater than the second brightness threshold.

4. The eye protection control method of a display screen as claimed in claim 3, characterized in that: In the case where the current display scene information includes a dynamic display scene, the interface brightness is an average brightness of the first display interface group; and / or, the interface contrast is an average contrast of the second display interface group; Among them, the first display interface group includes a multi-frame display interface sequence whose interface brightness change is less than a brightness change threshold; the second display interface group includes a multi-frame display interface sequence whose interface contrast change is less than a contrast threshold.

5. The eye protection control method of a display screen as claimed in claim 4, characterized in that: The eye protection control method also includes: Obtaining a first average difference value of interface brightness of a sequence of K frames displaying an interface within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying an interface within a second preset time period, wherein the latest moment of the second preset time period is earlier than the earliest moment of the first preset time period; Calculate a first absolute difference between a first average difference of the interface brightness and a second average difference of the interface brightness; Determining whether the first absolute difference is less than a stability threshold; If yes, determining the K-frame display interface sequence within the first preset time period as a first display interface group; and / or, The eye protection control method also includes: Acquire a first average difference value of interface contrast of a sequence of K frames displaying interfaces within a first preset time period and a second average difference value of interface brightness of a sequence of K frames displaying interfaces within a second preset time period; Calculating a second absolute difference between the first average difference of the interface contrast and the second average difference of the interface contrast; Determining whether the second absolute difference is less than a stability threshold; If so, the K-frame display interface sequence within the first preset time period is determined as the second display interface group.

6. The eye protection control method of a display screen as claimed in claim 1, characterized in that: The determining of the current display scene information of the display screen includes: Determine whether the similarity between at least two frames of display interfaces displayed on the display screen is greater than a similarity threshold; If yes, determining that the current display scene information includes a static display scene; If not, it is determined that the current display scene information includes a dynamic display scene.

7. An eye protection control system for a display screen, characterized in that: include: A first determination module, used to determine current display scene information of the display screen; A second determination module, configured to determine a target eye protection display parameter matching the current display scene information according to a correspondence between the display scene information and the eye protection display parameter; A control module, used for controlling the display screen to display according to the target eye protection display parameters; The current display scene information includes ambient lighting information, and the current display scene information also includes a dynamic display scene or a static display scene; the second determination module is specifically used to determine the pixel brightness matching the ambient lighting information according to the corresponding relationship; wherein the pixel brightness belongs to the target eye protection display parameter, and the pixel brightness is positively correlated with the ambient lighting information; In the case where the current display scene information includes a static display scene, the pixel brightness is also negatively correlated with the backlight brightness; When the current display scene information includes a dynamic display scene, the pixel brightness is also positively correlated with a weighted result, which is a weighted result of the backlight brightness and the interface brightness; and / or, the pixel brightness is also negatively correlated with the interface brightness.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the eye protection control method for a display screen as described in any one of claims 1-6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the eye protection control method for a display screen as described in any one of claims 1 to 6 is implemented.