Display method, electronic device, computer readable storage medium and program product
By adjusting the pixel row scan time using the LongH mode in electronic devices and combining it with the LongV scheme for porch time interpolation, the flickering problem during screen refresh rate switching was solved, resulting in reduced power consumption and improved user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2026-04-07
AI Technical Summary
Existing technologies suffer from display flickering issues when switching screen refresh rates, which affects the user experience.
The frequency modulation method that uses time extension on pixel rows in LongH mode changes the scanning time of each row of pixels. Combined with the LongV scheme to interpolate porch time between low refresh rates, the screen refresh rate is dynamically adjusted to reduce device power consumption and improve flickering.
While reducing device power consumption, it effectively reduces brightness flicker during screen refresh rate switching, thus improving the user experience.
Smart Images

Figure CN121811784A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic device technology, and in particular to a display method, electronic device, computer-readable storage medium, and program product. Background Technology
[0002] With the development of display technology, more and more electronic devices can support high refresh rates. However, a higher screen refresh rate means higher power consumption. Therefore, in order to balance smooth visuals and power consumption requirements, the screen refresh rate is currently dynamically switched based on different application scenarios. However, existing methods suffer from display flickering issues during refresh rate switching. Summary of the Invention
[0003] This application provides a display method, electronic device, computer-readable storage medium, and program product for improving display flicker during screen refresh rate switching while reducing device power consumption.
[0004] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0005] In a first aspect, a display method is provided, applied to an electronic device including a display screen, the method comprising:
[0006] The interface is displayed on the screen at a first screen refresh rate; a target application scenario is detected, and the target application scenario corresponds to a second screen refresh rate; when the second screen refresh rate is less than the first screen refresh rate, the screen refresh rate of the display is switched to a transition screen refresh rate, and then switched back to the second screen refresh rate; wherein, the first pulse width of the horizontal synchronization signal corresponding to the first screen refresh rate is not equal to the second pulse width of the horizontal synchronization signal corresponding to the second screen refresh rate; the third pulse width of the horizontal synchronization signal corresponding to the transition screen refresh rate is greater than the first pulse width and less than the second pulse width.
[0007] In this implementation, the electronic device refreshes data according to the horizontal synchronization signal configured based on the actual screen refresh rate. Specifically, if the first screen refresh rate is greater than the transition screen refresh rate, and the transition screen refresh rate is greater than the second screen refresh rate, the first pulse width and the second pulse width are not equal, and the third pulse width lies between the first and second pulse widths. In other words, the screen refresh rate decreases as the screen refresh rate decreases, thus reducing the power consumption of the electronic device. This reduces device power consumption during dynamic screen refresh rate switching.
[0008] Furthermore, the electronic device adds at least one appropriate transition screen refresh rate between the two screen refresh rates before and after switching, so that the switching between the two screen refresh rates is a transitional switch. It can also alleviate the problem of sudden changes in screen refresh rate switching, thereby avoiding flickering caused by sudden changes in brightness difference.
[0009] In one possible implementation of the first aspect, when the second screen refresh rate is less than the first screen refresh rate, switching the display screen refresh rate to a transitional screen refresh rate and then switching from the transitional screen refresh rate to the second screen refresh rate may include: when the second screen refresh rate is less than the first screen refresh rate and greater than or equal to a preset screen refresh rate, switching the display screen refresh rate to a transitional screen refresh rate and then switching from the transitional screen refresh rate to the second screen refresh rate; when the second screen refresh rate is less than the first screen refresh rate and less than the preset screen refresh rate, adjusting the display screen refresh rate... Switching to a transitional screen refresh rate, then switching to a preset screen refresh rate; wherein, the first pulse width is not equal to the fourth pulse width of the horizontal synchronization signal corresponding to the preset screen refresh rate, and the third pulse width is greater than the first pulse width and less than the fourth pulse width; switching from the preset screen refresh rate to a second screen refresh rate, where the second pulse width is equal to the fourth pulse width; and, at the second screen refresh rate, after one frame is refreshed and displayed, it continues to be displayed for a first duration, the first duration being the difference between the second duration and the third duration; the second duration is the screen refresh duration corresponding to the preset screen refresh rate, and the third duration is the screen refresh duration corresponding to the second screen refresh rate.
[0010] In this implementation, for switching between high refresh rates with high power consumption, such as switching between 120Hz and 60Hz, frequency modulation using LongH+ gradient frequency conversion can reduce device power consumption while minimizing flicker. For switching between low refresh rates with low power consumption, such as switching between 60Hz and 1Hz, the LongV porch method is used, which consumes minimal power while completely eliminating flicker.
[0011] In one possible implementation of the first aspect, switching from a preset screen refresh rate to a second screen refresh rate includes: directly switching from the preset screen refresh rate to the second screen refresh rate; or, switching from the preset screen refresh rate to an intermediate screen refresh rate, and then switching from the intermediate screen refresh rate to the second screen refresh rate; wherein the fifth pulse width of the horizontal synchronization signal corresponding to the intermediate screen refresh rate is equal to the second and fourth pulse widths. The intermediate screen refresh rate is the transition refresh rate when switching from the preset screen refresh rate to the second screen refresh rate. That is, when switching between refresh rates with lower power consumption, a gradual frequency conversion method can also be used.
[0012] In one possible implementation of the first aspect, the display method further includes: when the refresh rate of the second screen is greater than the refresh rate of the first screen, directly switching the screen refresh rate of the display to the second screen refresh rate.
[0013] In this implementation, if the refresh rate of the first screen is lower than that of the second screen, it indicates that the screen refresh rate is increased. In this increased refresh rate scenario, the frame interval decreases due to the rapid increase in screen refresh rate, resulting in a shorter flicker during the transition. In this case, the flicker perceived by the user during the transition is not as noticeable as when switching from a high refresh rate to a low refresh rate; the user may not even perceive any flicker. Furthermore, increased refresh rates are usually implemented based on application scenarios that require a rapid improvement in smoothness and responsiveness. Therefore, increasing the transition screen refresh rate can actually prevent the smoothness and responsiveness from quickly reaching the standard corresponding to the high refresh rate, thus affecting the user experience. Therefore, in the increased refresh rate scenario, the transition screen refresh rate can be skipped, and the switching can proceed directly.
[0014] In another possible implementation of the first aspect, the display method further includes: when the second screen refresh rate is greater than the first screen refresh rate, switching the screen refresh rate of the display to a transition screen refresh rate, and then switching from the transition screen refresh rate to the second screen refresh rate; wherein the third pulse width is less than the first pulse width and greater than the second pulse width.
[0015] In one possible implementation of the first aspect, the transition screen refresh rate includes at least one; when the second screen refresh rate is less than the first screen refresh rate, the transition screen refresh rates are switched sequentially in descending order of the third pulse width, and the transition screen refresh rate with the smallest third pulse width is the screen refresh rate adjacent to the second screen refresh rate or the preset screen refresh rate.
[0016] In this implementation, by setting multiple transition screen refresh rates and switching them sequentially, the brightness difference can be spread out through multiple small-difference switching, thereby improving the flickering problem at the moment of switching.
[0017] In one possible implementation of the first aspect, the display screen corresponding to the transition screen refresh rate and / or the preset screen refresh rate includes i frames, where i is a positive integer.
[0018] In one possible implementation of the first aspect, the preset screen refresh rate is 60Hz.
[0019] Secondly, this application provides a display method applied to an electronic device including a display screen, the method comprising:
[0020] The interface is displayed on the screen at a first screen refresh rate; a target application scenario is detected, and the target application scenario corresponds to a second screen refresh rate; when the second screen refresh rate is less than the first screen refresh rate, the screen refresh rate of the display is directly switched to the second screen refresh rate; wherein, the first pulse width of the horizontal synchronization signal corresponding to the first screen refresh rate is not equal to the second pulse width of the horizontal synchronization signal corresponding to the second screen refresh rate; at the second screen refresh rate, the gamma value corresponding to the displayed image from frame 1 to frame i is set as the target gamma value, and after frame i, the gamma value is set as the gamma value corresponding to the second screen refresh rate; wherein, the target gamma value is determined based on the brightness difference between the first screen refresh rate and the second screen refresh rate; i≥1, where i is a positive integer.
[0021] In this implementation, since the Gamma value can affect the display brightness of the screen, a special Gamma value can be configured in the first i-frame of the second screen refresh rate to improve the flickering problem during switching.
[0022] In one possible implementation of the second aspect, the display screen includes a display driver chip and a display panel, the display driver chip including a logic controller; the display method further includes: the logic controller calling a target gamma value from a preset gamma table and driving the display panel to set the gamma value corresponding to the first frame to the i-th frame of the display screen to the target gamma value; after the i-th frame, the logic controller calling a gamma value corresponding to the second screen refresh rate from the preset gamma table and driving the display panel to set the gamma value to the gamma value corresponding to the second screen refresh rate.
[0023] Thirdly, this application provides an electronic device, comprising: one or more displays, one or more processors and a memory, wherein the displays and the memory are coupled to the processors; the memory stores one or more computer program codes, the computer program codes including computer instructions; when the processor executes the computer instructions, the electronic device performs the following steps: displaying an interface on the displays at a first screen refresh rate; detecting a target application scenario, the target application scenario corresponding to a second screen refresh rate; when the second screen refresh rate is less than the first screen refresh rate, switching the screen refresh rate of the displays to a transition screen refresh rate, and switching from the transition screen refresh rate to the second screen refresh rate; wherein the first pulse width of the horizontal synchronization signal corresponding to the first screen refresh rate is not equal to the second pulse width of the horizontal synchronization signal corresponding to the second screen refresh rate; the third pulse width of the horizontal synchronization signal corresponding to the transition screen refresh rate is greater than the first pulse width and less than the second pulse width.
[0024] In one possible implementation of the third aspect, when the aforementioned computer instructions are executed by the processor, the electronic device further performs the following steps: when the second screen refresh rate is less than the first screen refresh rate and the second screen refresh rate is greater than or equal to a preset screen refresh rate, the screen refresh rate of the display is switched to an intermediate screen refresh rate, and then switched back to the second screen refresh rate; when the second screen refresh rate is less than the first screen refresh rate and the second screen refresh rate is less than the preset screen refresh rate, the screen refresh rate of the display is switched to an intermediate screen refresh rate, and then switched back to the preset screen refresh rate; wherein the first pulse width is not equal to the fourth pulse width of the horizontal synchronization signal corresponding to the preset screen refresh rate, and the third pulse width is greater than the first pulse width and less than the fourth pulse width; when switching from the preset screen refresh rate to the second screen refresh rate, the second pulse width is equal to the fourth pulse width; and, at the second screen refresh rate, after a frame of image is refreshed and displayed, the image continues to be displayed for a first duration, the first duration being the difference between the second duration and the third duration; the second duration is the image refresh duration corresponding to the preset screen refresh rate, and the third duration is the image refresh duration corresponding to the second screen refresh rate.
[0025] In one possible implementation of the third aspect, when the aforementioned computer instructions are executed by the processor, the electronic device further performs the following steps: switching from a preset screen refresh rate to a second screen refresh rate, including: directly switching from the preset screen refresh rate to the second screen refresh rate; or, switching from the preset screen refresh rate to an intermediate screen refresh rate, and then switching from the intermediate screen refresh rate to the second screen refresh rate; wherein the fifth pulse width of the horizontal synchronization signal corresponding to the intermediate screen refresh rate is equal to the second and fourth pulse widths.
[0026] In one possible implementation of the third aspect, when the aforementioned computer instructions are executed by the processor, the electronic device further performs the following steps: when the refresh rate of the second screen is greater than the refresh rate of the first screen, the screen refresh rate of the display is directly switched to the second screen refresh rate.
[0027] In one possible implementation of the third aspect, when the aforementioned computer instructions are executed by the processor, the electronic device further performs the following steps: when the second screen refresh rate is greater than the first screen refresh rate, the screen refresh rate of the display is switched to a transition screen refresh rate, and then switched from the transition screen refresh rate to the second screen refresh rate; wherein the third pulse width is less than the first pulse width and greater than the second pulse width.
[0028] In one possible implementation of the third aspect, the transition screen refresh rate includes at least one; when the aforementioned computer instructions are executed by the processor, the electronic device further performs the following steps:
[0029] Following the order of the third pulse width from largest to smallest, the refresh rate of the first transition screen is switched sequentially to the refresh rate of the last transition screen, and then switched from the refresh rate of the last transition screen to the refresh rate of the second screen or the preset screen refresh rate.
[0030] In one possible implementation of the third aspect, the display screen corresponding to the transition screen refresh rate and / or the preset screen refresh rate includes i frames, where i is a positive integer.
[0031] In one possible implementation of the third aspect, the preset screen refresh rate is 60Hz.
[0032] Fourthly, this application provides an electronic device, comprising: one or more displays, one or more processors and a memory, wherein the displays and the memory are coupled to the processors; the memory stores one or more computer program codes, the computer program codes including computer instructions; when the processor executes the computer instructions, the electronic device performs the following steps:
[0033] The interface is displayed on the screen at a first screen refresh rate; a target application scenario is detected, and the target application scenario corresponds to a second screen refresh rate; when the second screen refresh rate is less than the first screen refresh rate, the screen refresh rate of the display is directly switched to the second screen refresh rate; wherein, the first pulse width of the horizontal synchronization signal corresponding to the first screen refresh rate is not equal to the second pulse width of the horizontal synchronization signal corresponding to the second screen refresh rate; at the second screen refresh rate, the gamma value corresponding to the displayed image from frame 1 to frame i is set as the target gamma value, and after frame i, the gamma value is set as the gamma value corresponding to the second screen refresh rate; wherein, the target gamma value is determined based on the brightness difference between the first screen refresh rate and the second screen refresh rate; i≥1, where i is a positive integer.
[0034] In one possible implementation of the fourth aspect, the display screen includes a display driver chip and a display panel, the display driver chip including a logic controller; when the aforementioned computer instructions are executed by the processor, the electronic device further performs the following steps:
[0035] The logic controller retrieves the target gamma value from the preset gamma table and drives the display panel to set the gamma value corresponding to the displayed images from frame 1 to frame i to the target gamma value; after frame i, the logic controller retrieves the gamma value corresponding to the second screen refresh rate from the preset gamma table and drives the display panel to set the gamma value corresponding to the second screen refresh rate.
[0036] Fifthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor in an electronic device, causes the electronic device to perform a display method as described in the first aspect and any possible implementation thereof, or, when executed by a processor in an electronic device, causes the electronic device to perform a display method as described in the second aspect and any possible implementation thereof.
[0037] Sixthly, this application provides a computer program product that, when run on a computer, causes the computer to execute a display method as described in the first aspect and any possible implementation thereof, or, when run on a computer, causes the computer to execute a display method as described in the second aspect and any possible implementation thereof. The computer may be the aforementioned electronic device.
[0038] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor, the processor being configured to invoke a computer program in memory to execute a display method as described in the first aspect and any possible implementation thereof.
[0039] Alternatively, the processor may invoke a computer program in memory to execute the display method of the second aspect and any of its possible implementations.
[0040] Understandably, the beneficial effects achievable by the electronic device of any possible implementation of the third aspect, the electronic device of any possible implementation of the fourth aspect, the computer-readable storage medium of the fifth aspect, the computer program product of the sixth aspect, and the chip of the seventh aspect can be referred to as the beneficial effects in the first aspect and any possible implementation thereof, which will not be repeated here. Attached Figure Description
[0041] Figure 1 A pulse timing diagram of a LongV mode down-frequency reduction is provided for an embodiment of this application;
[0042] Figure 2 A pulse timing diagram of a LongH mode down-frequency reduction is provided for an embodiment of this application;
[0043] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0044] Figure 4 A software structure block diagram of an electronic device provided in an embodiment of this application;
[0045] Figure 5 A schematic flowchart illustrating a display method provided in an embodiment of this application;
[0046] Figure 6This application provides a schematic diagram of a gradual frequency conversion switching process under a LongH scheme.
[0047] Figure 7 A schematic diagram of a brightness difference comparison curve provided for an embodiment of this application;
[0048] Figure 8 A timing diagram illustrating gradual frequency conversion switching under a LongH scheme, provided as an embodiment of this application;
[0049] Figure 9A and Figure 9B A schematic diagram illustrating a combination of LongH and LongV schemes for frequency modulation, provided in an embodiment of this application;
[0050] Figure 10 A schematic diagram of a gradual frequency conversion switching interface provided in an embodiment of this application;
[0051] Figure 11 A schematic diagram illustrating the principle of a display method provided in an embodiment of this application;
[0052] Figure 12 A schematic diagram of a conventional dynamic switching Gamma process provided for an embodiment of this application;
[0053] Figure 13 A schematic diagram illustrating a dynamic switching of Gamma provided in an embodiment of this application;
[0054] Figure 14 This is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation
[0055] To facilitate understanding and description of the solution, the technical terms involved in the embodiments of this application will be explained below.
[0056] In-frame touch drive (long horizontal, LongH) mode: The touch sensor's operating time is inserted into the period of the display frame. Specifically, LongH mode divides the period of a display frame into n equal parts (usually n=8), and then inserts the touch sensor's operating time into the interval between two adjacent parts within the n equal parts.
[0057] Inter-frame touch drive (long vertical, LongV) mode: The touch sensor is driven once after each frame is displayed to detect the touch signal. That is, LongV mode schedules the touch time to occur in a truly blank area of the display.
[0058] Screen refresh rate (frames per second, FPS): The number of times a display device updates its screen content per second, usually expressed in Hertz (Hz). For example, a 60Hz screen refresh rate means the display device updates the screen content 60 times per second, with a refresh interval of 16.67ms, meaning the image is refreshed once every 16.67ms. A 120Hz screen refresh rate means the display device updates the screen content 120 times per second, with a refresh interval of 8.33ms, meaning the image is refreshed once every 8.33ms. Therefore, a higher screen refresh rate results in smoother visuals, but also higher power consumption.
[0059] Horizontal synchronization (HSYNC) signal: also known as the line synchronization signal, it indicates the start of scanning a line and is used to synchronize the scanning of each line of pixels. That is, when the HSYNC signal changes, the display device will start scanning the next line of pixels.
[0060] Vertical synchronization (VSYNC) signal: also known as frame synchronization signal, it indicates the start of scanning a frame and is used to synchronize the display's refresh. That is, when the VSYNC signal changes, the display device will start refreshing and displaying a new frame.
[0061] Gate driver on array (GOA) signal: Also known as the gate signal, it is used to control the switching state of transistors in the gate driver circuit (gate driver IC). Simply put, the GOA signal can control the display device to scan line by line (including pixel reset, initialization, charging, and illumination stages) to display data.
[0062] In other words, in a display device, each pixel can be individually controlled by a driving circuit, which may include multiple transistors T and a capacitor C. Pixel control is achieved by controlling the switching states of the multiple transistors. The switching time and sequence of the multiple transistors T in the driving circuit can be controlled by the GOA signal, thereby achieving precise control of the pixel's brightness / color. Currently, commonly used driving circuit structures include "8T1C" and "7T1C". Here, the number before T represents the number of transistors T, and C represents the capacitor.
[0063] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to limit the application. Furthermore, to facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first," "second," etc., are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., are not necessarily different. Also, in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0064] With the development of display technology, more and more electronic devices can support high refresh rates. For example, current liquid crystal displays (LCDs) and organic light-emitting diode (OLED) screens can support refresh rates of 120Hz or even 144Hz.
[0065] However, a higher screen refresh rate means higher device power consumption. Therefore, in order to balance smooth visuals and power consumption requirements, current electronic devices dynamically switch the screen refresh rate based on different application scenarios.
[0066] For example, when a user manually swipes to browse content on the screen, the screen refresh rate can be switched to a high refresh rate, such as 120Hz, to ensure responsiveness and smooth scrolling. When switching to a video playback scenario, to ensure smooth playback while reducing device power consumption, the screen refresh rate can be switched to 60Hz or 30Hz. In static scenarios, such as reading, the screen refresh rate can be switched to an even lower rate, such as 10Hz or 1Hz.
[0067] However, because different screen refresh rates correspond to different screen refresh speeds, the charging time for pixels on the display panel varies at different refresh rates, resulting in different pixel brightness. In other words, the faster the screen refresh rate, the shorter the charging time for each frame, and the lower the brightness of that frame. Therefore, frequently switching between different screen refresh rates can easily cause flickering in the display brightness at the moment of switching.
[0068] For example, when the screen refresh rate switches from 120Hz to 60Hz, the corresponding refresh rate drops sharply from 8.33ms to 16.67ms. That is, the last frame at 120Hz still refreshes quickly at 8.33ms, but the first frame at 60Hz refreshes at 16.33ms. Consequently, because of this sudden decrease in refresh rate, the pixel charging time increases, leading to a slight increase in pixel brightness. Therefore, there is a noticeable brightness difference when switching from 120Hz to 60Hz, which can easily cause flickering issues.
[0069] In summary, different screen refresh rates result in different screen refresh rates, leading to varying pixel charging times. These charging times, in turn, affect display brightness, resulting in different pixel brightness levels at different refresh rates. Therefore, the greater the difference in refresh rates between two screens before and after a switch, the greater the brightness difference, and the more noticeable the brightness flickering issue becomes during the switch. Consequently, if application scenarios frequently change, causing frequent dynamic switching of screen refresh rates, the brightness flickering issue will occur more frequently, thus impacting the user experience.
[0070] Therefore, if it's necessary to dynamically switch screen refresh rates based on application scenarios, the most important thing is to ensure that there is no visible flickering during the switching process. In other words, to ensure a good user experience, there should be no perceptible flickering issues during screen refresh rate switching.
[0071] Currently, in order to solve the problem of brightness flickering caused by the brightness difference due to the sudden change / abrupt change (such as a sudden drop) in screen refresh rate during dynamic switching, a common approach is to use the highest frequency as the base frequency for all frequencies and then reduce the frequency in LongV mode.
[0072] Specifically, all screen refresh rates are based on the highest screen refresh rate as the base frequency, and the screen refresh speed at all refresh rates remains consistent with the base frequency. Consequently, the charging time and scanning time of data (i.e., pixels) will also remain consistent with the base frequency. This way, even with frequent dynamic switching of the screen refresh rate based on application scenarios, the screen refresh speed will not change, and there will be no brightness difference during the switch, thus avoiding brightness flickering issues during the transition.
[0073] In addition, since the screen refresh rate is already consistent with the highest screen refresh rate (base frequency), if the next frame is refreshed immediately after each frame is completed, then the screen refresh rate is essentially unchanged, meaning that the screen refresh rate has not been successfully switched.
[0074] Therefore, in order to achieve a lower screen refresh rate than the base frequency while maintaining the same screen refresh speed, existing methods add a blank period (added porch time) after each frame scan (i.e., one frame refresh), based on the actual screen refresh rate required after the switch. This ensures no brightness flickering during the switch while guaranteeing a successful switch and achieving a lower screen refresh rate.
[0075] For example, taking a maximum screen refresh rate of 120Hz and a target screen refresh rate (i.e., the second screen refresh rate) of 60Hz as an example, Figure 1 A pulse timing diagram of a LongV mode down-frequency pulse is shown.
[0076] refer to Figure 1 Since the highest screen refresh rate is 120Hz, all screen refresh rates are based on 120Hz. At 120Hz, the time to refresh one frame is 8.33ms. Therefore, when the screen refresh rate needs to switch from the current screen refresh rate (i.e., the first screen refresh rate) of 120Hz to the second screen refresh rate of 60Hz, in LongV mode, to avoid brightness flickering during the switch, the refresh rate at 60Hz will still remain consistent with the base frequency of 120Hz. That is, at 60Hz, the refresh time for each frame will still be 8.33ms.
[0077] For example, assuming the display device has a resolution of 1200*2800, meaning it has 2800 rows of pixels, then at 120Hz, charging and scanning these 2800 rows of pixels will be completed within 8.33ms. Even after the screen refresh rate is switched to 60Hz, the electronic device will still complete the charging and scanning of these 2800 rows of pixels within 8.33ms.
[0078] Therefore, as Figure 1 As shown, the pulse timing of data refresh at 60Hz is consistent with that at 120Hz, indicating that at 60Hz, the data will still be refreshed within 8.33ms, just like at 120Hz. Therefore, at 60Hz, the data refresh will be completed within the first 8.33ms of 16.67ms.
[0079] In this way, even if the screen refresh rate switches from a high 120Hz to a low 60Hz, because the refresh rate remains unchanged, a noticeable brightness difference during the switch can be avoided, thus preventing flickering issues. Simultaneously, because the refresh rate remains constant, the pulse timing of the HSYNC signal and the various clock frequencies of GOA remain consistent at 60Hz compared to 120Hz. Figure 1 As shown.
[0080] However, unlike the 8.33ms refresh interval between adjacent frames at 120Hz, the refresh interval between the previous and next frames at 60Hz should be 16.67ms to ensure the screen refresh rate is successfully switched to 60Hz. At 60Hz, maintaining the 16.67ms refresh interval even with a refresh rate increased to 8.33ms is achieved by adding a time porch.
[0081] like Figure 1 As shown, at 60Hz, after the data refresh is completed, the screen pixels will remain lit for the remaining 8.33ms within the 16.67ms period. This is called adding a porch time to ensure that the image continues to be displayed. This ensures that the total time required to refresh one frame is still 16.67ms, thus maintaining the correspondence with 60Hz and successfully achieving the switching of the screen refresh rate.
[0082] like Figure 1 As shown, at 60Hz, the screen is in data refresh mode for the first 8.33ms of each frame. During the last 8.33ms of each frame, the screen is in data hold mode because the data refresh is complete. Similarly, corresponding to data hold, the pulse timing sequence for data refresh is blank, indicating that the data (i.e., pixels) is in a hold state and not in a refresh state.
[0083] In other words, after the screen refresh rate switches from the first screen refresh rate of 120Hz to the second screen refresh rate of 60Hz, it will still maintain the same refresh speed as the base frequency of 120Hz to quickly complete the data refresh at the second screen refresh rate of 60Hz. At the same time, after the data refresh is completed, a pulse will be inserted for the remaining time to keep the pixels lit. In this way, while achieving dynamic switching of the screen refresh rate, it can avoid sudden / abrupt changes in the screen refresh speed during the screen refresh rate switching process, thereby avoiding the display brightness flickering problem at the moment of switching.
[0084] The above-described frequency modulation scheme, which uses the highest screen refresh rate as the base frequency in LongV mode and inserts a porch after the data refresh is completed to achieve a low refresh rate, can be simply referred to as the LongV scheme.
[0085] Understandable. Figure 1The 120Hz to 60Hz switching shown is merely an example of an embodiment of this application and does not constitute any limitation. Currently, switching between other screen refresh rates, such as 90Hz and 30Hz, can also be achieved using the aforementioned LongV solution.
[0086] For example, taking 90Hz as an example, since the screen needs to be refreshed every 11.11ms at 90Hz, after the screen refresh rate is switched to 90Hz, a frame of data will be refreshed in the first 8.33ms of the 11.11ms. Then, a pulse is inserted after the next frame to achieve 90Hz. That is, the pulse is inserted in the remaining 2.78ms to keep the screen pixels lit.
[0087] In summary, the LongV solution described above ensures that the pixel charging, scanning, and reset states at low refresh rates such as 90Hz, 60Hz, and 30Hz are basically consistent with the base frequency of 120Hz. This ensures that the pixel state remains largely consistent across different refresh rates, thus avoiding brightness flickering issues during dynamic switching between different screen refresh rates. In other words, there is no brightness flickering or only slight flickering so that it is imperceptible to the user when switching between different refresh rates.
[0088] However, the drawback of the LongV solution is that because the charging time and scanning time of the pixels are consistent with the base frequency, even if the screen refresh rate is switched to 90Hz / 60Hz / 30Hz, the actual device is still refreshing the screen at the base frequency of 120Hz. Since the base frequency is usually the highest screen refresh rate that the display device can support, the power consumption required does not decrease accordingly even if the screen refresh rate is switched from a high refresh rate to a low refresh rate, keeping the device in a state of relatively high power consumption.
[0089] Therefore, in order to reduce device power consumption and improve the brightness flicker problem caused by screen refresh rate switching, this application provides a display method. The display method provided in this application can be applied to electronic devices.
[0090] Unlike the LongV scheme described above, the display method provided in this application is mainly implemented in LongH mode. In LongH mode, the electronic device dynamically switches the screen refresh rate primarily by extending the time across pixel rows based on the actual refresh rate after the switch. To distinguish it from the LongV scheme, this frequency modulation scheme that extends the time across each pixel row can be simply referred to as the LongH scheme.
[0091] The LongH scheme, which extends the time for each row of pixels, specifically refers to changing the scanning time of each row of pixels based on the actual screen refresh rate after the switch. In other words, in the LongH scheme, after the screen refresh rate switches, the electronic device adjusts the scanning time of each row of pixels based on the actual second screen refresh rate. Therefore, the state of each row of pixels is essentially n times the base frequency.
[0092] For example, assuming the base frequency = 120Hz, then n = 120 / actual refresh rate of the second screen after switching. That is, if the actual refresh rate of the second screen after switching = 60Hz, then n = 120 / 60 = 2. And if the actual refresh rate of the second screen after switching = 90Hz, then n = 120 / 90 = 1.33.
[0093] Therefore, it can be seen that the traditional LongV scheme mainly adjusts the screen refresh rate by increasing the frame refresh rate and inserting pulses after the frame, while the LongH scheme adopted in this application adjusts the refresh rate by changing the scanning time of each pixel row. For example, when downgrading from a high refresh rate to a low refresh rate, the charging time and scanning time of each pixel row can be lengthened because the screen refresh speed is reduced.
[0094] For example, let's take switching from a high refresh rate of 120Hz to a low refresh rate of 60Hz as an example. Figure 2 A pulse timing diagram of a LongH mode down-frequency pulse is shown.
[0095] refer to Figure 2 Because data is refreshed at 8.33ms intervals at 120Hz, before switching, the timing of the VSYNC signal, HSYNC signal, and data refresh pulses at 120Hz are all set according to one frame of 8.33ms.
[0096] After the switch, because data is refreshed at 16.67ms intervals at 60Hz, and the LongH scheme uses pixel rows for time extension, it won't continue refreshing data at 8.33ms intervals corresponding to 120Hz at 60Hz like the LongV scheme. Instead, it will directly refresh data at 16.67ms intervals corresponding to 60Hz. That is, in the LongV scheme, the refresh time for each frame at 60Hz is 16.67ms. Therefore, as... Figure 2 As shown, the pulse timing of the VSYNC signal, HSYNC signal, data refresh, and GOA scan at 60Hz is set to 16.67ms per frame.
[0097] By comparison Figure 1 and Figure 2As can be seen, because the LongV scheme increases the frame refresh rate and inserts a pulse after the frame, the scanning time of a pixel row is the same at different screen refresh rates. Therefore, the pulse timing of the HSYNC signal corresponding to different screen refresh rates in the LongV scheme is the same, such as... Figure 1 As shown. In the LongH scheme, because the screen refresh rate is switched by adjusting the scan time of pixel rows, the HSYNC signals corresponding to different screen refresh rates are different.
[0098] like Figure 2 As shown, in the LongH scheme, because the screen refresh rate of 120Hz is faster than that of 60Hz, time stretching on the pixel rows results in a shorter scan time per row of pixels at 120Hz compared to 60Hz. Correspondingly, the pulse width of the HSYNC signal at 120Hz is significantly narrower than that at 60Hz. That is, the pulse width of the HSYNC signal at 120Hz is n = 120 / 60 = 2 times the pulse width of the HSYNC signal at 60Hz.
[0099] The horizontal sync pulse width (HSPW) of the HSYNC signal is the width of the HSYNC signal, which is also the duration of the HSYNC signal. Because the HSYNC signal needs to maintain its level for a certain period of time while it is active, the unit is CLK. In some embodiments, HSPW is also referred to as thp.
[0100] Because of the change in the pulse timing of the HSYNC signal, the signal interval (signal gap / signal period) of the pulse timing for data refresh and GOA scanning at 60Hz will be longer than that at 120Hz.
[0101] In this way, because the LongH scheme refreshes the screen refresh rate, the electronic device updates data according to the actual screen refresh rate, resulting in a slower refresh rate and consequently lower power consumption. However, since the LongH scheme changes the scanning time of each pixel row to switch the refresh rate, the scanning time for each pixel row varies at different refresh rates. Consequently, the charging time for each pixel row also differs at different refresh rates. Therefore, although the power consumption of the electronic device is reduced in the LongH scheme, the brightness difference at the moment of switching still exists, and the resulting brightness flicker problem still exists. Furthermore, the greater the difference between the two screen refresh rates before and after the switch, the more noticeable the brightness flicker will theoretically be.
[0102] For example, the brightness difference when switching from 120Hz to 60Hz is greater than the brightness difference when switching from 120Hz to 90Hz, making it easier for users to perceive the brightness flicker when switching to 60Hz.
[0103] Furthermore, in order to reduce device power consumption while improving the brightness flicker problem that still exists in the LongH scheme, in this embodiment of the application, when the electronic device switches the screen refresh rate based on the LongH scheme, it will add at least one appropriate transition screen refresh rate between the two screen refresh rates before and after the switch, so that the switch between the two screen refresh rates is a transitional switch (gradual frequency conversion switch).
[0104] In this way, by increasing the appropriate transitional screen refresh rate, the abrupt change in screen refresh rate during switching can be mitigated, thereby avoiding flickering caused by sudden brightness differences. In other words, this embodiment uses a gradual brightness transition to mask obvious brightness differences, thus improving the brightness flickering problem caused by the transition and ensuring that the user cannot perceive it, thereby enhancing the user experience.
[0105] The aforementioned electronic devices may include at least one of the following: mobile phones, foldable electronic devices, tablet computers, desktop computers, laptop computers, handheld computers, laptops, ultra-mobile personal computers (UMPCs), netbooks, cellular phones, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, wearable devices, in-vehicle devices, smart home devices, or smart city devices. This application does not impose any specific limitations on the type of electronic device described.
[0106] For example, Figure 3 A schematic diagram of the structure of an electronic device is shown.
[0107] refer to Figure 3The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) connector 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera module 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include pressure sensors, gyroscope sensors, barometric pressure sensors, magnetic sensors, accelerometers, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
[0108] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0109] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors. Processor 110 can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.
[0110] In this embodiment of the application, when dynamically switching the screen refresh rate based on the application scenario, the processor 110 can specifically identify and detect the current target application scenario and obtain a second screen refresh rate that matches the current target application scenario.
[0111] Furthermore, the processor 110 can also determine the transition screen refresh rate based on the difference between the first screen refresh rate and the second screen refresh rate and configure the corresponding HSYNC signal, thereby setting the pulse timing of the GOA scan to achieve line-by-line scanning to complete the screen refresh, thereby improving the flickering problem at the moment of switching.
[0112] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. This memory can store instructions or data that the processor 110 has used or that are used frequently. If the processor 110 needs to use the instruction or data, it can directly retrieve it from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0113] In some embodiments, the processor 110 may include one or more interfaces. These interfaces may 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 mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc. The processor 110 can connect to modules such as touch sensors, audio modules, wireless communication modules, displays, and camera modules through at least one of these interfaces.
[0114] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0115] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, it can save music, video, and other files to the external memory card, or transfer music, video, and other files from the electronic device to the external memory card.
[0116] Internal memory 121 can be used to store computer executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phone book, etc.). In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional methods or data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory disposed in the processor.
[0117] USB connector 130 is a USB standard compliant interface used to connect electronic device 100 and peripheral devices, specifically a Mini USB connector, Micro USB connector, USB Type-C connector, etc. Charging management module 140 receives charging input from the charger. Power management module 141 connects to battery 142, and charging management module 140 connects to processor 110.
[0118] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0119] Electronic device 100 can implement display functions through a GPU, display screen 194, and application processor. 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 and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0120] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display driver IC (DDIC) and a display panel. In some embodiments, the display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194.
[0121] Electronic device 100 can realize camera function through camera module 193, ISP, video codec, GPU, display screen 194, application processor AP, neural network processor NPU, etc.
[0122] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0123] In some embodiments, the software system of the electronic device 100 may adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses a layered architecture of Android... TM Taking the system as an example, the software structure of electronic device 100 is illustrated.
[0124] For example, Figure 4 A software architecture block diagram of an electronic device is shown.
[0125] refer to Figure 4 A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, Android can be used... TM The system is divided into five layers, from top to bottom: application layer, application framework layer, Android runtime (ART) and native C / C++ libraries, hardware abstraction layer (HAL) and kernel layer.
[0126] The application layer can include a series of application packages.
[0127] The application package can include applications such as gallery, calendar, maps, WLAN, music, SMS, calling, navigation, Bluetooth, and video.
[0128] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0129] like Figure 4 As shown, the application framework layer may include a window manager, activity manager, input manager, resource manager, notification manager, view system, content provider, etc.
[0130] The window manager provides a window management service (WMS), which can be used for window management, window animation management, surface management, and as a relay station for the input system.
[0131] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, etc.
[0132] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0133] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0134] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0135] The Activity Manager Service (AMS) can be used to start, switch, and schedule system components (such as activities, services, content providers, and broadcast receivers), as well as manage and schedule application processes.
[0136] The input manager can provide an input management service (IMS), which can be used to manage system inputs, such as touchscreen input, keypad input, and sensor input. IMS retrieves events from input device nodes and, through interaction with the WMS, distributes these events to the appropriate windows.
[0137] The Android runtime consists of the core libraries and the Android runtime itself. The Android runtime is responsible for converting source code into machine code. The Android runtime primarily employs ahead-of-time (AOT) compilation and just-in-time (JIT) compilation techniques.
[0138] The core library primarily provides basic Java class library functionalities, such as libraries for fundamental data structures, mathematics, I / O, tools, databases, and networking. It also provides APIs for users to develop Android applications.
[0139] Native C / C++ libraries can include multiple functional modules. Examples include: surface manager, media framework, libc, OpenGL ES, SQLite, Webkit, etc.
[0140] The Surface Manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The Media Framework supports playback and recording of various common audio and video formats, as well as still image files. The Media Library supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. OpenGL ES provides drawing and manipulation of 2D and 3D graphics in applications. SQLite provides a lightweight relational database for applications on the electronic device.
[0141] The Hardware Abstraction Layer (HAL) runs in user space, encapsulates kernel-level drivers, and provides calling interfaces to higher layers. For example... Figure 4 As shown, the hardware abstraction layer can include display HAL, audio HAL, camera HAL, Bluetooth HAL, etc.
[0142] The kernel layer is the layer between hardware and software. The kernel layer includes at least the display driver, audio driver, camera driver, and Bluetooth driver.
[0143] The display method proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be noted that the display methods in the following embodiments can all be implemented in the electronic device 100 having the above-described hardware structure.
[0144] Figure 5 This is a schematic flowchart illustrating a display method according to an embodiment of this application. Figure 5 As shown in Figure (1), the display method provided in this application embodiment may include steps S501-S504. Alternatively, as... Figure 5 As shown in (2), the display method provided in this application embodiment may include steps S501 and S503.
[0145] S501, the electronic device determines the refresh rate of the second screen.
[0146] The second screen refresh rate is the screen refresh rate determined by the electronic device based on the target application scenario; that is, the screen refresh rate that needs to be switched to. In a specific embodiment, different screen refresh rates can be pre-configured according to refresh rate requirements for different application scenarios. Then, during operation, after detecting the target application scenario, the electronic device can obtain the screen refresh rate configured for that target application scenario, thereby obtaining the second screen refresh rate.
[0147] For example, in a video playback scenario, the electronic device can determine that the second screen refresh rate is 60Hz or 30Hz. In a scrolling scenario, the electronic device can determine that the second screen refresh rate is 120Hz. And in a static reading scenario, the electronic device can determine that the second screen refresh rate is 10Hz or 1Hz.
[0148] It should be noted that the identification of the target application scenario can be achieved using any existing method, and this application embodiment does not impose any limitations on it. For example, an electronic device can detect whether the user is currently performing a swipe operation through a touch sensor to determine whether it is a swipe scenario. As another example, an electronic device can determine whether the current foreground application is a video playback application by identifying the application type corresponding to the focused window, thereby determining whether it is a video playback scenario.
[0149] S502, the electronic device determines whether the refresh rate of the first screen is greater than the refresh rate of the second screen.
[0150] The first screen refresh rate is the screen refresh rate that the electronic device was using before the switch. By analyzing the relationship between the first and second screen refresh rates, the electronic device can determine whether to increase or decrease the refresh rate during the switch. Depending on the purpose, the electronic device can employ different switching strategies for increasing or decreasing the refresh rate.
[0151] In this embodiment of the application, if the refresh rate of the first screen is greater than the refresh rate of the second screen, the electronic device can determine that it is necessary to reduce the screen refresh rate, that is, to reduce the screen refresh speed, and the electronic device executes S503.
[0152] If the refresh rate of the first screen is lower than that of the target screen, the electronic device can determine that the screen refresh rate needs to be increased, that is, the screen refresh speed needs to be increased. Then the electronic device can execute S503 or S504.
[0153] S503, the electronic device switches the screen refresh rate to a transitional screen refresh rate, and then switches from the transitional screen refresh rate to a second screen refresh rate.
[0154] The transitional screen refresh rate is a newly added screen refresh rate used to achieve a transitional switching when implementing screen refresh rate switching in LongH mode in this application embodiment. The added transitional screen refresh rate is mainly used to reduce the difference in charging time between pixel rows, thereby improving the brightness flicker problem that occurs during the switching moment. Therefore, the transitional screen refresh rate in this application embodiment can be mainly determined based on the difference between the first screen refresh rate and the second screen refresh rate.
[0155] For example, the greater the difference between the first and second screen refresh rates, the more transition screen refresh rates can be used. Conversely, the smaller the difference, the fewer transition screen refresh rates can be used. Furthermore, regardless of the number of transition screen refresh rates, to ensure improved flickering during transitions, when the first screen refresh rate is greater than the second screen refresh rate, all transition screen refresh rates should be switched sequentially from the highest to the lowest, until the lowest transition screen refresh rate is used to switch to the second screen refresh rate.
[0156] Conversely, if the refresh rate of the first screen is lower than that of the second screen, then all the transition screen refresh rates need to be switched sequentially from the smallest to the largest, until the second screen refresh rate is switched from the largest transition screen refresh rate.
[0157] The following embodiments of this application mainly illustrate the case where the refresh rate of the first screen is greater than that of the second screen. The principle is the same for the case where the refresh rate of the first screen is less than that of the second screen; the only difference is that the order of the transition screen refresh rates is reversed, so it will not be described further.
[0158] Specifically, in the LongH scheme, because frequency modulation is achieved by time-stretching pixel rows, the scanning time and charging time of each row of pixels corresponding to different screen refresh rates are mainly determined by the HSYNC signal. Therefore, to reduce the difference in charging time between each row of pixels and ensure a reduction in brightness difference during switching, thus improving flicker issues, the electronic device can select at least one suitable transition screen refresh rate based on the timing difference between the HSYNC signals corresponding to the first screen refresh rate and the HSYNC signals corresponding to the second screen refresh rate. In general, the determination of the transition screen refresh rate is primarily aimed at improving the flicker phenomenon during switching in the Long scheme.
[0159] In a specific embodiment, if it is determined that it is necessary to switch from the first screen refresh rate of 120 Hz to the second screen refresh rate of 60 Hz, because the frequency difference between 120 Hz and 60 Hz is large, the pulse timing of the corresponding HSYNC signal is also significantly different. The pulse width HSPW of the HSYNC signal at 60 Hz is basically n = 2 times that of the HSYNC signal at 120 Hz.
[0160] For ease of description, the pulse width HSPW of the HSYNC signal corresponding to the first screen refresh rate will be referred to as the first pulse width, and the pulse width HSPW of the HSYNC signal corresponding to the second screen refresh rate will be referred to as the second pulse width.
[0161] That is, in this embodiment where the first screen refresh rate of 120 Hz is switched to the second screen refresh rate of 60 Hz, the second pulse width is essentially twice the first pulse width.
[0162] Correspondingly, the difference in pixel charging time between the first screen refresh rate of 120Hz and the second screen refresh rate of 60Hz is quite significant. Therefore, if switching directly from the first screen refresh rate of 120Hz to the second screen refresh rate of 60Hz, there will be a noticeable flickering problem at the moment of switching due to the brightness difference. Therefore, to improve the flickering problem during switching, electronic devices can add a suitable transition screen refresh rate between the first screen refresh rate of 120Hz and the second screen refresh rate of 60Hz.
[0163] The pulse width (HSPW) of the HSYNC signal corresponding to the increased transition screen refresh rate should be less than the second pulse width corresponding to the second screen refresh rate of 60Hz and greater than the first pulse width corresponding to the first screen refresh rate of 120Hz. Correspondingly, the signal periods of the pulse timing for data refresh and GOA scanning corresponding to the transition screen refresh rate should also be less than the signal period corresponding to the second screen refresh rate of 60Hz and greater than the signal period corresponding to the first screen refresh rate of 120Hz.
[0164] For example, electronic devices can add transitional screen refresh rates (transitional levels) such as 105Hz, 90Hz, and 75Hz between 120Hz and 60Hz. That is, the electronic device can first switch from the first screen refresh rate of 120Hz to the transitional screen refresh rate of 105Hz, then from 105Hz to 90Hz, from 90Hz to 75Hz, and finally from 75Hz to the second screen refresh rate of 60Hz.
[0165] Because the refresh rate difference between 120Hz and 105Hz is relatively small, the difference in pixel row charging time when switching from 120Hz to 105Hz is also small, resulting in a smaller brightness difference and consequently, minimal flicker during the switch. In other words, the flicker during the switch from 120Hz to 105Hz is imperceptible to the user. Similarly, flicker is minimal between 105Hz and 90Hz, 90Hz and 75Hz and 60Hz, effectively improving the flicker issue when switching from 120Hz to 60Hz in the Long solution.
[0166] For example, taking a first screen refresh rate of 120Hz and a second screen refresh rate of 60Hz as an example, Figure 6 A schematic diagram of the gradual frequency conversion switching process under the LongH scheme is shown.
[0167] like Figure 6 As shown, the transitional screen refresh rates of 105Hz, 90Hz, and 75Hz added between 120Hz and 60Hz all have HSYNC signal pulse widths that are greater than the pulse width of 120Hz but less than the pulse width of 60Hz. Furthermore, because switching from 120Hz to 60Hz involves frequency reduction, the transitional screen refresh rates are arranged from largest to smallest.
[0168] Correspondingly, the signal cycles for data refresh and GOA scanning timing corresponding to transitional screen refresh rates such as 105Hz, 90Hz, and 75Hz are also located between the signal cycles corresponding to 120Hz and 60Hz. This allows the switching process from 120Hz to 60Hz to be a gradual frequency conversion in the LongH solution, reducing device power consumption while improving flicker issues.
[0169] Specifically, the transition screen refresh rate (i.e., the intermediate gradient level) can be achieved by using the first screen refresh rate as the base frequency and configuring the corresponding HSYNC signal according to different time ratios, thereby setting the clock signal timing (CLK timing) for GOA scanning to complete the screen refresh by scanning line by line.
[0170] For example, taking the global clock (GCK) and external clock (ECK) signals of the GOA driver circuit as examples, at 120Hz, the periods of GCK and ECK in the CLK timing are a and b respectively, with a frame duration of 8.33ms. Therefore, in the LongH scheme, at 60Hz, the periods of GCK and ECK are 2a and 2b, with a frame duration of 8.33*2 = 16.66ms. Similarly, the periods of GCK and ECK corresponding to transitional screen refresh rates such as 105Hz, 90Hz, and 75Hz are (120 / 105)a, (120 / 105)b, (120 / 90)a, (120 / 75)a, and (120 / 75)b respectively.
[0171] For example, again taking a first screen refresh rate of 120Hz and a second screen refresh rate of 60Hz as an example, Figure 7 A schematic diagram of a brightness difference contrast curve is shown. Among them, Figure 7 (1) and (2) are a set of curve control groups, corresponding to the situation where the display brightness is inconsistent under different refresh rates. Figure 7 In Figures (3) and (4), there is a set of curve control groups, which correspond to the case where the display brightness is consistent under different refresh rates. That is, regardless of whether the display brightness is consistent under different refresh rates, there is a brightness flicker problem at the moment of refresh rate switching, and the method provided by the embodiments of this application can improve this flicker problem.
[0172] refer to Figure 7 , Figure 7 The curves shown in (1) and (3) represent the brightness difference curves when switching directly from the first screen refresh rate of 120 Hz to the second screen refresh rate of 60 Hz. Figure 7 The curves shown in (2) and (4) represent the brightness difference curves when the screen refresh rate of 120 Hz is gradually changed to the second screen refresh rate of 60 Hz. In this case, y1 < y2.
[0173] By comparison Figure 7 In (1) and (2), and by comparison Figure 7 As shown in (3) and (4), if the screen refresh rate is switched directly, the brightness difference at the moment of switching is the largest, and the flickering phenomenon will be clearly perceived by the user. However, if the screen refresh rate is switched gradually, although there are more switching times to the second screen refresh rate, the brightness difference can be spread out through multiple switching with smaller differences. The flickering at each moment of switching is imperceptible to the user. Therefore, when switching with larger differences, the device power consumption can be reduced while improving the flickering phenomenon and ensuring the user experience.
[0174] That is, by switching the screen refresh rate through the gradual frequency conversion switching method (i.e., transitional switching) in this embodiment of the application, the flickering problem that still exists in the Long solution can be effectively improved. In this way, while reducing the power consumption of the device, the flickering phenomenon that users can clearly perceive at the moment of switching can be avoided, thus ensuring the user experience.
[0175] It is understood that the first screen refresh rate of 120Hz and the second screen refresh rate of 60Hz described in the embodiments of this application are merely examples of embodiments of this application and do not constitute any limitation on the first and second screen refresh rates in the LongH scheme. For example, the first screen refresh rate can also be 144Hz, and the second screen refresh rate can also be 90Hz, 30Hz, etc. Similarly, the aforementioned transitional screen refresh rates such as 105Hz, 90Hz, and 75Hz are also examples of embodiments of this application and do not constitute any limitation on the transitional screen refresh rates. The specific transitional screen refresh rates are determined based on the actual first and second screen refresh rates.
[0176] For example, taking a first screen with a refresh rate of 120Hz, followed by a transition screen with a refresh rate of 105Hz, then 90Hz, and finally a second screen with a refresh rate of 60Hz as an example... Figure 8 A timing diagram of gradual frequency conversion switching under the LongH scheme is shown.
[0177] like Figure 8 As shown, the pulse width of each HSYNC signal at 120Hz is x. Therefore, the pulse width of the HSYNC signal at 60Hz is (120 / 60)x = 2x, and the same applies to other screen refresh rates. That is, the pulse width of each HSYNC signal at 105Hz is (120 / 105)x = 1.14x, while the pulse width of each HSYNC signal at 90Hz is (120 / 90)x = 1.33x.
[0178] Correspondingly, because different screen refresh rates have different HSYNC signals, meaning the scanning time for each row of pixels is different, the charging time for each pixel also differs at different screen refresh rates. (Reference) Figure 8 The timing diagram for scan lines G1-Gn shows that G1-Gn represent the scan signals from row 1 to row n. As the HSYNC signal lengthens, the scan signal length for each row also lengthens accordingly, i.e., L4 > L3 > L2 > L1. Also, refer to... Figure 8 As can be seen from the timing of the data, as the HSYNC signal lengthens, the pixel charging time is also lengthened.
[0179] In addition to the varying pixel row charging times affecting pixel brightness and color at different screen refresh rates, the gamma value also influences display brightness and color. Therefore, electronic devices can adjust display brightness by adjusting the gamma value. The data signal transmitted by the digital signal terminal Vdata in the aforementioned "8T1C" and "7T1C" drive circuits is generated based on the gamma value.
[0180] Therefore, to avoid affecting the performance of the Gamma value, if the LongH solution uses a transitional screen refresh rate to improve the flickering problem during switching, the electronic device also needs to adjust the Gamma value differently for different screen refresh rates. Furthermore, after determining the transitional screen refresh rate, the electronic device also needs to determine the corresponding Gamma value and set the corresponding Gamma value after switching screen refresh rates.
[0181] refer to Figure 8 The Gamma value at 120Hz is Gamma1, at 105Hz it's Gamma2, at 90Hz it's Gamma3, and at 60Hz it's Gamma4. In other words, at 120Hz, the data signal transmitted by the digital signal terminal Vdata in the driver circuit needs to be generated based on Gamma1, while at 105Hz it needs to be generated based on Gamma2. The same principle applies to other screen refresh rates, so further details are omitted.
[0182] It should be noted that the Gamma value at different screen refresh rates can be determined using any existing method, and this application embodiment does not impose any limitation on it. For example, it can be actually tuned or calculated and then configured into the electronic device.
[0183] In some embodiments, for each transition screen refresh rate, the refresh rate is not limited to only one frame. That is, for each transition screen refresh rate, there can be i ≥ 1 frame, where i is a positive integer. Furthermore, the i corresponding to each transition screen refresh rate can be the same or different.
[0184] For example, switching from a first screen refresh rate of 120Hz to a second screen refresh rate of 60Hz, the transition screen refresh rates of 105Hz and 75Hz correspond to refreshing i=3 frames, while the transition screen refresh rate of 90Hz corresponds to refreshing i=2 frames. Therefore, gradient frequency conversion can be considered as:
[0185] 120hz→105hz-105hz-105hz→90hz-90hz-90hz→75hz-75hz-75hz→60hz.
[0186] S504, the electronic device switches from the first screen refresh rate to the second screen refresh rate.
[0187] When the refresh rate of the first screen is lower than that of the second screen, because it's a ramp-up from a low refresh rate to a high refresh rate, and the screen refresh rate increases rapidly after switching to the high refresh rate, the frame interval decreases. Therefore, the flickering at the moment of switching from a low refresh rate to a high refresh rate is quickly covered by the second frame at the high refresh rate. In other words, as the screen refresh rate increases, the flickering becomes correspondingly shorter. In this case, the flickering issue perceived by the user at the moment of switching is not as noticeable as when switching from a high refresh rate to a low refresh rate, and the user may not even perceive any flickering at all.
[0188] Meanwhile, switching from a low refresh rate to a high refresh rate is usually due to the need to quickly improve smoothness and responsiveness in application scenarios. Therefore, if the screen refresh rate is increased, the smoothness and responsiveness may not be able to quickly reach the standard corresponding to the high refresh rate, thus affecting the user experience.
[0189] Therefore, when switching from a low refresh rate to a high refresh rate, such as switching from a 60Hz screen refresh rate to a 120Hz screen refresh rate, electronic devices can switch directly without needing to set an additional transition screen refresh rate for a gradual frequency conversion.
[0190] In other embodiments, because the LongV scheme can maintain the same screen refresh rate as the baseband, flicker-free transitions can occur. Therefore, to reduce device power consumption and minimize flickering, embodiments of this application may combine the LongH and LongV schemes.
[0191] Specifically, a higher screen refresh rate results in higher device power consumption, while a lower screen refresh rate results in lower device power consumption. Therefore, embodiments of this application can set a preset screen refresh rate based on actual power consumption requirements.
[0192] When the refresh rate of the second screen to be switched to is lower than the preset screen refresh rate, the electronic device can first switch from the first screen refresh rate to the preset screen refresh rate using the gradual frequency conversion method described above, according to the LongH scheme. Then, the electronic device uses the preset screen refresh rate as the base frequency and, according to the LongV scheme, uses a screen refresh rate consistent with the base frequency to directly switch from the preset screen refresh rate to the second screen refresh rate.
[0193] In one specific embodiment, the preset screen refresh rate can be set to 60Hz. 60Hz is a refresh rate that, based on product measurements, can balance power consumption and reduce flicker issues, as described in this application embodiment.
[0194] For example, Figure 9A and Figure 9B A schematic diagram of a frequency modulation scheme combining the LongH and LongV schemes is shown.
[0195] like Figure 9A and Figure 9B As shown, when changing from a sliding scene to a static scene, that is, when the screen refresh rate needs to switch from the first screen refresh rate of 120 Hz to the second screen refresh rate of 1 Hz, the electronic device can first follow the LongH scheme and gradually switch from 105 Hz, 90 Hz, 75 Hz to the preset screen refresh rate of 60 Hz.
[0196] Then, the electronic device, using the preset screen refresh rate of 60Hz as the base frequency, directly switches from the preset screen refresh rate of 60Hz to the second screen refresh rate of 1Hz according to the LongV scheme, such as... Figure 9A As shown.
[0197] Alternatively, gradual frequency switching can be achieved by increasing the transition screen refresh rate (i.e., the intermediate screen refresh rate). In other words, for preset screen refresh rates below 60Hz, LongV gradual frame switching can also be implemented. For example... Figure 9B As shown, intermediate screen refresh rates such as 30Hz and 10Hz are added between the preset screen refresh rate of 60Hz and the second screen refresh rate.
[0198] This is understandable, because the gradual transition is performed under LongV, so all refresh rates under the preset screen refresh rate of 60Hz are based on 60Hz as the base frequency. In other words, the HSYNC, GOA, and other timings for each refresh rate under the preset screen refresh rate of 60Hz are the same as at 60Hz, and LongV timings are implemented through porch interpolation. For example... Figure 9A and Figure 9B As shown, the refresh rate at 30Hz, 10Hz, and 1Hz is still completed within 16.67ms, and then a pulse is inserted to hold the refresh rate for the remaining time. For example, taking 1Hz as an example, a pulse is inserted to hold the refresh rate for the remaining time of 1000ms-16.67ms to accurately achieve the second screen refresh rate of 1Hz.
[0199] Thus, for the switching between the high-power 120Hz and 60Hz, using the LongH+ gradual frequency conversion method can reduce device power consumption while minimizing flicker. For the switching between the low-power 60Hz and 1Hz, the LongV solution's porch method is used, which consumes minimal power while completely eliminating flicker.
[0200] It should be noted that the preset screen refresh rate can be set to other values based on the actual product and requirements, and is not limited to 60Hz in the embodiments of this application. For example, the preset screen refresh rate can also be 30Hz, 45Hz, 90Hz, etc.
[0201] For example, taking the transition screen refresh rate corresponding to refreshing i=1 frames as an example, Figure 10 A schematic diagram of a gradual frequency conversion switching interface is shown. The following is combined with... Figure 10 The display method provided in the embodiments of this application will be described.
[0202] refer to Figure 10 At the first moment, the electronic device displays interface 1001 on the screen at a first screen refresh rate. Then, at the second moment after the first moment, if the electronic device detects a target application scenario, it first determines the screen refresh rate corresponding to the target application scenario, thereby obtaining a second screen refresh rate. Next, the electronic device switches from the first screen refresh rate to the second screen refresh rate by increasing the transition screen refresh rate.
[0203] The target application scenario electronic device can be determined based on the received first operation. This first operation can be a user action to switch application interfaces, such as switching applications or clicking to launch an application. Alternatively, it can be a user action to update the displayed content, such as a user swiping on the interface.
[0204] In some embodiments, if the first operation is a switching operation that triggers the electronic device to switch from the interface of the first application to the interface of the second application, then the target application scenario is the interface corresponding to the second application, and the second screen refresh rate is the screen refresh rate corresponding to the interface of the second application.
[0205] like Figure 10 As shown, the first application is a game application, and interface 1001 is the game match interface. The first screen refresh rate is the screen refresh rate corresponding to the game match scene, for example, the first screen refresh rate can be 120Hz. The second application is a video playback application, and interfaces 1002, 1003, and 1004 are video playback interfaces. Therefore, the second screen refresh rate is the screen refresh rate corresponding to the video playback scene, for example, the second screen refresh rate can be 60Hz or 30Hz.
[0206] However, in this embodiment, a suitable transition screen refresh rate is added. A gradual frequency conversion method is used to switch from the first screen refresh rate to the second screen refresh rate, thus improving the flickering problem during the switching process. Therefore, when i=1, the screen refresh rate corresponding to the first frame played by the electronic device is the transition screen refresh rate 1. That is, the screen refresh rate corresponding to interface 1002 is the transition screen refresh rate 1.
[0207] Similarly, the screen refresh rate corresponding to the second frame played by the electronic device is the transition screen refresh rate 2. That is, the screen refresh rate corresponding to interface 1003 is the transition screen refresh rate 2. It can be understood that when the first screen refresh rate is greater than the second screen refresh rate, the transition screen refresh rate 1 is greater than the transition screen refresh rate 2.
[0208] After each transition screen refresh rate corresponds to displaying i=1 frames, the electronic device will switch to the second screen refresh rate originally corresponding to the video playback scene. For example... Figure 10 As shown, after both transition screen refresh rates 1 and 2 display i=1 frames, the electronic device switches the screen refresh rate to the second screen refresh rate corresponding to the video playback scene in the third frame. That is, the screen refresh rate corresponding to interface 1004 is the second screen refresh rate.
[0209] In this way, when an electronic device needs to dynamically switch the screen refresh rate when switching from interface 1001 to interface 1002, compared to the electronic device directly displaying interface 1002 at the second screen refresh rate, the transitional screen refresh rate can reduce the display brightness difference between interface 1001 and interface 1002, thereby improving the flickering problem during the switching moment.
[0210] Next, another display method provided in the embodiments of this application will be described. This display method is also applied to electronic devices, and the description of the electronic devices can be found above. Figure 3 and Figure 4 The explanation is omitted here.
[0211] As can be seen from the previously described display method, the reason why there is a flickering problem when switching between the two screen refresh rates is due to the large difference in the scanning time and charging time of the corresponding pixel rows.
[0212] Furthermore, through actual testing and research, this application's embodiments have found that the flickering that occurs during the switching process is typically limited to the single frame during the switch. That is, the flickering issue only occurs when refreshing from the last frame at the first screen refresh rate to the first frame at the second screen refresh rate. In other words, after the screen refresh rate switch is complete, because the system will continue to operate stably at the new second screen refresh rate, the display brightness and color will remain consistent, and therefore the flickering issue will not reappear once the switch has stabilized.
[0213] Based on this, in addition to improving the flickering problem by increasing the transition screen refresh rate in the LongH scheme provided by the above display method, since the Gamma value also affects the display brightness of the screen, the embodiments of this application can also improve the flickering problem at the moment of switching by configuring a special Gamma value.
[0214] Specifically, because the flickering issue only exists within a single frame, electronic devices can configure a special Gamma value for each frame. That is, the electronic device can configure a special Gamma value for the first frame corresponding to the second screen refresh rate. Alternatively, this special Gamma value can be set for all frames from frame 1 to frame i. Then, after frame 1, or after frames 1 to i, the Gamma value corresponding to the original target refresh rate can be switched back.
[0215] In this way, the display brightness can be affected by the configured Gamma value, thereby mitigating the flickering problem when switching from the first screen refresh rate to the second screen refresh rate and ensuring a better user experience.
[0216] For example, Figure 11 A schematic diagram illustrating the principle of a display method provided in an embodiment of this application is shown.
[0217] Figure 11 Figure (1) shows a schematic diagram of the traditional Gamma value in the LongH scheme. Figure 11 Figure (2) shows a schematic diagram of dynamically configuring a special Gamma value in an embodiment of this application.
[0218] That is, in the traditional way, after switching from 120Hz to 60Hz, the Gamma value will switch from Gamma1 to Gamma4 corresponding to 60Hz. Therefore, the Gamma value for each frame at 60Hz will be Gamma4. However, according to the method provided in this application embodiment, after switching from 120Hz to 60Hz, the Gamma value will first be switched to a special Gamma value (preset Gamma value) configured for switching from 120Hz to 60Hz, such as... Figure 11The Gamma value is shown as 5. Then, after this frame ends, it switches from Gamma 5 to the original Gamma 4 corresponding to 60Hz. This reduces the brightness difference at the moment of switching by adjusting the Gamma value, thereby improving the flickering problem during switching and ensuring a better user experience.
[0219] For example, in conjunction with the hardware structure of electronic devices, Figure 12 A schematic diagram of the traditional dynamic switching of Gamma is shown. Figure 13 A schematic diagram of the dynamic switching of Gamma in an embodiment of this application is shown.
[0220] The following combination Figure 12 and Figure 13 The display method provided in the embodiments of this application will be described.
[0221] In traditional methods, the Gamma parameter is always tied to the screen refresh rate. Either different screen refresh rates share the same set of Gamma parameters, or different screen refresh rates correspond to different Gamma parameters. In other words, DDIC internally maintains a one-to-one correspondence between a given screen refresh rate and Gamma; that is, when switching to a certain screen refresh rate, DDIC will simultaneously call the corresponding built-in Gamma value.
[0222] like Figure 12 As shown, 120Hz corresponds to Gamma1, and 60Hz corresponds to Gamma4. Therefore, after the AP sends a command to the DDIC to switch from 120Hz to LongH 60Hz, the GOA timing parameter table will contain both 120Hz and 60Hz timing parameters. Then, under the 120Hz timing, the DDIC will retrieve the corresponding Gamma1 from the Gamma table based on the correspondence. After switching to 60Hz, under the 60Hz timing, the DDIC will retrieve the corresponding Gamma4 from the Gamma table based on the correspondence.
[0223] In this embodiment, to improve the flickering problem during switching, the Gamma value is dynamically switched within the second screen refresh rate. (See reference...) Figure 13The DDIC is configured with a logic controller. After receiving the command from the AP to switch from 120Hz to LongH 60Hz, the DDIC will call a special Gamma value built into the Gamma table in the next frame, specifically Gamma5. Then, in conjunction with the timing of 60Hz under the LongH scheme, the Gamma value will be dynamically switched to Gamma5 in the first 60Hz frame. After the first frame ends, for subsequent 60Hz frames, the DDIC will normally switch to the corresponding Gamma4 for 60Hz.
[0224] Understandable. Figure 13 The dynamic Gamma value switching shown is based on the first frame as an example. Depending on actual needs, it can also be set for multiple frames. That is, a setting logic controller is added internally to the DDIC. Upon receiving the refresh rate switching command, it performs real-time analysis and judgment of the timing for 60Hz under LongH, dynamically setting a special Gamma value for the first frame or from the first frame to the i-th frame. Figure 13 The special Gamma value shown (the default Gamma value) is Gamma5, which is used to improve the flickering problem during switching. After the first frame or after the first frame to the i-th frame, DDIC switches to the normal 60Hz Gamma4 in real time.
[0225] It should be noted that the aforementioned special Gamma values are all preset within the DDIC, suitable Gamma parameters for improving flicker, and can be determined in advance through optical measurement and tuning. Alternatively, the aforementioned special Gamma values can also be calculated and determined after actual debugging; this application embodiment does not impose any limitations on this.
[0226] Another embodiment of this application provides an electronic device, including: one or more displays, one or more processors, and a memory. The displays and the memory are coupled to the processors respectively; the memory stores one or more computer program codes, the computer program codes including computer instructions; when the processor executes the computer instructions, the electronic device implements the display method described in any of the above embodiments.
[0227] Another embodiment of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor in an electronic device, causes the electronic device to implement the display method described in any of the above embodiments.
[0228] This application also provides a computer program product that, when run on a computer, causes the computer to perform the various functions or steps described in the above method embodiments.
[0229] This application also provides a chip system, such as... Figure 14 As shown, the chip system 140 includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 are interconnected via lines. For example, the interface circuit 1402 can be used to receive signals from other devices (e.g., a computer's memory). As another example, the interface circuit 1402 can be used to send signals to other devices (e.g., the processor 1401).
[0230] For example, interface circuit 1402 can read instructions stored in memory and send those instructions to processor 1401. When the instructions are executed by processor 1401, the computer can perform the steps in the above embodiments. Of course, the chip system may also include other discrete devices, and this application embodiment does not specifically limit this.
[0231] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0232] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0233] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0234] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0235] If the function of the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0236] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A display method, characterized in that, Applied to an electronic device including a display screen, the method includes: The interface is displayed on the screen at a first screen refresh rate; A target application scenario was detected, and the target application scenario corresponds to the second screen refresh rate; When the second screen refresh rate is less than the first screen refresh rate, the screen refresh rate of the display is switched to a transition screen refresh rate, and then switched from the transition screen refresh rate to the second screen refresh rate. Wherein, the first pulse width of the horizontal synchronization signal corresponding to the first screen refresh rate is not equal to the second pulse width of the horizontal synchronization signal corresponding to the second screen refresh rate; the third pulse width of the horizontal synchronization signal corresponding to the transition screen refresh rate is greater than the first pulse width and less than the second pulse width.
2. The method according to claim 1, characterized in that, When the second screen refresh rate is lower than the first screen refresh rate, switching the screen refresh rate of the display to a transitional screen refresh rate, and then switching from the transitional screen refresh rate to the second screen refresh rate, includes: When the second screen refresh rate is less than the first screen refresh rate, and the second screen refresh rate is greater than or equal to the preset screen refresh rate, the screen refresh rate of the display is switched to a transition screen refresh rate, and then switched from the transition screen refresh rate to the second screen refresh rate. When the second screen refresh rate is less than the first screen refresh rate and less than the preset screen refresh rate, the screen refresh rate of the display is switched to the transition screen refresh rate, then switched to the preset screen refresh rate, and finally switched back to the second screen refresh rate. Specifically, the first pulse width is not equal to the fourth pulse width of the horizontal synchronization signal corresponding to the preset screen refresh rate, and the third pulse width is greater than the first pulse width and less than the fourth pulse width. The second pulse width is equal to the fourth pulse width. Furthermore, at the second screen refresh rate, after one frame is refreshed and displayed, the display continues for a first duration, which is the difference between the second and third durations. The second duration is the screen refresh duration corresponding to the preset screen refresh rate, and the third duration is the screen refresh duration corresponding to the second screen refresh rate.
3. The method according to claim 2, characterized in that, The step of switching from the preset screen refresh rate to the second screen refresh rate includes: The screen refresh rate can be directly switched from the preset screen refresh rate to the second screen refresh rate. or, The screen refresh rate is switched from the preset screen refresh rate to the intermediate screen refresh rate, and then from the intermediate screen refresh rate to the second screen refresh rate; the fifth pulse width of the horizontal synchronization signal corresponding to the intermediate screen refresh rate is equal to the second pulse width and the fourth pulse width.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: When the second screen refresh rate is greater than the first screen refresh rate, the screen refresh rate of the display is directly switched to the second screen refresh rate.
5. The method according to any one of claims 1-3, characterized in that, The method further includes: When the second screen refresh rate is greater than the first screen refresh rate, the screen refresh rate of the display is switched to a transition screen refresh rate, and then switched back to the second screen refresh rate; wherein the third pulse width is less than the first pulse width and greater than the second pulse width.
6. The method according to any one of claims 2-5, characterized in that, The transition screen refresh rate includes at least one; when the second screen refresh rate is less than the first screen refresh rate, the transition screen refresh rate is switched sequentially in descending order of the third pulse width, and the transition screen refresh rate with the smallest third pulse width is the screen refresh rate adjacent to the second screen refresh rate or the preset screen refresh rate.
7. The method according to any one of claims 2-6, characterized in that, The display screen corresponding to the transition screen refresh rate and / or the preset screen refresh rate includes i frames, where i is a positive integer.
8. The method according to any one of claims 2-7, characterized in that, The preset screen refresh rate is 60Hz.
9. A display method, characterized in that, Applied to an electronic device including a display screen, the method includes: The interface is displayed on the screen at a first screen refresh rate; A target application scenario was detected, and the target application scenario corresponds to the second screen refresh rate; When the second screen refresh rate is less than the first screen refresh rate, the screen refresh rate of the display is directly switched to the second screen refresh rate; wherein, the first pulse width of the horizontal synchronization signal corresponding to the first screen refresh rate is not equal to the second pulse width of the horizontal synchronization signal corresponding to the second screen refresh rate; At the second screen refresh rate, the gamma values corresponding to the displayed images from frame 1 to frame i are set as the target gamma value. After frame i, the gamma values are set as the gamma values corresponding to the second screen refresh rate. The target gamma value is determined based on the brightness difference between the first screen refresh rate and the second screen refresh rate. i ≥ 1, where i is a positive integer.
10. The method according to claim 9, characterized in that, The display screen includes a display driver chip and a display panel, and the display driver chip includes a logic controller; the method further includes: The logic controller retrieves the target gamma value from a preset gamma table and drives the display panel to set the gamma values corresponding to the displayed images from frame 1 to frame i to the target gamma value. After the i-th frame, the logic controller retrieves the gamma value corresponding to the second screen refresh rate from the preset gamma table and drives the display panel to set the gamma value to the gamma value corresponding to the second screen refresh rate.
11. An electronic device, characterized in that, include: One or more displays, one or more processors and a memory, wherein the displays and the memory are respectively coupled to the processor; The memory stores one or more computer program codes, the computer program codes including computer instructions; when the processor executes the computer instructions, the electronic device performs the display method as described in any one of claims 1-10.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor of the electronic device, the electronic device performs the display method as described in any one of claims 1-10.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor in an electronic device, the electronic device performs the display method as described in any one of claims 1-10.