Display method, electronic device, computer-readable storage medium and program product

By employing a combination of LongH and LongV modes in electronic devices and adjusting pixel scanning time and gamma value, the flickering problem during screen refresh rate switching was resolved, resulting in reduced power consumption and improved user experience.

WO2026066538A1PCT designated stage Publication Date: 2026-04-02HONOR DEVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

Existing technologies suffer from display flickering issues when switching screen refresh rates, which affects the user experience.

Method used

By employing LongH mode in electronic devices, the scanning time of each row of pixels is extended based on the actual screen refresh rate after switching. Combined with LongV mode for direct switching in upsampling scenarios, the pulse width and gamma value of the horizontal synchronization signal are adjusted using a porch method combining LongH+gradient frequency conversion and LongV scheme to alleviate flickering issues.

Benefits of technology

While reducing device power consumption, it improved the display flickering problem during screen refresh rate switching, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025108663_02042026_PF_FP_ABST
    Figure CN2025108663_02042026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of electronic devices. Provided are a display method, an electronic device, a computer-readable storage medium and a program product. The display method is applied to an electronic device comprising a display screen, and comprises: an electronic device displaying an interface on a display screen at a first screen refresh rate; the electronic device detecting a target application scenario, wherein the target application scenario corresponds to a second screen refresh rate; and when the second screen refresh rate is less than the first screen refresh rate, the electronic device switching the screen refresh rate of the display screen to a transition screen refresh rate, and switching from the transition screen refresh rate to the second screen refresh rate, wherein a first pulse width of a horizontal synchronization signal corresponding to the first screen refresh rate is not equal to a second pulse width of a horizontal synchronization signal corresponding to the second screen refresh rate, and a third pulse width of a horizontal synchronization signal corresponding to the transition screen refresh rate is greater than the first pulse width and less than the second pulse width. In this way, the power consumption of devices can be reduced, and the problem of display flickering at the moment when the screen refresh rate switches can be also be mitigated.
Need to check novelty before this filing date? Find Prior Art

Description

Display method, electronic device, computer-readable storage medium and program product

[0001] The present application claims priority to the Chinese patent application No. 202411398375.8, filed on September 30, 2024, and entitled "Display method, electronic device, computer-readable storage medium and program product", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the technical field of electronic devices, and in particular to a display method, an electronic device, a computer-readable storage medium and a program product. BACKGROUND

[0003] With the development of display screen technology, more and more electronic devices can support high refresh rate on the screen. However, the higher the screen refresh rate, the higher the device power consumption. Therefore, in order to balance the picture smoothness and power consumption requirements at the same time, the screen refresh rate will be dynamically switched based on different application scenarios. However, there is a display flicker problem at the moment of switching the screen refresh rate. SUMMARY

[0004] Embodiments of the present application provide a display method, an electronic device, a computer-readable storage medium and a program product, which are used to reduce device power consumption while improving the display flicker problem at the moment of switching the screen refresh rate.

[0005] To achieve the above-mentioned purpose, the embodiments of the present application adopt the following technical solutions:

[0006] In a first aspect, a display method is provided, applied to an electronic device including a display screen, the method comprising:

[0007] displaying an interface on the display screen 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 display screen to a transition screen refresh rate, and switching from the transition screen refresh rate to the second screen refresh rate; wherein a first pulse width of a horizontal synchronization signal corresponding to the first screen refresh rate is not equal to a second pulse width of a horizontal synchronization signal corresponding to the second screen refresh rate; a third pulse width of a horizontal synchronization signal corresponding to the transition screen refresh rate is greater than the first pulse width and less than the second pulse width.

[0008] In the implementation, the electronic device configures the horizontal synchronization signal for data refreshing according to the actual screen refresh rate, that is, in the case that 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 is not equal to the second pulse width, and the third pulse width is between the first pulse width and the second pulse width. That is, the picture refreshing speed decreases with the decrease of the screen refresh rate, so the power consumption of the electronic device decreases with the decrease of the screen refresh rate, thereby reducing the device power consumption during the dynamic switching of the screen refresh rate.

[0009] Further, the electronic device further increases at least one suitable transition screen refresh rate between the two screen refresh rates before and after the switching, so that the switching of the two screen refresh rates is transition switching, and the mutation problem of the screen refresh rate at the moment of the screen refresh rate switching can be relieved, thereby avoiding the flicker problem caused by the sudden mutation of the brightness difference.

[0010] In a possible implementation of the first aspect, when the second screen refresh rate is less than the first screen refresh rate, switching the screen refresh rate of the display screen to the transition screen refresh rate and from the transition screen refresh rate to the second screen refresh rate can include: 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, switching the screen refresh rate of the display screen to the transition screen refresh rate and 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 the second screen refresh rate is less than the preset screen refresh rate, switching the screen refresh rate of the display screen to the transition screen refresh rate and from the transition screen refresh rate to the preset screen refresh rate; wherein the first pulse width is not equal to a fourth pulse width of the horizontal synchronization signal corresponding to the preset screen refresh rate, 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 when switching from the preset screen refresh rate to the second screen refresh rate; and after a frame of picture refreshing display is completed, the display continues to maintain for a first time length under the second screen refresh rate, the first time length is the difference between a second time length and a third time length; the second time length is a picture refreshing time length corresponding to the preset screen refresh rate, and the third time length is a picture refreshing time length corresponding to the second screen refresh rate.

[0011] In the implementation, for the switching between high refresh rates with high power consumption, such as the switching between 120hz and 60hz, the frequency is adjusted by using the LongH+ gradual frequency conversion manner, so that the flicker problem can be improved as much as possible while reducing the device power consumption. For the switching between low refresh rates with low power consumption, such as the switching between 60hz and 1hz, the LongV scheme is used to insert the porch, so that the flicker can be completely avoided without consuming too much power.

[0012] In a possible implementation manner of the first aspect, switching from the preset screen refresh rate to the second screen refresh rate comprises: switching from the preset screen refresh rate to the second screen refresh rate directly; or switching from the preset screen refresh rate to an intermediate screen refresh rate, and switching from the intermediate screen refresh rate to the second screen refresh rate; a fifth pulse width of a horizontal synchronization signal corresponding to the intermediate screen refresh rate is equal to the second pulse width and the fourth pulse width. In this implementation manner, when switching between screen refresh rates with low power consumption, the gradual frequency conversion manner can also be used.

[0013] In a possible implementation manner of the first aspect, the display method further comprises: when the second screen refresh rate is greater than the first screen refresh rate, switching the screen refresh rate of the display screen to the second screen refresh rate directly.

[0014] In this implementation manner, when the first screen refresh rate is less than the second screen refresh rate, it indicates that the screen refresh rate is upgraded. In the upgrade scenario, because the picture refresh speed is rapidly improved, the frame interval is reduced, so that the flicker phenomenon in the switching moment is correspondingly short, and in this case, the flicker problem perceived by the user in the switching moment is not as obvious as when the high refresh rate is switched to the low refresh rate, and the user may not even perceive the flicker phenomenon. At the same time, the upgrade is usually because the application scenario needs to rapidly improve the fluency and response speed, so if the transition screen refresh rate is increased, the fluency and response speed cannot be rapidly improved to the standard corresponding to the high refresh rate, thereby affecting the user experience. Therefore, in the upgrade scenario, the transition screen refresh rate can not be increased, and the switching can be performed directly.

[0015] In another possible implementation manner of the first aspect, the display method further comprises: when the second screen refresh rate is greater than the first screen refresh rate, switching the screen refresh rate of the display screen to a transition screen refresh rate, and 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.

[0016] In a possible implementation manner of the first aspect, the transition screen refresh rate comprises at least one; when the second screen refresh rate is less than the first screen refresh rate, the transition screen refresh rates are switched in turn according to the third pulse widths from large to small, 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.

[0017] In this implementation manner, by setting multiple transition screen refresh rates to be switched in turn, the brightness difference can be distributed through multiple switching with small differences, so as to improve the flicker problem in the switching moment.

[0018] In a possible implementation manner of the first aspect, the display picture corresponding to the transition screen refresh rate and / or the preset screen refresh rate comprises an i-frame, i being a positive integer.

[0019] In a possible implementation manner of the first aspect, the preset screen refresh rate is 60 hz.

[0020] In a second aspect, the present application provides a display method applied to an electronic device comprising a display screen, the method comprising:

[0021] displaying an interface on the display screen 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 smaller than the first screen refresh rate, directly switching the screen refresh rate of the display screen to the second screen refresh rate; wherein a first pulse width of a horizontal synchronization signal corresponding to the first screen refresh rate is not equal to a second pulse width of a horizontal synchronization signal corresponding to the second screen refresh rate; under the second screen refresh rate, setting a gamma value corresponding to a first frame to an i-frame of a display picture to a target gamma value, and after the i-frame, setting the gamma value to a gamma value corresponding to the second screen refresh rate; wherein the target gamma value is determined based on a luminance difference between the first screen refresh rate and the second screen refresh rate; i is greater than or equal to 1, and i is a positive integer.

[0022] In this implementation manner, because the Gamma value can affect the display luminance of the screen, the flicker problem in the switching moment can be improved by configuring a special Gamma value in the first i frames under the second screen refresh rate.

