Display control method, device and electronic equipment

By calculating the brightness control parameters of N frames based on the target brightness and the voltage of the light-emitting circuit in high-frequency PWM dimming technology, and setting the parameters of multiple frames in the intermediate state during the brightness switching process in a gradual manner, the transient screen flicker problem during screen brightness switching is solved, and the display effect is improved.

CN119252164BActive Publication Date: 2026-03-31VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In high-frequency PWM dimming technology, the frequency change during screen brightness switching causes transient screen flicker, affecting user visual comfort.

Method used

The first proportion is determined based on the target brightness and the voltage of the light-emitting circuit. The brightness control parameters of N frames are calculated, including the width and number of dimming signals. The parameters of multiple frames in the intermediate state during the brightness switching process are set in a gradual manner to avoid transient screen flicker during brightness switching.

Benefits of technology

It achieves a smooth transition during screen brightness switching, avoids transient screen flicker, and improves display quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119252164B_ABST
    Figure CN119252164B_ABST
Patent Text Reader

Abstract

The application discloses a display control method, device and electronic equipment, and belongs to the technical field of electronic equipment. The method comprises the following steps: determining a first proportion based on a target brightness of a screen and a target light-emitting circuit voltage, the first proportion being a proportion of the number of non-display pixel rows in a frame of picture under the target brightness; determining a brightness control parameter of N frames of picture based on the target brightness and the first proportion, the brightness control parameter comprising a dimming signal width and a dimming signal quantity, N being an integer greater than 1; and displaying the N frames of picture based on the brightness control parameter of the N frames of picture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic equipment technology, specifically relating to a display control method, device, and electronic equipment. Background Technology

[0002] In mobile phone screen brightness adjustment technology, when the screen brightness drops to a low level (such as below 90 nits), high-frequency pulse width modulation (PWM) dimming technology is typically used to balance power consumption and visual comfort. This technology adjusts the average brightness of the screen by rapidly switching between on and off states.

[0003] In related technologies, when using high-frequency PWM dimming technology to adjust screen brightness, transient screen flicker can occur when switching between different PWM frequencies due to the sudden change in the duty cycle of the on / off state during the switching process. This flicker can not only cause visual discomfort to users but also place an additional burden on their eyes. Therefore, how to effectively solve the screen flicker problem during frequency switching under high-frequency PWM dimming is an urgent problem to be solved in the development of screen technology. Summary of the Invention

[0004] The purpose of this application is to provide a display control method, device, and electronic device that can avoid transient screen flicker during brightness switching, thereby improving the display effect.

[0005] In a first aspect, embodiments of this application provide a display control method, the method comprising: determining a first proportion based on a target brightness of the screen and a target light-emitting circuit voltage, the first proportion being the proportion of non-display pixel rows in a frame at the target brightness; determining brightness control parameters for N frames based on the target brightness and the first proportion, the brightness control parameters including a dimming signal width and a dimming signal quantity, where N is an integer greater than 1; and displaying N frames based on the brightness control parameters for the N frames.

[0006] Secondly, embodiments of this application provide a display control device, which includes a processing module and a display module, wherein: the processing module is configured to determine a first proportion based on the target brightness of the screen and the voltage of the target light-emitting circuit, the first proportion being the proportion of the number of non-display pixel rows in a frame at the target brightness; the processing module is further configured to determine brightness control parameters for N frames based on the target brightness and the first proportion, the brightness control parameters including the dimming signal width and the number of dimming signals, where N is an integer greater than 1; the display module is configured to display the N frames based on the brightness control parameters for the N frames determined by the processing module.

[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0009] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0010] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0011] In this embodiment, a first proportion is determined based on the target brightness of the screen and the voltage of the target light-emitting circuit. This first proportion is the percentage of non-display pixel rows in a frame at the target brightness. Based on the target brightness and the first proportion, brightness control parameters for N frames are determined. These brightness control parameters include the dimming signal width and the number of dimming signals. Based on these N frames' brightness control parameters, the N frames are displayed. This method determines the brightness control parameters for multiple frames based on the target brightness and the voltage of the target light-emitting circuit. By gradually setting the brightness control parameters for multiple frames in the intermediate state during brightness switching, a smoother transition can be achieved when switching the screen brightness to the target brightness, avoiding transient screen flicker during brightness switching and thus improving the display effect. Attached Figure Description

[0012] Figure 1 A flowchart illustrating the display control method provided in an embodiment of this application;

[0013] Figure 2 This is one of the schematic diagrams illustrating the pixel state during brightness switching provided in an embodiment of this application;

[0014] Figure 3 This is a second schematic diagram illustrating the pixel state during brightness switching, provided in an embodiment of this application.

[0015] Figure 4 This is a schematic diagram of the structure of the display control device provided in the embodiments of this application;

[0016] Figure 5This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0017] Figure 6 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0018] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0019] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0020] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."

[0021] The following explains the nouns or terms used in the embodiments of this application.

[0022] Pulse Width Modulation (PWM): PWM is a technique that digitizes analog signals, indirectly controlling parameters such as voltage and power of the output signal by changing the pulse width. PWM technology is based on a fixed-frequency reference signal, which is periodically sampled to generate pulses of a corresponding fixed width. These pulses are sent to a switching circuit to control its on / off state, thereby outputting an analog signal to the load circuit. By adjusting the pulse duty cycle, precise control over the output signal level and duration can be achieved.

[0023] PWM dimming: PWM dimming controls the screen's brightness by varying the duty cycles of the EM signal's on (high level) and off (low level) states, thus alternating the screen's brightness. A PWM-dimmed screen doesn't emit light continuously; it continuously turns on and off. When the on-off cycle is fast enough, the human eye perceives the screen as constantly on. The longer the off-off period, the lower the perceived brightness. Conversely, a longer on-time and a shorter off-time result in a brighter screen.

[0024] The execution subject of the display control method provided in this application embodiment can be a display control device, which can be an electronic device, or a functional module or functional entity in an electronic device. The following description uses an electronic device executing the display control method as an example to illustrate the display control method provided in this application embodiment.

