Refresh rate switching method and terminal equipment

By changing the refresh rate control pin level of the system-level chip, the refresh rate switching of terminal devices is achieved, solving the problem that the terminal devices in X86 architecture cannot flexibly switch the refresh rate, ensuring the synchronization of refresh rate and frame rate, and avoiding screen tear crack.

CN119007609AActive Publication Date: 2024-11-22HUAWEI TECH CO LTD

Patent Information

Application Number
CN202310565685.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2024-11-22
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

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

Method used

By detecting preset operations, the level of the refresh rate control pin of the system-level chip is changed to realize refresh rate switching without relying on switching instructions. The refresh rate switching method is optimized to ensure the synchronization of refresh rate and frame rate.

Benefits of technology

It realizes flexible switching between different refresh rates of terminal devices, avoids picture tear problems, and improves the efficiency and accuracy of refresh rate switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007609A_ABST
    Figure CN119007609A_ABST
Patent Text Reader

Abstract

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

Description

Technical Field

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

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

[0003] Terminal devices with different architectures switch refresh rates in different ways. At present, the central processing unit (CPU) architecture of terminal devices is mainly classified into two types, one is the complex instruction system computer (the X86 architecture) (which can also be described as the X86 architecture or X86 platform), and the other is the mobile hardware platform (advanced RISC machine, ARM) (which can also be described as the ARM architecture or ARM platform). Due to the flexibility, diverse compatibility and low cost of the display serial interface of the mobile industry processor (MIPI), it is widely used in the CPU architecture of ARM and X86. Moreover, the MIPI display serial interface protocol stipulates that the MIPI data link can transmit video data and control instructions. Therefore, the common ARM architecture controls the refresh rate switching of the display module by issuing instructions through the MIPI link. Unlike the ARM architecture, the X86 architecture products pursue standardization, and for the refresh rate switching control of the display module, the command control of the MIPI link has not been developed. Therefore, the existing X86 architecture cannot flexibly complete the refresh rate switching control of the display module through MIPI. Summary of the invention

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

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

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

[0007] In this way, after the terminal device detects the preset operation, it changes the level of the terminal device according to the target refresh rate indicated by the preset operation. The refresh rate switching is achieved by level change, without relying on interface functions such as switching instructions to achieve refresh rate switching, optimizing the refresh rate switching method, and the terminal device can flexibly complete the refresh rate switching.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[0023] According to the first aspect, in a possible implementation method, the terminal device also includes a display driver chip and a display panel, and the display driver chip drives the display panel to display the (N+1)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 display image according to the adjusted frame synchronization signal, thereby achieving the switching of the refresh rate of the display panel.

[0025] In some examples, the register stores various preset settings, for example, the correspondence between the register value and the working mode, and the correspondence between the register value and the information contained in the working mode. The information contained in the working mode includes the level, the tearing effect signal, the circuit and the refresh rate.

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

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

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

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

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

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

[0032] According to the second aspect, in a possible implementation, the system-level chip is further used to determine the level corresponding to the target refresh rate according to a preset corresponding relationship; wherein the preset corresponding relationship is the corresponding relationship between the refresh rate and the level. The system-level chip is also used to switch the current level of the refresh rate control pin to the level corresponding to the target refresh rate.

[0033] According to the second aspect, in a possible implementation, the display driver chip includes a register; the display driver chip is further used to respond to the level change of the refresh rate control pin and rewrite the register value of the register according to the changed level. The display driver chip is also used to switch the refresh rate of the display driver chip to the target refresh rate according to the register value after the register is rewritten. The display driver chip is also used 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 a possible implementation, the display driver chip is further used to adjust the tearing effect signal of the display driver chip according to the register value after the register is rewritten. The display driver chip is also used to send the adjusted tearing effect signal to the system-level chip. The system-level chip is also used to switch the frame rate of the system-level chip according to the adjusted tearing effect signal, and generate the (N+1)th frame image according to the switched frame rate.

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

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

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

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

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

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

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

[0042] Figure 3 A schematic diagram of an architecture for switching refresh rates of a terminal device provided in an embodiment of the present application;

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

[0044] Figure 5 A flowchart of the interaction between various modules in a refresh rate switching method provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of the architecture of a refresh rate switching system provided in an embodiment of the present application;

[0046] Figure 7 A flow chart of a refresh rate switching method provided in an embodiment of the present application

[0047] Figure 8 A schematic diagram of an application scenario of a refresh rate switching method provided in an embodiment of the present application;

