Brightness adjustment method and device of display panel, storage medium and electronic equipment
By using a brightness adjustment method that obtains ambient light coefficient, panel light transmittance coefficient, and photosensitive adaptation coefficient, the problem of inaccurate brightness caused by the single data collection method of traditional air conditioner photosensitive display function is solved, thereby improving the accuracy of brightness adjustment and user experience.
Patent Information
- Application Number
- CN202510017966.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-01-06
AI Technical Summary
The existing air conditioner's photosensitive display function collects too little data and is easily affected by environmental factors, resulting in inaccurate brightness adjustment and a degraded user experience.
By acquiring brightness correction data based on ambient light coefficient, panel transmittance coefficient, and photosensitive compatibility coefficient, and taking into account external light intensity, panel aging degree, and user preferences, the brightness of the display panel is corrected.
It improves the accuracy of brightness adjustment, enhances the user experience, and solves the problem of inaccurate brightness adjustment caused by environmental factors in the photosensitive display function of traditional air conditioners.
Smart Images

Figure CN119889197B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioner control, and more specifically, to a method for adjusting the brightness of a display panel, a device for adjusting the brightness of a display panel, a computer-readable storage medium, and an electronic device. Background Technology
[0002] With the development of air conditioning technology and the improvement of people's living standards, intelligent control of air conditioners is being used more and more. Among them, the photosensitive display function of air conditioners has become widespread. Air conditioners use photosensitive sensors to read the brightness parameters of the environment and control the brightness of the display based on the ambient brightness. However, traditional photosensitive display functions have many drawbacks. The data collected is too singular and easily affected by various factors such as time and environment. This directly leads to inaccuracy of the photosensitive display and a decline in the user experience. Summary of the Invention
[0003] The main objective of this application is to provide a brightness adjustment method for a display panel, a brightness adjustment device for a display panel, a computer-readable storage medium, and an electronic device, so as to at least solve the problems of overly simplistic data acquisition and inaccurate brightness of the photosensitive display function in air conditioners in the prior art.
[0004] To achieve the above objectives, according to one aspect of this application, a method for adjusting the brightness of a display panel is provided. The display panel is installed on an air conditioner. The method includes: obtaining a preset display brightness of the display panel, wherein the preset display brightness is the default display brightness of the display panel at the current moment; obtaining brightness correction data, wherein the brightness correction data includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient, wherein the ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user; and correcting the preset display brightness of the display panel using the brightness correction data to obtain a target display brightness of the display panel.
[0005] Optionally, the brightness correction data includes the ambient daylighting coefficient. Obtaining the brightness correction data includes: acquiring multiple actual ambient light intensities within a preset time period, wherein the actual ambient light intensities are the actual ambient light intensity of the air conditioner collected by a photosensitive sensor; calculating the average value of all the actual ambient light intensities to obtain the current average light intensity; calculating the ratio of the current average light intensity to a standard light intensity value to obtain the initial daylighting coefficient; and determining the ambient daylighting coefficient based on the relationship between the initial daylighting coefficient and the lower limit and upper limit of the light intensity threshold, respectively.
[0006] Optionally, determining the ambient daylight factor based on the relationship between the initial daylight factor and the lower limit and upper limit of the light intensity threshold, respectively, includes: determining the initial daylight factor as the ambient daylight factor when the initial daylight factor is less than the lower limit of the light intensity threshold; determining a preset correction value as the ambient daylight factor when the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold; and determining the upper limit of the light intensity threshold as the ambient daylight factor when the initial daylight factor is less than the upper limit of the light intensity threshold.
[0007] Optionally, the brightness correction data includes the panel transmittance coefficient. Obtaining the brightness correction data includes: obtaining the initial transmittance of the display panel and the usage time of the air conditioner, wherein the initial transmittance is at least related to the material of the display panel; and obtaining the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the transmittance coefficient of the panel is determined according to the transmittance coefficient determination formula.
[0008] Optionally, obtaining the initial light transmittance of the display panel includes: obtaining the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, and the panel color of the display panel of the air conditioner; obtaining a target mapping relationship, wherein the target mapping relationship is a mapping relationship between the panel material, the panel processing technology, the panel color, and the panel light transmittance; and determining the initial light transmittance of the display panel of the air conditioner based on the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, the panel color of the display panel of the air conditioner, and the target mapping relationship.
[0009] Optionally, the brightness correction data includes the photosensitive adaptation coefficient. Obtaining the brightness correction data includes: obtaining the user-set initial photosensitive coefficient; if the initial photosensitive coefficient is less than a first photosensitive coefficient, determining the first photosensitive coefficient as the photosensitive adaptation coefficient; if the initial photosensitive coefficient is greater than or equal to the first photosensitive coefficient and less than or equal to a second photosensitive coefficient, determining a preset photosensitive coefficient as the photosensitive adaptation coefficient; and if the initial photosensitive coefficient is greater than the second photosensitive coefficient, determining the initial photosensitive coefficient as the photosensitive adaptation coefficient.
[0010] Optionally, the brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. Correcting the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness includes: obtaining the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient; and correcting the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
[0011] According to another aspect of this application, a brightness adjustment device for a display panel is provided, the display panel being installed on an air conditioner. The device includes: a first acquisition unit, configured to acquire a preset display brightness of the display panel, the preset display brightness being the default display brightness of the display panel at the current moment; a second acquisition unit, configured to acquire brightness correction data, the brightness correction data including at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient, the ambient light coefficient representing the ambient light intensity at the current moment, the panel transmittance coefficient representing the light transmittance of the display panel, and the photosensitive adaptation coefficient representing the display brightness required by the user; and a correction unit, configured to correct the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness of the display panel.
[0012] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform any of the brightness adjustment methods of the display panel described above.
[0013] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, 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, the one or more programs including a brightness adjustment method for performing any of the aforementioned display panels.
[0014] Applying the technical solution of this application, the above-mentioned brightness adjustment method for the display panel first obtains the preset display brightness of the display panel, which is the default display brightness of the display panel at the current moment; then, it obtains brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user; finally, it uses the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel. This method corrects the output display brightness based on the external light intensity, the ambient light coefficient, the panel aging degree, and the user adaptation coefficient, solving the problem that the brightness display control of traditional air conditioners is easily affected by environmental factors, resulting in inaccurate brightness adjustment, and the problem that the photosensitive display function of existing air conditioners collects too little data and the photosensitive display brightness is inaccurate. Attached Figure Description
[0015] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0016] Figure 1 A hardware structure block diagram of a mobile terminal for performing a brightness adjustment method for a display panel, according to an embodiment of this application, is shown.
[0017] Figure 2 A schematic flowchart of a brightness adjustment method for a display panel according to an embodiment of this application is shown.
[0018] Figure 3 A schematic flowchart of another brightness adjustment method for a display panel according to an embodiment of this application is shown;
[0019] Figure 4 A structural block diagram of a brightness adjustment device for a display panel according to an embodiment of this application is shown.
[0020] The above figures include the following reference numerals:
[0021] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation
[0022] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0025] As described in the background section, the automatic brightness display control of traditional air conditioners in the prior art is easily affected by environmental factors, resulting in inaccurate brightness adjustment. In order to solve the problem that the data collected by the photosensitive display function of the air conditioner in the prior art is too simple and the brightness of the photosensitive display is inaccurate, the embodiments of this application provide a brightness adjustment method for a display panel, a brightness adjustment device for a display panel, a computer-readable storage medium, and an electronic device.
[0026] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0027] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a display panel brightness adjustment method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0028] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the brightness adjustment method of the display panel in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-described networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the above-described networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] This embodiment provides a brightness adjustment method for a display panel running on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0030] Figure 2 This is a flowchart of a brightness adjustment method for a display panel according to an embodiment of this application. The display panel is mounted on an air conditioner, such as... Figure 2 As shown, the method includes the following steps:
[0031] Step S201: Obtain the preset display brightness of the display panel, wherein the preset display brightness is the default display brightness of the display panel at the current moment;
[0032] Specifically, the air conditioner's internal software or firmware stores a fixed preset display brightness value. When brightness adjustment is needed, the program first reads this fixed value as the starting point for adjustment. The preset display brightness may be stored in the air conditioner's non-volatile memory (such as EEPROM or flash memory) so that the user's last set brightness value can be retained after a power outage. When the air conditioner starts, the program reads this value from the memory.
[0033] Step S202: Obtain brightness correction data, wherein the brightness correction data includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient, wherein the ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user.
[0034] Specifically, while using a photosensor to collect ambient light intensity, the output display brightness is corrected by comprehensively considering factors including the ambient light coefficient, panel aging level, and user adaptation coefficient. The ambient light coefficient is calculated as the ratio of the current average light intensity to the standard light intensity value; the panel aging level is calculated and converted from the air conditioner's usage time; and the user adaptation coefficient is obtained from user feedback via the app. The display brightness control logic is then used to control the display brightness based on the light intensity collected by the sensor and the aforementioned three correction values.
[0035] The brightness correction data includes the ambient daylight factor. Obtaining the brightness correction data includes the following steps:
[0036] Step S301: Obtain multiple actual ambient light intensities within a preset time period. The actual ambient light intensity is the actual ambient light intensity of the air conditioner as collected by the photosensitive sensor.
[0037] Step S302: Calculate the average value of all the actual ambient light intensities to obtain the current average light intensity;
[0038] Step S303: Calculate the ratio of the current average light intensity to the standard light intensity value to obtain the initial daylight factor;
[0039] Step S304: Determine the ambient daylight factor based on the relationship between the initial daylight factor and the lower limit and upper limit of the light intensity threshold, respectively.
[0040] Specifically, this allows for the accurate determination of the ambient light coefficient, which is then used to correct the brightness of the air conditioner's display panel. This can solve the problems of inaccurate photosensitive data collection caused by poor ambient lighting angles and dirty panels.
[0041] The preset time period is the period from when the air conditioner is turned on to the current time, that is, the current average light intensity is the average of all light intensities collected from when the air conditioner is turned on to the current time.
[0042] In some instances, after the air conditioner is turned on, it collects the ambient light intensity β through a photosensitive sensor (the collection frequency is determined by the main loop running time of the program; each main loop performs AD sampling once and records the sampling results to a temporary array). It calculates and records the average light intensity Da_β for that hour once per hour and records it to the memory chip. After the air conditioner turns on the automatic brightness adjustment function, it reads all the average light intensities Da_β from the memory chip and determines the average value of all the average light intensities Da_β as the current average light intensity.
[0043] In some cases, it is not necessary to record the average light intensity per hour; instead, the average value of all average ambient light intensities collected over a preset time period can be directly calculated.
[0044] The determination of the ambient daylight factor, based on the relationship between the initial daylight factor and the lower and upper limits of the light intensity threshold, includes the following steps:
[0045] Step S3031: If the initial daylight factor is less than the lower limit of the light intensity threshold, the initial daylight factor is determined as the ambient daylight factor.
[0046] Step S3032: If the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold, a preset correction value is determined as the ambient daylight factor; the preset correction value is 1.
[0047] Step S3033: If the initial daylight factor is less than the upper limit of the light intensity threshold, the upper limit of the light intensity threshold is determined as the ambient daylight factor.
[0048] Specifically, this approach comprehensively considers the impact of weather, time, and other factors on indoor light intensity. The initial daylight factor e = Da_β / Z, where Z is the standard light intensity value measured in the laboratory. The ratio of the current average ambient light intensity to the standard light intensity value is used as a weighted value to correct the display brightness. If the initial daylight factor e is lower than the lower limit of the comfortable light intensity threshold f1 (i.e., the lower limit of the light intensity threshold), it indicates poor ambient lighting, requiring adjustment of the display brightness based on the ambient lighting conditions. In this case, the initial daylight factor e is determined as the ambient daylight factor E, which is corrected according to the current environment. If the initial daylight factor e is between the comfortable light intensity [f1, f2] (i.e., between the lower and upper limits of the light intensity threshold), it indicates suitable ambient lighting, and the ambient daylight factor E = 1, requiring no correction. If the initial daylight factor e is higher than the upper limit of the comfortable light intensity threshold f2 (i.e., the upper limit of the light intensity threshold), it indicates that the environment is too bright, and the ambient daylight factor E = f2, at which point the ambient daylight factor reaches its upper limit.
[0049] In addition, light intensity is usually measured in lux. For bedrooms, the suitable light intensity range is generally between 100 lux and 300 lux. In actual programs, the values of f1 and f2 are also around this range, that is, the lower limit of the light intensity threshold is around 100 lux and the upper limit of the light intensity threshold is around 300 lux.
[0050] The brightness correction data includes the panel transmittance coefficient. Obtaining the brightness correction data includes the following steps:
[0051] Step S401: Obtain the initial light transmittance of the display panel and the usage time of the air conditioner. The initial light transmittance is at least related to the material of the display panel.
[0052] Obtaining the initial transmittance of the display panel includes the following steps:
[0053] Step S4011: Obtain the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, and the panel color of the display panel of the air conditioner;
[0054] Step S4012: Obtain the target mapping relationship, which is the mapping relationship between the panel material, the panel processing technology, the panel color and the panel transmittance.
[0055] Step S4013: Determine the initial light transmittance of the display panel of the air conditioner based on the material of the display panel, the processing technology of the display panel, the panel color of the display panel, and the target mapping relationship.
[0056] Specifically, by comprehensively considering the impact of factors such as the material, processing technology, and color of the display panel on its light transmittance, a more accurate light transmittance can be calculated. Different panel materials have different light transmittance, different panel processing technologies (spraying, frosting, engraving, multi-layer spraying, etc.) also have different light transmittance, and different panel colors also have different light transmittance.
[0057] Step S402: Obtain the formula for determining the light transmittance. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant;
[0058] Step S403: Determine the light transmittance coefficient of the panel according to the light transmittance coefficient determination formula.
[0059] Specifically, this solves the problem of inaccurate photosensitivity caused by panel and mask aging after prolonged use. Since air conditioner panels are mostly injection-molded, their light transmittance gradually decreases over time due to aging, UV exposure, and other factors. The attenuation constant represents the rate of decrease in light transmittance over time; e is the base of the natural logarithm, approximately 2.71828, and t is the cumulative usage time of the air conditioner. The formula for determining the light transmittance coefficient shows that the panel's light transmittance decays exponentially with time. Therefore, S can also be referred to as the panel's aging degree and used as a weighted value for correcting display brightness.
[0060] The brightness correction data includes the photosensitive adaptation coefficient. Obtaining the brightness correction data includes the following steps:
[0061] Step S501: Obtain the initial photosensitivity coefficient set by the user;
[0062] Step S502: If the initial photosensitivity coefficient is less than the first photosensitivity coefficient, the first photosensitivity coefficient is determined as the photosensitivity adaptation coefficient.
[0063] Step S503: If the initial photosensitivity coefficient is greater than or equal to the first photosensitivity coefficient and less than or equal to the second photosensitivity coefficient, the preset photosensitivity coefficient is determined as the photosensitivity adaptation coefficient.
[0064] Step S504: If the initial photosensitivity coefficient is greater than the second photosensitivity coefficient, the initial photosensitivity coefficient is determined as the photosensitivity adaptation coefficient.
[0065] Specifically, this can solve the problem of poor experience caused by the mismatch between the program settings and the user's habits. Since everyone has different sensitivities to light intensity, simply using the environmental lighting coefficient and the panel light transmittance coefficient to correct the display brightness of the panel may still not conform to the user's usage habits. Therefore, a photosensitive adaptation coefficient A is added. The user can input the current light intensity experience of being too dark or too bright on the mobile phone APP in the form of a percentage slider. The darker the user feels the display is, the larger the A value is, and the brighter, the smaller the A value is. The air conditioner controller communicates with the user's mobile phone through the WiFi module to obtain the photosensitive adaptation coefficient A feedback by the user and uses it to correct the display brightness.
[0066] In some embodiments, the percentage slider slid by the user on the mobile phone corresponds to a display brightness of 0% to 150%, that is, the initial photosensitive coefficient a feedback by the user's mobile phone takes values in [0, 1.5]. When the user feedbacks that a < A1 (the first photosensitive coefficient), the photosensitive adaptation coefficient A = A1, and A1 takes a value of about 0.6. That is, when the user feels that the display brightness is too bright and hopes to be as dark as possible, but only allows the user to set the lowest brightness to 60% at most, to prevent the user from setting it too low and resulting in a poor display effect during the day. When the user sets the initial photosensitive coefficient a lower than A1, a prompt "Do you want to turn off the light?" will pop up on the mobile phone APP side to facilitate the user to decide whether to turn off the display. When the user feedbacks that the initial photosensitive coefficient a > A2 (the second photosensitive coefficient), A = a, and A2 takes a value around 1.1. That is, when the user feels that the display is darker and hopes to increase the brightness, the maximum value of A is 1.5, that is, 150% display brightness. When the user feedbacks that the initial photosensitive coefficient a is between A1 and A2, the program determines that the display brightness is still executed according to 100%.
[0067] Step S203, use the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel.
[0068] Specifically, this can solve the problem that the traditional air conditioner automatic brightness display control is easily affected by environmental factors, resulting in inaccurate brightness adjustment, and improves the user's usage experience.
[0069] Among them, the brightness correction data includes the environmental lighting coefficient, the panel light transmittance coefficient, and the photosensitive adaptation coefficient. Using the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel includes the following steps:
[0070] Step S2031, obtain the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the environmental lighting coefficient, A is the photosensitive adaptation coefficient, and S is the panel light transmittance coefficient;
[0071] Step S2032: The preset display brightness of the display panel is corrected using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
[0072] Specifically, based on the above correction values, a data model is finally established for the target display brightness X, ambient light coefficient, panel aging degree, and user experience value. The correction formula is X=X0×E×A×S. This formula indicates that the brighter the ambient light, the darker the user's perception, and the higher the panel aging degree (the lower the light transmittance), the brighter the display output brightness should be.
[0073] The brightness adjustment method for the display panel described in this application first obtains the preset display brightness of the display panel, which is the default display brightness of the display panel at the current moment. Then, it obtains brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user. Finally, the preset display brightness of the display panel is corrected using the brightness correction data to obtain the target display brightness of the display panel. This method corrects the output display brightness based on the external light intensity, considering the ambient light coefficient, panel aging degree, and user adaptation coefficient. It solves the problem that traditional air conditioner brightness display control is easily affected by environmental factors, resulting in inaccurate brightness adjustment, and addresses the problem that the photosensitive display function of existing air conditioners collects too little data and has inaccurate brightness.
[0074] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the brightness adjustment method of the display panel of this application will be described in detail below with reference to specific embodiments.
[0075] This embodiment relates to a specific method for adjusting the brightness of a display panel, such as... Figure 3 As shown, it includes the following steps:
[0076] Step S1: First, enable the automatic brightness control function. Then, use AD sampling to obtain the current ambient light intensity β, and read the current average light intensity Da_β and the cumulative air conditioning usage time t from the memory chip. Then, use the WiFi module to obtain the photosensitive adaptation coefficient A, light intensity standard value Z and panel factory transmittance S0 set on the user's APP.
[0077] Step S2: Calculate the initial daylight factor and panel aging degree;
[0078] Step S3: If the initial daylight factor is less than the lower limit of the light intensity threshold, the initial daylight factor is determined as the ambient daylight factor; if the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold, a preset correction value is determined as the ambient daylight factor; if the initial daylight factor is less than the upper limit of the light intensity threshold, the upper limit of the light intensity threshold is determined as the ambient daylight factor.
[0079] Step S4: If the initial photosensitivity coefficient is less than the first photosensitivity coefficient, the first photosensitivity coefficient is determined as the photosensitivity adaptation coefficient; if the initial photosensitivity coefficient is greater than or equal to the first photosensitivity coefficient and less than or equal to the second photosensitivity coefficient, the preset photosensitivity coefficient is determined as the photosensitivity adaptation coefficient; if the initial photosensitivity coefficient is greater than the second photosensitivity coefficient, the initial photosensitivity coefficient is determined as the photosensitivity adaptation coefficient.
[0080] Step S5: Calculate the target display brightness of the display panel according to the modified formula X=X0×E×A×S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient.
[0081] This application also provides a brightness adjustment device for a display panel. It should be noted that the brightness adjustment device for the display panel in this application can be used to execute the brightness adjustment method for a display panel provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0082] The brightness adjustment device for the display panel provided in the embodiments of this application will be described below.
[0083] Figure 4 This is a schematic diagram of a brightness adjustment device for a display panel according to an embodiment of this application. The aforementioned display panel is mounted on an air conditioner, such as... Figure 4As shown, the device includes a first acquisition unit 10, a second acquisition unit 20, and a correction unit 30. The first acquisition unit 10 is used to acquire the preset display brightness of the display panel, which is the default display brightness of the display panel at the current moment. The second acquisition unit 20 is used to acquire brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user. The correction unit 30 is used to correct the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness of the display panel.
[0084] The brightness adjustment device for the display panel described in this application includes a first acquisition unit, a second acquisition unit, and a correction unit. The first acquisition unit acquires the preset display brightness of the display panel, which is the default display brightness of the display panel at the current moment. The second acquisition unit acquires brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user. The correction unit uses the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel. This device corrects the output display brightness based on the ambient light intensity, the ambient light coefficient, the panel aging degree, and the user adaptation coefficient, solving the problem that traditional air conditioner brightness display control is easily affected by environmental factors, resulting in inaccurate brightness adjustment, and the problem that the photosensitive display function of existing air conditioners collects too little data and the photosensitive display brightness is inaccurate.
[0085] In some embodiments, the brightness correction data includes the ambient light coefficient. The second acquisition unit includes a first acquisition module, a first calculation module, a second calculation module, and a first determination module. The first acquisition module is used to acquire multiple actual ambient light intensities within a preset time period. The actual ambient light intensity is the actual ambient light intensity of the air conditioner as collected by the photosensitive sensor. The first calculation module is used to calculate the average value of all the actual ambient light intensities to obtain the current average light intensity. The second calculation module is used to calculate the ratio of the current average light intensity to the standard light intensity value to obtain the initial light coefficient. The first determination module is used to determine the ambient light coefficient based on the relationship between the initial light coefficient and the lower limit and upper limit of the light intensity threshold, respectively. This allows for accurate determination of the ambient light coefficient. Using the ambient light coefficient to correct the brightness of the air conditioner's display panel can solve the problems of inaccurate photosensitive acquisition caused by poor ambient lighting angles and panel dirt.
[0086] In some embodiments, the first determining module includes a first determining submodule, a second determining submodule, and a third determining submodule. The first determining submodule is used to determine the initial daylight factor as the ambient daylight factor when the initial daylight factor is less than the lower limit of the light intensity threshold. The second determining submodule is used to determine a preset correction value as the ambient daylight factor when the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold. The third determining submodule is used to determine the upper limit of the light intensity threshold as the ambient daylight factor when the initial daylight factor is less than the upper limit of the light intensity threshold. This allows for a comprehensive consideration of the influence of weather, time, and other factors on indoor light intensity.
[0087] In some embodiments, the brightness correction data includes the panel transmittance coefficient. The second acquisition unit includes a second acquisition module, a third acquisition module, and a second determination module. The second acquisition module is used to acquire the initial transmittance of the display panel and the usage time of the air conditioner. The initial transmittance is at least related to the material of the display panel. The third acquisition module is used to acquire the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the second determining module is used to determine the transmittance coefficient of the panel according to the transmittance coefficient determination formula. This can solve the problem of inaccurate photosensitivity caused by panel and mask aging after long-term use.
[0088] In some embodiments, the second acquisition module includes a first acquisition submodule, a second acquisition submodule, and a fourth determination submodule. The first acquisition submodule is used to acquire the material of the air conditioner's display panel, the manufacturing process of the air conditioner's display panel, and the panel color of the air conditioner's display panel. The second acquisition submodule is used to acquire a target mapping relationship, which is a mapping relationship between the panel material, the panel manufacturing process, the panel color, and the panel's light transmittance. The fourth determination submodule is used to determine the initial light transmittance of the air conditioner's display panel based on the material of the air conditioner's display panel, the manufacturing process of the air conditioner's display panel, the panel color of the air conditioner's display panel, and the target mapping relationship. By comprehensively considering the influence of factors such as the display panel's material, manufacturing process, and panel color on the panel's light transmittance, a more accurate panel light transmittance can be calculated.
[0089] In some embodiments, the brightness correction data includes the photosensitive adaptation coefficient. The second acquisition unit includes a fourth acquisition module, a third determination module, and a fourth determination module. The fourth acquisition module is used to acquire the initial photosensitive coefficient set by the user. The third determination module is used to determine the first photosensitive coefficient as the photosensitive adaptation coefficient when the initial photosensitive coefficient is less than the first photosensitive coefficient; and to determine a preset photosensitive coefficient as the photosensitive adaptation coefficient when the initial photosensitive coefficient is greater than or equal to the first photosensitive coefficient and less than or equal to the second photosensitive coefficient. The fourth determination module is used to determine the initial photosensitive coefficient as the photosensitive adaptation coefficient when the initial photosensitive coefficient is greater than the second photosensitive coefficient. This can solve the problem of poor user experience caused by incompatibility between program settings and user habits.
[0090] In some embodiments, the brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. The correction unit includes a fifth acquisition module and a correction module. The fifth acquisition module is used to acquire the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient. The correction module is used to correct the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel. This ultimately establishes a data model of the target display brightness X with respect to the ambient light coefficient, panel aging degree, and user experience value.
[0091] The brightness adjustment device of the display panel includes a processor and a memory. The aforementioned first acquisition unit and others are all stored as program units in the memory, and the processor executes the aforementioned program units stored in the memory to achieve the corresponding functions. All of the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0092] The processor contains a kernel, which retrieves the corresponding program unit from memory. One or more kernels can be configured, and adjusting kernel parameters can address the problems of overly simplistic data acquisition and inaccurate brightness in the photosensitivity display function of existing air conditioners.
[0093] The memory may include non-permanent memory in computer-readable media, such as 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.
[0094] This invention provides a computer-readable storage medium including a stored program, wherein the program, when running, controls the device containing the computer-readable storage medium to execute a brightness adjustment method for the display panel.
[0095] Specifically, the brightness adjustment methods for the display panel include:
[0096] Step S201: Obtain the preset display brightness of the display panel, wherein the preset display brightness is the default display brightness of the display panel at the current moment;
[0097] Specifically, the air conditioner's internal software or firmware stores a fixed preset display brightness value. When brightness adjustment is needed, the program first reads this fixed value as the starting point for adjustment. The preset display brightness may be stored in the air conditioner's non-volatile memory (such as EEPROM or flash memory) so that the user's last set brightness value can be retained after a power outage. When the air conditioner starts, the program reads this value from the memory.
[0098] Step S202: Obtain brightness correction data, wherein the brightness correction data includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient, wherein the ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user.
[0099] Specifically, while using a photosensor to collect ambient light intensity, the output display brightness is corrected by comprehensively considering factors including the ambient light coefficient, panel aging level, and user adaptation coefficient. The ambient light coefficient is calculated as the ratio of the current average light intensity to the standard light intensity value; the panel aging level is calculated and converted from the air conditioner's usage time; and the user adaptation coefficient is obtained from user feedback via the app. The display brightness control logic is then used to control the display brightness based on the light intensity collected by the sensor and the aforementioned three correction values.
[0100] Step S203: Use the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel.
[0101] Specifically, this solves the problem that the automatic brightness display control of traditional air conditioners is easily affected by environmental factors, resulting in inaccurate brightness adjustment and improving the user experience.
[0102] Optionally, the brightness correction data includes the ambient daylighting coefficient. Obtaining the brightness correction data includes: acquiring multiple actual ambient light intensities within a preset time period, wherein the actual ambient light intensities are the actual ambient light intensity of the air conditioner collected by a photosensitive sensor; calculating the average value of all the actual ambient light intensities to obtain the current average light intensity; calculating the ratio of the current average light intensity to a standard light intensity value to obtain the initial daylighting coefficient; and determining the ambient daylighting coefficient based on the relationship between the initial daylighting coefficient and the lower limit and upper limit of the light intensity threshold, respectively.
[0103] Optionally, determining the ambient daylight factor based on the relationship between the initial daylight factor and the lower limit and upper limit of the light intensity threshold, respectively, includes: determining the initial daylight factor as the ambient daylight factor when the initial daylight factor is less than the lower limit of the light intensity threshold; determining a preset correction value as the ambient daylight factor when the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold; and determining the upper limit of the light intensity threshold as the ambient daylight factor when the initial daylight factor is less than the upper limit of the light intensity threshold.
[0104] Optionally, the brightness correction data includes the panel transmittance coefficient. Obtaining the brightness correction data includes: obtaining the initial transmittance of the display panel and the usage time of the air conditioner, wherein the initial transmittance is at least related to the material of the display panel; and obtaining the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the transmittance coefficient of the panel is determined according to the transmittance coefficient determination formula.
[0105] Optionally, obtaining the initial light transmittance of the display panel includes: obtaining the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, and the panel color of the display panel of the air conditioner; obtaining a target mapping relationship, wherein the target mapping relationship is a mapping relationship between the panel material, the panel processing technology, the panel color, and the panel light transmittance; and determining the initial light transmittance of the display panel of the air conditioner based on the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, the panel color of the display panel of the air conditioner, and the target mapping relationship.
[0106] Optionally, the brightness correction data includes the photosensitive adaptation coefficient. Obtaining the brightness correction data includes: obtaining the user-set initial photosensitive coefficient; if the initial photosensitive coefficient is less than a first photosensitive coefficient, determining the first photosensitive coefficient as the photosensitive adaptation coefficient; if the initial photosensitive coefficient is greater than or equal to the first photosensitive coefficient and less than or equal to a second photosensitive coefficient, determining a preset photosensitive coefficient as the photosensitive adaptation coefficient; and if the initial photosensitive coefficient is greater than the second photosensitive coefficient, determining the initial photosensitive coefficient as the photosensitive adaptation coefficient.
[0107] Optionally, the brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. Correcting the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness includes: obtaining the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient; and correcting the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
[0108] This invention provides a processor for running a program, wherein the program executes a brightness adjustment method for the display panel.
[0109] Specifically, the brightness adjustment methods for the display panel include:
[0110] Step S201: Obtain the preset display brightness of the display panel, wherein the preset display brightness is the default display brightness of the display panel at the current moment;
[0111] Specifically, the air conditioner's internal software or firmware stores a fixed preset display brightness value. When brightness adjustment is needed, the program first reads this fixed value as the starting point for adjustment. The preset display brightness may be stored in the air conditioner's non-volatile memory (such as EEPROM or flash memory) so that the user's last set brightness value can be retained after a power outage. When the air conditioner starts, the program reads this value from the memory.
[0112] Step S202: Obtain brightness correction data, wherein the brightness correction data includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient, wherein the ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user.
[0113] Specifically, while using a photosensor to collect ambient light intensity, the output display brightness is corrected by comprehensively considering factors including the ambient light coefficient, panel aging level, and user adaptation coefficient. The ambient light coefficient is calculated as the ratio of the current average light intensity to the standard light intensity value; the panel aging level is calculated and converted from the air conditioner's usage time; and the user adaptation coefficient is obtained from user feedback via the app. The display brightness control logic is then used to control the display brightness based on the light intensity collected by the sensor and the aforementioned three correction values.
[0114] Step S203: Use the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel.
[0115] Specifically, this solves the problem that the automatic brightness display control of traditional air conditioners is easily affected by environmental factors, resulting in inaccurate brightness adjustment and improving the user experience.
[0116] Optionally, the brightness correction data includes the ambient daylighting coefficient. Obtaining the brightness correction data includes: acquiring multiple actual ambient light intensities within a preset time period, wherein the actual ambient light intensities are the actual ambient light intensity of the air conditioner collected by a photosensitive sensor; calculating the average value of all the actual ambient light intensities to obtain the current average light intensity; calculating the ratio of the current average light intensity to a standard light intensity value to obtain the initial daylighting coefficient; and determining the ambient daylighting coefficient based on the relationship between the initial daylighting coefficient and the lower limit and upper limit of the light intensity threshold, respectively.
[0117] Optionally, determining the ambient daylight factor based on the relationship between the initial daylight factor and the lower limit and upper limit of the light intensity threshold, respectively, includes: determining the initial daylight factor as the ambient daylight factor when the initial daylight factor is less than the lower limit of the light intensity threshold; determining a preset correction value as the ambient daylight factor when the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold; and determining the upper limit of the light intensity threshold as the ambient daylight factor when the initial daylight factor is less than the upper limit of the light intensity threshold.
[0118] Optionally, the brightness correction data includes the panel transmittance coefficient. Obtaining the brightness correction data includes: obtaining the initial transmittance of the display panel and the usage time of the air conditioner, wherein the initial transmittance is at least related to the material of the display panel; and obtaining the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the transmittance coefficient of the panel is determined according to the transmittance coefficient determination formula.
[0119] Optionally, obtaining the initial light transmittance of the display panel includes: obtaining the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, and the panel color of the display panel of the air conditioner; obtaining a target mapping relationship, wherein the target mapping relationship is a mapping relationship between the panel material, the panel processing technology, the panel color, and the panel light transmittance; and determining the initial light transmittance of the display panel of the air conditioner based on the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, the panel color of the display panel of the air conditioner, and the target mapping relationship.
[0120] Optionally, the brightness correction data includes the photosensitive adaptation coefficient. Obtaining the brightness correction data includes: obtaining the user-set initial photosensitive coefficient; if the initial photosensitive coefficient is less than a first photosensitive coefficient, determining the first photosensitive coefficient as the photosensitive adaptation coefficient; if the initial photosensitive coefficient is greater than or equal to the first photosensitive coefficient and less than or equal to a second photosensitive coefficient, determining a preset photosensitive coefficient as the photosensitive adaptation coefficient; and if the initial photosensitive coefficient is greater than the second photosensitive coefficient, determining the initial photosensitive coefficient as the photosensitive adaptation coefficient.
[0121] Optionally, the brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. Correcting the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness includes: obtaining the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient; and correcting the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
[0122] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:
[0123] Step S201: Obtain the preset display brightness of the display panel, wherein the preset display brightness is the default display brightness of the display panel at the current moment;
[0124] Step S202: Obtain brightness correction data, wherein the brightness correction data includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient, wherein the ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user.
[0125] Step S203: Use the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel.
[0126] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.
[0127] Optionally, the brightness correction data includes the ambient daylighting coefficient. Obtaining the brightness correction data includes: acquiring multiple actual ambient light intensities within a preset time period, wherein the actual ambient light intensities are the actual ambient light intensity of the air conditioner collected by a photosensitive sensor; calculating the average value of all the actual ambient light intensities to obtain the current average light intensity; calculating the ratio of the current average light intensity to a standard light intensity value to obtain the initial daylighting coefficient; and determining the ambient daylighting coefficient based on the relationship between the initial daylighting coefficient and the lower limit and upper limit of the light intensity threshold, respectively.
[0128] Optionally, determining the ambient daylight factor based on the relationship between the initial daylight factor and the lower limit and upper limit of the light intensity threshold, respectively, includes: determining the initial daylight factor as the ambient daylight factor when the initial daylight factor is less than the lower limit of the light intensity threshold; determining a preset correction value as the ambient daylight factor when the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold; and determining the upper limit of the light intensity threshold as the ambient daylight factor when the initial daylight factor is less than the upper limit of the light intensity threshold.
[0129] Optionally, the brightness correction data includes the panel transmittance coefficient. Obtaining the brightness correction data includes: obtaining the initial transmittance of the display panel and the usage time of the air conditioner, wherein the initial transmittance is at least related to the material of the display panel; and obtaining the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the transmittance coefficient of the panel is determined according to the transmittance coefficient determination formula.
[0130] Optionally, obtaining the initial light transmittance of the display panel includes: obtaining the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, and the panel color of the display panel of the air conditioner; obtaining a target mapping relationship, wherein the target mapping relationship is a mapping relationship between the panel material, the panel processing technology, the panel color, and the panel light transmittance; and determining the initial light transmittance of the display panel of the air conditioner based on the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, the panel color of the display panel of the air conditioner, and the target mapping relationship.
[0131] Optionally, the brightness correction data includes the photosensitive adaptation coefficient. Obtaining the brightness correction data includes: obtaining the user-set initial photosensitive coefficient; if the initial photosensitive coefficient is less than a first photosensitive coefficient, determining the first photosensitive coefficient as the photosensitive adaptation coefficient; if the initial photosensitive coefficient is greater than or equal to the first photosensitive coefficient and less than or equal to a second photosensitive coefficient, determining a preset photosensitive coefficient as the photosensitive adaptation coefficient; and if the initial photosensitive coefficient is greater than the second photosensitive coefficient, determining the initial photosensitive coefficient as the photosensitive adaptation coefficient.
[0132] Optionally, the brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. Correcting the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness includes: obtaining the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient; and correcting the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
[0133] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:
[0134] Step S201: Obtain the preset display brightness of the display panel, wherein the preset display brightness is the default display brightness of the display panel at the current moment;
[0135] Step S202: Obtain brightness correction data, wherein the brightness correction data includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient, wherein the ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user.
[0136] Step S203: Use the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel.
[0137] Optionally, the brightness correction data includes the ambient daylighting coefficient. Obtaining the brightness correction data includes: acquiring multiple actual ambient light intensities within a preset time period, wherein the actual ambient light intensities are the actual ambient light intensity of the air conditioner collected by a photosensitive sensor; calculating the average value of all the actual ambient light intensities to obtain the current average light intensity; calculating the ratio of the current average light intensity to a standard light intensity value to obtain the initial daylighting coefficient; and determining the ambient daylighting coefficient based on the relationship between the initial daylighting coefficient and the lower limit and upper limit of the light intensity threshold, respectively.
[0138] Optionally, determining the ambient daylight factor based on the relationship between the initial daylight factor and the lower limit and upper limit of the light intensity threshold, respectively, includes: determining the initial daylight factor as the ambient daylight factor when the initial daylight factor is less than the lower limit of the light intensity threshold; determining a preset correction value as the ambient daylight factor when the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold; and determining the upper limit of the light intensity threshold as the ambient daylight factor when the initial daylight factor is less than the upper limit of the light intensity threshold.
[0139] Optionally, the brightness correction data includes the panel transmittance coefficient. Obtaining the brightness correction data includes: obtaining the initial transmittance of the display panel and the usage time of the air conditioner, wherein the initial transmittance is at least related to the material of the display panel; and obtaining the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the transmittance coefficient of the panel is determined according to the transmittance coefficient determination formula.
[0140] Optionally, obtaining the initial light transmittance of the display panel includes: obtaining the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, and the panel color of the display panel of the air conditioner; obtaining a target mapping relationship, wherein the target mapping relationship is a mapping relationship between the panel material, the panel processing technology, the panel color, and the panel light transmittance; and determining the initial light transmittance of the display panel of the air conditioner based on the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, the panel color of the display panel of the air conditioner, and the target mapping relationship.
[0141] Optionally, the brightness correction data includes the photosensitive adaptation coefficient. Obtaining the brightness correction data includes: obtaining the user-set initial photosensitive coefficient; if the initial photosensitive coefficient is less than a first photosensitive coefficient, determining the first photosensitive coefficient as the photosensitive adaptation coefficient; if the initial photosensitive coefficient is greater than or equal to the first photosensitive coefficient and less than or equal to a second photosensitive coefficient, determining a preset photosensitive coefficient as the photosensitive adaptation coefficient; and if the initial photosensitive coefficient is greater than the second photosensitive coefficient, determining the initial photosensitive coefficient as the photosensitive adaptation coefficient.
[0142] Optionally, the brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. Correcting the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness includes: obtaining the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient; and correcting the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
[0143] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0144] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0145] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0146] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0147] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0148] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0149] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0150] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0151] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0152] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0153] 1) The brightness adjustment method for the display panel described in this application first obtains the preset display brightness of the display panel, which is the default display brightness of the display panel at the current moment; then, it obtains brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user; finally, it uses the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel. This method corrects the output display brightness based on the external light intensity, the ambient light coefficient, the panel aging degree, and the user adaptation coefficient, solving the problem that the brightness display control of traditional air conditioners is easily affected by environmental factors, resulting in inaccurate brightness adjustment, and the problem that the photosensitive display function of existing air conditioners collects too little data and the photosensitive display brightness is inaccurate.
[0154] 2) The brightness adjustment device for the display panel described in this application includes a first acquisition unit, a second acquisition unit, and a correction unit. The first acquisition unit acquires the preset display brightness of the display panel, which is the default display brightness of the display panel at the current moment. The second acquisition unit acquires brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user. The correction unit uses the brightness correction data to correct the preset display brightness of the display panel to obtain the target display brightness of the display panel. This device corrects the output display brightness based on the ambient light intensity, the ambient light coefficient, the panel aging degree, and the user adaptation coefficient, solving the problem that the brightness display control of traditional air conditioners is easily affected by environmental factors, resulting in inaccurate brightness adjustment, and the problem that the photosensitive display function of existing air conditioners collects too little data and the photosensitive display brightness is inaccurate.
[0155] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for adjusting the brightness of a display panel, characterized in that, The display panel is mounted on the air conditioner, and the method includes: Obtain the preset display brightness of the display panel, where the preset display brightness is the default display brightness of the display panel at the current moment; Obtain brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user. The preset display brightness of the display panel is corrected using the brightness correction data to obtain the target display brightness of the display panel. The brightness correction data includes the ambient daylight factor. Obtaining the brightness correction data includes: acquiring multiple actual ambient light intensities within a preset time period, where the actual ambient light intensity is the actual ambient light intensity of the air conditioner as collected by a photosensor; calculating the average of all the actual ambient light intensities to obtain the current average light intensity; calculating the ratio of the current average light intensity to a standard light intensity value to obtain the initial daylight factor; and determining the ambient daylight factor based on the relationship between the initial daylight factor and the lower and upper limits of the light intensity threshold. The brightness correction data includes the panel transmittance coefficient. Obtaining the brightness correction data includes: obtaining the initial transmittance of the display panel and the usage time of the air conditioner, wherein the initial transmittance is at least related to the material of the display panel; and obtaining the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the transmittance of the panel is determined according to the transmittance coefficient determination formula. The brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. The preset display brightness of the display panel is corrected using the brightness correction data to obtain the target display brightness of the display panel. This includes: obtaining the correction formula X = X0 × E × A × S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient; and correcting the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
2. The method according to claim 1, characterized in that, The ambient daylight factor is determined based on the relationship between the initial daylight factor and the lower and upper limits of the light intensity threshold, respectively, including: If the initial daylight factor is less than the lower limit of the light intensity threshold, the initial daylight factor is determined as the ambient daylight factor. If the initial daylight factor is greater than or equal to the lower limit of the light intensity threshold and less than or equal to the upper limit of the light intensity threshold, the preset correction value is determined as the ambient daylight factor. If the initial daylight factor is less than the upper limit of the light intensity threshold, the upper limit of the light intensity threshold is determined as the ambient daylight factor.
3. The method according to claim 1, characterized in that, Obtaining the initial transmittance of the display panel includes: Obtain the material of the display panel of the air conditioner, the processing technology of the display panel of the air conditioner, and the panel color of the display panel of the air conditioner; Obtain the target mapping relationship, which is the mapping relationship between the panel material, the panel processing technology, the panel color and the panel light transmittance. The initial light transmittance of the air conditioner's display panel is determined based on the material of the display panel, the manufacturing process of the display panel, the panel color of the display panel, and the target mapping relationship.
4. The method according to claim 1, characterized in that, The brightness correction data includes the photosensitive adaptation coefficient. Obtaining the brightness correction data includes: Obtain the initial photosensitivity coefficient set by the user; If the initial photosensitivity coefficient is less than the first photosensitivity coefficient, the first photosensitivity coefficient is determined as the photosensitivity adaptation coefficient. If the initial photosensitivity coefficient is greater than or equal to the first photosensitivity coefficient and less than or equal to the second photosensitivity coefficient, the preset photosensitivity coefficient is determined as the photosensitivity adaptation coefficient. If the initial photosensitivity coefficient is greater than the second photosensitivity coefficient, the initial photosensitivity coefficient is determined as the photosensitivity adaptation coefficient.
5. A brightness adjustment device for a display panel, characterized in that, The display panel is mounted on the air conditioner, and the device includes: The first acquisition unit is used to acquire the preset display brightness of the display panel, wherein the preset display brightness is the default display brightness of the display panel at the current moment; The second acquisition unit is used to acquire brightness correction data, which includes at least one of the following: ambient light coefficient, panel transmittance coefficient, and photosensitive adaptation coefficient. The ambient light coefficient represents the ambient light intensity at the current moment, the panel transmittance coefficient represents the light transmittance of the display panel, and the photosensitive adaptation coefficient represents the display brightness required by the user. The correction unit is used to correct the preset display brightness of the display panel using the brightness correction data to obtain the target display brightness of the display panel. The brightness correction data includes the ambient daylight factor. The second acquisition unit includes a first acquisition module, a first calculation module, a second calculation module, and a first determination module. The first acquisition module is used to acquire multiple actual ambient light intensities within a preset time period. The actual ambient light intensity is the actual ambient light intensity of the air conditioner as collected by a photosensor. The first calculation module is used to calculate the average value of all the actual ambient light intensities to obtain the current average light intensity. The second calculation module is used to calculate the ratio of the current average light intensity to a standard light intensity value to obtain the initial daylight factor. The first determination module is used to determine the ambient daylight factor based on the relationship between the initial daylight factor and the lower and upper limits of the light intensity threshold, respectively. The brightness correction data includes the panel transmittance coefficient. The second acquisition unit includes a second acquisition module, a third acquisition module, and a second determination module. The second acquisition module is used to acquire the initial transmittance of the display panel and the usage time of the air conditioner. The initial transmittance is at least related to the material of the display panel. The third acquisition module is used to acquire the transmittance coefficient determination formula. Where S is the brightness correction data, S0 is the initial transmittance of the display panel, t is the usage time of the air conditioner, and k is the attenuation constant; the second determining module is used to determine the transmittance coefficient of the panel according to the transmittance coefficient determination formula. The brightness correction data includes the ambient light coefficient, the panel transmittance coefficient, and the photosensitive adaptation coefficient. The correction unit includes a fifth acquisition module and a correction module. The fifth acquisition module is used to acquire the correction formula X=X0×E×A×S, where X is the target display brightness, X0 is the preset display brightness, E is the ambient light coefficient, A is the photosensitive adaptation coefficient, and S is the panel transmittance coefficient. The correction module is used to correct the preset display brightness of the display panel using the correction formula and the brightness correction data to obtain the target display brightness of the display panel.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the brightness adjustment method of the display panel according to any one of claims 1 to 4.
7. An electronic device, characterized in that, include: One or more processors, a memory, 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, the one or more programs including a method for performing a brightness adjustment of a display panel as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Brightness correction device and brightness correction method
CN102177709A
Rapid regulation method for screen backlight brightness and mobile terminal
CN102946459A