[0025] Currently, electronic device screens use high-frequency PWM dimming at low brightness levels (e.g., below 90 nits). Because the duty cycle of the screen display within a frame cannot be completely consistent at different PWM frequencies, there will be differences in brightness, which will cause transient screen flicker when directly switching PWM frequencies.

[0026] To address the aforementioned issues, the display control method provided in this application determines the brightness control parameters for multiple frames based on the target brightness and the target light-emitting circuit voltage. By gradually setting the brightness control parameters for multiple frames in the intermediate state during brightness switching, a smoother transition can be achieved when switching the screen brightness to the target brightness, avoiding transient screen flicker during brightness switching and thus improving the display effect.

[0027] The display control method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0028] Figure 1 This is a flowchart illustrating the display control method provided in an embodiment of this application, as shown below. Figure 1 As shown, the display control method may include the following steps 201 to 203:

[0029] Step 201: The electronic device determines the first proportion based on the target brightness of the screen and the voltage of the target light-emitting circuit.

[0030] The first percentage mentioned above refers to the percentage of non-display pixel rows in a frame under the target brightness.

[0031] In some embodiments of this application, the screen type of the screen may include, but is not limited to, any of the following: Organic Light-Emitting Diode Display (OLED), Light-Emitting Diode Display (LED), Liquid Crystal Display (LCD), etc.

[0032] In some embodiments of this application, the target brightness is a brightness determined based on the user's brightness adjustment operation, or a brightness determined adaptively to ambient light.

[0033] It should be noted that the target brightness refers to the screen brightness that needs to be achieved, which can be represented by "L".

[0034] In some embodiments of this application, the voltage of the target light-emitting circuit can be the light-emitting voltage circuit corresponding to the target brightness.

[0035] In some examples, the electronic device can determine the target light-emitting circuit voltage, i.e., the target light-emitting circuit voltage, based on a preset correspondence between different brightness levels and the required target light-emitting circuit voltage.

[0036] In other examples, electronic devices can use simulation software to model and calculate, simulating brightness performance under different voltages by inputting information such as the physical characteristics of the screen and light source parameters, thereby predicting the voltage value required to achieve the target brightness.

[0037] It should be noted that the target light-emitting circuit voltage refers to the voltage value required to drive the screen to achieve the target brightness, and the brightness of the target light-emitting circuit can be represented by "V".

[0038] In some embodiments of this application, the aforementioned first proportion may be the proportion of the number of non-display pixel rows in a frame of an image when the image is displayed at the target brightness, in the total number of effective pixel rows in that frame of an image.

[0039] In some embodiments of this application, the number of non-display pixel rows in a frame refers to the number of pixel rows in the frame that are not lit (or not emitting light) or the number of pixel rows in the frame that are turned off.

[0040] It should be noted that this first percentage can represent the duty cycle of the black screen display time within a frame.

[0041] In some embodiments of this application, the electronic device can calculate the first proportion based on the target brightness of the screen and the target light-emitting circuit voltage, using the conversion formula between light-emitting circuit voltage and brightness.

[0042] For example, the conversion formula between voltage and brightness of the light-emitting circuit is as follows:

[0043] L=Vα(1–D black )

[0044] Where α is the conversion coefficient between voltage and brightness, and D black D is the duty cycle of the black screen display time within one frame. black =H black / H total H black H represents the number of pixel rows that are turned off within a frame (i.e., the number of pixel rows that are not displayed). total This represents the total number of valid pixel rows scanned within a single frame.

[0045] It should be noted that the higher the voltage V of the light-emitting circuit, the greater the brightness, and the fewer the number of pixel rows H that are not displayed. black The smaller the value, the greater the brightness; however, the larger the voltage V of the light-emitting circuit, the greater the power consumption of the screen.

[0046] Specifically, the electronic device can substitute the target brightness of the screen and the target light-emitting circuit voltage into the above conversion formula between the light-emitting circuit voltage V and the brightness L to calculate the duty cycle of the black screen display time (i.e., the first percentage).

[0047] It's important to note that when an electronic device's screen brightness switches from a low to a high range, the PWM frequency decreases (i.e., the number of pulses decreases). Even if the pulse width remains constant, the total number of rows of pixels that are not displayed decreases, meaning the duty cycle of the black screen time also decreases, resulting in brighter screens. Since different PWM frequencies require different voltages from the light-emitting circuits, under the same screen brightness and other conditions remaining constant, a higher PWM frequency requires a higher voltage from the light-emitting circuits to maintain the same screen brightness.

[0048] Because at the critical point between two adjacent brightness ranges, the maximum brightness of the low brightness range is the same as the minimum brightness of the high brightness range, but the PWM frequency is different. Typically, when the PWM frequency switches from high to low, the voltage V of the light-emitting circuit decreases simultaneously (reducing screen power consumption). Therefore, the duty cycle of the screen display needs to be adjusted to maintain the same screen brightness. According to the brightness formula L=Vα(1–D black ), and by reverse calculation, the duty cycle D of the black screen display time. black =1-L / (Vα), therefore, the black screen duty cycle D of the target brightness can be calculated based on the target brightness L and the voltage V of the target brightness light-emitting circuit. blackFor example, when the PWM frequency switches from 4320Hz to 2160Hz, the voltage of the light-emitting circuit is reduced by half. Therefore, the duty cycle of the on-screen display needs to be doubled to maintain the same brightness. The combined duty cycle of the on-screen display and the duty cycle of the off-screen display is 100%, so the duty cycle of the off-screen display time needs to be relatively reduced.

[0049] Step 202: The electronic device determines the brightness control parameters of N frames based on the target brightness and the first proportion.

[0050] The brightness control parameters mentioned above include the dimming signal width and the number of dimming signals, where N is an integer greater than 1.

[0051] In some embodiments of this application, N is a predefined value, and the value of N is related to the brightness difference between the current brightness of the screen and the target brightness of the screen. For example, the value of N is positively correlated with the brightness difference between the current brightness and the target brightness; that is, the larger the brightness difference, the larger the value of N. For instance, when the current brightness of the screen is 30 nits and the target brightness is 450 nits, the value of N can be 3.

