Display control method and device and electronic equipment

By determining the brightness control parameters of multi-frame screen based on the target brightness and light emitting circuit voltage in the mobile phone screen, and setting the transition in the brightness switching process using a gradient method, the transient screen flash problem during frequency switching under high-frequency PWM dimming is solved. , improves display effect and user experience.

CN119252164AActive Publication Date: 2025-01-03VIVO MOBILE COMM CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411618967.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-01-03
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

In the brightness adjustment of mobile phone screens, frequency switching is likely to cause transient screen flashes when switching under high-frequency PWM dimming technology, affecting the user's visual experience and eye health.

Method used

By determining the brightness control parameters of the multi-frame picture based on the target brightness and the target light emitting circuit voltage, the brightness control parameters of the multi-frame picture in the middle of the brightness switching process are set using a gradient method to avoid transient screen flash during brightness switching.

Benefits of technology

It realizes a smooth transition during the screen brightness switching process, improves the display effect, and reduces user visual discomfort and eye burden.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119252164A_ABST
    Figure CN119252164A_ABST
Patent Text Reader

Abstract

The invention discloses a display control method and device and electronic equipment, and belongs to the technical field of electronic equipment. The method comprises the steps that a first proportion is determined based on the target brightness of a screen and the target light-emitting circuit voltage, and the first proportion is the proportion of the number of rows of non-display pixels in a frame of picture under the target brightness; on the basis of the target brightness and the first proportion, brightness control parameters of N frames of pictures are determined, the brightness control parameters comprise the dimming signal width and the dimming signal number, and N is an integer larger than 1; and displaying the N frames of pictures based on the brightness control parameters of the N frames of pictures.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a display control method, device and electronic equipment. Background Art

[0002] In mobile phone screen brightness adjustment technology, when the screen brightness drops to a lower level (such as below 90nit), in order to balance energy consumption and visual comfort, high-frequency pulse width modulation (PWM) dimming technology is usually used. This technology adjusts the average brightness of the screen by quickly switching the screen on and off.

[0003] In the related art, when high-frequency PWM dimming technology is used to adjust the screen brightness, when it is necessary to switch between different PWM frequencies, the sudden change in the duty cycle of the on and off state during the switching process will cause transient screen flicker. This screen flicker may not only cause visual discomfort to the user, but also cause additional burden on the eyes. Therefore, how to effectively solve the screen flicker problem when switching frequencies under high-frequency PWM dimming is an issue that needs to be urgently solved in the development of screen technology. Summary of the invention

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

[0005] In a first aspect, an embodiment of the present application provides 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 of the picture under the above target brightness; determining brightness control parameters of N frames of the picture based on the above target brightness and the first proportion, the brightness control parameters comprising a dimming signal width and a dimming signal quantity, N being an integer greater than 1; displaying N frames of the picture based on the brightness control parameters of the above N frames of the picture.

[0006] In the second aspect, an embodiment of the present application provides a display control device, which includes: a processing module and a display module, wherein: the above-mentioned processing module is used to determine a first proportion based on the target brightness of the screen and the target light-emitting circuit voltage, and the first proportion is the proportion of the number of non-display pixel rows in a frame of the picture under the target brightness; the above-mentioned processing module is also used to determine the brightness control parameters of N frames of the picture based on the target brightness and the first proportion, and the brightness control parameters include the dimming signal width and the dimming signal number, and N is an integer greater than 1; the above-mentioned display module is used to display the above-mentioned N frames of the picture based on the brightness control parameters of the N frames of the picture determined by the processing module.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

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

[0011] In an embodiment of the present application, a first proportion is determined based on the target brightness of the screen and the target light-emitting circuit voltage. The first proportion is the proportion of the number of non-display pixel rows in a frame of the picture at the target brightness. Based on the target brightness and the first proportion, the brightness control parameters of N frames of the picture are determined. The brightness control parameters include the dimming signal width and the dimming signal quantity. Based on the brightness control parameters of the above N frames of the picture, the N frames of the picture are displayed. Through this method, the brightness control parameters of multiple frames of the picture are determined respectively based on the target brightness and the target light-emitting circuit voltage. The brightness control parameters of multiple frames of the picture in the middle state of the brightness switching process are set in a gradual manner, so that a smoother transition can be achieved in the process of switching the screen brightness to the target brightness, avoiding transient screen flickering during the brightness switching process, thereby improving the display effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A flow chart of a display control method provided in an embodiment of the present application;

[0013] Figure 2 One of the schematic diagrams of the pixel state during the brightness switching process provided in the embodiment of the present application;

