Brightness adjusting method, brightness adjusting device and storage medium

Through multi-point acquisition and adjustment of the ambient light brightness range, and gradually adjusting the brightness of the display panel, the sampling error and visual fatigue problems of brightness adjustment in the prior art are solved, and a more accurate and comfortable brightness adjustment effect is achieved.

CN118942357APending Publication Date: 2024-11-12XIAN QINGSONG PHOTOELECTRIC TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310493518.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-04
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The brightness adjustment method of the existing display panel has a single ambient light brightness sampling position, which leads to sampling errors. When the current brightness is large and the target brightness is different, the adjustment is too sudden, resulting in user visual fatigue and poor visual effects.

Method used

By obtaining the initial range of the ambient light brightness of the display panel, collecting the ambient light brightness for multiple preset positions according to the preset period, adjusting the initial range, and gradually adjusting the brightness of the display panel based on the correspondence between the ambient light brightness and the target brightness. to avoid frequent changes and improve accuracy.

Benefits of technology

Improves the accuracy and user experience of brightness adjustment, reduces sudden changes in the brightness of the display panel, and improves the visual effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118942357A_ABST
    Figure CN118942357A_ABST
Patent Text Reader

Abstract

The invention discloses a brightness adjusting method, a brightness adjusting device and a storage medium, and is applied to a display panel, and the brightness adjusting method comprises the steps: obtaining a first initial range of the ambient light brightness of the display panel; collecting a plurality of preset positions of the display panel according to a preset period to obtain the current ambient light brightness of the display panel; acquiring first target brightness corresponding to the current ambient light brightness; obtaining a difference value between the first target brightness and the current brightness of the display panel, and judging whether the difference value exceeds a preset range or not; in response to the difference exceeding the preset range, judging whether the current ambient light brightness exceeds a first initial range; in response to the situation that the current ambient light brightness exceeds the first initial range, adjusting the first initial range based on the current ambient light brightness; and obtaining target brightness corresponding to the current ambient light brightness, and adjusting the current brightness of the display panel to the target brightness. The target brightness is determined by collecting the ambient light of the multiple positions, and the adjustment accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display control technology, and in particular to a brightness adjustment method and a brightness adjustment device. Background Art

[0002] With the development of modern science and technology, display panels are widely used in various display devices such as mobile phones, televisions, digital cameras, laptops, desktop computers, industrial instruments, etc. The existing display panel brightness adjustment method has a single sampling position for ambient light brightness, which is easy to cause sampling errors and lead to abnormal brightness display. In addition, the existing brightness adjustment method directly adjusts the display panel brightness to the target brightness when the current brightness of the display panel is significantly different from the target brightness, which will cause the display panel to suddenly become brighter or darker, causing visual fatigue and poor visual effects for users. Summary of the invention

[0003] In order to solve the above problems, the present application provides a brightness adjustment method and a brightness adjustment device.

[0004] To solve the above technical problems, the present application provides a first technical solution, providing a brightness adjustment method, which includes: obtaining a first initial range of the ambient light brightness of the display panel; collecting data at multiple preset positions of the display panel according to a preset period to obtain the current ambient light brightness of the display panel; obtaining a first target brightness corresponding to the current ambient light brightness; obtaining the difference between the first target brightness and the current brightness of the display panel, and judging whether the difference exceeds a preset range; in response to the difference exceeding the preset range, judging whether the current ambient light brightness exceeds the first initial range; in response to the current ambient light brightness exceeding the first initial range, adjusting the first initial range based on the current ambient light brightness; obtaining a target brightness corresponding to the current ambient light brightness, and adjusting the current brightness of the display panel to the target brightness.

[0005] Among them, the step of collecting data from multiple preset positions of the display panel to obtain the current ambient light brightness of the display panel includes: collecting data from multiple preset positions of the display panel to obtain multiple ambient light brightness values; and obtaining the current ambient light brightness of the display panel based on the multiple ambient light brightness values.

[0006] Among them, the first initial range includes a first maximum value and a first minimum value, and the step of adjusting the first initial range based on the current ambient light brightness includes: in response to the current ambient light brightness being greater than the first maximum value, recording the number of times the ambient light brightness is continuously greater than the first maximum value in multiple preset periods; in response to the number reaching the preset number, calculating the average value of all the ambient light brightness values ​​in multiple preset periods, and updating the first maximum value of the first initial range to the average value.

