AMOLED screen brightness adjusting method and device and electronic equipment

By determining the uniform distribution period of the parameters to be adjusted according to the current frequency and the minimum change unit of the parameters to be adjusted, the problem of poor brightness adjustment fineness in the prior art is solved, and higher brightness adjustment uniformity and fineness are achieved.

CN119889237AActive Publication Date: 2025-04-25CHIP WEALTH TECH LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202510293952.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-04-25
Estimated Expiration
2045-03-13

AI Technical Summary

Technical Problem

In the prior art, in the brightness adjustment of AMOLED screen, the fineness of the brightness adjustment is insufficient, resulting in poor display effect.

Method used

By determining the remainder parameters after uniform distribution of the parameters to be adjusted in each adjustment period based on the current frequency and the minimum change unit of the parameters to be adjusted, and determining the initial distribution period and the actual distribution period based on the remainder parameters, the dynamic change of the remainder parameter distribution is achieved.

Benefits of technology

The uniformity of the parameters to be adjusted is improved, and the uniformity of brightness adjustment is improved, and the delicateness of the display brightness is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119889237A_ABST
    Figure CN119889237A_ABST
Patent Text Reader

Abstract

The invention provides an AMOLED screen brightness adjusting method and device and electronic equipment, and the method comprises the steps: determining a remainder parameter after to-be-adjusted parameters are uniformly distributed in each adjustment period according to the current frequency and the minimum change unit of the to-be-adjusted parameters; according to the remainder parameter, determining an initial distribution period needing parameter adjustment; according to a preset period interval, determining an actual distribution period corresponding to each display frame; the preset period interval is the period interval of the initial distribution period; and adjusting the parameters to be adjusted in the actual distribution period in each display frame. According to the method and the device, the remainder parameter distributed in the adjustment period is determined firstly, then the initial distribution period corresponding to the remainder parameter is determined, and the actual distribution period corresponding to each display frame is determined according to the period interval of the initial distribution period, so that the to-be-adjusted parameter of each frame can be uniformly distributed, the adjustment uniformity of the to-be-adjusted parameter is improved, and the adjustment accuracy of the to-be-adjusted parameter is improved. And the uniformity of brightness adjustment is 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 technology, and in particular to an AMOLED screen brightness adjustment method, device and electronic device. Background Art

[0002] In the current display technology field, precise and delicate adjustment of brightness has always been the key to pursuing a high-quality visual experience. However, the current mainstream brightness adjustment methods generally rely on fixed step sizes or preset mode adjustment strategies. This limitation leads to unsatisfactory display brightness during the adjustment process. Summary of the invention

[0003] In view of this, the purpose of the embodiments of the present application is to provide an AMOLED screen brightness adjustment method, device and electronic device, which can improve the display brightness fineness.

[0004] In a first aspect, an embodiment of the present application provides a method for adjusting the brightness of an AMOLED screen, comprising: determining, based on a current frequency and a minimum change unit of the parameter to be adjusted, a remainder parameter after uniform distribution of the parameter to be adjusted in each adjustment period; determining, based on the remainder parameter, an initial distribution period for which parameter adjustment is required; determining, according to a preset period interval, an actual distribution period corresponding to each display frame; wherein the preset period interval is a period interval of the initial distribution period; and adjusting the parameter to be adjusted in the actual distribution period in each display frame.

[0005] In the above implementation process, when adjusting the brightness of the screen, the remainder parameters after uniform distribution within the adjustment period are first determined according to the minimum change unit of the parameter to be adjusted and the current frequency. When distributing the remainder parameters, 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, so as to realize the dynamic change of the remainder parameter distribution, so that the parameters to be adjusted in each frame can be evenly distributed, thereby improving the uniformity of the adjustment of the parameters to be adjusted, and then improving the uniformity of the brightness adjustment, and improving the fineness of the display brightness.