[0014] Figure 3 The second schematic diagram of the pixel state during the brightness switching process provided by the embodiment of the present application;

[0015] Figure 4 A schematic diagram of the structure of a display control device provided in an embodiment of the present application;

[0016] Figure 5A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0017] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0020] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "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 (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0021] The nouns or terms involved in the embodiments of the present application are explained below.

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

[0023] PWM dimming: PWM dimming is to control the duty cycle of the screen's alternating on and off by controlling the different duty cycles of the EM signal on (high level) and off (low level), thereby changing the screen's brightness. When the PWM dimming screen is on, it does not emit light continuously, but is constantly on and off. When the on and off alternate quickly enough, the naked eye will think that the screen is always on. During the process of the screen turning on and off, the longer the screen is off, the lower the brightness of the screen will appear to the naked eye. The longer the lighting time is, the shorter the screen off time is, and the brighter the screen will be.

[0024] The display control method provided in the embodiment of the present application may be executed by a display control device, which may be an electronic device, or a functional module or functional entity in the electronic device. The display control method provided in the embodiment of the present application is described below by taking the electronic device executing the display control method as an example.

[0025] At present, the screens of electronic devices use high-frequency PWM dimming at low brightness (for example, below 90 nit). At different PWM frequencies, the duty cycle of the screen display within a frame cannot be completely consistent, so there will be differences in brightness, resulting in transient screen flicker when directly switching the PWM frequency.

[0026] In order to solve the above problems, the display control method provided in the embodiment of the present application determines the brightness control parameters of multiple frames of images based on the target brightness and the target light-emitting circuit voltage, and sets the brightness control parameters of multiple frames of images in the intermediate state during the brightness switching process in a gradual manner, so that a smoother transition can be achieved in the process of switching the screen brightness to the target brightness, avoiding transient screen flicker during the brightness switching process, thereby improving the display effect.

[0027] The display control method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0028] Figure 1 A flow chart of a display control method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the display control method may include the following steps 201 to 203:

[0029] Step 201: The electronic device determines a first ratio based on a target brightness of the screen and a target lighting circuit voltage.

[0030] The first proportion is the proportion of non-display pixel rows in a frame at the target brightness.

[0031] In some embodiments of the present application, the screen type of the above-mentioned 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 the present application, the target brightness is a brightness determined according to a user's operation of adjusting the brightness, or is 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, and the target brightness can be represented by "L".

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

[0035] In some examples, the electronic device can determine the lighting circuit voltage corresponding to the target lighting circuit voltage, ie, the target lighting circuit voltage, based on the correspondence between different preset brightnesses and the required target lighting circuit voltage.

[0036] In other examples, electronic devices can use simulation software for modeling and calculation. By inputting information such as the physical properties of the screen and light source parameters, the brightness performance under different voltages can be simulated to predict 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 reach the target brightness. The target light-emitting circuit brightness can be represented by "V".

[0038] In some embodiments of the present application, the first proportion may be the proportion of the number of non-display pixel rows in a frame of picture to the total number of valid pixel rows in the frame of picture when the frame of picture is displayed at the target brightness.

[0039] In some embodiments of the present application, the number of non-display pixel rows in a frame refers to the number of pixel rows in the frame that are in a non-lit (or non-luminous) state, or the number of pixel rows in the frame that are in an off state.

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

[0041] In some embodiments of the present application, the electronic device may calculate the first ratio based on the target brightness of the screen and the target light-emitting circuit voltage by using a conversion formula between the light-emitting circuit voltage and the brightness.

[0042] Exemplarily, the conversion formula between the voltage and brightness of the lighting circuit is as follows:

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

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

[0045] It should be noted that the greater the voltage V of the light-emitting circuit, the greater the brightness, and the number of pixel rows that are not displayed is H. black The smaller it is, the greater the brightness, and the greater 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-mentioned conversion formula of the light-emitting circuit voltage V and the brightness L to calculate the duty cycle of the black screen display time (ie, the first proportion).

[0047] It should be noted that when the screen brightness of an electronic device switches from a low brightness range to a high brightness range, the PWM frequency switches from high to low (i.e., the number of pulses decreases), and even if the pulse width remains unchanged, the total number of undisplayed pixel rows will decrease, i.e., the duty cycle of the black screen time will also decrease, and the screen brightness will become brighter. Because different PWM frequencies have different light-emitting circuit voltages, when other conditions remain unchanged under the same screen brightness, the higher the PWM frequency, the greater the light-emitting circuit voltage required to maintain the same screen brightness.