[0007] Among them, the step of adjusting the first initial range based on the current ambient light brightness includes: in response to the current ambient light brightness being less than the first minimum value, recording the number of times the ambient light brightness is continuously less than the first minimum value within multiple preset cycles; in response to the number reaching the preset number, calculating the average value of all the ambient light brightness values ​​within multiple preset cycles, and updating the first minimum value of the first initial range to the average value.

[0008] Among them, before the step of collecting multiple preset positions of the display panel, the brightness adjustment method also includes: obtaining the correspondence between the ambient light brightness of the display panel and the target brightness, and obtaining a second initial range of the target brightness; the step of obtaining the first target brightness corresponding to the current ambient light brightness includes: based on the correspondence, obtaining the first target brightness from the second initial range.

[0009] Wherein, the second initial range includes a second maximum value and a second minimum value; after the step of adjusting the first initial range based on the current ambient light brightness, the brightness adjustment method further includes: when the first maximum value and the first minimum value of the first initial range are updated, adjusting the corresponding relationship based on the first maximum value, the first minimum value, the second maximum value and the second minimum value.

[0010] Among them, the step of obtaining the target brightness corresponding to the current ambient light brightness includes: in response to the current ambient light brightness not exceeding the first initial range, the target brightness is the first target brightness; in response to the current ambient light brightness exceeding the first initial range, based on the current ambient light brightness and the adjusted corresponding relationship, the second target brightness is obtained from the second initial range, and the target brightness is the second target brightness.

[0011] Among them, the step of adjusting the current brightness of the display panel to the target brightness includes: adjusting the current brightness of the display panel to the target brightness based on a preset algorithm; the step of adjusting the current brightness of the display panel to the target brightness based on the preset algorithm includes: obtaining a preset sensitivity corresponding to the display panel; obtaining multiple intermediate values ​​between the current brightness and the target brightness based on the preset sensitivity; and adjusting the brightness of the display panel to the target brightness based on the multiple intermediate values.

[0012] In order to solve the above technical problems, another technical solution provided by the present application is: providing a brightness adjustment device, the brightness adjustment device includes a display panel, and ambient light sensors are installed at multiple preset positions of the display panel to collect ambient light brightness values ​​of multiple preset positions; the brightness adjustment device includes a processor and a memory connected to the processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program to implement the brightness adjustment method as described above.

[0013] In order to solve the above technical problem, another technical solution provided by the present application is: providing a storage medium, wherein the storage medium stores a computer program, and the computer program is used to implement the brightness adjustment method as described above when executed by a processor.

[0014] The present application provides a brightness adjustment method, including: obtaining a first initial range of the ambient light brightness of a display panel; collecting data at multiple preset positions of the display panel according to a preset period to obtain the current ambient light brightness of the display panel; obtaining a first target brightness corresponding to the current ambient light brightness; obtaining the difference between the first target brightness and the current brightness of the display panel, and judging whether the difference exceeds the preset range; in response to the difference exceeding the preset range, judging whether the current ambient light brightness exceeds the first initial range; in response to the current ambient light brightness exceeding the first initial range, adjusting the first initial range based on the current ambient light brightness; obtaining the target brightness corresponding to the current ambient light brightness, and adjusting the current brightness of the display panel to the target brightness. Based on the above method, by collecting ambient light at multiple positions, determining the target brightness of the display panel and adjusting the brightness, the accuracy of brightness adjustment can be improved, and the display effect can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0016] Figure 1 It is a flowchart of an embodiment of the brightness adjustment method provided by the present application;

[0017] Figure 2 is a flow chart of another embodiment of the brightness adjustment method provided by the present application;

[0018] Figure 3 is a flow chart of another embodiment of the brightness adjustment method provided by the present application;

[0019] Figure 4 is a flow chart of another embodiment of the brightness adjustment method provided by the present application;

[0020] Figure 5 is a flow chart of another embodiment of the brightness adjustment method provided by the present application;

[0021] Figure 6 is a flow chart of another embodiment of the brightness adjustment method provided by the present application;

[0022] Figure 7 It is a schematic diagram of a framework of an embodiment of a brightness adjustment device provided by the present application;

[0023] Figure 8 It is a structural diagram of an embodiment of the storage medium provided by the present application. DETAILED DESCRIPTION

