Refresh rate switching method and terminal device

By changing the refresh rate control pin level of the terminal device, the refresh rate and frame rate matching of the terminal device of X86 architecture is achieved, and the screen tear problem caused by the mismatch between the frame rate and the refresh rate in the existing technology is solved, and the equipment is improved smoothness and battery life.

WO2024234726A1PCT designated stage expired Publication Date: 2024-11-21HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/074109
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-17
Filing Date
2024-01-25
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

The existing X86 architecture terminal devices cannot flexibly complete the refresh rate switching control of the display module through the MIPI link, resulting in mismatch between the frame rate and the refresh rate, and screen tear and other problems.

Method used

By detecting preset operations and changing the refresh rate control pin level of the system-level chip, switching between refresh rate and frame rate is achieved without relying on switching instructions, and the refresh rate switching method is optimized.

Benefits of technology

It realizes seamless switching between terminal devices at different refresh rates, avoids picture tear, and improves picture fluency and battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024074109_21112024_PF_FP_ABST
    Figure CN2024074109_21112024_PF_FP_ABST
Patent Text Reader

Abstract

A refresh rate switching method and a terminal device (10), which are applied to the technical field of terminals, and aim to solve the problem that the terminal device (10) cannot flexibly complete refresh rate switching. The method comprises: a terminal device (10) displays an N-th image frame, wherein the refresh rate of the N-th image frame is a first refresh rate; the terminal device (10) detects a preset operation, the preset operation being used for indicating a target refresh rate, wherein the target refresh rate is different from the first refresh rate; the terminal device (10) changes the refresh rate of a system-on-chip of the terminal device (10) according to the target refresh rate to control the level of a pin; and the terminal device (10) displays an (N+1)-th image frame in response to a level change, wherein the refresh rate of the (N+1)-th image frame is the target refresh rate. The method is applied to the refresh rate switching process of a terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Refresh rate switching method and terminal device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 17, 2023, with application number 202310565685.3 and application name “Refresh rate switching method and terminal device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of terminal technology, and in particular to a refresh rate switching method and a terminal device. Background Art

[0003] With the development of terminal technology, mobile phones, tablet computers and other terminal devices (which can also be described as electronic devices) mostly use a combination of high refresh rate and low refresh rate applications, using different refresh rates to display images in different scenarios to meet the different needs of users. For example, when users use their mobile phones to play games or watch videos, high refresh rate screens can bring smoother picture display and better visual experience. Alternatively, when the user's mobile phone battery is low, a low refresh rate screen can save power consumption, which is beneficial to improving the battery life of the mobile phone. In actual applications, the terminal device needs to switch the refresh rate according to usage requirements.

[0004] Terminal devices with different architectures implement refresh rate switching differently. Currently, terminal device central processing unit (CPU) architectures are primarily categorized into two types: the X86 architecture (also described as the X86 architecture or X86 platform), and the advanced RISC machine (ARM) architecture (also described as the ARM architecture or ARM platform). The mobile industry processor interface (MIPI) display serial interface is widely used on both ARM and X86 CPU architectures due to its flexibility, diverse compatibility, and low cost. Furthermore, the MIPI display serial interface protocol specifies that the MIPI data link can transmit both video data and control commands. Therefore, the common ARM architecture uses commands issued via the MIPI link to control refresh rate switching of the display module. Unlike the ARM architecture, X86 architecture products pursue standardization and have not yet developed command control for display module refresh rate switching via the MIPI link. Therefore, the existing X86 architecture cannot flexibly control refresh rate switching of the display module via MIPI.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a refresh rate switching method and a terminal device, and the terminal device can flexibly complete the refresh rate switching and optimize the refresh rate switching strategy.

[0007] In order to achieve the above technical objectives, the embodiments of the present application provide the following technical solutions:

[0008] In a first aspect, a refresh rate switching method is provided, the method comprising: a terminal device displaying an Nth frame image; wherein the refresh rate of the Nth frame image is a first refresh rate. The terminal device detects a preset operation, the preset operation being used to indicate a target refresh rate; wherein the target refresh rate is different from the first refresh rate. The terminal device changes the level of a refresh rate control pin of a system-on-chip of the terminal device according to the target refresh rate. The terminal device displays the (N+1)th frame image in response to the level change; wherein the refresh rate of the (N+1)th frame image is the target refresh rate.

[0009] In this way, after the terminal device detects the preset operation, it changes the terminal device's power level according to the target refresh rate indicated by the preset operation. Refresh rate switching is achieved through power level changes, eliminating the need to rely on interface functions such as switching commands to achieve refresh rate switching. This optimizes the refresh rate switching method and enables the terminal device to complete refresh rate switching flexibly.

[0010] According to the first aspect, the preset operation includes a pre-set operation that can trigger the terminal device to switch the refresh rate.

[0011] According to the first aspect, in a possible implementation manner, the target refresh rate is a refresh rate that the user instructs the terminal device to achieve after completing the refresh rate switching through a preset operation.

[0012] In some examples, the terminal device receives a preset operation triggered by a user and determines a target refresh rate in response to the preset operation.

[0013] In this way, a preset operation for triggering the refresh rate switching is pre-set, and the terminal device is quickly triggered to switch the refresh rate according to the preset operation, thereby simplifying the refresh rate switching process.

[0014] According to the first aspect, in a possible implementation method, the terminal device changes the level of the refresh rate control pin of the system-level chip of the terminal device according to the target refresh rate, including: the terminal device determines the level corresponding to the target refresh rate according to a preset correspondence; and switches the current level of the refresh rate control pin of the system-level chip of the terminal device to the level corresponding to the target refresh rate.

[0015] According to the first aspect, in a possible implementation manner, the preset corresponding relationship is a corresponding relationship between a refresh rate and a level.

[0016] In some examples, the voltage level is a voltage value corresponding to a preset refresh rate, and the terminal device switches to different refresh rates through different voltage levels.

[0017] In some examples, multiple refresh rates are represented by different values ​​of a level.

[0018] In some examples, multiple refresh rates are represented by multiple levels.

[0019] In this way, the correspondence between the electrical level and the refresh rate is pre-set so that the terminal device can quickly determine the electrical level corresponding to the target refresh rate, so as to quickly complete the refresh rate switching later.

[0020] According to the first aspect, in a possible implementation, the refresh rate control pin is a pin in a pre-set general input / output port of a system-on-chip for indicating refresh rate switching.

[0021] According to the first aspect, in one possible implementation, the terminal device includes a display driver chip, and the display driver chip includes an input pin; after the terminal device changes the level of the refresh rate control pin of the system-level chip of the terminal device according to the target refresh rate, the method also includes: the input pin responds to the level change of the refresh rate control pin and changes the level of the input pin accordingly.

[0022] According to the first aspect, in a possible implementation method, the terminal device displays the (N+1)th frame image in response to the level change, including: the terminal device rewrites the register value of the terminal device according to the changed level in response to the level change; the terminal device switches the refresh rate of the terminal device to the target refresh rate according to the rewritten register value of the terminal device; the terminal device displays the (N+1)th frame image according to the target refresh rate.

[0023] According to the first aspect, in a possible implementation method, the terminal device also includes a display driver chip and a display panel, the display driver chip includes a register; the terminal device displays the (N+1)th frame image in response to the level change, including: the display driver chip responds to the level change of the refresh rate control pin, and rewrites the register value of the register according to the changed level; the display driver chip switches the refresh rate of the display driver chip to the target refresh rate according to the register value after the register is rewritten; the display driver chip drives the display panel to display the (N+1)th frame image according to the target refresh rate.

[0024] According to the first aspect, in a possible implementation method, the terminal device displays the (N+1)th frame image according to the target refresh rate, including: the terminal device adjusts the frame synchronization signal according to the target refresh rate, and the terminal device refreshes and displays the (N+1)th frame image according to the adjusted frame synchronization signal.

[0025] According to the first aspect, in a possible implementation method, the terminal device also includes a display driver chip and a display panel, and the display driver chip drives the display panel to display the (N+1) frame image according to the target refresh rate, including: the display driver chip adjusts the frame synchronization signal according to the target refresh rate, and the display driver chip sends the adjusted frame synchronization signal to the display panel; the display panel refreshes and displays the (N+1) frame image according to the frame synchronization signal.

[0026] In this way, the frame synchronization signal is adjusted according to the changed refresh rate, so that the display panel refreshes the display image according to the adjusted frame synchronization signal, thereby achieving switching of the display panel refresh rate.

[0027] In some examples, the registers store various preset settings, such as the correspondence between register values ​​and operating modes, and the correspondence between register values ​​and information contained in the operating modes. The information contained in the operating modes includes voltage levels, tearing effect signals, circuits, and refresh rates.