[0023] In a possible implementation manner of the second aspect, the display screen comprises a display driving chip and a display panel, the display driving chip comprising a logic controller; the display method further comprises: the logic controller calling a target gamma value from a preset gamma table, and driving the display panel to set a gamma value corresponding to a first frame to an i-frame of a display picture to the target gamma value; after the i-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.

[0024] In a third aspect, the present application provides an electronic device, comprising: one or more display screens, one or more processors and a memory, the display screen and the memory being coupled with the processor respectively; the memory storing one or more computer program codes, the computer program codes comprising computer instructions; when the processor executes the computer instructions, the electronic device performs the following steps: displaying an interface on the display screen 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 display screen to a transition screen refresh rate, and switching from the transition screen refresh rate to the second screen refresh rate; wherein a first pulse width of a horizontal synchronization signal corresponding to the first screen refresh rate is not equal to a second pulse width of a horizontal synchronization signal corresponding to the second screen refresh rate; a third pulse width of a horizontal synchronization signal corresponding to the transition screen refresh rate is greater than the first pulse width and less than the second pulse width.

[0025] In a possible implementation manner of the third aspect, when the above 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, switching the screen refresh rate of the display screen to the transition screen refresh rate, and switching 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 the second screen refresh rate is less than the preset screen refresh rate, switching the screen refresh rate of the display screen to the transition screen refresh rate, and switching from the transition screen refresh rate to the preset screen refresh rate; wherein the first pulse width is not equal to a fourth pulse width of a horizontal synchronization signal corresponding to the preset screen refresh rate, 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 under the second screen refresh rate, after a frame of picture refresh display is completed, the display continues to maintain for a first time length, the first time length being a difference between a second time length and a third time length, the second time length being a picture refresh time length corresponding to the preset screen refresh rate, and the third time length being a picture refresh time length corresponding to the second screen refresh rate.

[0026] In a possible implementation manner of the third aspect, when the above computer instructions are executed by the processor, the electronic device further performs the following steps: when switching from the preset screen refresh rate to the second screen refresh rate, comprising: 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 switching from the intermediate screen refresh rate to the second screen refresh rate; a fifth pulse width of a horizontal synchronization signal corresponding to the intermediate screen refresh rate being equal to the second pulse width and the fourth pulse width.

[0027] In a possible implementation of the third aspect, when the computer instructions are executed by the processor, the electronic device further performs the following step: when the second screen refresh rate is greater than the first screen refresh rate, directly switching the screen refresh rate of the display screen to the second screen refresh rate.

[0028] In a possible implementation of the third aspect, when the computer instructions are executed by the processor, the electronic device further performs the following step: when the second screen refresh rate is greater than the first screen refresh rate, switching the screen refresh rate of the display screen to a transition screen refresh rate, and 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.

[0029] In a possible implementation of the third aspect, the transition screen refresh rate includes at least one; when the computer instructions are executed by the processor, the electronic device further performs the following step:

[0030] In a possible implementation of the third aspect, the transition screen refresh rate includes at least one; when the computer instructions are executed by the processor, the electronic device further performs the following step:

[0031] In a possible implementation of the third aspect, the transition screen refresh rate and / or the preset screen refresh rate correspond to a display picture including an i frame, i being a positive integer.

[0032] In a possible implementation of the third aspect, the preset screen refresh rate is 60 hz.

[0033] In a possible implementation of the third aspect, the preset screen refresh rate is 60 hz.

[0034] In a possible implementation of the third aspect, the preset screen refresh rate is 60 hz.

[0035] In a possible implementation manner of the fourth aspect, the display screen includes a display driving chip and a display panel, and the display driving chip includes a logic controller; when the computer instructions are executed by the processor, the electronic device further performs the following steps:

[0036] The logic controller calls a target gamma value from a preset gamma table, and drives 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 calls a 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.

[0037] In a fifth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. When the computer program is executed by a processor in an electronic device, the electronic device performs the display method in the first aspect and any possible implementation manner thereof, or when the computer program is executed by the processor in the electronic device, the electronic device performs the display method in the second aspect and any possible implementation manner thereof.

[0038] In a sixth aspect, a computer program product is provided. When the computer program product is run on a computer, the computer performs the display method in the first aspect and any possible implementation manner thereof, or when the computer program product is run on the computer, the computer performs the display method in the second aspect and any possible implementation manner thereof. The computer can be the electronic device described above.

[0039] In a seventh aspect, an embodiment of the present application provides a chip. The chip includes a processor configured to call a computer program in a memory to execute the display method in the first aspect and any possible implementation manner thereof.

[0040] Alternatively, the processor is configured to call a computer program in a memory to execute the display method in the second aspect and any possible implementation manner thereof.

[0041] It can be understood that the electronic device of the third aspect and any possible implementation manner thereof, the electronic device of the fourth aspect and any possible implementation manner thereof, 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 achieve the beneficial effects as described in the first aspect and any possible implementation manner thereof, which will not be described herein. BRIEF DESCRIPTION OF DRAWINGS

[0042] FIG. 1 is a schematic diagram of a pulse timing sequence of frequency reduction in a LongV mode according to an embodiment of the present application;

[0043] FIG. 2 is a timing diagram of a LongH mode pulse according to an embodiment of the present application;

[0044] FIG. 3 is a structural diagram of an electronic device according to an embodiment of the present application;

[0045] FIG. 4 is a software structure block diagram of an electronic device according to an embodiment of the present application;

[0046] FIG. 5 is a flow diagram of a display method according to an embodiment of the present application;

[0047] FIG. 6 is a process diagram of a gradual frequency conversion switching according to an embodiment of the present application;

[0048] FIG. 7 is a curve diagram of a luminance difference contrast according to an embodiment of the present application;

[0049] FIG. 8 is a timing diagram of a gradual frequency conversion switching according to an embodiment of the present application;

[0050] FIG. 9A and FIG. 9B are diagrams of a LongH scheme combined with a LongV scheme according to an embodiment of the present application;

[0051] FIG. 10 is an interface diagram of a gradual frequency conversion switching according to an embodiment of the present application;

[0052] FIG. 11 is a principle diagram of a display method according to an embodiment of the present application;

[0053] FIG. 12 is a flow diagram of a traditional dynamic switching Gamma according to an embodiment of the present application;

[0054] FIG. 13 is a flow diagram of a dynamic switching Gamma according to an embodiment of the present application;

[0055] FIG. 14 is a structural diagram of a chip system according to an embodiment of the present application. DETAILED DESCRIPTION

[0056] To facilitate the understanding and description of the scheme, the following first explains the professional terms involved in the embodiments of the present application.

[0057] Long horizontal (LongH) mode: the working time of the touch sensor is inserted into the period of the display frame picture. Specifically, the LongH mode divides a display frame picture period into n (usually n = 8) equal parts, and then inserts the working time of the touch sensor into the interval between the adjacent two equal parts.

[0058] Long Vertical (LongV) mode: a touch sensor driving is performed once after the end of a frame display to detect the touch signal. That is, the LongV mode arranges the touch time in a truly blank area of the display.

[0059] Frames per second (FPS): the number of times a display device updates the screen content per second, usually expressed in hertz (hz). For example, a screen refresh rate of 60hz means that the display device updates the screen content 60 times per second, and the picture refresh duration is 16.67ms, that is, the picture is refreshed every 16.67ms. A screen refresh rate of 120hz means that the display device updates the screen content 120 times per second, and the picture refresh duration is 8.33ms, that is, the picture is refreshed every 8.33ms. Therefore, the higher the screen refresh rate, the smoother the picture, but at the same time, the higher the device power consumption.

[0060] Horizontal synchronization (HSYNC) signal: also known as line synchronization signal, indicating the start of scanning a line, used to synchronize the scanning of each line of pixels. That is, when the HSYNC signal jumps, the display device will start scanning the next line of pixels.

[0061] Vertical synchronization (VSYNC) signal: also known as frame synchronization signal, indicating the start of scanning a frame, used to synchronize the signal to be displayed. That is, when the VSYNC signal jumps, the display device will start refreshing to display a new frame of picture.

[0062] Gate driver on array (GOA) signal: also known as gate signal, a signal used to control the switching state of transistors in the gate driver IC. In simple terms, the GOA signal can control the display device to scan line by line (including the reset, initialization, charging, light-emitting, etc. stages of the pixels) to display data.

[0063] That is, in a display device, each pixel can be controlled individually by a driving circuit, which can include multiple transistors T and a capacitor C. By controlling the switching state of multiple transistors, the control of the pixel can be achieved. By GOA signal, the switching time and sequence of multiple transistors T in the driving circuit can be controlled, thereby achieving accurate control of the brightness / color of the pixel. Currently, the commonly used driving circuit structures include "8T1C" and "7T1C". Among them, the number before T represents the number of transistors T, and C represents the capacitor.

[0064] The technical solutions of the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing the specific embodiments of the present application, and are not intended to limit the present application. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, if the same items or similar items with basically the same function and effect are distinguished by using "first", "second", etc. The person skilled in the art can understand that "first", "second", etc. do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different. In addition, in the description of the embodiments of the present application, unless otherwise specified, "a plurality of" means two or more.

[0065] With the development of display screen technology, more and more electronic devices can support high screen refresh rate. For example, for current liquid crystal display (LCD) and organic light-emitting diode (OLED) screens, screen refresh rates of 120hz, even 144hz, etc. can be supported.