[0048] Since at the critical point of two adjacent brightness intervals, the maximum brightness of the low brightness interval is consistent with the minimum brightness of the high brightness interval, but the PWM frequency is different, usually when the PWM frequency is switched from high to low, the voltage V of the light-emitting circuit will be reduced at the same time (reducing the power consumption of the screen), so it is necessary to adjust the duty cycle of the bright screen display to maintain the same screen brightness. According to the brightness formula L = Vα (1 – D black ), reverse the black screen display time duty cycle D black =1-L / (Vα), so according to the target brightness L and the target brightness lighting circuit voltage V, the black screen duty cycle D of the target brightness can be calculated. blackFor example, when the PWM frequency switches from 4320Hz to 2160Hz, the voltage of the light-emitting circuit is reduced by half, and the duty cycle of the bright screen display needs to be doubled to maintain the same brightness. The duty cycle of the bright screen display and the duty cycle of the black screen display add up to 100%, and the duty cycle of the black screen display time must be relatively reduced.

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

[0050] The brightness control parameters include the dimming signal width and the dimming signal quantity, and N is an integer greater than 1.

[0051] In some embodiments of the present 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. Exemplarily, the value of N is positively correlated with the brightness difference between the current brightness of the screen and the target brightness, that is, the larger the brightness difference, the larger the value of N. For example, when the current brightness value of the screen is 30nit and the target brightness is 450nit, the value of N can be 3.

[0052] In some examples, when the brightness difference is large, the electronic device needs more frames (i.e., a larger N value) to gradually adjust the brightness to reach the target brightness to avoid the user being uncomfortable due to too fast brightness changes. On the contrary, when the brightness difference is small, only a smaller number of frames (i.e., a smaller N value) may be needed to achieve fast and smooth brightness adjustment.

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

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

[0055] In some embodiments of the present application, the dimming signal width and the dimming signal quantity mentioned above may be referred to as dimming signal parameters.

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

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

[0058] Exemplarily, the dimming signal width may be a pulse width of the EM signal, and the dimming signal quantity may be the number of pulses of the EM signal.

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

[0060] It should be noted that the dimming signal width refers to the length of time of the high level or effective signal in the control signal. In PWM technology, this parameter determines the length of time the light-emitting element of the screen is lit in a single cycle, which directly affects the average brightness of the screen. By adjusting the dimming signal width, the brightness of the screen can be accurately controlled; the dimming signal quantity refers to the number or frequency of effective pulses sent in the control cycle. By changing the frequency or quantity of the dimming signal, the screen brightness can also be indirectly affected.

[0061] In an embodiment of the present application, when the 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 target light-emitting circuit voltage, and realize a gradual change of the dimming signal parameters during the brightness switching process by adding and displaying at least one transition frame in the intermediate process, thereby avoiding the problem of transient screen flicker caused by excessive changes in the dimming signal parameters during brightness switching, such as excessive changes in the number of EM pulses and the EM pulse width between two adjacent frames, thereby ensuring the stability and visibility of the picture brightness.

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

[0063] In some embodiments of the present application, the electronic device may output a corresponding dimming signal pulse when displaying each frame of the N frames of the picture based on the brightness control parameters of each frame of the N frames of the picture, so as to control the display brightness of the frame of the picture through the dimming signal pulse. Exemplarily, when displaying a frame of the picture, the electronic device may output an EM pulse according to the number of pulses and pulse width of the EM signal of the frame of the picture to control the number of pixel rows not displayed in the frame of the picture (i.e., the corresponding number of pixel point closed rows), so as to display the frame of the picture.

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

[0065] Exemplarily, the electronic device can set the light-emitting circuit voltage and corresponding EM signal parameters (i.e., the number of EM pulses and the width of EM pulses) corresponding to the target PWM frequency while switching the PWM frequency, and 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] In the display control method provided by the embodiment of the present application, the electronic device determines a first proportion based on the target brightness of the screen and the target light-emitting circuit voltage, the first proportion being the proportion of the number of non-display pixel rows in a frame of the picture at the target brightness, and determines the brightness control parameters of N frames of the picture based on the target PWM frequency corresponding to the target brightness and the first proportion, the brightness control parameters including the dimming signal width and the dimming signal quantity, and displays the N frames of the picture based on the brightness control parameters of the above-mentioned N frames of the picture. Through this method, the electronic device can determine the brightness control parameters of multiple frames of the picture based on the target brightness and the target light-emitting circuit voltage, respectively, and set the brightness control parameters of multiple frames of the picture in the middle state of the PWM frequency switching process in a gradual manner, so that a smoother transition can be achieved in the process of switching the screen brightness to the target brightness, avoiding transient screen flickering during the brightness switching process, thereby improving the display effect.