[0028] Exemplarily, the register includes a mapping relationship between a register value and a level, a mapping relationship between a register value and a circuit, and a mapping relationship between a register value and a tearing effect signal.

[0029] According to the first aspect, in a possible implementation method, after the terminal device rewrites the register value according to the terminal device, the method further includes: the terminal device adjusts the tearing effect signal of the terminal device according to the register value rewritten by the terminal device; the terminal device switches the frame rate of the terminal device according to the adjusted tearing effect signal, and generates the (N+1)th frame image according to the switched frame rate.

[0030] According to the first aspect, in a possible implementation manner, the tearing effect signal is used to synchronize the refresh rate and the frame rate.

[0031] According to the first aspect, in a possible implementation method, after the display driver chip rewrites the register value according to the register, the method further includes: the display driver chip adjusts the tearing effect signal of the display driver chip according to the register value after the register is rewritten; the display driver chip sends the adjusted tearing effect signal to the system-level chip; the system-level chip switches the frame rate of the system-level chip according to the adjusted tearing effect signal, and generates the (N+1)th frame image according to the switched frame rate.

[0032] In this way, the rate (frame rate) at which the system-level chip generates images is reversely controlled according to the tearing effect signal, and the refresh rate of the terminal device display panel is controlled by the frame synchronization signal when switching screens. The refresh rate and frame rate are synchronized, which can truly complete the refresh rate / frame rate switching and avoid screen tearing caused by only switching the refresh rate without correspondingly changing the frame rate.

[0033] In a second aspect, a terminal device is provided, which includes a system-level chip, a display driver chip and a display panel; the system-level chip includes a refresh rate control pin. The display panel is used to display the Nth frame image; wherein the refresh rate of the Nth frame image is a first refresh rate. The system-level chip is used to detect a preset operation, which is used to indicate a target refresh rate; wherein the target refresh rate is different from the first refresh rate. The system-level chip is also used to change the level of the refresh rate control pin of the system-level chip according to the target refresh rate. The display driver chip is used to drive the display panel to display the (N+1)th frame image in response to the level change; wherein the refresh rate of the (N+1)th frame image is the target refresh rate. The display panel is also used to display the (N+1)th frame image.

[0034] According to the second aspect, in one possible implementation, the system-on-chip is further configured to determine a voltage level corresponding to a target refresh rate based on a preset correspondence relationship; wherein the preset correspondence relationship is a correspondence between refresh rate and voltage level. The system-on-chip is further configured to switch a current voltage level of a refresh rate control pin to a voltage level corresponding to the target refresh rate.

[0035] According to the second aspect, in one possible implementation, the display driver chip includes a register; the display driver chip is further configured to, in response to a change in the level of a refresh rate control pin, rewrite a register value of the register according to the changed level. The display driver chip is further configured to switch the refresh rate of the display driver chip to a target refresh rate based on the rewritten register value. The display driver chip is further configured to drive the display panel to display an (N+1)th frame of image according to the target refresh rate.

[0036] According to the second aspect, in one possible implementation, the display driver chip is further configured to adjust a tearing effect signal of the display driver chip based on the register value after the register is rewritten. The display driver chip is further configured to send the adjusted tearing effect signal to the system-on-chip. The system-on-chip is further configured to switch the frame rate of the system-on-chip based on the adjusted tearing effect signal, and generate an (N+1)th frame image based on the switched frame rate.

[0037] In a third aspect, a terminal device is provided, comprising: a processor and a memory, the memory being coupled to the processor, the memory being used to store computer-readable instructions, and when the processor reads the computer-readable instructions from the memory, the terminal device executes the method of the first aspect or any one of the implementations of the first aspect.

[0038] In a fourth aspect, a chip system comprises at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor, the at least one processor executes the instructions, and the at least one processor executes the method of the first aspect or any one of the embodiments of the first aspect.

[0039] In a fifth aspect, a computer-readable storage medium includes a computer program. When the computer program runs on a terminal device, the terminal device executes the method of the first aspect or any one of the implementation methods of the first aspect.

[0040] In a sixth aspect, a computer program product, when the computer program product is run on a computer, enables the computer to execute the method of the first aspect or any one of the embodiments of the first aspect.

[0041] The technical effects corresponding to the second to sixth aspects and any implementation method of each aspect can be referred to the technical effects corresponding to the above-mentioned first aspect and any implementation method of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] FIG1 is a schematic diagram of the structure of a terminal device screen provided in an embodiment of the present application;

[0043] FIG2 is a timing diagram of a terminal device performing refresh rate switching according to an embodiment of the present application;

[0044] FIG3 is a schematic diagram of an architecture for performing refresh rate switching on a terminal device provided in an embodiment of the present application;

[0045] FIG4 is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application;

[0046] FIG5 is a flowchart of the interaction between various modules in a refresh rate switching method provided by an embodiment of the present application;

[0047] FIG6 is a schematic diagram of the architecture of a refresh rate switching system provided in an embodiment of the present application;

[0048] FIG7 is a schematic diagram of a refresh rate switching method according to an embodiment of the present application;

[0049] FIG8 is a schematic diagram of an application scenario of a refresh rate switching method provided in an embodiment of the present application;

[0050] FIG9 is a timing diagram of a refresh rate switching according to an embodiment of the present application;

[0051] FIG10 is a flow chart of another refresh rate switching method provided in an embodiment of the present application;

[0052] FIG11 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in this article is merely a way to describe the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0054] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the quantity of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the features.

[0055] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more. In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.

[0056] First, some of the terms and related technologies involved in this application are explained to facilitate understanding by those skilled in the art.

[0057] A display driver integrated circuit (DDIC) is one of the main control components of a display panel. Its main function is to send driving signals and image data to the display panel in the form of electrical signals, so that the display panel displays images.

[0058] As shown in FIG1 , a schematic diagram of the structure of a screen of a terminal device 10 is shown. FIG1 takes a terminal device including two display driver chips 12 (e.g., display driver chip 1 and display driver chip 2) as an example. A display panel 11 is the display area (luminous area) of the terminal device screen. The two display driver chips 12 (e.g., display driver chip 1 and display driver chip 2) are packaged below the screen, for example, by directly bonding the two display driver chips to a glass substrate using chip-on-glass (cog) packaging technology.

[0059] Refresh rate: Refresh rate refers to the number of times the screen image updates per second, measured in Hertz (Hz). For example, a screen with a refresh rate of 60Hz refreshes the image 60 times per second. The higher the refresh rate, the more times the screen refreshes the displayed image per second. Consequently, the time interval between each image refresh decreases, resulting in smoother viewing.

[0060] Frame rate: The frame rate is the rate at which the graphics processing unit (GPU) in a system-on-chip (SOC) draws images per second. The higher the frame rate, the more images the GPU can draw, resulting in a smoother and more realistic display.

[0061] It is understandable that the frame rate is the number of frames that the SOC generates images per second. The refresh rate is the number of times the screen is refreshed per second, which determines the number of times the screen presents images per second. If the frame rate is higher than the refresh rate, some image frames will not be displayed to the user through the screen, and the picture displayed on the screen will be jerky and not smooth. Moreover, due to the lack of synchronization, a tearing effect (TE) will appear on the screen between the two frames. If the frame rate is lower than the refresh rate, the screen will repeatedly display the same picture, causing the picture to freeze. That is, when the frame rate and the refresh rate are out of sync, it will cause screen tearing and other situations. Normally, the refresh rate is the same as the frame rate. When the refresh rate of the screen changes, the frame rate needs to be changed accordingly to avoid screen tearing.

[0062] In actual applications, high refresh rates are mainly used in gaming scenarios and fast-sliding scenarios such as desktop scrolling, thereby improving the smoothness of the screen during user operations. Most usage scenarios are still static displays, slow scrolling, or low-frame-rate video playback. In these scenarios, using low refresh rates and low frame rates can ensure smoothness of the screen while also reducing power consumption and improving battery life.

[0063] The tearing effect signal (also described as a TE signal) is a signal generated by the display driver chip to prevent tearing problems when the screen is refreshed during image display. The TE signal is a periodic signal. Terminal devices configured with MIPI's command control mode generally synchronize and control the SOC frame rate and screen refresh rate based on the TE signal. The image drawing, rendering, synthesis and screen refresh display processes are synchronized based on the TE signal. In each cycle corresponding to the same TE signal, the SOC draws, renders and synthesizes one or more layers to obtain a frame of image. The display driver encapsulates the image into a data packet and transmits the image data packet to the display driver chip through the MIPI interface. The display driver chip unpacks the image data packet and refreshes the image.

[0064] To facilitate understanding of the technical details of this solution, let's first describe the specific process of displaying images on a terminal device screen. The SOC performs layer drawing, rendering, and synthesis, and transmits the synthesized image data to the display driver chip via MIPI. The display driver chip stores the image data in a buffer, scans the image data in the buffer, and converts the digital image data into a continuous voltage signal to drive the panel, thereby displaying and refreshing the image.