[0066] However, the higher the screen refresh rate, the higher the device power consumption. Therefore, in order to balance the picture smoothness and power consumption requirements at the same time, the current electronic device will dynamically switch the screen refresh rate based on different application scenarios.

[0067] For example, when the user manually slides to flip the display content on the display screen, in order to ensure the response speed and the smoothness of the sliding, the screen refresh rate can be switched to a high refresh rate, such as 120Hz. When switching to a video playing scenario, in order to reduce the device power consumption while ensuring the smoothness of playing, the screen refresh rate can be switched to 60hz or 30hz. And in a static scenario, such as in a reading scenario, the screen refresh rate can be switched to be lower, such as 10hz or 1hz.

[0068] However, because the picture refresh speed corresponding to different screen refresh rates is different, the charging time of the pixels on the display panel under different screen refresh rates is different, which in turn causes the display brightness of the pixels to be different. That is, the faster the picture refresh speed, the shorter the charging time of each frame of picture, and the lower the display brightness of this frame of picture. Therefore, frequent switching between different screen refresh rates can easily cause flickering problems in the display brightness at the moment of switching.

[0069] For example, if the screen refresh rate is switched from 120hz to 60hz, the corresponding picture refresh speed will be reduced from 8.33ms to 16.67ms. That is, the last frame of the picture under 120hz is still refreshed at a speed of 8.33ms, while the first frame of the picture under 60hz is refreshed at a speed of 16.33ms. Correspondingly, because of the sudden reduction in picture refresh speed, the charging time of the pixel will be longer, and the display brightness of the pixel will be improved, so there will be a significant brightness difference when switching from 120hz to 60hz, and the brightness flicker problem will be easily caused.

[0070] In summary, because different screen refresh rates have different picture refresh speeds, the pixels correspondingly have different charging times. The length of the charging time has a certain impact on the display brightness, and the pixels will have different display brightnesses under different screen refresh rates. Therefore, the greater the difference between the two screen refresh rates before and after switching, the greater the brightness difference of the display brightness, and the more obvious the brightness flicker problem at the switching moment. Furthermore, if the application scenario frequently changes, causing the screen refresh rate to frequently switch dynamically, it means that the brightness flicker problem caused will occur more frequently, thereby affecting the user experience.

[0071] Therefore, if the screen refresh rate needs to be dynamically switched based on the application scenario, the most important thing is to ensure that there is no visible flicker during the switching process. That is, in order to ensure user experience, there should be no user-perceptible flicker problem during the switching of the screen refresh rate.

[0072] Currently, in order to solve the brightness flicker problem at the switching moment caused by the brightness difference due to the sudden change / mutation (such as sudden reduction) of the picture refresh speed when dynamically switching the screen refresh rate, a commonly used method is to use the highest frequency as the base frequency and then reduce the frequency in the LongV mode.

[0073] Specifically, all screen refresh rates are based on the highest screen refresh rate as the base frequency, and the picture refresh speed under all screen refresh rates is consistent with the base frequency. Correspondingly, the charging time of the data (i.e. pixel) and the scanning time are also consistent with the base frequency. In this way, even if the screen refresh rate is frequently dynamically switched based on the application scenario, the picture refresh speed will not change, and there will be no brightness difference at the switching moment of the screen refresh rate, so that the brightness flicker problem can be avoided during the switching moment.

[0074] In addition, because the picture refresh speed has been consistent with the highest screen refresh rate (base frequency), if the next frame of picture is refreshed immediately after each frame of picture is refreshed, the screen refresh rate will not change in essence, that is, the screen refresh rate has not been successfully switched.

[0075] Therefore, in order to ensure that a lower screen refresh rate than the base frequency can be achieved while the picture refresh speed remains unchanged, the existing technology will increase the blank maintenance time (increase time porch) after a frame of picture scanning is completed (i.e., a frame of picture is refreshed) according to the actual screen refresh rate after the switch, as needed. In this way, while ensuring that no brightness flicker problem occurs at the switching moment, a lower screen refresh rate can be achieved successfully.

[0076] For example, taking the highest screen refresh rate = 120hz and the target screen refresh rate after the switch (i.e., the second screen refresh rate) = 60hz as an example, FIG. 1 shows a LongV mode down frequency pulse timing diagram.

[0077] Referring to FIG. 1, because the highest screen refresh rate is 120hz, all screen refresh rates are based on 120hz. At 120hz, the time length for refreshing a frame of picture is 8.33ms. Therefore, when the screen refresh rate needs to be switched from the current screen refresh rate (i.e., the first screen refresh rate) 120hz to the second screen refresh rate 60hz, in the LongV mode, in order to avoid the problem of brightness flicker at the switching moment, after the screen refresh rate is switched to 60hz, the picture refresh speed at 60hz will still be consistent with the base frequency 120hz, that is, at 60hz, the refresh time length of each frame of picture is still 8.33ms.

[0078] For example, assuming that the resolution of the display device is 1200*2800, indicating that the display device has a total of 2800 rows of pixels, then at 120hz, the charging and scanning of the 2800 rows of pixels will be completed within 8.33ms. After the screen refresh rate is switched to 60hz, the electronic device will still complete the charging and scanning of the 2800 rows of pixels within 8.33ms.

[0079] Therefore, as shown in FIG. 1, the pulse timing of data refresh at 60hz is consistent with the pulse timing of data refresh at 120hz, indicating that at 60hz, the data will still be refreshed within 8.33ms as at 120hz, so at 60hz, the data refresh will be completed within the first 8.33ms of 16.67ms.

[0080] In this way, even if the screen refresh rate is switched from the high refresh rate 120hz to the low refresh rate 60hz, because the picture refresh speed does not change, the problem of obvious brightness difference at the switching moment can be avoided, thereby avoiding causing the problem of flicker of display brightness. At the same time, because the picture refresh speed does not change, the pulse timing of the HSYNC signal and the clock frequencies of various GOAs at 60hz are consistent with those at 120hz, as shown in FIG. 1.

[0081] However, unlike the refresh interval of the adjacent two frames of pictures = 8.33 ms at 120 Hz, the refresh interval of the previous frame of picture and the next frame of picture should be 16.67 ms at 60 Hz, so as to ensure that the screen refresh rate is successfully switched to work at 60 Hz. At 60 Hz, the picture refresh speed is increased to 8.33 ms, and the refresh interval of the adjacent two frames of pictures = 16.67 ms is still ensured by increasing the time porch.

[0082] As shown in FIG. 1, at 60 Hz, after the data refresh is completed, the screen pixels are still in the light-keeping state in the last 8.33 ms (i.e., the remaining 8.33 ms) of 16.67 ms, i.e., the time porch is increased, the picture continues to be displayed, and thus the total time required for refreshing one frame of picture is still 16.67 ms, so as to maintain the correspondence with 60 Hz and successfully implement the switching of the screen refresh rate.

[0083] As shown in FIG. 1, at 60 Hz, the screen state is data refresh in the first 8.33 ms of each frame, i.e., the screen is still in the data refresh state. The screen state is data keeping in the last 8.33 ms of each frame, because the data refresh is completed. Similarly, corresponding to the data keeping, the pulse timing of the data refresh at this time is blank, which represents that the data (i.e., the pixels) is in the keeping state and not in the refresh state.

[0084] That is, after the screen refresh rate is switched from the first screen refresh rate 120 Hz to the second screen refresh rate 60 Hz, the refresh speed consistent with the fundamental frequency 120 Hz is still maintained to complete the data refresh at the second screen refresh rate 60 Hz. Meanwhile, after the data refresh is completed, the porch is inserted to continue to light the pixels, so as to avoid the sudden change / mutation of the picture refresh speed in the process of switching the screen refresh rate, thereby avoiding the flicker problem of the display brightness at the switching moment.

[0085] The above frequency modulation scheme of inserting the porch after the frame after the data refresh is completed in the LongV mode at the highest screen refresh rate as the fundamental frequency, which can be simply referred to as the LongV scheme.

[0086] It can be understood that the switching of 120 Hz to 60 Hz shown in FIG. 1 is only an example of the embodiments of the present application, and does not constitute any limitation. At present, the switching of other screen refresh rates, such as 90 Hz, 30 Hz, etc., can also be implemented by the above LongV scheme.

[0087] For example, taking 90hz as an example, since the screen needs to be refreshed once every 11.11ms at 90hz. Then, after the screen refresh rate is switched to 90hz, the first 8.33ms of a frame of data refresh will be completed at 90hz within 11.11ms, and then the porch will be inserted after the frame to achieve 90hz, that is, the porch will be inserted within the remaining 2.78ms to keep the screen pixels in the light-keeping state.

[0088] In summary, the LongV scheme described above can ensure that the state of the pixels is basically consistent at different refresh rates, so that dynamic switching between different screen refresh rates can avoid the problem of brightness flicker at the switching moment, that is, there is no brightness flicker or the brightness flicker is so slight that the user does not feel it.

[0089] However, the LongV scheme has the disadvantage that the charging time and scanning time of the pixels remain consistent with the base frequency, that is, although the screen refresh rate is switched to 90hz / 60hz / 30hz, the actual device is still refreshing the picture at the speed of the base frequency 120hz, and the base frequency is usually the highest screen refresh rate that the display device can support. This will result in the screen refresh rate not being reduced in power consumption even if it is switched from a high refresh rate to a low refresh rate, so that the device is always in a state of relatively high power consumption.

