Dimming method and related device

By adjusting the duty cycle of the PWM pulse signal, the screen flickering problem caused by initialization in low brightness mode or always-on display mode of electronic devices was solved, achieving a more uniform display effect.

CN119694264BActive Publication Date: 2026-01-02HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311199977.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-15
Publication Date
2026-01-02
Estimated Expiration
2043-09-15

AI Technical Summary

Technical Problem

Electronic devices may experience screen flickering in low brightness or always-on display modes, especially due to uneven brightness caused by initialization during refresh.

Method used

By controlling the duty cycle of the PWM pulse signal, the duty cycle of the pulse signal in the area involved in initialization during the refresh process is higher than that in other areas, ensuring that the brightness values ​​of pixels in each area are roughly the same and reducing screen flicker.

Benefits of technology

It effectively reduces screen flicker in low brightness or always-on display modes, improving display uniformity and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119694264B_ABST
    Figure CN119694264B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a dimming method and related equipment. When an electronic device uses pulse width modulation (PWM) for dimming, the electronic device uses N pulse signal periods for refreshing any frame image, a display screen of the electronic device is divided into N regions, and the method comprises the following steps: in the Nth pulse signal period, the electronic device receives a first pulse signal in the Nth region, the electronic device receives an (i+1)th pulse signal in an (N-i)th region, and the electronic device receives the Nth pulse signal in a first region; a duty cycle of any pulse signal in the first pulse signal to an Mth pulse signal is greater than a duty cycle of any pulse signal in an (M+1)th pulse signal to the Nth pulse signal, and the duty cycles of the pulse signals in the (M+1)th pulse signal to the Nth pulse signal are the same. In this way, by controlling the duty cycles of the first M pulse signals to be greater than the duty cycles of the last N-M pulse signals, the brightness of each region is substantially leveled, thereby reducing the problem of screen flickering.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of terminals, and in particular to a dimming method and related equipment. BACKGROUND

[0002] Electronic devices can use dimming technology to control screen brightness. The dimming technology may, for example, be direct current (DC) dimming technology and pulse width modulation (PWM) dimming technology.

[0003] In some scenarios, for example, when the electronic device is in a low brightness mode or in an always on display (AOD) mode, the electronic device can use PWM dimming technology to control screen brightness; when the electronic device is in a working state, the electronic device can use DC dimming technology to control screen brightness.

[0004] However, in possible implementations, the electronic device in the AOD mode or the low brightness mode can have a screen flickering problem. SUMMARY

[0005] Embodiments of the present application provide a dimming method and related equipment, applied to the technical field of terminals, by controlling the duty cycle of one or more PWM pulse signals involved in the initialization process to be higher than the duty cycle of other PWM pulse signals, to reduce scenarios in which the screen alternately changes between bright and dark, thereby reducing the screen flickering problem.

[0006] In a first aspect, the embodiments of the present application provide a dimming method. The method is applied to an electronic device. When the electronic device uses pulse width modulation (PWM) for dimming, the electronic device uses N pulse signal periods for refreshing any frame of image, any pulse signal period has one pulse signal, a display screen of the electronic device is divided into N regions, the N regions do not overlap with each other, and N is a positive integer. The method comprises the following steps. In a first pulse signal period, the electronic device receives a first pulse signal in a first region. In a second pulse signal period, the electronic device receives the first pulse signal in a second region, and the electronic device receives a second pulse signal in the first region. A duty cycle of the first pulse signal is greater than a duty cycle of the second pulse signal. The duty cycle comprises a ratio of a time length for controlling a pixel point in the first region to light up to the pulse signal period. The first region is adjacent to the second region. The first pulse signal period is earlier than the second pulse signal period. In a third pulse signal period, the electronic device receives the first pulse signal in a third region, the electronic device receives the second pulse signal in the second region, and the electronic device receives a third pulse signal in the first region. The duty cycle of the second pulse signal is greater than or equal to the duty cycle of the third pulse signal. The third region is adjacent to the second region. The second pulse signal period is earlier than the third pulse signal period. In an Nth pulse signal period, the electronic device receives the first pulse signal in an Nth region, the electronic device receives an (i+1)th pulse signal in an (N-i)th region, and the electronic device receives an Nth pulse signal in the first region. i is a positive integer less than N. The duty cycle of any pulse signal in the first pulse signal to an Mth pulse signal is greater than the duty cycle of any pulse signal in an (M+1)th pulse signal to the Nth pulse signal. The duty cycles of the pulse signals in the (M+1)th pulse signal to the Nth pulse signal are the same. M is a positive integer less than N.

[0007] In this way, when the regions are initialized, the duty cycles of the pulse signals received by the regions are large, so that the time lengths for the pixel points in the regions to light up are less affected by the initialization, and thus the brightness values of the initialized regions and other regions are substantially leveled, and the screen flickering is reduced.

[0008] In a possible implementation, the duty cycles of the pulse signals in the first pulse signal to the Mth pulse signal are the same, or the duty cycles of the pulse signals in the first pulse signal to the Mth pulse signal decrease successively. In this way, the electronic device controls the duty cycle of the pulse signal during the initialization to be higher than the duty cycle of the pulse signal during the non-initialization, so that the brightness values of the pixel points in the regions are substantially leveled, and thus the screen flickering is reduced.

[0009] In a possible implementation, a duty cycle of any one of the first pulse signal to the Mth pulse signal is higher than 1 / 2, and a duty cycle of any one of the (M+1)th pulse signal to the Nth pulse signal is equal to 1 / 2. In this way, the electronic device can achieve the effect that the duty cycle of the pulse signal during the initialization period is higher than the duty cycle of the pulse signal during the non-initialization period by increasing the duty cycle of the pulse signal during the initialization period.

[0010] In a possible implementation, a duty cycle of any one of the first pulse signal to the Mth pulse signal is equal to 1 / 2, and a duty cycle of any one of the (M+1)th pulse signal to the Nth pulse signal is less than 1 / 2. In this way, the electronic device can achieve the effect that the duty cycle of the pulse signal during the initialization period is higher than the duty cycle of the pulse signal during the non-initialization period by decreasing the duty cycle of the pulse signal during the non-initialization period.

[0011] In a possible implementation, the display screen includes a display driving integrated circuit (DDIC), and the DDIC includes a register in which a duty cycle of each pulse signal in the first type of pulse signal is stored, the first type of pulse signal including the first pulse signal to the Nth pulse signal. Before the electronic device performs dimming by using pulse width modulation (PWM), the method includes: the electronic device identifying that the electronic device enters a first mode; the first mode including: the electronic device enabling an always-on display (AOD) function, and the electronic device being in an off-screen state; and the electronic device sending first indication information to the DDIC, the first indication information being used to instruct the DDIC to output the first type of pulse signal. In this way, the electronic device can output the first type of pulse signal in the first mode, so as to control the luminance values of the pixel points in each region in the first mode to be substantially flat.

[0012] In a possible implementation, the display screen includes a DDIC, and the DDIC includes a register in which a duty cycle of each pulse signal in the second type of pulse signal is stored, the second type of pulse signal including the Jth pulse signal to the Lth pulse signal, a duty cycle of any one of the Jth pulse signal to the Kth pulse signal being greater than a duty cycle of any one of the (K+1)th pulse signal to the Lth pulse signal, and the duty cycles of the pulse signals from the (K+1)th pulse signal to the Lth pulse signal being the same. J, K, and L are all positive integers, and J≤K<L. The method further includes: the electronic device setting a luminance value of the display screen to a first luminance value, the first luminance value being less than a luminance threshold; the electronic device identifying that the electronic device enters a second mode, the second mode including: the luminance of the display screen of the electronic device being lower than the luminance threshold; and the electronic device sending second indication information to the DDIC, the second indication information being used to instruct the DDIC to output the second type of pulse signal. In this way, the electronic device can output the second type of pulse signal in the second mode, so as to control the luminance values of the pixel points in each region in the second mode to be substantially flat.

[0013] In a possible implementation, in the first pulse signal period, the duration that the pixel in the first region is lit is controlled by the low level in the first pulse signal. In this way, the electronic device can control the brightness value of the pixels in different regions by adjusting the duration of the low level in the pulse signal period.

[0014] In a second aspect, the embodiments of the present application provide an electronic device. The electronic device can also be referred to as a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), and the like. The terminal device can be a mobile phone, a smart television, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, and the like.

[0015] The electronic device includes a processor and a memory. The memory stores computer-executable instructions. The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method of the first aspect.