[0052] In some examples, when the brightness difference is large, electronic devices require more frames (i.e., a larger N value) to gradually adjust the brightness to reach the target brightness, avoiding rapid brightness changes that could cause user discomfort. Conversely, when the brightness difference is small, fewer frames (i.e., a smaller N value) are needed to achieve fast and smooth brightness adjustment.

[0053] In some examples, the best N value for the current screen and brightness adjustment needs can be determined through experiments or tests based on the brightness difference.

[0054] In some embodiments of this application, the above-mentioned brightness control parameters are used to adjust and control the brightness of N frames displayed on the screen.

[0055] In some embodiments of this application, the dimming signal width and the number of dimming signals can be referred to as dimming signal parameters.

[0056] It should be noted that the dimming signal width mentioned above refers to the pulse width of the dimming signal, and the dimming signal quantity refers to the number of pulses in the dimming signal.

[0057] In some embodiments of this application, the dimming signal can be an EM signal.

[0058] For example, the dimming signal width can be the pulse width of the EM signal, and the dimming signal quantity can be the number of pulses of the EM signal.

[0059] It should be noted that the number of pulses in an EM signal is the EM signal pulse count, which refers to the number of pulses contained in an electromagnetic signal within a specific time period.

[0060] It should be noted that the dimming signal width refers to the duration of the high-level or active signal in the control signal. In PWM technology, this parameter determines the length of time the screen's light-emitting elements are lit within a single cycle, thus directly affecting the screen's average brightness. By adjusting the dimming signal width, the screen brightness can be precisely controlled. The dimming signal quantity refers to the number or frequency of active pulses sent within the control cycle. By changing the frequency or quantity of the dimming signal, the screen brightness can also be indirectly affected.

[0061] In this embodiment, when an electronic device needs to switch the current brightness to the target brightness, it can determine the dimming signal width and the number of dimming signals for at least two frames based on the target brightness of the screen and the voltage of the target light-emitting circuit. By adding at least one transition frame in the intermediate process, the dimming signal parameters are gradually changed during the brightness switching process, thereby avoiding the problem of transient screen flicker caused by the dimming signal parameters changing too much during the brightness switching, such as the number of EM Pulses and the width of EM Pulses changing too much between two adjacent frames. This ensures the stability and visibility of the screen brightness.

[0062] Step 203: The electronic device displays N frames based on the brightness control parameters of the N frames.

[0063] In some embodiments of this application, the electronic device can output a corresponding dimming signal pulse when displaying each frame based on the brightness control parameters of each frame in N frames, so as to control the display brightness of the frame through the dimming signal pulse. For example, when displaying a frame, the electronic device can output an EM pulse according to the number of pulses and the pulse width of the EM signal of the frame to control the number of non-displayed pixel rows in the frame (i.e., the corresponding number of pixel turn-off rows), thereby displaying the frame.

[0064] In some embodiments of this application, the electronic device can switch the current PWM frequency to the target PWM frequency while displaying the first frame of the N frames.

[0065] For example, when switching PWM frequencies, the electronic device can simultaneously set the light-emitting circuit voltage and the corresponding EM signal parameters (i.e., the number of EM pulses and the width of EM pulses) corresponding to the target PWM frequency, and then gradually adjust the parameter settings of the number of pulses and the pulse width when the screen displays N frames of images frame by frame.

[0066] The display control method provided in this application embodiment involves an electronic device determining a first proportion based on the target brightness of the screen and the target light-emitting circuit voltage. This first proportion represents the percentage of non-display pixel rows in a single frame at the target brightness. Based on the target PWM frequency corresponding to the target brightness and the first proportion, brightness control parameters for N frames are determined. These brightness control parameters include the dimming signal width and the number of dimming signals. Based on these N frame brightness control parameters, the N frames are displayed. This method allows the electronic device to determine brightness control parameters for multiple frames based on the target brightness and the target light-emitting circuit voltage. By gradually setting the brightness control parameters for multiple frames in the intermediate state during PWM frequency switching, a smoother transition can be achieved when switching the screen brightness to the target brightness, avoiding transient screen flicker during brightness switching and thus improving the display effect.

[0067] In some embodiments of this application, step 202 above can be accomplished through steps 202a and 202b:

[0068] Step 202a: The electronic device determines the target pulse width modulation (PWM) frequency corresponding to the target brightness based on the brightness range in which the target brightness is located.

[0069] Step 202b: The electronic device determines the brightness control parameters for N frames based on the target PWM frequency and the number of non-display pixel rows.

[0070] One brightness range corresponds to one PWM frequency.

[0071] In some embodiments of this application, the electronic device can match the target brightness with M brightness intervals to determine the brightness interval in which the target brightness is located among the M brightness intervals, where M is a positive integer.

[0072] In some embodiments of this application, a brightness range corresponds to a PWM frequency (or PWM frequency level).

[0073] For example, the screen display brightness range is divided into M segments, corresponding to M PWM frequency levels. For example, ultra-low brightness range (0-30 nits), low brightness range (30-90 nits), medium brightness range (90-400 nits), high brightness range (400-800 nits), and ultra-high brightness range (above 800 nits), and each brightness range corresponds to a high-frequency PWM dimming frequency, for example, the ultra-low brightness range corresponds to 4320Hz PWM, and the high brightness range corresponds to 2160Hz PWM.

[0074] For example, suppose the screen needs to be adjusted to a target brightness of 500 nits. This target brightness is in the high brightness range, i.e., 400 to 800 nits. Based on the correspondence between the brightness range and the PWM frequency, the target PWM dimming frequency corresponding to this target brightness can be determined to be 2160Hz, which is the PWM dimming frequency corresponding to the high brightness range.

[0075] It should be noted that the above brightness range is only one possible example. In actual applications, the brightness range can be set according to actual needs, such as dividing into more or fewer brightness ranges, and the PWM frequency corresponding to different brightness ranges can also be set according to actual needs.

[0076] In some embodiments of this application, the electronic device can calculate the brightness control parameters of N frames based on the target PWM frequency and the first percentage, thereby obtaining the brightness control parameters of N frames.

