Refresh rate switching method and terminal device

By changing the refresh rate control pin level of the x86 architecture terminal device, refresh rate switching without relying on switching commands is achieved, solving the problem of the x86 architecture's inflexible switching, ensuring the synchronization of refresh rate and frame rate, and avoiding screen tearing.

CN119007609BActive Publication Date: 2025-12-30HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310565685.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2025-12-30
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

Terminal devices based on the x86 architecture cannot flexibly control refresh rate switching via the MIPI link, resulting in a mismatch between refresh rate and frame rate, causing abnormal issues such as screen tearing.

Method used

By detecting preset operations, the refresh rate is switched by changing the level of the refresh rate control pin of the system-on-a-chip, thus optimizing the refresh rate switching method without relying on interface functions such as switching commands.

Benefits of technology

It enables flexible switching between different refresh rates on terminal devices, avoids screen tearing, and optimizes the refresh rate switching process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007609B_ABST
    Figure CN119007609B_ABST
Patent Text Reader

Abstract

The application provides a refresh rate switching method and a terminal device, and is applied to the technical field of terminals to solve the problem that a terminal device cannot flexibly complete refresh rate switching. The method comprises the following steps: a terminal device displays an Nth frame of image; wherein the refresh rate of the Nth frame of image is a first refresh rate; the terminal device detects a preset operation, and the preset operation is used for indicating 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; and the terminal device displays an (N+1)th frame of image in response to the level change; wherein the refresh rate of the (N+1)th frame of image is the target refresh rate. The application is applied to the refresh rate switching process of a terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a refresh rate switching method and terminal device. Background Technology

[0002] With the development of terminal technology, mobile phones, tablets, and other terminal devices (which can also be described as electronic devices) often adopt a combination of high and low refresh rates. Different refresh rates are used to display images in different scenarios to meet varying user needs. For example, when users play games or watch videos on their phones, a high refresh rate screen provides smoother visuals and a better viewing experience. Conversely, when a user's phone battery is low, a low refresh rate screen saves power and improves battery life. In practical applications, terminal devices need to switch refresh rates according to usage requirements.

[0003] Different terminal devices with different architectures use different methods to switch refresh rates. Currently, the central processing unit (CPU) architecture of terminal devices is mainly classified into two types: the Complex Instruction Set Computer (x86 architecture) (also described as x86 architecture or x86 platform) and the Advanced RISC Machine (ARM) (also described as ARM architecture or ARM platform). Due to the flexibility, versatility, and low cost of the Mobile Industry Processor Interface (MIPI) display serial interface, it is widely used in both ARM and x86 CPU architectures. Furthermore, the MIPI display serial interface protocol specifies that the MIPI data link can transmit video data and control commands. Therefore, the common ARM architecture controls the refresh rate of the display module by issuing commands through the MIPI link. Unlike the ARM architecture, x86 architecture products pursue standardization, and for display module refresh rate switching control, command control configured with the MIPI link has not been developed. Therefore, existing x86 architectures cannot flexibly control the refresh rate of the display module through MIPI. Summary of the Invention

[0004] This application provides a refresh rate switching method and a terminal device, which enables the terminal device to flexibly switch refresh rates and optimize refresh rate switching strategies.

[0005] To achieve the above-mentioned technical objectives, the embodiments of this application provide the following technical solutions:

[0006] In a first aspect, a refresh rate switching method is provided, 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, which indicates a target refresh rate; wherein the target refresh rate is different from the first refresh rate. The terminal device changes the level of the refresh rate control pin of its system-on-a-chip (SoC) according to the target refresh rate. The terminal device displays an (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.

[0007] In this way, after detecting a preset operation, the terminal device changes its voltage level according to the target refresh rate indicated by the preset operation. Refresh rate switching is achieved through voltage level changes, eliminating the need for interface functions such as switching commands, thus optimizing the refresh rate switching method and enabling the terminal device to flexibly perform refresh rate switching.

[0008] According to the first aspect, the preset operation includes pre-set operations that can trigger the terminal device to switch refresh rates.

[0009] According to the first aspect, in one possible implementation, 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.

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

[0011] In this way, preset operations to trigger refresh rate switching can be set in advance, and the terminal device can be quickly triggered to switch refresh rates according to the preset operations, simplifying the refresh rate switching process.

[0012] According to the first aspect, in one possible implementation, the terminal device changes the level of the refresh rate control pin of the system-on-a-chip (SoC) of the terminal device according to the target refresh rate, including: the terminal device determining the level corresponding to the target refresh rate according to a preset correspondence; and switching the current level of the refresh rate control pin of the SoC of the terminal device to the level corresponding to the target refresh rate.

[0013] According to the first aspect, in one possible implementation, the preset correspondence is the correspondence between refresh rate and level.

[0014] In some examples, the voltage level is the preset refresh rate. The terminal device switches to different refresh rates using different voltage levels.

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

[0016] In some examples, multiple levels are used to represent multiple refresh rates.

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

[0018] According to the first aspect, in one possible implementation, the refresh rate control pin is a pre-configured pin in the general-purpose input / output port of the system-on-a-chip used to indicate refresh rate switching.

[0019] According to the first aspect, in one possible implementation, the terminal device includes a display driver chip, which includes an input pin; after the terminal device changes the level of the refresh rate control pin of the system-on-a-chip of the terminal device according to the target refresh rate, the method further includes: the input pin responds to the level change of the refresh rate control pin by correspondingly changing the level of the input pin.

[0020] According to the first aspect, in one possible implementation, the terminal device displays the (N+1)th frame image in response to a level change, including: the terminal device rewriting the register value of the terminal device according to the changed level in response to the level change; the terminal device switching the refresh rate of the terminal device to a target refresh rate according to the rewritten register value of the terminal device; and the terminal device displaying the (N+1)th frame image according to the target refresh rate.

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

[0022] According to the first aspect, in one possible implementation, the terminal device displays the (N+1)th frame image according to the target refresh rate, including: the terminal device adjusting the frame synchronization signal according to the target refresh rate, and the terminal device refreshing and displaying the (N+1)th frame image according to the adjusted frame synchronization signal.

[0023] According to the first aspect, in one possible implementation, the terminal device further includes a display driver chip and a display panel. The display driver chip drives the display panel to display the (N+1)th 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)th frame image according to the frame synchronization signal.

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

[0025] In some examples, registers store various preset settings. Examples include the correspondence between register values ​​and operating modes, and the correspondence between register values ​​and the information contained in the operating modes. The information contained in the operating modes includes voltage levels, tearing signals, circuitry, and refresh rate.