[0016] In a possible implementation, the electronic device further includes a DDIC; the DDIC is configured to receive first indication information sent by the electronic device, the first indication information being used to instruct the DDIC to output a first type of pulse signal, the first type of pulse signal including a first pulse signal to an Nth pulse signal; or the DDIC is further configured to receive second indication information sent by the electronic device, the second indication information being used to instruct the DDIC to output a second type of pulse signal, the second type of pulse signal including a Jth pulse signal to an Lth pulse signal, a duty cycle of any one of the Jth pulse signal to the Kth pulse signal being greater than a duty cycle of any one of a (K+1)th pulse signal to the Lth pulse signal, and the duty cycles of the (K+1)th pulse signal to the Lth pulse signal being the same; J, K, and L are positive integers, and J≤K<L. In this way, the DDIC can output different types of pulse signals in different scenarios, thereby alleviating the screen flicker problem in the scenario, and enriching the scenarios to which the dimming method provided in the embodiments of the present application is applicable.

[0017] In a third aspect, a computer readable storage medium storing a computer program is provided. The computer program, when executed by a processor, implements the method of the first aspect.

[0018] In a fourth aspect, a computer program product is provided. The computer program product includes a computer program that, when executed by a processor, causes a computer to perform the method of the first aspect.

[0019] In a fifth aspect, a chip is provided. The chip includes a processor configured to invoke a computer program in a memory to perform the method of the first aspect.

[0020] It should be understood that the second aspect to the fifth aspect of the present application correspond to the technical solution of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation are similar, which will not be repeated. BRIEF DESCRIPTION OF DRAWINGS

[0021] Figure 1 Interface diagram in which the electronic device is in the AOD mode in a possible implementation;

[0022] Figure 2 Screen refresh direction diagram of an electronic device;

[0023] Figure 3 Flowchart of a screen refresh process of an electronic device in a possible implementation;

[0024] Figure 4 Circuit diagram of an OLED device emitting light;

[0025] Figure 5A schematic diagram for comparing luminance of each region in possible implementation;

[0026] Figure 6 A schematic diagram of hardware structure of the electronic device 100 provided in the embodiments of the present application;

[0027] Figure 7 A software structure block diagram of the electronic device 100 provided in the embodiments of the present application;

[0028] Figure 8 A schematic diagram of a PWM pulse signal dimming process provided in the embodiments of the present application;

[0029] Figure 9 A schematic diagram of two pulse signal adjustment modes provided in the embodiments of the present application;

[0030] Figure 10 A schematic diagram of another PWM pulse signal dimming process provided in the embodiments of the present application;

[0031] Figure 11 A flowchart of a dimming method provided in the embodiments of the present application;

[0032] Figure 12 A flowchart of another dimming method provided in the embodiments of the present application;

[0033] Figure 13 A schematic diagram of a low-brightness mode interface provided in the embodiments of the present application;

[0034] Figure 14 Waveform diagrams of two PWM pulse signals provided in the embodiments of the present application;

[0035] Figure 15 A flowchart of a dimming method provided in the embodiments of the present application;

[0036] Figure 16 A structure schematic diagram of a dimming device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0037] In order to clearly describe the technical solutions of the embodiments of the present application, the following briefly introduces some terms and technologies involved in the embodiments of the present application:

[0038] 1. AOD mode: also known as constant display and screen-off display. The AOD mode refers to that, in the screen-off state, part of the screen of the electronic device is turned off, and part of the screen remains on. In the on-screen area, the electronic device can display information, such as time, date, and unread messages. The AOD mode can save the battery power of the electronic device, and also facilitates the user to check the information at any time.

[0039] 2. PWM: PWM dimming is a method of adjusting the brightness of a screen by changing the duty cycle of a pulse signal. The PWM dimming mode causes each pixel point to constantly flash on and off at a certain frequency. When the on and off are fast enough, the human eye will think that the screen is always on. In this case, the electronic device controls the on and off of the pixel point through the high and low levels of the pulse signal. For example, in a pulse signal period, when the pulse signal is at a low level, the pixel point is on; when the pulse signal is at a high level, the pixel point is off.

[0040] The proportion of the on duration of the pixel point in a pulse signal period can be the duty cycle. The higher the duty cycle, the brighter the screen. For example, if the low level of the pulse signal controls the on of the pixel point, then the duty cycle is the ratio of the low level duration to the pulse signal period; if the high level of the pulse signal controls the on of the pixel point, then the duty cycle is the ratio of the high level duration to the pulse signal period. In the embodiments of the present application, the on duration of the pixel point in the screen can be controlled by the low level of the pulse signal.

[0041] 3. Other

[0042] In the embodiments of the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the exemplary or example embodiments are intended to convey concepts in a concrete fashion. It is specifically intended that the concepts form part of the present application, independent of the particular

[0043] In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. The association relationship between the associated objects is described, which means that there can be three relationships, for example, A and / or B, which can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or similar expressions means any combination of these items, including single or multiple combinations of any combination. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.

[0044] It should be noted that "at the time of" in the embodiments of the present application can be at the moment when a certain condition occurs, or within a certain period of time after the occurrence of a certain condition, which is not limited in the embodiments of the present application. In addition, the display interface provided in the embodiments of the present application is only an example, and the display interface can include more or less content.

[0045] Electronic devices can use dimming technology to control the brightness of their displays. For example, when an electronic device is in low-brightness mode or AOD mode, it can use PWM dimming technology to control the screen brightness; when the electronic device is in operation, it can use DC dimming technology to control the screen brightness.

[0046] However, in a possible implementation, screen flickering may occur when electronic devices are in AOD mode or low brightness mode.

[0047] For example, consider the flicker issue in AOD mode. Figure 1 A schematic diagram of the interface in a possible implementation of an electronic device in AOD mode is shown.

[0048] exist Figure 1 In the interface shown in Figure a, the electronic device can display the AOD interface when the screen is off. The display screen of the electronic device can be divided into a bright screen area 101 and a dark screen area according to the brightness. The bright screen area 101 can display information such as time, date, and power-on status, as well as animations and notification messages.

[0049] The flickering issue on electronic device screens during AOD mode can be seen as follows: Figure 1 The b interface and Figure 1 As shown in the c interface. Figure 1 In the interface shown in b, the brightness of region A 102 is lower than the brightness of region B 103; Figure 1 In the interface shown in Figure c, the brightness of area A 102 is higher than that of area B 103. It can be seen that when the electronic device displays area A 102, it presents a scene of bright, dark, bright, dark... When the frequency of brightness changes is high, the human eye may not be able to perceive the changes; while when the frequency of brightness changes is low, the human eye will see the brightness changes of the electronic device, resulting in a flickering screen. The frequency of brightness changes is related to the frequency of the PWM pulse signal and the screen's refresh rate; when the electronic device is in AOD mode, the frequency of the PWM pulse signal is low, causing the user to perceive the brightness changes.

[0050] The following is combined Figure 2 and Figure 3 Explain the reasons for the changes in screen brightness.

[0051] For example, taking an electronic device with a screen refresh rate of 30Hz and a PWM pulse signal frequency of 120Hz as an example, Figure 2 The relationship between the screen brightness of an electronic device and the PWM pulse signal is shown.

[0052] The refresh frame image of the electronic device can be displayed from the top to the bottom of the screen. It takes four pulse signals (pulse 1, pulse 2, pulse 3, and pulse 4) to refresh one frame. At any given time, these four pulse signals can control four areas on the screen: area A (102), area B (103), area C (104), and area D (105). During the refresh of the image displayed on the screen, any pulse signal can sequentially pass through area A (102), area B (103), area C (104), and area D (105).

[0053] For example, Figure 3 The refresh process of the bright screen area 101 of the electronic device is shown, such as... Figure 3 As shown:

[0054] Figure 3 Phase a in Figure 3 The 'd' stage in the diagram represents one cycle in which the electronic device refreshes the bright area of ​​the screen. Specifically, when refreshing the frame image, the electronic device exposes the image line by line.

[0055] exist Figure 3 In stage a: When pulse 1 arrives, the electronic device refreshes the image in area A 102 and dims the pixels in area A 102. Specifically, when pulse 1 is low, the pixels in area A 102 are lit; when pulse 1 is high, the pixels are off. The electronic device can control the duration of the pixels being lit and off. The longer the pixel is lit within a single pulse signal cycle, the brighter the screen; conversely, the shorter the duration, the darker. For example, if the duration of the high level in pulse 1 is the same as the duration of the low level, the brightness visible to the human eye will be approximately half the original brightness of the pixel. This application embodiment... Figure 3 The brightness changes of pixels are not shown. Figure 3 The "a" stage can be the visual effect seen by the user after the electronic device dims area A 102.

[0056] Specifically, when an electronic device refreshes a new frame image in any region, it needs to initialize that region when the first pulse signal (pulse 1) arrives. Taking region A 102 as an example, before refreshing a new frame image into region A 102, the electronic device needs to clear the previous frame image. The voltages in region A 102 remain at the voltage values ​​of the previous frame image, so the electronic device needs to initialize when pulse 1 arrives.