[0065] In the related art, when the terminal device of the ARM architecture switches the refresh rate, the SOC sends a specific switching instruction to the display driver chip through MIPI before the refresh rate is switched, notifying the display driver chip that the refresh rate has changed. The display driver chip actively changes the TE signal frequency and the period of the TE signal in response to the switching instruction, thereby achieving the switching of the refresh rate. However, the SOC of the terminal device of the ARM architecture can only send a switching instruction to the display driver chip within the transmission time slot of the image, and the display driver chip needs to respond in time to complete the refresh rate switching before the next frame of the image is refreshed and displayed. That is, the terminal device of the ARM architecture switches the refresh rate at the same time as sending the switching instruction, and the timing requirement is high.

[0066] Specifically, as shown in Figure 2, it is a timing diagram of refresh rate switching. A frame of image can be divided into three areas: the vertical back porch (VBP), which can also be described as the vertical backward blanking area; the image valid data area (active, ACT), and the vertical front porch (VFP), which can also be described as the vertical forward blanking area. Among them, ACT is used to output a frame of image data, VBP and VFP are transmission time slots, and there is no valid image data. VBP and VFP are not used to transmit image data, but are used to match the rate at which the screen displays the image and the SOC draws the image.

[0067] As shown in FIG2 , the refresh rates of the first and second frames of image are 120 Hz, and the TE signals corresponding to the first and second frames of image are TE1. The period of TE1 corresponding to 120 Hz is 8.33 milliseconds (ms).

[0068] In some examples, after the second frame image transmission is completed, the refresh rate is switched, and the VFP of the second frame image receives the switching instruction issued by the SOC (e.g., the switching instruction is used to indicate that the refresh rate is switched from 120Hz to 60Hz). The display driver chip changes the TE signal (such as changing TE1 to TE2) in response to the switching instruction and adjusts the period of the TE signal. For example, the period of TE1 corresponding to 60Hz is 16.66ms. Each subsequent frame image (such as the third frame image) is transmitted and displayed based on the adjusted TE signal (such as TE2).

[0069] It is understandable that when the TE signal changes, the period corresponding to the TE signal also changes. The graphics processor of the SOC in the terminal device draws the transmission image according to the changed period, and the display driver chip in the terminal device refreshes the display image according to the changed period.

[0070] It is understandable that, currently, when a terminal device switches the refresh rate, the image data drawing and transmission cycle changes, and the drawing and transmission cycle of the terminal device at a low refresh rate is longer than that at a high refresh rate.

[0071] FIG3 is a schematic diagram of an architecture for performing refresh rate switching of a terminal device in related art.

[0072] The on-screen display (OSD) (also described as a screen visual control system) 301 in the terminal device operating system detects the user's operation to switch the refresh rate and sends the user operation to the graphics driver 303 (graphics driver) in the underlying software through the application programming interface 302 (API). The graphics driver generates a switching instruction in response to the user operation and sends the switching instruction to the display driver chip 306 in the display module 305 through the display serial interface-physical (DSI PHY) 304 so that the display driver chip 306 can complete the refresh rate switching.

[0073] Among them, the screen visual control system 301 and the application program interface 302 run on the operating system; the image driver 303 runs on the underlying software; the display physical interface 304 and the display module 305 run on the hardware layer.

[0074] In related technologies, X86-based terminal devices use the MIPI display interface to complete image drawing and transmission rate changes. However, the MIPI function development in the X86 architecture is relatively immature, and some functions cannot be implemented. For example, when the X86-based terminal device switches the refresh rate through MIPI, the specific switching instructions are omitted. As a result, the display driver chip of the X86-based terminal device cannot receive the switching instructions, and cannot adjust the TE signal according to the switching instructions, which will cause the frame rate of the image generated by the terminal device system to be mismatched with the refresh rate of the screen refresh image, resulting in abnormal problems such as timing asynchrony and screen tearing.

[0075] To address the issues existing in existing related technologies, embodiments of the present application provide a refresh rate switching method, wherein a terminal device determines a target refresh rate in response to a preset operation; the terminal device switches a voltage level to a voltage level corresponding to the target refresh rate based on the target refresh rate; the terminal device switches the current refresh rate of the terminal device to the target refresh rate in response to the switched voltage level; the tearing effect signal is adjusted based on the switched target refresh rate; and the frame rate is changed based on the adjusted tearing effect signal. By switching between refresh rate and frame rate by changing the voltage level, there is no need to rely on interface functions such as switching instructions to achieve refresh rate switching, thus optimizing the refresh rate switching method.

[0076] In the embodiment of the present application, the CPU architecture of the terminal device can be an X86 architecture or an ARM architecture. It should be understood that with the development of technology, the CPU architecture of the terminal device can also be other types of architectures.

[0077] The refresh rate switching method provided in the embodiment of the present application can be applied to a terminal device with a display function. The terminal device may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc.

[0078] In the embodiments of the present application, the terminal device may be a mobile phone, a computer, a two-in-one notebook, a two-in-one tablet computer, a laptop computer, a smart TV, a tablet computer (Pad), a computer with wireless transceiver function, an augmented reality (AR) terminal device, a virtual reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), an artificial intelligence (AI) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.

[0079] FIG4 shows a schematic diagram of the hardware structure of a terminal device 400 .

[0080] The terminal device 400 may include a processor 410, an external memory interface 420, an internal memory 421, a universal serial bus (USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a radio frequency module 450, a communication module 460, an audio module 470, a sensor module 480, a camera 493, a display screen 494, etc.

[0081] The structure illustrated in the embodiment of the present invention does not limit the terminal device 400. It may include more or fewer components than shown, or some components may be combined or separated, or arranged differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0082] The processor 410 may include one or more processing units. For example, the processor 410 may 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). The different processing units may be independent devices or integrated into one or more processors.

[0083] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0084] Processor 410 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor is a high-speed cache memory that can store instructions or data that the processor has just used or is reusing. If the processor needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces processor latency, and thus improves system efficiency.

[0085] In some embodiments, the processor 410 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) 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.

[0086] The MIPI interface can be used to connect the processor 410 to peripheral devices such as the display screen 494 and the camera 493. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 410 and the camera 493 communicate via the CSI interface to implement the camera function of the terminal device 400. The processor 410 and the display screen 494 communicate via the DSI interface to implement the display function of the terminal device 400.

[0087] The external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 400. The external memory card communicates with the processor via the external memory interface to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0088] The internal memory 421 can be used to store computer executable program code, which includes instructions. The processor 410 executes various functional applications and data processing of the terminal device 400 by running the instructions stored in the internal memory 421. The memory 421 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function, etc. The data storage area can store data created during the use of the terminal device 400, etc. In addition, the memory 421 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, other volatile solid-state storage devices, a universal flash storage (UFS), etc.

[0089] The USB interface 4300 is an interface that complies with USB standards and specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface can be used to connect a charger to charge the terminal device 400, or to transfer data between the terminal device 400 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect to other terminal devices, such as AR devices.

[0090] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is for illustrative purposes only and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 400 may also adopt a different interface connection method from the above embodiment, or a combination of multiple interface connection methods.

[0091] The charging management module 440 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 440 can receive charging input from the wired charger via the USB interface 430. In some wireless charging embodiments, the charging management module 440 can receive wireless charging input via the wireless charging coil of the terminal device 400. While charging the battery 442, the charging management module 440 can also provide power to the terminal device via the power management module 441.

[0092] The power management module 441 is used to connect the battery 442, the charging management module 440, and the processor 410. The power management module receives input from the battery and / or the charging management module and provides power to the processor, internal memory, external memory, and display screen. The power management module can also be used to monitor parameters such as battery capacity and battery health (leakage, impedance). In some other embodiments, the power management module 441 can also be provided in the processor 410. In other embodiments, the power management module 441 and the charging management module 440 can also be provided in the same device.

[0093] The wireless communication function of the terminal device 400 can be implemented through antenna 1, antenna 2, RF module 450, communication module 460, modem processor and baseband processor.

[0094] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 400 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, a cellular network antenna can be reused as a wireless local area network diversity antenna. In some embodiments, the antenna can be used in conjunction with a tuning switch.

[0095] The RF module 450 can provide a communication processing module for wireless communication solutions including 2G-5G, etc. applied to the terminal device 400. The RF module 450 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The RF module 450 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The RF module 450 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the RF module 450 can be set in the processor 410. In some embodiments, at least some functional modules of the RF module 450 can be set in the same device as at least some modules of the processor 410.

[0096] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium- or high-frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor displays images or videos via the display screen 494. In some embodiments, the modem processor may be a standalone device. In other embodiments, the modem processor may be independent of the processor 410 and be provided in the same device as the RF module 450 or other functional modules.