[0067] In some embodiments of the present application, the above step 202 may be performed by the following steps 202a and 202b:

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

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

[0070] Among them, one brightness range corresponds to one PWM frequency.

[0071] In some embodiments of the present application, the electronic device may match the target brightness with M brightness intervals, and 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 the present application, one brightness interval corresponds to one PWM frequency (or PWM frequency level).

[0073] Exemplarily, the screen display brightness range is divided into M segments, corresponding to M PWM frequency gears. For example, ultra-low brightness range (0-30nit), low brightness range (30-90nit), medium brightness range (90-400nit), high brightness range (400-800nit), ultra-high brightness range (above 800nit), 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, assuming that the target brightness of the screen needs to be adjusted to 500 nit, and the target brightness is in the high brightness range, that is, 400-800 nit, then according to the correspondence between the brightness range and the PWM frequency, it can be determined that the target PWM dimming frequency corresponding to the target brightness is 2160 Hz, that is, the PWM dimming frequency corresponding to the high brightness range.

[0075] It should be noted that the above-mentioned range of brightness intervals is only a possible example. In actual applications, the brightness intervals can be set according to actual needs, for example, more or fewer brightness intervals can be divided, and the PWM frequencies corresponding to different brightness intervals can also be set according to actual needs.

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

[0077] In some embodiments of the present application, the PWM frequencies of the N frames are the same, that is, the PWM frequencies of the N frames are the target PWM frequencies.

[0078] In some embodiments of the present application, the brightness of the N frames is the same, that is, the brightness of the N frames is the target brightness.

[0079] It should be noted that the above-mentioned N frames include transition frames that control the gradual change of brightness control parameters, that is, the PWM frequency and brightness of the N frames are the same, but the brightness control parameters of the N frames are different, that is, the dimming signal width and the number of dimming signals of the N frames are different, 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 are gradual, thereby avoiding the transient screen flicker problem caused by large changes in the number of dimming signals and the dimming signal width when the brightness is switched.

[0080] Specifically, since the first ratio represents the ratio of the number of undisplayed pixel rows in a frame to the total number of pixel rows, the number of undisplayed pixel rows in a frame can be calculated based on the first ratio. Furthermore, in order to ensure the consistency of the brightness of the N frames of transition, it is necessary to ensure the consistency of the number of undisplayed pixel rows in the N frames. Since the number of undisplayed pixel rows in a frame is affected by the number of dimming signals and the width of the dimming signals of the frame, the number of undisplayed pixel rows in the N frames is set to a fixed value, the number of dimming signals of the N frames is set to a variable value, and the number of dimming signals and the width of the dimming signals of the N frames are precisely controlled, so that the number of dimming signals and the width of the dimming signals of the N frames can be progressively changed, thereby avoiding sudden changes in the number of dimming signals and the width of the dimming signals when the brightness is switched.

[0081] In an embodiment of the present application, the number of dimming signals (such as the number of pulses) and the dimming signal width (such as the pulse width) in different intermediate states during the PWM frequency switching process are set in a gradual manner, and the transient screen flicker problem caused by large changes in the number of dimming signals and the dimming signal width when the PWM frequency is dynamically switched is optimized. At the same time, multiple PWM frequencies are provided, and different high-frequency PWM frequencies are selected in different brightness ranges. The lower the screen brightness, the higher the PWM frequency, and the brighter the brightness, the lower the PWM frequency. The dynamic switching scheme can reduce screen power consumption while ensuring eye protection.

[0082] In some embodiments of the present application, the above step 202b may include the following steps 202b1 and 202b2:

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

[0084] Step 202b2: The electronic device determines the brightness control parameters of 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 embodiment and will not be repeated here.

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

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

[0088] Among them, D black is the first ratio, i.e., the duty ratio of the black screen display time within a frame, H total It is the number of all valid pixel rows scanned in one frame.

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

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

[0091] In some embodiments of the present application, the above step 202b2 may include the following 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 the screen refresh rate.

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

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

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

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

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

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

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

[0100] It should be noted that the number of EM pulses can represent the number of times the pixel state is changed (from on to off or from off to on) during the display of a frame of picture. One EM pulse can trigger the state change of at least one row of pixels in the screen. For example, one EM pulse can trigger the first 10 rows of pixels in the screen to turn off. The number of EM pulses in a frame of picture can be understood as the number of times the EM pulse is switched on and off during the display of a frame of picture. One EM pulse can be understood as one switch on and off of the EM pulse. When the EM pulse is switched on and off once, at least one row of pixels in the screen is turned off during the time period, that is, not displayed. The more times the EM pulse is switched on and off, the more total rows of pixels that are not displayed in a frame, and the lower the brightness of the display screen.