[0057] During the initialization process, the electronic device can reset each voltage. For example, Figure 4 An OLED light-emitting circuit diagram is shown. The VDD voltage can be a positive voltage, which powers the OLED device; the VSS voltage can be a negative voltage; the Vref voltage can be a reference voltage; the EM pin can output a PWM pulse signal, which can control the turn-off of the first switch unit Q1, and the refresh signal can control the turn-off of the second switch unit Q2.

[0058] Specifically, when the refresh signal is received, the electronic device closes the second switch unit Q2, so that the Vref voltage is conducted with the A point, and the A point voltage is the same as the Vref voltage; wherein the Vref is a negative voltage, for example, -3V, -4V; at the same time, the electronic device receives the pulse signal, and the pulse signal is high level, the first switch unit Q1 is disconnected, and the A point voltage is a negative voltage. When the pulse signal becomes low level, the first switch unit Q1 is closed, and the VDD voltage reaches the A point first; after the VDD voltage pulls the voltage of the A point to a positive voltage, the VDD voltage can power the OLED device, so that the OLED device emits light.

[0059] The process of pulling the A point voltage by the VDD voltage will occupy a period of time, which makes the OLED device not emit light for part of the time when the pulse signal is low level, so that the screen brightness seen by the human eye is reduced. For example, in the normal state, the ratio of the lighting time to the extinguishing time of the pixel point in the A region 102 is 1:1, the brightness of the pixel point is a, and the brightness seen by the human eye can be a / 2; during the initialization process, the lighting time of the pixel point in the A region 102 is reduced, and the extinguishing time is increased, so that the brightness seen by the human eye is less than a / 2.

[0060] For example, Figure 5 The brightness contrast of the A region 102 and other regions in the a stage in Figure 3 is shown. The A region 102 receives pulse 1, the B region 103 receives pulse 4, the C region 104 receives pulse 3, and the D region 105 receives pulse 2. Since the refresh frame rate is four times the frequency of the PWM pulse signal, when refreshing a frame of image, the electronic device can receive the refresh signal at the same time when receiving pulse 1. Therefore, the A region 102 will be initialized based on the refresh signal, and the screen brightness will be adjusted based on pulse 1; at this time, other regions can display the image of the last frame, and other regions have not been initialized for this frame of image, so other regions are not affected by the initialization. Further, the brightness of the A region 102 is lower than that of other regions in the a stage in Figure 3 .

[0061] It should be noted that in the embodiments of the present application, the initialization process can include: a process in which the electronic device initializes each voltage during the high level period of pulse 1, and a process in which the electronic device pulls up the voltage of point A by the VDD voltage during the low level period of pulse 1. Since the screen flicker problem in the embodiments of the present application is related to the low level of pulse 1, the initialization process can also specifically refer to the process in which the electronic device pulls up the voltage of point A by the VDD voltage during the low level period of pulse 1, and the subsequent embodiments of the present application will not be described again.

[0062] In Figure 3 , phase b: over time, the electronic device refreshes the B region 103. The electronic device adjusts the luminance of the pixel points in the B region 103 through pulse 1, and the electronic device adjusts the luminance of the pixel points in the A region 102 through pulse 2. Among them, the screen brightness of the B region 103 is lower than that of the A region 102. This is because, in the process of adjusting the luminance of the pixel points in the A region 102 through pulse 2, the A region 102 has been initialized, so the pixel points remain bright in the low level stage of pulse 2, and the screen brightness of the A region 102 is normal brightness. In the process of adjusting the luminance of the pixel points in the B region 103 through pulse 1, the electronic device also needs to initialize the B region 103, and the initialization process affects the bright time of the pixel points, thereby causing the screen brightness of the B region 103 to be lower than the normal brightness.

[0063] By comparing the a stage in Figure 3 with the b stage in Figure 3 , it can be found that, in the process of refreshing a frame of image, Figure 3 , the screen brightness of the A region 102 in the a stage is lower than that in the b stage Figure 3 , which causes the A region 102 to appear bright and dark during the refreshing of each frame of image, resulting in a screen flicker scene.

[0064] In Figure 3 , phase c: over time, the electronic device refreshes the C region 104. The electronic device adjusts the luminance of the pixel points in the C region 104 through pulse 1, the electronic device adjusts the luminance of the pixel points in the B region 103 through pulse 2, and the electronic device adjusts the luminance of the pixel points in the A region 102 through pulse 3. The C region 104 will also have a lower screen brightness in this stage due to the initialization problem.

[0065] In Figure 3In phase d: Over time, the electronic device refreshes region D 105. The electronic device dims the pixels in region D 105 via pulse 1, dims the pixels in region C 104 via pulse 2, dims the pixels in region B 103 via pulse 3, and dims the pixels in region A 102 via pulse 4. Due to initialization issues, region D 105 may also have lower screen brightness during this phase.

[0066] Therefore, based on the principles described above, screen flickering may occur when electronic devices use PWM for dimming.

[0067] In a possible implementation, the electronic device can shorten the time required to raise the voltage at point A during initialization by increasing the Vref voltage. For example, Figure 3 In the scenario shown in Figure a, the VDD voltage can be 4.6V and the Vref voltage can be -3V. In a possible implementation, the boosted Vref voltage can be -1V. In this way, the time it takes for the VDD voltage to pull point A from -3V to positive voltage is longer than the time it takes for the VDD voltage to pull point A from -1V to positive voltage. This can reduce the proportion of time that the voltage of point A is flattened when the pulse signal is low, thereby improving the screen brightness of the area where pulse 1 is located during initialization.

[0068] However, in potential implementations, increasing the Vref voltage has limited ability to reduce screen flicker. This is because there is an upper limit to how high the Vref voltage can be. Understandably, if the Vref voltage is high, when the voltage at point A is the same as the Vref voltage, regardless of whether the first switching unit Q1 is open or closed, the voltage at point A can always control the OLED device to emit light, causing the pulse signal to lose its function of controlling the OLED device's light emission. Electronic devices need to appropriately increase the Vref voltage without affecting Q1's control of the OLED device's light emission. This means that even after Q1 is closed, the VDD voltage still needs to pull up the voltage at point A. Therefore, increasing the Vref voltage has limited adjustment capabilities.

[0069] In view of this, this application provides a dimming method. In scenarios where an electronic device performs PWM dimming on a screen, the screen refresh rate is equal to the frequency of N PWM pulse signals. The electronic device can reduce the occurrence of alternating bright and dark screen changes by controlling the duty cycle of the first M pulse signals to be greater than the duty cycle of the subsequent NM pulse signals. For example, increasing the duty cycle of the first M pulse signals or decreasing the duty cycle of the subsequent NM pulse signals makes the pixels in the area where the N pulse signals are located have the same lighting time. In this way, the brightness value of the pixel in the area where the first M pulse signals are located is approximately equal to the brightness value of other areas, thereby reducing screen flicker.

[0070] In embodiments of the present application, the electronic device can also be referred to as a terminal device, a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), and the like. The terminal device can be a mobile phone, a smart television, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, and the like.

[0071] Among them, the wearable device can also be referred to as a wearable smart device, which is a general term for devices that are designed and developed by applying wearable technology to daily wear, such as glasses, gloves, watches, clothing, and shoes. The wearable device is a portable device that is directly worn on the body or integrated into the clothes or accessories of the user. The wearable device is not only a hardware device, but also a device that realizes powerful functions through software support and data interaction and cloud interaction. The general wearable smart device includes a device with full functions and large size, which can realize complete or partial functions without relying on a smart phone, such as a smart watch or smart glasses, and a device that focuses on a certain application function and needs to be used in cooperation with other devices, such as a smart phone, such as various smart wristbands and smart jewelry for monitoring vital signs.

[0072] In addition, in embodiments of the present application, the electronic device can also be an electronic device in an internet of things (IoT) system. The IoT is an important part of the future information technology development, and its main technical feature is to connect objects through communication technology and network, so as to realize the intelligent network of man-machine interconnection and object-object interconnection. Embodiments of the present application do not limit the specific technology and specific device form adopted by the electronic device.

[0073] In the embodiments of the present application, the electronic device can include a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also referred to as a main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer includes applications such as a browser, an address book, word processing software, and instant messaging software.

[0074] In order to better understand the embodiments of the present application, the structure of the electronic device of the embodiments of the present application is introduced as follows:

[0075] Figure 6 A structural schematic diagram of the electronic device 100 is shown. The electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a loudspeaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 can include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0076] It can be understood that the structure shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can include more or fewer components than shown, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0077] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.

[0078] In the embodiments of the present application, the processor of the electronic device can identify the state of the electronic device. When the electronic device enters the AOD mode or enters the low brightness mode, the processor can send an instruction to the DDIC in the display screen, so that the electronic device adjusts the light through the PWM pulse signal.