[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 parameters, by setting the period interval of the initial distribution period to a uniform interval, the remainder parameters can be distributed in each sub-period in a uniform distribution manner, thereby achieving uniform adjustment of the parameters to be adjusted, reducing flicker, and improving brightness fineness.

[0008] In one embodiment, the setting formula is configured to be represented by a matrix Loccount:

[0009]

[0010] Among them, floor means rounding down, count is the display frame remainder number, Repeat_num_x is the basic cycle number of frequency x, P remainder is the remainder parameter.

[0011] In the above implementation process, the initial distribution period is determined by using a matrix method. When calculating the initial distribution period, after the multiplication operation, the division operation is converted into a shift operation, which can reduce the amount of calculation and the power consumption of the operation. In addition, the period interval of the calculated initial distribution period is a uniform interval, which can achieve the distribution of the remainder parameters in each sub-period by uniform distribution, realize the uniform adjustment of the parameters to be adjusted, reduce the flicker, and improve the brightness fineness.

[0012] In one embodiment, determining the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted includes:

[0013] The distribution parameter is determined according to 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 minimum change units that can be distributed within each adjustment cycle; and the remainder parameter is determined according to the distribution parameter.

[0014] In one embodiment, the calculation formula of the remainder parameter is: remainder =(P hs -P Base *Repeat_num_x) / Step; where P hs is the number of rows corresponding to the parameter to be adjusted, P Base is a distribution parameter, Repeat_num_x is the number of basic cycles of frequency x, and Step is the minimum unit of change.

[0015] In one embodiment, the calculation formula of the distribution parameter is: Among them, P hs is the number of rows corresponding to the parameter to be adjusted, P Base is a distribution parameter, Repeat_num_x is the number of basic cycles of frequency x, and Step is the minimum unit of change.

[0016] In the above implementation process, by determining the distribution parameters according to the number of rows corresponding to the parameter to be adjusted and the number of basic cycles of the set frequency, it is possible to evenly distribute them in each sub-period of the adjustment period. Then, the remainder parameters are determined according to the distribution parameters to determine the number of minimum change units remaining after the distribution, which can improve the uniformity of the number of remaining minimum change units. In addition, when determining the initial distribution period, it is determined according to the number of remaining minimum change units, and the number of remaining minimum change units can be evenly distributed on the sub-periods, uniformly distributed, and the brightness adjustment uniformity is improved, thereby improving the brightness fineness.

[0017] In one embodiment, before determining the remainder parameter after uniform distribution of the parameter to be adjusted in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted, the method also includes: determining the dimming mode according to the acquired brightness adjustment instruction and the brightness threshold; determining the remainder parameter after uniform distribution of the parameter to be adjusted in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted includes: when the dimming mode is the PWM mode, determining the remainder parameter after uniform distribution of the parameter to be adjusted in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted.

[0018] In the above implementation process, after obtaining the brightness adjustment instruction, the dimming mode is determined according to the relationship between the brightness adjustment instruction and the brightness threshold, and the dimming mode corresponding to the current brightness of the screen can be adjusted to improve the dimming accuracy. In addition, when the dimming mode is determined to be PWM mode, the duty cycle is controlled to be as uniformly distributed as possible, and under the premise of not changing the uniform distribution of the duty cycle, the uniform distribution of the duty cycle is dynamically changed to break the inherent rules, reduce flicker, and improve the fineness of the display brightness.

[0019] In the second aspect, an embodiment of the present application also provides an AMOLED screen brightness adjustment device, including: a first determination module, used to determine the remainder parameter after the parameter to be adjusted is uniformly distributed in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted; a second determination module, used to determine the initial distribution period for parameter adjustment according to the remainder parameter; a third determination module, 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, used to adjust the parameter to be adjusted in the actual distribution period in each display frame.

[0020] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: 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 in the above-mentioned first aspect, or any possible implementation of the first aspect.

[0021] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the AMOLED screen brightness adjustment method in the above-mentioned first aspect, or any possible implementation of the first aspect are executed.

[0022] In order to make the above-mentioned objects, features and advantages of the present application more obvious and understandable, embodiments are given below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 A block diagram of an electronic device provided in an embodiment of the present application;

[0025] Figure 2 A flowchart of a method for adjusting the brightness of an AMOLED screen provided in an embodiment of the present application;

[0026] Figure 3 A schematic diagram of the distribution of remainder parameters provided in an embodiment of the present application;

[0027] Figure 4 A schematic diagram of the functional modules of the AMOLED screen brightness adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.

[0029] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0030] With the rapid development of electronic products, more and more screens are being used in current electronic products. For example, AMOLED display screens have the characteristics of high contrast, wide color gamut, thin and light power saving, narrow borders, and under-screen fingerprints. Compared with LCD displays, AMOLED displays have PWM dimming and DC+PWM mixed dimming in addition to DC dimming. The existing DC dimming has inherent deficiencies when used at low brightness: grayscale merging and color cast; when the frequency of PWM dimming is too low, the human eye can perceive flicker, especially in dark environments, which will increase visual fatigue. Among them, the principle of PWM dimming is to control the screen to alternate between light-off-light at a certain frequency in a very short period of time, and to achieve different brightness by adjusting the time ratio of light and off.