[0077] In some embodiments of this application, the PWM frequencies of the above-mentioned N frames are the same, that is, the PWM frequency of the N frames is the target PWM frequency.

[0078] In some embodiments of this application, the brightness of the above-mentioned N frames is the same, that is, the brightness of the N frames is the target brightness.

[0079] It should be noted that the aforementioned N frames include transition frames where the brightness control parameters change gradually. In other words, the PWM frequency and brightness of the N frames are the same, but the brightness control parameters of the N frames are different. Specifically, the dimming signal width and the number of dimming signals are different for the N frames. That is, from the first frame to the Nth frame in the N frames, the display brightness and PWM frequency are consistent, while the dimming signal width and the number of dimming signals change gradually. This avoids transient screen flicker caused by large changes in the number and width of dimming signals when switching brightness.

[0080] Specifically, since the first proportion represents the percentage of undisplayed pixel rows in a frame out of the total number of pixel rows, the number of undisplayed pixel rows in a frame can be calculated based on the first proportion. Furthermore, to ensure consistent brightness across the N transition frames, the number of undisplayed pixel rows in these N frames must also be consistent. Since the number of undisplayed pixel rows in a frame is affected by both the number and width of the dimming signals in that frame, by setting the number of undisplayed pixel rows in the N frames to a fixed value and setting the number of dimming signals in the N frames to a variable value, and by precisely controlling the number and width of the dimming signals in the N frames, the number and width of the dimming signals can be progressively varied, thereby avoiding abrupt changes in the number and width of the dimming signals during brightness switching.

[0081] In this embodiment, the number of dimming signals (e.g., the number of pulses) and the width of dimming signals (e.g., the pulse width) in different intermediate states during PWM frequency switching are set gradually. This optimizes the transient screen flicker problem caused by excessive changes in the number and width of dimming signals when dynamically switching PWM frequencies. At the same time, multiple PWM frequencies are provided, and different high-frequency PWM frequencies are selected for different brightness ranges. The dynamic switching scheme, in which the PWM frequency is higher when the screen brightness is lower and lower when the brightness is higher, can reduce screen power consumption while ensuring eye protection.

[0082] In some embodiments of this application, step 202b may include steps 202b1 and 202b2:

[0083] Step 202b1: The electronic device determines the number of non-display pixel rows in a frame under the target brightness based on the first ratio.

[0084] Step 202b2: The electronic device determines the brightness control parameters for N frames based on the target PWM frequency and the number of non-display pixel rows.

[0085] It should be noted that the explanation of the number of non-display pixel rows can be found in the description of the above embodiments, and will not be repeated here.

[0086] In some embodiments of this application, the electronic device can calculate the number of non-display pixel rows in a frame according to the first proportion and the total number of valid pixel rows scanned in a frame using the following formula (1).

[0087] H black = H total ×D black (1)

[0088] Among them, D black The first percentage, i.e., the duty cycle of the black screen display time within one frame, H total This represents the total number of valid pixel rows scanned within a single frame.

[0089] It should be noted that the total number of valid lines scanned within a frame depends on the screen resolution parameter, which is a fixed value.

[0090] In some embodiments of this application, the electronic device can calculate the number of dimming signals and the width of dimming signals for N frames based on the target PWM frequency and the number of non-display pixel rows in a frame.

[0091] In some embodiments of this application, step 202b2 may include steps A1 to A3:

[0092] Step A1: The electronic device determines the number of target dimming signals corresponding to the target brightness based on the target PWM frequency and screen refresh rate.

[0093] Step A2: The electronic device determines the number of dimming signals for N frames based on the target dimming signal quantity and the current dimming signal quantity.

[0094] Step A3: The electronic device determines the width of the dimming signal for the N frames based on the number of dimming signals and the number of non-display pixel rows of the N frames.

[0095] In some embodiments of this application, the electronic device can obtain the target dimming signal quantity by calculating the ratio between the target PWM frequency and the screen refresh rate.

[0096] For example, assuming the target PWM frequency is 2160Hz and the screen refresh rate is 120Hz, the number of EMPulses in one frame is 2160 / 120, or 18.

[0097] In some embodiments of this application, the target dimming signal quantity refers to the number of dimming signals required to adjust the screen brightness to the target brightness.

[0098] In some embodiments of this application, the current dimming signal quantity refers to the number of dimming signals at the current screen brightness.

[0099] In some embodiments of this application, the electronic device can calculate the difference between the target dimming signal quantity and the current dimming signal quantity, and determine the dimming signal quantity of N frames based on the difference, thereby achieving a gradual change in the dimming signal quantity by setting N frames.

[0100] It's important to note that the number of EM Pulses represents the number of times a pixel's state is changed (from on to off or from off to on) during the display of a single frame. One EM Pulse can trigger a state change in at least one row of pixels on the screen. For example, one EM Pulse can turn off the first 10 rows of pixels on the screen. The number of EM Pulses in a single frame can be understood as the number of times the EM Pulse is switched on and off during the display of that frame. One EM Pulse can be understood as switching the EM Pulse on and off once. When an EM Pulse is switched on and off once, at least one row of pixels on the screen is turned off during that time period, i.e., not displayed. The more times the EM Pulse is switched on and off, the more rows of pixels are not displayed in a single frame, and the lower the screen brightness will be.

[0101] For example, OLED screens control the PWM frequency by controlling the number of EM Pulse (EM signal pulse count) switching. For instance, in DC 18pulse mode, the EM Pulse switches 18 times per frame. If the screen refresh rate is 120Hz, the number of EM Pulse switching times per second is 18 multiplied by 120, which equals 2160 times, meaning the PWM frequency is 2160Hz. Controlling the number of EM Pulse switching times controls the frequency of different PWM signals.

[0102] In some embodiments of this application, the electronic device can determine the number of dimming signals for N frames based on the number of target dimming signals corresponding to the target brightness and the number of dimming signals used at the current brightness.