[0026] For example, 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.

[0027] According to the first aspect, in one possible implementation, after the terminal device modifies the register value according to the terminal device, the method further includes: the terminal device adjusting the tearing effect signal of the terminal device according to the modified register value of the terminal device; the terminal device switching the frame rate of the terminal device according to the adjusted tearing effect signal, and generating the (N+1)th frame image according to the switched frame rate.

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

[0029] According to the first aspect, in one possible implementation, after the display driver chip modifies the register value according to the register, the method further includes: the display driver chip adjusting the tearing effect signal of the display driver chip according to the modified register value; the display driver chip sending the adjusted tearing effect signal to the system-on-a-chip; the system-on-a-chip switching the frame rate of the system-on-a-chip according to the adjusted tearing effect signal, and generating the (N+1)th frame image according to the switched frame rate.

[0030] In this way, by controlling the rate (frame rate) at which the system-on-a-chip generates images based on the tearing effect signal, and controlling the refresh rate of the terminal device's display panel through 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.

[0031] Secondly, a terminal device is provided, comprising a system-on-a-chip (SoC), a display driver chip, and a display panel; the SoC includes a refresh rate control pin. The display panel is used to display an Nth frame image; wherein the refresh rate of the Nth frame image is a first refresh rate. The SoC is used to detect 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 SoC is also used to change the level of the refresh rate control pin of the SoC according to the target refresh rate. The display driver chip is used to drive the display panel to display an (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.

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

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

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

[0035] Thirdly, 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, wherein when the processor reads the computer-readable instructions from the memory, the terminal device causes the terminal device to execute the method of the first aspect or any embodiment of the first aspect.

[0036] Fourthly, a chip system includes at least one processor and at least one interface circuit, the at least one interface circuit being used to perform transceiver functions and send instructions to at least one processor, the at least one processor executing the instructions, and the at least one processor performing the method of the first aspect or any embodiment of the first aspect.

[0037] Fifthly, a computer-readable storage medium comprising a computer program that, when executed on a terminal device, causes the terminal device to perform the method of the first aspect or any embodiment of the first aspect.

[0038] Sixthly, a computer program product that, when run on a computer, causes the computer to perform the method of the first aspect or any of the embodiments of the first aspect.

[0039] The technical effects corresponding to any implementation method of aspects two through six, as well as any aspect, can be found in the first aspect and the technical effects corresponding to any implementation method of the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0040] Figure 1 This is a schematic diagram of the structure of a terminal device screen provided in an embodiment of this application;

[0041] Figure 2 A timing diagram for refresh rate switching in a terminal device provided in an embodiment of this application;

[0042] Figure 3 This is a schematic diagram of the architecture for switching refresh rates in a terminal device according to an embodiment of this application;

[0043] Figure 4 This is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of this application;

[0044] Figure 5 This is a flowchart illustrating the interaction between various modules in a refresh rate switching method provided in an embodiment of this application.

[0045] Figure 6 This application provides a schematic diagram of the architecture of a refresh rate switching system.

[0046] Figure 7 A flowchart illustrating a refresh rate switching method provided in this application embodiment.

[0047] Figure 8 This is a schematic diagram illustrating an application scenario of a refresh rate switching method provided in an embodiment of this application.

[0048] Figure 9 A timing diagram for refresh rate switching provided in an embodiment of this application;

[0049] Figure 10 A flowchart illustrating another refresh rate switching method provided for embodiments of this application;

[0050] Figure 11This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. Detailed Implementation

[0051] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.

[0052] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0053] In the description of the embodiments of this application, unless otherwise stated, "a plurality of" means two or more. In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0054] First, some of the terms and related technologies used in this application will be explained to facilitate understanding by those skilled in the art.

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

[0056] like Figure 1 The image shown is a schematic diagram of the structure of a terminal device 10 screen. Figure 1 Taking a terminal device comprising two display driver chips 12 (such as display driver chip 1 and display driver chip 2) as an example. The display panel 11 is the display area (light-emitting area) of the terminal device screen. The two display driver chips 12 (such as display driver chip 1 and display driver chip 2) are packaged under the screen, for example, by directly bonding the two display driver chips to the glass substrate using chip-on-glass (COG) technology.

[0057] Refresh rate: The refresh rate refers to the number of times the image on the screen is updated per unit of time (one second), measured in Hertz (Hz). For example, a screen with a refresh rate of 60Hz means that the screen refreshes the image 60 times per second. The higher the refresh rate, the more times the screen refreshes the displayed image per second. Correspondingly, the refresh time interval between each image is smaller, and the smoother the picture is.

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

[0059] As you can understand, the frame rate is the number of frames of images generated per second by the SOC. The refresh rate is the number of times the screen refreshes per second, determining how many times the screen displays images per second. If the frame rate is higher than the refresh rate, some image frames cannot be displayed to the user, resulting in a choppy and unsmooth display. Furthermore, due to this asynchrony, a tearing effect (TE) can occur between two frames on the screen. If the frame rate is lower than the refresh rate, the screen will repeatedly display the same image, causing stuttering. In other words, when the frame rate and refresh rate are out of sync, screen tearing and other issues will occur. Normally, the refresh rate and frame rate are the same; when the screen's refresh rate changes, the frame rate also needs to be adjusted accordingly to avoid screen tearing.

[0060] In practical applications, high refresh rates are mainly used in gaming scenarios and fast-scrolling 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 scenarios. In these scenarios, using low refresh rates and low frame rates can ensure the smoothness of the screen, reduce power consumption, and improve battery life.

[0061] The tearing effect signal (also described as the TE signal) is a signal generated by the display driver chip to prevent screen tearing during image refresh. The TE signal is a periodic signal. Terminal devices configured with MIPI command mode typically use the TE signal to synchronize and control the SOC frame rate and screen refresh rate. The TE signal synchronizes the processes of image drawing, rendering, compositing, and screen refresh display. In each cycle corresponding to the same TE signal, the SOC draws, renders, and composites 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 uncaptures the image data packet and refreshes the display of the image.

[0062] To facilitate understanding of the technical aspects of this solution, the specific process of displaying images on the terminal device screen is described below. The SOC (System-on-a-Chip) draws, renders, and composites the layers, then transmits the composited 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 reconstructs the digital image data into continuous voltage signals to drive the panel, thereby achieving the purpose of displaying and refreshing the image.