[0031] However, existing PWM dimming usually adopts a fixed duty cycle allocation method. The fixed duty cycle allocation method requires pre-storing the duty cycle change rules in advance. To effectively cover all situations, the system is very complex, and the adjustment uniformity is poor, which affects the fineness of the display brightness.

[0032] In view of this, the embodiment of the present application proposes a method for adjusting the brightness of an AMOLED screen. When adjusting the brightness of the screen, 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, so as to realize the dynamic change of the distribution of the remainder parameter, so that the parameters to be adjusted of each frame can be evenly distributed, thereby improving the uniformity of the adjustment of the parameters to be adjusted, and then improving the uniformity of the brightness adjustment, and improving the fineness of the display brightness.

[0033] To facilitate understanding of this embodiment, an electronic device that executes the AMOLED screen brightness adjustment method disclosed in the embodiment of the present application is first introduced in detail.

[0034] like Figure 1 , which is a block diagram of an electronic device. The electronic device 100 may include a memory 111 and a processor 113. A person skilled in the art may understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the electronic device 100. For example, the electronic device 100 may further include Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0035] The memory 111 and the processor 113 are electrically connected to each other directly or indirectly to achieve 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 is used to execute the executable module stored in the memory.

[0036] The memory 111 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 111 is used to store programs, and the processor 113 executes the program after receiving the execution instruction. The method executed by the electronic device 100 defined by the process disclosed in any embodiment of the present application can be applied to the processor 113, or implemented by the processor 113.

[0037] The processor 113 may be an integrated circuit chip with signal processing capability. 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 gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0038] The electronic device 100 in this embodiment can be used to execute each step in each method provided in the embodiments of the present application. The implementation process of the AMOLED screen brightness adjustment method is described in detail below through several embodiments.

[0039] See also Figure 2, is a flow chart of the AMOLED screen brightness adjustment method provided in the embodiment of the present application. Figure 2 The specific process shown is described in detail.

[0040] Step 201, determining the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle according to the current frequency and the minimum change unit of the parameter to be adjusted.

[0041] The current frequency refers to the frequency of the screen at the current moment, which can be 60 Hz, 90 Hz, 120 Hz, etc.

[0042] It is understandable that in the current field of screen technology, the frequency of the screen is usually set to a combination frequency. For example, a frequency combination of 60 / 90 / 120Hz, a frequency combination of 60 / 90 / 144Hz, etc. For a screen with a combination frequency, the corresponding frequencies at different times may be different. Therefore, when determining the remainder parameter, it is necessary to determine the frequency of the screen at the current moment, and calculate the remainder parameter based on the current frequency, which can improve the accuracy of the remainder parameter calculation.