[0024] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention rather than all structures are shown in the accompanying drawings. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0025] The terms "first", "second", etc. in the present invention are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0027] With the development of modern science and technology, display panels are widely used in various display devices such as mobile phones, televisions, digital cameras, laptops, desktop computers, industrial instruments, etc. The existing display panel brightness adjustment method has a single sampling position for ambient light brightness, which is easy to cause sampling errors and lead to abnormal brightness display. In addition, the existing brightness adjustment method directly adjusts the display panel brightness to the target brightness when the current brightness of the display panel is significantly different from the target brightness, which will cause the display panel to suddenly become brighter or darker, causing visual fatigue and poor visual effects for users.

[0028] Based on the above problems, the present application provides a brightness adjustment method. The technical solution in the embodiments of the present application is clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0029] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of a brightness adjustment method provided by the present application. The brightness adjustment method of this embodiment is applied to a display panel; the display panel may be a display panel of a mobile phone, a computer, a tablet computer, an industrial instrument, etc.

[0030] The brightness adjustment method of this embodiment includes the following steps:

[0031] S101: Acquire a first initial range of ambient light brightness of a display panel.

[0032] The first initial range of the ambient light brightness of the display panel is the brightness range of the ambient light in the environment where the display panel is located.

[0033] S102: collecting data at a plurality of preset positions of the display panel according to a preset period to obtain the current ambient light brightness of the display panel.

[0034] The preset period is the period for collecting the ambient light of the display panel. The preset period can be set according to the specific actual situation. For example, for a display panel with a fast changing ambient light, the preset period is short; for a display panel with a slow changing ambient light, the preset period is long. The preset period can also be set according to the user's eye habits.

[0035] S103: Obtain a first target brightness corresponding to the current ambient light brightness.

[0036] The first target brightness is the target brightness of the display panel corresponding to the current ambient light brightness. Within the first initial range of ambient light brightness, the ambient light brightness value has its corresponding first target brightness.

[0037] S104: Obtain a difference between the first target brightness and the current brightness of the display panel, and determine whether the difference exceeds a preset range.

[0038] The preset range is the variation range of the brightness of the display panel.

[0039] S105: In response to the difference exceeding the preset range, determining whether the current ambient light brightness exceeds a first initial range.

[0040] Among them, if the difference between the first target brightness and the current brightness of the display panel exceeds the preset range, the current brightness of the display panel is adjusted, and the brightness of the display panel is adjusted from the current brightness to the first target brightness; otherwise, the current brightness of the display panel is not adjusted.

[0041] By setting a preset range, i.e., the range of change of the brightness of the display panel, when the change value of the brightness of the display panel does not exceed the preset range, the current brightness of the display panel will not be adjusted. Based on the above method, frequent changes in the brightness of the display panel caused by changes in ambient light can be avoided, thereby improving the display effect and user experience.

[0042] S106: In response to the current ambient light brightness exceeding the first initial range, adjusting the first initial range based on the current ambient light brightness.

[0043] If the current ambient light brightness changes beyond the first initial range, the first initial range is adjusted to obtain a new first initial range.

[0044] S107: Acquire a target brightness corresponding to the current ambient light brightness, and adjust the current brightness of the display panel to the target brightness.

[0045] If the first initial range is not adjusted, the target brightness corresponding to the current ambient light brightness is the first target brightness. If the first initial range is adjusted, the target brightness corresponding to the current ambient light brightness is the target brightness corresponding to the current ambient light brightness in the adjusted first initial range.

[0046] Therefore, this embodiment provides a brightness adjustment method, including: obtaining a first initial range of the ambient light brightness of the display panel; collecting data at multiple preset positions of the display panel according to a preset period to obtain the current ambient light brightness of the display panel; obtaining a first target brightness corresponding to the current ambient light brightness; obtaining the difference between the first target brightness and the current brightness of the display panel, and judging whether the difference exceeds the preset range; in response to the difference exceeding the preset range, judging whether the current ambient light brightness exceeds the first initial range; in response to the current ambient light brightness exceeding the first initial range, adjusting the first initial range based on the current ambient light brightness; obtaining the target brightness corresponding to the current ambient light brightness, and adjusting the current brightness of the display panel to the target brightness. Based on the above method, by collecting ambient light at multiple positions, determining the target brightness of the display panel and adjusting the brightness, the accuracy of brightness adjustment can be improved, and the display effect can be improved.