[0097] The communication module 460 can provide a communication processing module for wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc., which are applied on the terminal device 400. The communication module 460 can be one or more devices that integrate at least one communication processing module. The communication module receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor. The communication module 460 can also receive the signal to be sent from the processor 410, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0098] In some embodiments, antenna 1 of terminal device 400 is coupled to a radio frequency module, and antenna 2 is coupled to a communication module, so that terminal device 400 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite-based augmentation system (SBAS).

[0099] The audio module 470 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. The audio module can also be used to encode and decode audio signals.

[0100] The sensor module 480 of the terminal device 400 may specifically include a pressure sensor, a distance sensor, an ambient light sensor, a fingerprint sensor, a temperature sensor, and a touch sensor. A touch sensor, also known as a "touch panel," may be provided on a display screen to detect touch operations applied to or near the display screen.

[0101] Camera 493 is used to capture still images or videos. The lens generates an optical image of an object and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. In some embodiments, terminal device 400 may include one or N cameras, where N is a positive integer greater than one.

[0102] Terminal device 400 implements display functionality through a graphics processing unit (GPU), display screen 494, and an application processor. The GPU is a microprocessor for image processing that connects display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or modify display information.

[0103] The display screen 494 is used to display images, videos, etc. The display screen includes a display panel. The display panel can use LCD (liquid crystal display), OLED (organic light-emitting diode), active matrix organic light emitting diode or active matrix organic light emitting diode (AMOLED), flexible light emitting diode (flex light emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the terminal device 400 may include 1 or N display screens, where N is a positive integer greater than 1. In the embodiment of the present application, the display screen 494 is used to display images with different refresh rates.

[0104] The terminal device 400 may further include components such as a battery 442 , and this embodiment of the present application does not impose any limitation on this.

[0105] For ease of understanding, the interaction process between the various modules involved in the refresh rate switching method provided in the embodiment of the present application is described below in conjunction with Figure 5.

[0106] As shown in Figure 5, the system of the terminal device may include: an on-screen menu adjustment method 501 (on screen display, OSD) (which can also be described as a screen visual control system), an application programming interface 502 (application programming interface, API), an application 503, a basic input output system (basic input output system, BIOS) software 504, an embedded controller (embedded controller, EC) 505, a Bluetooth microcontroller unit 506 (Bluetooth micro controller unit, BTMCU), a keyboard 507, a refresh rate control (Frame Rate Control, FRC) pin 508, and a display module 509.

[0107] Among them, the screen visual control system 501, application program interface 502 and application 503 run on the operating system; the basic input and output system software 504, embedded controller 505 and Bluetooth micro control unit 506 run on the underlying software; the keyboard 507, refresh rate control pin 508 and display module 509 run on the hardware layer.

[0108] The display module 509 includes a display driver integrated circuit (DDIC) 510 .

[0109] Specifically, the screen visual control system 501 determines the target refresh rate in response to a preset operation.

[0110] In one possible implementation, the application 503 detects a preset operation, determines the indication information corresponding to the preset operation, and sends the indication information corresponding to the preset operation to the screen visual control system 501 through the application program interface 502; the screen visual control system 501 determines the target refresh rate in response to the indication information corresponding to the preset operation.

[0111] In another possible implementation, the Bluetooth microcontroller unit 506 detects user operations on the keyboard 507 (e.g., the Bluetooth microcontroller unit 506 receives keystroke information uploaded by the keyboard 507). When it is detected that the user has triggered a preset operation (e.g., if the keystroke information uploaded by the keyboard 507 matches the keystroke information of a preset operation, it is determined that the user has triggered the preset operation), the Bluetooth microcontroller unit 506 determines the instruction information corresponding to the preset operation, and sends the instruction information corresponding to the preset operation to the basic input and output system software 504 via the embedded controller 505. The basic input and output system software 504 then uploads the instruction information corresponding to the preset operation to the screen display system 501. The screen display system 501 determines the target refresh rate in response to the instruction information corresponding to the preset operation.

[0112] In response to a preset operation, the screen display control system 501 determines the target refresh rate. Based on the target refresh rate, the input / output system software 504 controls the refresh rate control pin 508 to switch the current voltage level to the target voltage level corresponding to the target refresh rate. The refresh rate control pin 508 transmits the switched target voltage level to the display driver chip 510 in the display module 509.

[0113] It is understood that the terminal device of the embodiment of the present application stores a preset correspondence between refresh rate and voltage level. After the terminal device detects the refresh rate switch, it switches the voltage level of the refresh rate control pin 508 according to the preset correspondence between refresh rate and voltage level. This allows the display driver chip 510 to detect the voltage level change and implement the refresh rate switch based on the changed voltage level.

[0114] It is understandable that the refresh rate control pin 508 is a pin in a pre-set general-purpose input / output (GPIO) port of the terminal device for indicating refresh rate switching.

[0115] The display driver chip 510 adjusts the register value of the display driver chip 510 according to the target level, and switches the refresh rate of the terminal device to the target refresh rate according to the adjusted register value. The specific implementation method of the display driver chip 510 switching the refresh rate according to the level change is described in detail below.

[0116] As shown in FIG6 , a refresh rate switching system provided by an embodiment of the present application is shown, wherein the refresh rate switching system includes a system on chip (SOC) 601 and a display module 602 .

[0117] The display module 602 includes a display driver chip 603 and a display panel 604 .

[0118] The display driver chip 603 includes a mobile industry processor interface-physical (MIPI PHY) 6031 , a source driver and a gate driver 6032 , a trigger 6033 , and a register 6034 .

[0119] It is understandable that the SoC 601 includes software running in the SoC 601 and hardware of SoC peripherals.

[0120] Based on the example of Figure 5 above, the system-level chip 601 includes the screen visual control system 501, application program interface 502 and application 503 running on the operating system in Figure 5, basic input and output system software 504, embedded controller 505 and Bluetooth micro control unit 506 running on the underlying software, and refresh rate control pin 508 running on the hardware layer.

[0121] Specifically, the system-on-chip 601 and the mobile industry processor physical interface 6031 are connected via a mobile industry processor interface (MIPI).

[0122] For example, the system-on-chip 601 and the mobile industry processor physical interface 6031 are connected and communicated via the physical link MIPI DSI[0:3].

[0123] The system-level chip 601 performs layer drawing, rendering and synthesis, and transmits the synthesized image data to the mobile industry processor physical interface 6031 in the display driver chip 603 via MIPI.

[0124] The system-on-chip 601 and the display driver chip 603 are communicatively connected via a general-purpose input / output (GPIO) port (not shown in FIG. 6 ).

[0125] The GPIO port of the SoC 601 includes the refresh rate control pin 508 shown in FIG5 (not shown in FIG6 ). The GPIO port of the display driver chip 603 includes an input pin (not shown in FIG6 ). Specifically, the refresh rate control pin 508 of the SoC 601 is communicatively connected to the input pin of the display driver chip 603.

[0126] The system-level chip 601 detects the preset operation, determines the target refresh rate indicated by the preset operation, and switches the current level of the refresh rate control pin 508 (not shown in Figure 6) of the system-level chip 601 to the target level corresponding to the target refresh rate according to the target refresh rate.

[0127] Specifically, with reference to the modules in FIG5 , the screen visual control system 501 in the system-on-chip 601 detects a preset operation and determines a target refresh rate in response to the preset operation. The specific implementation method of the screen visual control system 501 detecting the preset operation and determining the target refresh rate is shown above and will not be repeated here. Based on the target refresh rate, the system-on-chip 601 controls the refresh rate control pin 508 of the system-on-chip 601 through the input and output system software 504 to switch the current level to the target level corresponding to the target refresh rate. (The specific implementation process of each module in the system-on-chip 601 is not shown in FIG6 ).

[0128] The input pin of the display driver chip 603 changes the level of the input pin to a target level in response to the level change of the refresh rate control pin of the system-on-chip 601 .

[0129] Specifically, referring to the modules in FIG. 5 , the refresh rate control pin 508 of the system-on-chip 601 transmits the switched target level to the input pin of the display driver chip 603 (not shown in FIG. 6 ).

[0130] It is understandable that the refresh rate control pin 508 of the system-on-chip 601 is communicatively connected to the input pin of the display driver chip 603. The refresh rate control pin 508 is an output end, and the input pin is a receiving end. For example, the system-on-chip 601 detects a preset operation and changes the level of the refresh rate control pin 508 from 0V to 1.8V according to the target refresh rate indicated by the preset operation. The refresh rate control pin 508 outputs a 1.8V voltage to the input pin of the display driver chip 603. Accordingly, the level of the input pin of the display driver chip 603 will increase to 1.8V. The trigger 6033 of the display driver chip 603 detects that the level of the input pin has changed to 1.8V, and triggers the register 6034 in the display driver chip 603 to rewrite the register value according to the changed level 1.8V. The display driver chip performs a refresh rate switching operation according to the rewritten register value.

[0131] In this way, after detecting the preset operation, the system-level chip 601 changes the level of the refresh rate control pin 508 so that the input pin of the display driver chip 603 obtains the changed level and enables the display driver chip 603 to complete the refresh rate switching in response to the changed level.

[0132] The mobile industry processor physical interface 6031 receives the image data sent by the system-on-chip 601 and sends the image data to the source driver and gate driver 6032 .

[0133] The trigger 6033 is connected to the input pin of the display driver chip 603 , obtains the target level from the input pin, and sends the target level to the register 6034 in the display driver chip 603 so that the chip logic circuit in the register 6034 rewrites the register value according to the target level.

[0134] Register 6034 receives the target level sent by trigger 6033 and adjusts the register value according to the target level.

[0135] It is understood that register 6034 includes different operating modes of the display driver chip 603, with each register value corresponding to one operating mode. Register 6034 is preset with various settings, such as the correspondence between register values ​​and operating modes, and the correspondence between register values ​​and information contained in the operating modes. Information contained in the operating modes includes levels, tearing effect signals, circuits, and refresh rates. In other words, register 6034 includes mappings between register values ​​and levels, and between register values ​​and tearing effect signals.

[0136] After adjusting the register value, the register 6034 sends the register value to the source driver and gate driver 6032 so that the source driver and gate driver 6032 adjust the refresh rate according to the register value.

[0137] Register 6034 is further configured to adjust the tearing effect signal (TE signal) used for synchronization according to the adjusted register value and transmit the adjusted tearing effect signal to SoC 601, so that SoC 601 can change the frame rate according to the adjusted tearing effect signal. In other words, SoC 601 draws, renders, and synthesizes layers based on the adjusted tearing effect signal to generate new image data.

[0138] The source driver and gate driver 6032 receives image data sent by the mobile industry processor physical interface 6031 , converts the image data into analog image data (also described as content control signals or analog signals), and sends the content control signals to the display panel 604 .

[0139] It can be understood that the image data received by the source driver and gate driver 6032 from the mobile industry processor physical interface 6031 is digital information, which needs to be converted into continuous analog information (such as electrical signals), and the display panel displays the image according to the analog information.

[0140] The source and gate drivers 6032 receive the adjusted register values ​​sent by the registers 6034 and, based on the settings corresponding to the register values, adjust the refresh rate of the terminal device according to the adjusted register values, switching the refresh rate of the terminal device to the target refresh rate. The source and gate drivers 6032 also send a frame synchronization signal to the display panel 604 based on the target refresh rate, so that the display panel 604 refreshes the displayed image based on the frame synchronization signal, thereby switching the refresh rate of the display panel 604.

[0141] The display panel 604 refreshes the displayed image content according to the content control signal and the frame synchronization signal sent by the source driver and gate driver 6032 .

[0142] The refresh rate switching method of the embodiment of the present application is described in detail below through specific embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0143] 7 , which is a flow chart of a refresh rate switching method provided in an embodiment of the present application, the method includes the following steps S701 - S703:

[0144] S701: The terminal device determines a target refresh rate in response to a preset operation.

[0145] The preset operation includes a pre-set operation that can trigger the terminal device to switch the refresh rate.

[0146] Optionally, the preset operation may be some quick operation of the user, such as a quick operation through gesture, touch, or key combination shortcut keys. The preset operation may also be a voice command of the user. The embodiment of the present application does not limit the specific implementation form of the preset operation.

[0147] The target refresh rate is the refresh rate that the user instructs the terminal device to achieve after completing the refresh rate switch through a preset operation.

[0148] In some embodiments of the present application, the terminal device receives a preset operation triggered by a user, and determines a target refresh rate in response to the preset operation.

[0149] In a possible implementation, the terminal device receives a shortcut operation input by a user, and determines a target refresh rate in response to the shortcut operation.

[0150] In some examples, the setting interface of the terminal device includes a refresh rate control for switching the refresh rate, where multiple refresh rate controls corresponding to different refresh rates can be configured on the setting interface, for example, two refresh rate controls corresponding to 60Hz and 120Hz respectively as shown in Figure 8. It should be understood that the terminal device can achieve multiple refresh rates, and the number and values ​​of refresh rates shown in Figure 8 are only for illustrative purposes.

[0151] As shown in FIG8 , the current refresh rate of the terminal device is 60 Hz. The terminal device receives an operation in which the user clicks the refresh rate control corresponding to 120 Hz. In response to the operation, the terminal device determines that the target refresh rate is 120 Hz. Subsequently, the terminal device switches the refresh rate of the terminal device according to the target refresh rate of 120 Hz. For example, the terminal device switches the refresh rate from 60 Hz to 120 Hz through the following steps S702 and S703.

[0152] Alternatively, a control for switching the refresh rate can be configured on the settings interface. The terminal device can determine the corresponding refresh rate based on the user's cumulative operation of the refresh rate control. For example, the terminal device has a refresh rate of 60Hz and 120Hz, and the current refresh rate is 60HZ. The terminal device detects the user clicking the refresh rate control and determines that the user has indicated a switch to the refresh rate of 120Hz, i.e., the target refresh rate is 120Hz. Subsequently, the terminal device detects the user clicking the refresh rate control again and determines that the user has indicated a switch to the refresh rate of 60Hz, i.e., the target refresh rate is 60Hz.

[0153] In other examples, a key or combination shortcut key for switching the refresh rate of the terminal device is preset on the terminal device or in a keyboard connected to the terminal device. For example, the combination shortcut key for switching the refresh rate of the terminal device in the preset keyboard is a combination of the two keys Fn and R. Still taking the example that the terminal device includes two refresh rates, namely 60Hz and 120Hz, and the current refresh rate of the terminal device is 60Hz. The terminal device receives the operation of the user pressing the Fn key and the R key in the keyboard at the same time, and determines that the refresh rate needs to be switched. Since the terminal device only includes two refresh rates, the terminal device determines in response to the operation that the refresh rate of the current terminal device screen (i.e., 60Hz) needs to be switched to another refresh rate (i.e., 120Hz). In this way, the target refresh rate is determined to be 120Hz.

[0154] In yet other examples, the terminal device presets a key combination of the Fn key and the R key. The terminal device includes multiple refresh rates. The terminal device receives an operation in which a user simultaneously presses the Fn key and the R key on a keyboard, and in response to this operation, displays multiple refresh rate options on a display interface. The terminal device receives an operation in which a user clicks on a refresh rate option and determines the refresh rate clicked by the user as the target refresh rate.

[0155] Optionally, the terminal device may receive a shortcut operation triggered by the user through a wired connection, that is, a shortcut key combination of the Fn key and the R key.

[0156] For example, the terminal device is connected to the keyboard via a data cable, and the terminal device directly receives a shortcut operation in which the user simultaneously presses the Fn key and the R key on the keyboard.

[0157] Optionally, the terminal device may also receive a shortcut operation triggered by the user through a wireless connection, that is, a shortcut key combination of the Fn key and the R key.

[0158] For example, the terminal device is connected to a wireless keyboard via Bluetooth, and the terminal device receives a shortcut operation of a user pressing a combination of the Fn key and the R key on the wireless keyboard at the same time via Bluetooth.

[0159] In another possible implementation, the terminal device receives a voice command input by the user and determines the target refresh rate in response to the voice command. For example, if the terminal device detects the user's voice command "switch refresh rate to 120 Hz", it can determine the target refresh rate to be 120 Hz.

[0160] In some examples, the terminal device receives a refresh rate switching command input by the user through a voice assistant, and the terminal device interacts with the user in response to the refresh rate switching command to determine the target refresh rate.

[0161] The following describes a specific implementation method of the terminal device determining the target refresh rate in response to a preset operation in S701 in conjunction with the modules of the terminal device shown in FIG. 5 .

[0162] In some embodiments of the present application, the application of the terminal device receives a preset operation triggered by the user, determines the instruction information corresponding to the preset operation (such as the operation method, operation object, operation content, etc.), and then sends the instruction information corresponding to the preset operation to the screen visual control system through the application program interface. The screen visual control system determines the target refresh rate based on the instruction information corresponding to the preset operation (for example, the operation content includes the target refresh rate, and the screen visual control system directly determines the target refresh rate based on the instruction information). Subsequently, the screen visual control system sends the target refresh rate to the refresh rate control pin through the basic input and output system to trigger the switching of the refresh rate.