[0043] The parameter to be adjusted here refers to a parameter that needs to be adjusted, and the parameter to be adjusted can be used to adjust the brightness of the screen parameter.

[0044] In one embodiment, the parameter to be adjusted is a duty cycle.

[0045] The minimum change unit of the parameter to be adjusted refers to the minimum amplitude when adjusting the parameter to be adjusted. For example, the minimum change unit of the parameter to be adjusted is 4hs; for another example, 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 actual conditions.

[0046] The above-mentioned adjustment period can be determined according to the basic period corresponding to the current frequency.

[0047] Each frequency here is set with a corresponding basic period, for example, the basic period corresponding to 60 Hz is 64, the basic period corresponding to 90 Hz is 48, and the basic period corresponding to 120 Hz is 32.

[0048] The above-mentioned remainder parameter refers to the remaining number of the minimum change units after the minimum change units are simultaneously allocated in a PWM (Pulse Width Modulation, Chinese name: pulse width modulation) cycle.

[0049] Step 202: Determine the initial distribution period for which parameter adjustment is required according to the remainder parameter.

[0050] It can be understood that after the remainder parameter is determined, in order to make the AMOLED screen brightness adjustment more uniform, the initial distribution period for which parameter adjustment needs to be continued can be determined according to the remainder parameter.

[0051] The initial distribution period here refers to the sub-periods to which the remainder parameters need to be distributed in the adjustment period under the current display frame. For example, if the remainder parameter is 3, then the three remainder parameters can be distributed to the three sub-periods in the adjustment period.

[0052] The above-mentioned remainder parameters can be evenly distributed in the adjustment period, that is, the period interval of the initial distribution period is a uniform interval; the remainder parameters can be non-uniformly distributed in the adjustment period, that is, the period interval of the initial distribution period is a non-uniform interval. The distribution of the remainder parameters in the adjustment period can be selected according to actual conditions.

[0053] Step 203: determining the actual distribution period corresponding to each display frame according to the preset period interval.

[0054] The preset period interval is the period interval of the initial distribution period. There may be multiple preset period intervals, and each preset period interval is the interval between sub-periods in the adjustment period where two adjacent remainder parameters are located.

[0055] When adjusting the screen brightness, the display frame changes in real time. For each display frame, the remainder parameter needs to be distributed in the adjustment cycle. In order to improve the uniformity of the distribution of the remainder parameter, a dynamic adjustment distribution strategy can be set. That is, the remainder parameter can be cyclically distributed in the adjustment cycle with the sub-period in the initial distribution cycle as the starting sub-period.

[0056] Exemplarily, 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. Then, in the initial display frame, the three remainder parameters are distributed in the 1st, 11th, and 21st sub-cycles (i.e., the actual distribution cycles are the 1st, 11th, and 21st sub-cycles); in the next display frame of the initial display frame, the three remainder parameters are distributed in the 2nd, 12th, and 22nd sub-cycles (i.e., the actual distribution cycles are the 2nd, 12th, and 22nd sub-cycles); in the next display frame of the next display frame of the initial display frame, the three remainder parameters are distributed in the 3rd, 13th, and 23rd sub-cycles (i.e., the actual distribution cycles are the 3rd, 13th, and 23rd sub-cycles)... The above method is repeated until the screen brightness adjustment is completed.

[0057] 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. In the initial display frame, the three remainder parameters are distributed in the 1st, 8th, and 16th sub-cycles (i.e., the actual distribution cycles are the 1st, 8th, and 16th sub-cycles); in the next display frame of the initial display frame, the three remainder parameters are distributed in the 2nd, 9th, and 17th sub-cycles (i.e., the actual distribution cycles are the 2nd, 9th, and 17th sub-cycles); in the next display frame of the next display frame of the initial display frame, the three remainder parameters are distributed in the 3rd, 10th, and 18th sub-cycles (i.e., the actual distribution cycles are the 3rd, 10th, and 18th sub-cycles)... The above method is repeated until the screen brightness adjustment is completed.

