Amoled screen brightness adjustment method and device, and electronic equipment
Patent Information
- Application Number
- CN202510293952.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2045-03-13
AI Technical Summary
然而,当前主流的亮度调整方法普遍依赖于固定步长或预设模式的调整策略,这一局限性导致了显示亮度在调节过程中的细腻度表现不尽如人意
Smart Images

Figure CN119889237B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and more specifically, to an AMOLED screen brightness adjustment method, apparatus, and electronic device. Background Technology
[0002] In the current display technology field, precise and nuanced brightness adjustment has always been key to pursuing a high-quality visual experience. However, current mainstream brightness adjustment methods generally rely on fixed step sizes or preset modes, a limitation that results in unsatisfactory performance in the finesse of brightness adjustment. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide an AMOLED screen brightness adjustment method, apparatus and electronic device that can improve the display brightness and detail.
[0004] In a first aspect, embodiments of this application provide an AMOLED screen brightness adjustment method, comprising: determining a remainder parameter after uniform distribution of the parameter to be adjusted within each adjustment cycle based on the current frequency and the minimum change unit of the parameter to be adjusted; determining an initial distribution cycle for parameter adjustment based on the remainder parameter; determining an actual distribution cycle corresponding to each display frame according to a preset cycle interval; wherein the preset cycle interval is the cycle interval of the initial distribution cycle; and adjusting the parameter to be adjusted in the actual distribution cycle of each display frame.
[0005] In the above implementation process, when adjusting the screen brightness, the remainder parameter after uniform distribution within the adjustment period is first determined according to the minimum change unit of the parameter to be adjusted and the current frequency. When distributing the remainder parameter, the initial distribution period is first determined, and then the actual distribution period corresponding to each display frame is determined according to the period interval of the initial distribution period. This achieves dynamic changes in the distribution of the remainder parameter, ensuring that the parameter to be adjusted in each frame can be evenly distributed, improving the uniformity of the parameter adjustment, thereby improving the uniformity of brightness adjustment and enhancing the display brightness detail.
[0006] In one embodiment, determining the initial distribution period requiring parameter adjustment based on the remainder parameter includes: inputting the remainder parameter into a setting formula to determine the initial distribution period; wherein the period interval of the initial distribution period is a uniform interval.
[0007] In the above implementation process, when distributing the remainder parameter, by setting the period interval of the initial distribution period to a uniform interval, the remainder parameter can be distributed in each sub-period in a uniform manner, thereby achieving uniform adjustment of the parameter to be adjusted, reducing flicker, and improving brightness and detail.
[0008] In one embodiment, the setting formula is configured to be used via a matrix. express:
[0009] in, Indicates rounding down. To display the frame remainder number, for The number of fundamental cycles of the frequency The remainder parameter.
[0010] In the above implementation process, the initial distribution period is determined by using a matrix. When calculating the initial distribution period, after multiplication, the division operation is transformed into a shift operation, which reduces the amount of computation and power consumption. In addition, the period interval of the calculated initial distribution period is uniform, which allows the remainder parameter to be distributed evenly in each sub-period, achieving uniform adjustment of the parameter to be adjusted, reducing flicker, and improving brightness and detail.
[0011] In one embodiment, determining the remainder parameter after uniform distribution of the parameter to be adjusted within each adjustment cycle, based on the current frequency and the minimum unit of change of the parameter to be adjusted, includes: The distribution parameter is determined based on the number of rows corresponding to the parameter to be adjusted and the number of basic cycles of the set frequency; wherein, the distribution parameter is the number of the smallest units of change that can be distributed within each adjustment cycle; the remainder parameter is determined based on the distribution parameter.
[0012] In one embodiment, the formula for calculating the remainder parameter is: ;in, The row number corresponding to the parameter to be adjusted. For distribution parameters, for The number of fundamental cycles of the frequency It is the smallest unit of change.
[0013] In one embodiment, the formula for calculating the distribution parameter is: ;in, The row number corresponding to the parameter to be adjusted. For distribution parameters, for The number of fundamental cycles of the frequency It is the smallest unit of change.
[0014] In the above implementation process, by determining the distribution parameters based on the number of rows corresponding to the parameters to be adjusted and the basic number of cycles of the set frequency, the distribution can be uniformly distributed within each sub-cycle of the adjustment cycle. Then, based on the distribution parameters, the remainder parameters are determined to determine the number of remaining minimum change units after distribution, which can improve the uniformity of the number of remaining minimum change units. In addition, when determining the initial distribution cycle, determining it according to the number of remaining minimum change units can evenly distribute the number of remaining minimum change units across the sub-cycles, achieving uniform distribution, improving the uniformity of brightness adjustment, and thus improving the fineness of brightness.
[0015] In one embodiment, before determining the remainder parameter after uniform distribution of the adjustable parameter in each adjustment cycle based on the current frequency and the minimum change unit of the adjustable parameter, the method further includes: determining a dimming mode based on the acquired brightness adjustment command and brightness threshold; determining the remainder parameter after uniform distribution of the adjustable parameter in each adjustment cycle based on the current frequency and the minimum change unit of the adjustable parameter includes: when the dimming mode is PWM mode, determining the remainder parameter after uniform distribution of the adjustable parameter in each adjustment cycle based on the current frequency and the minimum change unit of the adjustable parameter.
[0016] In the above implementation process, after receiving the brightness adjustment command, the dimming mode is determined based on the relationship between the brightness adjustment command and the brightness threshold. The dimming mode can be adjusted according to the current brightness of the screen, improving dimming accuracy. Furthermore, when the dimming mode is determined to be PWM mode, the duty cycle is controlled to be distributed as evenly as possible. Without altering the uniform distribution of the duty cycle, the inherent pattern is broken by dynamically changing the uniform distribution, reducing flicker and improving the fineness of the display brightness.
[0017] Secondly, embodiments of this application also provide an AMOLED screen brightness adjustment device, comprising: a first determining module, configured to determine a remainder parameter after uniform distribution of the parameter to be adjusted within each adjustment cycle based on the current frequency and the minimum change unit of the parameter to be adjusted; a second determining module, configured to determine an initial distribution cycle for parameter adjustment based on the remainder parameter; a third determining module, configured to determine an actual distribution cycle corresponding to each display frame according to a preset cycle interval; wherein the preset cycle interval is the cycle interval of the initial distribution cycle; and an adjusting module, configured to adjust the parameter to be adjusted in the actual distribution cycle of each display frame.
[0018] Thirdly, embodiments of this application also provide an electronic device, including: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the machine-readable instructions are executed by the processor to perform the steps of the method described in the first aspect above, or any possible implementation of the first aspect.
[0019] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the AMOLED screen brightness adjustment method described in the first aspect or any possible implementation of the first aspect.
[0020] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, specific embodiments are described below in conjunction with the accompanying drawings. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 A block diagram illustrating an electronic device provided in an embodiment of this application; Figure 2 A flowchart of an AMOLED screen brightness adjustment method provided in an embodiment of this application; Figure 3 This is a schematic diagram of the remainder parameter distribution provided in the embodiments of this application; Figure 4 This is a schematic diagram of the functional modules of the AMOLED screen brightness adjustment device provided in the embodiments of this application. Detailed Implementation
[0023] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0024] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0025] With the rapid development of electronic products, more and more screens are being used in current electronic products. For example, AMOLED displays feature high contrast, wide color gamut, thinness, power saving, narrow bezels, and in-display fingerprint recognition. Compared to LCD displays, AMOLED displays offer not only DC dimming but also PWM dimming and DC+PWM hybrid dimming. Existing DC dimming has inherent shortcomings at low brightness levels: grayscale merging and color shift. When the frequency of PWM dimming is too low, flicker can be perceived by the human eye, especially in low-light environments, increasing eye strain. PWM dimming, on the other hand, works by alternating between on and off states at a specific frequency within a very short time, achieving different brightness levels by adjusting the ratio of on to off times.
[0026] However, existing PWM dimming typically uses a fixed duty cycle allocation method. This method requires pre-storing the duty cycle variation patterns to effectively cover all situations, resulting in a complex system and poor uniformity of adjustment, which affects the subtlety of the display brightness.
[0027] In view of this, this application proposes an AMOLED screen brightness adjustment method. When adjusting the screen brightness, the remainder parameter after uniform distribution within the adjustment period is first determined according to the minimum change unit of the parameter to be adjusted and the current frequency. When distributing the remainder parameter, the initial distribution period is first determined, and then the actual distribution period corresponding to each display frame is determined according to the period interval of the initial distribution period. This realizes the dynamic change of the remainder parameter distribution, so that the parameter to be adjusted in each frame can be uniformly distributed, improving the uniformity of the adjustment of the parameter to be adjusted, thereby improving the uniformity of brightness adjustment and improving the display brightness detail.
[0028] To facilitate understanding of this embodiment, the electronic device that performs the AMOLED screen brightness adjustment method disclosed in this application embodiment will first be described in detail.
[0029] like Figure 1 The diagram shown is a block illustration of an electronic device. The electronic device 100 may include a memory 111 and a processor 113. 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 electronic device 100. For example, the electronic device 100 may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0030] The memory 111 and processor 113 described above are electrically connected to each other directly or indirectly to enable data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The processor 113 described above is used to execute executable modules stored in the memory.
[0031] The memory 111 can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc. The memory 111 stores programs, and the processor 113 executes these programs upon receiving execution instructions. The methods executed by the electronic device 100 as defined in any embodiment of this application can be applied to the processor 113, or implemented by the processor 113.
[0032] The aforementioned processor 113 may be an integrated circuit chip with signal processing capabilities. The processor 113 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be 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, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor.
[0033] The electronic device 100 in this embodiment can be used to execute various steps in the various methods provided in the embodiments of this application. The implementation process of the AMOLED screen brightness adjustment method is described in detail below through several embodiments.
[0034] Please see Figure 2This is a flowchart of the AMOLED screen brightness adjustment method provided in the embodiments of this application. The following will describe... Figure 2 The specific process shown will be explained in detail.
[0035] Step 201: Based on the current frequency and the minimum change unit of the parameter to be adjusted, determine the remainder parameter after the parameter to be adjusted is evenly distributed within each adjustment cycle.
[0036] The current frequency refers to the screen's frequency at the current moment. This current frequency can be 60Hz, 90Hz, 120Hz, etc.
[0037] Understandably, in current screen technology, screen frequencies are typically set as combination frequencies. For example, a frequency combination of 60 / 90 / 120Hz, or a frequency combination of 60 / 90 / 144Hz. For screens with combination frequencies, the corresponding frequency may differ at different times. Therefore, when determining the remainder parameter, it is necessary to determine the screen's current frequency. Calculating the remainder parameter based on the current frequency can improve the accuracy of the remainder parameter calculation.
[0038] The parameter to be adjusted here refers to the parameter that needs to be adjusted. This parameter can be used to adjust the brightness of the screen.
[0039] In one embodiment, the parameter to be adjusted is the duty cycle.
[0040] The minimum change unit of the parameter to be adjusted refers to the minimum amplitude when adjusting the parameter. For example, the minimum change unit of the parameter to be adjusted is 4hs; another example is that the minimum change unit of the parameter to be adjusted is 2hs, etc. The minimum change unit of the parameter to be adjusted can be set according to the actual situation.
[0041] The aforementioned adjustment period can be determined based on the corresponding basic period of the current frequency.
[0042] Each frequency here has a corresponding fundamental period. For example, the fundamental period for 60Hz is 64, the fundamental period for 90Hz is 48, and the fundamental period for 120Hz is 32.
[0043] The remainder parameter mentioned above refers to the number of the smallest change unit remaining after allocating the smallest change unit simultaneously within the PWM (Pulse Width Modulation) cycle.
[0044] Step 202: Determine the initial distribution period that requires parameter adjustment based on the remainder parameter.
[0045] Understandably, after determining the remainder parameter, in order to make the brightness adjustment of the AMOLED screen more uniform, the initial distribution period for which parameter adjustment needs to be continued can be determined based on the remainder parameter.
[0046] The initial distribution period here refers to the sub-periods that the remainder parameter needs to be distributed into the adjustment period in the current display frame. For example, if the remainder parameter is 3, then these 3 remainder parameters can be distributed into the 3 sub-periods of the adjustment period.
[0047] The aforementioned remainder parameter can be evenly distributed within the adjustment period, meaning the period interval of the initial distribution period is uniform; or the remainder parameter can be non-uniformly distributed within the adjustment period, meaning the period interval of the initial distribution period is non-uniform. The distribution of the remainder parameter within the adjustment period can be selected according to the actual situation.
[0048] Step 203: Determine the actual distribution period corresponding to each display frame according to the preset period interval.
[0049] The preset period interval is the period interval of the initial distribution period. There can be multiple preset period intervals, and each preset period interval is the interval between sub-cycles in the adjustment period of two adjacent remainder parameters.
[0050] When adjusting screen brightness, the display frame changes in real time. For each display frame, the remainder parameter needs to be distributed within the adjustment cycle. To improve the uniformity of the remainder parameter distribution, a dynamic adjustment distribution strategy can be set. That is, the remainder parameter can be cyclically distributed within the adjustment cycle, starting with a sub-cycle in the initial distribution cycle.
[0051] For example, if the adjustment cycle includes 32 sub-cycles from 0 to 31, the remainder parameter is 3, and the initial distribution cycles are the 1st, 11th, and 21st sub-cycles respectively, then at the initial display frame, the three remainder parameters are distributed at the 1st, 11th, and 21st sub-cycles respectively (i.e., the actual distribution cycles are the 1st, 11th, and 21st sub-cycles); at the next display frame after the initial display frame, the three remainder parameters are distributed at the 2nd, 12th, and 22nd sub-cycles respectively (i.e., the actual distribution cycles are the 2nd, 12th, and 22nd sub-cycles); at the next display frame after the next display frame after the initial display frame, the three remainder parameters are distributed at the 3rd, 13th, and 23rd sub-cycles respectively (i.e., the actual distribution cycles are the 3rd, 13th, and 23rd sub-cycles)... and so on, cycling in the above manner until the screen brightness adjustment is completed.
[0052] If the adjustment cycle includes 32 sub-cycles from 0 to 31, the remainder parameter is 3, and the initial distribution cycles are the 1st, 8th, and 16th sub-cycles respectively, then at the initial display frame, the three remainder parameters are distributed in the 1st, 8th, and 16th sub-cycles respectively (i.e., the actual distribution cycles are the 1st, 8th, and 16th sub-cycles); at the next display frame after the initial display frame, the three remainder parameters are distributed in the 2nd, 9th, and 17th sub-cycles respectively (i.e., the actual distribution cycles are the 2nd, 9th, and 17th sub-cycles); at the next display frame after the next display frame after the initial display frame, the three remainder parameters are distributed in the 3rd, 10th, and 18th sub-cycles respectively (i.e., the actual distribution cycles are the 3rd, 10th, and 18th sub-cycles)... and so on, cycling in the above manner until the screen brightness adjustment is complete.
[0053] The determination of the actual distribution period described above is merely an example, and the actual distribution period can be selected according to the actual situation.
[0054] Step 204: Adjust the parameters to be adjusted in the actual distribution period of each display frame.
[0055] Understandably, the distribution of the remainder parameter is mainly used to determine the sub-cycles that need parameter adjustment. After determining the actual distribution cycle of the remainder parameter, the parameter to be adjusted in the sub-cycles in which the remainder parameter is distributed is adjusted, thereby realizing the brightness adjustment of the AMOLED screen.
[0056] In the above implementation process, when adjusting the screen brightness, the remainder parameter after uniform distribution within the adjustment period is first determined according to the minimum change unit of the parameter to be adjusted and the current frequency. When distributing the remainder parameter, the initial distribution period is first determined, and then the actual distribution period corresponding to each display frame is determined according to the period interval of the initial distribution period. This achieves dynamic changes in the distribution of the remainder parameter, ensuring that the parameter to be adjusted in each frame can be evenly distributed, improving the uniformity of the parameter adjustment, thereby improving the uniformity of brightness adjustment and enhancing the display brightness detail.
[0057] In one possible implementation, step 202 includes: inputting the remainder parameter into a set formula to determine the initial distribution period.
[0058] The periodic interval of the initial distribution period is uniform.
[0059] The formula here is used to define the remainder parameter in equal division. For example, this formula could be a division operation, or it could be a matrix operation, etc. The appropriate formula can be selected based on the specific circumstances.
[0060] For example, if the formula is division, then the formula can be set as follows: The period interval of the initial distribution period = adjustment period / number of remainder parameters; After determining the period interval of the initial distribution period, the remainder parameter is distributed in the corresponding sub-periods according to the period interval of the initial distribution period.
[0061] The uniform interval here refers to the equal or small difference in the intervals of the sub-cycles of the remainder parameter distribution. For example, if the adjustment period includes 32 sub-cycles and the remainder parameter is 3, then the period interval of the initial distribution period can be 10; if the adjustment period includes 32 sub-cycles and the remainder parameter is 2, then the period interval of the initial distribution period can be 15; if the adjustment period includes 32 sub-cycles and the remainder parameter is 4, then the period interval of the initial distribution period can be 8.
[0062] For example, if the adjustment period includes 64 sub-periods and the remainder parameter is 3, then the period interval of the initial distribution period can be 21; if the adjustment period includes 64 sub-periods and the remainder parameter is 2, then the period interval of the initial distribution period can be 32; if the adjustment period includes 32 sub-periods and the remainder parameter is 4, then the period interval of the initial distribution period can be 20.
[0063] The period interval of the initial distribution period described above is merely an example, and the period of the initial distribution period can be adjusted according to the actual situation.
[0064] In the above implementation process, when distributing the remainder parameter, by setting the period interval of the initial distribution period to a uniform interval, the remainder parameter can be distributed in each sub-period in a uniform manner, thereby achieving uniform adjustment of the parameter to be adjusted, reducing flicker, and improving brightness and detail.
[0065] In one possible implementation, the formula is configured to be used via a matrix. express:
[0066] in, Indicates rounding down. To display the frame remainder number, for The number of fundamental cycles of the frequency The remainder parameter.
[0067] The remainder index here is a sequence, with values ranging from [1, ..., ... ].Should The value obtained from the calculation formula is the sub-cycle of the remainder parameter within the display frame.
[0068] The above Frequency refers to the frequency of the current frame displayed on the screen. For example, 120Hz, 60Hz, 90Hz, etc., and the corresponding basic cycle number can be 32, 64, 48, etc.
[0069] Among them, through the above matrix The calculated period interval of the initial distribution period is a uniform interval.
[0070] For example, if the adjustment period is 32, when the remainder parameter is 1, it is distributed in the first sub-cycle; when the remainder parameter is 2, it is distributed in the 1st and 16th sub-cycles; when the remainder parameter is 3, it is distributed in the 1st, 11th, and 21st sub-cycles. And so on, when the remainder parameter is >3, it will also be dynamically and evenly distributed.
[0071] Understandably, in the above expression of the initial distribution period, there is a fixed... This parameter can be quantized and stored in the chip. Furthermore, considering the range of the remainder parameter, a maximum of 64 quantized values need to be stored. In the actual calculation of the initial distribution period, after the multiplication operation, the division operation is transformed into a shift operation, reducing both the computational load and power consumption.
[0072] In the above implementation process, the initial distribution period is determined by using a matrix. When calculating the initial distribution period, after multiplication, the division operation is transformed into a shift operation, which reduces the amount of computation and power consumption. In addition, the period interval of the calculated initial distribution period is uniform, which allows the remainder parameter to be distributed evenly in each sub-period, achieving uniform adjustment of the parameter to be adjusted, reducing flicker, and improving brightness and detail.
[0073] In one possible implementation, step 201 includes: determining the distribution parameter based on the number of rows corresponding to the parameter to be adjusted and the number of basic cycles of the set frequency; and determining the remainder parameter based on the distribution parameter.
[0074] The row number corresponding to the parameter to be adjusted refers to the parameter converted into the smallest unit of change. For example, if the parameter to be adjusted is the duty cycle and the smallest unit of change is hs, then the row number corresponding to the parameter to be adjusted refers to the value of the duty cycle converted into hs.
[0075] The distribution parameter here is the number of the smallest units of change that can be distributed within each adjustment period.
[0076] In one possible implementation, the formula for calculating the distribution parameters is: ; in, The row number corresponding to the parameter to be adjusted. For distribution parameters, for The number of fundamental cycles of the frequency It is the smallest unit of change.
[0077] The remainder parameter mentioned above refers to the number of the smallest units of change remaining after allocation in each adjustment cycle.
[0078] In one possible implementation, the formula for calculating the remainder parameter is: ; in, The row number corresponding to the parameter to be adjusted. For distribution parameters, for The number of fundamental cycles of the frequency It is the smallest unit of change.
[0079] Understandably, when the number of rows corresponding to the parameter to be adjusted is greater than the adjustment period, the number of rows corresponding to the parameter to be adjusted can be evenly distributed across each sub-period of the adjustment period. If there are still rows remaining after evenly distributing them across each sub-period, these remaining rows need to be distributed further across the adjustment period. However, since the number of remaining rows is insufficient to be distributed across each sub-period of the adjustment period, to improve the uniformity of the distribution, the remaining rows can be distributed across evenly spaced sub-periods.
[0080] The number of rows corresponding to the aforementioned distribution parameters, remainder parameters, and parameters to be adjusted are all parameters that the chip can directly control.
[0081] In one embodiment, .
[0082] When adjusting the parameter to be adjusted, it can be done by adjusting... The value is implemented.
[0083] The following specific embodiment further verifies that the AMOLED screen brightness adjustment method in this application can improve the uniformity of adjustment: Table 1
[0084] As shown in Table 1, the remainder parameter 1, remainder parameter 2 and remainder parameter 3 are respectively located in the sub-cycles of each display frame.
[0085] like Figure 3 As shown, Figure 3 The diagram shows the remainder parameter distribution with an adjustment period of 32 and a remainder parameter of 3. From... Figure 3 As can be seen, after 32 cycles, the distribution pattern returns to that of the first frame for further adjustment. Within these 32 frames, the duty cycle distribution is different for each frame, and the duty cycle distributions of adjacent frames are also different, thus improving the uniformity of the distribution.
[0086] In the above implementation process, by determining the distribution parameters based on the number of rows corresponding to the parameter to be adjusted and the basic number of cycles of the set frequency, the distribution can be uniformly distributed within each sub-cycle of the adjustment cycle. Then, based on the distribution parameters, the remainder parameters are determined to determine the number of remaining minimum change units after distribution, which can improve the accuracy of the number of remaining minimum change units. In addition, when determining the initial distribution cycle, determining it according to the number of remaining minimum change units can evenly distribute the number of remaining minimum change units across the sub-cycles, achieving uniform distribution, improving the uniformity of brightness adjustment, and thus improving the fineness of brightness.
[0087] In one possible implementation, prior to step 201, the method further includes: determining a dimming mode based on the acquired brightness adjustment command and brightness threshold.
[0088] The brightness adjustment command refers to the instruction sent by the host to adjust the brightness. Upon triggering this brightness adjustment command, the electronic device initiates the AMOLED screen brightness adjustment.
[0089] In one embodiment, the brightness adjustment command includes the current brightness value.
[0090] The brightness thresholds here refer to the maximum and / or minimum brightness values corresponding to various dimming modes. Each dimming mode can have one or more brightness thresholds set.
[0091] The dimming modes mentioned above include DC mode, PWM mode, and PWM transition mode, which can be set according to actual needs.
[0092] Understandably, after receiving a brightness adjustment command, the current brightness value can be determined, along with its relationship to a brightness threshold. If the current brightness value falls within the DC dimming threshold range, DC mode is activated; if the current brightness value falls within the dimming threshold range for transitioning from DC dimming to PWM dimming, PWM transition mode is activated; and if the current brightness value falls within the dimming threshold range for PWM dimming, PWM transition mode is activated.
[0093] In one embodiment, step 201 includes: when the dimming mode is PWM mode, determining the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle based on the current frequency and the minimum change unit of the parameter to be adjusted.
[0094] In the above implementation process, after receiving the brightness adjustment command, the dimming mode is determined based on the relationship between the brightness adjustment command and the brightness threshold. The dimming mode can be adjusted according to the current brightness of the screen, improving dimming accuracy. Furthermore, when the dimming mode is determined to be PWM mode, the duty cycle is controlled to be distributed as evenly as possible. Without altering the uniform distribution of the duty cycle, the inherent pattern is broken by dynamically changing the uniform distribution, reducing flicker and improving the fineness of the display brightness.
[0095] Based on the same concept, this application also provides an AMOLED screen brightness adjustment device corresponding to the AMOLED screen brightness adjustment method. Since the principle of the device in this application is similar to that of the aforementioned AMOLED screen brightness adjustment method, the implementation of the device in this application can refer to the description in the above-mentioned method embodiments, and the repeated parts will not be described again.
[0096] Please see Figure 4 This is a functional module diagram of the AMOLED screen brightness adjustment device provided in this embodiment. Each module in the AMOLED screen brightness adjustment device in this embodiment is used to execute the steps in the above method embodiments. The AMOLED screen brightness adjustment device includes a first determining module 301, a second determining module 302, a third determining module 303, and an adjustment module 304; wherein, The first determining module 301 is used to determine the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle, based on the current frequency and the minimum change unit of the parameter to be adjusted.
[0097] The second determining module 302 is used to determine the initial distribution period that needs parameter adjustment based on the remainder parameter.
[0098] The third determining module 303 is used to determine the actual distribution period corresponding to each display frame according to a preset period interval; wherein, the preset period interval is the period interval of the initial distribution period.
[0099] The adjustment module 304 is used to adjust the parameter to be adjusted in the actual distribution period of each display frame.
[0100] In one possible implementation, the second determining module 302 is further configured to: input the remainder parameter into a setting formula to determine the initial distribution period; wherein the period interval of the initial distribution period is a uniform interval.
[0101] In one possible implementation, the first determining module 301 is further configured to: determine a distribution parameter based on the number of rows corresponding to the parameter to be adjusted and the number of basic cycles of the set frequency; wherein the distribution parameter is the number of the smallest units of change that can be distributed within each adjustment cycle; and determine the remainder parameter based on the distribution parameter.
[0102] In one possible implementation, the AMOLED screen brightness adjustment device further includes an adjustment module for determining a dimming mode based on the acquired brightness adjustment command and brightness threshold.
[0103] In one possible implementation, the first determining module 301 is specifically used to: when the dimming mode is PWM mode, determine the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle based on the current frequency and the minimum change unit of the parameter to be adjusted.
[0104] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the AMOLED screen brightness adjustment method described in the above method embodiments.
[0105] The computer program product of the AMOLED screen brightness adjustment method provided in this application embodiment includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the steps of the AMOLED screen brightness adjustment method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0107] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0108] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks. It should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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 a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0109] 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. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0110] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for adjusting the brightness of an AMOLED screen, characterized in that, include: Based on the current frequency and the minimum unit of change of the parameter to be adjusted, determine the remainder parameter after the parameter to be adjusted is uniformly distributed within each adjustment cycle; The remainder parameter is input into a set formula to determine the initial distribution period; wherein the period interval of the initial distribution period is a uniform interval; The set formula is configured to be used through a matrix. express: in, This indicates rounding down. To display the frame remainder number, for The number of fundamental cycles of the frequency The remainder parameter; The actual distribution period corresponding to each display frame is determined according to a preset period interval; wherein, the preset period interval is the period interval of the initial distribution period; Adjust the parameter to be adjusted in the actual distribution period of each display frame.
2. The method according to claim 1, characterized in that, The step of determining the remainder parameter after uniform distribution of the parameter to be adjusted within each adjustment cycle, based on the current frequency and the minimum unit of change of the parameter to be adjusted, includes: The distribution parameters are determined based on the number of rows corresponding to the parameter to be adjusted and the number of basic cycles of the set frequency; wherein, the distribution parameters are the number of the smallest units of change that can be distributed within each adjustment cycle; The remainder parameter is determined based on the distribution parameter.
3. The method according to claim 2, characterized in that, in, The formula for calculating the remainder parameter is: ; in, The row number corresponding to the parameter to be adjusted. For distribution parameters, for The number of fundamental cycles of the frequency It is the smallest unit of change.
4. The method according to claim 2, characterized in that, in, The formula for calculating the distribution parameter is: ; in, The row number corresponding to the parameter to be adjusted. For distribution parameters, for The number of fundamental cycles of the frequency It is the smallest unit of change.
5. The method according to any one of claims 1-4, characterized in that, Before determining the remainder parameter after uniform distribution of the parameter to be adjusted within each adjustment cycle based on the current frequency and the minimum unit of change of the parameter to be adjusted, the method further includes: The dimming mode is determined based on the obtained brightness adjustment command and brightness threshold. The step of determining the remainder parameter after uniform distribution of the parameter to be adjusted within each adjustment cycle, based on the current frequency and the minimum unit of change of the parameter to be adjusted, includes: When the dimming mode is PWM mode, the remainder parameter after the parameter to be adjusted is uniformly distributed in each adjustment cycle is determined based on the current frequency and the minimum change unit of the parameter to be adjusted.
6. An AMOLED screen brightness adjustment device, characterized in that, include: The first determining module is used to determine the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle, based on the current frequency and the minimum change unit of the parameter to be adjusted. The second determining module is used to determine the initial distribution period for which parameter adjustment is required based on the remainder parameter. The third determining module is used to determine the actual distribution period corresponding to each display frame according to a preset period interval; wherein, the preset period interval is the period interval of the initial distribution period; An adjustment module is used to adjust the parameter to be adjusted in the actual distribution period of each display frame; The second determining module is used to input the remainder parameter into a set formula to determine the initial distribution period; wherein the period interval of the initial distribution period is a uniform interval; The set formula is configured to be used through a matrix. express: in, This indicates rounding down. To display the frame remainder number, for The number of fundamental cycles of the frequency The remainder parameter.
7. An electronic device, characterized in that, include: The processor and memory, wherein the memory stores machine-readable instructions executable by the processor, wherein when the electronic device is running, the machine-readable instructions are executed by the processor to perform the steps of the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
LED light modulation method and light modulation device
CN106102252A
Screen brightness adjusting method and device, electronic equipment and storage medium
CN118280318A