[0103] It should be noted that when switching from the current brightness to the target brightness, if the difference between the two brightnesses is significant, the number of dimming signals corresponding to the target brightness will differ considerably from the number of dimming signals used at the current brightness. For example, the target brightness might have a target dimming signal count of 12, while the current brightness might have a count of 36. If the dimming signal for the next frame is directly set to 12 using relevant technologies, the significant difference between the number of dimming signals in adjacent frames and the current frame can easily lead to momentary screen flicker.

[0104] In some embodiments of this application, the electronic device can calculate the ratio between the number of dimming signals and the number of non-display pixel rows of N frames using the following formula (2) to obtain the dimming signal width of N frames.

[0105] H pulse = H black / N i (2)

[0106] Among them, H pulse H is the dimming signal width. black N is the number of non-display pixel rows in a single frame. i The number of dimming signals in the i-th frame of N frames.

[0107] For example, assuming that the number of non-display pixel rows in a frame is 360, and the number of dimming signals in the first frame of N frames is 20, then the number of dimming signals in that frame is 360 / 18, that is, 20 rows.

[0108] In this embodiment of the application, during the brightness switching process, at least two frames can be added to gradually change the dimming signal parameters, thereby achieving a uniform transition of the dimming signal parameters and avoiding instantaneous screen flicker caused by sudden changes in the dimming signal parameters, thus improving the stability of the display.

[0109] In some embodiments of this application, step A2 can be implemented by steps A21 and A22.

[0110] Step A21: The electronic device determines the signal quantity adjustment step size based on the target dimming signal quantity and the current dimming signal quantity.

[0111] Step A22: The electronic device adjusts the step size based on the current number of dimming signals and the number of signals to determine the number of dimming signals for N frames.

[0112] In some embodiments of this application, the electronic device can calculate the difference between the target dimming signal quantity and the current dimming signal quantity, and determine the signal quantity adjustment step size based on the difference and the number of frames in N frames. Then, based on the signal quantity adjustment step size and the order of each frame in N frames, the dimming signal quantity of each frame is determined.

[0113] For example, the electronic device can calculate the signal quantity adjustment step size using the following formula (3).

[0114] step = (N) dest – N src ) / D frames (3)

[0115] Here, the number of gradient frames is defined as D. Frames The current number of dimming signals (i.e., the original pulses) is N. src The number of target dimming signals (i.e., the number of target pulses) is N. dest Then the signal quantity adjustment step size (i.e. the step size of the change in the number of pulses) step can be calculated by the above formula (3).

[0116] For example, in conjunction with the above formula (3), the electronic device can calculate the number of pulse signals for N frames using the following formula (4).

[0117] N = N src + (step × n) (4)

[0118] The value of n ranges from 1 to Dframes.

[0119] For example, suppose the screen brightness needs to be switched from the ultra-low brightness range to the high brightness range, that is, the PWM frequency needs to be switched from 4320Hz to 2160Hz. If the screen refresh rate is 120Hz, then the number of EM pulse switching times in one frame needs to be switched from 36 to 18. That is, the current frame has 36 EM pulses, and the target EM pulse count is 18. The difference between the target EM pulse count and the current EM pulse count is 18. If it is necessary to transition from the current frame's EM pulse count to the target EM pulse count (N equals 3) over 3 frames, then the EM pulse count adjustment step size can be (18-36) / 3, which is -6. In other words, the EM pulse count of the transitioning N frames decreases in steps of 6. That is, the current frame has 36 EM pulses, the first frame has 30 EM pulses, the second frame has 24 EM pulses, and the third frame has 18 EM pulses.

[0120] For another example, suppose the screen brightness needs to be switched from the high brightness range to the ultra-low brightness range, i.e., the PWM frequency needs to be switched from 2160Hz to 4320Hz. If the screen refresh rate is 120Hz, then the number of EM pulse switching times within one frame needs to be switched from 18 to 36. That is, the current frame has 18 EM pulses, and the target EM pulse count is 36. The difference between the target EM pulse count and the current EM pulse count is 18. If it is necessary to transition from the current frame's EM pulse count to the target EM pulse count (N equals 3) over 3 frames, then the EM pulse count adjustment step size can be (36-18) / 3, which is 6. In other words, the EM pulse count of the transitioning N frames increases in increments of 6, i.e., the current frame has 18 EM pulses, the first frame has 24 EM pulses, the second frame has 30 EM pulses, and the third frame has 36 EM pulses.

[0121] In some embodiments of this application, the electronic device can determine the dimming signal width of each frame by calculating the ratio of the number of non-display pixel rows to the number of dimming signals in each frame of N frames. For example, in conjunction with the above formula (4), the electronic device can calculate the dimming signal width of N frames using the following formula (5).

[0122] H = H black / (N src + step × n) (5)

[0123] It should be noted that D Frames The value of is N.

[0124] It should be noted that when H is not divisible, it can be rounded to the nearest whole number.

[0125] For example, combining the above example, suppose we need to switch the screen brightness from the ultra-low brightness range to the high brightness range, that is, we need to switch the PWM frequency from 4320Hz to 2160Hz. Assume the total number of pixel rows for a black screen at the original PWM frequency is 432, and the total number of pixel rows for a black screen at the target PWM frequency (i.e., H...) black The number of lines is 360 (the voltage of the light-emitting circuit decreases, and the number of black screen lines also decreases). According to the 3-frame gradient, step = (18-36) / 3 = -6. Therefore, the number of pulses per frame in the intermediate state is 30, 24, and 18 respectively. According to the above formula (4), the pulse width of the 3 frames is 12 lines, 15 lines, and 20 lines respectively. The switching process is as follows: Figure 2 As shown.

