Display screen brightness adjustment method and electronic device
By adjusting the driving electric signal amplitude of the light emitting element according to the relationship between the display area and the grayscale value of the screen, the problem of low contrast in the display screen is solved, and the display effect is improved.
Patent Information
- Application Number
- CN202211582075.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-09
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-12-09
AI Technical Summary
In the prior art, the contrast of different display areas of the display screen is relatively low, resulting in poor screen display effect.
By obtaining the grayscale values of each display area and the grayscale values of the display screen, the driving electric signal amplitude of the light emitting element is determined according to their size relationship, and different driving electric signal amplitudes are used for different regions to achieve brightness differences.
Improve the contrast of different display areas of the display screen and improve the screen display effect.
Smart Images

Figure CN115881059B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display, and in particular to a method for adjusting the brightness of a display screen and an electronic device. Background Art
[0002] Current solutions use a constant electrical signal (e.g., current) to drive the light-emitting elements in a display screen to display images. This results in low display brightness and low contrast between different display areas (for example, if a display screen contains pedestrians, vehicles, and roads, the existing solution will display them all at the same brightness, failing to highlight one or more of them). This in turn affects the display quality. Summary of the Invention
[0003] The main purpose of the present application is to provide a display screen brightness adjustment method and an electronic device to solve the problem of low contrast displayed in different display areas of a display screen in the prior art.
[0004] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for adjusting the brightness of a display screen is provided, including: obtaining characteristic parameters, the characteristic parameters including at least the grayscale value of each display area and the grayscale value of the display screen, the grayscale value of the display area being determined by the grayscale value of at least part of the pixel points in the display area, the display screen being displayed on the display screen, and one display screen including multiple display areas; determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area based on the size relationship between the grayscale value of each display area and the grayscale value of the display screen.
[0005] Optionally, the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area is determined based on the size relationship between the grayscale value of each display area and the grayscale value of the display screen, including: obtaining the ratio of the grayscale value of the display area to the grayscale value of the display screen; and determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area based on the size of the ratio.
[0006] Optionally, the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area is determined according to the size of the ratio, including: obtaining a driving electrical signal threshold; when the ratio is less than or equal to a preset ratio, determining that the driving electrical signal of the display area is the driving electrical signal threshold; when the ratio is greater than the preset ratio, obtaining a ratio operation amount, wherein the ratio operation amount is obtained by performing a correlation operation on the ratio, and the correlation operation includes a power operation; determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area according to the ratio operation amount and the driving electrical signal threshold, wherein the amplitude of the driving electrical signal is negatively correlated with the ratio.
[0007] Optionally, determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area according to the ratio operation amount and the driving electrical signal threshold includes: according to a second formula: X>BP, determine the amplitude of the driving electrical signal, I m represents the amplitude of the driving electrical signal, a is a first constant, b is a second constant, n is a positive integer greater than 1, X is the ratio, BP is the preset ratio, and BM is the driving electrical signal threshold.
[0008] Optionally, the driving electrical signal is a driving current, and the method further includes: obtaining the voltage of each of the display areas; determining the power data of the display area based on the driving current and the voltage of the display area; and adjusting the amplitude of the driving current based on the relationship between the power data of the display area and the rated power data, so that the power data of the display area is less than or equal to the rated power data.
[0009] Optionally, the amplitude of the driving current is adjusted according to the size relationship between the power data of the display area and the rated power data, including: when the power data of the display area is less than or equal to the rated power data, maintaining the amplitude of the driving current unchanged; when the power data of the display area is greater than the rated power data, reducing the amplitude of the driving current so that the power data of the display area is less than or equal to the rated power data.
[0010] Optionally, the characteristic parameter also includes the type of display object in the display area, and the method also includes: determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area based on the size of the grayscale value of each display area and the type of display object in each display area.
[0011] Optionally, the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area is determined based on the size of the grayscale value of each display area and the type of the display object in each display area, including: when the types of the display objects in different display areas are different and the grayscale values are the same, adjusting the amplitude of the first initial driving electrical signal according to the type of the display object until the display effect of each display area meets the first preset display effect when the adjusted first initial driving electrical signal is used to drive the corresponding display area; when the types of the display objects in different display areas are the same and the grayscale values are different, adjusting the amplitude of the second initial driving electrical signal according to the grayscale value until the display effect of each display area meets the second preset display effect when the adjusted second initial driving electrical signal is used to drive the corresponding display area.
[0012] Optionally, after determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area according to the characteristic parameters of each display area, the method further includes: converting the driving electrical signal into data that can be recognized by the light-emitting element driving board.
[0013] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, a display screen, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any one of the methods described above.
[0014] Applying the technical solution of the present application, by obtaining the grayscale value of each display area and the grayscale value of the display screen, and then determining the amplitude of the driving electrical signal for the light-emitting element corresponding to each display area based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display screen. Based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display screen, different amplitudes of the driving electrical signal are used for display areas with different grayscale values, thereby achieving different brightness levels in multiple display areas, thereby improving the contrast of different display areas on the display screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings that constitute part of this application are used to provide a further understanding of this application. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0016] Figure 1 A schematic diagram showing the structure of a television set in a hardware operating environment according to an embodiment of the present invention;
[0017] Figure 2 A flow chart of a method for adjusting display screen brightness according to an embodiment of the present application is shown;
[0018] Figure 3 A method for determining the amplitude of a driving electrical signal of a light-emitting element corresponding to a display area according to an embodiment of the present application is shown;
[0019] Figure 4 A specific method for determining the amplitude of a driving electrical signal of a light-emitting element corresponding to a display area according to an embodiment of the present application is shown;
[0020] Figures 5 to 11 shows a schematic diagram of a display screen according to an embodiment of the present application;
[0021] Figure 12A flowchart of a specific method for adjusting display screen brightness according to an embodiment of the present application is shown;
[0022] Figure 13 shows a relationship diagram between the ratio and the driving current according to an embodiment of the present application;
[0023] Figure 14 shows a graph showing the relationship between ratio and brightness according to an embodiment of the present application;
[0024] Figure 15 shows a schematic diagram of voltage relationships according to an embodiment of the present application;
[0025] Figure 16 A schematic diagram of a display screen brightness adjustment device according to an embodiment of the present application is shown.
[0026] The above drawings include the following reference numerals:
[0027] 01, first display area; 02, second display area; 03, third display area; 04, fourth display area. DETAILED DESCRIPTION
[0028] It should be noted that, unless there is any conflict, the embodiments and features in the embodiments of this application can be combined with each other.
[0029] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a television set in the hardware operating environment involved in the embodiment of the present invention.
[0032] Typically, a television set includes: at least one processor 101, a memory 102, and a brightness adjustment program stored in the memory and executable on the processor, wherein the brightness adjustment program is configured to implement the steps of the display screen brightness adjustment method as described above.
[0033] Processor 101 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 101 may be implemented in at least one of the following hardware forms: a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). Processor 101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, processor 101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. Processor 101 may also include an AI (Artificial Intelligence) processor, which is used to process operations related to the display brightness adjustment method, so that the display brightness adjustment method model can be trained and learned independently to improve efficiency and accuracy.
[0034] The memory 102 may include one or more computer-readable storage media, which may be non-transitory. The memory 102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 102 is used to store at least one instruction, which is executed by the processor 101 to implement the display brightness adjustment method provided in the method embodiment of the present application.
[0035] In some embodiments, the terminal may optionally include a communication interface 103 and at least one peripheral device. The processor 101, memory 102, and communication interface 103 may be connected via a bus or signal lines. Each peripheral device may be connected to the communication interface 103 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 104, a screen 105, and a power supply 106. The peripheral device may also include a camera 107.
[0036] The communication interface 103 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 101 and the memory 102. In some embodiments, the processor 101, the memory 102, and the communication interface 103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 101, the memory 102, and the communication interface 103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0037] The RF circuit 104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 104 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 104 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0038] Screen 105 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, or any combination thereof. When screen 105 is a touch screen, screen 105 is also capable of collecting touch signals on or above the surface of screen 105. The touch signals can be input as control signals to processor 101 for processing. In this case, screen 105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard.
[0039] In some embodiments, screen 105 can be a single screen, the front panel of the electronic device; in other embodiments, screen 105 can be at least two, each disposed on different surfaces of the electronic device or in a foldable design; in still other embodiments, screen 105 can be a flexible screen, disposed on a curved or foldable surface of the electronic device. Furthermore, screen 105 can be configured as a non-rectangular irregular shape, i.e., a special-shaped screen. Screen 105 can be made of materials such as LCD (Liquid Crystal Display).
[0040] The power supply 106 is used to power various components in the electronic device. The power supply 106 can be AC power, DC power, disposable batteries, or rechargeable batteries. When the power supply 106 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology. It will be understood by those skilled in the art that Figure 1 The structure shown in the figure does not constitute a limitation on the television set, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0041] The camera 107 is used to help the TV to collect videos and images. The camera 107 is usually integrated in a certain area on the front of the TV.
[0042] According to an embodiment of the present invention, an embodiment of a method for adjusting the brightness of a display screen is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0043] Figure 2 Flowchart of the method for adjusting the brightness of a display screen according to an embodiment of the present application. The display screen of this embodiment and the other embodiments in the present application is an LCD display screen, such as Figure 2 As shown, the method includes the following steps:
[0044] Step S201, acquiring characteristic parameters, the characteristic parameters including at least the grayscale value of each display area and the grayscale value of the display screen, the grayscale value of the display area being determined by the grayscale value of at least some pixels in the display area, the display screen displaying the display screen, and one display screen including a plurality of the display areas;
[0045] Specifically, the grayscale value of the display area may be determined by the grayscale values of all pixels in the display area, and may be the sum of the grayscale values of all pixels. The grayscale value of the display area may also be determined by the grayscale values of some pixels, and may be the sum of the grayscale values of some pixels, for example, 90%, 80%, or 70% of the pixels. Preferably, when selecting some pixels, the pixels in the central area of the display area may be selected, and the pixels in the central area may be used to represent the entire display area.
[0046] Step S202 : determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the display areas according to the magnitude relationship between the grayscale value of each of the display areas and the grayscale value of the display image.
[0047] Specifically, the light emitting element may be an LED or a MinLED, which is not limited in this application.
[0048] Specifically, the driving electrical signal in this embodiment can be a driving current signal or a driving voltage signal. If there are other types of electrical signals that can drive the light-emitting element to emit light, they can also be selected.
[0049] The display brightness adjustment method of the present application obtains the grayscale value of each display area and the grayscale value of the display image, and then determines the amplitude of the driving electrical signal for the light-emitting element corresponding to each display area based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display image. Based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display image, the amplitude of the driving electrical signal for the light-emitting element corresponding to each display area is determined. Different amplitudes of the driving electrical signal are used for display areas with different grayscale values to achieve different brightnesses in multiple display areas, thereby improving the contrast of the display in different display areas of the display.
[0050] Further, if Figure 3 As shown, step S202: determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the above-mentioned display areas according to the magnitude relationship between the grayscale value of each of the above-mentioned display areas and the grayscale value of the above-mentioned display screen, has the following implementation method:
[0051] Step S2021: obtaining a ratio of the grayscale value of the display area to the grayscale value of the display screen;
[0052] Step S2022: determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area according to the size of the ratio.
[0053] Furthermore, obtaining the ratio of the grayscale value of the above-mentioned display area to the grayscale value of the above-mentioned display screen includes: determining the above-mentioned ratio according to the first formula: X=(M×A) / (N×B), wherein X represents the above-mentioned ratio, M represents the total number of display channels of the above-mentioned display area, A represents the average grayscale value of all display channels in the above-mentioned display area, N represents the total number of display channels of the above-mentioned display screen, B represents the average grayscale value of all display channels in the above-mentioned display screen, and one above-mentioned display channel includes multiple above-mentioned pixel points.
[0054] More specifically, the average grayscale value of all display channels in the display image can be set to 255, that is, the maximum value is taken. Of course, in actual applications, adjustments can be made.
[0055] In some embodiments, as Figure 4 As shown, step S2022: determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area according to the size of the ratio, includes the following steps:
[0056] Step S20221: obtaining a driving electrical signal threshold;
[0057] Step S20222: when the ratio is less than or equal to a preset ratio, determining that the driving electrical signal of the display area is the driving electrical signal threshold;
[0058] Step S20223: if the ratio is greater than the preset ratio, obtaining a ratio operation amount, wherein the ratio operation amount is obtained by performing a correlation operation on the ratio, wherein the correlation operation includes a power operation;
[0059] Step S20224: determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area according to the ratio calculation amount and the driving electrical signal threshold, wherein the amplitude of the driving electrical signal is negatively correlated with the ratio.
[0060] Specifically, the driving electric signal threshold can be set to 60mA, 65mA, 70mA, etc. Using the solution of the present application, since the amplitude of the driving electric signal is adjustable, the amplitude of the driving electric signal using the embodiment of the present application is higher than the amplitude of the driving electric signal using the existing embodiment. For example, the amplitude of the driving current using the existing embodiment is constant at 30mA, while under the same hardware conditions, the amplitude of the driving current using the embodiment of the present application reaches 35mA to 60mA. Due to the increase in driving current, the natural brightness will increase. Specifically used in the field of televisions, the brightness can reach 1000nit to 2000nit, and within the temperature controllable range, it can even be increased to more than 2000nit, not only improving the display brightness of the subjective picture, but also greatly enhancing the contrast of small objects, making the subjective picture look not only very bright but also with high contrast. However, the brightness of televisions currently on the market is basically concentrated around 500nit, the overall display brightness is relatively low, and the contrast of small objects is also very poor.
[0061] Furthermore, step S20224: determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area according to the ratio operation amount and the driving electrical signal threshold is implemented as follows: according to the second formula: X>BP, determine the amplitude of the above driving electrical signal, I m represents the amplitude of the driving electrical signal, a is the first constant, b is the second constant, n is a positive integer greater than 1, X is the ratio, BP is the preset ratio, and BM is the driving electrical signal threshold. The driving electrical signal obtained using the second formula can ensure a good contrast ratio.
[0062] In addition, the above-mentioned driving electrical signal is a driving current, and the above-mentioned method also includes: obtaining the voltage of each of the above-mentioned display areas; determining the power data of the above-mentioned display area based on the above-mentioned driving current and the above-mentioned voltage of the above-mentioned display area; adjusting the amplitude of the above-mentioned driving current based on the size relationship between the power data of the above-mentioned display area and the rated power data, so that the power data of the above-mentioned display area is less than or equal to the above-mentioned rated power data.
[0063] Preferably, the driving current of the display area is the sum of the driving currents, wherein one display channel corresponds to one driving current.
[0064] More preferably, the power data of the display area is the sum of the powers of all the display areas on the display screen.
[0065] Furthermore, the amplitude of the driving current is adjusted based on the relationship between the power data of the display area and the rated power data, including: maintaining the amplitude of the driving current unchanged when the power data of the display area is less than or equal to the rated power data; and reducing the amplitude of the driving current so that the power data of the display area is less than or equal to the rated power data when the power data of the display area is greater than the rated power data. The rated power is set to ensure that the power of the display area does not exceed the upper limit of the power.
[0066] In some embodiments, the above-mentioned characteristic parameters also include the type of display object in the above-mentioned display area, and the above-mentioned method also includes: determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the above-mentioned display areas based on the size of the grayscale value of each of the above-mentioned display areas and the type of the above-mentioned display object in each of the above-mentioned display areas.
[0067] More specifically, determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the display areas according to the grayscale value of each of the display areas and the type of the display object in each of the display areas includes:
[0068] When the display objects in different display areas are of different types but have the same grayscale value, adjusting the amplitude of the first initial driving electrical signal according to the type of the display object until the display effect of each display area satisfies a first preset display effect when the corresponding display area is driven by the adjusted first initial driving electrical signal;
[0069] For example, two display areas may have the same grayscale value, but objects in one area need to be highlighted while objects in the other area do not. For example, a landscape painting may need to highlight the sunset. To achieve this, the amplitude of the driving signal for the area to be highlighted can be set larger, meaning the brightness is higher. This allows the sunset to be highlighted.
[0070] When the types of display objects in different display areas are the same but the grayscale values are different, the amplitude of the second initial driving electrical signal is adjusted according to the grayscale value until the display effect of each display area satisfies the second preset display effect when the adjusted second initial driving electrical signal is used to drive the corresponding display area.
[0071] For example, if the display objects in two display areas are of the same type but have different grayscale values, the driving signal for the area with a larger grayscale value can be set smaller, while the driving signal for the area with a smaller grayscale value can be set larger to improve the contrast.
[0072] Furthermore, after determining the amplitude of the driving electrical signal for the light-emitting element corresponding to each display area based on the characteristic parameters of each display area, the method further includes converting the driving electrical signal into data recognizable by a light-emitting element driver board, for example, into an octal number or a hexadecimal number recognizable by the light-emitting element driver board.
[0073] The following describes the different distribution situations of the display area of the display screen: Figures 5 to 11 As shown, Figure 5 The display area includes a first display area 01, a second display area 02, and a third display area 03. The objects in the first display area 01 are vehicles, the objects in the second display area 02 are roads, and the objects in the third display area 03 are trees. Different amplitudes of the driving electrical signals can be set based on the grayscale values of the different display areas. Setting the amplitudes of the driving electrical signals for the three display areas to be different improves contrast. More specifically, if you want to highlight the road, set the amplitude of the driving electrical signal for the third display area 03 corresponding to the road to the maximum. Figure 6 It includes a first display area 01, a second display area 02 and a third display area 03, wherein different display areas display different objects, thereby enhancing the contrast of the areas where different objects are located; Figure 7 It includes a first display area 01, a second display area 02, a third display area 03 and a fourth display area 04. Figure 7 In the example, the first display area 01 and the fourth display area 04 are both displayed as vehicles, and the second display area 02 and the third display area 03 are both displayed as trees. The amplitudes of the driving electrical signals of the first display area 01 and the fourth display area 04 can be set to be the same, while the amplitudes of the driving electrical signals of the second display area 02 and the third display area 03 can be set to be different. Figure 8 It includes a first display area 01, a second display area 02 and a third display area 03. Figure 8 The third display area 03 does not include an object, so the amplitude of the driving electrical signal of the third display area 03 can be set to the minimum to highlight the display of the first display area 01 and the second display area 02; Figure 9 It includes a first display area 01, a second display area 02 and a third display area 03. Figure 9 The three display areas in the figure all include pedestrians, but pedestrians are not the main display objects in these three display areas (the main display objects in the first display area are trees, the main display objects in the second display area are roads, and the main display objects in the third display area are vehicles). Therefore, there is no need to divide the pedestrians into separate display areas; that is, the objects displayed in multiple display areas are not exactly the same, and the target object is displayed in multiple display areas ( Figure 9In other words, if the pedestrian in the display screen is the main display object, then the pedestrian needs to be divided into a separate display area, and the amplitude of the driving electrical signal of the display area where the pedestrian is located is not set to be larger to highlight the pedestrian. Figure 10 It includes a first display area 01, a second display area 02, a third display area 03 and a fourth display area 04. Figure 10 The first display area 01 and the fourth display area 04 both display pedestrians and vehicles, but the displayed content is exactly the same, so the amplitude of the driving electrical signal of the first display area 01 and the fourth display area 04 can be set to be the same, but different from the amplitude of the driving electrical signal of the second display area 02 and the third display area 03. Figure 11 The first display area 01 and the second display area 02 are included. The first display area 01 is located at the center of the display screen. The object in the first display area is highlighted. That is, the amplitude of the driving signal of the first display area 01 is set to be greater than the amplitude of the driving signal of the second display area 02. Figures 5 to 11 It is only exemplary, and any extension that does not deviate from the purpose of this application shall fall within the scope of protection of this application.
[0074] In other embodiments, the method further includes determining the amplitude of the driving signal for each light-emitting element corresponding to each display area based solely on the grayscale value of the display area. For example, if the sum of the grayscale values of all pixels is small, the amplitude of the driving signal for the light-emitting element is set to a larger value; if the sum of the grayscale values of all pixels is large, the amplitude of the driving signal for the light-emitting element is set to a smaller value.
[0075] The embodiment of the present application provides a specific method for adjusting the brightness of a display screen, such as Figure 12 As shown, the following steps are included:
[0076] Step S1: obtaining the grayscale value of the display area;
[0077] Step S2: obtaining the ratio of the grayscale value of the display area to the grayscale value of the display image;
[0078] Assume that the display screen has 384 display channels and the display area has 100 display channels. Set the average grayscale value of the display channel of the display screen to 255, and obtain the average value of the display channel of the display area as 255 (of course, it can be other values, such as 200, 155, etc.). Then the ratio of the grayscale value of the display area to the grayscale value of the display screen is: (100×255) / 384×255≈26%.
[0079] Step S3: determining the driving current of the display area according to the ratio;
[0080] like Figure 13 As shown, the horizontal axis represents the ratio X, and the vertical axis represents the driving current I m When the ratio is less than or equal to 15%, the driving current is set to the driving current threshold of 65mA. When the ratio is greater than 15%, the driving current changes as follows: Figure 13 As shown, the driving current change law conforms to the following formula:
[0081]
[0082] Among them, I m represents the driving current of a single display channel, BM represents the driving current threshold, X represents the ratio, BP represents the preset ratio, a represents the first constant, b represents the second constant, and the values of a and b can be adjusted according to actual conditions. The value must not exceed BM. Otherwise, the hexadecimal value will overflow because the calculated result is greater than 1, which will eventually cause a black screen.
[0083] Since the MCU cannot identify the size of the current, it can only identify the size of the SPI data. Therefore, the calculated result must be converted into hexadecimal SPI data. The converted formula conforms to the following rules:
[0084]
[0085] Among them, Y is the size of the SPI data that needs to be transmitted to the MCU in the current display area. 0xFF represents the maximum SPI data. The SPI of other windows needs to be calculated based on the ratio to the maximum SPI data.
[0086] With the configuration of this embodiment, the brightness value displayed is as follows Figure 14 The upper curve in the figure has a minimum brightness value higher than 700nit, while the brightness is maintained at around 600nit using the existing solution. Figure 14 The lower curve in . Figure 14 The horizontal axis represents the ratio X, and the vertical axis represents the brightness value. Obviously, the solution of this embodiment significantly improves the brightness value.
[0087] Step S4: obtaining the total current value of the display area;
[0088] Specifically, when brightness enhancement is not performed, the driving current of different display areas is 25 mA. After adopting the solution of the present application, as the current increases, the voltage also increases. The voltage U after brightness enhancement is m Compared with the voltage U without brightness enhancement n satisfy Figure 15 The linear change law shown, Figure 15 The vertical axis represents the voltage U after brightness enhancementm , Figure 15 The horizontal axis represents the voltage U without brightness enhancement n .
[0089] U m =Pf×U n (V) Formula 3
[0090] Where Pf is U m with U n The proportionality coefficient of
[0091] The light-emitting element is selected as MinLED, and the total current value of the display area is expressed as:
[0092] I sum(m) =CNUM×Wd×I m Formula 4
[0093] Among them, I sum(m) Indicates the total current value, CNUM indicates the total number of display channels of the display screen, and Wd is the current display area's proportion to the display screen area. For example, 20%. CNUM×Wd indicates the total number of display channels of the current display area, I m Indicates the driving current of a single display channel in the current display area.
[0094] Step S5: Obtain the voltage of the display area, and obtain the power data of the display area according to the total current value and the voltage; the power data is determined according to Formula 5:
[0095] W m =U m ×I sum(m) Formula 5
[0096] Among them, U m Indicates voltage value, W m Indicates the power value, I sum(m) Indicates the total current value.
[0097] Step S6: Determine whether the power data of the display area is greater than the rated power data. If yes, jump to step S7; if not, jump to step S8;
[0098] Step S7: performing power limitation on the current driving current;
[0099] Step S8: Convert the driving current into data that can be recognized by the light emitting element driving board.
[0100] To control the power of the display area not to exceed the rated power and fully utilize the power, ensuring brightness priority:
[0101] Generally speaking, under the premise of determining the hardware, the rated power of the entire display screen is unchanged, as shown in Formula 6:
[0102] W0=U n ×I sum(100%) Formula 6
[0103] Among them, U n Indicates the voltage without brightness enhancement, I sum(100%) It is the maximum driving current without brightness enhancement, and W0 represents the rated power;
[0104] The power after brightness enhancement is shown in Formula 7:
[0105] W m =U m ×I sum(m) Formula 7
[0106] Among them, U m Represents the voltage after brightness enhancement, I sum(m) Indicates the total current value, W m Indicates the power after brightness enhancement.
[0107] And because U m =Pf×U n , W m =Pf×U n ×I sum(m) ;
[0108] Because W m and W0 have the same constants CNUM, U n and 1000, the formula is transformed to:
[0109] P0=I sum(100%) Formula 8
[0110] P n =Pf×I sum(m) Formula 9
[0111] If P n ≤P0, the power protection will not be activated and the input SPI data will not be restricted. If P n > P0, then enter the power limit, need to input to the MCU control module SPI data P n Make restrictions and get P m for:
[0112]
[0113] The final P m This is the size of the SPI data input to the MCU to control the brightness and make full use of the maximum power;
[0114] In addition, if you want to use the SPI data calculated by the main SOC to drive the MCU's backlight current and increase the backlight brightness, the MCU software needs to preset a BM current value that corresponds to the BM set by the main SOC. Taking 65mA as an example, if the data received by the MCU is 0xFF, then the current to be driven at this time is 65mA. Therefore, the size of the SPI data and the MCU constant current board drive current conforms to the following conversion formula:
[0115] The current driving the MCU = BM × P m (Convert to decimal) / 255 Formula 11
[0116] Here we just convert the SPI data into the current value for the MCU to drive the light-emitting element. The actual size is the same as I m If the size of BM changes, then the current driving the MCU will also change according to the formula.
[0117] The embodiment of the present application also provides a display screen brightness adjustment device. It should be noted that the display screen brightness adjustment device of the embodiment of the present application can be used to execute the display screen brightness adjustment method provided in the embodiment of the present application. The display screen brightness adjustment device provided in the embodiment of the present application is introduced below.
[0118] Figure 16 Schematic diagram of a display screen brightness adjustment device according to an embodiment of the present application. Figure 16 As shown, the device includes:
[0119] A first acquisition unit 100 is configured to acquire characteristic parameters, wherein the characteristic parameters include at least a grayscale value of each display area and a grayscale value of a display screen, wherein the grayscale value of each display area is determined by the grayscale value of at least some pixels in the display area, wherein the display screen displays the display screen, and wherein one display screen includes a plurality of the display areas;
[0120] The first determining unit 200 is configured to determine the amplitude of the driving electrical signal of the light emitting element corresponding to each of the display areas according to the magnitude relationship between the grayscale value of each of the display areas and the grayscale value of the display screen.
[0121] In the display screen brightness adjustment device of the present application, a first acquisition unit acquires the grayscale value of each display area and the grayscale value of the display screen, and a first determination unit determines the amplitude of the driving electrical signal for the light-emitting element corresponding to each display area based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display screen. The amplitude of the driving electrical signal for the light-emitting element corresponding to each display area is determined based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display screen. Different amplitudes of the driving electrical signal are used for display areas with different grayscale values to achieve different brightnesses in multiple display areas, thereby improving the contrast of the display in different display areas of the display screen.
[0122] In some embodiments, the first determination unit includes an acquisition module and a determination module, the acquisition module is used to obtain the ratio of the grayscale value of the above-mentioned display area to the grayscale value of the above-mentioned display screen; the determination module is used to determine the amplitude of the driving electrical signal of the light-emitting element corresponding to the above-mentioned display area according to the size of the above-mentioned ratio.
[0123] In some specific embodiments, the acquisition module is further used to determine the above-mentioned ratio according to the first formula: X=(M×A) / (N×B), wherein X represents the above-mentioned ratio, M represents the total number of display channels of the above-mentioned display area, A represents the average grayscale value of all display channels in the above-mentioned display area, N represents the total number of display channels of the above-mentioned display screen, B represents the average grayscale value of all display channels in the above-mentioned display screen, and one above-mentioned display channel includes multiple above-mentioned pixel points.
[0124] In some embodiments, the determination module includes a first acquisition submodule, a first determination submodule, a second acquisition submodule and a second determination submodule, the first acquisition submodule is used to acquire the driving electric signal threshold; the first determination submodule is used to determine that the driving electric signal of the above-mentioned display area is the above-mentioned driving electric signal threshold when the above-mentioned ratio is less than or equal to the preset ratio; the second acquisition submodule is used to acquire the ratio operation amount when the above-mentioned ratio is greater than the above-mentioned preset ratio, wherein the above-mentioned ratio operation amount is obtained by performing a correlation operation on the above-mentioned ratio, and the above-mentioned correlation operation includes a power operation; the second determination submodule is used to determine the amplitude of the driving electric signal of the above-mentioned light-emitting element corresponding to the above-mentioned display area according to the above-mentioned ratio operation amount and the above-mentioned driving electric signal threshold, wherein the amplitude of the driving electric signal is negatively correlated with the above-mentioned ratio.
[0125] In some specific embodiments, the second determining submodule is further configured to determine the value of the formula: X>BP, determine the amplitude of the driving electrical signal, I m represents the amplitude of the driving electrical signal, a is a first constant, b is a second constant, n is a positive integer greater than 1, X is the ratio, BP is the preset ratio, and BM is the driving electrical signal threshold.
[0126] In some embodiments, the above-mentioned driving electrical signal is a driving current, and the above-mentioned device also includes a second acquisition unit, a second determination unit and an adjustment unit, the second acquisition unit is used to obtain the voltage of each of the above-mentioned display areas; the second determination unit is used to determine the power data of the above-mentioned display area based on the above-mentioned driving current and the above-mentioned voltage of the above-mentioned display area; the adjustment unit is used to adjust the amplitude of the above-mentioned driving current according to the size relationship between the power data of the above-mentioned display area and the rated power data, so that the power data of the above-mentioned display area is less than or equal to the above-mentioned rated power data.
[0127] More specifically, the adjustment unit includes a first processing module and a second processing module. The first processing module is used to maintain the amplitude of the above-mentioned driving current unchanged when the power data of the above-mentioned display area is less than or equal to the above-mentioned rated power data; the second processing module is used to reduce the amplitude of the above-mentioned driving current when the power data of the above-mentioned display area is greater than the above-mentioned rated power data, so that the power data of the above-mentioned display area is less than or equal to the above-mentioned rated power data.
[0128] In some embodiments, the above-mentioned characteristic parameters also include the type of objects displayed in the above-mentioned display areas, and the above-mentioned device also includes a third determination unit, which is used to determine the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the above-mentioned display areas based on the size of the grayscale value of each of the above-mentioned display areas and the type of the above-mentioned displayed objects in each of the above-mentioned display areas.
[0129] In some embodiments, the third determination unit includes a first adjustment module and a second adjustment module. The first adjustment module is used to adjust the amplitude of the first initial driving electrical signal according to the type of the display object when the types of the display objects in different display areas are different and the grayscale values are the same, until the display effect of each display area meets the first preset display effect when the adjusted first initial driving electrical signal is used to drive the corresponding display area; the second adjustment module is used to adjust the amplitude of the second initial driving electrical signal according to the grayscale value when the types of the display objects in different display areas are the same and the grayscale values are different, until the display effect of each display area meets the second preset display effect when the adjusted second initial driving electrical signal is used to drive the corresponding display area.
[0130] In some embodiments, the above-mentioned device also includes a conversion unit, which is used to determine the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the above-mentioned display areas based on the characteristic parameters of each of the above-mentioned display areas, and then convert the above-mentioned driving electrical signal into data that can be recognized by the light-emitting element driving board.
[0131] The display screen brightness adjustment device includes a processor and a memory. The first acquisition unit and the first determination unit are stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.
[0132] The processor includes a kernel, which retrieves corresponding program units from the memory. One or more kernels can be set, and the contrast of different display areas in the display area can be improved by adjusting kernel parameters.
[0133] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0134] An embodiment of the present invention also proposes an electronic device, comprising: one or more processors, a memory, a display screen, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the above methods.
[0135] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a display screen brightness adjustment program is stored, and when the display screen brightness adjustment program is executed by a processor, the steps of the display screen brightness adjustment method as described above are implemented. Therefore, no further description will be given here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the program instructions can be deployed to be executed on a TV, or on multiple TVs located in one place, or on multiple TVs distributed in multiple locations and interconnected by a communication network.
[0136] According to an embodiment of the present application, a processor is provided, which is used to run a program, wherein the display screen brightness adjustment method is executed when the program is run.
[0137] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:
[0138] Step S201, acquiring characteristic parameters, the characteristic parameters including at least the grayscale value of each display area and the grayscale value of the display screen, the grayscale value of the display area being determined by the grayscale value of at least some pixels in the display area, the display screen displaying the display screen, and one display screen including a plurality of the display areas;
[0139] Step S202 : determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the display areas according to the magnitude relationship between the grayscale value of each of the display areas and the grayscale value of the display image.
[0140] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0142] 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 an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0143] These computer program instructions can 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, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0144] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0145] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0146] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0147] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0148] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0149] 1) The display brightness adjustment method of the present application obtains the grayscale value of each display area and the grayscale value of the display image, and then determines the amplitude of the driving electrical signal for the light-emitting element corresponding to each display area based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display image. Based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display image, different driving electrical signal amplitudes are used for display areas with different grayscale values to achieve different brightness of multiple display areas, that is, to improve the contrast of different display areas of the display screen.
[0150] 2) In the display screen brightness adjustment device of the present application, the first acquisition unit acquires the grayscale value of each display area and the grayscale value of the display screen, and the first determination unit determines the amplitude of the driving electrical signal for the light-emitting element corresponding to each display area based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display screen. The amplitude of the driving electrical signal for the light-emitting element corresponding to each display area is determined based on the magnitude relationship between the grayscale value of each display area and the grayscale value of the display screen. Different amplitudes of the driving electrical signal are used for display areas with different grayscale values to achieve different brightnesses in multiple display areas, thereby improving the contrast of the display of different display areas on the display screen.
[0151] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A method for adjusting the brightness of a display screen, characterized in that: include: Acquiring characteristic parameters, the characteristic parameters including at least a grayscale value of each display area and a grayscale value of a display screen, the grayscale value of each display area being determined by grayscale values of at least some pixels in the display area, the display screen being displayed on a display screen, and one display screen including a plurality of display areas; determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each of the display areas according to the magnitude relationship between the grayscale value of each of the display areas and the grayscale value of the display screen; The step of determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area according to the magnitude relationship between the grayscale value of each display area and the grayscale value of the display screen includes: Obtaining a ratio of a grayscale value of the display area to a grayscale value of the display screen; Obtaining a driving electrical signal threshold; When the ratio is less than or equal to a preset ratio, determining that the driving electrical signal of the display area is the driving electrical signal threshold; When the ratio is greater than the preset ratio, obtaining a ratio operation amount, wherein the ratio operation amount is obtained by performing a correlation operation on the ratio, and the correlation operation includes a power operation; The amplitude of the driving electrical signal of the light-emitting element corresponding to the display area is determined according to the ratio operation amount and the driving electrical signal threshold, wherein the amplitude of the driving electrical signal is negatively correlated with the ratio.
2. The method according to claim 1, characterized in that Determining the amplitude of the driving electrical signal of the light-emitting element corresponding to the display area according to the ratio operation amount and the driving electrical signal threshold includes: According to the formula: Determine the amplitude of the driving electrical signal, I m represents the amplitude of the driving electrical signal, a is a first constant, b is a second constant, n is a positive integer greater than 1, X is the ratio, BP is the preset ratio, and BM is the driving electrical signal threshold.
3. The method according to claim 1, characterized in that The driving electrical signal is a driving current, and the method further includes: obtaining a voltage in each of the display areas; determining power data of the display area according to the driving current and the voltage of the display area; According to the magnitude relationship between the power data of the display area and the rated power data, the amplitude of the driving current is adjusted so that the power data of the display area is less than or equal to the rated power data.
4. The method according to claim 3, characterized in that Adjusting the amplitude of the driving current according to a relationship between the power data of the display area and the rated power data includes: When the power data of the display area is less than or equal to the rated power data, maintaining the amplitude of the driving current unchanged; When the power data of the display area is greater than the rated power data, the amplitude of the driving current is reduced so that the power data of the display area is less than or equal to the rated power data.
5. The method according to any one of claims 1 to 4, characterized in that The characteristic parameter also includes the type of display object in the display area, and the method further includes: The amplitude of the driving electrical signal of the light emitting element corresponding to each display area is determined according to the grayscale value of each display area and the type of the display object in each display area.
6. The method according to claim 5, characterized in that Determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area according to the grayscale value of each display area and the type of the display object in each display area includes: When the display objects in different display areas are of different types but have the same grayscale value, adjusting the amplitude of the first initial driving electrical signal according to the type of the display object until a display effect of each display area satisfies a first preset display effect when the corresponding display area is driven by the adjusted first initial driving electrical signal; When the types of display objects in different display areas are the same but the grayscale values are different, the amplitude of the second initial driving electrical signal is adjusted according to the grayscale value until the display effect of each display area meets the second preset display effect when the adjusted second initial driving electrical signal is used to drive the corresponding display area.
7. The method according to any one of claims 1 to 4, characterized in that After determining the amplitude of the driving electrical signal of the light-emitting element corresponding to each display area according to the characteristic parameter of each display area, the method further includes: The driving electrical signal is converted into data that can be recognized by the light emitting element driving board.
8. An electronic device, characterized in that: include: One or more processors, a memory, a display screen, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of claims 1 to 7.
Citation Information
Patent Citations
Display signal processing method, display signal processing device and display equipment
CN105208365A
AMLED driving method and device
CN111312154A