[0090] Therefore, in order to reduce the power consumption of the device and improve the brightness flicker problem caused by the screen refresh rate switching moment, the present application provides a display method. The display method provided by the present application can be applied to an electronic device.

[0091] Unlike the LongV scheme described above, the display method provided by the present application is mainly implemented in the LongH mode. The electronic device performs dynamic switching of the screen refresh rate in the LongH mode, which is mainly based on the actual switched screen refresh rate and time stretching on the pixel row. In order to distinguish from the LongV scheme described above, this frequency modulation scheme of time stretching on each pixel row can be referred to as the LongH scheme.

[0092] The LongH scheme of time stretching on each pixel row described above specifically refers to changing the scanning time of each row of pixels based on the actual switched screen refresh rate. That is, in the LongH scheme, the electronic device changes the scanning time of each row of pixels based on the actual second screen refresh rate after the screen refresh rate is switched, so the state of each row of pixels is basically n times the base frequency.

[0093] For example, assuming the base frequency = 120hz, then n = 120 / the actual second screen refresh rate after switching. That is, if the actual second screen refresh rate after switching = 60hz, then n = 120 / 60 = 2. And if the actual second screen refresh rate after switching = 90hz, then n = 120 / 90 = 1.33.

[0094] Therefore, it can be seen that the traditional LongV scheme is mainly in units of frames, and the screen refresh rate is adjusted by increasing the frame refresh rate and inserting a porch after the frame. The LongH scheme adopted in the embodiments of the present application is in units of pixel rows, and the frequency is adjusted by changing the scanning time of the pixel row. For example, from high refresh rate to low refresh rate, because the picture refresh rate is reduced, the charging time and scanning time of each row of pixels can be lengthened.

[0095] For example, also taking the switching from high refresh rate 120hz to low refresh rate 60hz as an example, FIG. 2 shows a pulse timing diagram of the LongH mode frequency reduction.

[0096] Referring to FIG. 2, because the data refresh is performed at intervals of 8.33ms under 120hz, before switching, the pulse timing of the VSYNC signal, the HSYNC signal and the data refresh under 120hz is set according to 8.33ms per frame.

[0097] After switching, because the data refresh is performed at intervals of 16.67ms under 60hz, and the LongH scheme is to extend the time in units of pixel rows, it will not continue to perform data refresh according to 8.33ms corresponding to 120hz under 60hz as in the LongV scheme, but will directly perform data refresh according to 16.67ms corresponding to 60hz. That is, in the LongV scheme, the time required for each frame picture refresh under 60hz is 16.67ms. Therefore, as shown in FIG. 2, the pulse timing of the VSYNC signal, the HSYNC signal, the data refresh and the GOA scanning under 60hz is set according to 16.67ms per frame.

[0098] By comparing FIG. 1 and FIG. 2, it can be seen that because the LongV scheme increases the frame refresh rate and inserts a porch after the frame, the scanning time of the pixel row under different screen refresh rates is the same, so the pulse timing of the HSYNC signal corresponding to different screen refresh rates in the LongV scheme is the same, as shown in FIG. 1. In the LongH scheme, because the scanning time of the pixel row is adjusted to realize the switching of the screen refresh rate, the HSYNC signal corresponding to different screen refresh rates is not the same.

[0099] As shown in FIG. 2, in the LongH scheme, because the picture refresh rate of 120 hz is faster than that of 60 hz, if time stretching is performed on the pixel rows, the scanning time of each row of pixels at 120 hz will be shorter than that at 60 hz, and correspondingly, the pulse width of the HSYNC signal at 120 hz will be obviously narrower than that at 60 hz. That is, the pulse width of the HSYNC signal at 120 hz is n = 120 / 60 = 2 times that at 60 hz.

[0100] In the formula, the pulse width of the HSYNC signal (HSPW) is the width of the HSYNC signal, that is, the duration of the HSYNC signal. Because the level of the HSYNC signal needs to be maintained for a certain time when the HSYNC signal is valid, the unit is CLK. In some embodiments, the HSPW is also referred to as thp.

[0101] Because the pulse timing of the HSYNC signal changes, the signal interval (signal gap / signal period) of the pulse timing of the data refresh and the GOA scanning corresponding to the HSYNC signal at 60 hz will be longer than that at 120 hz.

[0102] In this way, because the LongH scheme is to switch the screen refresh rate, the electronic device performs data refresh according to the actual screen refresh rate, at this time, the picture refresh rate is reduced, and the power consumption of the electronic device is reduced along with the reduction of the screen refresh rate. However, because the LongH scheme changes the scanning time of the pixel row to switch the screen refresh rate, the scanning time of each row of pixels at different screen refresh rates is different. Correspondingly, in the LongH scheme, the charging time of the pixel row at different screen refresh rates is also different. Therefore, in the LongH scheme, although the power consumption of the electronic device is reduced, the brightness difference at the switching moment still exists, and the brightness flicker problem caused thereby still exists. Moreover, the greater the difference between the two screen refresh rates before and after the switching, the more obvious the brightness flicker phenomenon is in theory.

[0103] For example, the brightness difference at the moment of switching from 120 hz to 60 hz will be greater than that at the moment of switching from 120 hz to 90 hz, and the user is more likely to perceive the brightness flicker problem when switching to 60 hz.

[0104] Further, in order to improve the brightness flicker problem still existing in the LongH scheme while reducing the power consumption of the electronic device, in the embodiments of the present application, the electronic device further increases at least one appropriate transition screen refresh rate between the two screen refresh rates before and after the screen refresh rate switching based on the LongH scheme, so that the switching of the two screen refresh rates is a transition switching (gradual frequency conversion switching).

[0105] In this way, because the appropriate transition screen refresh rate is added, the mutation problem of the screen refresh rate at the moment of switching can be alleviated, so that the flicker problem caused by the sudden change of brightness difference is avoided. That is, the embodiments of the present application mask the obvious brightness difference by the switching mode of brightness transition, thereby improving the brightness flicker problem caused by the switching moment, to ensure that the user cannot perceive it and improve the user experience.

[0106] The electronic device can include at least one of a mobile phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, or a smart city device. The embodiments of the present application do not specially limit the specific type of the electronic device.

[0107] For example, FIG. 3 shows a structural schematic diagram of an electronic device.

[0108] Referring to FIG. 3, the electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) terminal 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, a sensor module 180, a key 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 can include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

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

[0110] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units can be independent devices, or can be integrated in one or more processors. The processor 110 can generate operation control signals according to instruction operation codes and timing signals, complete the control of fetching instructions and executing instructions.

[0111] In the embodiments of the present 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 the second screen refresh rate matched with the current target application scenario.

[0112] Further, the processor 110 can also determine the transition screen refresh rate and configure the corresponding HSYNC signal based on the difference between the first screen refresh rate and the second screen refresh rate, so as to correspondingly set the pulse timing of the GOA scan to achieve line-by-line scanning to complete screen refresh, so as to improve the flicker problem at the switching moment.

[0113] The processor 110 can also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 can be a cache memory. The memory can store instructions or data that are frequently used or used by the processor 110. If the processor 110 needs to use the instructions or data, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the system.

[0114] In some embodiments, the processor 110 can include one or more interfaces. The interface can 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 modules such as a touch sensor, an audio module, a wireless communication module, a display screen, a camera module, etc. through at least one of the above interfaces.

[0115] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the electronic device 100. In other embodiments of the present application, the electronic device 100 can also use different interface connection methods or combinations of multiple interface connection methods in the above embodiments.

[0116] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to extend the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are saved in the external memory card. Or files such as music and videos are transmitted from the electronic device to the external memory card.

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

[0118] The USB terminal 130 is an interface that conforms to the USB standard specification, and can be used to connect the electronic device 100 and a peripheral device. Specifically, the USB terminal 130 can be a Mini USB terminal, a Micro USB terminal, a USB Type C terminal, and the like. The charging management module 140 is used to receive charging input from a charger. The power management module 141 is used to connect the battery 142, and the charging management module 140 is connected to the processor 110.

[0119] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, and a baseband processor, and the like.

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

[0121] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display driver IC (DDIC) and a display panel. In some embodiments, the display panel can be an LCD (Liquid Crystal Display), an OLED (Organic Light Emitting Diode), an AMOLED (Active-Matrix Organic Light Emitting Diode), a FLED (Flex Light-Emitting Diode), a Miniled, a MicroLed, a Micro-oLed, a QLED (Quantum Dot Light Emitting Diodes), and the like. In some embodiments, the electronic device 100 can include one or more display screens 194.

[0122] The electronic device 100 can implement a camera function through the camera module 193, an ISP, a video codec, a GPU, the display screen 194, and an application processor (AP) and a neural network processing unit (NPU).

[0123] The electronic device 100 can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and an application processor. For example, music playing, recording, and the like.

[0124] In some embodiments, the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiments of the present application exemplarily illustrate the software structure of the electronic device 100 by taking the Android system with a layered architecture as an example. TM

[0125] Exemplarily, FIG. 4 shows a software structure block diagram of an electronic device.

[0126] Referring to FIG. 4, the layered architecture can divide the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system can be divided into five layers, from top to bottom, an application layer, an application framework layer, an Android runtime (ART) and a native C / C++ library, a hardware abstract layer (HAL), and a kernel layer. TM

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