[0048] Fig. 9 A timing diagram of a refresh rate switching provided in an embodiment of the present application;

[0049] Fig.10 A flowchart of another refresh rate switching method is provided for an embodiment of the present application;

[0050] Fig.11A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

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

[0054] First, some of the terms and related technologies involved in this application are 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 the display panel. Its main function is to send driving signals and image data to the display panel in the form of electrical signals so that the display panel presents images.

[0056] like Figure 1 , which is a schematic diagram of the structure of a screen of a terminal device 10. Figure 1 Take the terminal device including two display driver chips 12 (such as display driver chip 1 and display driver chip 2) as an example. The display panel (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 a glass substrate through chip on glass packaging technology (chip on glass, cog) technology.

[0057] Refresh rate: Refresh rate refers to the number of times the screen image is updated within 1 second, measured in Hertz (Hz). For example, if the screen refresh rate is 60Hz, it 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. Accordingly, 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 the system on chip (SOC) draws images per second. The higher the frame rate, the more images the GPU draws, and the display looks smoother and more realistic.

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

[0060] In actual applications, high refresh rates are mainly used in gaming scenarios and fast sliding scenarios such as desktop sliding, so as to improve the smoothness of the picture when the user operates. Most usage scenarios are still static display, low-speed sliding or low-frame rate video playback scenarios. In these scenarios, using low refresh rates and low frame rates can ensure the smoothness of the picture, reduce power consumption, and improve battery life.

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

[0062] In order to facilitate understanding of the technical content of this solution, the specific process of displaying images on the terminal device screen is introduced below. The SOC draws, renders and synthesizes the layers, and transmits the synthesized image data to the display driver chip through MIPI. The display driver chip stores the image data in a buffer, scans the image data in the buffer, and restores the digital image data into a continuous voltage signal to drive the panel, thereby achieving the purpose of displaying and refreshing the image.

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

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

[0065] like Figure 2 As shown, the refresh rates of the first frame image and the second frame image are 120 Hz, and the TE signals corresponding to the first frame image and the second frame image are TE1. The period of TE1 corresponding to 120 Hz is 8.33 milliseconds (ms).

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

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

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

[0069] like Figure 3 As shown, it is a schematic diagram of the architecture of the refresh rate switching of the terminal device in the related art.

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

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

[0072] In the related technology, the terminal device of X86 architecture uses MIPI display interface to complete the process of image drawing and transmission rate change. However, the MIPI function development in X86 architecture is relatively low, and some functions cannot be realized. For example, when the terminal device of X86 architecture switches the refresh rate through MIPI, the specific switching instructions are deleted. Therefore, the display driver chip of the terminal device of X86 architecture cannot receive the switching instruction, and it is impossible to adjust the TE signal according to the switching instruction, which will cause the frame rate of the image generated by the terminal device system and the refresh rate of the screen refresh image to not match, resulting in abnormal problems such as timing asynchrony and screen tearing.

[0073] In order to improve the problems existing in the existing related technologies, the embodiment of the present application provides a refresh rate switching method, in which the terminal device determines the target refresh rate in response to a preset operation; the terminal device switches the level to the level corresponding to the target refresh rate according to the target refresh rate; the terminal device switches the current refresh rate of the terminal device to the target refresh rate in response to the switched 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 level to achieve the switching of the refresh rate and the frame rate, there is no need to rely on the interface function such as the switching instruction to achieve the refresh rate switching, and the refresh rate switching method is optimized.

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

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

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

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

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

[0079] The structure illustrated in the embodiment of the present invention does not constitute a limitation on the terminal device 400. It may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0080] The processor 410 may include one or more processing units, for example, the processor 410 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

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

[0082] The processor 410 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor is a high-speed cache memory, which can store instructions or data that the processor has just used or cyclically used. If the processor needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor, and thus improves the efficiency of the system.

[0083] In some embodiments, the processor 410 may include one or more interfaces. The interface 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 with peripheral devices such as the display screen 494 and the camera 493. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 410 and the camera 493 communicate via the CSI interface to implement the shooting function of the terminal device 400. The processor 410 and the display screen 494 communicate via the DSI interface to implement the display function of the terminal device 400.

[0085] The external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 400. The external memory card communicates with the processor through the external memory interface to implement a data storage function, such as storing music, video and other files in the external memory card.

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

[0087] The USB interface 4300 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface can be used to connect a charger to charge the terminal device 400, and can also be used to transmit data between the terminal device 400 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices.