[0163] In other embodiments of the present application, a Bluetooth microcontroller in a terminal device detects a user's keyboard operation. When it detects that a user has triggered a preset operation, the Bluetooth microcontroller determines indication information corresponding to the preset operation. The Bluetooth microcontroller transmits the indication information corresponding to the preset operation to a basic input / output system via an embedded controller. The basic input / output system then uploads the indication information corresponding to the preset operation to a screen display system. The screen display system determines a target refresh rate in response to the indication information corresponding to the preset operation. Subsequently, the screen display system transmits the target refresh rate to a refresh rate control pin via the basic input / output system to trigger a refresh rate switch.

[0164] It is understandable that the embodiment of the present application does not limit the value and number of refresh rates in the terminal device. The following description is based on an example in which the terminal device includes two refresh rates.

[0165] S702: The terminal device switches the first level of the terminal device to the second level according to the target refresh rate.

[0166] The voltage level is the voltage value corresponding to the preset refresh rate. The terminal device switches to different refresh rates through different voltage levels.

[0167] The terminal device detects the preset operation while operating at the first level, that is, the refresh rate of the terminal device before switching to the target refresh rate corresponds to the first level.

[0168] The second level is a level corresponding to the target refresh rate.

[0169] In some embodiments of the present application, the terminal device pre-sets and stores the correspondence between the refresh rate and the level.

[0170] In some embodiments of the present application, multiple refresh rates are represented by different values ​​of a level.

[0171] In some examples, as shown in Table 1, it is a refresh rate and level relationship table pre-set for the terminal device in the embodiment of the present application.

[0172] Table 1

[0173] As shown in Table 1, the terminal device has two refresh rates, 60Hz and 120Hz. The voltage level corresponding to 60Hz is 1.8V, and the voltage level corresponding to 120Hz is 0V.

[0174] It is understandable that the above description is made by taking the terminal device including two refresh rates as an example. In actual applications, the terminal device may include multiple refresh rates, and each refresh rate has its corresponding level.

[0175] In other embodiments of the present application, multiple refresh rates may be represented by multiple levels.

[0176] In other examples, the terminal device includes only two levels, 1.8V high level and 0V low level, for example. In this case, the refresh rate is determined according to different combinations of high and low levels.

[0177] As shown in Table 2, this is a refresh rate and level relationship table pre-set for the terminal device in an embodiment of the present application.

[0178] Table 2

[0179] As shown in Table 2, different refresh rates are distinguished by two levels. The terminal device includes four refresh rates, namely refresh rate 1, refresh rate 2, refresh rate 3 and refresh rate 4. Each refresh rate corresponds to a different level combination. When both levels are 0V, the corresponding refresh rate is refresh rate 1; when the first level of the two levels is 0V and the second level is 1.8V, the corresponding refresh rate is refresh rate 2; when the first level of the two levels is 1.8V and the second level is 0V, the corresponding refresh rate is refresh rate 3; when both levels are 1.8V, the corresponding refresh rate is refresh rate 4;

[0180] It is understandable that the embodiments of the present application do not limit the correspondence between the refresh rate and the level, nor do they limit the number of levels.

[0181] In some embodiments of the present application, the terminal device determines the second level corresponding to the target refresh rate according to a preset corresponding relationship.

[0182] Based on the example of S701 above, when the terminal device receives the preset operation, the current refresh rate of the terminal device is 60Hz. Based on the correspondence between the refresh rate and the level, the current level of the terminal device is determined to be 1.8V. That is, the first level is 1.8V. The terminal device determines that the target refresh rate is 120Hz based on the preset operation, and determines that the second level is 0V based on the correspondence between the refresh rate and the level. Subsequently, the terminal device switches the level from the first level (1.8V) to the second level (0V).

[0183] The following describes a specific implementation of S702 in which the terminal device switches the first level to the second level according to the target refresh rate in conjunction with the modules of the terminal device shown in FIG. 5 and FIG. 6 .

[0184] In some embodiments of the present application, a correspondence between refresh rate and voltage level is pre-stored in the terminal device. The screen visual control system in the terminal device, in response to a preset operation, determines a target refresh rate and, based on the target refresh rate, controls the refresh rate control pin via input / output system software to switch the current first voltage level to a second voltage level corresponding to the target refresh rate.

[0185] The input pin of the display driver chip in the terminal device switches the level of the input pin to a second level in response to the level change of the refresh rate control pin.

[0186] S703: The terminal device switches the refresh rate of the terminal device to the target refresh rate according to the second level.

[0187] In some embodiments of the present application, the terminal device rewrites the register value according to the second level; and switches the refresh rate of the terminal device to the target refresh rate according to the rewritten register value.

[0188] It is understandable that the register stores various preset settings, such as the correspondence between register values ​​and operating modes, and the correspondence between register values ​​and information included in the operating modes.

[0189] The information contained in the working mode includes level, tearing effect signal, circuit and refresh rate, etc. That is, the register includes the mapping relationship between register value and level, the mapping relationship between register value and circuit, and the mapping relationship between register value and tearing effect signal, etc.

[0190] In other embodiments of the present application, the terminal device pre-sets and stores the corresponding relationship between the level and the register value. As shown in Table 3, it is a table of the relationship between the level and the register value pre-set by the terminal device in the embodiment of the present application.

[0191] Table 3

[0192] As shown in Table 3, when the level is 1.8V, the corresponding register value is 1; when the level is 0V, the corresponding register value is 0.

[0193] According to the refresh rate and level information shown in Table 1 in S702 above, and the level and register value information shown in Table 3, the correspondence between the refresh rate, level, and register value is determined, including: when the refresh rate is 60 Hz, the corresponding level is 1.8 V, and the corresponding register value is 1; when the refresh rate is 120 Hz, the corresponding level is 0 V, and the corresponding register value is 0.

[0194] It can be understood that each value of the register corresponds to a circuit, and the terminal device adopts the circuit corresponding to the register value according to the register value.

[0195] In other embodiments of the present application, after the terminal device rewrites the register value according to the second level, the terminal device adjusts the tearing effect signal according to the rewritten register value, changes the frame rate according to the adjusted tearing effect signal, and generates image data according to the adjusted tearing effect signal.

[0196] The tearing effect signal is used to instruct the terminal device to draw, render, and synthesize layers to generate image data. The tearing effect signal is also used to synchronize the refresh rate and frame rate.

[0197] In other embodiments of the present application, after the terminal device switches the refresh rate of the terminal device to the target refresh rate according to the second level, it also includes: the terminal device adjusts the frame synchronization signal according to the target refresh rate, and the terminal device refreshes the displayed image according to the adjusted frame synchronization signal.

[0198] The frame synchronization signal is used to instruct the display panel of the terminal device to refresh the displayed image.

[0199] It's understood that the tearing effect signal is generated by the display driver chip and used by the terminal device's system-on-chip to change the frame rate, synchronizing the changed frame rate with the changed refresh rate. The frame synchronization signal is generated by the display driver chip based on the refresh rate and used to change the refresh rate of the terminal device's display panel. Specifically, the display panel refreshes the displayed image based on the adjusted frame synchronization signal, thereby changing the display panel's refresh rate. In other words, the tearing effect signal and the frame synchronization signal have the same period and function, but they act on different functional components.

[0200] In this way, the rate (frame rate) at which the system-level chip generates images is reversely controlled according to the tearing effect signal, and the refresh rate of the terminal device display panel is controlled by the frame synchronization signal when switching screens. The refresh rate and frame rate are synchronized, which can truly complete the refresh rate / frame rate switching and avoid screen tearing caused by only switching the refresh rate without correspondingly changing the frame rate.

[0201] The following describes a specific implementation method of switching the refresh rate of the terminal device to the target refresh rate according to the second level in S703 of the terminal device in conjunction with the modules of the terminal device shown in FIG. 5 and FIG. 6 .

[0202] In some embodiments of the present application, the mobile industry processor physical interface of the display driver chip in the display module receives image data sent by the system-level chip, decodes the image data, and drives the display panel through the source driver and gate driver to display the image.

[0203] The trigger in the display driver chip is connected to the input pin of the display driver chip, obtains the second electrical level from the input pin, and sends the second electrical level to the register in the display driver chip.

[0204] The register in the display driver chip receives the second level sent by the trigger and adjusts the register value according to the second level.

[0205] It is understood that the register includes different operating modes of the display driver chip, and each register value corresponds to an operating mode. The register is preset with various settings, such as the correspondence between the register value and the operating mode, and the correspondence between the register value and the information contained in the operating mode. Among them, the information contained in the operating mode includes the level, the tearing effect signal, the circuit, and the refresh rate. In other words, the register includes the mapping relationship between the register value and the level, and the mapping relationship between the register value and the tearing effect signal.