[0128] ​​The application package can include gallery, calendar, map, WLAN, music, SMS, call, navigation, Bluetooth, video, etc. application programs.

[0129] The application framework layer provides application programming interface (API) and programming framework for the application programs of the application layer. The application framework layer includes some pre-defined functions.

[0130] As shown in FIG. 4, the application framework layer can include window manager, activity manager, input manager, resource manager, notification manager, view system, content provider, etc.

[0131] The window manager provides window manager service (WMS), which can be used for window management, window animation management, surface management, and as a relay station of input system.

[0132] The content provider is used to store and obtain data, and make the data accessible by the application programs. The data can include video, image, audio, dialed and received calls, browsing history and bookmarks, phonebook, etc.

[0133] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build application programs. A display interface can be composed of one or more views. For example, a display interface including SMS notification icon can include view for displaying text and view for displaying pictures.

[0134] The resource manager provides various resources for the application programs, such as localized strings, icons, pictures, layout files, video files, etc.

[0135] The notification manager makes the application programs display notification information in the status bar, which can be used to convey notification type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminder, etc. The notification manager can also be a notification in the form of chart or scrolling text appearing in the top status bar of the system, such as notification of background running application, and can also be a notification in the form of dialog window appearing on the screen. For example, prompting text information in the status bar, issuing prompt sound, electronic device vibration, indicator light blinking, etc.

[0136] The activity manager can provide activity manager service (AMS), which can be used for starting, switching, scheduling of system components (such as activity, service, content provider, broadcast receiver), and management and scheduling of application processes.

[0137] The input manager can provide an input manager service (IMS), which can be used to manage the input of the system, such as touch screen input, key input, sensor input, etc. The IMS takes events from input device nodes and distributes them to the appropriate windows through interaction with the WMS.

[0138] The Android runtime includes a core library and an Android runtime. The Android runtime is responsible for converting source code into machine code. The Android runtime mainly includes an ahead of time (AOT) compilation technique and a just in time (JIT) compilation technique.

[0139] The core library is mainly used to provide the functions of the basic Java class library, such as basic data structures, mathematics, IO, tools, databases, network libraries, etc. The core library provides APIs for users to develop Android applications.

[0140] The native C / C++ library can include a plurality of functional modules. For example: a surface manager, a media framework, libc, OpenGL ES, SQLite, Webkit, etc.

[0141] The surface manager is used to manage the display subsystem and provides fusion of 2D and 3D layers for a plurality of applications. The media framework supports playback and recording of a plurality of commonly used audio, video formats, and static image files, etc. The media library can support a plurality of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. OpenGL ES provides drawing and operation of 2D graphics and 3D graphics in an application. SQLite provides a lightweight relational database for applications of the electronic device 100.

[0142] The hardware abstraction layer runs in the user space and encapsulates the kernel layer driver to provide a calling interface to the upper layer. As shown in FIG. 4, the hardware abstraction layer can include a display HAL, an audio HAL, a camera HAL, a Bluetooth HAL, etc.

[0143] The kernel layer is a layer between hardware and software. The kernel layer at least contains a display driver, an audio driver, a camera driver, a Bluetooth driver.

[0144] The display method proposed in the embodiments of the present 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 with the above hardware structure.

[0145] FIG. 5 is a flow diagram illustrating a display method according to an embodiment of the present application. As shown in (1) of FIG. 5, the display method according to an embodiment of the present application can include steps S501-S504. Alternatively, as shown in (2) of FIG. 5, the display method according to an embodiment of the present application can include steps S501 and S503.

[0146] S501, the electronic device determines a second screen refresh rate.

[0147] The second screen refresh rate is a screen refresh rate determined by the electronic device according to a target application scenario, that is, a screen refresh rate currently required to be switched. In one specific embodiment, different screen refresh rates can be configured in advance according to the refresh rate requirements for different application scenarios. Then, the electronic device can obtain the screen refresh rate configured for the target application scenario after detecting the target application scenario during the running process, so as to obtain the second screen refresh rate.

[0148] For example, in a video playing scenario, the electronic device can determine the second screen refresh rate to be 60Hz or 30Hz. For another example, in a sliding scenario, the electronic device can determine the second screen refresh rate to be 120Hz. For yet another example, in a static reading scenario, the electronic device can determine the second screen refresh rate to be 10Hz or 1Hz.

[0149] It should be noted that the identification of the target application scenario can be implemented in any existing manner, and the embodiments of the present application do not make any limitation in this regard. For example, the electronic device can detect whether the user currently has a sliding operation through a touch sensor, so as to determine whether it is a sliding scenario. For another example, the electronic device can determine whether the current foreground application is a video playing application through the application type corresponding to the focus window, so as to determine whether it is a video playing scenario.

[0150] S502, the electronic device determines whether the first screen refresh rate is greater than the second screen refresh rate.

[0151] The first screen refresh rate is a screen refresh rate being used by the electronic device before switching. Through the size relationship between the first screen refresh rate and the second screen refresh rate, the electronic device can determine whether the current refresh rate switching is frequency increasing or frequency decreasing. For frequency increasing and frequency decreasing, the electronic device can adopt different switching strategies based on different purposes.

[0152] In the embodiments of the present application, if the first screen refresh rate is greater than the second screen refresh rate, the electronic device can determine that it is required to decrease the screen refresh rate at this time, that is, to reduce the picture refresh speed, and the electronic device performs S503.

[0153] If the first screen refresh rate is less than the target screen refresh rate, the electronic device can determine that the screen refresh rate needs to be increased, that is, the picture refresh speed needs to be improved, and then the electronic device can perform S503 or S504.

[0154] S503, the electronic device switches the screen refresh rate to a transition screen refresh rate, and switches from the transition screen refresh rate to the second screen refresh rate.

[0155] The transition screen refresh rate is a newly added screen refresh rate for implementing transition switching when the electronic device implements screen refresh rate switching in the LongH mode. The added transition screen refresh rate is mainly used to reduce the difference in charging time between pixel rows, so as to improve the problem of brightness flicker in the switching moment. Therefore, the transition screen refresh rate in the present application can be mainly determined based on the difference between the first screen refresh rate and the second screen refresh rate.

[0156] For example, the greater the difference between the first screen refresh rate and the second screen refresh rate, the more the number of transition screen refresh rates can be. The smaller the difference between the first screen refresh rate and the second screen refresh rate, the fewer the number of transition screen refresh rates can be. And no matter how many or few the number of transition screen refresh rates is, in order to ensure that the flicker problem in the switching moment can be improved, in the case where the first screen refresh rate is greater than the second screen refresh rate, all transition screen refresh rates should be switched in order from large to small, until the second screen refresh rate is switched from the smallest transition screen refresh rate.

[0157] On the contrary, in the case where the first screen refresh rate is less than the second screen refresh rate, all transition screen refresh rates need to be switched in order from small to large, until the second screen refresh rate is switched from the largest transition screen refresh rate.

[0158] Hereinafter, the present application will mainly be described taking the case where the first screen refresh rate is greater than the second screen refresh rate as an example. For the case where the first screen refresh rate is less than the second screen refresh rate, the principle is the same, and the only difference is that the order of the transition screen refresh rate is reversed, so it will not be described again.

[0159] Specifically, in the LongH scheme, because the frequency modulation is realized by time extension on the pixel row, the scanning time and the charging time of each row of pixels corresponding to different screen refresh rates are mainly determined by the HSYNC signal. Therefore, in order to reduce the time difference of the charging time of each row of pixels and ensure the reduction of the brightness difference at the switching moment and the improvement of the flicker problem, the electronic device can select a suitable at least one transition screen refresh rate according to the time sequence difference between the HSYNC signal corresponding to the first screen refresh rate and the HSYNC signal corresponding to the second screen refresh rate. In general, the determination of the transition screen refresh rate is mainly aimed at improving the flicker phenomenon at the switching moment in the Long scheme.

[0160] In a specific embodiment, if it is currently determined that it is necessary to switch from the first screen refresh rate 120hz to the second screen refresh rate 60hz, because the frequency difference between 120hz and 60hz is large, the pulse time sequence difference of the corresponding HSYNC signal is relatively large, and the pulse width HSPW of the HSYNC signal under 60hz is basically n=2 times the pulse width HSPW of the HSYNC signal under 120hz.

[0161] For the convenience of scheme 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.

[0162] That is, in this embodiment in which the first screen refresh rate 120hz is switched to the second screen refresh rate 60hz, the second pulse width is basically 2 times the first pulse width.

[0163] Correspondingly, the charging time difference of the pixel row under the first screen refresh rate 120hz and the second screen refresh rate 60hz will be relatively large, so if it is directly switched from the first screen refresh rate 120hz to the second screen refresh rate 60hz, there will be a very obvious flicker problem due to the brightness difference at the switching moment. Further, in order to improve the flicker problem at the switching moment, the electronic device can increase a suitable transition screen refresh rate between the first screen refresh rate 120hz and the second screen refresh rate 60hz.

[0164] The pulse width HSPW of the HSYNC signal corresponding to the added transition screen refresh rate should be less than the second pulse width corresponding to the second screen refresh rate 60hz and greater than the first pulse width corresponding to the first screen refresh rate 120hz. Correspondingly, the signal period of the pulse time sequence of the data refresh and the GOA scanning corresponding to the transition screen refresh rate is also less than the signal period corresponding to the second screen refresh rate 60hz and greater than the signal period corresponding to the first screen refresh rate 120hz.