[0079] In some embodiments, the processor 110 can include one or more communication interfaces (referred to as interfaces). The interface may, for example but not limited to, include: an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a MIPI, a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0080] Among them, in the embodiments of the present application, the MIPI interface can be used to connect the processor 110 and the peripheral devices such as the display screen 194. The MIPI interface can include a display screen serial interface (DSI). For example, the processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the electronic device 100.

[0081] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information.

[0082] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display driver integrated circuit (DDIC) and a display panel.

[0083] The DDIC is a device (e.g., a chip) inside the display screen 194 for controlling the operation of the display screen 194. For example, in an embodiment of the present application, the DDIC can generate certain pulse signals to control the display panel to display images. The memory of the DDIC can include one or more registers, and the registers can pre-store a plurality of waveform pulse signals, so that the DDIC uses different pulse signals in different scenarios.

[0084] The display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the electronic device 100 can include one or N display screens 194, and N is a positive integer greater than 1.

[0085] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application required by a function (such as a sound playing function, an image playing function, etc.), and the like. The data storage area can store data (such as audio data, a phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like. The processor 110 executes various function applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory disposed in the processor.

[0086] The software system of the electronic device 100 can employ a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, etc. Embodiments of the present application take an Android system with a layered architecture as an example to exemplarily illustrate the software structure of the electronic device 100. Figure 7 FIG. 1 is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0087] The layered architecture divides software into several layers, each of which has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Android runtime and system library, and a kernel layer.

[0088] The application layer can include a series of application packages.

[0089] As shown in FIG. 2, the application packages can include a settings application and an AOD application. Figure 7 The AOD application can be used to implement display of an AOD interface, which can be, for example, the interface shown as a in FIG. 1; the settings application can be used to set the brightness of the display screen.

[0090] Figure 1 The kernel layer is the layer between hardware and software. The kernel layer is the core of the operating system of the electronic device, is the first layer of software expansion based on hardware, provides the most basic functions of the operating system, is the basis of the operation of the operating system, is responsible for managing the processes, memory, device drivers, files, and network systems of the system, and determines the performance and stability of the system. For example, the kernel can determine the operation time of an application program on a certain part of hardware. The kernel layer can include a display driver.

[0091] The kernel layer is the layer between hardware and software. The kernel layer is the core of the operating system of the electronic device, is the first layer of software expansion based on hardware, provides the most basic functions of the operating system, is the basis of the operation of the operating system, is responsible for managing the processes, memory, device drivers, files, and network systems of the system, and determines the performance and stability of the system. For example, the kernel can determine the operation time of an application program on a certain part of hardware. The kernel layer can include a display driver. ​

[0092] In the embodiments of the present application, the display driver can receive instructions from the application layer and control the display of the hardware layer to display images.

[0093] In the embodiments of the present application, the display screen in the hardware can display the AOD interface and the low-brightness interface, and the low-brightness interface can be an interface displayed by the electronic device when the brightness value of the display screen is lower than the brightness threshold.

[0094] The possible implementation of the dimming method of the embodiments of the present application will be described below. Figure 7

[0095] In a possible implementation, when the electronic device enters the AOD mode, the AOD application can issue instructions to the display driver of the kernel layer. The display of the hardware layer includes a DDIC and a display panel. The DDIC receives the instructions of the display driver and outputs corresponding pulse signals through a register. The DDIC controls the display panel to display the AOD interface based on the pulse signals.

[0096] In another possible implementation, the electronic device can obtain the brightness value of the screen through the setting application. When the brightness value is lower than the brightness threshold, the electronic device can issue instructions from the application layer to the display driver of the kernel layer. The DDIC in the display receives the instructions of the display driver and outputs corresponding pulse signals through a register. The DDIC controls the display panel to display the low-brightness interface based on the pulse signals.

[0097] In the embodiments of the present application, the electronic device can adjust the duty cycle of the pulse signal so that the duty cycle of the pulse signal received by the area involved in the refresh initialization process is higher than that of other areas. In a possible implementation, the frequency of the PWM pulse signal is low, and the period of the pulse signal is long. The refresh initialization can be completed within the period. In another possible implementation, the frequency of the PWM pulse signal is high, and the period of the pulse signal is short. The refresh initialization needs to be completed within the periods of multiple pulse signals.

[0098] Taking four pulse signals in any period of refreshing a frame of image in the AOD scenario as an example, the pulse signals can be pulse 1', pulse 2', pulse 3', and pulse 4'. The electronic device completes the refresh initialization during pulse 1'. The display screen of the electronic device is divided into four areas (A area, B area, C area, and D area), and the four areas do not overlap. The possible implementation of the dimming method of the embodiments of the present application will be described below. Figure 8 The process of refreshing a frame of image in the first possible implementation will be described below, Figure 8 A dimming method provided by an embodiment of the present application is shown in FIG. 1. Figure 8

[0099] ​​It should be noted that the number of regions in the electronic device is the same as the number of PWM pulse signals in one refresh cycle, because the time for the electronic device to refresh one frame of image is equal to the time of N pulse signals, and the periods of the pulse signals are the same; the size of the region refreshed in the time of any pulse signal is the same, and the embodiment of the present application can define the region according to the screen size refreshed in the period of a single pulse signal.

[0100] For example, S801, in the first pulse signal period, the electronic device receives pulse 1' in the A region.

[0101] The first pulse signal period can correspond to the a stage in Figure 8 The pulse 1' is related to the refresh signal of the electronic device, and it can be understood that in the embodiment, the refresh frame rate of the screen is equal to the frequency of 4 pulses. Therefore, 4 pulse signal periods are experienced in one refresh period, and the electronic device receives the pulse for dimming when receiving the refresh signal. Here, the pulse signal received at the same time as the refresh signal is defined as pulse 1'.

[0102] Because the period of a single pulse signal is large, the time for the electronic device to pull up the A point voltage to the VDD voltage to light the OLED device can be controlled within one pulse signal period. When refreshing the A region, the duty cycle of pulse 1' is greater than that of other pulse signals. For example, there is a difference between the duration of the low level in pulse 1' and the duration of the low level in other pulse signals, and the difference is related to the time for pulling up the A point voltage to the VDD voltage and lighting the OLED device.

[0103] S802, in the second pulse signal period, the electronic device receives pulse 1' in the B region, and the electronic device receives pulse 2' in the A region; wherein the duty cycle of pulse 1' is greater than that of pulse 2'.

[0104] The second pulse signal period can correspond to the b stage in Figure 8 The electronic device refreshes the B region, wherein the duty cycle of pulse 1' is greater than that of pulse 2'. In this way, in a possible implementation, when the electronic device refreshes the B region, the brightness of the B region decreases due to the initialization process; and in the embodiment of the present application, when the electronic device refreshes the B region, the duty cycle of pulse 1' is greater, so that the light-emitting time of the pixel points in the B region is the same as that of the pixel points in the A region. The difference between the brightness value of the pixel points in the A region and the brightness value of the pixel points in the B region is less than a preset threshold; wherein the preset threshold can be the threshold at which the human eye can distinguish the brightness change.

[0105] S803, in the third pulse signal period, the electronic device receives pulse 1' in the C region, the electronic device receives pulse 2' in the B region, and the electronic device receives pulse 3' in the A region.

[0106] The third pulse signal period can correspond to the c stage in Figure 8 , the electronic device refreshes the C region, wherein the duty cycle of pulse 1' is greater than the duty cycle of pulse 2', and the duty cycle of pulse 2' is equal to the duty cycle of pulse 3'. The luminance values of the pixels in the A region and the B region are the same, and the difference between the luminance value of the pixels in the C region and the luminance value of the pixels in the B region is less than a preset threshold; so that the human eye cannot identify the difference in brightness between the C region and the A region and the B region.

[0107] S804, in the fourth pulse signal period, the electronic device receives pulse 1' in the D region, the electronic device receives pulse 2' in the C region, the electronic device receives pulse 3' in the B region, and the electronic device receives pulse 4' in the A region.

[0108] The fourth pulse signal period can correspond to the d stage in Figure 8 , the electronic device refreshes the D region, wherein the duty cycle of pulse 1' is greater than the duty cycle of pulse 2', and the duty cycle of pulse 2', the duty cycle of pulse 3', and the duty cycle of pulse 4' are the same. The luminance values of the pixels in the A region, the B region, and the C region are the same, and the difference between the luminance value of the pixels in the D region and the luminance value of the pixels in the C region is less than a preset threshold; so that the human eye cannot identify the difference in brightness between the D region and the A region, the B region, and the C region.

[0109] Optionally, the electronic device can reduce the luminance difference between the initialization region and other regions by adjusting the duty cycle of the pulse signal. For example, Figure 9 shows the comparison between the pulse signal in the d stage in Figure 3 and the pulse signal in the d stage in Figure 8 .