[0063] In related technologies, when ARM-based terminal devices switch refresh rates, the System-on-Chips (SoC) sends a specific switching command to the display driver chip via MIPI before the switch, notifying the display driver chip that the refresh rate has changed. The display driver chip responds to this switching command by actively changing the frequency and period of the TE signal, thereby achieving the refresh rate switch. However, the SoC of an ARM-based terminal device can only send the switching command to the display driver chip within the image transmission time slot. The display driver chip must respond promptly and complete the refresh rate switch before the next frame of image is refreshed and displayed. In other words, ARM-based terminal devices switch refresh rates simultaneously with the issuance of the switching command, which has high timing requirements.

[0064] Specifically, such as Figure 2 The diagram shown illustrates a timing sequence for refresh rate switching. A single image frame can be divided into three regions: the vertical back porch (VBP), which can also be described as a vertical backward blanking region; the active data region (ACT); and the vertical front porch (VFP), which can also be described as a vertical forward blanking region. ACT is used to output one frame of image data, while VBP and VFP are transmission slots containing no active image data. VBP and VFP are not used to transmit image data but are used to match the display rate on the screen and the rendering rate by the SOC.

[0065] like Figure 2 As shown, the refresh rate of the first and second frames is 120Hz, and the TE signal corresponding to the first and second frames is TE1. The period of TE1 corresponding to 120Hz is 8.33 milliseconds (ms).

[0066] In some examples, after the second frame of the image is transmitted, a refresh rate switch occurs. The VFP of the second frame receives a switching command from the SOC (e.g., a switching command instructing the refresh rate to switch from 120Hz to 60Hz). The display driver chip responds to this switching command by changing the TE signal (e.g., changing TE1 to TE2), adjusting the period of the TE signal. For example, the period of TE1 corresponding to 60Hz is 16.66ms. Subsequent frames (e.g., the third frame) are transmitted and displayed based on the adjusted TE signal (e.g., TE2).

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

[0068] It is understandable that when terminal devices switch refresh rates, the image data rendering and transmission cycle changes, with the rendering and transmission cycle being longer at low refresh rates than at high refresh rates.

[0069] like Figure 3 The diagram shown is a schematic of the architecture for switching refresh rates in terminal devices in related technologies.

[0070] The on-screen display (OSD) (also described as a screen control system) 301 in the terminal device's operating system detects the user's operation to switch refresh rates and sends the user operation to the graphics driver 303 in the underlying software through the application programming interface (API) 302. The graphics driver generates a switching command in response to the user operation and sends the switching command 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 switch.

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

[0072] In related technologies, x86 architecture terminal devices use the MIPI display interface to complete the process of image rendering and transmission rate changes. However, the development maturity of MIPI functionality in the x86 architecture is relatively low, and some functions cannot be implemented. For example, when x86 architecture terminal devices switch refresh rates via MIPI, the specific switching command is omitted. Therefore, the display driver chip of the x86 architecture terminal device cannot receive the switching command, and thus cannot adjust the TE signal according to the switching command. This leads to a mismatch between the frame rate of the image generated by the terminal device system and the refresh rate of the screen image, resulting in timing asynchrony, screen tearing, and other abnormal problems.

[0073] To address the problems existing in related technologies, this application provides a refresh rate switching method. In this method, a terminal device responds to a preset operation to determine a target refresh rate; the terminal device switches its voltage level to the level corresponding to the target refresh rate; the terminal device switches its current refresh rate to the target refresh rate in response to the switched voltage level; the tearing effect signal is adjusted according to the switched target refresh rate; and the frame rate is changed according to the adjusted tearing effect signal. By changing the voltage level, the refresh rate and frame rate are switched, eliminating the need to rely on interface functions such as switching commands to achieve refresh rate switching, thus optimizing the refresh rate switching method.

[0074] In this embodiment, the CPU architecture of the terminal device can be either x86 or ARM. It should be understood that with technological advancements, the CPU architecture of the terminal device can also be other types of architectures.

[0075] The refresh rate switching method provided in this application can be applied to terminal devices with display functions. Terminal devices can also be referred to as terminals, user equipment (UE), mobile stations (MS), mobile terminals (MT), etc.

[0076] In this application's embodiments, the terminal device can be a mobile phone, computer, 2-in-1 laptop, 2-in-1 tablet, laptop, smart TV, tablet computer, computer with wireless transceiver capabilities, augmented reality (AR) terminal device / virtual reality (VR) device, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), artificial intelligence (AI) terminal, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. This application's embodiments do not limit the specific technology or device form used in the terminal device.

[0077] Figure 4 A schematic diagram of the hardware structure of the terminal device 400 is shown.

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

[0079] The structure illustrated in this embodiment of the invention does not constitute a limitation on the terminal device 400. It may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of both.

[0080] Processor 410 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0081] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0082] The processor 410 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor is a cache memory, which can store instructions or data that the processor has just used or that are used repeatedly. If the processor needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces processor waiting time, and thus improves system efficiency.

[0083] In some embodiments, the processor 410 may include one or more interfaces. 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, etc.

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

[0085] The external storage interface 420 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device 400. The external storage card communicates with the processor through the external storage interface to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.

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

[0087] The USB 4300 interface is a USB standard compliant interface, which can be a Mini USB interface, Micro USB interface, USB Type-C interface, etc. This USB interface can be used to connect a charger to charge the terminal device 400, and can also be used for data transfer between the terminal device 400 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other terminal devices, such as AR devices.

[0088] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are illustrative and do not constitute a structural limitation on the terminal device 100. In other embodiments of this application, the terminal device 400 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.

[0089] The charging management module 440 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 440 receives charging input from the wired charger via a USB interface 430. In some wireless charging embodiments, the charging management module 440 receives 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 supply power to the terminal device via the power management module 441.

[0090] The power management module 441 connects 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 to power the processor, internal memory, external memory, and display screen, etc. The power management module can also monitor parameters such as battery capacity and battery health status (leakage current, impedance). In some other embodiments, the power management module 441 may also be located within the processor 410. In other embodiments, the power management module 441 and the charging management module 440 may be located in the same device.

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

[0092] 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 one or more 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.

[0093] The radio frequency (RF) module 450 can provide a communication processing module for wireless communication solutions, including 2G-5G, applied to the terminal device 400. The RF module 450 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The RF module 450 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The RF module 450 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the RF module 450 may be housed in the processor 410. In some embodiments, at least some functional modules of the RF module 450 and at least some modules of the processor 410 may be housed in the same device.

[0094] The modem processor may include a modulator and a demodulator. The modulator modulates a low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor displays images or videos via display screen 494. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 410 and housed within the same device as the radio frequency module 450 or other functional modules.