[0047] See also Figure 2 , Figure 2 is a flow chart of another embodiment of the brightness adjustment method provided by the present application. Figure 1 In the specific implementation method of collecting multiple preset positions of the display panel to obtain the current ambient light brightness of the display panel.

[0048] The brightness adjustment method of this embodiment includes the following steps:

[0049] S201: Collecting data at multiple preset positions of a display panel to obtain multiple ambient light brightness values.

[0050] The preset positions are located at different physical positions of the display panel. Ambient light is collected at multiple preset positions of the display panel to obtain multiple ambient light brightness values. The multiple ambient light brightness values ​​are multiple brightness values ​​detected at the same time.

[0051] S202: Obtaining a current ambient light brightness of a display panel based on a plurality of ambient light brightness values.

[0052] Wherein, based on a plurality of ambient light brightness values, the current ambient light brightness of the display panel is calculated.

[0053] Specifically, the current ambient light brightness of the display panel can be obtained by calculating the average value of multiple ambient light brightness values ​​or by calculating the average value of multiple ambient light brightness values ​​after removing the maximum value and the minimum value from the multiple ambient light brightness values.

[0054] The method for calculating the current ambient light brightness of the display panel may also be other calculation methods. In addition, a preset value may be set, and when the number of changes in the multiple ambient light brightness values ​​reaches the preset value, the current ambient light brightness of the display panel is calculated.

[0055] Therefore, through the method of this embodiment, by collecting ambient light at different positions, multiple ambient light brightness values ​​are obtained, and then the current ambient light brightness of the display panel is obtained, thereby improving the accuracy of current ambient light brightness sampling.

[0056] See also Figure 3 , Figure 3 is a flow chart of another embodiment of the brightness adjustment method provided by the present application. Figure 1 A specific implementation of adjusting the first initial range based on the current ambient light brightness, wherein the first initial range includes a first maximum value and a first minimum value.

[0057] The brightness adjustment method of this embodiment includes the following steps:

[0058] S301: In response to the current ambient light brightness being greater than a first maximum value, recording the number of times the ambient light brightness is continuously greater than the first maximum value within a plurality of preset periods.

[0059] If the current ambient light brightness is greater than the first maximum value, the number of times the ambient light brightness is continuously greater than the first maximum value in a plurality of consecutive preset cycles is recorded.

[0060] S302: In response to the number of times reaching a preset number of times, an average value of all ambient light brightness values ​​in a plurality of preset periods is calculated, and a first maximum value in the first initial range is updated as the average value.

[0061] The preset number of times is a preset value. If the number of times that the ambient light brightness is continuously greater than the first maximum value reaches the preset number of times, the first initial range is adjusted, and the first maximum value of the first initial range is updated to the average value. If the number of times that the ambient light brightness is continuously greater than the first maximum value does not reach the preset number of times and is interrupted, the recorded number of times is cleared and recorded again the next time the ambient light brightness is greater than the first maximum value.

[0062] Therefore, through the method of this embodiment, by setting a preset number of times, the number of times the ambient light brightness is continuously greater than the first maximum value in multiple consecutive preset cycles is recorded. If the number reaches the preset number of times, the first initial range is adjusted, and the first maximum value of the first initial range is updated to the average value. This can avoid the ambient light becoming brighter due to abnormal environmental factors or other factors, improve the accuracy of brightness adjustment, and improve the display effect.

[0063] See also Figure 4 , Figure 4 is a flow chart of another embodiment of the brightness adjustment method provided by the present application. Figure 1 A specific implementation method of adjusting the first initial range based on the current ambient light brightness.

[0064] The brightness adjustment method of this embodiment includes the following steps:

[0065] S401: In response to the current ambient light brightness being less than a first minimum value, recording the number of times the ambient light brightness is continuously less than the first minimum value within a plurality of preset periods.

[0066] S402: In response to the number of times reaching a preset number of times, an average value of all ambient light brightness values ​​in a plurality of preset periods is calculated, and a first minimum value in the first initial range is updated as the average value.