[0101] For example, the OLED screen controls the PWM frequency by controlling the switching times of the EM Pulse (EM signal pulse number). For example, in the DC 18pulse mode, the EM Pulse switches 18 times per frame. If the screen refresh rate is 120 Hz, the EM Pulse switching times per second is 18 times 120, which is equal to 2160 times, that is, the PWM frequency is 2160 Hz. By controlling the EM Pulse switching times, the frequencies of different PWMs can be controlled.

[0102] In some embodiments of the present application, the electronic device may determine the number of dimming signals for N frames of images 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 the current brightness is switched to the target brightness, if the brightness difference between the two is large, the number of target dimming signals corresponding to the target brightness and the number of dimming signals used at the current brightness will be very different. For example, the number of target dimming signals corresponding to the target brightness is 12, and the number of dimming signals used at the current brightness is 36. If the dimming signal of the next frame is directly set to 12 using the relevant technology, since the number of dimming signals between the two adjacent frames and the number of dimming signals of the current frame is very different, it will easily cause a momentary screen flicker.

[0104] In some embodiments of the present application, the electronic device can calculate the ratio between the number of dimming signals of N frames and the number of non-display pixel rows by 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 is the dimming signal width, H black N is the number of non-display pixel rows in a frame. i is the number of dimming signals of the i-th frame among N frames.

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

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

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

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

[0111] Step A22: The electronic device determines the number of dimming signals for N frames based on the current number of dimming signals and the signal quantity adjustment step.

[0112] In some embodiments of the present application, the electronic device can calculate the difference between the target dimming signal number and the current dimming signal number, and determine the signal number adjustment step based on the difference and the number of frames in N frames, and then determine the dimming signal number for each frame based on the signal number adjustment step and the order of each frame in the N frames.

[0113] Exemplarily, the electronic device may calculate the signal quantity adjustment step size by the following formula (3).

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

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

[0116] Exemplarily, in combination with the above formula (3), the electronic device can calculate the number of pulse signals of N frames of images by the following formula (4).

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

[0118] The value range of n is 1 to Dframes.

[0119] For example, assuming that the brightness of the screen needs to be switched from the ultra-low brightness range to the brightness of the high brightness range, that is, the PWM frequency needs to be switched from 4320Hz to 2160Hz, if the screen refresh rate is 120hz, the number of EM pulse switches in one frame needs to be switched from 36 to 18. That is, the number of EM pulses in the current picture is 36, and the target number of EM pulses is 18. The difference between the target number of EM pulses and the current number of EM pulses is 18. If it is necessary to transition from the number of EM pulses in the current picture to the target number of EM pulses (N is equal to 3) through 3 frames, the EM pulse number adjustment step can be (18-36) / 3, that is, -6. In other words, the number of EM pulses of the N frames of transition decreases in steps of 6, that is, the number of EM pulses in the current frame is 36, the number of EM pulses in the first frame of the 3 frames is 30, the number of EM pulses in the second frame is 24, and the number of EM pulses in the third frame is 18.

[0120] As another example, assuming that the brightness of the screen needs to be switched from a high brightness range to an ultra-low brightness range, that is, the PWM frequency needs to be switched from 2160 Hz to 4320 Hz, if the screen refresh rate is 120 Hz, the number of EM pulse switches in one frame needs to be switched from 18 to 36. That is, the number of EM pulses in the current picture is 18, and the target number of EM pulses is 36. The difference between the target number of EM pulses and the current number of EM pulses is 18. If it is necessary to transition from the number of EM pulses in the current picture to the target number of EM pulses (N is equal to 3) through 3 frames, the EM pulse number adjustment step can be (36-18) / 3, that is, 6. In other words, the number of EM pulses of the N frames of transition increases in steps of 6, that is, the number of EM pulses in the current frame is 18, the number of EM pulses in the first frame of the 3 frames is 24, the number of EM pulses in the second frame is 30, and the number of EM pulses in the third frame is 36.

[0121] In some embodiments of the present application, the electronic device may determine the dimming signal width of each frame by calculating the ratio of the number of non-display pixel rows and the number of dimming signals in each frame of N frames. For example, in combination with the above formula (4), the electronic device may calculate the dimming signal width of N frames by 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 cannot be divided evenly, it can be rounded off.

