Display control method and device
By adjusting the configuration weight of the maximum grayscale value and the average grayscale value of the display module, the halo problem in the display module of electronic equipment is solved, and the visual experience and adaptability of the display effect are improved.
Patent Information
- Application Number
- CN202411047958.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-01
AI Technical Summary
In the display module of electronic equipment, when the backlight partition area is larger than the pixels, in the background with a grayscale value lower than the grayscale value of the displayed content, a halo will be generated around the displayed content, affecting the display effect.
By obtaining the usage information of the electronic device, the configuration weight of the maximum gray scale value and the average gray scale value of the display module is adjusted, and the backlight brightness of the display partition is dynamically adjusted to reduce the halo effect and improve the contrast.
It effectively reduces the halo around the displayed content, improves the user's visual experience, adapts to different usage scenarios and environmental conditions, and improves the adaptability of the display effect.
Smart Images

Figure CN118737072A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to but is not limited to the field of display technology, and in particular to a display control method and device. Background Art
[0002] In the related art, when the display module of an electronic device has a backlight display function and the backlight partition area is larger than the pixel point, in the background with a grayscale value lower than the grayscale value of the display content, a halo will be generated around the display content, affecting the display effect. Summary of the invention
[0003] In view of this, the embodiments of the present application at least provide a display control method and device.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides a display control method, including:
[0006] Obtaining information about the use of electronic devices;
[0007] Based on the usage information, respectively adjusting the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device to corresponding target weights;
[0008] The pixel grayscale value determined based on the target weight drives the corresponding pixel unit to output the target display content.
[0009] The present application provides a display control device, including:
[0010] An acquisition module, used to obtain usage information of the electronic device;
[0011] an adjustment module, configured to adjust the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device to corresponding target weights respectively based on the usage information;
[0012] The output module is used to drive the corresponding pixel unit to output the target display content based on the pixel grayscale value determined by the target weight.
[0013] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor can execute the computer program to implement the above-mentioned display control method.
[0014] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement the above-mentioned display control method.
[0015] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is executed in a computer device, a processor in the computer device executes some or all of the steps for implementing the above-mentioned display control method.
[0016] An embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements some or all of the steps in the above-mentioned display control method.
[0017] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1A Schematic diagram 1 of the composition of a display interface in the related art;
[0019] Figure 1B Schematic diagram 2 of the composition of a display interface in the related art;
[0020] Figure 1C A schematic diagram of display setting parameters in the related art;
[0021] Figure 1D A schematic diagram of a display control method according to an embodiment of the present application;
[0022] Figure 2A A schematic diagram of the structure of a display control system provided in an embodiment of the present application;
[0023] Figure 2B A second schematic diagram of an implementation flow of a display control method provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of a dynamically adjustable display setting parameter provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of the structure of a display control device provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0028] In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application. It should also be noted that, for ease of description, only the parts related to the relevant application are shown in the accompanying drawings.
[0029] In the related art, the grayscale value of the display partition for backlight display is determined based on the maximum and average grayscale values of all pixel units in the display partition, so as to determine the backlight brightness of the display partition. The higher the backlight brightness of the display partition, the more serious the halo effect; the lower the backlight brightness of the display partition, the lower the contrast of the display partition.
[0030] Exemplarily, the backlight brightness L of the display partition is determined v The process is shown in formula (1):
[0031] L v =L max ·X+L avg ·Y (1);
[0032] Among them, L max is the maximum grayscale value of all pixel units in the display partition, X is the configuration weight of the maximum grayscale value of all pixel units in the display partition, and L avg is the average grayscale value of all pixel units in the display partition, Y is the configuration weight of the average grayscale value of all pixel units in the display partition, and when X and Y are in percentage form, the value range is 0% to 100%, and X+Y=1.
[0033] When adjusting the backlight brightness of a display partition by adjusting the configuration weights of the maximum and average grayscale values of all pixel units in the display partition: the greater the configuration weight of the maximum grayscale value of all pixel units in the display partition, the higher the backlight brightness of the display partition and the more severe the halo effect.
[0034] like Figure 1AAs shown, in the display interface with a dark background, the display area 12 includes a white cursor 11 as display content and a halo around the cursor 11 , and the display area 13 includes a white graphic 13 as display content and a halo around the graphic 13 .
[0035] like Figure 1B As shown, in the display interface with a black background, the display area 16 includes a white graphic 15 as display content and a halo around the graphic 15 , and the display area 18 includes a white cursor 17 as display content and a halo around the cursor 17 .
[0036] In the related art, the electronic device selects a set of configuration weights of the maximum and average grayscale values of all pixel units in a fixed display partition as display setting parameters of the display partition. In order to reduce the halo effect, a parameter combination is selected in which the maximum value of the grayscale values of all pixel units is a low configuration weight and the average value of the grayscale values of all pixel units is a high configuration weight. In this way, the halo around the displayed content in the background with a grayscale value lower than the grayscale value of the displayed content can be reduced. However, in the background with a grayscale value similar to the grayscale value of the displayed content, the contrast between the displayed content and the background will also be reduced, reducing the user's visual experience.
[0037] like Figure 1C As shown, the percentages X and Y of the maximum and average grayscale values of all pixel units in the display partition are divided into 10 groups according to different size combinations, and each group corresponds to a brightness level, from level 1 to level 10. As the level number increases from low to high, the backlight brightness decreases from high to low, the percentage of the maximum grayscale value of all pixel units in the display partition decreases from high to low, the percentage of the average grayscale value of all pixel units in the display partition decreases from low to high, the halo effect decreases from severe to mild, and the contrast decreases from high to low. In order to reduce the halo effect, level 7 can be selected as the display setting parameter of the electronic device, but when the ambient light is bright and the background grayscale value is close to the grayscale value of the displayed content, the contrast between the displayed content and the background is low, and the display effect is poor.
[0038] On this basis, an embodiment of the present application provides a display control method, which can be applied to an electronic device with a display module, and can also be applied to the display module itself. Among them, the electronic device may refer to a server, a laptop, a tablet computer, a desktop computer, a display, a smart TV, a set-top box, a mobile device (such as a mobile phone, a portable video player, a personal digital assistant, a dedicated messaging device, a portable gaming device) and other devices with data processing capabilities; the display module may refer to a liquid crystal display (LCD), a light-emitting diode (LED) screen, an organic light-emitting diode (OLED) screen, a sub-millimeter light-emitting diode (Mini Light-Emitting Diode, Mini LED) screen and other display devices with backlight display function. Such as Figure 1D As shown, the display control method includes the following steps S101 to S103:
[0039] Step S101: Obtain usage information of an electronic device.
[0040] Here, the usage information of the electronic device may include but is not limited to at least one of the usage mode information of the electronic device, the usage scenario information of the electronic device, the usage environment information of the electronic device, the usage object information of the electronic device, etc.
[0041] The usage mode information of the electronic device is used to characterize the usage mode of the electronic device, and the usage mode of the electronic device may include but is not limited to at least one of the display mode and operation mode of the electronic device. In implementation, the display mode of the electronic device may be divided into a bright mode, an eye protection mode, or a dark mode according to the brightness level of the display module; the operation mode of the electronic device may be divided into a normal mode or a power saving mode according to the power management mode.
[0042] The usage scenario information of the electronic device is used to characterize the usage scenario of the electronic device. In implementation, the usage scenario of the electronic device can be divided into conference scenario, entertainment scenario, office scenario, outdoor scenario, indoor scenario, etc. according to the application category running in the electronic device or the operation parameters of the electronic device. The operation parameters of the electronic device may include but are not limited to at least one of the operation power consumption and operation duration of the electronic device.
[0043] The use environment information of the electronic device is used to characterize the use environment of the electronic device, and may include but is not limited to environmental parameters in the physical environment where the electronic device is located. In implementation, the environmental parameters may include but are not limited to at least one of ambient light brightness, ambient light color temperature, and the like.
[0044] The user information of the electronic device is used to characterize the identity of the user of the electronic device, and may include the biometrics of the user of the electronic device. In implementation, the biometrics may include but are not limited to at least one of physical features, behavioral features, and the like.
[0045] In some implementations, usage information of the electronic device may be obtained through a target application interface, and the target application interface may include an application interface for obtaining usage information of the electronic device.
[0046] For example, a target application running in an electronic device can obtain the display mode of the electronic device through an interface function. In this way, the electronic device can obtain the usage information of the electronic device using different applications in different scenarios, thereby increasing the flexibility of obtaining the usage information of the electronic device.
[0047] In some implementations, usage information of the electronic device may be obtained periodically.
[0048] For example, a target application running in an electronic device may obtain usage information of the electronic device once every preset period of time, so that the usage status and / or usage scenario of the electronic device can be monitored in real time for subsequent display adjustment.
[0049] Step S102: adjusting the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device to corresponding target weights based on the usage information.
[0050] Here, the display partition may include a backlight partition corresponding to a display module of the electronic device, may include a user-defined adjustment partition, and may also include a conditional partition determined according to display content.
[0051] For example, each backlight partition of the display module may correspond to a display partition.
[0052] For another example, the user may divide different display areas of the display module into different display partitions according to display habits.
[0053] For another example, the display partitions may be automatically divided based on the difference interval of the grayscale value difference between adjacent pixels of the display content, and adjacent pixels within the same difference interval are in the same display partition.
[0054] The maximum grayscale value may include the maximum value of the grayscale values of all pixel units in the display partition, and the average grayscale value may include the average value of the grayscale values of all pixel units in the display partition.
[0055] The pixel unit may include the smallest display unit corresponding to the pixel grayscale value, and may include a pixel point, a sub-pixel, etc. For example, the pixel unit may be a pixel point corresponding to the pixel grayscale value, or a sub-pixel obtained by decomposing the pixel point in a red-green-blue color mode (RGB).
[0056] In some implementations, the corresponding image in the display partition may be converted into a grayscale image for processing to obtain a grayscale histogram, and then based on the grayscale histogram, a maximum grayscale value and an average grayscale value may be obtained.
[0057] The configuration weight of the maximum grayscale value may include a weight ratio of the maximum grayscale value, that is, a percentage parameter of the maximum grayscale value.
[0058] The configuration weight of the average grayscale value may include a weight ratio of the average grayscale value, that is, a percentage parameter of the average grayscale value.
[0059] The target weight may include a preset configuration weight X of a maximum grayscale value in the display partition and a configuration weight Y of an average grayscale value.
[0060] In some implementations, multiple combinations of configuration weights X of maximum grayscale values and configuration weights Y of average grayscale values may be preset, and then based on different usage information, the configuration weight combination corresponding to the usage information may be selected. In this way, the display parameters may be flexibly adjusted according to different user needs to improve the display effect.
[0061] In some embodiments, the target weight can be transmitted to the display processing component of the display module through a bidirectional two-wire synchronous serial bus (Inter-Integrated Circuit, I2C), so that the display processing component adjusts the display effect based on the target weight. The display processing component may include but is not limited to a logic board (Tcon), a display controller (Scalar), etc.
[0062] In some implementations, the display processing component of the display module can obtain usage information of the electronic device and perform self-adjustment.
[0063] Step S103: driving the corresponding pixel unit based on the pixel grayscale value determined based on the target weight to output the target display content.
[0064] Here, the target display content may include display content that needs to be output by the electronic device.
[0065] The pixel grayscale value may include a grayscale value corresponding to a pixel unit of the display partition corresponding to the target weight.
[0066] In some embodiments, the pixel grayscale value of each sub-pixel of each pixel point in each display partition can be determined based on the configuration weight of the maximum grayscale value of each display partition and the configuration weight of the average grayscale value; the pixel driving current of the pixel driving circuit is determined to drive the pixel unit connected to the pixel driving circuit to display the target display content. The magnitude of the pixel driving current determines the magnitude of the pixel display brightness.
[0067] In some implementations, the color temperature of the target display content may be adjusted before the target display content is output.
[0068] For example, when the ambient light brightness is high and the gray scale of the target display content is high, the color temperature of the target display content can be reduced, so as to reduce the possibility of discomfort caused by high brightness when the user views the target display content.
[0069] In the embodiment of the present application, the usage information of the electronic device is obtained, and the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device are adjusted to the target weight based on the usage information, and then the pixel grayscale value determined based on the target weight is used to drive the corresponding pixel unit to output the target display content. In this way, the display effect of the display module of the electronic device can be adjusted in real time and dynamically in different scenarios where the user uses the electronic device, the halo around the display content is weakened, and the user's visual experience is improved.
[0070] In some embodiments, the above step S101 may include at least one of the following steps S111 to S114:
[0071] Step S111: obtaining display mode information of a display module of an electronic device through a first interface function.
[0072] Here, the first interface function may include an interface function for controlling the display mode of the display module. For example, the first interface function may be a function for specifying whether the display module uses a dark mode (AppsUseLightTheme).
[0073] The display mode information may include the display mode of the display module. The display mode may include but is not limited to dark mode, light mode, night mode, eye protection mode, ambient color adaptation mode, etc.
[0074] For example, according to the interface background color in the display interface, the mode with a black or dark background can be determined as the dark mode, and the mode with a white or light background can be determined as the light mode. The dark mode and the light mode can be applied to the operating system of the electronic device, the applications built into the electronic device, and the third-party applications that support the dark mode and the light mode. The grayscale value corresponding to the dark color in the dark mode is less than the grayscale value corresponding to the light color in the light mode.
[0075] For another example, a display mode in which the display brightness does not exceed a preset brightness threshold can be used as a night mode. In the case of low ambient light such as at night, the display module is in night mode to reduce the light difference between the user and the environment when using the electronic device.
[0076] For another example, a display mode in which the color temperature does not exceed a color temperature threshold may be determined as an eye protection mode.
[0077] Step S112: obtaining usage environment information of the electronic device through a first sensor set, where the first sensor set includes at least one sensor capable of obtaining environmental data of the spatial environment in which the electronic device is located.
[0078] Here, the use environment information may include but is not limited to at least one of environment brightness, environment color temperature, environment image, etc.
[0079] Sensors for environmental data may include devices that can sense and measure environmental parameters, and may include but are not limited to at least one of light sensing elements, image sensors, cameras, color thermometers, etc. These sensors may be provided on the electronic device body or on other electronic devices.
[0080] For example, the ambient light intensity can be acquired through the photodiode in a laptop computer.
[0081] For another example, the ambient color temperature can be obtained through a smart device connected to an RGB camera.
[0082] Step S113: obtaining information about a user of the electronic device through a second sensor, where the second sensor set includes at least one sensor capable of obtaining biometric data of a user of the electronic device.
[0083] Here, the biometric data may be data corresponding to the biometrics, and may include but not limited to data corresponding to physical features, data corresponding to behavioral features, etc. Physical features may include but not limited to at least one of fingerprints, irises, facial features, etc., and behavioral features may include but not limited to at least one of gait, voiceprint, signature, etc.
[0084] Sensors for biometric data may include, but are not limited to, at least one of a camera, an image sensor, a fingerprint sensor, a palm print sensor, an iris sensor, a sound sensor, etc. These sensors may be provided on the electronic device body or on other electronic devices.
[0085] In some embodiments, the identity of the user of the electronic device can be obtained based on the user information; based on the identity of the user, the configuration weight can be adjusted according to the user's portrait information. The user's portrait information can include the user's display habits or display preferences.
[0086] For example, the fingerprint of the mobile phone user can be collected through the fingerprint sensor in the mobile phone, and the identity information of the user can be identified. After the identity of the user is determined, the display brightness of the mobile phone is adjusted to the display brightness range that the user often uses, is accustomed to using, or prefers to use.
[0087] For another example, the voiceprint of the desktop computer user can be collected through a microphone connected to the desktop computer, and the identity information of the user can be identified. After the identity of the user is determined, the color temperature of the desktop computer is adjusted to the color temperature range commonly used by the user.
[0088] Step S114: Determine the usage scenario of the electronic device through the operation data of the electronic device obtained by the second interface function.
[0089] Here, the second interface function may include an interface function for acquiring operation data of the electronic device.
[0090] The operation data of the electronic device may include the category of applications running in the electronic device or the operation parameters of the electronic device.
[0091] For example, when the applications running on the electronic device include work-related applications such as conference applications and document processing applications, the use scenario of the electronic device can be determined as a conference scenario, an office scenario, etc. At this time, the configuration weight of the maximum grayscale value and the configuration weight of the average grayscale value in at least one display partition of the display module can be adjusted to a target weight for increasing the brightness of the display module, so as to improve the visual experience of the user during office work.
[0092] For another example, when the applications running on the electronic device include a game application and the running time of the electronic device exceeds a preset time, the use scenario of the electronic device is determined to be a game scenario. At this time, the configuration weight of the maximum grayscale value and the configuration weight of the average grayscale value in at least one display partition of the display module can be adjusted to the corresponding weight of the display module brightness commonly used by the user when playing games, so as to improve the visual experience of the user during the game.
[0093] In the embodiment of the present application, the usage information of different types of electronic devices can be obtained in a variety of ways. In this way, the adaptability of display setting parameters to scenes can be improved in different situations according to user needs and / or device limitations, and the accuracy of adjusting the display effect can be further improved.
[0094] In some embodiments, the above step S102 may include the following steps S121 to S122:
[0095] Step S121: determining a target display partition to be adjusted from at least one display partition of the display module.
[0096] Here, the part of the display partitions to be adjusted may be determined from all the display partitions.
[0097] In some embodiments, the target display partition can be determined based on the difference in pixel grayscale values between adjacent display partitions, or based on the color and brightness differences of the displayed content, or based on a hole-punch area or an area with low pixel density in the electronic device.
[0098] For example, two adjacent display partitions whose pixel grayscale value difference exceeds a difference threshold can be determined as a high brightness partition and a low brightness partition, all high brightness partitions of the display module constitute a high brightness area, and all low brightness partitions of the display module constitute a low brightness area. Based on the usage information of the electronic device, the high brightness area or the low brightness area can be determined as the target display partition, thereby further reducing or increasing the display brightness of the target display partition.
[0099] For another example, the color distribution of the display content of the current frame can be obtained, and the display partition whose contrast difference exceeds the difference threshold among all display partitions can be determined as the target display partition. Based on the usage information of the electronic device, the configuration weight of the maximum grayscale value and the average grayscale value of the target display partition can be adjusted to further improve the contrast of the target display partition and better display the part with larger contrast in the display content.
[0100] For another example, a region with lower pixel count in a display module of an electronic device may be determined as a target display partition. By increasing the display brightness, the display effect of the region with lower pixel count may be improved, thereby reducing the visual impact of the low pixel count.
[0101] Step S122: adjusting the configuration weights of the maximum grayscale value and the average grayscale value in the target display partition to corresponding target weights based on the usage information.
[0102] In some implementations, different target weights may be determined according to different usage information; based on the determined target weights, the configuration weight of the maximum grayscale value and the configuration weight of the average grayscale value in the target display partition are adjusted.
[0103] For example, when the ambient light is bright, the configuration weights of the maximum grayscale value and the average grayscale value for improving the brightness of the target display content may be determined as the target weights corresponding to the maximum grayscale value and the average grayscale value.
[0104] For another example, when the display mode of the electronic device is a dark mode, the configuration weights of the maximum grayscale value and the average grayscale value for reducing the brightness of the target display content may be determined as the target weights corresponding to the maximum grayscale value and the average grayscale value.
[0105] In the embodiment of the present application, the target display partition to be adjusted is determined from at least one display partition of the display module, and the configuration weight of the maximum grayscale value and the configuration weight of the average grayscale value in the target display partition are adjusted to the corresponding target weights based on the usage information. In this way, the overall display effect of the target display content can be flexibly adjusted according to the different display partitions to be adjusted.
[0106] In some embodiments, the step of determining the target display partition to be adjusted in the step S121 may include at least one of the following steps S131 to S132:
[0107] Step S131 : determining a target display partition to be adjusted based on the pixel grayscale value corresponding to the target display content to be output.
[0108] Here, the pixel grayscale value corresponding to the target display content may include the grayscale value of the pixel corresponding to the target display content, and may also include the grayscale value of the sub-pixel of the pixel corresponding to the target display content.
[0109] In some implementations, when the difference between the pixel grayscale value corresponding to the target display content and the pixel grayscale value corresponding to the non-target display content exceeds a difference threshold, the area corresponding to the target display content may be determined as the target display partition.
[0110] In some embodiments, the pixel grayscale value of the display partition corresponding to the target display content can be obtained based on the pixel grayscale value corresponding to the target display content; when the difference between the pixel grayscale value of the display partition corresponding to the target display content and the pixel grayscale value of the display partition corresponding to the non-target display content exceeds a difference threshold, the display partition corresponding to the target display content is determined as the target display partition.
[0111] For example, when the pixel grayscale value corresponding to the target display content is 200 and the pixel grayscale value corresponding to the non-target display content is 20, the display brightness corresponding to the target display content is much greater than the display brightness corresponding to the non-target display content, and the possibility of generating halo is high. It can be set that when the difference between the pixel grayscale value corresponding to the target display content and the pixel grayscale value corresponding to the non-target display content exceeds 100, the area corresponding to the target display content is determined as the target display partition. In this way, the backlight brightness of the target display content can be reduced by adjusting the configuration weight of the maximum grayscale value and the configuration weight of the average grayscale value of the area corresponding to the target display content, thereby reducing the impact of halo.
[0112] For another example, when the pixel grayscale value of the display partition corresponding to the target display content is 200 and the pixel grayscale value of the display partition corresponding to the non-target display content is 160, the brightness of the display partition corresponding to the target display content is less than that of the display partition corresponding to the non-target display content, and the contrast is low. It can be set that when the difference between the pixel grayscale value of the display partition corresponding to the target display content and the pixel grayscale value of the display partition corresponding to the non-target display content is less than 50, the display partition corresponding to the target display content is determined as the target display partition. In this way, the backlight brightness of the target display partition can be increased by adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the display partition corresponding to the target display content, thereby increasing the contrast and better displaying the target display content.
[0113] Step S132 , comparing the pixel grayscale values of each display partition of the display module with its adjacent partitions, and determining the display partition whose pixel grayscale value difference is within the target threshold range as the target display partition to be adjusted.
[0114] Here, the target threshold range may include one of not less than the maximum difference threshold, not greater than the minimum difference threshold, not less than the minimum difference threshold and not greater than the maximum difference threshold, and the target threshold range is between 0 and 255.
[0115] In some implementations, the target threshold range may include different value ranges determined according to different usage scenarios of the electronic device.
[0116] For example, when the display mode of the electronic device is a dark mode, the target threshold range may be greater than 200.
[0117] For another example, when the display mode of the electronic device is light mode, the target threshold range may be less than 50.
[0118] In the embodiment of the present application, the target display partition to be adjusted is determined based on the pixel grayscale value corresponding to the target display content and / or the difference between the pixel grayscale values of each display partition of the display module and its adjacent partition. In this way, the halo around the target display content can be more accurately reduced or the contrast can be increased according to different scenes to better display the target display content.
[0119] In some embodiments, the step of determining the target display partition to be adjusted in the step S121 may include at least one of the following steps S141 to S143:
[0120] Step S141: Based on the grayscale histogram of the target image to be output, a region where pixels whose grayscale values are within a first threshold range are located is determined as a target display partition to be adjusted, and the target image is used to carry the target display content to be output.
[0121] Here, the target image may include an image of the target display content itself, or may include an image obtained based on the target display content. For example, an image obtained by adding a background to the target display content may be used as the target image.
[0122] The first threshold range may include grayscale values corresponding to white or light colors, or may be a preset grayscale value range.
[0123] In some implementations, a pixel point region corresponding to white or light-colored fonts and / or patterns may be determined through a grayscale histogram, and the pixel point region may be determined as a target display partition.
[0124] For example, the display area of the white cursor on the computer screen can be determined by the grayscale histogram, and the area can be determined as the target display partition. In this way, the backlight brightness of the area can be reduced by adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the area, thereby reducing the halo around the cursor on the computer screen under non-white background.
[0125] Step S142: determining a region in the display module where the pixel density is within a second threshold range as a target display partition to be adjusted.
[0126] Here, the second threshold range may include a pixel density value range that is less than a minimum density threshold of the pixel density.
[0127] The area where the pixel density is within the second threshold range may include but is not limited to at least one of a camera area covered by the display component, an area for identifying fingerprints in the display component, etc. The camera area covered by the display component corresponds to the hole area in the above embodiment.
[0128] For example, the punch hole area in the mobile phone screen can be determined as the target display partition. In this way, the display effect of the mobile phone can be improved by increasing the display brightness of the punch hole area in the mobile phone screen.
[0129] Step S143: determine the area where the target pixel points among the pixel points corresponding to the target display content are located as the target display partition to be adjusted.
[0130] Here, the target pixel point may include at least one pixel point of the target display content to be adjusted in the display interface.
[0131] In some embodiments, the pixel points with high grayscale values and the pixel points with low grayscale values among the pixels corresponding to the target display content can be distinguished by counting the distribution of the percentages of the pixel points with each grayscale value corresponding to the target display content, so that the target display partition to be adjusted can be further determined based on the backlight partition size and the area where the high grayscale value pixels are located.
[0132] In the embodiment of the present application, the target display partition to be adjusted is determined according to the target image, the pixel density of the display module, and / or the target pixel points in the pixel points corresponding to the target display content. In this way, the partition to be adjusted can be flexibly selected according to different scenes and / or display requirements, further improving the display effect of the target display content.
[0133] In some embodiments, the above step S122 may include at least one of the following steps S151 to S153:
[0134] Step S151: adjusting the configuration weights of the maximum grayscale value and the average grayscale value of each pixel in the target display partition to corresponding target weights based on the display mode and usage environment information of the electronic device.
[0135] In some implementations, the configuration weights of the maximum grayscale value and the average grayscale value of each sub-pixel of each pixel point in the target display partition may be adjusted to the corresponding target weights, respectively.
[0136] In some implementations, the configuration weights of the maximum grayscale value and the average grayscale value of each pixel in the target display partition may be adjusted based on the display mode of the electronic device and parameters such as ambient brightness and ambient color temperature.
[0137] For example, when the display mode of the electronic device is a dark mode, the weight ratio of the maximum grayscale value and the average grayscale value of each pixel in the target display partition can be adjusted in combination with the ambient brightness to reduce halo.
[0138] For another example, when the display mode of the electronic device is a light color mode, the weight ratio of the maximum grayscale value and the average grayscale value of each pixel in the target display partition can be adjusted in combination with the ambient brightness to increase the contrast.
[0139] Step S152: Based on the user information of the electronic device, the configuration weights of the maximum brightness value and the average brightness value of each pixel in the target display partition are adjusted to the corresponding target weights.
[0140] In some embodiments, the configuration weights of the maximum grayscale value and the average grayscale value of each pixel in the target display partition can be adjusted based on the display mode of the electronic device and parameters such as ambient brightness and ambient color temperature as well as object information.
[0141] For example, you can select a brightness mode commonly used by the user from all brightness modes of the electronic device, obtain the target weights of the maximum brightness value and average brightness value of each pixel in the target display partition under the brightness mode commonly used by the user, and adjust them to output the final target display content.
[0142] For example, among all brightness modes of the electronic device, the brightness mode used by the user under the same ambient color temperature at historical moments can be selected according to the current ambient color temperature, and the target weights of the maximum brightness value and the average brightness value of each pixel in the target display partition under the brightness mode can be obtained, and adjustments can be made to output the final target display content.
[0143] Step S153: adjusting the configuration weights of the maximum brightness value and the average brightness value of each pixel in the target display partition to corresponding target weights based on the usage scenario of the electronic device.
[0144] Here, when the electronic device is in different usage scenarios, each pixel point in the display partition can be configured with a weight combination corresponding to different maximum brightness values and average brightness values.
[0145] In some embodiments, a mapping relationship table of different usage scenarios and configuration weight combinations of maximum brightness values and average brightness values in display partitions can be created, and the electronic device can adjust the configuration weights of the maximum brightness values and average brightness values of each pixel in the target display partition based on the mapping relationship table in different scenarios.
[0146] For example, a mapping relationship table can be created to set the weight ratio of the maximum brightness value and the average brightness value in the display partition in outdoor scenes to 87.5% and 12.5% respectively, and set the weight ratio of the maximum brightness value and the average brightness value in the display partition in indoor audio-visual scenes such as watching movies to 62.5% and 37.5% respectively. In this way, in the case of high ambient light brightness such as outdoor scenes, the contrast of the displayed content can be improved, and in the case of low ambient light brightness such as audio-visual scenes, the effect of halo can be reduced, thereby improving the display effect in different scenes.
[0147] In the embodiment of the present application, different adjustment methods of target weights are selected according to different types of usage information. In this way, the adjusted display effect can be flexibly selected according to different scenes and / or display requirements to improve the user's visual experience.
[0148] In some embodiments, the above step S151 may include at least one of the following steps S161 to S166:
[0149] Step S161: When the electronic device is in the first display mode and the current environment has a first ambient brightness, configure the maximum brightness of each pixel in the target display partition to have a first weight value, and the average brightness of each pixel to have a second weight value, and the first weight value is less than the second weight value.
[0150] Here, the first display mode may include a display mode in which the proportion of pixels with low grayscale values in the display interface is greater than the proportion of pixels with high grayscale values, and the first ambient brightness may be a lower ambient brightness. For example, the first ambient brightness may include an ambient brightness with a brightness value less than a minimum ambient brightness threshold.
[0151] The maximum brightness of each pixel in the target display partition may include the maximum grayscale value of each pixel in the target display partition, and the average brightness of each pixel in the target display partition may include the average grayscale value of each pixel in the target display partition.
[0152] For example, when the first display mode is the dark mode, the minimum ambient brightness threshold is 300 lux, and the first ambient brightness is 175 lux, the first weight value may be 25% and the second weight value may be 75%. In this way, the halo effect of the displayed content in the dark mode can be reduced by reducing the backlight brightness.
[0153] Step S162: When the electronic device is in the second display mode and the current environment has a second ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a third weight value, and the average brightness of each pixel has a fourth weight value, and the third weight value is greater than the fourth weight value.
[0154] Here, the second display mode may include a display mode in which the proportion of pixels with low grayscale values in the display interface is not greater than the proportion of pixels with high grayscale values, and the second ambient brightness may be a higher ambient brightness. For example, the second ambient brightness may include an ambient brightness with a brightness value greater than a maximum ambient brightness threshold.
[0155] For example, when the second display mode is the light color mode, the maximum ambient brightness threshold is 200 lux, and the second ambient brightness is 250 lux, the third weight value may be 75%, and the fourth weight value may be 25%. In this way, the contrast in the light color mode may be improved by increasing the backlight brightness.
[0156] Step S163: When the electronic device is in the third display mode and the current environment has the first ambient color temperature, the maximum brightness of each pixel in the target display partition is configured to have a fifth weight value, the average brightness of each pixel has a sixth weight value, and the fifth weight value is greater than the sixth weight value.
[0157] Here, the third display mode may include a mode with a lower color temperature, and the first ambient color temperature may include a color temperature having a color temperature value less than a minimum color temperature threshold.
[0158] For example, when the third display mode is the eye protection mode, the minimum color temperature threshold is 4500 Kelvin, and the first ambient color temperature is 3000 Kelvin, it is judged that the user uses the electronic device under warm lighting, and the first weight value can be 12.5%, and the second weight value can be 87.5%. In this way, the display effect can be softer by reducing the backlight brightness, thereby improving the user's visual experience.
[0159] Step S164: when the electronic device is in the first display mode and the current environment has a second ambient brightness, configure the maximum brightness of each pixel in the target display partition to have a seventh weight value, and the average brightness of each pixel to have an eighth weight value, and the seventh weight value is the same as or different from the eighth weight value.
[0160] Here, when the electronic device is in a display mode in which the proportion of pixels with low grayscale values in the display interface is greater than the proportion of pixels with high grayscale values, and the ambient brightness value of the current environment is high, the impact of the halo effect will be weakened, and the configuration weights of the maximum grayscale value and the average grayscale value of each pixel in the target display partition can be adjusted to be the same or different.
[0161] Exemplarily, when the first display mode is the dark mode, the maximum ambient brightness threshold is 300 lux, and the second ambient brightness is 350 lux, the seventh weight value can be set to 50% and the eighth weight value can be set to 50%.
[0162] When the seventh weight value is set to 62.5% and the eighth weight value is set to 37.5%, the contrast ratio can be improved by increasing the backlight brightness.
[0163] When the seventh weight value is set to 25% and the eighth weight value is set to 75%, the backlight brightness can be reduced to reduce power consumption and save power consumption of the electronic device.
[0164] Step S165: When the electronic device is in the second display mode and the current environment has the first ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a ninth weight value, and the average brightness of each pixel has a tenth weight value, and the ninth weight value is the same as or different from the tenth weight value.
[0165] Here, when the electronic device is in a display mode in which the proportion of pixels with low grayscale values in the display interface is not greater than the proportion of pixels with high grayscale values, and the ambient brightness value of the current environment is low, the impact of the halo effect will be weakened, and the configuration weight of the maximum grayscale value of each pixel in the target display partition and the configuration weight of the average grayscale value can be adjusted to be the same or different.
[0166] Exemplarily, when the second display mode is the light color mode, the minimum ambient brightness threshold is 100 lux, and the first ambient brightness is 50 lux, the ninth weight value may be set to 50% and the tenth weight value may be set to 50%.
[0167] When the seventh weight value is set to 25% and the eighth weight value is set to 75%, the backlight brightness can be reduced. In this way, on the one hand, power consumption can be reduced and the power consumption of electronic devices can be saved; on the other hand, the display brightness of electronic devices can be made more suitable for the current environment, reducing the possibility of discomfort caused by high brightness when users use electronic devices, and improving the display effect.
[0168] Step S166: When the electronic device is in the third display mode and the current environment has a second ambient color temperature, the maximum brightness of each pixel in the target display partition is configured to have an eleventh weight value, and the average brightness of each pixel has a twelfth weight value, and the eleventh weight value is less than the twelfth weight value.
[0169] For example, when the third display mode is the eye protection mode, the highest color temperature threshold is 6000 Kelvin, and the second ambient color temperature is 7000 Kelvin, it is judged that the user is using the electronic device under cold lighting, and the first weight value can be 12.5% and the second weight value can be 87.5%. In this way, the display effect can be softer by reducing the backlight brightness, thereby improving the user's visual experience.
[0170] In the embodiment of the present application, the weight values of the maximum brightness and average brightness of each pixel in the target display partition are adjusted in combination with the display mode and usage environment information of the electronic device. In this way, the display effect of the electronic device after adjustment can be more adaptable to different needs or scenes, further improving the user's visual experience.
[0171] In some implementations, the display control method may further include at least one of the following steps S171 to S172:
[0172] Step S171: obtaining power information of the electronic device, and adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition based on the power information and the usage information.
[0173] Here, the power information may include but is not limited to at least one of whether a power source is connected, battery life information, and the like.
[0174] In some implementations, the electronic device may determine whether to perform a power saving operation by acquiring power information, wherein the power saving operation may include reducing the backlight brightness.
[0175] For example, when power saving operation is required, in the process of selecting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition based on usage information, the configuration weight of the maximum grayscale value of the target display partition can be made smaller than the configuration weight of the average grayscale value of the target display partition.
[0176] Step S172: obtaining attribute parameters of the auxiliary display structure of the display module, and adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition based on the attribute parameters and the usage information.
[0177] Here, the auxiliary display structure may include a structure related to the output display content, which may be a structure in the display module or a structure outside the display module. For example, the auxiliary display structure may include but is not limited to a privacy film, an electrochromic glass, a tempered film, and the like.
[0178] The attribute parameter of the auxiliary display structure may include at least one attribute parameter of the auxiliary display structure related to the display function. For example, the attribute parameter may include but is not limited to transmittance, color, etc.
[0179] In some embodiments, the electronic device may determine whether to increase or decrease the backlight brightness based on the light transmittance of the auxiliary display structure.
[0180] For example, when the light transmittance of the mobile phone privacy film is 70%, in the process of selecting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition based on the usage information, the configuration weight of the maximum grayscale value of the target display partition can be made greater than the configuration weight of the average grayscale value of the target display partition. In this way, the brightness of the content displayed through the privacy film can be made closer to the brightness of the content displayed directly on the mobile phone screen, improving the display effect.
[0181] In the embodiment of the present application, the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition are adjusted based on the power information of the electronic device and / or the attribute parameters of the auxiliary display structure of the display module and the usage information. In this way, the display effect can be adjusted by adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition under different usage scenarios and / or display structures of the electronic device, thereby further improving the user's visual experience.
[0182] In some implementations, the above step S103 may include the following steps S181 to S182:
[0183] Step S181 : calculating the pixel grayscale value of each pixel point of the target display partition based on the target weights corresponding to the maximum grayscale value and the average grayscale value respectively.
[0184] Exemplarily, the grayscale value L of each pixel point in the target display partition is determined wThe process is shown in formula (2):
[0185] L w =L max′ ·P+L avg′ ·Q (2);
[0186] Among them, L max′ is the maximum value of the pixel grayscale value of all pixels in the target display partition, P is the configuration weight of the maximum value of the pixel grayscale value of all pixels in the target display partition, and L avg′ is the average grayscale value of all pixels in the target display partition, Q is the configuration weight of the average grayscale value of all pixels in the target display partition, and when P and Q are in percentage form, the value range is 0% to 100%, and P+Q=1.
[0187] Step S182: convert the pixel grayscale value into a driving current or a driving voltage and provide it to the pixel driving circuit of the display module to drive the corresponding pixel unit to output the target display content.
[0188] Here, according to the different types of input data signals, the pixel driving circuit of the display module can be divided into a voltage driving circuit and a current driving circuit. The voltage driving circuit drives the pixel unit to output the target display content with a voltage signal, and the current driving circuit drives the pixel unit to output the target display content with a current signal.
[0189] In the embodiment of the present application, the pixel grayscale value of each pixel point of the target display partition is calculated based on the target weights corresponding to the maximum grayscale value and the average grayscale value, and then the pixel grayscale value is converted into a driving current or a driving voltage, and the corresponding pixel unit is driven by the pixel driving circuit to output the target display content. In this way, the display effect of the target display content can be flexibly adjusted based on the pixel grayscale value by controlling the size of the electrical signal.
[0190] The present application embodiment provides a display control system, such as Figure 2A As shown, the display control system 200 includes a target application 210, a display module 220 and a light sensing element 230. The target application 210 is used to obtain the display mode of the electronic device, obtain the collected data of the light sensing element 230, and adjust the display effect of the display module 220 based on the collected data of the light sensing element 230 and the display mode of the electronic device; the display module 220 is used to display the target display content; the light sensing element 230 is used to detect ambient light and collect ambient light information, and the ambient light information corresponds to the use environment information in the above-mentioned display control method. The display module 220 can also be used to obtain the collected data of the light sensing element 230 and adjust the display effect based on the collected data of the light sensing element 230.
[0191] Based on the display control system 200 provided in the above embodiment, the present application embodiment provides a display control method, which can be applied to electronic devices with Mini LED screens. Figure 2B As shown, the method includes the following steps S201 to S204:
[0192] Step S201: The target application periodically obtains the display mode of the electronic device through the first interface function.
[0193] Here, the Mini LED screen corresponds to the display module in the above-mentioned display control system.
[0194] The target application may include an application that can implement the display control method in the embodiment of the present application. It may be an application specifically used to adjust the display effect of the display module, or it may be other applications with the function of adjusting the display effect of the display module, such as music applications, file editing applications, etc. The embodiment of the present application is not limited to this.
[0195] Step S202: The target application accesses the light sensing element to obtain ambient light information.
[0196] Here, the light sensing element may be an element integrated in the display module, or may be an element connected to the electronic device.
[0197] The ambient light information may include but is not limited to at least one of ambient brightness, ambient color temperature, etc.
[0198] Step S203: The target application selects target weights of the maximum grayscale value and the average grayscale value in at least one display partition of the Mini LED screen based on the display mode of the electronic device and the ambient light information, and sends them to the display processing component of the Mini LED screen.
[0199] During implementation, the target application can select the target weights of the maximum grayscale value and the average grayscale value in at least one backlight partition of the Mini LED screen based on the display mode of the electronic device and the ambient light information.
[0200] During implementation, the target application can determine the target weights of the maximum grayscale value and the average grayscale value in at least one backlight partition of the Mini LED screen, and then transmit the target weights to the Tcon of the Mini LED screen via I2C, and adjust the display effect of the Mini LED screen via Tcon.
[0201] Step S204: The display processing component of the Mini LED screen adjusts the display effect.
[0202] Here, the display processing component of the Mini LED screen can use the pixel grayscale value determined based on the target weight to drive the corresponding pixel unit to output the target display content.
[0203] like Figure 3 As shown, the maximum value and the average value percentage P and Q of the grayscale value of all pixel units in the display partition are divided into 10 groups according to different size combinations, and each group corresponds to a brightness level, from level 1 to level 10. As the level number increases from low to high, the backlight brightness increases from high to low, the percentage of the maximum value of the grayscale value of all pixel units in the display partition increases from high to low, the percentage of the average value of the grayscale value of all pixel units in the display partition increases from low to high, the halo effect increases from severe to mild, and the contrast decreases from high to low.
[0204] Using a smaller P and a larger Q in darker ambient light and dark mode can reduce the halo effect. Using a larger P and a smaller Q in brighter ambient light and light mode can increase the contrast and further increase the visual impact. By dynamically adjusting the display setting parameters, the advantages of the Mini LED screen can be brought into play and a good display effect can always be maintained.
[0205] During implementation, the Mini LED screen can access the photosensitive element through Tcon, and perform self-adjustment after obtaining the ambient light information collected by the photosensitive element.
[0206] In the embodiment of the present application, the use information and ambient light information of the electronic device are obtained through the target application, the target weights of the maximum grayscale value and the average grayscale value in at least one display partition of the Mini LED screen are selected, and sent to the display processing component of the Mini LED screen, so that the display processing component adjusts the display effect. In this way, the display effect of the Mini LED screen can be dynamically adjusted according to the display content and / or the use information of the electronic device in different scenarios where the user uses the electronic device, thereby improving the user's visual experience.
[0207] The present application provides a display control device, which is applied to electronic equipment, such as Figure 4 As shown, the display control device 400 includes:
[0208] An acquisition module 401 is used to obtain usage information of the electronic device;
[0209] An adjustment module 402, configured to adjust the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device to corresponding target weights respectively based on the usage information;
[0210] The output module 403 is used to drive the corresponding pixel unit to output the target display content based on the pixel grayscale value determined by the target weight.
[0211] In some embodiments, the acquisition module, the adjustment module and the output module can all be implemented by the display processing component of the aforementioned display module.
[0212] In some embodiments, the acquisition module can also be used for at least one of the following: obtaining display mode information of a display module of an electronic device through a first interface function; obtaining usage environment information of the electronic device through a first sensor set, the first sensor set including at least one sensor that can obtain environmental data of the spatial environment in which the electronic device is located; obtaining usage object information of the electronic device through a second sensor, the second sensor set including at least one sensor that can obtain biometric data of the user of the electronic device; determining the usage scenario of the electronic device based on the operating data of the electronic device obtained through the second interface function.
[0213] In some embodiments, the adjustment module can also be used to: determine the target display partition to be adjusted from at least one display partition of the display module; and adjust the configuration weights of the maximum grayscale value and the average grayscale value in the target display partition to the corresponding target weights based on the usage information.
[0214] In some embodiments, the adjustment module can also be used for at least one of the following: determining the target display partition to be adjusted based on the pixel grayscale value corresponding to the target display content to be output; comparing the pixel grayscale values of each display partition of the display module with its adjacent partitions, and determining the display partition whose difference between the pixel grayscale values is within the target threshold range as the target display partition to be adjusted.
[0215] In some embodiments, the adjustment module can also be used for at least one of the following: based on the grayscale histogram of the target image to be output, determining the area where the pixels whose grayscale values are within the first threshold range are located as the target display partition to be adjusted, wherein the target image is used to carry the target display content to be output; determining the area in the display module where the pixel density is within the second threshold range as the target display partition to be adjusted; determining the area where the target pixels among the pixels corresponding to the target display content are located as the target display partition to be adjusted.
[0216] In some embodiments, the adjustment module can also be used for at least one of the following: adjusting the configuration weights of the maximum grayscale value and the average grayscale value of each pixel in the target display partition to the corresponding target weights based on the display mode and usage environment information of the electronic device; adjusting the configuration weights of the maximum brightness value and the average brightness value of each pixel in the target display partition to the corresponding target weights based on the usage object information of the electronic device; adjusting the configuration weights of the maximum brightness value and the average brightness value of each pixel in the target display partition to the corresponding target weights based on the usage scenario of the electronic device.
[0217] In some embodiments, the adjustment module may also be used for at least one of the following:
[0218] When the electronic device is in the first display mode and the current environment has a first ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a first weight value, and the average brightness of each pixel has a second weight value, and the first weight value is less than the second weight value;
[0219] When the electronic device is in the second display mode and the current environment has a second ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a third weight value, and the average brightness of each pixel has a fourth weight value, and the third weight value is greater than the fourth weight value;
[0220] When the electronic device is in the third display mode and the current environment has the first ambient color temperature, the maximum brightness of each pixel in the target display partition is configured to have a fifth weight value, and the average brightness of each pixel has a sixth weight value, and the fifth weight value is greater than the sixth weight value;
[0221] When the electronic device is in the first display mode and the current environment has a second ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a seventh weight value, and the average brightness of each pixel has an eighth weight value, and the seventh weight value is the same as or different from the eighth weight value;
[0222] When the electronic device is in the second display mode and the current environment has the first environment brightness, the maximum brightness of each pixel in the target display partition is configured to have a ninth weight value, and the average brightness of each pixel has a tenth weight value, and the ninth weight value is the same as or different from the tenth weight value;
[0223] When the electronic device is in the third display mode and the current environment has a second ambient color temperature, the maximum brightness of each pixel in the target display area is configured to have an eleventh weight value and the average brightness of each pixel has a twelfth weight value, and the eleventh weight value is less than the twelfth weight value.
[0224] In some embodiments, the acquisition module can also be used for at least one of the following: obtaining power information of the electronic device, and adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition based on the power information and the usage information; obtaining the attribute parameters of the auxiliary display structure of the display module, and adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition based on the attribute parameters and the usage information.
[0225] In some embodiments, the output module can also be used to: calculate the pixel grayscale value of each pixel point in the target display partition based on the target weights corresponding to the maximum grayscale value and the average grayscale value respectively; convert the pixel grayscale value into a driving current or a driving voltage and give it to the pixel driving circuit of the display module to drive the corresponding pixel unit to output the target display content.
[0226] The present application embodiment provides an electronic device, including: a memory and a processor. Figure 5 As shown, the electronic device 500 includes:
[0227] A memory 501, for storing a computer program executable on the processor 502;
[0228] The processor 502 is used to execute the program stored in the memory 501 to implement the above-mentioned display control method applied to the display control device.
[0229] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is executed in a computer device, a processor in the computer device executes some or all of the steps for implementing the above-mentioned display control method.
[0230] An embodiment of the present application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements some or all of the steps in the above-mentioned display control method.
[0231] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by a processor to implement the above-mentioned display control method.
[0232] The present application is described with reference to the flowchart and / or block diagram of the method and device according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0233] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0234] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0235] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed in the present application should be covered within the protection scope of the present application.
[0236] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0237] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0238] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0239] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0240] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0241] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0242] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0243] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0244] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A display control method, comprising: Obtaining information about the use of electronic devices; Based on the usage information, respectively adjusting the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device to corresponding target weights; The pixel grayscale value determined based on the target weight drives the corresponding pixel unit to output the target display content.
2. The method according to claim 1, wherein: Obtaining usage information of the electronic device, including at least one of the following: Obtaining display mode information of a display module of the electronic device through a first interface function; Obtaining use environment information of the electronic device through a first sensor set, wherein the first sensor set includes at least one sensor capable of obtaining environmental data of a spatial environment in which the electronic device is located; obtaining information about a user of the electronic device through a second sensor, wherein the second sensor set includes at least one sensor capable of obtaining biometric data of a user of the electronic device; The operation data of the electronic device obtained through the second interface function determines the usage scenario of the electronic device.
3. The method according to claim 1 or 2, wherein: Adjusting the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device to corresponding target configuration weights based on the usage information, including: Determining a target display partition to be adjusted from at least one display partition of the display module; Based on the usage information, the configuration weights of the maximum grayscale value and the average grayscale value in the target display partition are adjusted to corresponding target weights respectively.
4. The method according to claim 3, wherein: Determining the target display partition to be adjusted includes at least one of the following: Determining a target display partition to be adjusted based on a pixel grayscale value corresponding to the target display content to be output; The pixel grayscale values of each display partition of the display module are compared with those of its adjacent partitions, and the display partitions whose pixel grayscale value differences are within the target threshold range are determined as target display partitions to be adjusted.
5. The method according to claim 4, wherein: Determining the target display partition to be adjusted includes at least one of the following: Based on a grayscale histogram of a target image to be output, a region where pixels having grayscale values within a first threshold range are located is determined as a target display partition to be adjusted, wherein the target image is used to carry the target display content to be output; Determining a region in the display module where the pixel density is within a second threshold range as a target display partition to be adjusted; The area where the target pixel points among the pixel points corresponding to the target display content are located is determined as the target display partition to be adjusted.
6. The method according to claim 3, wherein: Adjusting the configuration weights of the maximum grayscale value and the average grayscale value in the target display partition to corresponding target weights based on the usage information respectively includes at least one of the following: Based on the display mode and usage environment information of the electronic device, the configuration weights of the maximum grayscale value and the average grayscale value of each pixel in the target display partition are adjusted to the corresponding target weights respectively; Based on the user information of the electronic device, the configuration weights of the maximum brightness value and the average brightness value of each pixel in the target display partition are adjusted to the corresponding target weights respectively; Based on the usage scenario of the electronic device, the configuration weights of the maximum brightness value and the average brightness value of each pixel in the target display partition are adjusted to the corresponding target weights.
7. The method according to claim 6, wherein: Adjusting the configuration weights of the maximum grayscale value and the average grayscale value of each pixel in the target display partition to corresponding target weights based on the display mode and usage environment information of the electronic device, including at least one of the following: When the electronic device is in the first display mode and the current environment has a first ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a first weight value, and the average brightness of each pixel has a second weight value, and the first weight value is less than the second weight value; When the electronic device is in the second display mode and the current environment has a second ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a third weight value, and the average brightness of each pixel has a fourth weight value, and the third weight value is greater than the fourth weight value; When the electronic device is in the third display mode and the current environment has the first ambient color temperature, the maximum brightness of each pixel in the target display partition is configured to have a fifth weight value, and the average brightness of each pixel has a sixth weight value, and the fifth weight value is greater than the sixth weight value; When the electronic device is in the first display mode and the current environment has a second ambient brightness, the maximum brightness of each pixel in the target display partition is configured to have a seventh weight value, and the average brightness of each pixel has an eighth weight value, and the seventh weight value is the same as or different from the eighth weight value; When the electronic device is in the second display mode and the current environment has the first environment brightness, the maximum brightness of each pixel in the target display partition is configured to have a ninth weight value, and the average brightness of each pixel has a tenth weight value, and the ninth weight value is the same as or different from the tenth weight value; When the electronic device is in the third display mode and the current environment has a second ambient color temperature, the maximum brightness of each pixel in the target display area is configured to have an eleventh weight value and the average brightness of each pixel has a twelfth weight value, and the eleventh weight value is less than the twelfth weight value.
8. The method according to claim 1, further comprising at least one of the following: Obtaining power information of the electronic device, and adjusting the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition based on the power information and the usage information; The attribute parameters of the auxiliary display structure of the display module are obtained, and the configuration weights of the maximum grayscale value and the average grayscale value of the target display partition are adjusted based on the attribute parameters and the usage information.
9. The method according to claim 1, wherein: Driving the corresponding pixel unit to output the target display content based on the pixel grayscale value determined by the target weight includes: Calculating the pixel grayscale value of each pixel point of the target display partition based on the target weights corresponding to the maximum grayscale value and the average grayscale value respectively; The pixel grayscale value is converted into a driving current or a driving voltage and supplied to a pixel driving circuit of the display module to drive a corresponding pixel unit to output target display content.
10. A display control device, applied to an electronic device, comprising: An acquisition module, used to obtain usage information of the electronic device; an adjustment module, configured to adjust the configuration weights of the maximum grayscale value and the average grayscale value in at least one display partition of the display module of the electronic device to corresponding target weights respectively based on the usage information; The output module is used to drive the corresponding pixel unit to output the target display content based on the pixel grayscale value determined by the target weight.