[0095] The communication module 460 provides a communication processing module for solutions of wireless communication applied to the terminal device 400, 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), and infrared (IR) technologies. The communication module 460 can be one or more devices integrating at least one communication processing module. The communication module receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to the processor. The communication module 460 can also receive signals to be transmitted from processor 410, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0096] 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, enabling terminal device 400 to communicate with networks and other devices via wireless communication technology. The wireless communication technology 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 technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS) and / or the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS) and / or satellite-based augmentation systems (SBAS), etc.

[0097] The audio module 470 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module can also be used for encoding and decoding audio signals.

[0098] 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. The touch sensor, also known as a "touch panel," can be installed on the display screen. It is used to detect touch operations applied to or near the display.

[0099] Camera 493 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element may 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 1.

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

[0101] Display screen 494 is used to display images, videos, etc. The display screen includes a display panel. The display panel can be an LCD (liquid crystal display), OLED (organic light-emitting diode), active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLED), Minied, MicroLED, Micro-OLED, quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 400 may include one or N displays, where N is a positive integer greater than 1. In this embodiment, display screen 494 is used to display images at different refresh rates.

[0102] The terminal device 400 may also include components such as a battery 442, but this application embodiment does not impose any restrictions on this.

[0103] To make it easier to understand, the following will be combined with Figure 5 The interaction process between the various modules involved in the refresh rate switching method provided in the embodiments of this application will be described.

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

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

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

[0107] Specifically, the screen control system 501 responds to preset operations and determines the target refresh rate.

[0108] In one possible implementation, 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 screen control system 501 through application programming interface 502; screen control system 501 responds to the indication information corresponding to the preset operation and determines the target refresh rate.

[0109] In another possible implementation, the Bluetooth microcontroller unit 506 detects user operations on the keyboard 507 (e.g., the Bluetooth microcontroller unit 506 receives key information uploaded by the keyboard 507). When a user triggers a preset operation (e.g., if the key information uploaded by the keyboard 507 matches the key information of a preset operation, it is determined that the user has triggered the preset operation), the indicator information corresponding to the preset operation is determined, and the indicator information corresponding to the preset operation is sent to the basic input / output system software 504 via the embedded controller 505. The basic input / output system software 504 then uploads the indicator information corresponding to the preset operation to the screen monitoring system 501. The screen monitoring system 501 responds to the indicator information corresponding to the preset operation and determines the target refresh rate.

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

[0111] It is understood that the terminal device in this application embodiment stores a preset correspondence between refresh rate and voltage level. After detecting a refresh rate switch, the terminal device 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 switch the refresh rate according to the changed voltage level.

[0112] It is understandable that the refresh rate control pin 508 is a pin in the general-purpose input / output (GPIO) port of the terminal device that is pre-configured to indicate refresh rate switching.

[0113] The display driver chip 510 adjusts the register values ​​in its registers according to the target voltage level, and switches the refresh rate of the terminal device to the target refresh rate based on the adjusted register values. The specific implementation method of the display driver chip 510 switching the refresh rate according to the voltage level change is described below.

[0114] like Figure 6 The image shows a refresh rate switching system provided in an embodiment of this application. The refresh rate switching system includes a system-on-chip (SOC) 601 and a display module 602.

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

[0116] 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.

[0117] It is understandable that the system-on-a-chip 601 includes the software running on the system-on-a-chip 601 and the hardware of the system-on-a-chip peripherals.

[0118] Based on the above Figure 5 For example, system-on-chip 601 includes Figure 5The system includes a screen control system 501, an application programming interface 502 and an application 503 running on the operating system; a basic input / output system software 504, an embedded controller 505 and a Bluetooth microcontroller unit 506 running on the underlying software; and a refresh rate control pin 508 running on the hardware layer.

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

[0120] For example, the system-on-a-chip 601 and the mobile industry processor physical interface 6031 communicate via the MIPI DSI[0:3] physical link.

[0121] The system-on-a-chip 601 draws, renders, and composites the layers, and transmits the composited image data to the mobile industrial processor physical interface 6031 in the display driver chip 603 via MIPI.

[0122] The system-on-a-chip 601 and the display driver chip 603 communicate via general-purpose input / output (GPIO) ports. Figure 6 (Not shown in the image) Communication connection.

[0123] The general purpose input / output ports of the system-on-a-chip 601 include Figure 5 The refresh rate control pin 508 is shown. Figure 6 (Not shown in the image). The general-purpose input / output ports of the display driver chip 603 include input pins (…). Figure 6 (Not shown in the image). Specifically, the refresh rate control pin 508 of the system-on-a-chip 601 is communicatively connected to the input pin of the display driver chip 603.

[0124] The system-on-chip 601 detects a preset operation, determines the target refresh rate indicated by the preset operation, and adjusts the refresh rate control pin 508 of the system-on-chip 601 according to the target refresh rate. Figure 6 (Not shown in the image) The current level is switched to the target level corresponding to the target refresh rate.

[0125] Specifically, in combination Figure 5The modules within the system-on-a-chip (SoC) 601 are described below. The screen control system 501 detects a preset operation and determines the target refresh rate in response to this operation. The specific implementation of the screen control system 501 detecting the preset operation and determining the target refresh rate is described above and will not be repeated here. Based on the target refresh rate, the SoC 601 controls the refresh rate control pin 508 of the system-on-a-chip 601 to switch the current level to the target level corresponding to the target refresh rate via the input / output system software 504. Figure 6 (The specific implementation process of each module in the system-on-a-chip 601 is not shown in the figure).

[0126] The input pin of the display driver chip 603 responds to the level change of the refresh rate control pin of the system-on-a-chip 601, and correspondingly changes the level of the input pin to the target level.

[0127] Specifically, in combination Figure 5 The modules are described below. The refresh rate control pin 508 of the system-on-a-chip 601 transmits the switched target level to the input pin of the display driver chip 603. Figure 6 (Not shown in the image).

[0128] It is understood that the refresh rate control pin 508 of the system-on-a-chip (SoC) 601 is communicatively connected to the input pin of the display driver chip 603. The refresh rate control pin 508 is an output, and the input pin is a receiver. For example, when the SoC 601 detects a preset operation, it 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. Correspondingly, 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 the change in the input pin level to 1.8V and triggers the register 6034 in the display driver chip 603 to rewrite the register value based on the changed 1.8V level. The display driver chip then performs a refresh rate switching operation based on the rewritten register value.

[0129] Thus, after detecting a preset operation, the system-on-a-chip 601 changes the level of the refresh rate control pin 508 so that the input pin of the display driver chip 603 can obtain the changed level and the display driver chip 603 can complete the refresh rate switching in response to the changed level.

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