[0067] Therefore, through the method of this embodiment, the number of times that the ambient light brightness is continuously less than the first minimum value in multiple consecutive preset cycles is recorded. If the number reaches the preset number, the first initial range is adjusted, and the first minimum value of the first initial range is updated to the average value. This can avoid dimming of ambient light due to abnormal environmental factors or other factors, improve the accuracy of brightness adjustment, and improve the display effect.

[0068] See also Figure 5 , Figure 5 1 is a flow chart of another embodiment of the brightness adjustment method provided by the present application. The brightness adjustment method of this embodiment includes the following steps:

[0069] S501: Acquire a first initial range of ambient light brightness of a display panel.

[0070] This step is similar to the above Figure 1 The steps shown are the same and will not be repeated here.

[0071] S502: Acquire a correspondence between the ambient light brightness of the display panel and the target brightness, and acquire a second initial range of the target brightness.

[0072] The second initial range of the target brightness is the brightness range of the display panel, and the second initial range includes a second maximum value and a second minimum value.

[0073] The corresponding relationship between the ambient light brightness and the target brightness of the display panel can be obtained according to the first initial range of the ambient light brightness and the second initial range of the target brightness. The first maximum value of the first initial range and the second maximum value of the second initial range are made to correspond, and the first minimum value of the first initial range and the second minimum value of the second initial range are made to correspond, so as to obtain a linear function with the ambient light brightness as the independent variable and the target brightness as the dependent variable, that is, the corresponding relationship between the ambient light brightness and the target brightness.

[0074] S503: collecting data at a plurality of preset positions of the display panel according to a preset period to obtain the current ambient light brightness of the display panel.

[0075] S504: Based on the corresponding relationship, a first target brightness is acquired from the second initial range, and the target brightness of the display panel is the first target brightness.

[0076] Wherein, based on the current ambient light brightness and the corresponding relationship, the first target brightness can be acquired from the second initial range.

[0077] The target brightness of the display panel is set to a first target brightness.

[0078] S505: Obtain a difference between the first target brightness and the current brightness of the display panel, and determine whether the difference exceeds a preset range.

[0079] S506: If the difference exceeds the preset range, determine whether the current ambient light brightness exceeds the first initial range.

[0080] If the difference does not exceed the preset range, step S511 is executed.

[0081] S507: If the current ambient light brightness exceeds the first initial range, adjust the first initial range based on the current ambient light brightness.

[0082] If the current ambient light brightness exceeds the first initial range, step S510 is executed.

[0083] S508: Adjust the corresponding relationship based on the first maximum value, the first minimum value, the second maximum value, and the second minimum value.

[0084] Wherein, when the first maximum value and the first minimum value of the first initial range are updated, the corresponding relationship is adjusted based on the first maximum value, the first minimum value, the second maximum value and the second minimum value.

[0085] S509: Based on the current ambient light brightness and the adjusted corresponding relationship, a second target brightness is acquired from the second initial range, and the target brightness of the display panel is the second target brightness.

[0086] If the current ambient light brightness exceeds the first initial range, the corresponding relationship between the ambient light brightness and the target brightness also changes after adjusting the first initial range. Based on the current ambient light brightness and the adjusted corresponding relationship, a second target brightness is obtained from the second initial range, and the target brightness of the display panel is the second target brightness.

[0087] S510: Based on a preset algorithm, adjust the current brightness of the display panel to the target brightness.

[0088] The preset algorithm may be a stage algorithm, which adjusts the brightness of the display panel in stages so that the brightness of the display panel changes gradually.

[0089] S511: Do not adjust the current brightness of the display panel.

[0090] Therefore, by using the method of this embodiment, by collecting ambient light at multiple locations, determining the target brightness of the display panel and adjusting the brightness, the accuracy of brightness adjustment can be improved, the display effect can be improved, and the brightness adjustment can be automated through logical judgment, saving labor costs.

[0091] See also Figure 6 , Figure 6 is a flow chart of another embodiment of the brightness adjustment method provided by the present application. Figure 5 A specific implementation method of adjusting the current brightness of the display panel to the target brightness based on a preset algorithm.

[0092] The brightness adjustment method of this embodiment includes the following steps:

[0093] S601: Obtain a preset sensitivity corresponding to the display panel.

[0094] The preset sensitivity is the sensitivity of the display panel brightness change. Different display panels have different preset sensitivities. The preset sensitivity may be the degree of change in the display panel brightness caused by the change in ambient light brightness per unit time. For example, the preset sensitivity may be the percentage of the display panel brightness change per unit time. For example, the preset sensitivity may be a change of 3%, 4%, or 5% per second.