[0125] For example, in combination with the above example, assuming that the brightness of the screen 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, assuming that the total number of pixel rows of the black screen of the original PWM frequency is 432 rows, and the total number of pixel rows of the black screen of the target PWM frequency (i.e. H black ) is 360 lines (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, so the number of pulses per frame in the intermediate state is 30, 24, and 18 respectively. According to the above formula (4), it can be calculated that the pulse width of the 3-frame screen is 12 lines, 15 lines, and 20 lines respectively. The switching process is as follows: Figure 2 shown.

[0126] It should be noted that Figure 2 (a) is a schematic diagram of the pixel status in a frame of the picture in the dc 36Pulse mode. 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 pulse is switched on and off 36 times in sequence during the display of one frame. Each time the EM pulse is switched on and off, 12 lines of pixels are not displayed. In total, 432 lines of pixels are not displayed in one frame. Similarly, Figure 2 (b) is a schematic diagram of the pixel status in a frame of the picture in the dc 18Pulse mode, as shown in FIG. 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 pulse is turned on and off 30 times in sequence during the display of one frame. Each time the EM pulse is turned 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 FIG. 1 is a schematic diagram of the pixel status in a frame of the image in the dc 24Pulse mode. 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 pulse is turned on and off 24 times in sequence during the display of one frame. Each time the EM pulse is turned 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) is a schematic diagram of the pixel status in a frame of the picture in the dc 18Pulse mode, as shown in FIG. 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 pulse is 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, using the camera to adjust the exposure time can result in multiple black lines appearing in one frame of the display screen (the pixels do not emit light during this period of time). Figure 3 As shown in the figure, in the DC 8pulse mode, there are 8 black lines when the EM pulse is switched on and off 8 times in one frame. The larger the width of the black line (pulse width), the more rows of screen pixels are turned off (not displayed). The more black lines (pulse number), the more total rows of pixels that are not displayed in one frame, and the lower the brightness of the display. Below 90 is the width of the black bar.

[0128] In the related art, it is assumed that the brightness of the screen 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 the total number of pixel rows of the black screen of the original PWM frequency is 432 rows, and the total number of pixel rows of the black screen of the target PWM frequency (i.e. H black ) is 360 lines (the voltage of the light-emitting circuit is reduced, and the number of black screen lines also becomes smaller), the original pulse width is 432 / 36=12 lines, and the target pulse width is 360 / 18=20 lines. When switching, the pulse width will be directly switched from 12 to 20 in the next frame, and the number of pulses will be switched from 36 to 18, which may easily cause instantaneous screen flickering. The switching process is as follows Figure 3 shown.

[0129] It should be noted that Figure 3 (a) is a schematic diagram of the pixel status in a frame of the picture in the dc 36Pulse mode. 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 pulse is switched on and off 36 times in sequence during the display of one frame, and each time the EM pulse is switched on and off, 12 lines of pixels are not displayed, and a total of 432 lines of pixels are not displayed in one frame; Figure 3 (b) is a schematic diagram of the pixel status in a frame of the picture in the dc 18Pulse mode, as shown in FIG. 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 an embodiment of the present application, by precisely controlling the dimming signal parameters of the transitional N frames of images, the number of pulses and pulse widths in different intermediate states during the PWM frequency switching process are gradually set, thereby optimizing the transient screen flicker problem caused by large changes in the number of pulses and pulse width during dynamic switching of the PWM frequency.

[0131] In some embodiments of the present application, the brightness control parameter further includes a light-emitting circuit voltage; illustratively, before the above step 203, the display control method provided in the embodiment of the present application may further include the following steps 204 to 206:

[0132] Step 204: The electronic device determines a target lighting circuit voltage corresponding to the target brightness.

[0133] Step 205: The electronic device determines the voltage adjustment step length of N frames based on the target lighting circuit voltage and the current lighting circuit voltage.

[0134] Step 206: The electronic device determines the voltage of the light emitting circuit for N frames of images according to the current voltage of the light emitting circuit and the voltage adjustment step length for N frames of images.

[0135] In some embodiments of the present 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 the present application, the current light-emitting circuit voltage is a 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 lighting circuit is another key factor affecting the brightness of the light-emitting element. For electronic light-emitting elements such as LEDs, their brightness is 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 lighting circuit, the current passing through the light-emitting element can be controlled, and thus its brightness can be adjusted.

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

[0139] In some embodiments of the present application, the electronic device can calculate the voltage adjustment step of N frames of images through the target light-emitting circuit voltage and the current light-emitting circuit voltage, and calculate the voltage values ​​of the light-emitting circuit voltage of N frames of images based on the voltage adjustment step.

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

[0141] Furthermore, according to the current light-emitting circuit voltage and the voltage adjustment step, 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 the present application, the electronic device can set the lighting circuit voltage and dimming signal parameters of N frames of images step by step in sequence.