[0131] The trigger 6033 is connected to the input pin of the display driver chip 603. It 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 can rewrite the register value according to the target level.

[0132] Register 6034 receives the target level sent by flip-flop 6033 and adjusts the register value according to the target level.

[0133] It is understandable that register 6034 includes different operating modes of display driver chip 603, with each register value corresponding to one operating mode. Register 6034 has various preset settings, such as the correspondence between register values ​​and operating modes, and the correspondence between register values ​​and the information contained in the operating modes. The information contained in the operating modes includes voltage levels, tearing effect signals, circuitry, and refresh rates. In other words, register 6034 includes mapping relationships between register values ​​and voltage levels, as well as mapping relationships between register values ​​and tearing effect signals.

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

[0135] Register 6034 is also used to adjust the tearing effect signal (TE signal) used for synchronization based on the adjusted register value, and send the adjusted tearing effect signal to system-on-chip 601 so that system-on-chip 601 can change the frame rate according to the adjusted tearing effect signal. That is, system-on-chip 601 performs layer drawing, rendering and compositing based on the adjusted tearing effect signal to generate new image data.

[0136] The source driver and gate driver 6032 receive image data sent by the mobile industry processor physical interface 6031, convert the image data into analog image data (which can also be described as content control signals or analog signals), and send the content control signals to the display panel 604.

[0137] It is understandable that the image data received by the source driver and gate driver 6032 from the mobile industrial 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 accordingly based on the analog information.

[0138] The source driver and gate driver 6032 receive the adjusted register value sent by the register 6034, and adjust the refresh rate of the terminal device according to the relevant settings corresponding to the adjusted register value, switching the refresh rate of the terminal device to the target refresh rate. Then, a frame synchronization signal is sent to the display panel 604 according to the target refresh rate, so that the display panel 604 refreshes the displayed image based on the frame synchronization signal, thereby realizing the switching of the refresh rate of the display panel 604.

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

[0140] The refresh rate switching method of this application will be 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 described again in some embodiments.

[0141] refer to Figure 7 , Figure 7 This is a flowchart illustrating a refresh rate switching method provided in an embodiment of this application. The method includes the following steps S701-S703:

[0142] S701, The terminal device responds to the preset operation and determines the target refresh rate.

[0143] Among them, the preset operations include pre-set operations that can trigger the terminal device to switch refresh rates.

[0144] Optionally, the preset operation can be certain shortcut operations performed by the user, such as shortcut operations via gestures, touch, or key combinations. The preset operation can also be a user's voice command. Furthermore, the specific implementation of the preset operation is not limited in this embodiment.

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

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

[0147] In one possible implementation, the terminal device receives a shortcut input from the user and, in response to the shortcut input, determines the target refresh rate.

[0148] In some examples, the terminal device's settings interface includes refresh rate controls for switching refresh rates. The settings interface can be configured with multiple refresh rate controls, each corresponding to a different refresh rate. For example, ... Figure 8The two refresh rate controls shown correspond to 60Hz and 120Hz respectively. It should be understood that the terminal device can achieve multiple refresh rates. Figure 8 The refresh rate numbers and values ​​shown are for illustrative purposes only.

[0149] Among them, such as Figure 8 As shown, the current refresh rate of the terminal device is 60Hz. The terminal device receives a user's click on the refresh rate control corresponding to 120Hz, and in response to this action, determines the target refresh rate to be 120Hz. Subsequently, the terminal device switches its refresh rate according to the target refresh rate of 120Hz. For example, the terminal device switches the refresh rate from 60Hz to 120Hz through the following steps S702 and S703.

[0150] Alternatively, a control for switching refresh rates can be configured in the settings interface. The terminal device can determine the corresponding refresh rate based on the user's cumulative operations on this control. For example, if the terminal device has refresh rates 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 indicates a switch to 120Hz, meaning the target refresh rate is 120Hz. Then, if the terminal device detects the user clicking the refresh rate control again and determines that the user indicates a switch to 60Hz, meaning the target refresh rate is 60Hz.

[0151] In other examples, a key or shortcut key combination for switching the refresh rate of the terminal device is preset on the terminal device or the keyboard connected to the terminal device. For example, the preset shortcut key combination for switching the refresh rate of the terminal device is the combination of the Fn key and the R key. Again, assuming the terminal device has two refresh rates, 60Hz and 120Hz, and the current refresh rate of the terminal device is 60Hz, the terminal device receives the user's operation of pressing the Fn key and the R key simultaneously, and determines that a refresh rate switch is needed. Since the terminal device only has two refresh rates, in response to this operation, the terminal device determines that the current refresh rate of the terminal device screen (i.e., 60Hz) needs to be switched to the other refresh rate (i.e., 120Hz). Thus, the target refresh rate is determined to be 120Hz.

[0152] In some other examples, the terminal device defaults to the key combination of Fn and R. The terminal device includes multiple refresh rates. The terminal device receives a user's simultaneous press of the Fn and R keys on the keyboard, and in response, displays multiple refresh rate options on the display interface. The terminal device also receives a user's click on a specific refresh rate option and determines the clicked refresh rate as the target refresh rate.

[0153] Optionally, the terminal device can receive shortcut operations triggered by the user using the combination of the Fn key and the R key via a wired connection.

[0154] For example, the terminal device is connected to the keyboard via a data cable, and the terminal device directly receives the shortcut operation of the user pressing the Fn key and the R key at the same time on the keyboard.

[0155] Optionally, the terminal device can also receive shortcut operations triggered by the user using the combination of the Fn key and the R key via a wireless connection.

[0156] For example, a terminal device connects to a wireless keyboard via Bluetooth, and the terminal device receives shortcut operations from the user when pressing the Fn key and the R key simultaneously on the wireless keyboard via Bluetooth.

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

[0158] In some examples, the terminal device receives a refresh rate switching command input by the user via a voice assistant, and the terminal device responds to the refresh rate switching command by interacting with the user to determine the target refresh rate.

[0159] The following is combined with, for example Figure 5 The module description of the terminal device shown in S701 illustrates the specific implementation method of the terminal device responding to a preset operation and determining the target refresh rate.

[0160] In some embodiments of this application, the terminal device's application receives a preset operation triggered by a user, determines the corresponding indication information (e.g., operation method, operation object, operation content, etc.) for the preset operation, and then sends the indication information corresponding to the preset operation to the screen control system via the application programming interface. The screen control system determines the target refresh rate based on the indication information corresponding to the preset operation (e.g., if the operation content includes the target refresh rate, the screen control system directly determines the target refresh rate based on the indication information). Subsequently, the screen control system sends the target refresh rate to the refresh rate control pin via the basic input / output system to trigger a refresh rate switch.