[0165] For example, the electronic device can increase the transition screen refresh rates (transition gears) of 105hz, 90hz, 75hz, etc. between 120hz and 60hz. That is, the electronic device can first switch from the first screen refresh rate 120hz to the transition screen refresh rate 105hz, then from the transition screen refresh rate 105hz to the transition screen refresh rate 90hz, from the transition screen refresh rate 90hz to the transition screen refresh rate 75hz, and finally from the transition screen refresh rate 75hz to the second screen refresh rate 60hz.

[0166] In this way, because the frequency difference between the screen refresh rates of 120hz and 105hz is small, the time difference of the pixel row charging duration is small when switching from 120hz to 105hz, the natural brightness difference is small, and the brightness flicker corresponding to the switching moment is also small. That is, the flicker at the moment of switching from 120hz to 105hz cannot be perceived by the user. Similarly, the flicker between 105hz and 90hz, 90hz and 75hz, and 75hz and 60hz is also small, so the flicker problem when switching from 120hz to 60hz under the Long scheme can be effectively improved.

[0167] For example, taking the first screen refresh rate = 120hz and the second screen refresh rate = 60hz as an example, FIG. 6 shows a process diagram of the gradual frequency conversion switching under the LongH scheme.

[0168] As shown in FIG. 6, the transition screen refresh rates of 105hz, 90hz, 75hz, etc. added between 120hz and 60hz have a pulse width of the corresponding HSYNC signal that is greater than the pulse width of 120hz and less than the pulse width of 60hz. Moreover, because the switching from 120hz to 60hz is a frequency reduction, the transition screen refresh rates are arranged from large to small.

[0169] Correspondingly, the signal periods of the timing of the data refresh and the GOA scan corresponding to the transition screen refresh rates of 105hz, 90hz, 75hz, etc. are also between the signal periods corresponding to 120hz and 60hz. In this way, the switching process of 120hz to 60hz can be gradually frequency-converted in the LongH scheme, reducing the power consumption of the device while improving the flicker problem.

[0170] Specifically, the transition screen refresh rates (i.e., the intermediate gradual gears) can configure the corresponding HSYNC signals according to different time ratios based on the first screen refresh rate as the base frequency, so as to correspondingly set the clock signal timing (CLK timing) of the GOA scan to achieve the line-by-line scanning to complete the picture refresh.

[0171] For example, taking the global clock signal (GCK) and the external clock signal (ECK) of the GOA driving circuit as an example, the periods of GCK and ECK in the CLK timing under 120hz are a and b respectively, and the time length of a frame corresponds to 8.33ms. Then, the periods of GCK and ECK corresponding to 60hz in the LongH scheme are 2a and 2b, and the time length of a frame corresponds to 8.33*2=16.66ms. Similarly, the periods of GCK and ECK corresponding to 105hz, 90hz, 75hz, etc. are (120 / 105)a, (120 / 105)b, (120 / 90)a, (120 / 75)a, and (120 / 75)b, respectively.

[0172] For example, taking the first screen refresh rate 120hz and the second screen refresh rate 60hz as an example, FIG. 7 shows a curve diagram of a luminance difference contrast. In FIG. 7, (1) and (2) are a set of curve comparison groups, corresponding to different refresh rates under which the display luminance is inconsistent. (3) and (4) are a set of curve comparison groups, corresponding to different refresh rates under which the display luminance is consistent. That is, whether the display luminance is consistent or not under different refresh rates, there is a luminance flicker problem at the moment of refresh rate switching, and the flicker problem can be improved by the method provided in the embodiments of the present application.

[0173] Referring to FIG. 7, the curves shown in (1) and (3) of FIG. 7 are the luminance difference curves when the first screen refresh rate 120hz is directly switched to the second screen refresh rate 60hz. The curves shown in (2) and (4) of FIG. 7 are the luminance difference curves when the first screen refresh rate 120hz is switched to the second screen refresh rate 60hz through the gradual frequency conversion method. In which, y1

[0174] By comparing (1) and (2) in FIG. 7, and by comparing (3) and (4) in FIG. 7, it can be seen that if the screen refresh rate is directly switched, the luminance difference at the moment of switching is the largest, and at this time the flicker phenomenon will be obviously perceived by the user. If the screen refresh rate is switched in a transition manner, although the switching times to the second screen refresh rate are more, the luminance difference can be distributed by multiple small differences, and the user cannot perceive the flicker at the moment of each switching, so that when the difference is large, the flicker phenomenon can be improved while reducing the power consumption of the device, and the user experience is ensured.

[0175] That is, by using the gradual frequency conversion switching method (i.e., transition switching) in the embodiments of the present application to switch the screen refresh rate, the flicker problem still existing in the Long scheme can be effectively improved, so that the user can avoid obviously perceiving the flicker phenomenon at the moment of switching while reducing the power consumption of the device, and the user experience is ensured.

[0176] It can be understood that the first screen refresh rate 120hz and the second screen refresh rate 60hz described in the embodiments of the present application are only an example of the embodiments of the present application, and do not constitute any limitation on the first screen refresh rate and the second screen refresh rate 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 above-mentioned transition screen refresh rates of 105hz, 90hz, 75hz, etc. are also an example in the embodiments of the present application, and do not constitute any limitation on the transition screen refresh rate, which is determined according to the actual first screen refresh rate and the second screen refresh rate.

[0177] For example, in the first screen refresh rate 120hz, the transition screen refresh rate 105hz is increased, and the second screen refresh rate 60hz is gradually changed to 90hz, and a timing diagram of the gradual change frequency conversion under the LongH scheme is shown in FIG. 8.

[0178] As shown in FIG. 8, the pulse width of each HSYNC signal under 120hz is x, and the pulse width of the HSYNC signal of 60hz is (120 / 60)x=2x, and the pulse width of the HSYNC signal of other screen refresh rates is the same. That is, the pulse width of each HSYNC signal under 105hz is (120 / 105)x=1.14x, and the pulse width of each HSYNC signal under 90hz is (120 / 90)x=1.33x.

[0179] Correspondingly, because different screen refresh rates have different HSYNC signals, that is, the scanning time of each row of pixels is different, the charging time of the pixels under different screen refresh rates is also different. Referring to the timing of the scanning lines G1-Gn shown in FIG. 8, G1-Gn represents the scanning signals of the 1st row to the nth row, and as the HSYNC signal is lengthened, the scanning signal of each row is also lengthened accordingly, that is, L4>L3>L2>L1. And referring to the timing of the data (Data) in FIG. 8, it can be seen that as the HSYNC signal is lengthened, the charging time of the pixel is also lengthened.

[0180] In addition, in addition to the fact that the charging time of the pixel row under different screen refresh rates will affect the display brightness / color of the pixel, the Gamma value will also affect the display brightness / color of the display. Therefore, the electronic device can also adjust the display brightness by adjusting the Gamma value. The data signal transmitted by the digital signal end Vdata in the driving circuit of the above-mentioned “8T1C”, “7T1C” and the like is generated according to the Gamma value.

[0181] Therefore, in order to avoid affecting the expression of the Gamma value, if the flicker problem in the switching moment is improved by the transition screen refresh rate in the LongH scheme, the electronic device also needs to adjust the Gamma value corresponding to different screen refresh rates. Further, after the transition screen refresh rate is determined, the electronic device also needs to determine the Gamma value corresponding to the transition screen refresh rate, and set the corresponding Gamma value after switching the screen refresh rate.

[0182] Referring to FIG. 8, the Gamma value under 120hz is Gamma1, the Gamma value under 105hz is Gamma2, the Gamma value under 90hz is Gamma3, and the Gamma value under 60hz is Gamma4. That is, under 120hz, the data signal transmitted by the digital signal end Vdata in the driving circuit needs to be generated according to Gamma1, and under 105hz, the data signal transmitted by the digital signal end Vdata in the driving circuit needs to be generated according to Gamma2, and the same applies to other screen refresh rates, which will not be repeated here.

[0183] It should be noted that the Gamma value under different screen refresh rates can be determined in any existing manner, and the embodiments of the present application do not limit this. For example, it can be obtained by actual modulation (tunning) or calculation and then configured into the electronic device.

[0184] In some embodiments, for each transition screen refresh rate, the embodiments of the present application can not be limited to refreshing only one frame of picture. That is, under each transition screen refresh rate, it can be i≥1 frames of picture, i is a positive integer. And the i corresponding to each transition screen refresh rate can be the same or different.

[0185] For example, from the first screen refresh rate 120hz to the second screen refresh rate 60hz, the transition screen refresh rates 105hz and 75hz can correspond to refreshing i=3 frames of picture, and the transition screen refresh rate 90hz can correspond to refreshing i=2 frames of picture. Then, the gradual frequency conversion can be regarded as:

[0186] 120hz→105hz-105hz-105hz→90hz-90hz-90hz→75hz-75hz-75hz→60hz.

[0187] S504, the electronic device switches from the first screen refresh rate to the second screen refresh rate.