[0058] The above determination of the actual distribution period is only exemplary, and the actual distribution period can be selected according to actual conditions.

[0059] Step 204: adjust the parameters to be adjusted in the actual distribution period in each display frame.

[0060] It can be understood that the distribution of the remainder parameters is mainly used to determine the sub-periods that require parameter adjustment. After determining the actual distribution period of the remainder parameters, the parameters to be adjusted in the sub-periods where the remainder parameters are distributed are adjusted, thereby achieving AMOLED screen brightness adjustment.

[0061] In the above implementation process, when adjusting the brightness of the screen, the remainder parameters after uniform distribution within the adjustment period are first determined according to the minimum change unit of the parameter to be adjusted and the current frequency. When distributing the remainder parameters, 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, so as to realize the dynamic change of the remainder parameter distribution, so that the parameters to be adjusted in each frame can be evenly distributed, thereby improving the uniformity of the adjustment of the parameters to be adjusted, and then improving the uniformity of the brightness adjustment, and improving the fineness of the display brightness.

[0062] In a possible implementation, step 202 includes: inputting the remainder parameter into a setting formula to determine an initial distribution period.

[0063] The period intervals of the initial distribution periods are uniformly spaced.

[0064] The setting formula here is a formula for equally dividing the remainder parameter. For example, the setting formula may be a division, or a matrix, etc. The setting formula may be selected according to actual conditions.

[0065] For example, if the setting formula is division, the setting formula can be set as:

[0066] The period interval of the initial distribution period = adjustment period / number of remainder parameters;

[0067] After the period interval of the initial distribution period is determined, the remainder parameters are distributed in corresponding sub-periods according to the period interval of the initial distribution period.

[0068] The uniform interval here means that the intervals of the sub-periods of the remainder parameter distribution are equal or have a small difference. For example, if the adjustment period includes 32 sub-periods and the remainder parameter is 3, the period interval of the initial distribution period can be 10; if the adjustment period includes 32 sub-periods and the remainder parameter is 2, the period interval of the initial distribution period can be 15; if the adjustment period includes 32 sub-periods and the remainder parameter is 4, the period interval of the initial distribution period can be 8.

[0069] For another example, if the adjustment period includes 64 sub-periods and the remainder parameter is 3, 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, 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, the period interval of the initial distribution period can be 20.

[0070] The period interval of the above-mentioned initial distribution period is only exemplary, and the period interval of the initial distribution period can be adjusted according to actual conditions.

[0071] In the above implementation process, when distributing the remainder parameters, by setting the period interval of the initial distribution period to a uniform interval, the remainder parameters can be distributed in each sub-period in a uniform distribution manner, thereby achieving uniform adjustment of the parameters to be adjusted, reducing flicker, and improving brightness fineness.

[0072] In one possible implementation, the formula is configured to be represented by the matrix Location:

[0073]

[0074] Among them, floor means rounding down, count is the display frame remainder number, Repeat_num_x is the basic cycle number of frequency x, P remainder is the remainder parameter.

[0075] The remainder number here is a sequence with a value range of [1, P remainder ]. The value calculated by the Loccount calculation formula is the sub-period where the remainder parameter is located in the display frame.

[0076] The x frequency mentioned above refers to the frequency of the current display frame of the screen, for example, 120Hz, 60Hz, 90Hz, etc., and the corresponding basic cycle number can be 32, 64, 48, etc.

[0077] The period intervals of the initial distribution periods calculated by the above matrix Location are uniform intervals.

[0078] For example, if the adjustment period is 32, when the remainder parameter is 1, it is distributed in the 1st sub-period; when the remainder parameter is 2, it is distributed in the 1st and 16th sub-periods; when the remainder parameter is 3, it is distributed in the 1st, 11th, and 21st sub-periods. Similarly, when the remainder parameter is greater than 3, it will also be dynamically evenly distributed.