[0088] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 400 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0089] The charging management module 440 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 440 may receive charging input from a wired charger through the USB interface 430. In some wireless charging embodiments, the charging management module 440 may receive wireless charging input through a wireless charging coil of the terminal device 400. While the charging management module 440 is charging the battery 442, it may also power the terminal device through the power management module 441.

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

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

[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 a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. 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 combination with a tuning switch.

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

[0094] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor displays an image or video through the display screen 494. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 410 and be set in the same device as the RF module 450 or other functional modules.

[0095] The communication module 460 can provide a communication processing module for wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 400. 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, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor. The communication module 460 can also receive the signal to be sent from the processor 410, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through antenna 2.

[0096] In some embodiments, the antenna 1 of the terminal device 400 is coupled to the radio frequency module, and the antenna 2 is coupled to the communication module, so that the terminal device 400 can communicate with the network and other devices through 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 technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS) and / or a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS), etc.

[0097] The audio module 470 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The audio module can also be used to encode and decode 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, etc. The touch sensor is also called a "touch panel" and may be provided on a display screen to detect a touch operation on or near it.

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

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

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

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

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

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

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

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

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

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

[0109] In another possible implementation, the Bluetooth microcontroller unit 506 detects the user's operation on the keyboard 507 (e.g., the Bluetooth microcontroller unit 506 receives the key information uploaded by the keyboard 507). When it is detected that the user triggers a preset operation (e.g., the key information uploaded by the keyboard 507 matches the key information of the preset operation, then it is determined that the user triggers the preset operation), the indication information corresponding to the preset operation is determined, and the indication information corresponding to the preset operation is sent to the basic input and output system software 504 through the embedded controller 505, and then the basic input and output system software 504 uploads the indication information corresponding to the preset operation to the screen visual control system 501; the screen visual control system 501 determines the target refresh rate in response to the indication information corresponding to the preset operation.

[0110] The screen visual control system 501 responds to the preset operation, determines the target refresh rate, and controls the refresh rate control pin 508 to switch the current level to the target level corresponding to the target refresh rate through the input and output system software 504. The refresh rate control pin 508 transmits the switched target level to the display driver chip 510 in the display module 509.

[0111] It is understandable that the terminal device of the embodiment of the present application stores a preset correspondence between refresh rate and level. After the terminal device detects the refresh rate switching, the level of the refresh rate control pin 508 is switched according to the preset correspondence between refresh rate and level. In order to detect the level change, the display driver chip 510 implements the refresh rate switching according to the changed level.

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

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

[0114] like Figure 6 , a refresh rate switching system provided by an embodiment of the present application is shown, wherein the refresh rate switching system includes a system on chip (SOC) 601 and a display module 602 .