[0161] In other embodiments of this application, the Bluetooth microcontroller unit in the terminal device detects user operations on the keyboard. When a preset operation is detected, the microcontroller unit determines the corresponding indication information. The Bluetooth microcontroller unit sends the indication information to the basic input / output system (PIS) via an embedded controller, and the PIS then uploads the indication information to the screen control system. The screen control system, in response to the indication information, determines the target refresh rate. Subsequently, the screen control system sends the target refresh rate to the refresh rate control pin via the PIS to trigger refresh rate switching.

[0162] It is understood that the embodiments of this application do not limit the value or number of refresh rates in the terminal device. The following description uses a terminal device with two refresh rates as an example.

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

[0164] Here, the voltage level refers to the voltage value corresponding to the preset refresh rate. The terminal device switches to different refresh rates by using different voltage levels.

[0165] Specifically, when the terminal device is operating at the first level, it detects a preset operation. That is, the refresh rate before the terminal device switches to the target refresh rate corresponds to the first level.

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

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

[0168] In some embodiments of this application, multiple refresh rates are represented by different values ​​of a single voltage level.

[0169] In some examples, as shown in Table 1, there is a table showing the relationship between refresh rate and level preset in the terminal device in this application embodiment.

[0170] Table 1

[0171] refresh rate Level 60Hz 1.8V 120Hz 0V

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

[0173] It is understandable that the above explanation uses a terminal device with two refresh rates as an example. In actual applications, a terminal device may have multiple refresh rates, and each refresh rate has its corresponding voltage level.

[0174] In other embodiments of this application, multiple refresh rates can also be represented by multiple voltage levels.

[0175] In other examples, we will illustrate the concept by assuming that the terminal device only includes two voltage levels: 1.8V high and 0V low. In this case, the refresh rate is determined based on the different combinations of high and low voltage levels.

[0176] Table 2 shows the refresh rate and level relationship table preset in the terminal device in this application embodiment.

[0177] Table 2

[0178] refresh rate Level Refresh rate 1 0V, 0V Refresh rate 2 0V, 1.8V Refresh rate 3 1.8V, 0V Refresh rate 4 1.8V, 1.8V

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

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

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

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

[0183] The following is combined with, for example Figure 5 and Figure 6 The module descriptions of the terminal device shown illustrate the specific implementation method of how the S702 terminal device switches the first level to the second level according to the target refresh rate.

[0184] In some embodiments of this application, the terminal device pre-stores the correspondence between refresh rate and voltage level. The screen control system in the terminal device responds to a preset operation, determines the target refresh rate, and then, 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 the second voltage level corresponding to the target refresh rate.

[0185] In the terminal device, the input pin of the display driver chip responds to the level change of the refresh rate control pin, switching the level of the input pin to the second level.

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

[0187] In some embodiments of this 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 registers store various preset settings, such as the correspondence between register values ​​and operating modes, and the correspondence between register values ​​and the information contained in the operating modes.

[0189] The operating mode includes information such as voltage levels, tearing signals, circuitry, and refresh rate. Specifically, the registers contain mappings between register values ​​and voltage levels, between register values ​​and circuitry, and between register values ​​and tearing signals.

[0190] In some other embodiments of this application, the terminal device pre-sets and stores the correspondence between voltage levels and register values. Table 3 shows the pre-set voltage level and register value relationship table in the embodiments of this application.

[0191] Table 3

[0192] Level Register value 1.8V 1 0V 0

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

[0194] Based on the refresh rate and level information shown in Table 1 of S702 above, and the level and register value information shown in Table 3, the correspondence between refresh rate, level, and register value is determined as follows: when the refresh rate is 60Hz, the corresponding level is 1.8V and the corresponding register value is 1; when the refresh rate is 120Hz, the corresponding level is 0V and the corresponding register value is 0.

[0195] It is understandable that each value in the register corresponds to a circuit, and the terminal device uses the circuit corresponding to that register value based on the register value.

[0196] In some other embodiments of this 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.

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

[0198] In some other embodiments of this application, after the terminal device switches its refresh rate to the target refresh rate according to the second level, the method further includes: the terminal device adjusting the frame synchronization signal according to the target refresh rate, and the terminal device refreshing the display image according to the adjusted frame synchronization signal.

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

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

[0201] In this way, by controlling the rate (frame rate) at which the system-on-a-chip generates images based on the tearing effect signal, and controlling the refresh rate of the terminal device's display panel through 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.

[0202] The following is combined with, for example Figure 5 and Figure 6 The module descriptions of the terminal device shown illustrate the specific implementation method of switching the refresh rate of the terminal device to the target refresh rate according to the second level in the S703 terminal device.

[0203] In some embodiments of this application, the mobile industrial processor physical interface of the display driver chip in the display module receives image data sent by the system-on-a-chip, decodes the image data, and drives the display panel to display the image through the source driver and gate driver.

[0204] The flip-flop in the display driver chip is connected to the input pin of the display driver chip, obtains the second level from the input pin, and sends the second level to the register in the display driver chip.

[0205] The register in the display driver chip receives the second level sent by the flip-flop and adjusts the register value according to the second level.

[0206] It is understandable that the registers include different operating modes of the display driver chip, with each register value corresponding to one operating mode. The registers have various preset settings, such as the correspondence between register values ​​and operating modes, and the correspondence between register values ​​and the information contained in the operating modes. The information contained in the operating modes includes voltage levels, tearing signals, circuitry, and refresh rates. In other words, the registers include mappings between register values ​​and voltage levels, as well as mappings between register values ​​and tearing signals.

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

[0208] The registers in the display driver chip are also used to adjust the tearing effect signal used for synchronization based on the adjusted register values, and then send the adjusted tearing effect signal to the system-on-a-chip (SoC) of the terminal device so that the terminal device can change the frame rate according to the adjusted tearing effect signal. That is, the SoC performs layer drawing, rendering, and compositing based on the adjusted tearing effect signal to generate new image data.

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

[0210] like Figure 9 The figure shows a timing diagram of the terminal device system-on-a-chip drawing the image and the display driver chip refreshing the image before and after the refresh rate switch.