[0126] It should be noted that, Figure 2 (a) in the image is a schematic diagram of the pixel state in a frame of DC 36Pulse mode, as shown below. Figure 2 As shown in (a), the number of EM pulses in this frame is 36, and the pulse width is 12 lines. That is, the EM pulses are switched on and off 36 times during the display of one frame. Each switch of the EM pulse controls 12 lines of pixels to be undisplayed, and a total of 432 lines of pixels are undisplayed in one frame; similarly, Figure 2 (b) in the diagram is a schematic representation of the pixel state in a frame of a DC 18Pulse mode, as shown below. Figure 2 As shown in (b), the number of EM pulses in this frame is 30, and the pulse width is 12 lines. That is, the EM pulses are switched on and off 30 times in the process of displaying one frame. Each time the EM pulse is switched on and off, 12 lines of pixels are not displayed. A total of 360 lines of pixels are not displayed in one frame. Figure 2 (c) in the diagram is a schematic representation of the pixel state in a frame of a DC 24Pulse mode, as shown below. Figure 2 As shown in (c), the number of EM pulses in this frame is 24, and the pulse width is 15 lines. That is, the EM pulses are switched on and off 24 times in the process of displaying one frame. Each time the EM pulse is switched on and off, 15 lines of pixels are not displayed. A total of 360 lines of pixels are not displayed in one frame. Figure 2 (d) in the diagram is a schematic representation of the pixel state in a frame of a DC 18Pulse mode, such as... Figure 2 As shown in (d), the number of EM pulses in this frame is 18, and the pulse width is 20 lines. That is, the EM pulses are switched on and off 18 times in sequence during the display of one frame. Each time the EM pulse is switched on and off, 20 lines of pixels are not displayed. A total of 360 lines of pixels are not displayed in one frame.

[0127] It should be noted that in PWM dimming (multi-pulse) mode, adjusting the exposure time using a camera can result in multiple black lines appearing in a single frame of the screen (during which the pixels do not emit light), such as... Figure 3 As shown, in DC 8pulse mode, the EM pulse switches 8 times within one frame, resulting in 8 black lines. The wider the black line (pulse width), the more rows of screen pixels are turned off (not displayed), the more black lines (pulse count), the more rows of pixels are not displayed within one frame, and the lower the screen brightness. Below 90 is the width of the black bar.

[0128] In related technologies, assuming the screen brightness needs to be switched from the ultra-low brightness range to the high brightness range, that is, the PWM frequency needs to be switched from 4320Hz to 2160Hz, and assuming the total number of pixel rows for a black screen at the original PWM frequency is 432, the total number of pixel rows for a black screen at the target PWM frequency (i.e., H) is... black The original pulse width is 432 / 36 = 12 lines (the voltage of the light-emitting circuit decreases, and the number of black lines also decreases) and the target pulse width is 360 / 18 = 20 lines. During the switching process, the pulse width is directly changed from 12 to 20 lines and the number of pulses is changed from 36 to 18 in the next frame, which can easily cause momentary screen flickering. The switching process is as follows: Figure 3 As shown.

[0129] It should be noted that, Figure 3 (a) in the image is a schematic diagram of the pixel state in a frame of DC 36Pulse mode, as shown below. Figure 3 As shown in (a), the number of EM pulses in this frame is 36, and the pulse width is 12 lines. That is, the EM pulses are switched on and off 36 times in the process of displaying one frame. Each time the EM pulse is switched on and off, 12 lines of pixels are not displayed. A total of 432 lines of pixels are not displayed in one frame. Figure 3 (b) in the diagram is a schematic representation of the pixel state in a frame of a DC 18Pulse mode, as shown below. Figure 3 As shown in (b), the number of EM pulses in this frame is 18, and the pulse width is 20 lines. That is, the EM pulses are switched on and off 18 times in sequence during the display of one frame. Each time the EM pulse is switched on and off, 20 lines of pixels are not displayed. A total of 360 lines of pixels are not displayed in one frame.

[0130] In this embodiment, by precisely controlling the dimming signal parameters of the N frames of the transition, the number and width of pulses in different intermediate states during the PWM frequency switching process are set in a gradual manner, thereby optimizing the transient screen flicker problem caused by excessive changes in the number and width of pulses when the PWM frequency is dynamically switched.

[0131] In some embodiments of this application, the brightness control parameters further include the voltage of the light-emitting circuit; exemplarily, prior to step 203, the display control method provided in the embodiments of this application may further include steps 204 to 206:

[0132] Step 204: The electronic device determines the target light-emitting circuit voltage corresponding to the target brightness.

[0133] Step 205: The electronic device determines the voltage adjustment step size for N frames based on the target light-emitting circuit voltage and the current light-emitting circuit voltage.

[0134] Step 206: The electronic device adjusts the step size based on the current light-emitting circuit voltage and the voltage of N frames to determine the light-emitting circuit voltage of N frames.

[0135] In some embodiments of this application, the current light-emitting circuit voltage is the voltage value of the light-emitting circuit when the electronic device maintains the current brightness.

[0136] In some embodiments of this application, the current light-emitting circuit voltage is the voltage value of the light-emitting circuit required for the electronic device to switch the current brightness to the target brightness.

[0137] It should be noted that the voltage of the light-emitting circuit is another key factor affecting the brightness of the light-emitting element. For electronic light-emitting elements such as LEDs, their brightness is directly proportional to the current intensity passing through the element, and the current intensity is directly affected by the voltage applied across the element. Therefore, by adjusting the voltage of the light-emitting circuit, the current passing through the light-emitting element can be controlled, thereby adjusting its brightness.

[0138] In some embodiments of this application, the electronic device can determine the target light-emitting circuit voltage corresponding to the target brightness based on the correspondence between brightness and light-emitting circuit voltage.

[0139] In some embodiments of this application, the electronic device can calculate the voltage adjustment step size of N frames by using the target light-emitting circuit voltage and the current light-emitting circuit voltage, and calculate the voltage value of the light-emitting circuit voltage of each of the N frames based on the voltage adjustment step size.

[0140] For example, assuming the current light-emitting circuit voltage (i.e., the current light-emitting circuit voltage) is 4V at the current brightness and the light-emitting circuit voltage (i.e., the target light-emitting circuit voltage) is 5V at the target brightness, and according to the 3-frame gradient (N is 3), the voltage adjustment step size is (5-4) / 3, that is, the voltage adjustment step size is approximately 0.3V.

[0141] Furthermore, based on the current light-emitting circuit voltage and voltage adjustment step size, the light-emitting circuit voltages of the three frames can be calculated respectively. That is, the light-emitting circuit voltage of the first frame is (4+0.3)V, the light-emitting circuit voltage of the second frame is (4+0.3×2)V, and the light-emitting circuit voltage of the third frame is (4+0.3×3)V.