[0206] In one example, after the register value is adjusted, the adjusted register value is sent to the source driver and gate driver. The source driver and gate driver switch the refresh rate of the terminal device to the target refresh rate according to the settings corresponding to the adjusted register value according to the relevant settings of the register. A frame synchronization signal is sent to the display panel based on the target refresh rate so that the display panel refreshes the display image based on the frame synchronization signal, thereby achieving the switching of the display panel refresh rate.

[0207] The registers in the display driver chip are further used to adjust the tearing effect signal used for synchronization based on the adjusted register values. The adjusted tearing effect signal is then sent to the terminal device's system-on-chip, allowing the terminal device to change its frame rate based on the adjusted tearing effect signal. In other words, the system-on-chip draws, renders, and synthesizes layers based on the adjusted tearing effect signal to generate new image data.

[0208] The source driver and gate driver in the display driver chip adjust the display panel according to the relevant settings of the register and the settings corresponding to the adjusted register values, switching the refresh rate of the terminal device to the target refresh rate.

[0209] As shown in FIG9 , it is a timing diagram of the terminal device system-level chip drawing an image and the display driver chip refreshing the image before and after the refresh rate is switched.

[0210] Based on the above example, the terminal device refreshes and displays the first frame image and the second frame image in sequence according to the current refresh rate. During the process of the terminal device displaying the second frame image, the terminal device detects that the user triggers a preset operation of switching the refresh rate (such as the user presses the Fn key and the R key on the keyboard at the same time), and then determines the target refresh rate in response to the preset operation. The terminal device changes the level of the general input and output interface in the terminal device according to the target refresh rate, and sends the changed level to the display driver chip. The display driver chip in the terminal device receives the changed level and adjusts the current refresh rate to the target refresh rate according to the changed level. The terminal device displays the third frame image according to the adjusted target refresh rate. The display control chip in the terminal device can also adjust the tearing effect signal according to the changed level so that the terminal device generates an image according to the adjusted tearing effect signal.

[0211] As shown in Figure 9, the first and second frames of image are images displayed on the terminal device before the refresh rate is switched, and the third frame of image is an image displayed on the terminal device after the refresh rate is switched.

[0212] In an embodiment of the present application, a terminal device can detect a preset operation during the display of each image frame. The image display process includes the image transmission time slot and the image effective transmission time. In other words, the terminal device in an embodiment of the present application can switch the refresh rate at any time during image display, without having to switch the refresh rate only during the image transmission time slot as in the prior art. Moreover, the terminal device in an embodiment of the present application switches the refresh rate based on the level change, without the terminal device issuing a switching instruction.

[0213] For example, the screen refresh rate of the terminal device corresponding to the first and second frames of image is 60Hz, and the period of the corresponding tearing effect signal (such as TE1 signal) is 16.66ms. The terminal device receives a preset operation and switches the refresh rate in response to the preset operation. After the switch, the refresh rate of the terminal device is 120Hz, and the period of the corresponding tearing effect signal (such as TE2 signal) is 8.33ms. In Figure 9, the tearing effect signal is represented by a pulse.

[0214] As shown in Figure 9, in some embodiments of the present application, when the refresh rate of the terminal device is 60Hz, the system-level chip draws, renders, and synthesizes the layer in 16.66ms according to the TE1 signal, obtains image data, and transmits the image data to the display driver chip. When the next TE1 signal is received, the image is drawn again to obtain the next frame of image data, and the next frame of image data is sent to the display driver chip.

[0215] Accordingly, the display driver chip displays the image data within 16.66ms according to the TE1 signal, and refreshes and displays the next frame of image data (ie, the next frame of image data sent by the system-level chip) when the next TE1 signal is received.

[0216] As shown in Figure 9, in some other embodiments of the present application, when the refresh rate of the terminal device switches from 60Hz to 120Hz, the system-level chip draws, renders, and synthesizes the layer in 8.33ms according to the TE2 signal, obtains image data, and transmits the image data to the display driver chip. When the next TE2 signal is received, the image is drawn again to obtain the next frame of image data, and the next frame of image data is sent to the display driver chip.

[0217] Accordingly, the display driver chip displays the image data within 8.33 ms according to the TE2 signal, and refreshes and displays the next frame of image data (ie, the next frame of image data sent by the system-level chip) when the next TE2 signal is received.

[0218] Thus, in the solution and method provided by the embodiments of the present application, the terminal device determines a target refresh rate in response to a preset operation; the terminal device switches the first level of the terminal device to a second level based on the target refresh rate; and the terminal device switches the refresh rate of the terminal device to the target refresh rate based on the second level. By changing the level to achieve refresh rate switching, there is no need to rely on interface functions such as switching instructions to achieve refresh rate switching, thus optimizing the refresh rate switching method.

[0219] FIG10 is a flow chart of another refresh rate switching method provided in an embodiment of the present application, wherein the method includes the following steps S1001-S1004:

[0220] S1001. The terminal device displays the Nth frame image; wherein the refresh rate of the Nth frame image is a first refresh rate.

[0221] S1002: The terminal device detects a preset operation, where the preset operation is used to indicate a target refresh rate; wherein the target refresh rate is different from the first refresh rate.

[0222] Optionally, the terminal device detects a preset operation, and the specific implementation method of the preset operation for indicating the target refresh rate is as described in S701 above and will not be repeated here.

[0223] In the embodiment of the present application, each module of the terminal device detects a preset operation, and the specific implementation method of determining the target refresh rate is described in Figure 5 above, which will not be repeated here.

[0224] S1003: The terminal device changes the level of a refresh rate control pin of the system-on-chip of the terminal device according to the target refresh rate.

[0225] In an embodiment of the present application, the terminal device determines the level corresponding to the target refresh rate according to a preset corresponding relationship; and switches the current level of the refresh rate control pin of the system-level chip of the terminal device to the level corresponding to the target refresh rate.

[0226] The preset corresponding relationship is the corresponding relationship between the refresh rate and the level. In the embodiment of the present application, the specific implementation method of the terminal device determining the level corresponding to the target refresh rate according to the preset corresponding relationship is as described in S702 above, which will not be repeated here.

[0227] In the embodiment of the present application, the refresh rate control pin is a pin in a pre-set general input / output port of the system-on-chip for indicating refresh rate switching.

[0228] In an embodiment of the present application, a terminal device includes a display driver chip, which includes an input pin. After the terminal device changes the level of a refresh rate control pin of a system-on-chip of the terminal device according to a target refresh rate, the level of the input pin changes in response to the level change of the refresh rate control pin.

[0229] S1004 . The terminal device displays the (N+1)th frame image in response to the level change; wherein the refresh rate of the (N+1)th frame image is the target refresh rate.

[0230] In an embodiment of the present application, the terminal device responds to the level change and rewrites the register value of the terminal device according to the changed level; the terminal device switches the refresh rate of the terminal device to the target refresh rate according to the rewritten register value of the terminal device; the terminal device displays the (N+1)th frame image according to the target refresh rate.

[0231] In an embodiment of the present application, in combination with the modules of the terminal device shown in Figures 5 and 6, the terminal device includes a system-on-chip, a display driver chip, and a display panel, and the display driver chip includes a register. The terminal device displays the (N+1)th frame of image in response to a level change, including: the display driver chip responds to the level change of the refresh rate control pin and rewrites the register value of the register according to the changed level; the display driver chip switches the refresh rate of the display driver chip to the target refresh rate according to the register value after the register is rewritten; and the display driver chip drives the display panel to display the (N+1)th frame of image according to the target refresh rate.

[0232] In an embodiment of the present application, after the terminal device rewrites the register value according to the terminal device, the terminal device adjusts the tearing effect signal of the terminal device according to the rewritten register value of the terminal device; the terminal device switches the frame rate of the terminal device according to the adjusted tearing effect signal, and generates the (N+1)th frame image according to the switched frame rate.

[0233] Among them, the tearing effect signal is used to synchronize the refresh rate and frame rate.

[0234] In an embodiment of the present application, in combination with the modules of the terminal device as shown in Figures 5 and 6, the display driver chip adjusts the tearing effect signal of the display driver chip according to the register value after the register is rewritten; the display driver chip sends the adjusted tearing effect signal to the system-level chip; the system-level chip switches the frame rate of the system-level chip according to the adjusted tearing effect signal, and generates the (N+1)th frame image according to the switched frame rate.

[0235] Optionally, the specific implementation methods and beneficial effects of the above steps can be found in the corresponding method embodiments above and will not be repeated here.

[0236] The refresh rate switching method provided by the embodiment of the present application is described in detail above in conjunction with Figures 4 to 10. The terminal device provided by the embodiment of the present application is described in detail below in conjunction with Figure 11.

[0237] In one possible design, Figure 11 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. As shown in Figure 11, terminal device 1100 may include: a transceiver unit 1101, a processing unit 1102, and a display unit 1103. Terminal device 1100 may be used to implement the functions of the terminal device involved in the above method embodiment.