[0211] Based on the above example, the terminal device sequentially refreshes and displays the first and second frames of the image according to the current refresh rate. While the terminal device is displaying the second frame, it detects that the user has triggered a preset operation to switch the refresh rate (e.g., the user simultaneously presses the Fn and R keys on the keyboard). In response to this preset operation, the terminal device determines the target refresh rate. The terminal device changes the level of its general-purpose input / output interface according to the target refresh rate and sends the changed level to the display driver chip. The display driver chip receives the changed level and adjusts the current refresh rate to the target refresh rate accordingly. The terminal device then displays the third frame of the 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 can generate an image based on the adjusted tearing effect signal.

[0212] like Figure 9 As shown, the first and second frames are the images displayed on the terminal device before the refresh rate switch. The third frame is the image displayed on the terminal device after the refresh rate switch.

[0213] In this embodiment, the terminal device can detect a preset operation during the display of each frame of image. The image display process includes image transmission time slots and effective image transmission time. That is, the terminal device in this embodiment can switch the refresh rate at any time during image display, unlike the prior art which only switches the refresh rate during image transmission time slots. Moreover, the terminal device in this embodiment switches the refresh rate based on changes in voltage levels, without requiring the terminal device to issue a switching command.

[0214] For example, the screen refresh rate of the terminal device corresponding to the first and second frame images is 60Hz, and the period of the corresponding tearing effect signal (such as the 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 the TE2 signal) is 8.33ms. Figure 9 The tearing effect signal is represented by a pulse.

[0215] like Figure 9 As shown in some embodiments of this application, when the refresh rate of the terminal device is 60Hz, the system-on-a-chip (SoC) performs layer drawing, rendering, and compositing within 16.66ms based on the TE1 signal to obtain 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.

[0216] Accordingly, the display driver chip displays image data within 16.66ms based on the TE1 signal. When the next TE1 signal is received, the display refreshes and displays the next frame of image data (that is, the next frame of image data sent by the system-on-a-chip).

[0217] like Figure 9 As shown, in some other embodiments of this application, when the refresh rate of the terminal device switches from 60Hz to 120Hz, the system-on-a-chip (SoC) performs layer drawing, rendering, and compositing within 8.33ms based on the TE2 signal to obtain 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.

[0218] Accordingly, the display driver chip displays image data within 8.33ms based on the TE2 signal. When the next TE2 signal is received, the display refreshes and displays the next frame of image data (that is, the next frame of image data sent by the system-on-a-chip).

[0219] Thus, in the solution provided by this application embodiment, the terminal device responds to a preset operation to determine a target refresh rate; the terminal device switches its first voltage level to a second voltage level according to the target refresh rate; and the terminal device switches its refresh rate to the target refresh rate according to the second voltage level. By changing the voltage level to achieve refresh rate switching, there is no need to rely on interface functions such as switching commands, thus optimizing the refresh rate switching method.

[0220] like Figure 10 The diagram shown is a flowchart of another refresh rate switching method provided in this application embodiment. The method includes the following steps S1001-S1004:

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

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

[0223] Optionally, the terminal device detects a preset operation, which is used to indicate the specific implementation method of the target refresh rate as described in S701 above, and will not be repeated here.

[0224] In this embodiment, the specific implementation method for each module of the terminal device to detect a preset operation and determine the target refresh rate is described above. Figure 5 The description will not be repeated here.

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

[0226] In this embodiment, 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 terminal device's system-on-a-chip to the level corresponding to the target refresh rate.

[0227] The preset correspondence is the correspondence between refresh rate and voltage level. The specific implementation method of the terminal device determining the voltage level corresponding to the target refresh rate according to the preset correspondence in this embodiment is as described in S702 above, and will not be repeated here.

[0228] In this embodiment, the refresh rate control pin is a pre-configured pin in the general-purpose input / output port of the system-on-a-chip used to indicate refresh rate switching.

[0229] In this embodiment, the terminal device includes a display driver chip, which includes input pins. After the terminal device changes the level of the refresh rate control pin of the system-on-a-chip (SoC) according to the target refresh rate, the level of the input pin changes in response to the change in the level of the refresh rate control pin.

[0230] 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.

[0231] In this embodiment, the terminal device responds to a level change by rewriting 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; and the terminal device displays the (N+1)th frame image according to the target refresh rate.

[0232] In the embodiments of this application, combined with, as Figure 5 and Figure 6 The terminal device shown includes various modules, including a system-on-a-chip (SoC), a display driver chip, and a display panel. The display driver chip includes registers. The terminal device displays the (N+1)th frame image in response to a level change, including: the display driver chip rewriting the register value according to the changed level of the refresh rate control pin; the display driver chip switching its refresh rate to the target refresh rate based on the rewritten register value; and the display driver chip driving the display panel to display the (N+1)th frame image according to the target refresh rate.

[0233] In this embodiment of the application, after the terminal device modifies the register value according to the modified register value, the terminal device adjusts the tearing effect signal according to the modified register value; the terminal device switches the frame rate according to the adjusted tearing effect signal, and generates the (N+1)th frame image according to the switched frame rate.

[0234] The tearing effect signal is used to synchronize the refresh rate and frame rate.

[0235] In the embodiments of this application, combined with, as Figure 5 and Figure 6 The terminal device shown in the diagram has several modules. The display driver chip adjusts the tearing effect signal of the display driver chip according to the rewritten register value. The display driver chip sends the adjusted tearing effect signal to the system-on-a-chip (SoC). The SoC switches the frame rate of the SoC according to the adjusted tearing effect signal and generates the (N+1)th frame image according to the switched frame rate.

[0236] 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.

[0237] The above combination Figures 4-10 The refresh rate switching method provided in the embodiments of this application is described in detail. The following, in conjunction with... Figure 11 This application provides a detailed description of the terminal device provided in its embodiments.

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

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

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

[0241] Optionally, the display unit 1103 is used to support the terminal device 1100 in performing operations. Figure 10 S1001 and S1004 in the example.

[0242] The transceiver unit may include a receiving unit and a transmitting unit, and may be implemented by a transceiver or transceiver-related circuit components, and may be a transceiver or a transceiver module.