[0143] Exemplarily, when switching the PWM frequency, the electronic device gradually adjusts the voltage of the screen lighting circuit in the intermediate state frame by frame, and simultaneously adjusts the parameter settings of the number of pulses and the pulse width in the same frame.

[0144] In an embodiment of the present application, when switching brightness, by gradually adjusting parameters such as the number of dimming signals, the width of the dimming signal, and the voltage of the light-emitting circuit, sudden jumps or flickers in the screen brightness during the change process are avoided, thereby improving the stability of the display.

[0145] The above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.

[0146] The display control method provided in the embodiment of the present application can be executed by a display control device. In the embodiment of the present application, the display control device provided in the embodiment of the present application is described by taking the display control method executed by the display control device as an example.

[0147] Figure 4 A schematic diagram of the structure of a display control device provided in an embodiment of the present application, such as 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 target light-emitting circuit voltage, and the first proportion is the proportion of the number of non-display pixel rows in a frame of the picture under the target brightness; the processing module 401 is also used to determine the brightness control parameters of N frames of the picture based on the target brightness and the first proportion, and the brightness control parameters include the dimming signal width and the dimming signal number, and N is an integer greater than 1; the display module 402 is used to display N frames of the picture based on the brightness control parameters of the N frames of the picture determined by the processing module 401.

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

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

[0150] In some embodiments of the present application, the 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; determine the number of dimming signals for N frames of images based on the target dimming signal number and the current dimming signal number;

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

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

[0153] In some embodiments of the present application, the above-mentioned brightness control parameters also include the light-emitting circuit voltage; the processing module is also used to determine the target light-emitting circuit voltage corresponding to the target brightness before displaying N frames of pictures based on the brightness control parameters of the N frames of pictures; the above-mentioned processing module is also used to determine the voltage adjustment step of N frames of pictures based on the target light-emitting circuit voltage and the current light-emitting circuit voltage; the above-mentioned processing module is also used to determine the light-emitting circuit voltage of N frames of pictures based on the current light-emitting circuit voltage and the voltage adjustment step of N frames of pictures.

[0154] The display control device provided in the embodiment of the present application determines a first proportion based on the target brightness of the screen and the target light-emitting circuit voltage. The first proportion is the proportion of the number of non-display pixel rows in a frame of the picture under the target brightness. Based on the target brightness and the first proportion, the brightness control parameters of N frames of the picture are determined. The brightness control parameters include the dimming signal width and the dimming signal quantity. Based on the brightness control parameters of the above N frames of the picture, the N frames of the picture are displayed. Through this method, the display control device determines the brightness control parameters of multiple frames of the picture based on the target brightness and the target light-emitting circuit voltage, respectively, and sets the brightness control parameters of multiple frames of the picture in the middle state of the brightness switching process in a gradual manner, so that a smoother transition can be achieved in the process of switching the screen brightness to the target brightness, avoiding transient screen flickering during the brightness switching process, thereby improving the display effect.

[0155] The display control device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0156] The display control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0157] The display control device provided in the embodiment of the present application can implement each process implemented in the above-mentioned display control method embodiment, and will not be described again here to avoid repetition.

[0158] Alternatively, if Figure 5As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501 and a memory 502, wherein the memory 502 stores programs or instructions that can be executed on the processor M01, and when the program or instructions are executed by the processor 501, the various steps of the above-mentioned display control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

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

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

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

[0162] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

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

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

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

[0166] In some embodiments of the present 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; determine the number of dimming signals for N frames of images based on the number of target dimming signals and the number of current dimming signals;

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

[0168] In some embodiments of the present 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; 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 the present application, the brightness control parameters also include the light-emitting circuit voltage; the processor 110 is also used to determine the target light-emitting circuit voltage corresponding to the target brightness before displaying N frames of images based on the brightness control parameters of the N frames of images; the processor 110 is also used to determine the voltage adjustment step of the N frames of images based on the target light-emitting circuit voltage and the current light-emitting circuit voltage; the processor 110 is also used to determine the light-emitting circuit voltage of the N frames of images based on the current light-emitting circuit voltage and the voltage adjustment step of the N frames of images.