[0238] Optionally, the transceiver unit 1101 is used to support the terminal device 1101 to interact with other terminal devices.

[0239] Optionally, the processing unit 1102 is used to support the terminal device 1100 to execute S701, S702 and S703 in Figure 7; and / or to support the terminal device 1100 to execute S1002 and S1003 in Figure 10.

[0240] Optionally, the display unit 1103 is used to support the terminal device 1100 to execute S1001 and S1004 in Figure 10.

[0241] The transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module.

[0242] Optionally, the terminal device 1100 shown in FIG11 may further include a storage unit (not shown in FIG11 ), in which a program or instruction is stored. When the transceiver unit 1104, the processing unit 1102, and the display unit 1103 execute the program or instruction, the terminal device 1100 shown in FIG11 may execute the refresh rate switching method described in the above method embodiment.

[0243] The operations and / or functions of each unit in the terminal device 1100 are respectively for implementing the corresponding processes of the refresh rate switching method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit. For the sake of brevity, they will not be repeated here.

[0244] The technical effects of the terminal device 1100 shown in FIG11 can refer to the technical effects of the refresh rate switching method described in the above method embodiment, and will not be repeated here.

[0245] In addition to being in the form of the terminal device 1100, the technical solution provided in this application may also be a functional unit or chip in the terminal, or a device used in conjunction with the terminal.

[0246] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0247] Optionally, there may be one or more processors in the chip system. The processor may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0248] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be separately provided with the processor, which is not limited in the embodiments of the present application. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or may be provided on different chips. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0249] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0250] It should be understood that each step in the above method embodiment can be completed by hardware integrated logic circuits in a processor or by software instructions. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0251] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the above-mentioned related steps to implement the refresh rate switching method in the above-mentioned embodiment.

[0252] An embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the refresh rate switching method in the above-mentioned embodiment.

[0253] In addition, embodiments of the present application further provide a device. The device may be a component or module, and may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the refresh rate switching method described in each of the above method embodiments.

[0254] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0255] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in a hardware manner or can be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory (RAM), a flash memory, a read-only memory, an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a compact disc read-only memory (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0256] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed; that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0257] In the several embodiments provided in this application, it should be understood that the disclosed methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.

[0258] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0259] Computer-readable storage media include, but are not limited to, any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program code.

[0260] The above is only a specific embodiment of the present application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A refresh rate switching method, characterized in that: The method comprises: The terminal device displays the Nth frame image; wherein the refresh rate of the Nth frame image is the first refresh rate; The terminal device detects a preset operation, where the preset operation is used to indicate a target refresh rate; wherein the target refresh rate is different from the first refresh rate; The terminal device changes the level of a refresh rate control pin of a system-level chip of the terminal device according to the target refresh rate; The terminal device displays the (N+1)th frame image in response to the level change; wherein the refresh rate of the (N+1)th frame image is the target refresh rate.

2. The refresh rate switching method according to claim 1, characterized in that: The terminal device changes the level of a refresh rate control pin of a system-level chip of the terminal device according to the target refresh rate, including: The terminal device determines the level corresponding to the target refresh rate according to a preset corresponding relationship; wherein the preset corresponding relationship is a corresponding relationship between the refresh rate and the level; The current level of the refresh rate control pin of the system-level chip of the terminal device is switched to the level corresponding to the target refresh rate.

3. The refresh rate switching method according to any one of claims 1 to 2, characterized in that: The refresh rate control pin is a pin preset in a general input / output port of the system-on-chip for indicating refresh rate switching.

4. The refresh rate switching method according to any one of claims 1 to 3, characterized in that: The terminal device includes a display driver chip, and the display driver chip includes an input pin; after the terminal device changes the level of a refresh rate control pin of a system-level chip of the terminal device according to the target refresh rate, the method further includes: The input pin changes the level of the input pin accordingly in response to the level change of the refresh rate control pin.

5. The refresh rate switching method according to any one of claims 1 to 4, characterized in that: The terminal device displays the (N+1)th frame of image in response to the level change, including: The terminal device rewrites the register value of the terminal device according to the changed level in response to the level change; The terminal device switches the refresh rate of the terminal device to the target refresh rate according to the register value rewritten by the terminal device; The terminal device displays the (N+1)th frame image according to the target refresh rate.

6. The refresh rate switching method according to any one of claims 4 to 5, characterized in that: The terminal device further includes a display panel, and the display driver chip includes a register; the terminal device displays the (N+1)th frame image in response to the level change, including: The display driver chip responds to the level change of the refresh rate control pin and rewrites the register value of the register according to the changed level; The display driver chip switches the refresh rate of the display driver chip to the target refresh rate according to the register value after the register is rewritten; The display driver chip drives the display panel to display the (N+1)th frame image according to the target refresh rate.

7. The refresh rate switching method according to claim 5, characterized in that: After the terminal device rewrites the register value according to the terminal device, the method further includes: The terminal device adjusts the tearing effect signal of the terminal device according to the register value rewritten by the terminal device; wherein the tearing effect signal is used to synchronize the refresh rate and the frame rate; The terminal device switches the frame rate of the terminal device according to the adjusted tearing effect signal, and generates the (N+1)th frame image according to the switched frame rate.

8. The refresh rate switching method according to claim 6, characterized in that: After the display driver chip rewrites the register value according to the register, the method further includes: The display driver chip adjusts the tearing effect signal of the display driver chip according to the register value rewritten by the register; The display driver chip sends the adjusted tearing effect signal to the system-level chip; The system-on-chip switches the frame rate of the system-on-chip according to the adjusted tearing effect signal, and generates the (N+1)th frame image according to the switched frame rate.

9. A terminal device, characterized in that: The terminal device includes a system-level chip, a display driver chip and a display panel; the system-level chip includes a refresh rate control pin; the terminal device includes: The display panel is used to display an N-th frame image; wherein the refresh rate of the N-th frame image is a first refresh rate; The system-level chip is used to detect a preset operation, and the preset operation is used to indicate a target refresh rate; wherein the target refresh rate is different from the first refresh rate; The system-level chip is further used to change the level of the refresh rate control pin of the system-level chip according to the target refresh rate; The display driver chip is used to drive the display panel to display the (N+1)th frame image in response to the level change; wherein the refresh rate of the (N+1)th frame image is the target refresh rate; The display panel is also used to display the (N+1)th frame image.

10. The terminal device according to claim 9, characterized in that: The system-level chip is further used to determine the level corresponding to the target refresh rate according to a preset corresponding relationship; wherein the preset corresponding relationship is a corresponding relationship between the refresh rate and the level; The system-level chip is also used to switch the current level of the refresh rate control pin to the level corresponding to the target refresh rate.

11. The terminal device according to any one of claims 9 to 10, wherein the display driver chip comprises a register, characterized in that: The display driver chip is further used to respond to the level change of the refresh rate control pin and rewrite the register value of the register according to the changed level; The display driver chip is further used to switch the refresh rate of the display driver chip to the target refresh rate according to the register value after the register is rewritten; The display driver chip is further used to drive the display panel to display the (N+1)th frame image according to the target refresh rate.

12. The terminal device according to any one of claims 9 to 11, characterized in that: The display driver chip is further used to adjust the tearing effect signal of the display driver chip according to the register value after the register is rewritten; The display driver chip is further used to send the adjusted tearing effect signal to the system-level chip; The system-level chip is further used to switch the frame rate of the system-level chip according to the adjusted tearing effect signal, and generate the (N+1)th frame image according to the switched frame rate.

13. A terminal device, characterized in that: The terminal device comprises: a processor and a memory, wherein the memory is coupled to the processor, and the memory is used to store computer-readable instructions. When the processor reads the computer-readable instructions from the memory, the terminal device executes the method as described in any one of claims 1 to 8.

14. A chip system, characterized in that: It includes at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor, and the at least one processor executes the instructions, and the at least one processor executes the method as described in any one of claims 1-8.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program, and when the computer program is executed on a terminal device, the terminal device is caused to execute the method according to any one of claims 1 to 8.

16. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Refresh rate switching method and terminal equipment

    CN119007609A

  • Display device and adjusting method thereof

    CN104376820A

  • Refresh rate switching method and electronic equipment

    CN113362783A

  • Method and device for adjusting refresh frame rate of display screen, processor, chip and terminal

    CN113870812A

  • Display system, display method, computer equipment and storage medium

    CN113946305A

Cited By

  • Display driving method, display driving device and display device

    CN119626184A

  • Multi-layer mixed playing display control method and device, equipment and product

    CN120356443A

  • Multi-layer mixed broadcast display control method and device as well as equipment and product

    CN120356443B

  • Signal period synchronization method, electronic device and computer-readable storage medium

    WO2026149199A1