[0142] In some embodiments of this application, the electronic device can sequentially set the light-emitting circuit voltage and dimming signal parameters of N frames of images frame by frame.

[0143] For example, when switching PWM frequencies, the electronic device sequentially adjusts the voltage of the screen light-emitting circuit in the intermediate state frame by frame, and simultaneously adjusts the parameter settings of the number of pulses and the pulse width within the same frame.

[0144] In this embodiment of the application, when switching brightness, parameters such as the number of dimming signals, the width of the dimming signals, and the voltage of the light-emitting circuit are gradually adjusted to avoid sudden jumps or flickering in screen brightness during the change process, thereby improving the stability of the display.

[0145] The above-described method embodiments, or various possible implementations of the method embodiments, can be executed individually, or, provided there are no contradictions, they can be combined with each other. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.

[0146] The display control method provided in this application can be executed by a display control device. This application uses the execution of the display control method by a display control device as an example to illustrate the display control device provided in this application.

[0147] Figure 4 This is a schematic diagram of the structure of the display control device provided in the embodiments of this application, as shown below. Figure 4 As shown, the display control device 400 may include a processing module 401 and a display module 402, wherein: the processing module 401 is used to determine a first proportion based on the target brightness of the screen and the voltage of the target light-emitting circuit, the first proportion being the proportion of the number of non-display pixel rows in a frame under the target brightness; the processing module 401 is also used to determine the brightness control parameters of N frames based on the target brightness and the first proportion, the brightness control parameters including the dimming signal width and the number of dimming signals, where N is an integer greater than 1; the display module 402 is used to display N frames based on the brightness control parameters of the N frames determined by the processing module 401.

[0148] In some embodiments of this application, the above processing module is specifically used to: determine the target pulse width modulation (PWM) frequency corresponding to the target brightness based on the brightness range in which the target brightness is located; and determine the brightness control parameters of N frames based on the target PWM frequency and the first proportion; wherein, one brightness range corresponds to one PWM frequency.

[0149] In some embodiments of this application, the above-mentioned processing module is specifically used to: determine the number of non-display pixel rows in a frame under the target brightness based on the first ratio; and determine the brightness control parameters of N frames based on the target PWM frequency and the number of non-display pixel rows.

[0150] In some embodiments of this application, the above-mentioned processing module is specifically used to: determine the number of target dimming signals corresponding to the target brightness based on the target PWM frequency and the screen refresh rate; and determine the number of dimming signals for N frames based on the number of target dimming signals and the current number of dimming signals.

[0151] The width of the dimming signal for N frames is determined based on the number of dimming signals and the number of non-display pixel rows in N frames.

[0152] In some embodiments of this application, the above-mentioned processing module is specifically used to: determine the signal quantity adjustment step size based on the target dimming signal quantity and the current dimming signal quantity; and determine the dimming signal quantity of N frames based on the current dimming signal quantity and the signal quantity adjustment step size.

[0153] In some embodiments of this application, the brightness control parameters further include the voltage of the light-emitting circuit; the processing module is further configured to determine the target light-emitting circuit voltage corresponding to the target brightness before displaying the N frames based on the brightness control parameters of the N frames; the processing module is further configured to determine the voltage adjustment step size of the N frames based on the target light-emitting circuit voltage and the current light-emitting circuit voltage; the processing module is further configured to determine the light-emitting circuit voltage of the N frames based on the current light-emitting circuit voltage and the voltage adjustment step size of the N frames.

[0154] The display control device provided in this application determines a first proportion based on the target brightness of the screen and the target light-emitting circuit voltage. This first proportion is the percentage of non-display pixel rows in a frame at the target brightness. Based on the target brightness and the first proportion, it determines brightness control parameters for N frames, including dimming signal width and dimming signal quantity. Based on these N frames, it displays the N frames. Through this method, the display control device determines brightness control parameters for multiple frames based on the target brightness and the target light-emitting circuit voltage. By gradually setting the brightness control parameters for multiple frames in the intermediate state during brightness switching, a smoother transition can be achieved when switching the screen brightness to the target brightness, avoiding transient screen flicker during brightness switching and thus improving the display effect.

[0155] The display control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.

[0156] The display control device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0157] The display control device provided in this application embodiment can realize the various processes implemented in the above-described display control method embodiment, and will not be described again here to avoid repetition.

[0158] Optionally, such as Figure 5As shown, this application embodiment also provides an electronic device 500, including a processor 501 and a memory 502. The memory 502 stores a program or instructions that can run on the processor 501. When the program or instructions are executed by the processor 501, they implement the various steps of the above-described display control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0159] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0160] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0161] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0162] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0163] The processor 110 is configured to determine a first proportion based on the target brightness of the screen and the voltage of the target light-emitting circuit. The first proportion is the proportion of the number of non-display pixel rows in a frame under the target brightness. The processor 110 is also configured to determine the brightness control parameters of N frames based on the target brightness and the first proportion. The brightness control parameters include the dimming signal width and the number of dimming signals, where N is an integer greater than 1. The display unit 106 is configured to display N frames based on the brightness control parameters of the N frames determined by the processor 110.

[0164] In some embodiments of this application, the processor 110 is specifically used to: determine the target pulse width modulation (PWM) frequency corresponding to the target brightness based on the brightness range in which the target brightness is located; and determine the brightness control parameters of N frames based on the target PWM frequency and the first proportion; wherein, one brightness range corresponds to one PWM frequency.

[0165] In some embodiments of this application, the processor 110 is specifically used to: determine the number of non-display pixel rows in a frame under a target brightness based on a first ratio; and determine the brightness control parameters of N frames based on the target PWM frequency and the number of non-display pixel rows.

[0166] In some embodiments of this application, the processor 110 is specifically used to: determine the number of target dimming signals corresponding to the target brightness based on the target PWM frequency and the screen refresh rate; and determine the number of dimming signals for N frames based on the number of target dimming signals and the current number of dimming signals.