[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-chip 601 includes software running in the system-on-chip 601 and hardware of the system-on-chip peripherals.

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

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

[0120] For example, the system-level chip 601 and the mobile industry processor physical interface 6031 are connected and communicated through the physical link of MIPI DSI[0:3].

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

[0122] The system-level chip 601 and the display driver chip 603 are connected through a general-purpose input / output port (GPIO) ( Figure 6 (not shown) communication connection.

[0123] The general purpose input and output ports of the system-on-chip 601 include Figure 5 The refresh rate control pin 508 ( Figure 6 The general input and output ports of the display driver chip 603 include input pins ( Figure 6 Specifically, the refresh rate control pin 508 of the system-level chip 601 is communicatively connected with the input pin of the display driver chip 603 .

[0124] The system-level chip 601 detects the preset operation, determines the target refresh rate indicated by the preset operation, and controls the refresh rate control pin 508 ( Figure 6 (not shown) The current level is switched to the target level corresponding to the target refresh rate.

[0125] Specific, combined Figure 5The screen visual control system 501 in the system-level chip 601 detects the preset operation and determines the target refresh rate in response to the preset operation. The specific implementation method of the screen visual control system 501 detecting the preset operation and determining the target refresh rate is shown above and will not be repeated here. The system-level chip 601 controls the refresh rate control pin 508 of the system-level chip 601 to switch the current level to the target level corresponding to the target refresh rate through the input and output system software 504 according to the target refresh rate. ( Figure 6 The specific implementation process of each module in the system-level chip 601 is not shown).

[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-chip 601 and correspondingly changes the level of the input pin to the target level.

[0127] Specific, combined Figure 5 The refresh rate control pin 508 of the system-level chip 601 transmits the switched target level to the input pin ( Figure 6 not shown).

[0128] It is understandable that the refresh rate control pin 508 of the system-level chip 601 is connected to the input pin of the display driver chip 603. The refresh rate control pin 508 is an output end, and the input pin is a receiving end. For example, the system-level chip 601 detects a preset operation, and changes the level of the refresh rate control pin 508 from 0V to 1.8V according to the target refresh rate indicated by the preset operation. The refresh rate control pin 508 outputs a 1.8V voltage to the input pin of the display driver chip 603. 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 that the level of the input pin changes to 1.8V, and triggers the register 6034 in the display driver chip 603 to rewrite the register value according to the changed level 1.8V, and the display driver chip performs a refresh rate switching operation according to the rewritten register value.

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

[0130] The mobile industry processor physical interface 6031 receives the image data sent by the system-level 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, obtains the target level from the input pin, and sends the target level to the register 6034 in the display driver chip 603, so that the chip logic circuit in the register 6034 rewrites the register value according to the target level.

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

[0133] It is understandable that the register 6034 includes different working modes of the display driver chip 603, and each register value corresponds to one working mode. The register 6034 is preset with various settings, such as the corresponding relationship between the register value and the working mode, and the corresponding relationship between the register value and the information contained in the working mode. Among them, the information contained in the working mode includes the level, the tearing effect signal, the circuit, and the refresh rate. That is, the register 6034 includes the mapping relationship between the register value and the level, and the mapping relationship between the register value and the tearing effect signal.

[0134] After the register value is adjusted by the register 6034, the register value is sent to the source driver and gate driver 6032 so that the source driver and gate driver 6032 adjust the refresh rate according to the register value.

[0135] The register 6034 is also used to adjust the tearing effect signal (TE signal) used for synchronization according to the adjusted register value, and send the adjusted tearing effect signal to the system-level chip 601, so that the system-level chip 601 changes the frame rate according to the adjusted tearing effect signal. That is, the system-level chip 601 draws, renders and synthesizes the layer based on the adjusted tearing effect signal to generate new image data.

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

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

[0138] The source driver and gate driver 6032 receives the adjusted register value sent by the register 6034, and according to the relevant setting corresponding to the register value, adjusts the refresh rate of the terminal device according to the adjusted register value, and switches the refresh rate of the terminal device to the target refresh rate. And sends a frame synchronization signal to the display panel 604 according to the target refresh rate, so that the display panel 604 refreshes the display 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 the frame synchronization signal sent by the source driver and the gate driver 6032 .

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

[0141] refer to Figure 7 , Figure 7 A schematic flow chart of a refresh rate switching method provided in an embodiment of the present application, the method comprising the following steps S701-S703:

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

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

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

[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 a preset operation.

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

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

[0148] In some examples, the setting interface of the terminal device includes a refresh rate control for switching the refresh rate, wherein a plurality of refresh rate controls corresponding to different refresh rates can be configured on the setting interface, for example, Figure 8The two refresh rate controls shown correspond to 60 Hz and 120 Hz 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, Figure 8 As shown, the current refresh rate of the terminal device is 60 Hz. The terminal device receives an operation of the user clicking the refresh rate control corresponding to 120 Hz, and in response to the operation, determines that the target refresh rate is 120 Hz. Subsequently, the terminal device switches the refresh rate of the terminal device according to the target refresh rate 120 Hz. For example, the terminal device switches the refresh rate from 60 Hz to 120 Hz through the following steps S702 and S703.

[0150] Alternatively, a control for switching the refresh rate can be configured on the setting interface, and the terminal device can determine the corresponding refresh rate based on the user's cumulative operations on the refresh rate control. For example, the refresh rate of the terminal device is 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 that the refresh rate is switched to 120Hz, that is, the target refresh rate is 120Hz. Afterwards, the terminal device detects the user clicking the refresh rate control and determines that the user indicates that the refresh rate is switched to 60Hz, that is, the target refresh rate is 60Hz.

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

[0152] In some other examples, the terminal device presets a key combination of the Fn key and the R key. The terminal device includes multiple refresh rates. The terminal device receives an operation of the user pressing the Fn key and the R key on the keyboard at the same time, and displays multiple refresh rate options in the display interface in response to the operation. The terminal device receives an operation of the user clicking on a refresh rate option, and determines the refresh rate clicked by the user as the target refresh rate.

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

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

[0155] Optionally, the terminal device may also receive a shortcut operation of the user triggering the shortcut key combination of the Fn key and the R key through a wireless connection.

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

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

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

[0159] The following is combined with Figure 5 The modules of the terminal device shown illustrate a specific implementation method in which the terminal device determines the target refresh rate in response to a preset operation in S701.

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

[0161] In some other embodiments of the present application, the Bluetooth microcontroller in the terminal device detects the user's operation on the keyboard, and when it is detected that the user triggers a preset operation, the indication information corresponding to the preset operation is determined; the Bluetooth microcontroller sends the indication information corresponding to the preset operation to the basic input and output system through the embedded controller, and the basic input and output system then uploads the indication information corresponding to the preset operation to the screen visual control system; the screen visual control system determines the target refresh rate in response to the indication information corresponding to the preset operation. Subsequently, the screen visual control system sends the target refresh rate to the refresh rate control pin through the basic input and output system to trigger the switching of the refresh rate.

[0162] It is understandable that the embodiment of the present application does not limit the value and number of refresh rates in the terminal device. The following description is made by taking the terminal device including two refresh rates as an example.

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

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

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

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

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

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

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

[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, 60 Hz and 120 Hz. The level corresponding to 60 Hz is 1.8 V, and the level corresponding to 120 Hz is 0 V.

[0173] It can be understood that the above description uses the example that the terminal device includes two refresh rates. In actual applications, the terminal device may include multiple refresh rates, and each refresh rate has its corresponding level.

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

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

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

[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 levels. The terminal device includes four refresh rates, namely refresh rate 1, refresh rate 2, refresh rate 3 and refresh rate 4. Each refresh rate corresponds to a different level combination. When both levels are 0V, the corresponding refresh rate is refresh rate 1; when the first level of the two levels is 0V and the second level is 1.8V, the corresponding refresh rate is refresh rate 2; when the first level of the two levels is 1.8V and the second level is 0V, the corresponding refresh rate is refresh rate 3; when both levels are 1.8V, the corresponding refresh rate is refresh rate 4;

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

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

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

[0183] The following is combined with Figure 5 and Figure 6 The modules of the terminal device shown illustrate a specific implementation manner in which the terminal device switches the first level to the second level according to the target refresh rate S702.

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

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

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

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

[0188] It is understandable that various preset settings are stored in the register, such as the correspondence between the register value and the working mode, and the correspondence between the register value and the information included in the working mode.

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

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

[0191] Table 3

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

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

[0194] According to the refresh rate and level information shown in Table 1 in S702 above, and the level and register value information shown in Table 3, the correspondence between the refresh rate, level and register value is determined, including: when the refresh rate is 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 can be understood that each value of the register corresponds to a circuit, and the terminal device uses the circuit corresponding to the register value according to the register value.

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

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

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

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

[0200] It can be understood that the tearing effect signal is generated by the display driver chip, and is used for the system-level chip of the terminal device to change the frame rate so that the changed frame rate is synchronized with the changed refresh rate. The frame synchronization signal is generated by the display driver chip according to the refresh rate, and is used for the display panel of the terminal device to change the refresh rate. Specifically, the display panel refreshes the display image according to the adjusted frame synchronization signal, thereby changing the refresh rate of the display panel. That is, the tearing effect signal and the frame synchronization signal have the same period and function, but the functional components of the two are different.

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

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

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

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

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

[0206] It is understandable that the register includes different working modes of the display driver chip, and each register value corresponds to a working mode. The register is preset with various settings, such as the correspondence between the register value and the working mode, and the correspondence between the register value and the information contained in the working mode. Among them, the information contained in the working mode includes the level, the tearing effect signal, the circuit, and the refresh rate. That is, the register includes the mapping relationship between the register value and the level, and the mapping relationship between the register value and the tearing effect signal.

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

[0208] The register in the display driver chip is also used to adjust the tearing effect signal for synchronization according to the adjusted register value, and send the adjusted tearing effect signal to the system-level chip of the terminal device, so that the terminal device changes the frame rate according to the adjusted tearing effect signal. That is, the system-level chip draws, renders and synthesizes the layer 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 register and the settings corresponding to the adjusted register values, so as to switch the refresh rate of the terminal device to the target refresh rate.

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

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

[0212] like Fig. 9 As shown, the first frame image and the second frame image are images displayed by the terminal device before the refresh rate is switched, and the third frame image is an image displayed by the terminal device after the refresh rate is switched.

[0213] In the embodiment of the present application, the terminal device can detect the preset operation during the display of each frame of the image, and the image display process includes the image transmission time slot and the image effective transmission time. That is, the terminal device of the embodiment of the present application can switch the refresh rate at any time during the image display, without having to switch the refresh rate only during the image transmission time slot as in the prior art. Moreover, the terminal device of the embodiment of the present application switches the refresh rate according to the level change, without the need for the terminal device to issue a switching instruction.

[0214] Exemplarily, the screen refresh rate of the terminal device corresponding to the first frame image and the second frame image is 60Hz, and the period of the corresponding tearing effect signal (such as TE1 signal) is 16.66ms. The terminal device receives a preset operation, switches the refresh rate in response to the preset operation, and the refresh rate of the terminal device after switching is 120Hz, and the period of the corresponding tearing effect signal (such as TE2 signal) is 8.33ms. Fig. 9 The tearing effect signal is represented by pulses.

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

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

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

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

[0219] Thus, in the method provided by the embodiment of the present application, the terminal device determines the target refresh rate in response to the preset operation; the terminal device switches the first level of the terminal device to the second level according to the target refresh rate; the terminal device switches the refresh rate of the terminal device to the target refresh rate according to the second level. By changing the level to realize the refresh rate switching, there is no need to rely on the interface function such as the switching instruction to realize the refresh rate switching, and the refresh rate switching method is optimized.

[0220] like Fig.10 FIG. 2 is a flow chart of another refresh rate switching method provided in an embodiment of the present application, the method comprising 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, where the preset operation 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, and the specific implementation method of the preset operation for indicating the target refresh rate is as described in S701 above, which will not be repeated here.

[0224] In the embodiment of the present application, each module of the terminal device detects a preset operation, and the specific implementation method of determining the target refresh rate is as shown above. Figure 5 Description, no further elaboration is given here.

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

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

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

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

[0229] In an embodiment of the present application, the terminal device includes a display driver chip, and the display driver chip includes an input pin. After the terminal device changes the level of a refresh rate control pin of a system-level chip of the terminal device according to a target refresh rate, the level of the input pin changes in response to the level change 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 an embodiment of the present application, the terminal device responds to the level change and rewrites the register value of the terminal device according to the changed level; the terminal device switches the refresh rate of the terminal device to the target refresh rate according to the rewritten register value of the terminal device; the terminal device displays the (N+1)th frame image according to the target refresh rate.

[0232] In the embodiments of the present application, Figure 5 and Figure 6 The modules of the terminal device shown in the figure include a system-level chip, a display driver chip and a display panel, and the display driver chip includes a register. The terminal device displays the (N+1)th frame of image in response to the level change, including: the display driver chip responds to the level change of the refresh rate control pin, rewrites the register value of the register according to the changed level; the display driver chip switches the refresh rate of the display driver chip to the target refresh rate according to the register value rewritten by the register; the display driver chip drives the display panel to display the (N+1)th frame of image according to the target refresh rate.

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

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

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

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

[0237] Combination of the above Figure 4-Figure 10 The refresh rate switching method provided by the embodiment of the present application is described in detail. Fig.11 The terminal device provided in the embodiment of the present application is described in detail.

[0238] In one possible design, Fig.11 This is a schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Fig.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 may be used to implement the functions of the terminal device involved in the above method embodiment.

[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 used to support the terminal device 1100 to execute Figure 7 S701, S702 and S703 in; and / or, for supporting the terminal device 1100 to execute Fig.10 S1002 and S1003 in.

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

[0242] Among them, the transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module.

[0243] Optionally, Fig.11 The terminal device 1100 shown may also include a storage unit ( Fig.11 (not shown), the 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, Fig.11 The terminal device 1100 shown can execute the refresh rate switching method described in the above method embodiment.

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

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

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

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

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

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

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

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

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

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

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

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

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

[0257] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is 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 is 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 refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

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

[0259] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

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

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

Claims

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Citation Information

Patent Citations

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

    CN114648951A

  • Refresh rate switching method and electronic equipment

    CN116092452A

  • Driving method and apparatus of a display panel

    US20220223105A1

  • Display screen frequency conversion method, DDIC chip, display screen module, and terminal

    WO2021143676A1

  • Frame rate adjustment method, terminal device, and frame rate adjustment system

    WO2023065873A1

Cited By

  • Refresh rate switching method and terminal device

    EP4618070A1

  • Refresh rate switching method and terminal device

    WO2024234726A1