[0110] In some embodiments, the electronic device can increase the duty cycle of pulse 1' so that the duty cycle of pulse 1' is higher than the duty cycle of pulse 2'; for example, Figure 9As shown in Figure a: the pulse signals before adjustment can be pulse 1, pulse 2, pulse 3, and pulse 4; the pulse signals after adjustment can be pulse 1', pulse 2', pulse 3', and pulse 4'. For example, the electronic device does not adjust the duty cycles of pulse 2, pulse 3, and pulse 4; the duty cycles of pulse 1, pulse 2, pulse 3, pulse 4, and pulse 2', pulse 3', and pulse 4' are the same. The electronic device increases the duty cycle of pulse 1, where the duty cycle of pulse 1' is higher than that of pulse 1. The difference between the duty cycle of pulse 1' and the duty cycle of pulse 1 may be related to the time of the initialization process.

[0111] Specifically, before the adjustment, the duty cycles of pulse 1, pulse 2, pulse 3, and pulse 4 could be 1 / 2. After the adjustment, the duty cycle of pulse 1' is greater than 1 / 2, and the duty cycles of pulse 2', pulse 3', and pulse 4' are equal to 1 / 2.

[0112] In other embodiments, the electronic device may reduce the duty cycles of push 2', push 3', and push 4', such that the duty cycle of push 1' is higher than that of push 2'; for example... Figure 9 As shown in b: the pulse signals before adjustment can be pulse 1, pulse 2, pulse 3, and pulse 4, and the pulse signals after adjustment can be pulse 1', pulse 2', pulse 3', and pulse 4'. For example, the electronic device does not adjust the duty cycle of pulse 1; the duty cycles of pulse 1, pulse 2, pulse 3, pulse 4, and pulse 1' are the same. The electronic device reduces the duty cycles of pulse 2, pulse 3, and pulse 4, where the duty cycle of pulse 2' is lower than that of pulse 2, the duty cycle of pulse 3' is lower than that of pulse 3, and the duty cycle of pulse 4' is lower than that of pulse 4. The difference between the duty cycle of pulse 2' and the duty cycle of pulse 2 may be related to the time of the initialization process.

[0113] Specifically, before the adjustment, the duty cycles of pulse 1, pulse 2, pulse 3, and pulse 4 could be 1 / 2. After the adjustment, the duty cycle of pulse 1' is equal to 1 / 2, while the duty cycles of pulse 2', pulse 3', and pulse 4' are less than 1 / 2.

[0114] The embodiment of the present application exemplarily illustrates two adjustment methods of the duty cycle of the pulse signal. The embodiment of the present application can also increase pulse 1' while reducing the duty cycles of pulse 2', pulse 3' and pulse 4', so that the duty cycle of pulse 1' is greater than that of pulse 2'. The embodiment of the present application does not limit this.

[0115] The above embodiment takes the case that the initialization time in the refresh process of the electronic device is less than the period of the pulse signal as an example, and introduces a dimming method. In another possible implementation, the frequency of the pulse signal is relatively high, and the initialization time in the refresh process of the electronic device can be greater than the period of one pulse signal. The electronic device needs to go through multiple periods of pulse signals to restore the brightness of the initialization area to normal. The following takes the time used for flattening the A point voltage by the VDD voltage and lighting the OLED device as an example, and describes the process of refreshing one frame of image of the electronic device. Figure 10 A dimming method provided by the present application is shown. As shown in Figure 10

[0116] When the electronic device uses pulse width modulation (PWM) for dimming, there are N pulse signals in any period of refreshing one frame of image of the electronic device, N is also called the number of pulses, and N is a positive integer. In general scenarios, N is an even number, for example, N is 4, 6, 8, etc. The display screen of the electronic device is divided into N regions, for example, A region, B region, C region,..., M region,..., N region. The N regions do not overlap, and N is a positive integer. The dimming method comprises the following steps.

[0117] S1001, in the first pulse signal period, the electronic device receives pulse 1' in the A region.

[0118] The electronic device initializes the A region, and the electronic device receives pulse 1'. The duty cycle of pulse 1' is higher than that of pulse N'.

[0119] It can be understood that the initialization process involves M pulse signal periods, so the electronic device needs to adjust the duty cycles of pulse 1' to pulse M' to make the duty cycle of the pulse signal in the initialization process higher than that of the pulse signal after the initialization. In Figure 10 In the first pulse signal period in the above embodiment, the pulse signal in the dashed line part can be a pulse signal related to the refresh of the previous frame of image, and the pulse signal in the solid line part can be a pulse signal related to the refresh of the current frame of image.

[0120] S1002, in the second pulse signal period, the electronic device receives pulse 1' in the B region, and the electronic device receives pulse 2' in the A region.​

[0121] The electronic device initializes the A region and the B region, the B region receives pulse 1', and the A region receives pulse 2'. The duty cycle of pulse 1' is greater than the duty cycle of pulse N', and the duty cycle of pulse 2' is greater than the duty cycle of pulse N'. The duty cycle of pulse 1' is greater than the duty cycle of pulse 2'.

[0122] For example, in the second pulse signal period, the A region undergoes two initialization processes. For example, in the first pulse signal period, the A region is initialized by pulse 1', and the single pulse signal period can only enable the 4.6V VDD voltage to pull the A point voltage to 3V, and the OLED device is lit based on the 3V voltage. In the second pulse signal period, the A region is continuously initialized by pulse 2', and the 4.6V VDD voltage pulls the 3V A point voltage to 4.6V, and the OLED device is lit based on the 4.6V voltage. In the first pulse signal period and the first pulse signal period, the luminous voltages of the pixel points in the A region are different, so the duty cycle of pulse 1' can be greater than the duty cycle of pulse 2' to make the luminance of the pixel points in the A region at the two times basically flat.

[0123] S1003, in the third pulse signal period, the electronic device receives pulse 1' in the C region, the electronic device receives pulse 2' in the B region, and the electronic device receives pulse 3' in the A region.

[0124] The electronic device initializes the A region, the B region, and the C region, the C region receives pulse 1', the B region receives pulse 2', and the A region receives pulse 3'. The duty cycle of pulse 3' is greater than the duty cycle of pulse N', and the duty cycle of pulse 2' is greater than the duty cycle of pulse 3'.

[0125] By analogy.

[0126] S1004, in the Mth pulse signal period, the electronic device receives pulse 1' in the M region, the electronic device receives pulse 2' in the M-1 region, the electronic device receives pulse M-2' in the C region, the electronic device receives pulse M-1' in the B region, and the electronic device receives pulse M' in the A region.

[0127] The electronic device initializes the A region to the M region. The duty cycle of any one of pulse 1' to pulse M' is greater than the duty cycle of any one of pulse M+1' to pulse N'.

[0128] It can be understood that, in the Mth pulse signal period, the electronic device completes the initialization of the current frame image in the A region; in the M+1th pulse signal period, the electronic device performs dimming based on the pulse signal in the A region, and no longer involves the initialization process, so in the refresh period, the duty cycle of the first M pulse signals is greater than the duty cycle of the last N-M pulse signals, and the duty cycle of the last N-M pulse signals is the same.

[0129] By analogy.

[0130] S1005, in the Nth pulse signal period, the electronic device receives pulse 1' in the N region, the electronic device receives pulse 2' in the N-1 region, the electronic device receives pulse N-2' in the C region, the electronic device receives pulse N-1' in the B region and pulse N' in the A region.

[0131] The electronic device completes the task of refreshing the current frame image. Wherein, between the first pulse signal period and the Nth pulse signal period, the time difference between any two adjacent time points is the period of a pulse signal, and at any time, the difference between the screen brightness of any two regions in the N regions is less than a preset threshold.

[0132] The above embodiments are combined with Figure 8-10 The pulse signals in the two initialization scenarios are described. The following is combined with Figure 12 The execution process of the dimming method provided in the embodiments of the application is described, as shown in Figure 11

[0133] In the embodiments of the application, the electronic device can include a processor and a display screen. The display screen can include a DDIC and a display panel; the DDIC includes one or more registers.

[0134] For example, S1101, when the processor identifies that the electronic device enters the AOD state, the processor sends first indication information to the DDIC.

[0135] The electronic device starting the AOD state can be understood as: the electronic device is provided with a switch of the AOD mode (for example, the switch of the AOD mode is placed in the settings application), the switch of the AOD mode is in the on state, and the electronic device receives a trigger operation for screen off. The first indication information is used to indicate that the DDIC enters the AOD mode.

[0136] After the screen is off, the electronic device enters the AOD mode. After the processor identifies that the electronic device enters the AOD mode, the processor can send the first indication information to the DDIC based on the communication interface; wherein, the communication interface can be, for example, the MIPI interface.

[0137] ​It can be understood that before the electronic device enters the AOD mode, the electronic device can use DC dimming; after the electronic device enters the AOD mode, the electronic device can use PWM dimming. Step S1101 can be a way for an electronic device to switch from DC dimming to PWM dimming.