[0095] S602: Acquire multiple intermediate values ​​between the current brightness and the target brightness based on a preset sensitivity.

[0096] Based on the preset sensitivity, multiple intermediate values ​​between the current brightness and the target brightness can be calculated.

[0097] S603: Based on the multiple intermediate values, adjust the brightness of the display panel to the target brightness.

[0098] Wherein, based on the multiple intermediate values, a brightness change sequence of the display panel from the current brightness to the target brightness is obtained. Based on the brightness change sequence, the brightness of the display panel is adjusted successively until the brightness of the display panel is adjusted to the target brightness.

[0099] Therefore, through the method of this embodiment, by setting the preset sensitivity, the brightness of the display panel is gradually changed, thereby improving the user's visual effect and the display effect.

[0100] See also Figure 7 , Figure 7 Schematic diagram of a frame of an embodiment of the brightness adjustment device provided by the present application. Figure 7 As shown, the brightness adjustment device 100 includes a display panel 110 , a plurality of ambient light sensors 111 , a processor 101 , and a memory 102 connected to the processor 101 .

[0101] Among them, ambient light sensors 111 are installed at multiple preset positions of the display panel 110 to collect ambient light brightness values ​​at multiple preset positions. The memory 102 is used to store computer programs, and the processor 101 is used to execute the computer programs to implement the above-mentioned brightness adjustment method. In this embodiment, the display panel 110 includes 4 ambient light sensors 111, and the 4 ambient light sensors 111 are located at 4 different positions of the display panel 110. In other embodiments, the display panel 110 may include multiple ambient light sensors 111, and other settings may be adopted.

[0102] The processor 101 may also be referred to as a CPU (Central Processing Unit). The processor 101 may be an electronic chip having the ability to process signals. The processor 101 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0103] The memory 102 can be a memory stick, a TF card, etc., and can store all the information in the brightness adjustment device 100, including the input raw data, computer programs, intermediate operation results and final operation results are all stored in the memory 102. It stores and retrieves information according to the location specified by the processor 101. With the memory 102, the brightness adjustment device 100 has a memory function and can ensure normal operation. The memory 102 of the brightness adjustment device 100 can be divided into a main memory (internal memory) and an auxiliary memory (external memory) according to its use, and there is also a classification method of dividing it into an external memory and an internal memory. The external memory is usually a magnetic medium or an optical disk, etc., which can store information for a long time. The memory refers to the storage component on the motherboard, which is used to store the data and programs currently being executed, but is only used to temporarily store programs and data. If the power is turned off or the power is cut off, the data will be lost.

[0104] See also Figure 8 , Figure 8 Schematic diagram of the structure of an embodiment of the storage medium provided by the present application. Figure 8 As shown, the storage medium 120 stores program instructions 121 capable of implementing all the above methods.

[0105] If the integrated units of the functional units in the embodiments of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in the storage medium 120. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The storage medium 120 includes several instructions in a program instruction 121 to enable a computer device (which can be a personal computer, a system server, or a network device, etc.), an electronic device (such as MP3, MP4, etc., or a mobile terminal such as a mobile phone, a tablet computer, a wearable device, or a desktop computer, etc.) or a processor to execute all or part of the steps of the methods of each embodiment of the present application.

[0106] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more storage media 120 (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0107] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by the storage medium 120. These storage media 120 can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the program instructions 121 executed by the processor of the computer or other programmable data processing device generate the instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0108] These storage media 120 may also be stored in a memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the program instructions 121 stored in the storage medium 120 produce a product including an instruction device, which implements the instructions in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0109] These storage media 120 can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing program instructions 121 executed on the computer or other programmable device for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0110] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0111] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be specifically implemented in any medium for use by an instruction execution system, device or equipment (which can be a personal computer, server, network device or other system that can fetch instructions from and execute instructions of the instruction execution system, device or equipment), or used in combination with these instruction execution systems, devices or equipment.