[0079] It can be understood that in the above expression of the initial distribution period, there is a fixed 1 / P remainder , the parameter can be quantized and stored in the chip. In addition, considering the value range of the remainder parameter, only 64 quantized values ​​need to be stored at most. When actually calculating the initial distribution cycle, after completing the multiplication operation, the division operation is converted into a shift operation, which reduces the amount of operation and the power consumption of the operation.

[0080] In the above implementation process, the initial distribution period is determined by using a matrix method. When calculating the initial distribution period, after the multiplication operation, the division operation is converted into a shift operation, which can reduce the amount of calculation and the power consumption of the operation. In addition, the period interval of the calculated initial distribution period is a uniform interval, which can achieve the distribution of the remainder parameters in each sub-period by uniform distribution, realize the uniform adjustment of the parameters to be adjusted, reduce the flicker, and improve the brightness fineness.

[0081] In a possible implementation, step 201 includes: determining a distribution parameter according to the number of rows corresponding to the parameter to be adjusted and the number of basic cycles of the set frequency; and determining a remainder parameter according to the distribution parameter.

[0082] The row number corresponding to the parameter to be adjusted refers to the parameter converted to the minimum change unit of the parameter to be adjusted. For example, if the parameter to be adjusted is the duty cycle and the minimum change unit is hs, the row number corresponding to the parameter to be adjusted refers to the value of the duty cycle converted to hs.

[0083] The distribution parameter here is the number of the minimum change units that can be distributed in each adjustment cycle.

[0084] In a possible implementation, the calculation formula of the distribution parameter is:

[0085]

[0086] Among them, P hs is the number of rows corresponding to the parameter to be adjusted, P Base is a distribution parameter, Repeat_num_x is the number of basic cycles of frequency x, and Step is the minimum unit of change.

[0087] The above-mentioned remainder parameter refers to the number of minimum change units remaining after allocation in each adjustment cycle.

[0088] In a possible implementation, the calculation formula of the remainder parameter is:

[0089] P remainder =(P hs -P Base *Repeat_num_x) / Step;

[0090] Among them, P hs is the number of rows corresponding to the parameter to be adjusted, P Base is a distribution parameter, Repeat_num_x is the number of basic cycles of frequency x, and Step is the minimum unit of change.

[0091] It can be understood that 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 in each sub-period of the adjustment period. If there are still remaining rows after evenly distributing in each sub-period, it is necessary to continue to distribute these remaining rows in the adjustment period. However, since the remaining number of rows at this time is not enough to be distributed in each sub-period of the adjustment period, when distributing the remaining number of rows, in order to improve the uniformity of distribution, the remaining number of rows can be distributed in sub-periods with even intervals.

[0092] The above-mentioned distribution parameters, remainder parameters and row numbers corresponding to the parameters to be adjusted are all parameters that can be directly controlled by the chip.

[0093] In one embodiment,

[0094] Among them, when adjusting the parameters to be adjusted, you can adjust P hs The value is realized.

[0095] The following is a specific example to further verify that the AMOLED screen brightness adjustment method in the embodiment of the present application can improve the adjustment uniformity:

[0096] Table 1

[0097]

[0098] As shown in Table 1, the remainder parameter 1, remainder parameter 2 and remainder parameter 3 shown in Table 1 are respectively located in the sub-periods in each display frame.

[0099] like Figure 3 As shown, Figure 3 The distribution of the remainder parameters when the adjustment period is 32 and the remainder parameter is 3 is shown in FIG. Figure 3It can be seen that after 32 cycles, the cycle returns to the distribution mode of the first frame to continue adjustment. Within the 32 frames, the duty cycle distribution of each frame is different, and the duty cycle distribution of adjacent frames is different, which improves the distribution uniformity.