[0138] S1102, upon receiving the first indication information, the DDIC outputs a first type of pulse signal through a register.

[0139] The first type of pulse signal is a PWM pulse signal suitable for use in an AOD scenario, for example, there are multiple pulses in the period of the first type of pulse signal, for example Figure 8 pulse signals in the period of the first type of pulse signal (such as the 4 pulses in pulse 1' to pulse 4'), and for example Figure 10 pulse signals in the period of the first type of pulse signal (such as the N pulses in pulse 1' to pulse N').

[0140] The DDIC can pre-store values of multiple groups of registers, and when the DDIC receives the first indication information, the DDIC can set the values of the registers to make the registers generate the first type of pulse signal; for example, the period of the first type of pulse signal is determined by the value of the modulus register, which can be, for example, pwm_mod; the duty cycle of the first type of pulse signal is determined by the value of the channel register, which can be, for example, pwm_CxV (x is a natural number).

[0141] It can be understood that the registers of the DDIC can store the duty cycles of the pulse signals in the first type of pulse signal, and the DDIC can output pulse signals of different waveforms through the registers, for example, when the DDIC receives the first indication information, the DDIC outputs the first type of pulse signal based on the registers.

[0142] S1103, the DDIC controls the display panel to display a first frame of image based on the first type of pulse signal.

[0143] The first frame of image can be a frame of image to be refreshed in the AOD mode.

[0144] The display panel can be divided into N regions, for example, region A, region B,..., region N, and the N regions are complementary. The DDIC controls the display panel to display the first frame of image through the first type of pulse signal, which can correspond to Figure 8 steps S801-S804 in FIG. 8, or to Figure 10 steps S1001-S1005 in FIG. 10, the DDIC can brush the first frame of image onto the display panel in the above-mentioned manner, and the embodiments of the present application will not be repeated here.

[0145] In the AOD mode, the electronic device can improve the screen flicker problem of the electronic device in the PWM dimming through steps S1101-S1103. In this way, the electronic device can realize the effect shown in the a interface in Figure 1 , that is, when the electronic device refreshes any frame image, the brightness of each area of the display panel is generally consistent, and the human eye cannot observe the alternating changes in brightness and darkness.

[0146] In the embodiments of the present application, in addition to the AOD mode triggering the dimming method of the embodiments of the present application, the electronic device also triggers the dimming method of the embodiments of the present application in the low brightness mode. Figure 12 The flowchart of another dimming method in the embodiments of the present application is shown in FIG. 12. Figure 12

[0147] S1201, when the processor identifies that the brightness value of the display screen is less than or equal to the brightness threshold value, the processor sends second indication information to the DDIC.

[0148] The processor can be an AP, and the brightness value of the display screen can be a display brightness value (DBV). The second indication information can be used to instruct the DDIC to enter a low brightness mode. The brightness threshold value can be, for example, 70 nit.

[0149] In some embodiments, when the brightness value of the display screen is greater than the brightness threshold value, the dimming mode of the electronic device is DC dimming; and when the brightness value of the display screen is less than or equal to the brightness threshold value, the dimming mode of the electronic device is PWM dimming.

[0150] S1202, upon receiving the second indication information, the DDIC outputs a PWM pulse signal corresponding to the brightness value through a register.

[0151] The PWM pulse signal corresponding to the brightness value has a plurality of pulses in a period, for example Figure 8 the pulse signal (such as the 4 pulses in pulse1' to pulse 4') in FIG. 11B, and for example Figure 10 the pulse signal (such as the N pulses in pulse 1' to pulse N') in FIG. 11C; the second indication information can include the brightness value of the display screen, and the DDIC can output the corresponding pulse signal according to the brightness value.

[0152] For example, in some embodiments, the brightness value of the display screen is a first brightness, and the first brightness is less than the brightness threshold value; upon receiving the second indication information, the DDIC outputs a second type of pulse signal through the register, and the waveform of the second type of pulse signal is different from the waveform of the first type of pulse signal.

[0153] ​In some other embodiments, the display screen has a second brightness value, the second brightness value is less than the brightness threshold value, and the second brightness value is different from the first brightness value; when the second indication information is received, the DDIC outputs a third type of pulse signal through the register, and the waveform of the second type of pulse signal is different from the waveform of the second type of pulse signal.

[0154] For example, the register of the DDIC pre-stores a plurality of pulse signals in different output forms, such as the first type of pulse signal in the AOD mode, a plurality of PWM pulse signals in the low brightness mode, such as the second type of pulse signal, the third type of pulse signal, and the like. The period of each type of pulse signal is the same as the refresh period of the screen. Due to different applicable scenarios, each type of pulse signal is different. For example, the duty cycle of pulse i' (1≤i≤N) in the first type of pulse signal is different from the duty cycle of pulse i' in the second type of pulse signal. The number of pulses N in a single period of the first type of pulse signal is different from the number of pulses N in a single period of the second type of pulse signal. The DDIC can output different pulse signals according to the scenario.

[0155] S1203, the DDIC controls the display panel to display a second frame image based on the pulse signal corresponding to the brightness value.

[0156] The second frame image can be a frame image to be refreshed in the low brightness mode, for example Figure 13 the frame image in the display screen, Figure 13 a schematic diagram of an interface of an electronic device in a low brightness mode is shown.

[0157] The display panel can be divided into N regions, such as region A, region B, …, region N, and the N regions are complementary. The DDIC controls the display panel to display a second frame image based on the pulse signal corresponding to the brightness value, which can correspond to Figure 8 steps S801-S804 in the method 800, or correspond to Figure 10 steps S1001-S1005 in the method 1000. The DDIC can refresh the second frame image on the display panel in the above manner, and details are not described herein.

[0158] In the low brightness mode, the electronic device can improve the screen flicker problem of the electronic device in the PWM dimming through steps S1201-S1203. In this way, the electronic device can achieve the effect as shown in Figure 13 When the electronic device refreshes any frame image, the brightness of each region of the display panel is substantially consistent, and the human eye cannot observe the alternating changes in brightness and darkness.

[0159] Optionally, in this embodiment of the application, the electronic device can connect the display screen to the flexible printed circuit board (FPC), and the electronic device can measure the pulse signal of the EM pin in the DDIC through the FPC to obtain the waveform of the PWM pulse signal output by the DDIC.

[0160] For example, Figure 14 The waveforms of two PWM pulse signals are shown.

[0161] In one possible implementation, DDIC can output, for example... Figure 14 The waveform diagram shown in Figure a shows that the duty cycle of pulse1' is greater than that of pulse2', and the duty cycles of pulse2' to pulseN' are the same.

[0162] In another possible implementation, DDIC can output, for example... Figure 14 The waveform shown in Figure b is such that the duty cycle of any pulse from pulse1' to pulse M' is greater than the duty cycle of any pulse from pulse M+1' to pulse N', and the duty cycles of pulse M+1' to pulse N' are the same.

[0163] Based on the above embodiments, this application provides a dimming method. For example, Figure 15 This is a schematic flowchart of a dimming method provided in an embodiment of this application.

[0164] like Figure 15 As shown, when an electronic device uses pulse width modulation (PWM) for dimming, the device refreshes any frame of image using N pulse signal cycles, with one pulse signal per pulse signal cycle. The display screen of the electronic device is divided into N regions, which are non-overlapping, where N is a positive integer. This dimming method may include the following steps:

[0165] S1501, During the first pulse signal period, the electronic device receives the first pulse signal in the first region.

[0166] The period of the first pulse signal can correspond to Figure 8 The first pulse signal period in the first region can be region A, and the first pulse signal can be pulse 1'; or, the first pulse signal period can correspond to Figure 10 The first pulse signal period in the first region can be region A, and the first pulse signal can be pulse 1'.

[0167] It can be understood that when the pulse signal period is long, the electronic device can complete initialization in one pulse signal period; when the pulse signal period is short, the electronic device can experience multiple pulse signal periods to complete initialization.

[0168] S1502, in the second pulse signal period, the electronic device receives the first pulse signal in the second region, and the electronic device receives the second pulse signal in the first region; the duty cycle of the first pulse signal is greater than the duty cycle of the second pulse signal; the duty cycle includes the ratio of the time length of controlling the pixel point of the first region to light up to the pulse signal period, the first region is adjacent to the second region; the first pulse signal period is earlier than the second pulse signal period.

[0169] The second pulse signal period can correspond to the second pulse signal period in FIG. 1B, the first region can be the A region, the second region can be the B region, the first pulse signal can be pulse 1', and the second pulse signal can be pulse 2'. Figure 8 The second pulse signal period can correspond to the second pulse signal period in FIG. 1B, the first region can be the A region, the second region can be the B region, the first pulse signal can be pulse 1', and the second pulse signal can be pulse 2'. Figure 10 The second pulse signal period can correspond to the second pulse signal period in FIG. 1B, the first region can be the A region, the second region can be the B region, the first pulse signal can be pulse 1', and the second pulse signal can be pulse 2'.