[0188] For the case that the first screen refresh rate is less than the second screen refresh rate, because it is from low refresh rate to high refresh rate, and once it is switched to high refresh rate, the picture refresh speed will be quickly improved, which means that the frame interval will be reduced. Therefore, the flicker in this moment from low refresh rate to high refresh rate will be quickly covered by the second frame picture under high refresh rate. That is, the picture refresh speed is improved, and the flicker phenomenon is correspondingly short, so that the flicker problem perceived by the user in the switching moment in this case is not as obvious as the high refresh rate switching to low refresh rate, and the user may not even perceive the flicker phenomenon.

[0189] At the same time, switching from low refresh rate to high refresh rate is usually because the application scenario needs to quickly improve the fluency and response speed, so if the transition screen refresh rate is increased, the fluency and response speed cannot be quickly improved to the standard corresponding to the high refresh rate, thereby affecting the user experience.

[0190] Therefore, switching from low refresh rate to high refresh rate, such as switching from the first screen refresh rate 60hz to the second screen refresh rate 120hz, the electronic device can also directly switch without setting the transition screen refresh rate for gradient frequency conversion.

[0191] In other embodiments, because the LongV scheme can keep the same picture refresh speed as the base frequency, so that there is no flicker in the switching moment. Therefore, in order to reduce the power consumption of the device and avoid the flicker problem as much as possible, the LongH scheme and the LongV scheme can be combined in the embodiments of the present application.

[0192] Specifically, the higher the screen refresh rate, the higher the device power consumption, and the lower the screen refresh rate, the lower the device power consumption. Therefore, the embodiments of the present application can set a preset screen refresh rate based on the actual demand for power consumption.

[0193] When the second screen refresh rate to be switched needs to be less than the preset screen refresh rate, the electronic device can first switch from the first screen refresh rate to the preset screen refresh rate according to the LongH scheme by using the above-mentioned gradient frequency conversion. Then, the electronic device takes the preset screen refresh rate as the base frequency, and then directly switches from the preset screen refresh rate to the second screen refresh rate according to the LongV scheme with the same picture refresh speed as the base frequency.

[0194] In a specific embodiment, the preset screen refresh rate can be set to 60hz. 60hz is the refresh rate that can balance the flicker problem of power consumption actually measured by the product in the embodiments of the present application.

[0195] For example, FIGS. 9A and 9B show a schematic diagram of the combination of LongH scheme and LongV scheme for frequency conversion.

[0196] As shown in FIG. 9A and FIG. 9B, when the screen refresh rate needs to be switched from the first screen refresh rate 120hz to the second screen refresh rate 1hz, the electronic device can first gradually change the frequency from 105hz, 90hz, 75hz to the preset screen refresh rate 60hz according to the LongH scheme.

[0197] Then, the electronic device directly switches from the preset screen refresh rate 60hz to the second screen refresh rate 1hz according to the LongV scheme with the preset screen refresh rate 60hz as the base frequency, as shown in FIG. 9A.

[0198] Alternatively, the gradual frequency change switching can also be achieved by adding a transition screen refresh rate (i.e., an intermediate screen refresh rate). That is, for the refresh rate below the preset screen refresh rate 60hz, the gradual frame switching of LongV can also be performed. As shown in FIG. 9B, the intermediate screen refresh rates of 30hz, 10hz, etc. are added between the preset screen refresh rate 60hz and the second screen refresh rate.

[0199] It can be understood that, since the gradual switching is performed under LongV, the refresh rates below the preset screen refresh 60hz are all based on 60hz. That is, the HSYNC, GOA, etc. of the refresh rates below the preset screen refresh 60hz are all the same as 60hz, and the LongV timing is achieved by inserting porch. As shown in FIG. 9A and FIG. 9B, the picture refresh speed under 30hz, 10hz, and 1hz is still completed within 16.67ms, and then the porch is inserted to maintain for the remaining time. For example, taking 1hz as an example, the porch is inserted to maintain for the remaining time 1000ms-16.67ms, so as to accurately achieve the second screen refresh rate 1hz.

[0200] In this way, for the switching between 120hz and 60hz with high power consumption, the frequency is adjusted by adopting the LongH+ gradual frequency change manner, so as to reduce the power consumption of the device and improve the flicker problem as much as possible. For the switching between 60hz and 1hz with low power consumption, the porch insertion manner of LongV scheme is adopted, so as to avoid the flicker without consuming too much power.

[0201] It should be noted that the preset screen refresh rate can be set to other values based on actual products and needs, and is not limited to 60hz in the embodiments of the present application. For example, the preset screen refresh rate can also be 30hz, 45hz, 90hz, etc.

[0202] Exemplarily, taking the transition screen refresh rate corresponding to the refresh i=1 frame picture as an example, FIG. 10 shows an interface schematic diagram of the gradual frequency change switching. The display method provided in the embodiments of the present application is described below in combination with FIG. 10.

[0203] Referring to FIG. 10, at a first time, the electronic device displays an interface 1001 on the display screen at a first screen refresh rate. Then, at a second time after the first time, if the electronic device detects a target application scenario, the electronic device first determines a screen refresh rate corresponding to the target application scenario, thereby obtaining a second screen refresh rate. Then, the electronic device switches from the first screen refresh rate to the second screen refresh rate by increasing a transition screen refresh rate.

[0204] The target application scenario can be determined by the electronic device according to a received first operation. The first operation can be a user operation for switching an application interface, such as an operation for switching an application, a click operation for starting an application, and the like. The first operation can also be a user operation for updating the display content of an interface, such as a sliding operation of a user on an interface.

[0205] In some embodiments, if the first operation is a switching operation for triggering the electronic device to switch from an interface of a first application to an interface of a second application, 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.

[0206] As shown in FIG. 10, the first application is a game application, the interface 1001 is a game playing interface, and the first screen refresh rate is a screen refresh rate corresponding to a game playing scenario, such as 120 hz. The second application is a video playing application, and the interfaces 1002, 1003, and 1004 are video playing interfaces. Therefore, the second screen refresh rate is a screen refresh rate corresponding to a video playing scenario, such as 60 hz or 30 hz.

[0207] However, in the embodiments of the present application, the first screen refresh rate is switched to the second screen refresh rate by using a gradual frequency conversion manner with appropriate transition screen refresh rates added to improve the flicker problem at the switching moment. Therefore, in the case of i = 1, the screen refresh rate corresponding to the first frame of picture played by the electronic device is the transition screen refresh rate 1. That is, the screen refresh rate corresponding to the interface 1002 is the transition screen refresh rate 1.

[0208] Similarly, the screen refresh rate corresponding to the second frame of picture played by the electronic device is the transition screen refresh rate 2. That is, the screen refresh rate corresponding to the interface 1003 is the transition screen refresh rate 2. It can be understood that, in the case where 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.

[0209] After the transition screen refresh rate corresponds to the display of i = 1 frame, the electronic device will switch to the second screen refresh rate corresponding to the original video playing scene. As shown in FIG. 10, after the transition screen refresh rate 1 and the transition screen refresh rate 2 correspond to the display of i = 1 frame, the electronic device switches the screen refresh rate to the second screen refresh rate corresponding to the video playing scene under the third frame. That is, the screen refresh rate corresponding to the interface 1004 is the second screen refresh rate.

[0210] In this way, when the electronic device needs to dynamically switch the screen refresh rate when switching from the interface 1001 to the interface 1002, compared with the way that the electronic device directly displays the interface 1002 at the second screen refresh rate, the transition screen refresh rate can reduce the display brightness difference between the interface 1001 and the interface 1002, thereby improving the flicker problem at the switching moment.

[0211] Next, another display method provided by the embodiment of the present application is described. The display method is also applied to the electronic device, and the description of the electronic device can refer to the description of FIG. 3 and FIG. 4 above, which will not be repeated here.

[0212] As can be known from the display method described in the preamble, the reason why the switching of the two screen refresh rates has the flicker problem at the switching moment is that the difference between the scanning time and the charging time of the pixel rows corresponding to the two screen refresh rates is large.

[0213] Meanwhile, the embodiment of the present application finds through actual testing and research that the flicker generated at the switching moment is usually mainly reflected in one frame at the switching time. That is, the flicker problem only exists when the last frame under the first screen refresh rate is refreshed to the first frame under the second screen refresh rate. That is, after the screen refresh rate switching is completed, because the second screen refresh rate after the switching will be followed by stable work, the display brightness and color after the switching are consistent, so the flicker problem will not appear after the switching is stable.

[0214] Based on this, in addition to the way of adding the transition screen refresh rate in the LongH scheme provided by the display method described above to improve the flicker problem, because the Gamma value also affects the display brightness of the screen, the embodiment of the present application can also improve the flicker problem at the switching moment by configuring a special Gamma value.

[0215] Specifically, because the flicker problem only exists within a frame, the electronic device can configure a special Gamma value for a frame of picture alone. That is, the electronic device can configure a special Gamma value for a first frame of picture corresponding to the second screen refresh rate. Of course, the special Gamma value can also be set for the first frame to the ith frame. After the first frame, or after the end of the first frame to the ith frame, the original Gamma value corresponding to the target refresh rate is switched.

[0216] In this way, the display brightness can be affected by the configured Gamma value, so as to alleviate the flicker problem in the moment of switching from the first screen refresh rate to the second screen refresh rate, and ensure the user experience.

[0217] For example, FIG. 11 shows a schematic diagram of a display method provided by an embodiment of the present application.

[0218] (1) in FIG. 11 shows a schematic diagram of a traditional Gamma value in the LongH scheme, and (2) in FIG. 11 shows a schematic diagram of dynamically configuring a special Gamma value in the embodiment of the present application.