[0167] The width of the dimming signal for N frames is determined based on the number of dimming signals and the number of non-display pixel rows in N frames.

[0168] In some embodiments of this application, the processor 110 is specifically used to: determine the signal quantity adjustment step size based on the target dimming signal quantity and the current dimming signal quantity; and determine the dimming signal quantity of N frames based on the current dimming signal quantity and the signal quantity adjustment step size.

[0169] In some embodiments of this application, the brightness control parameters further include the voltage of the light-emitting circuit; the processor 110 is also configured to determine the target light-emitting circuit voltage corresponding to the target brightness before displaying the N frames based on the brightness control parameters of the N frames; the processor 110 is also configured to determine the voltage adjustment step size of the N frames based on the target light-emitting circuit voltage and the current light-emitting circuit voltage; the processor 110 is also configured to determine the light-emitting circuit voltage of the N frames based on the current light-emitting circuit voltage and the voltage adjustment step size of the N frames.

[0170] The electronic device provided in this application determines a first proportion based on the target brightness of the screen and the voltage of the target light-emitting circuit. This first proportion is the percentage of non-display pixel rows in a frame at the target brightness. Based on the target brightness and the first proportion, brightness control parameters for N frames are determined. These brightness control parameters include the dimming signal width and the number of dimming signals. Based on these N frame brightness control parameters, the N frames are displayed. Through this method, the electronic device determines brightness control parameters for multiple frames based on the target brightness and the voltage of the target light-emitting circuit. By gradually setting the brightness control parameters for multiple frames in the intermediate state during brightness switching, a smoother transition can be achieved when switching the screen brightness to the target brightness, avoiding transient screen flicker during brightness switching and thus improving the display effect.

[0171] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0172] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0173] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0174] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described display control method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0175] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0176] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described display control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0177] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0178] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described display control method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described again here.

[0179] It should be noted that, in this document, 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 limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0180] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0181] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A display control method characterized by comprising: The method comprises: determining a first proportion based on a target brightness of a screen and a target light-emitting circuit voltage, the first proportion being a proportion of a number of non-displayed pixel rows in a frame of picture at the target brightness; matching the target brightness with M brightness intervals to determine a brightness interval in which the target brightness is located in the M brightness intervals, M being a positive integer; determining a target pulse width modulation frequency corresponding to the target brightness based on the brightness interval in which the target brightness is located, one brightness interval corresponding to one pulse width modulation frequency; determining brightness control parameters of N frames of picture based on the target pulse width modulation frequency and the first proportion, the pulse width modulation frequencies of the N frames of picture being the target pulse width modulation frequency, the brightness control parameters comprising a dimming signal width and a dimming signal number, N being an integer greater than 1; displaying the N frames of picture based on the brightness control parameters of the N frames of picture. The determining of the brightness control parameters of the N frames of picture based on the target pulse width modulation frequency and the first proportion comprises: determining a number of non-displayed pixel rows in a frame of picture at the target brightness based on the first proportion; determining the brightness control parameters of the N frames of picture based on the target pulse width modulation frequency and the number of non-displayed pixel rows.

2. The method of claim 1, wherein, The determining of the brightness control parameters of the N frames of picture based on the target pulse width modulation frequency and the number of non-displayed pixel rows comprises: determining a target dimming signal number corresponding to the target brightness based on the target pulse width modulation frequency and a screen refresh rate; determining the dimming signal number of the N frames of picture based on the target dimming signal number and a current dimming signal number; determining a dimming signal width of the N frames of picture based on the dimming signal number of the N frames of picture and the number of non-displayed pixel rows.

3. The method of claim 2, wherein, The determining of the dimming signal number of the N frames of picture based on the target dimming signal number and the current dimming signal number comprises: determining a signal number adjustment step based on the target dimming signal number and the current dimming signal number; determining the dimming signal number of the N frames of picture based on the current dimming signal number and the signal number adjustment step.

4. The method according to any one of claims 1 to 3, characterized in that, N is a predefined value, and a value of N is related to a brightness difference between a current brightness of the screen and the target brightness.

5. The method according to any one of claims 1 to 3, characterized in that, The brightness control parameters further comprise a light-emitting circuit voltage; and before the displaying of the N frames of picture based on the brightness control parameters of the N frames of picture, the method further comprises: determining a target light-emitting circuit voltage corresponding to the target brightness; determining a voltage adjustment step of the N frames of picture based on the target light-emitting circuit voltage and a current light-emitting circuit voltage; determining a light-emitting circuit voltage of the N frames of picture based on the current light-emitting circuit voltage and the voltage adjustment step of the N frames of picture.

6. A display control device characterized by comprising: The device comprises a processing module and a display module, wherein: the processing module is configured to determine a first proportion based on a target brightness of a screen and a target light-emitting circuit voltage, the first proportion being a proportion of a number of non-displayed pixel rows in a frame of picture at the target brightness; The processing module is further configured to match the target brightness with M brightness intervals, determine a brightness interval in which the target brightness is located in the M brightness intervals, and M is a positive integer; The processing module is further configured to determine a target pulse width modulation frequency corresponding to the target brightness based on the brightness interval in which the target brightness is located, and one brightness interval corresponds to one pulse width modulation frequency; The processing module is further configured to determine brightness control parameters of N frames of pictures based on the target pulse width modulation frequency and the first proportion, the pulse width modulation frequencies of the N frames of pictures are all the target pulse width modulation frequency, and the brightness control parameters include dimming signal width and dimming signal quantity, and N is an integer greater than 1; The display module is configured to display the N frames of pictures based on the brightness control parameters of the N frames of pictures determined by the processing module. The determining of the brightness control parameters of the N frames of pictures based on the target pulse width modulation frequency and the first proportion includes: determining the number of non-display pixel rows in one frame of picture under the target brightness based on the first proportion; and determining the brightness control parameters of the N frames of pictures based on the target pulse width modulation frequency and the number of non-display pixel rows.

7. An electronic device, comprising: A device includes a processor and a memory storing programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the display control method according to any one of claims 1-5.

Citation Information

Patent Citations

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

    CN117373381A