[0170] S1503, in the third pulse signal period, the electronic device receives the first pulse signal in the third region, the electronic device receives the second pulse signal in the second region, and the electronic device receives the third pulse signal in the first region; the duty cycle of the second pulse signal is greater than or equal to the duty cycle of the third pulse signal; the third region is adjacent to the second region; the second pulse signal period is adjacent to the third pulse signal period.

[0171] The third pulse signal period can correspond to the third pulse signal period in FIG. 1C, the first region can be the A region, the second region can be the B region, the third region can be the C region, the first pulse signal can be pulse 1', the second pulse signal can be pulse 2', and the third pulse signal can be pulse 3'. Figure 8 The third pulse signal period can correspond to the third pulse signal period in FIG. 1C, the first region can be the A region, the second region can be the B region, the third region can be the C region, the first pulse signal can be pulse 1', the second pulse signal can be pulse 2', and the third pulse signal can be pulse 3'.

[0172] The third pulse signal period can correspond to the third pulse signal period in FIG. 1C, the first region can be the A region, the second region can be the B region, the third region can be the C region, the first pulse signal can be pulse 1', the second pulse signal can be pulse 2', and the third pulse signal can be pulse 3'. Figure 10The first region can be the A region, the second region can be the B region, the third region can be the C region, the first pulse signal can be pulse 1', the second pulse signal can be pulse 2', and the third pulse signal can be pulse 3' in the third pulse signal period in FIG. 1. The duty cycle of pulse 2' is greater than or equal to the duty cycle of pulse 3'.

[0173] In the Nth pulse signal period, the electronic device receives the first pulse signal in the first region, receives the (i+1)th pulse signal in the (N-i)th region, and receives the Nth pulse signal in the first region, where i is a positive integer less than N, the duty cycle of any one of the first pulse signal to the Mth pulse signal is greater than the duty cycle of any one of the (M+1)th pulse signal to the Nth pulse signal, the duty cycles of the (M+1)th pulse signal to the Nth pulse signal are the same, and M is a positive integer less than N.

[0174] The Nth pulse signal period can correspond to Figure 8 The first region can be the A region, the second region can be the B region, the third region can be the C region, the Nth region can be the D region, the first pulse signal can be pulse 1', the second pulse signal can be pulse 2', the third pulse signal can be pulse 3', and the Nth pulse signal can be pulse 4' in the fourth pulse signal period in FIG. 1. M=1, and the duty cycle of pulse 1' is greater than the duty cycle of any one of pulse 2' to pulse 4'.

[0175] Alternatively, the Nth pulse signal period can correspond to Figure 10 The first region can be the A region, the second region can be the B region, the third region can be the C region, the Nth region can be the N region, the first pulse signal can be pulse 1', the second pulse signal can be pulse 2', the third pulse signal can be pulse 3', the Mth pulse signal can be pulse M', and the Nth pulse signal can be pulse N' in the Nth pulse signal period in FIG. 1. M is not 1, and the duty cycle of any one of pulse 1' to pulse M' is greater than the duty cycle of any one of pulse M+1' to pulse N'.

[0176] In this way, when the regions are initialized, the duty cycles of the pulse signals received by the regions are large, so as to reduce the influence of the initialization on the lighting duration of the pixel points in the regions, thereby making the brightness values of the initialized regions and other regions generally flat and reducing the screen flicker scenarios.

[0177] Optionally, the duty cycle of any one of the first pulse signal to the Mth pulse signal is the same, or the duty cycle of the first pulse signal to the Mth pulse signal decreases in turn.

[0178] When the initialization process of any one region involves multiple pulse signal periods, the duty cycle of any one of the first pulse signal to the Mth pulse signal can be the same or different.

[0179] For example, the duty cycle of any one of the first pulse signal to the Mth pulse signal is the same, and the brightness of the region controlled by the first pulse signal is lower than the brightness of the region controlled by the Mth pulse signal, but the difference between the two brightness values is less than a preset threshold. For another example, the duty cycle of the first pulse signal to the Mth pulse signal decreases in turn, and the brightness of the region controlled by the first pulse signal is the same as the brightness of the region controlled by the Mth pulse signal.

[0180] In this way, the electronic device controls the duty cycle of the pulse signal during the initialization period to be higher than the duty cycle of the pulse signal during the non-initialization period, so that the brightness values of the pixel points in each region are generally flat, thereby reducing screen flicker.

[0181] Optionally, the duty cycle of any one of the first pulse signal to the Mth pulse signal is higher than 1 / 2, and the duty cycle of any one of the M+1th pulse signal to the Nth pulse signal is equal to 1 / 2.

[0182] In this way, the electronic device can increase the duty cycle of the pulse signal during the initialization period to achieve the effect that the duty cycle of the pulse signal during the initialization period is higher than the duty cycle of the pulse signal during the non-initialization period.

[0183] Optionally, the duty cycle of any one of the first pulse signal to the Mth pulse signal is equal to 1 / 2, and the duty cycle of any one of the M+1th pulse signal to the Nth pulse signal is less than 1 / 2.

[0184] In this way, the electronic device can reduce the duty cycle of the pulse signal during the non-initialization period to achieve the effect that the duty cycle of the pulse signal during the initialization period is higher than the duty cycle of the pulse signal during the non-initialization period.

[0185] Optionally, the display screen comprises a display driving integrated circuit (DDIC); the DDIC comprises a register, and a duty cycle of each pulse signal in the first type of pulse signals is stored in the register; the first type of pulse signals comprises a first pulse signal to an Nth pulse signal; before the electronic device uses pulse width modulation (PWM) for dimming, the method comprises: the electronic device identifies that the electronic device enters a first mode; the first mode comprises: the electronic device enables an always-on display (AOD) function, and the electronic device is in an off-screen state; and the electronic device sends first indication information to the DDIC, and the first indication information is used to instruct the DDIC to output the first type of pulse signals.

[0186] In this way, the electronic device can output the first type of pulse signals in the first mode to control the brightness values of the pixel points in each region to be substantially flat.

[0187] Optionally, the display screen comprises a DDIC; the DDIC comprises a register, and a duty cycle of each pulse signal in the second type of pulse signals is stored in the register; the second type of pulse signals comprises a Jth pulse signal to an Lth pulse signal; a duty cycle of any pulse signal in the Jth pulse signal to the Kth pulse signal is greater than a duty cycle of any pulse signal in the K+1th pulse signal to the Lth pulse signal; the duty cycles of the pulse signals in the K+1th pulse signal to the Lth pulse signal are the same; J, K and L are positive integers, and J≤K<L; the method further comprises: the electronic device sets a brightness value of the display screen to a first brightness value, and the first brightness value is less than a brightness threshold; the electronic device identifies that the electronic device enters a second mode; the second mode comprises: the brightness of the display screen of the electronic device is lower than the brightness threshold; and the electronic device sends second indication information to the DDIC, and the second indication information is used to instruct the DDIC to output the second type of pulse signals.

[0188] It can be understood that the second type of pulse signals is different from the first type of pulse signals, and the setting process of the Jth pulse signal to the Lth pulse signal can refer to the setting process of the first type of pulse signals. Figure 8 Or Figure 10 Embodiments of the present application do not repeat. The waveforms of the pulse signals used by the electronic device are different when the electronic device is in different modes.

[0189] In this way, the electronic device can output the second type of pulse signals in the second mode to control the brightness values of the pixel points in each region to be substantially flat.

[0190] Optionally, in the first pulse signal period, the length of time for which the pixel points in the first region are lit is controlled by the low level in the first pulse signal.

[0191] In this way, the electronic device can control the brightness values of the pixel points in different regions by adjusting the length of time for which the low level in the pulse signal period is.

[0192] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.

[0193] The light adjusting method of the embodiments of the present application has been described above, and the device for executing the light adjusting method provided by the embodiments of the present application will be described below. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the related device provided by the embodiments of the present application can execute the steps in the light adjusting method.

[0194] As shown in Figure 16 The light adjusting device 1600 can be used in a communication device, a circuit, a hardware component or a chip, and the light adjusting device includes a display unit 1601 and a processing unit 1602. The display unit 1601 is used to support the display steps performed by the light adjusting device 1600, and the processing unit 1602 is used to support the information processing steps performed by the light adjusting device 1600.

[0195] In a possible implementation, the light adjusting device 1600 can also include a communication unit 1603. Specifically, the communication unit is used to support the steps of transmitting and receiving data performed by the light adjusting device 1600. The communication unit 1603 can be an input or output interface, a pin or a circuit, etc.