[0170] The electronic device provided in the embodiment of the present application determines a first proportion based on the target brightness of the screen and the target light-emitting circuit voltage, the first proportion being the proportion of the number of non-display pixel rows in a frame of the picture at the target brightness, and determines the brightness control parameters of N frames of the picture based on the target brightness and the first proportion, the brightness control parameters including the dimming signal width and the dimming signal quantity, and displays the N frames of the picture based on the brightness control parameters of the above-mentioned N frames of the picture. Through this method, the electronic device determines the brightness control parameters of multiple frames of the picture respectively based on the target brightness and the target light-emitting circuit voltage, and sets the brightness control parameters of multiple frames of the picture in the middle state of the brightness switching process in a gradual manner, so that a smoother transition can be achieved in the process of switching the screen brightness to the target brightness, avoiding transient screen flickering during the brightness switching process, thereby improving the display effect.

[0171] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: 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 keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

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

[0173] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0174] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned display control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0176] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned display control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0177] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0178] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned display control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0179] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including 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 device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0180] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0181] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A display control method, characterized in that: The method comprises: Based on the target brightness of the screen and the target light-emitting circuit voltage, determining a first proportion, where the first proportion is the proportion of non-display pixel rows in a frame of the picture at the target brightness; Based on the target brightness and the first proportion, determine a brightness control parameter of N frames of images, where the brightness control parameter includes a dimming signal width and a dimming signal quantity, and N is an integer greater than 1; Based on the brightness control parameters of the N frames, the N frames are displayed.

2. The method according to claim 1, characterized in that The determining the brightness control parameter of N frames of images based on the target brightness and the first proportion includes: Determine a target pulse width modulation (PWM) frequency corresponding to the target brightness based on the brightness interval of the target brightness; Determining a brightness control parameter of N frames of images based on the target PWM frequency and the first proportion; Among them, one brightness range corresponds to one PWM frequency.

3. The method according to claim 2, characterized in that The step of determining the brightness control parameter of N frames of images based on the target PWM frequency and the first proportion includes: Based on the first proportion, determining the number of non-display pixel rows in a frame at the target brightness; Based on the target PWM frequency and the number of non-display pixel rows, a brightness control parameter of the N frames of images is determined.

4. The method according to claim 3, characterized in that The step of determining the brightness control parameters of the N frames of images based on the target PWM frequency and the number of non-display pixel rows includes: Based on the target PWM frequency and the screen refresh rate, determining the number of target dimming signals corresponding to the target brightness; Determining the number of dimming signals of the N frames based on the target number of dimming signals and the current number of dimming signals; Based on the number of dimming signals of the N frames and the number of non-display pixel rows, the dimming signal width of the N frames is determined.

5. The method according to claim 4, characterized in that The determining the number of dimming signals of the N frames of images based on the target number of dimming signals and the current number of dimming signals includes: Determining a signal quantity adjustment step size based on the target dimming signal quantity and the current dimming signal quantity; The number of dimming signals of the N frames is determined based on the current number of dimming signals and the signal number adjustment step.

6. The method according to any one of claims 1 to 5, characterized in that: 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.

7. The method according to any one of claims 1 to 5, characterized in that The brightness control parameter also includes a voltage of a light emitting circuit; and based on the brightness control parameter of the N frames of images, before displaying the N frames of images, the method further includes: Determine a target light-emitting circuit voltage corresponding to the target brightness; Determining a voltage adjustment step length of the N frames of images based on the target light-emitting circuit voltage and the current light-emitting circuit voltage; The lighting circuit voltage of the N frames of pictures is determined based on the current lighting circuit voltage and the voltage adjustment step size of the N frames of pictures.

8. A display control device, characterized in that: The device comprises: a processing module and a display module, wherein: The processing module is used to determine a first proportion based on the target brightness of the screen and the target light-emitting circuit voltage, wherein the first proportion is the proportion of the number of non-display pixel rows in a frame of the picture at the target brightness; The processing module is further used to determine the brightness control parameters of N frames based on the target brightness and the first proportion, where the brightness control parameters include a dimming signal width and a dimming signal quantity, and N is an integer greater than 1; The display module is used to display the N frames of pictures based on the brightness control parameters of the N frames of pictures determined by the processing module.

9. The device according to claim 8, characterized in that The processing module is specifically used for: Determine a target pulse width modulation (PWM) frequency corresponding to the target brightness based on the brightness interval of the target brightness; Determining a brightness control parameter of N frames of images based on the target PWM frequency and the first proportion; Among them, one brightness range corresponds to one PWM frequency.

10. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the display control method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Display screen brightness adjusting method and device, mobile terminal and storage medium

    CN109859721A

  • Display screen dimming method and device

    CN111599296A

  • Screen brightness adjustment method and terminal

    CN111868814A

  • Brightness control method and device and electronic equipment

    CN113257177A

  • Brightness regulation and control method and device, equipment, storage medium and display screen

    CN113516944A