Display screen brightness control method and system based on digital information processing
By obtaining the ambient brightness and video brightness characteristic values on the LED display screen and performing weighted relationship fitting, the advance adaptive brightness adjustment of unplayed videos is achieved, which solves the problems of video brightness fluctuations and insufficient adaptability of user habits in the prior art, and improves the user's viewing experience.
Patent Information
- Application Number
- CN202411695199.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-25
AI Technical Summary
The existing LED display brightness control methods cannot effectively adapt to video brightness fluctuations and user viewing habits when playing dynamic videos, resulting in users needing to frequently adjust the screen brightness, affecting the viewing experience.
By obtaining the ambient brightness, the screen brightness after the historical user brightening behavior and the brightness of each frame of the video, the video brightness characteristic value is calculated, and the weighted relationship fitting is performed based on these characteristic values and the ambient brightness, the brightness adjustment fitting relationship is obtained, and the unplayed video is then adaptively adjusted in advance.
It reduces users' frequent adjustments to screen brightness, improves users' viewing experience, and adapts to the needs of different environments and video content through adaptive brightness adjustment in advance.
Smart Images

Figure CN119600931A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of display screen brightness adjustment, and in particular to a display screen brightness control method and system based on digital information processing. Background Art
[0002] As the application scenarios of LED displays become more extensive, driven by technological progress and market demand, the demand for display brightness control is also increasing. LED displays are usually equipped with advanced automatic brightness adjustment systems, which monitor the ambient light in real time through light sensors and automatically adjust the brightness of the display to ensure the best visual effect and energy efficiency. With the introduction of intelligent control technology and artificial intelligence, brightness control has become more precise and flexible, and can adapt to different environmental conditions and application requirements.
[0003] However, the currently commonly used method for controlling the brightness of LED screens is to use a light sensor to detect the ambient brightness and adjust the brightness of the display screen according to the ambient brightness. However, when the display screen plays dynamic videos, the brightness of the video itself fluctuates and the user's viewing habits are different. Analyzing only by the ambient brightness conditions will cause the user to not be able to see the low-brightness video content clearly or the high-brightness video content is dazzling. The user still needs to frequently adjust the screen brightness during the video viewing process, which affects the user's viewing experience. Summary of the invention
[0004] In view of the above problems, an embodiment of the present application provides a display brightness control method and system based on digital information processing, which is used to solve the problem in the prior art that users still need to frequently adjust the screen brightness due to the fluctuation of the brightness of the video itself, affecting the user's viewing experience.
[0005] According to one aspect of an embodiment of the present invention, a method for controlling display screen brightness based on digital information processing is provided, comprising:
[0006] During video playback on the user device, obtain the ambient brightness and the screen brightness after the user has adjusted the brightness in history, and obtain the brightness of each frame of the video image in the video;
[0007] According to the deviation of each frame of video image and the screen brightness, the possibility of brightness flicker of each frame of video image before and after the timing, and the intensity of brightness change of each frame of video image before the timing, the video brightness characteristic value of each frame of video image is obtained;
[0008] Based on the screen brightness after historical user brightness adjustment behavior, a weighted relationship fitting is performed on the ambient brightness and video brightness feature values to obtain a brightness adjustment fitting relationship under ambient brightness;
[0009] The screen brightness of the unplayed video is adjusted according to the brightness adjustment fitting relationship under the ambient brightness.
[0010] In the above scheme, the influence of brightness changes in the video is taken into account. The brightness deviation of the video image, the brightness flickering in time sequence, and the drastic change amplitude are used to comprehensively reflect the necessary degree to which the video image needs to be adjusted, and the video brightness characteristic value of each frame of the video image is obtained. Further considering the ideal brightness requirement of the user's adjustment, a common weighted relationship fitting is performed in combination with the ambient brightness and the video brightness characteristic value. The user's adjustment requirements for different video brightness characteristics under the ambient brightness at this time are considered to obtain the brightness adjustment fitting relationship at this time, and the screen brightness of subsequent unplayed videos is adaptively controlled in advance through the fitting relationship. The screen brightness of subsequent video playback is adjusted according to the brightness changes and adjustments of the user's played videos in combination with the ambient brightness, reducing the user's brightness switching to improve the user's viewing experience.
[0011] Furthermore, the method for obtaining the video brightness characteristic value includes:
[0012] For any frame of video image, the ideal difference of the video image is obtained according to the degree of deviation between the video image and the screen brightness after the historical user brightness adjustment behavior;
[0013] According to the brightness mutation degree between adjacent frames of the video image within the time sequence range, the local flicker degree of the video image is obtained;
[0014] Obtaining the brightness fluctuation of the video image according to the brightness distribution change amplitude of the local video image in the previous time sequence of the video image;
[0015] The video brightness characteristic value of the video image is obtained by combining the ideal difference, local flicker and brightness fluctuation of the video image.
[0016] In the above scheme, the necessary degree of adjustment required for each frame of video image is analyzed. The deviation between the brightness of the video image itself and the user's ideal brightness state is used to reflect the impact of different viewing experiences of users. The sudden change in brightness between adjacent video images in a time period is used to reflect the impact of the flickering of the video itself on the viewing experience. The change in the brightness of the video image is used to reflect the impact of large changes in the video brightness on user vision. The brightness change characteristics of the video image from these three aspects are combined to reflect the impact on the user experience. This characterizes the necessary degree to which the corresponding brightness of the video image needs to be adjusted, thereby providing a data basis for the brightness adjustment of subsequent video playback.
[0017] Furthermore, obtaining the ideal difference of the video image according to the degree of deviation between the video image and the screen brightness after the historical user brightness adjustment behavior includes:
[0018] Before the video image, the screen brightness after the user's recent brightness adjustment behavior in the temporal sequence is used as the ideal brightness of the video image;
[0019] The difference between the brightness of the video image and the ideal brightness is used as the ideal difference degree of the video image.
[0020] Furthermore, the method of obtaining the local flicker of the video image according to the brightness mutation degree between adjacent frames of the video image within the time sequence range includes:
[0021] Within a preset time range of the video image, the brightness difference between every two adjacent frames of the video image is used as the adjacent difference;
[0022] When the adjacent differences are greater than a preset brightness difference threshold, the corresponding adjacent differences are regarded as flicker differences;
[0023] All flicker differences within a preset time range of the video image are combined to obtain a local flicker degree of the video image.
[0024] Further, obtaining the brightness fluctuation of the video image according to the brightness distribution change amplitude of the local video image in the previous time sequence of the video image includes:
[0025] Using the video image within a preset local time range before the video image as the changed image;
[0026] The length of the time period between each changed image and the video image is used as the distribution weight of each changed image; according to the brightness and distribution coefficient of all changed images within a preset local time range before the video image, the local change brightness value of the video image is obtained;
[0027] The difference between the brightness of the video image and the local change brightness value is used as the brightness fluctuation of the video image.
[0028] Furthermore, the method for obtaining the brightness adjustment fitting relationship includes:
[0029] The preset fitting number of frames of video images after each historical user brightening behavior is used as the target image for each historical user brightening behavior; the screen brightness after each historical user brightening behavior is used as the target brightness;
[0030] The video brightness feature value of the target image and the ambient brightness, as well as the target brightness, after each historical user brightening behavior are used as the training sample set after each historical user brightening behavior; the particle swarm optimization algorithm is used to search the optimal fitting relationship for the training sample set after each historical user brightening behavior, and the fitting relationship after each historical user brightening behavior is output;
[0031] The fitting relationship after all historical users' brightness adjustment behaviors is combined to obtain the brightness adjustment fitting relationship.
[0032] In the above scheme, each historical user's brightness adjustment behavior reflects the user's expected brightness. At this time, the fitting relationship is analyzed by the video brightness characteristic value, the ambient brightness, and the target brightness of the screen, thereby achieving the optimal fitting relationship between the ambient brightness and the video brightness characteristic value under the user's expected target brightness, which is convenient for the subsequent pre-adjustment of the screen brightness based on the analyzable ambient brightness and video brightness characteristic values.
[0033] Furthermore, in the fitting relationship, the video brightness feature value and the environment brightness are independent variables, the target brightness is a dependent variable, and the relationship expression is a weighted sum.
[0034] Furthermore, the step of combining the fitting relationship after all historical user brightness adjustment behaviors to obtain the brightness adjustment fitting relationship includes:
[0035] Combine the corresponding weights of the video brightness feature values in the fitting relationship after each historical user brightness adjustment behavior to obtain the adjustment weights corresponding to the video brightness feature values; Combine the corresponding weights of the ambient brightness in the fitting relationship after each historical user brightness adjustment behavior to obtain the adjustment weights corresponding to the ambient brightness;
[0036] Based on the relational expression and the adjustment weights corresponding to the video brightness feature values and the ambient brightness, a brightness adjustment fitting relationship is obtained.
[0037] Furthermore, the step of obtaining the brightness of each frame of the video image in the video includes:
[0038] The average of all brightness of each frame of video image in YUV space is used as the brightness of each frame of video image.
[0039] According to another aspect of an embodiment of the present invention, a display screen brightness control system based on digital information processing is provided.
[0040] A display screen brightness control system based on digital information processing, comprising:
[0041] A data acquisition module is used to obtain the ambient brightness and the screen brightness after the historical user brightness adjustment behavior during the video playback process of the user device, and obtain the brightness of each frame of the video image in the video;
[0042] The video brightness analysis module is used to obtain the video brightness characteristic value of each frame of video image according to the deviation between each frame of video image and the screen brightness, the possibility of brightness flicker of each frame of video image before and after the timing, and the intensity of brightness change of each frame of video image before the timing;
[0043] A fitting relationship analysis module is used to perform weighted relationship fitting on the ambient brightness and video brightness feature values based on the screen brightness after the historical user's brightness adjustment behavior, and obtain a brightness adjustment fitting relationship under the ambient brightness;
[0044] The control module is used to control the screen brightness of the unplayed video according to the brightness adjustment fitting relationship under the ambient brightness.
[0045] According to yet another aspect of the embodiments of the present invention, an electronic device is provided.
[0046] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of a display screen brightness control method based on digital information processing as described above are implemented.
[0047] According to yet another aspect of an embodiment of the present invention, a readable storage medium is provided.
[0048] A readable storage medium stores a computer program, which can be executed by at least one processor. When the computer program code runs on the processor of an electronic device, the electronic device executes the steps of a display screen brightness control method based on digital information processing as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A flow chart of a display screen brightness control method based on digital information processing provided by one embodiment of the present invention;
[0051] Figure 2 A flow chart of a method for obtaining a video brightness characteristic value provided by an embodiment of the present invention;
[0052] Figure 3 A structural diagram of a display screen brightness control system based on digital information processing provided by one embodiment of the present invention;
[0053] Figure 4 The present invention is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the display screen brightness control method and system based on digital information processing proposed by the present invention, its specific implementation, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0055] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0056] The following is a detailed description of a display screen brightness control method and system based on digital information processing provided by the present invention in conjunction with the accompanying drawings.
[0057] Embodiment 1:
[0058] The embodiment of the present invention provides a display screen brightness control method based on digital information processing, see Figure 1 , which shows a flow chart of a display screen brightness control method based on digital information processing provided by an embodiment of the present invention, the method comprising the following steps:
[0059] S1: During video playback on a user device, obtain the ambient brightness and the screen brightness after historical user brightness adjustment, and obtain the brightness of each frame of a video image in the video.
[0060] The display screen of the user device uses LED as a display element, and the brightness of the entire screen is controlled by adjusting the brightness of the LED. When adjusting the brightness of the LED screen of the user device, the light intensity of the environment in which the device is located must be considered first. When the light intensity of the environment in which the device is located is higher, the LED screen needs to have a higher display brightness in order to clearly display the device image. When the light intensity of the environment in which the device is located is weaker, the LED screen needs to have a lower display brightness in order to save energy and protect the user's eyes. In an embodiment of the present invention, the user device may include a mobile phone, a tablet, a laptop, or the like.
[0061] However, based on the above adjustment scheme, when users watch videos, the brightness of the video content itself will affect the user's viewing experience. In order to make the LED display screen present better visual effects when the brightness of the video content watched by the user is high or low. In an embodiment of the present invention, the light intensity of the environment in which the device is located is obtained as the ambient brightness through the ambient light sensor integrated in the user device. At the same time, in order to analyze the relationship between the video content and the different brightness requirements of the user when playing the video, during the video playback process of the user device, the user's brightness adjustment behavior is monitored, and the screen brightness after each user's adjustment behavior is recorded.
[0062] Consider analyzing the appropriate screen brightness relationship in combination with the brightness change of the video content, and obtain the brightness of each frame of the video image in the video. In the embodiment of the present invention, the average of all brightness of each frame of the video image in the YUV space is used as the brightness of each frame of the video image, wherein the YUV space is a color space, Y represents brightness, that is, the grayscale value of the pixel, and U and V represent color levels, that is, the color and saturation of the image. It should be noted that the brightness acquisition based on the YUV space is a technical means well known to technicians in this field, and will not be elaborated here.
[0063] S2: Obtain a video brightness characteristic value of each frame of video image according to the deviation between each frame of video image and the screen brightness, the possibility of brightness flickering of each frame of video image before and after the timing, and the intensity of brightness change of each frame of video image before the timing.
[0064] Due to the differences in the brightness conditions corresponding to the content of the video, when the ambient brightness and the screen brightness are appropriate, the darker video picture still cannot meet the user's viewing needs, or brighter video content such as flashing white light will also cause user viewing discomfort. Therefore, it is necessary to analyze the impact of the brightness of the video image to reflect the necessary degree to which the video image needs to be adjusted.
[0065] The brightness deviation of the video image, the brightness flickering in the time sequence, and the drastic change amplitude are used to comprehensively reflect the necessary degree to which the video image needs to be adjusted, and the video brightness characteristic value of each frame of the video image in the video is obtained. Preferably, in some possible implementations of the embodiments of the present invention, the method for obtaining the video brightness characteristic value can be referred to in Figure 2 , which shows a flow chart of a method for obtaining a video brightness characteristic value provided by an embodiment of the present invention, the method comprising the following steps:
[0066] S201: For any frame of video image, an ideal difference degree of the video image is obtained according to the degree of deviation between the video image and the screen brightness after the historical user brightness adjustment behavior.
[0067] The deviation between the brightness of each frame of video image and the brightness of the image expected by the user is used to reflect the user's demand for screen brightness. The larger the deviation, the greater the difference between the performance effect of the video image brightness and the ideal effect, and the greater the degree of adjustment and correction required for the video image brightness expectation. The deviation between the brightness of the video image itself and the user's ideal brightness state reflects the difference in the user's viewing experience.
[0068] Preferably, in an embodiment of the present invention, the method for obtaining the ideal difference includes:
[0069] Before the video image, the screen brightness after the most recent user brightness adjustment behavior in the time sequence is taken as the ideal brightness of the video image. The screen brightness after the user adjustment before the video image represents the ideal situation that meets the user's viewing needs at this time. The difference between the brightness of the video image and the ideal brightness is taken as the ideal difference degree of the video image.
[0070] S202: Obtain the local flicker degree of the video image according to the degree of brightness mutation between adjacent frames of the video image within a time sequence range.
[0071] Sudden changes in brightness when watching videos may cause the visual system to be unable to adapt. The faster the brightness of the video image changes within a period of time, the more severe the flickering effect on the visual effect. At this time, in order to enhance the user experience of watching videos, it is more necessary to adjust the screen brightness to reduce the discomfort caused by the flickering picture to the human eye. The greater the flicker, the greater the adjustment of the screen brightness is required. The degree of sudden change in brightness between adjacent video images in the time period reflects the impact of the flickering of the video itself on the viewing experience.
[0072] Preferably, in an embodiment of the present invention, the method for acquiring the local scintillation degree includes:
[0073] Within the preset time range of the video image, the brightness difference between every two adjacent frames of the video image is taken as the adjacent difference, and the brightness mutation degree is characterized by the brightness difference between adjacent frames. In an embodiment of the present invention, the preset time range is set to a 3-second time range centered on the video image. The specific numerical value can be adjusted by the implementer according to the specific implementation situation, and is not limited here.
[0074] When the adjacent differences are greater than the preset brightness difference threshold, it indicates that the brightness mutation degree is high, which will produce discomfort. The corresponding adjacent differences are used as flicker differences, and all flicker differences within the preset time range of the video image are combined to obtain the local flicker of the video image. In the embodiment of the present invention, the average of all flicker differences within the preset time range of the video image is used as the local flicker of the video image, and the preset brightness difference threshold is set to 70. The specific value can be adjusted by the implementer and is not limited here.
[0075] S203: Obtain the brightness fluctuation of the video image according to the brightness distribution change amplitude of the local video image in the previous time sequence of the video image.
[0076] Considering that the brightness of the video changes and the human eye takes time to adapt to the brightness, too fast or too large a change in brightness when watching a video may cause visual fatigue, affecting visual comfort and viewing experience. Therefore, when the brightness of the video changes, the screen brightness should be corrected based on the impact of the video brightness on the human eye in the previous period of time.
[0077] In the video image watched by the user, the more intense the brightness change in the previous period of time, the greater the degree of adjustment and correction of the screen brightness will be considering the adaptability of the human eye. The change amplitude of the brightness in front of the video image reflects the impact of the large change in video brightness on the user's vision.
[0078] Preferably, in an embodiment of the present invention, the method for obtaining brightness fluctuation includes:
[0079] First, the video image within a preset local time range before the video image is used as the changing image. In an embodiment of the present invention, the preset local time range is set to a 2-second time range, that is, the video image within 2 seconds before the video image is used as the changing image. The specific range setting can be adjusted by the implementer and is not limited here.
[0080] Furthermore, the length of the time period between each changed image and the video image is used as the distribution coefficient of each changed image, and the length of the time period is used as the analysis weight. For video images that are closer in time, the more important the brightness condition is in affecting the analysis.
[0081] Further according to the brightness and distribution coefficient of all changed images within a preset local time range before the video image, the local change brightness value of the video image is obtained. In an embodiment of the present invention, the product of the value obtained by negatively correlating and normalizing the distribution coefficient of each changed image and the brightness is used as the brightness influence value of each changed image. The average of the brightness influence values of all changed images within a preset local time range before the video image is used as the local change brightness value of the video image. The weighting of the brightness by the distribution coefficient reflects the overall brightness level of the video image in the previous period of time.
[0082] It should be noted that negative correlation mapping and normalization processing are both technical means well known to technical personnel in this field. Negative correlation mapping can adopt inverse proportional or negative exponential power form, and normalization processing can adopt linear normalization, etc., which are not limited or elaborated here.
[0083] Finally, the difference between the brightness of the video image and the local change brightness value is taken as the brightness fluctuation of the video image, reflecting the overall level of the local video image before the video image and the change amplitude of the video image. The greater the brightness fluctuation, the higher the need for adjustment.
[0084] S204: Combining the ideal difference, local flicker and brightness fluctuation of the video image, a video brightness characteristic value of the video image is obtained.
[0085] The brightness change characteristics of the video image in three aspects are combined to reflect the impact on the user experience, thereby indicating the necessary degree to which the corresponding brightness of the video image needs to be adjusted, providing a data basis for the brightness adjustment of subsequent video playback.
[0086] In an embodiment of the present invention, the product of the ideal difference, local flicker and brightness fluctuation of the video image is used as the video brightness characteristic value of the video image, which is combined in the form of multiplication to comprehensively reflect the necessary degree of adjustment of the video image. The larger the video brightness characteristic value, the greater the intensity with which the brightness of the video image needs to be adjusted.
[0087] S3: Based on the screen brightness after the historical user's brightness adjustment behavior, a weighted relationship fitting is performed on the ambient brightness and video brightness feature values to obtain a brightness adjustment fitting relationship under the ambient brightness.
[0088] Different users have different viewing preferences, and therefore have different brightness requirements for video content. Therefore, through the user's historical adjustment behavior, the user's brightness requirements for videos with different video brightness characteristic values under different ambient brightness are considered, and a common weighted relationship fitting is performed in combination with the ambient brightness and video brightness characteristic values to reflect the user's viewing brightness preference.
[0089] The user's expected brightness is reflected through the historical user's brightness adjustment behavior, and the video brightness characteristic value and ambient brightness at this time are analyzed, as well as the target brightness analysis fitting relationship of the screen. This achieves the optimal fitting relationship between ambient brightness and video brightness characteristic value under the user's expected target brightness, which facilitates the subsequent pre-adjustment of screen brightness based on the analyzable ambient brightness and video brightness characteristic values.
[0090] Preferably, in an embodiment of the present invention, a method for acquiring a brightness adjustment fitting relationship includes:
[0091] The preset fitting number of frames of video images after each historical user brightening behavior is used as the target image for each historical user brightening behavior, the screen brightness after each historical user brightening behavior is used as the target brightness, the video brightness feature value and the ambient brightness of the target image after each historical user brightening behavior, and the target brightness are used as the training sample set after each historical user brightening behavior, and the adjustment relationship is obtained through fitting training of historical data. In the embodiment of the present invention, the preset fitting number can be set to 200, and the specific value can be adjusted by the implementer, and is not limited here.
[0092] The particle swarm optimization algorithm is used to search the optimal fitting relationship for the training sample set after each historical user brightness adjustment behavior, and the fitting relationship after each historical user brightness adjustment behavior is output. In the embodiment of the present invention, the video brightness feature value and the ambient brightness are independent variables in the fitting relationship, the target brightness is the dependent variable, and the relationship expression is a weighted sum. As an example, the expression of the fitting relationship is:
[0093] Where, L x It is represented as the actual target brightness after the x-th historical user brightens the screen. It is represented by the target brightness after the x-th historical user brightening behavior obtained by using the fitting relationship, E x It is represented by the ambient brightness after the xth historical user brightness adjustment behavior, B x It is represented by the video brightness feature value of the target image after the x-th historical user brightening behavior, k1 is represented by the corresponding weight of the ambient brightness in the fitting relationship after the x-th historical user brightening behavior, and k2 is represented by the corresponding weight of the video brightness feature value in the fitting relationship after the x-th historical user brightening behavior. It is represented as the fitting relationship after the x-th historical user brightening behavior.
[0094] As an example, a particle swarm optimization algorithm is used, the number of particles is initialized to 30, and the particles are randomly initialized. The objective function is the minimum mean square error between the estimated target brightness and the actual target brightness, and the number of iterations is set to 100 times. For each training set after the historical user brightens the image, 80% is randomly selected for particle swarm optimization training, and the remaining 20% is used as a test. The error of the estimated target brightness for each frame of the target image is required to be within 0.1%, and the final fitting relationship after each historical user brightens the image is output. It should be noted that the particle swarm optimization algorithm is a well-known technical means for technicians in this field and will not be described in detail here.
[0095] Finally, the fitting relationship after all historical user brightness adjustment behaviors is combined to obtain the brightness adjustment fitting relationship. Preferably, in the embodiment of the present invention, the adjustment weight corresponding to the video brightness feature value is obtained by combining the corresponding weight of the video brightness feature value in the fitting relationship after each historical user brightness adjustment behavior, and the adjustment weight corresponding to the ambient brightness is obtained by combining the corresponding weight of the ambient brightness in the fitting relationship after each historical user brightness adjustment behavior, and the final weight is obtained by comprehensively analyzing the situations of all historical adjustment behaviors.
[0096] In an embodiment of the present invention, the average of the weights corresponding to the video brightness feature values after all historical users' brightening behaviors is used as the adjustment weight corresponding to the video brightness feature values, and the average of the weights corresponding to the ambient brightness after all historical users' brightening behaviors is used as the adjustment weight corresponding to the ambient brightness. They are combined in the form of an average. In other embodiments of the present invention, the time series can also be used as the weight, and the adjustment weights are obtained by weighted averaging, so that the weights of the historical users' brightening behaviors closer to the current moment are more credible.
[0097] Finally, based on the relational expression and the adjustment weights corresponding to the video brightness feature value and the ambient brightness, a brightness adjustment fitting relationship is obtained. In the embodiment of the present invention, the adjustment weights are used as the weights in the fitting relationship expression to obtain the final brightness adjustment fitting relationship, which reflects the current screen brightness adjustment relationship in combination with the environment and video content.
[0098] S4: adjusting the screen brightness of the unplayed video according to the brightness adjustment fitting relationship under the ambient brightness.
[0099] The screen brightness is adaptively adjusted during subsequent video playback based on the user's historical adjustment behavior. In an embodiment of the present invention, for videos that are not played by the user device, the adjusted screen brightness of the unplayed video is obtained by analyzing the video brightness feature values of the video image rendered and loaded in advance and the current ambient brightness based on the fitting relationship.
[0100] In an embodiment of the present invention, the adjusted screen brightness of the video image of the unplayed video is calculated at intervals of 3 seconds. The video playback duration can be used as the horizontal axis, and the adjusted screen brightness can be used as the vertical axis. The above calculated values are mapped to the coordinate plane, and the points are connected with a smooth curve to generate a screen brightness adjustment curve. The screen brightness of the unplayed video is adjusted according to the adjustment curve, and no limitation is made here.
[0101] In an embodiment of the present invention, taking into account the possible changes in the user's viewing habits, in order to ensure the timeliness and effectiveness of historical adjustment behaviors, during the adaptive adjustment process, when the number of times the user adjusts the brightness reaches a preset adjustment number, the brightness adjustment fitting relationship is re-analyzed to ensure the effectiveness of the adjustment. The preset adjustment number can be set to 7, and the specific value can be adjusted by the implementer according to the implementation scenario, and is not limited here.
[0102] In summary, considering the influence of brightness changes in the video, the brightness deviation of the video image, the brightness flickering in time sequence, and the drastic change amplitude are used to comprehensively reflect the necessary degree to which the video image needs to be adjusted, and the video brightness characteristic value of each frame of the video image is obtained. Further considering the ideal brightness requirements of the user's adjustment, a common weighted relationship fitting is performed in combination with the ambient brightness and the video brightness characteristic values, thereby considering the user's adjustment requirements for different video brightness characteristics under the ambient brightness at this time, and obtaining the brightness adjustment fitting relationship at this time, and using the fitting relationship to perform pre-adaptive screen brightness control for subsequent videos that have not been played. Through the brightness changes and adjustments of the videos played by the user, the screen brightness of the subsequent video playback is adjusted in combination with the ambient brightness, reducing the user's brightness switching to improve the user's viewing experience.
[0103] Embodiment 2:
[0104] The embodiment of the present invention provides a display screen brightness control system based on digital information processing, see Figure 3 , which shows a structural diagram of a display screen brightness control system based on digital information processing provided by an embodiment of the present invention. The system 500 includes: a data acquisition module 501, a video brightness analysis module 502, a fitting relationship analysis module 503 and a control module 504.
[0105] The data acquisition module 501 is used to acquire the ambient brightness and the screen brightness after the historical user brightness adjustment behavior during the video playback process of the user device, and to acquire the brightness of each frame of the video image in the video;
[0106] The video brightness analysis module 502 is used to obtain the video brightness characteristic value of each frame of video image according to the deviation between each frame of video image and the screen brightness, the possibility of brightness flicker of each frame of video image before and after the timing, and the intensity of brightness change of each frame of video image before the timing;
[0107] A fitting relationship analysis module 503 is used to perform weighted relationship fitting on the ambient brightness and video brightness feature values based on the screen brightness after the historical user brightness adjustment behavior, so as to obtain a brightness adjustment fitting relationship under the ambient brightness;
[0108] The control module 504 is used to control the screen brightness of the unplayed video according to the brightness adjustment fitting relationship under the ambient brightness.
[0109] It should be noted that the system provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. Since the specific implementation process of a display brightness control system based on digital information processing in this embodiment is the same as the specific implementation process of a display brightness control method based on digital information processing in the above embodiment, it will not be described in detail here.
[0110] Embodiment 3:
[0111] The present invention also provides an electronic device. Figure 4 , which shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, the electronic device 400 at least includes, but is not limited to, a memory 401, a processor 402, a network interface 403 and a system 500 that can be interconnected and communicated via a bus.
[0112] The memory 401 includes at least one type of readable storage medium, including flash memory, hard disk, read-only memory, magnetic storage, disk or optical disk, etc. In the embodiment of the present invention, the memory 401 is used to store computer program codes of the system 500 in the electronic device 400.
[0113] The processor 402 is used to control the overall operation of the electronic device 400. In the embodiment of the present invention, the processor 402 is used to run the computer program code of the system 500 stored in the memory 401 to implement the steps of the above-mentioned display screen brightness control method based on digital information processing.
[0114] The network interface 403 is used to establish a communication connection between the electronic device 400 and other electronic devices. In the embodiment of the present invention, the network interface 403 is used to connect the electronic device 400 to an external terminal through a network, establish a data transmission channel and a communication connection between the electronic device 400 and the external terminal, etc.
[0115] Embodiment 4:
[0116] The embodiment of the present invention also provides a readable storage medium, such as a flash memory, a hard disk, an optical disk or a server, etc., on which computer program instructions are stored, and the program instructions are executed by a processor to implement corresponding functions. The readable storage medium in the embodiment of the present invention is used to store computer program instructions of a display screen brightness control method based on digital information processing, and the processor executes the steps of the above-mentioned display screen brightness control method based on digital information processing.
[0117] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0118] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A display screen brightness control method based on digital information processing, characterized in that: The method comprises: During video playback on the user device, obtain the ambient brightness and the screen brightness after the user has adjusted the brightness in history, and obtain the brightness of each frame of the video image in the video; According to the deviation of each frame of video image and the screen brightness, the possibility of brightness flicker of each frame of video image before and after the timing, and the intensity of brightness change of each frame of video image before the timing, the video brightness characteristic value of each frame of video image is obtained; Based on the screen brightness after historical user brightness adjustment behavior, a weighted relationship fitting is performed on the ambient brightness and video brightness feature values to obtain a brightness adjustment fitting relationship under ambient brightness; The screen brightness of the unplayed video is adjusted according to the brightness adjustment fitting relationship under the ambient brightness.
2. The method for controlling display screen brightness based on digital information processing according to claim 1, characterized in that: The method for obtaining the video brightness characteristic value includes: For any frame of video image, the ideal difference of the video image is obtained according to the degree of deviation between the video image and the screen brightness after the historical user brightness adjustment behavior; According to the brightness mutation degree between adjacent frames of the video image within the time sequence range, the local flicker degree of the video image is obtained; Obtaining the brightness fluctuation of the video image according to the brightness distribution change amplitude of the local video image in the previous time sequence of the video image; The video brightness characteristic value of the video image is obtained by combining the ideal difference, local flicker and brightness fluctuation of the video image.
3. The display screen brightness control method based on digital information processing according to claim 2, characterized in that: The step of obtaining an ideal difference of the video image according to the degree of deviation between the video image and the screen brightness after the historical user brightness adjustment behavior includes: Before the video image, the screen brightness after the user's most recent brightness adjustment behavior in time sequence is used as the ideal brightness of the video image; The difference between the brightness of the video image and the ideal brightness is used as the ideal difference degree of the video image.
4. The method for controlling display screen brightness based on digital information processing according to claim 2, characterized in that: The method of obtaining the local flicker of the video image according to the brightness mutation degree between adjacent frames of the video image within the time sequence range includes: Within a preset time range of the video image, the brightness difference between every two adjacent frames of the video image is used as the adjacent difference; When the adjacent differences are greater than a preset brightness difference threshold, the corresponding adjacent differences are regarded as flicker differences; All flicker differences within a preset time range of the video image are combined to obtain a local flicker degree of the video image.
5. The display screen brightness control method based on digital information processing according to claim 2, characterized in that: The step of obtaining the brightness fluctuation of the video image according to the brightness distribution change amplitude of the local video image in the previous time sequence of the video image comprises: Using the video image within a preset local time range before the video image as the changed image; The length of the time period between each changed image and the video image is used as the distribution weight of each changed image; the brightness of all changed images within a preset local time range before the video image is averaged by the distribution weight to obtain the local change brightness value of the video image; The difference between the brightness of the video image and the local change brightness value is used as the brightness fluctuation of the video image.
6. The display screen brightness control method based on digital information processing according to claim 1, characterized in that: The method for obtaining the brightness adjustment fitting relationship includes: The preset fitting number of frames of video images after each historical user brightening behavior is used as the target image for each historical user brightening behavior; the screen brightness after each historical user brightening behavior is used as the target brightness; The video brightness feature value of the target image and the ambient brightness, as well as the target brightness, after each historical user brightening behavior are used as the training sample set after each historical user brightening behavior; the particle swarm optimization algorithm is used to search the optimal fitting relationship for the training sample set after each historical user brightening behavior, and the fitting relationship after each historical user brightening behavior is output; The fitting relationship after all historical users' brightness adjustment behaviors is combined to obtain the brightness adjustment fitting relationship.
7. A display screen brightness control method based on digital information processing according to claim 6, characterized in that: In the fitting relationship, the video brightness feature value and the environment brightness are independent variables, the target brightness is the dependent variable, and the relationship expression is a weighted sum.
8. The display screen brightness control method based on digital information processing according to claim 7, characterized in that: The step of combining the fitting relationship after all historical user brightness adjustment behaviors to obtain the brightness adjustment fitting relationship includes: Combine the corresponding weights of the video brightness feature values in the fitting relationship after each historical user brightness adjustment behavior to obtain the adjustment weights corresponding to the video brightness feature values; Combine the corresponding weights of the ambient brightness in the fitting relationship after each historical user brightness adjustment behavior to obtain the adjustment weights corresponding to the ambient brightness; Based on the relational expression and the adjustment weights corresponding to the video brightness feature values and the ambient brightness, a brightness adjustment fitting relationship is obtained.
9. The display screen brightness control method based on digital information processing according to claim 1, characterized in that: The step of obtaining the brightness of each frame of a video image in the video includes: The average of all brightness of each frame of video image in YUV space is used as the brightness of each frame of video image.
10. A display screen brightness control system based on digital information processing, characterized in that: include: A data acquisition module is used to obtain the ambient brightness and the screen brightness after the historical user brightness adjustment behavior during the video playback process of the user device, and obtain the brightness of each frame of the video image in the video; The video brightness analysis module is used to obtain the video brightness characteristic value of each frame of video image according to the deviation between each frame of video image and the screen brightness, the possibility of brightness flicker of each frame of video image before and after the timing, and the intensity of brightness change of each frame of video image before the timing; A fitting relationship analysis module is used to perform weighted relationship fitting on the ambient brightness and video brightness feature values based on the screen brightness after the historical user's brightness adjustment behavior, and obtain a brightness adjustment fitting relationship under the ambient brightness; The control module is used to control the screen brightness of the unplayed video according to the brightness adjustment fitting relationship under the ambient brightness.
Citation Information
Patent Citations
Screen brightness adjusting method and device, storage medium and mobile terminal
CN109951596A
Intelligent photosensitive display screen and display method
CN112863420A
Light brightness adjustment based on viewer adaptation state
CN117043812A
Method and device for adjusting brightness of terminal screen
CN117612500A
Liquid crystal display and driving method thereof
US20070296668A1
Cited By
3D video visual training method and system
CN120897046A