[0219] That is, according to the traditional manner, after switching from 120hz to 60hz, the Gamma value is switched from Gamma1 to Gamma4 corresponding to 60hz, and then the Gamma value corresponding to each frame of picture under 60hz is Gamma4. According to the manner provided by the embodiment of the present application, after switching from 120hz to 60hz, the Gamma value is first switched to the special Gamma value (preset Gamma value) configured for switching from 120hz to 60hz, such as Gamma5 shown in FIG. 11. Then, after the end of the frame, the Gamma value is switched from Gamma5 to Gamma4 corresponding to 60hz. Thus, the brightness difference in the moment of switching is reduced by the Gamma value, so as to improve the flicker problem in the moment of switching, and ensure the user experience.

[0220] For example, in combination with the hardware structure of the electronic device, FIG. 12 shows a flowchart of a traditional dynamic switching Gamma, and FIG. 13 shows a flowchart of a dynamic switching Gamma in the embodiment of the present application.

[0221] The display method provided by the embodiment of the present application is described below in combination with FIG. 12 and FIG. 13.

[0222] In the conventional manner, the Gamma parameters are bound to the screen refresh rate, either a set of Gamma parameters is shared by different screen refresh rates, or different screen refresh rates correspond to different Gamma parameters. That is, the DDIC internally determines a one-to-one correspondence between the screen refresh rate and the Gamma relationship, that is, switching to a certain screen refresh rate, the DDIC will simultaneously call the built-in corresponding Gamma value.

[0223] As shown in FIG. 12, 120hz corresponds to Gamma1, and 60hz corresponds to Gamma4. Therefore, after the AP sends the 120hz switching to LongH 60hz instruction to the DDIC, the corresponding 120hz timing and 60hz timing are included in the GOA timing parameter table. Further, under the 120hz timing, the DDIC will call the corresponding Gamma1 from the Gamma table based on the correspondence relationship. After switching to 60hz, under the 60hz timing, the DDIC will call the corresponding Gamma4 from the Gamma table based on the correspondence relationship.

[0224] In the embodiment of the present application, in order to improve the flicker problem at the switching moment, the Gamma value will be dynamically switched within the second screen refresh rate. Referring to FIG. 13, a logic controller is provided in the DDIC. After the DDIC receives the 120hz switching to LongH 60hz instruction issued by the AP, in the next frame, the DDIC will call the special Gamma value built in the Gamma table, that is, call Gamma5. Then, in the first frame of 60hz, the Gamma value is dynamically switched to Gamma5 in cooperation with the timing of 60hz under the LongH scheme. After the end of the first frame, the DDIC normally calls the Gamma4 corresponding to the switching to 60hz corresponding to the frame of 60hz.

[0225] It can be understood that the dynamic Gamma value switching shown in FIG. 13 is an example of the first frame. According to actual needs, it can also be set to multiple frames. That is, the logic controller is added in the DDIC, which analyzes and judges the timing of 60hz under LongH in real time according to the received refresh rate switching instruction, dynamically sets the special Gamma value of the first frame or the first frame to the ith frame, and the special Gamma value (preset Gamma value) shown in FIG. 13 is Gamma5, which is used to improve the flicker problem at the switching moment. After the end of the first frame or the first frame to the ith frame, the DDIC is switched to the normal Gamma4 corresponding to 60hz.

[0226] It should be noted that the special Gamma values are all preset in the DDIC, and appropriate Gamma parameters are used to improve flicker, which can be determined by optical equipment measurement and tunning in advance. Alternatively, the special Gamma values can also be determined by calculation after actual debugging, and the embodiments of the present application do not make any limitation thereto.

[0227] Another embodiment of the present application provides an electronic device, comprising: one or more display screens, one or more processors and a memory. The display screen, the memory are coupled with the processor respectively; the memory stores one or more computer program codes, and the computer program codes comprise computer instructions; when the processor executes the computer instructions, the electronic device realizes the display method recorded in any of the above embodiments.

[0228] Another embodiment of the present application provides a computer readable storage medium, which stores a computer program. When the computer program is executed by a processor in an electronic device, the electronic device realizes the display method recorded in any of the above embodiments.

[0229] The embodiments of the present application also provide a computer program product, which, when running on a computer, causes the computer to execute the functions or steps in the above method embodiments.

[0230] The embodiments of the present application also provide a chip system. As shown in FIG. 14, the chip system 140 comprises at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 can be interconnected by a line. For example, the interface circuit 1402 can be used to receive signals from other devices (such as the memory of a computer). For another example, the interface circuit 1402 can be used to send signals to other devices (such as the processor 1401).

[0231] For example, the interface circuit 1402 can read instructions stored in the memory and send the instructions to the processor 1401. When the instructions are executed by the processor 1401, the computer can execute the steps in the above embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make any specific limitation thereto.

[0232] From the above description of the embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, i.e. the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0233] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the division of the apparatus embodiments is merely an example, and for example, the division of the modules or units can be different, and for example, multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0234] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, i.e., may be located in one place, or may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0235] In addition, each functional unit in the various embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0236] If the integrated unit is realized in the form of 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 the present application essentially or the parts that make contributions to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium, and includes a number of instructions to make a device (which can be a single chip, a chip, etc.) or a processor execute all or part of the steps of the various embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0237] The above is merely a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the present application should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A display method characterized by comprising: Applied to an electronic device comprising a display screen, the method comprises: displaying an interface on the display screen 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 display screen to a transition screen refresh rate, and switching from the transition screen refresh rate to the second screen refresh rate; wherein a first pulse width of a horizontal synchronization signal corresponding to the first screen refresh rate is not equal to a second pulse width of a horizontal synchronization signal corresponding to the second screen refresh rate; a third pulse width of a 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 of claim 1, wherein, The switching of the screen refresh rate of the display screen to the transition screen refresh rate and the switching 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 comprises: 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, switching the screen refresh rate of the display screen to the transition screen refresh rate, and switching 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 the second screen refresh rate is less than the preset screen refresh rate, switching the screen refresh rate of the display screen to the transition screen refresh rate, switching from the transition screen refresh rate to the preset screen refresh rate, and switching from the preset screen refresh rate to the second screen refresh rate; wherein the first pulse width is not equal to a fourth pulse width of a horizontal synchronization signal corresponding to the preset screen refresh rate, 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, and after a frame of picture refresh display is completed under the second screen refresh rate, the display is continued for a first time length, which is the difference between a second time length and a third time length; the second time length is a picture refresh time length corresponding to the preset screen refresh rate, and the third time length is a picture refresh time length corresponding to the second screen refresh rate.

3. The method of claim 2, wherein, The switching from the preset screen refresh rate to the second screen refresh rate comprises: switching from the preset screen refresh rate directly to the second screen refresh rate; or switching from the preset screen refresh rate to an intermediate screen refresh rate, and switching from the intermediate screen refresh rate to the second screen refresh rate; a fifth pulse width of a 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 to 3, characterized in that, The method further comprises: when the second screen refresh rate is greater than the first screen refresh rate, switching the screen refresh rate of the display screen directly to the second screen refresh rate.

5. The method according to any one of claims 1-3, characterized in that, The method further comprises: when the second screen refresh rate is greater than the first screen refresh rate, switching the screen refresh rate of the display screen to a transition screen refresh rate, and 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.

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 in order of the third pulse width from large to small, 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 an i frame, and 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 60 hz.

9. A display method characterized by comprising: The method is applied to an electronic device including a display screen, and the method includes: displaying an interface on the display screen 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, directly switching the screen refresh rate of the display screen to the second screen refresh rate; wherein a first pulse width of a horizontal synchronization signal corresponding to the first screen refresh rate is not equal to a second pulse width of a horizontal synchronization signal corresponding to the second screen refresh rate; under the second screen refresh rate, setting a gamma value corresponding to a first frame to an i frame of a display screen to a target gamma value, and setting the gamma value to a gamma value corresponding to the second screen refresh rate after the i frame; wherein the target gamma value is determined based on a luminance difference between the first screen refresh rate and the second screen refresh rate; i≥1, and i is a positive integer.

10. The method of claim 9, wherein, The display screen includes a display driving chip and a display panel, and the display driving chip includes a logic controller; the method further includes: the logic controller calls the target gamma value from a preset gamma table and drives the display panel to set a gamma value corresponding to a first frame to an i frame of a display screen to the target gamma value; after the i frame, the logic controller calls a gamma value corresponding to the second screen refresh rate from a 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, comprising: including: one or more display screens, one or more processors and memories, the display screens, the memories being respectively coupled with the processors; one or more computer program codes are stored in the memories, and the computer program codes include computer instructions; when the processors execute the computer instructions, the electronic device executes the display method in any one of claims 1-10.

12. A computer readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by the processor of the electronic device, the electronic device executes the display method 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 the processor of the electronic device, the electronic device executes the display method in any one of claims 1-10. When the computer program is executed by the processor of the electronic device, the electronic device executes the display method in any one of claims 1-10.

Citation Information

Patent Citations

  • Driving method, driving module and display device

    CN109616083A

  • Display driving method, display driving device, display device and storage medium

    CN114078450A

  • Method and device for sending image data

    CN114205485A

  • Frame rate switching method and related device

    CN116700653A

  • Novel display method

    CN117198184A