[0100] In the above implementation process, by determining the distribution parameters according to the number of rows corresponding to the parameter to be adjusted and the number of basic cycles of the set frequency, the parameters can be evenly distributed in each sub-period of the adjustment period. Then, the remainder parameters are determined according to the distribution parameters to determine the number of minimum change units remaining after the distribution, which can improve the accuracy of the number of remaining minimum change units. In addition, when determining the initial distribution period, the number of remaining minimum change units can be evenly distributed on the sub-periods according to the number of remaining minimum change units, and the distribution is uniform, thereby improving the uniformity of brightness adjustment and the fineness of brightness.

[0101] In a possible implementation, before step 201, the method further includes: determining a dimming mode according to the acquired brightness adjustment instruction and the brightness threshold.

[0102] The brightness adjustment instruction refers to an instruction sent by the host for brightness adjustment. Under the triggering of the brightness adjustment instruction, the electronic device starts the AMOLED screen brightness adjustment.

[0103] In one embodiment, the brightness adjustment instruction includes a current brightness value.

[0104] The brightness threshold here refers to the maximum and / or minimum brightness values ​​corresponding to various dimming modes. Among them, each dimming mode can be set corresponding to one or more brightness thresholds.

[0105] The above dimming modes include: DC mode, PWM mode and PWM transition mode, etc. The dimming mode can be set according to actual needs.

[0106] It can be understood that after obtaining the brightness adjustment instruction, the current brightness value can be determined, and the relationship between the current brightness value and the brightness threshold can be determined. If the current brightness value falls within the DC dimming threshold range, the DC mode is started; if the current brightness value falls within the dimming threshold range of the transition from DC dimming to PWM dimming, the PWM transition mode is started; if the current brightness value falls within the dimming threshold range of PWM dimming, the PWM transition mode is started.

[0107] In one embodiment, step 201 includes: when the dimming mode is the PWM mode, determining a remainder parameter after uniform distribution of the parameter to be adjusted in each adjustment cycle according to the current frequency and the minimum change unit of the parameter to be adjusted.

[0108] In the above implementation process, after obtaining the brightness adjustment instruction, the dimming mode is determined according to the relationship between the brightness adjustment instruction and the brightness threshold, and the dimming mode corresponding to the current brightness of the screen can be adjusted to improve the dimming accuracy. In addition, when the dimming mode is determined to be PWM mode, the duty cycle is controlled to be as uniformly distributed as possible, and under the premise of not changing the uniform distribution of the duty cycle, the uniform distribution of the duty cycle is dynamically changed to break the inherent rules, reduce flicker, and improve the fineness of the display brightness.

[0109] Based on the same application concept, an AMOLED screen brightness adjustment device corresponding to the AMOLED screen brightness adjustment method is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to that in the aforementioned AMOLED screen brightness adjustment method embodiment, the implementation of the device in this embodiment can refer to the description in the embodiment of the above-mentioned method, and the repeated parts will not be repeated.

[0110] See also Figure 4 , is a functional module diagram of the AMOLED screen brightness adjustment device provided in the embodiment of the present application. Each module in the AMOLED screen brightness adjustment device in this embodiment is used to perform each step in the above method embodiment. The AMOLED screen brightness adjustment device includes a first determination module 301, a second determination module 302, a third determination module 303, and an adjustment module 304; wherein,

[0111] The first determination module 301 is used to determine the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted.

[0112] The second determination module 302 is used to determine an initial distribution period for which parameter adjustment is required according to the remainder parameter.

[0113] The third determination 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.

[0114] The adjustment module 304 is used to adjust the parameter to be adjusted in the actual distribution period in each display frame.

[0115] In a possible implementation manner, the second determination module 302 is further used 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.

[0116] In a possible implementation, the first determination module 301 is further used 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 minimum change units that can be distributed within each adjustment cycle; and determine the remainder parameter based on the distribution parameter.

[0117] In a possible implementation, the AMOLED screen brightness adjustment device further includes an adjustment module for determining a dimming mode according to an acquired brightness adjustment instruction and a brightness threshold.