[0243] Optionally, Figure 11 The terminal device 1100 shown may also include a storage unit ( Figure 11 (not shown in the image), this storage unit stores a program or instruction. When the transceiver unit 1104, the processing unit 1102, and the display unit 1103 execute the program or instruction, it causes... Figure 11 The terminal device 1100 shown can execute the refresh rate switching method described in the above method embodiments.

[0244] The operation and / or function of each unit in the terminal device 1100 are respectively to implement the corresponding process of the refresh rate switching method described in the above method embodiments. All relevant content of each step involved in the above method embodiments can be referred to the functional description of the corresponding functional unit. For the sake of brevity, it will not be repeated here.

[0245] Figure 11 The technical effect of the terminal device 1100 shown can be referred to the technical effect of the refresh rate switching method described in the above method embodiments, and will not be repeated here.

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

[0247] This application also provides a chip system, including: a processor coupled to a memory, the memory being used to store programs or instructions, wherein when the program or instructions are executed by the processor, the chip system implements the methods in any of the above method embodiments.

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

[0249] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application does not limit this. For example, the memory may be a non-transient processor, such as read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application does not specifically limit the type of memory or the arrangement of the memory and processor.

[0250] For example, 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 micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

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

[0252] This application also provides a computer-readable storage medium storing a computer program. When the computer program is run on a computer, it causes the computer to perform the aforementioned steps to implement the refresh rate switching method in the above embodiments.

[0253] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the refresh rate switching method described in the above embodiments.

[0254] In addition, this application also provides an apparatus. Specifically, the apparatus may be a component or module, and may include one or more processors and a memory connected together. The memory is used to store a computer program. When the computer program is executed by one or more processors, the apparatus performs the refresh rate switching method described in the above method embodiments.

[0255] The apparatus, computer-readable storage medium, computer program product, or chip provided in the embodiments of this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0256] The steps of the methods or algorithms described in conjunction with the embodiments of this application can be implemented in hardware or by a processor executing software instructions. The software instructions can consist of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, portable hard disks, compact disc read-only memory (CD-ROM), or any other form of storage medium well known in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and 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 reside in an application-specific integrated circuit (ASIC).

[0257] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, the division of the above functional modules is only used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0258] 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 modules or units is only a logical functional division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules or units may be electrical, mechanical or other forms.

[0259] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0260] Computer-readable storage media include, but are not limited to, any of the following: USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media capable of storing program code.

[0261] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A refresh rate switching method, characterized by, The method comprises: The terminal device displays the Nth frame image; wherein the refresh rate of the Nth frame image is a first refresh rate; The terminal device detects 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 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 terminal device displays the (N+1)th frame image in response to the change of the level; wherein the refresh rate of the (N+1)th frame image is the target refresh rate.

2. The refresh rate switching method of claim 1, wherein, 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, comprising: The terminal device determines the level corresponding to the target refresh rate according to a preset correspondence; wherein the preset correspondence is the correspondence between the refresh rate and the level; Switching 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.

3. The refresh rate switching method according to claim 1 or 2, characterized by, The refresh rate control pin is a pin used to indicate the refresh rate switching in the general input and output port of the system-level chip which is set in advance.

4. The refresh rate switching method according to claim 1 or 2, characterized by, The terminal device comprises a display driving chip, and the display driving chip comprises 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 further comprises: The input pin changes the level of the input pin in response to the change of the level of the refresh rate control pin.

5. The refresh rate switching method according to claim 1 or 2, wherein The terminal device displays the (N+1)th frame image in response to the change of the level, comprising: The terminal device rewrites the register value of the terminal device according to the changed level in response to the change of the 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.

6. The refresh rate switching method of claim 4, wherein, The terminal device further comprises a display panel, and the display driving chip comprises a register; the terminal device displays the (N+1)th frame image in response to the change of the level, comprising: The display driving chip rewrites the register value of the register according to the changed level in response to the change of the level of the refresh rate control pin; The display driving chip switches the refresh rate of the display driving chip to the target refresh rate according to the rewritten register value of the register; The display driving 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 of claim 5, wherein, After the terminal device according to the rewritten register value of the terminal device, the method further comprises: The terminal device adjusts the tearing effect signal of the terminal device according to the rewritten register value of 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 of claim 6, wherein, After the display driving chip according to the rewritten register value of the register, the method further comprises: The display driving chip adjusts a tearing effect signal of the display driving chip according to the register value after the register is rewritten; The display driving chip sends the adjusted tearing effect signal to the system chip; The system chip switches a frame rate of the system chip according to the adjusted tearing effect signal, and generates the N+1th frame image according to the switched frame rate.

9. A terminal device, comprising: The terminal device includes a system chip, a display driving chip and a display panel; the system chip includes a refresh rate control pin; the terminal device includes: The display panel is configured to display an Nth frame image; a refresh rate of the Nth frame image is a first refresh rate; The system chip is configured to detect a preset operation, the preset operation being configured to indicate a target refresh rate; the target refresh rate is different from the first refresh rate; The system chip is further configured to change a level of the refresh rate control pin of the system chip according to the target refresh rate; The display driving chip is configured to drive the display panel to display an N+1th frame image in response to the change of the level; a refresh rate of the N+1th frame image is the target refresh rate; The display panel is further configured to display the N+1th frame image.

10. The terminal device of claim 9, wherein The system chip is further configured to determine a level corresponding to the target refresh rate according to a preset correspondence relationship; the preset correspondence relationship is a correspondence relationship between refresh rates and levels; The system chip is further configured to switch the current level of the refresh rate control pin to the level corresponding to the target refresh rate.

11. The terminal device of any one of claims 9-10, wherein the display driving chip includes a register, and wherein The display driving chip is further configured to rewrite a register value of the register according to the changed level in response to the change of the level of the refresh rate control pin; The display driving chip is further configured to switch a refresh rate of the display driving chip to the target refresh rate according to the register value after the register is rewritten; The display driving chip is further configured to drive the display panel to display the N+1th frame image according to the target refresh rate.

12. The terminal device of claim 11, wherein The display driving chip is further configured to adjust a tearing effect signal of the display driving chip according to the register value after the register is rewritten; The display driving chip is further configured to send the adjusted tearing effect signal to the system chip; The system chip is further configured to switch a frame rate of the system chip according to the adjusted tearing effect signal, and generate the N+1th frame image according to the switched frame rate.

13. A terminal device, comprising: The terminal device includes a processor and a memory, the memory being coupled to the processor, and the memory being configured to store computer readable instructions, when the processor reads the computer readable instructions from the memory, the terminal device executes the method of any one of claims 1-8.

14. A chip system, characterized by comprising at least one processor and at least one interface circuit for performing transceiving functions and sending instructions to the at least one processor, the at least one processor executing the instructions, the at least one processor performing the method of any one of claims 1-8.

15. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a computer program, when the computer program is run on a terminal device, the terminal device is enabled to perform the method of any one of claims 1-8.

16. A computer program product, characterised in that, The computer program product, when run on a computer, enables the computer to perform the method of any one of claims 1-8.

Citation Information

Patent Citations

  • Method for controlling dynamic change of screen refresh rate and electronic equipment

    CN114648951A

  • Refresh rate switching method and electronic equipment

    CN116092452A