[0112] The above are only implementation methods of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A brightness adjustment method, characterized in that: Applied to a display panel, the brightness adjustment method includes: Acquire a first initial range of ambient light brightness of the display panel; According to a preset period, collecting data at multiple preset positions of the display panel to obtain the current ambient light brightness of the display panel; Acquire a first target brightness corresponding to the current ambient light brightness; Obtaining a difference between the first target brightness and the current brightness of the display panel, and determining whether the difference exceeds a preset range; In response to the difference exceeding the preset range, determining whether the current ambient light brightness exceeds the first initial range; In response to the current ambient light brightness exceeding the first initial range, adjusting the first initial range based on the current ambient light brightness; A target brightness corresponding to the current ambient light brightness is acquired, and the current brightness of the display panel is adjusted to the target brightness.

2. The brightness adjustment method according to claim 1, characterized in that: The step of collecting data from a plurality of preset positions of the display panel to obtain the current ambient light brightness of the display panel includes: Collecting data from a plurality of preset positions of the display panel to obtain a plurality of ambient light brightness values; Based on the multiple ambient light brightness values, the current ambient light brightness of the display panel is obtained.

3. The brightness adjustment method according to claim 1, characterized in that: The first initial range includes a first maximum value and a first minimum value, and the step of adjusting the first initial range based on the current ambient light brightness includes: In response to the current ambient light brightness being greater than the first maximum value, recording the number of times the ambient light brightness is continuously greater than the first maximum value within a plurality of the preset cycles; In response to the number reaching the preset number, an average value of all the ambient light brightnesses within a plurality of the preset cycles is calculated, and the first maximum value of the first initial range is updated as the average value.

4. The brightness adjustment method according to claim 1 or 3, characterized in that: The step of adjusting the first initial range based on the current ambient light brightness comprises: In response to the current ambient light brightness being less than the first minimum value, recording the number of times the ambient light brightness is continuously less than the first minimum value within a plurality of the preset cycles; In response to the number reaching a preset number, an average value of all the ambient light brightnesses within a plurality of the preset cycles is calculated, and the first minimum value of the first initial range is updated as the average value.

5. The brightness adjustment method according to claim 4, characterized in that: Before the step of collecting the plurality of preset positions of the display panel, the brightness adjustment method further includes: Acquire a corresponding relationship between the ambient light brightness of the display panel and the target brightness, and acquire a second initial range of the target brightness; The step of acquiring a first target brightness corresponding to the current ambient light brightness comprises: Based on the corresponding relationship, the first target brightness is acquired from the second initial range.

6. The brightness adjustment method according to claim 5, characterized in that: The second initial range includes a second maximum value and a second minimum value; After the step of adjusting the first initial range based on the current ambient light brightness, the brightness adjustment method further includes: In a case where the first maximum value and the first minimum value of the first initial range are updated, the corresponding relationship is adjusted based on the first maximum value, the first minimum value, the second maximum value, and the second minimum value.

7. The brightness adjustment method according to claim 6, characterized in that: The step of acquiring the target brightness corresponding to the current ambient light brightness comprises: In response to the current ambient light brightness not exceeding the first initial range, the target brightness is the first target brightness; In response to the current ambient light brightness exceeding the first initial range, based on the current ambient light brightness and the adjusted corresponding relationship, a second target brightness is acquired from the second initial range, and the target brightness is the second target brightness.

8. The brightness adjustment method according to claim 1, characterized in that: The step of adjusting the current brightness of the display panel to the target brightness comprises: Based on a preset algorithm, adjusting the current brightness of the display panel to the target brightness; The step of adjusting the current brightness of the display panel to the target brightness based on a preset algorithm comprises: Acquire a preset sensitivity corresponding to the display panel; Acquire a plurality of intermediate values ​​between the current brightness and the target brightness based on the preset sensitivity; Based on the plurality of intermediate values, the brightness of the display panel is adjusted to the target brightness.

9. A brightness adjustment device, characterized in that: The brightness adjustment device includes a display panel, and ambient light sensors are installed at multiple preset positions of the display panel to collect ambient light brightness values ​​at multiple preset positions; the brightness adjustment device includes a processor and a memory connected to the processor, wherein program data is stored in the memory, and the processor calls the program data stored in the memory to execute the brightness adjustment method as described in any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the computer program is used to implement the brightness adjustment method according to any one of claims 1 to 8.

Citation Information

Cited By

  • LED display screen brightness adjusting method and system

    CN119724084A

  • Brightness adjustment method and device of display panel, storage medium and electronic equipment

    CN119889197A