[0196] In a possible embodiment, the light adjusting device can also include a storage unit 1604. The processing unit 1602 and the storage unit 1604 are connected through a line. The storage unit 1604 can include one or more memories, and the memory can be a device for storing programs or data in one or more devices or circuits. The storage unit 1604 can exist independently and be connected to the processing unit 1602 of the light adjusting device through a communication line. The storage unit 1604 can also be integrated with the processing unit 1602.

[0197] The storage unit 1604 can store computer execution instructions of the method in the terminal device, so that the processing unit 1602 executes the method in the above embodiments. The storage unit 1604 can be a register, a cache or a RAM, etc. The storage unit 1604 can be integrated with the processing unit 1602. The storage unit 1604 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions. The storage unit 1604 can be independent of the processing unit 1602.

[0198] The dimming method provided by the embodiments of the present application can be applied to an electronic device with a communication function. The electronic device includes a terminal device, and the specific device form of the terminal device can refer to the related description above, which will not be repeated here.

[0199] The embodiments of the present application provide an electronic device, which includes a processor and a memory. The memory stores computer execution instructions. The processor executes the computer execution instructions stored in the memory, so that the electronic device executes the above method.

[0200] Optionally, the electronic device further includes a DDIC. The DDIC is configured to receive first indication information sent by the electronic device. The first indication information is used to instruct the DDIC to output a first type of pulse signal. The first type of pulse signal includes a first pulse signal to an Nth pulse signal. Alternatively, the DDIC is further configured to receive second indication information sent by the electronic device. The second indication information is used to instruct the DDIC to output a second type of pulse signal. The second type of pulse signal includes a Jth pulse signal to an Lth pulse signal. A duty cycle of any pulse signal in the Jth pulse signal to the Kth pulse signal is greater than a duty cycle of any pulse signal in the K+1th pulse signal to the Lth pulse signal. The duty cycles of the pulse signals in the K+1th pulse signal to the Lth pulse signal are the same. J, K and L are positive integers, and J≤K<L.

[0201] The embodiments of the present application provide a chip. The chip includes a processor configured to call a computer program in a memory to execute the technical solutions in the above embodiments. The implementation principles and technical effects are similar to those of the above related embodiments, which will not be repeated here.

[0202] The embodiments of the present application further provide a computer readable storage medium. The computer readable storage medium stores a computer program. The computer program is executed by the processor to implement the above method. The method described in the above embodiments can be implemented by software, hardware, firmware or any combination thereof, in whole or in part. If implemented in software, the functions can be stored as one or more instructions or codes on a computer readable medium or transmitted on a computer readable medium. The computer readable medium can include computer storage medium and communication medium, and can also include any medium that can transfer computer programs from one place to another. The storage medium can be any target medium accessible by a computer.

[0203] In a possible implementation, the computer readable medium can include a RAM, a ROM, a compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that is suitable for storing desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray® disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer readable media.

[0204] The embodiment of the present application provides a computer program product, which comprises a computer program, and when the computer program is executed, the computer executes the above method.

[0205] The embodiment of the present application is described with reference to flowcharts and / or block diagrams of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices generate a device for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 The device that implements the functions specified in one flow or multiple flows and / or blocks Figure 1 The device that implements the functions specified in one flow or multiple flows and / or blocks

[0206] The above detailed description further describes the purpose, technical scheme, and beneficial effects of the present application. It should be understood that the above is only a specific embodiment of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical scheme of the present application should be included in the protection scope of the present application.

Claims

1. A dimming method, characterized by, The application is applied to an electronic device, when the electronic device uses pulse width modulation (PWM) for dimming, the electronic device uses N pulse signal periods for refreshing any frame image, any pulse signal period has one pulse signal, the display screen of the electronic device is divided into N regions, the N regions do not overlap with each other, and N is a positive integer; the method comprises the following steps: In the first pulse signal period, the electronic device receives the first pulse signal in the first region; In the second pulse signal period, the electronic device receives the first pulse signal in the second region, and the electronic device receives the second pulse signal in the first region; the duty cycle of the first pulse signal is greater than the duty cycle of the second pulse signal; the duty cycle comprises the ratio of the time length of controlling the pixel point of the first region to light up to the pulse signal period, the first region is adjacent to the second region; the first pulse signal period is earlier than the second pulse signal period; In the third pulse signal period, the electronic device receives the first pulse signal in the third region, the electronic device receives the second pulse signal in the second region, and the electronic device receives the third pulse signal in the first region; the duty cycle of the second pulse signal is greater than or equal to the duty cycle of the third pulse signal; the third region is adjacent to the second region; the second pulse signal period is earlier than the third pulse signal period; In the Nth pulse signal period, the electronic device receives the first pulse signal in the Nth region, the electronic device receives the i+1th pulse signal in the N-i region, and the electronic device receives the Nth pulse signal in the first region; wherein i is a positive integer less than N, the duty cycle of any pulse signal in the first pulse signal to the Mth pulse signal is greater than the duty cycle of any pulse signal in the M+1th pulse signal to the Nth pulse signal, the duty cycles of the pulse signals in the M+1th pulse signal to the Nth pulse signal are the same, and M is a positive integer less than N.

2. The method of claim 1, wherein, The duty cycles of any pulse signal in the first pulse signal to the Mth pulse signal are the same, or the duty cycles of the first pulse signal to the Mth pulse signal decrease in turn.

3. The method according to claim 1 or 2, characterized in that, The duty cycles of any pulse signal in the first pulse signal to the Mth pulse signal are higher than 1 / 2, and the duty cycles of any pulse signal in the M+1th pulse signal to the Nth pulse signal are equal to 1 / 2.

4. The method according to claim 1 or 2, characterized in that, The duty cycles of any pulse signal in the first pulse signal to the Mth pulse signal are equal to 1 / 2, and the duty cycles of any pulse signal in the M+1th pulse signal to the Nth pulse signal are less than 1 / 2.

5. The method according to any one of claims 1 to 4, characterized in that, The display screen comprises a display driving integrated circuit (DDIC); the DDIC comprises a register, the register stores the duty cycles of the pulse signals in the first type of pulse signals, the first type of pulse signals comprises the first pulse signal to the Nth pulse signal, and before the electronic device uses pulse width modulation (PWM) for dimming, the method comprises the following steps: The electronic device identifies that the electronic device enters a first mode; the first mode includes that the electronic device enables an always-on-display (AOD) function, and the electronic device is in an off-screen state; The electronic device sends first indication information to the DDIC, and the first indication information is used to instruct the DDIC to output the first type of pulse signal.

6. The method according to any one of claims 1 to 5, characterized in that, The display screen includes a DDIC; the DDIC includes a register, and the register stores a duty cycle of each pulse signal in a second type of pulse signal; the second type of pulse signal includes a Jth pulse signal to an Lth pulse signal; a duty cycle of any pulse signal in the Jth pulse signal to the Kth pulse signal is greater than a duty cycle of any pulse signal in the K+1th pulse signal to the Lth pulse signal; and the duty cycles of the pulse signals in the K+1th pulse signal to the Lth pulse signal are the same. J, K, and L are positive integers, and J≤K<L; and the method further includes: The electronic device sets a brightness value of the display screen to a first brightness value, and the first brightness value is less than a brightness threshold value; The electronic device identifies that the electronic device enters a second mode, and the second mode includes that a brightness of the display screen of the electronic device is lower than the brightness threshold value; The electronic device sends second indication information to the DDIC, and the second indication information is used to instruct the DDIC to output the second type of pulse signal.

7. The method according to any one of claims 1 to 6, characterized in that, In the first pulse signal period, the duration that the pixel points in the first region are lighted is controlled by the low level in the first pulse signal.

8. An electronic device, comprising: The method includes: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the electronic device executes the method in any one of claims 1-7.

9. The electronic device of claim 8, wherein, The electronic device further includes a DDIC; The DDIC is used to receive first indication information sent by the electronic device, and the first indication information is used to instruct the DDIC to output a first type of pulse signal, and the first type of pulse signal includes a first pulse signal to an Nth pulse signal; Alternatively, the DDIC is further used to receive second indication information sent by the electronic device, and the second indication information is used to instruct the DDIC to output a second type of pulse signal, and the second type of pulse signal includes a Jth pulse signal to an Lth pulse signal; a duty cycle of any pulse signal in the Jth pulse signal to the Kth pulse signal is greater than a duty cycle of any pulse signal in the K+1th pulse signal to the Lth pulse signal; the duty cycles of the pulse signals in the K+1th pulse signal to the Lth pulse signal are the same; J, K, and L are positive integers, and J≤K<L.

10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executed by the processor to implement the method in any one of claims 1-7.

11. A computer program product, characterised in that, The computer program, when executed, causes a computer to execute the method in any one of claims 1-7.

Citation Information

Patent Citations

  • Backlight system for display

    CN102411908A

  • Display panel and display driving method therefor, and display device

    CN112449712A