[0118] In a possible implementation manner, the first determination module 301 is specifically configured to: when the dimming mode is the PWM mode, determine a remainder parameter after uniform distribution of the parameter to be adjusted in each adjustment cycle according to the current frequency and the minimum change unit of the parameter to be adjusted.

[0119] In addition, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the AMOLED screen brightness adjustment method described in the above method embodiment are executed.

[0120] The computer program product of the AMOLED screen brightness adjustment method provided in the embodiment of the present application includes a computer-readable storage medium storing program code, and 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.

[0121] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0122] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0123] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk. It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus. In the absence of more restrictions, the elements defined by the sentence "includes..." do not exclude the presence of other identical elements in the process, method, article or apparatus that includes the elements.

[0124] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0125] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for adjusting the brightness of an AMOLED screen, characterized in that: include: Determine the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle according to the current frequency and the minimum change unit of the parameter to be adjusted; Determining an initial distribution period for which parameter adjustment is required according to the remainder parameter; 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; The parameter to be adjusted in the actual distribution period in each display frame is adjusted.

2. The method according to claim 1, characterized in that: The step of determining the initial distribution period for which parameter adjustment is required according to the remainder parameter includes: Inputting the remainder parameter into a setting formula to determine the initial distribution period; Wherein, the period intervals of the initial distribution periods are uniform intervals.

3. The method according to claim 2, characterized in that in, The setting formula is configured to be represented by the matrix Loccount: Loccount=[ 1, floor[(count*Repeat_num_x) / P remainder , foor[((count-1)*Repeat_num_x) / P remainder , ]; Among them, floor means rounding down, count is the display frame remainder number, Repeat_num_x is the basic cycle number of frequency x, P remainder is the remainder parameter.

4. The method according to claim 1, characterized in that: The step of determining the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle according to the current frequency and the minimum change unit of the parameter to be adjusted includes: Determine the distribution parameter according to 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 minimum change units that can be distributed within each adjustment cycle; The remainder parameter is determined according to the distribution parameter.

5. The method according to claim 4, characterized in that in, The calculation formula of the remainder parameter is: P remainder =(P hs -P Base *Repeat_num_x) / Step; Among them, P hs is the number of rows corresponding to the parameter to be adjusted, P Base is a distribution parameter, Repeat_num_x is the number of basic cycles of frequency x, and Step is the minimum unit of change.

6. The method according to claim 4, characterized in that in, The calculation formula of the distribution parameter is: Among them, P hs is the number of rows corresponding to the parameter to be adjusted, P Base is a distribution parameter, Repeat_num_x is the number of basic cycles of frequency x, and Step is the minimum unit of change.

7. The method according to any one of claims 1 to 6, characterized in that: Before determining the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted, the method further includes: Determine a dimming mode according to the acquired brightness adjustment instruction and brightness threshold; The step of determining the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment cycle according to the current frequency and the minimum change unit of the parameter to be adjusted includes: When the dimming mode is the PWM mode, the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment period is determined according to the current frequency and the minimum change unit of the parameter to be adjusted.

8. An AMOLED screen brightness adjustment device, characterized in that: include: A first determination module, used to determine the remainder parameter after the parameter to be adjusted is evenly distributed in each adjustment period according to the current frequency and the minimum change unit of the parameter to be adjusted; A second determination module is used to determine an initial distribution period for which parameter adjustment is required according to the remainder parameter; A third determination 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; The adjustment module is used to adjust the parameter to be adjusted in the actual distribution period in each display frame.

9. An electronic device, characterized in that: include: 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 any method described in claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • LED dimming method and device

    CN103874301A

  • System and method for adjusting brightness automatically

    CN104795054A

  • LED light modulation method and light modulation device

    CN106102252A

  • Screen light supplementing method and device and electronic equipment

    CN111901519A

  • Display screen brightness adjusting method and device, electronic equipment and storage medium

    CN113140195A