Screen display method and electronic equipment

By adopting the first synthesis strategy and variable refresh rate mode in electronic devices, adjusting the refresh rate of the display screen, the problem of poor chirality of electronic devices is solved, the response speed and user experience of touch operations are improved, and the jitter and power consumption of the display screen are reduced.

CN120276612APending Publication Date: 2025-07-08HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311872056.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the prior art, electronic devices have poor chirality when touching, especially when display lag affects user experience, especially in competitive games, where the lag in game characters moves affects the results of the game.

Method used

By adopting the first synthesis strategy and variable refresh rate mode in the electronic device, the refresh rate of the display screen is adjusted, combined with the detection and adjustment conditions of the touch module, the image synthesis and display process is optimized, and the delay and jitter of the image displayed on the display screen is reduced.

Benefits of technology

The time interval for displaying images on the display screen is shortened, page jitter is reduced, electronic devices are improved, and power consumption is reduced when conditions are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276612A_ABST
    Figure CN120276612A_ABST
Patent Text Reader

Abstract

The invention provides a screen display method and electronic equipment, and relates to the field of terminals. The invention provides a screen display method, which comprises the following steps that: a first application displays an interface corresponding to a first touch operation according to a first refresh frequency in response to the first touch operation under the condition of adopting a first synthesis strategy; adjusting the refresh rate of the first application to a second refresh rate, wherein the second refresh rate is greater than the first refresh rate; and in response to the second touch operation, displaying an interface corresponding to the second touch operation according to a second refresh frequency when it is detected that the preset effective condition is met. By adopting the method provided by the invention, the time delay of displaying the application interface by the display screen can be shortened, the problem of jittering generated when the interface is displayed is reduced, and the chirality of the electronic equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to a screen display method and electronic equipment. Background Art

[0002] With the continuous development of display technology, more and more electronic devices support touch operation, such as mobile phones, tablets, laptops, car computers and other devices. Touch controllability is a key indicator to measure the touch experience. Touch controllability covers many aspects such as sensitivity, continuity, tracking, and false touches. The shorter the tracking response time, the better the tracking performance. The tracking response time refers to the time required for an electronic device to display the page corresponding to the touch operation on the display screen after receiving the user's touch operation.

[0003] At present, some touch screen operation scenarios still have the problem of poor hand tracking. That is, when electronic devices display content, there is often a problem of display lag, which affects the user experience. For example, in game scenarios, especially in competitive games, the movement of game characters lags, affecting the results of the game. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a screen display method and electronic device, which can shorten the delay of the display screen displaying the application interface, reduce the jitter problem generated when displaying the interface, and improve the hand tracking performance of the electronic device.

[0005] In a first aspect, the present application provides a screen display method, which is applied to an electronic device, comprising: in a case where a first application adopts a first synthesis strategy, in response to a first touch operation input by a user in the interface of the first application, displaying an interface corresponding to the first touch operation at a first refresh rate, wherein the first synthesis strategy is that an image synthesizer in the electronic device systematically synthesizes the rendered image frame at the moment of receiving the image frame rendered by the current application; in a case where a first adjustment instruction is received, detecting whether the first application meets a preset adjustment condition, the first adjustment instruction is used to indicate adjustment of a first refresh rate mode of the first application, the first refresh rate mode being that the display screen adopts a preset first refresh rate; in a case where it is detected that the first application meets the adjustment condition, adjusting the first refresh rate mode of the first application to a variable refresh rate mode, the second refresh rate being greater than the first refresh rate; in a case where the first application adopts the first synthesis strategy, in response to a second touch operation input by a user in the interface of the first application, in the moment of detecting that the preset effectiveness condition is met, displaying the interface corresponding to the second touch operation at the second refresh rate.

[0006] In this way, when the first application (such as a game application, browser, video application) of an electronic device (such as a mobile phone, tablet computer, laptop computer, etc.) adopts the first synthesis strategy, it uses the second refresh rate to display images when the effective conditions are met. Since the second refresh rate is greater than the first refresh rate, the time interval for the display screen to start displaying images is shortened, so that when the display screen displays image frames at the second refresh rate, even if the application takes too long to render the image frames, the image can be refreshed in time; in addition, since the difference in display time between two adjacent frames of images is reduced, the jitter of the page is reduced. And since the time interval for the display screen to receive the vertical synchronization signal is shortened, the delay of the display screen displaying the image is reduced, and the hand tracking performance of the electronic device is improved. In addition, since the second refresh rate is only used when the effective conditions are met, the power consumption of the electronic device can be reduced.

[0007] According to a first aspect, an electronic device includes a touch control module; upon receiving a first adjustment instruction, detecting whether the first application meets a preset adjustment condition, including: the touch control module detecting whether the first application adopts the first synthesis strategy to obtain a first detection result; the touch control module detecting whether the first application belongs to an application in a first preset list to obtain a second detection result; the touch control module detecting whether the frame rate of the first application is a first preset frame rate to obtain a third detection result; the touch control module detecting whether the electronic device supports the refresh mode of the display screen to be adjusted to a variable refresh mode to obtain a fourth detection result, wherein the variable refresh state is a state in which the refresh rate of the display screen is adjusted within a preset range; obtaining a fifth detection result based on the first detection result, the second detection result, the third detection result and the fourth detection result, wherein the fifth detection result is used to indicate whether the first application meets the preset adjustment condition.

[0008] In this way, the touch module detects whether the first application meets the preset adjustment conditions through multiple judgment dimensions, which can avoid the problem of users accidentally touching the screen to adjust the refresh rate. In addition, multi-dimensional detection can also avoid high power consumption caused by opening applications that do not meet the conditions.

[0009] According to the first aspect, a fifth detection result is obtained based on the first detection result, the second detection result, the third detection result and the fourth detection result, including: when the first detection result indicates that the first application adopts the first synthesis strategy, the second detection result indicates that the first application belongs to the application in the first preset list, the third detection result indicates that the frame rate of the first application is the first preset frame rate, and the fourth detection result indicates that the electronic device supports the refresh mode of the display screen to be adjusted to a variable refresh mode, it is determined that the fifth detection result indicates that the first application satisfies the preset adjustment condition.

[0010] According to a first aspect, an electronic device includes a touch module; when it is detected that the first application meets the adjustment condition, adjusting a first refresh rate mode of the first application to a variable refresh rate mode, including: when the touch module detects that the first application meets the adjustment condition, sending first indication information to an image synthesizer; according to the first indication information, the image synthesizer sends second indication information to a display screen, the second indication information includes information about a target refresh rate mode of the display screen, and the information about the target refresh rate mode indicates that the target refresh mode is a variable refresh mode; according to the second indication information, the display screen sets a variable refresh frequency in the variable refresh rate mode to the second refresh rate; when it is detected that a preset effective condition is met, displaying an interface corresponding to a second touch operation at the second refresh rate, including: the display screen determines an effective moment of the second refresh rate according to the second refresh rate; the display screen generates a tearing effect TE signal at the effective moment for the display screen to display a received image frame when the TE signal is detected.

[0011] In this way, the display screen can first set the refresh frequency to the second refresh frequency, but does not immediately display the received image frame at the second refresh frequency. Instead, a TE signal is added at the effective moment, so that the display screen can display the received image frame when the TE signal is detected. The method of dynamically adding the TE signal can reduce the power consumption of the electronic device.

[0012] According to the first aspect, the display screen determines an effective moment of the second refresh rate according to the second refresh rate, including: the display screen obtains a start moment of a first image frame currently being displayed as a first moment; the display screen obtains a moment when the first image frame is received as a second moment, and the first image frame is transmitted from the image synthesizer to the display screen; the display screen obtains a difference between the second moment and the first moment as a first difference; the display screen detects whether the first difference is greater than a target interval, and the target interval is the reciprocal of the second refresh rate; when the display screen detects that the first difference is greater than the target interval, it determines the effective moment, and the effective moment is a moment before the display screen receives the next vertical synchronization signal, and the distance between the effective moment and the moment when the display screen receives the next vertical synchronization signal is the target interval. In this way, in the scenario where the image synthesizer quickly transmits image frames to the display screen (that is, the first difference is greater than the target frame interval, for example, when the second refresh rate is 360 Hz and the target frame interval is 2.7 ms), compared with the scenario before adjustment, the display screen can start displaying image frames at the second refresh rate 2.7 ms earlier, shortening the delay of the display screen in displaying image frames.

[0013] According to the first aspect, the display screen determines the effective moment of the second refresh rate according to the second refresh rate, including: when the display screen receives the current vertical synchronization signal, it detects whether it receives the first image frame transmitted by the image synthesizer, and the first image frame is the image frame corresponding to the current time; when it detects that the first image frame is not received, N effective moments are obtained within the current vertical synchronization signal period, where N is an integer greater than 0. In this way, in a scenario where the application rendering image takes a long time, the display screen starts to display the image frame according to the second refresh rate 2.7 ms after receiving the current vertical synchronization signal, can display the received image frame in time, reduces the difference in the display time of adjacent two image frames, and thus reduces the occurrence of jitter.

[0014] According to the first aspect, the electronic device is installed with a second application, and the first application allows the second application to be launched on the interface of the first application. The method further includes: in response to the user's launch operation of launching the second application on the interface of the first application, the first application allows the display screen to display the interface of the second application; in response to the adjustment opening operation input by the user on the interface of the second application, the second application sends a first adjustment instruction to the touch control module. In this way, the second application can be a management assistant for the first application. For example, if the first application is a game application and the second application is a game manager; the user's launch operation is, for example, clicking on the icon of the second application displayed in the first application; this method can quickly enter the second application without exiting the first application. And the user performs the opening and adjustment operation on the interface of the second application, so that the refresh rate of the modulated first application meets the user's requirements.

[0015] According to the first aspect, the method further includes: in response to the user's launch operation of launching the second application on the interface of the first application, the first application allows the display screen to display the interface of the second application; in response to the adjustment closing operation input by the user on the interface of the second application, the second application sends a second adjustment instruction to the touch control module, and the first adjustment instruction is used to instruct to adjust the refresh rate of the first application to the first refresh rate; when the touch control module receives the second adjustment instruction, it detects whether the first application meets the preset adjustment condition; when the touch control module detects that the first application meets the adjustment condition, it instructs the display screen to adjust the refresh rate of the first application to the first refresh rate. In this way, when the touch control module receives the adjustment closing instruction, it also detects whether the first application meets the adjustment condition, which can avoid the situation of adjustment error when the refresh rate of the first application is adjusted back to the first refresh rate.

[0016] According to a first aspect, the method further includes: in response to a user's operation of starting a second application on the interface of a first application, the first application allows the display screen to display the interface of the second application; in response to an adjustment and closing operation input by the user on the interface of the second application, the second application sends a second adjustment instruction to the touch control module, where the first adjustment instruction is used to instruct to adjust the refresh rate of the first application to a first refresh rate; when the touch control module receives the second adjustment instruction, it instructs the display screen to adjust the refresh rate of the first application to the first refresh rate. In this way, the electronic device can timely adjust the refresh rate of the display screen back to the first refresh rate, reducing the power consumption of the electronic device.

[0017] In a second aspect, the present application provides an electronic device, including: one or more processors; a memory; and one or more computer programs, where one or more computer programs are stored on the memory, and when the computer programs are executed by one or more processors, the electronic device is caused to execute the method for screen display corresponding to the first aspect and any implementation manner of the first aspect.

[0018] The second aspect and any implementation manner of the second aspect respectively correspond to the first aspect and any implementation manner of the first aspect. For the technical effects corresponding to the second aspect and any implementation manner of the second aspect, reference may be made to the technical effects corresponding to the first aspect and any implementation manner of the first aspect described above, and details are not described herein again.

[0019] In a third aspect, the present application provides a computer-readable medium for storing a computer program, and when the computer program runs on an electronic device, the electronic device is caused to execute the method for screen display corresponding to the first aspect and any implementation manner of the first aspect described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0021] Figure 1 It is a schematic diagram of a scene with poor followability of an application shown exemplarily;

[0022] Figure 2 It is a schematic diagram of a full link of touch delay shown exemplarily;

[0023] Figure 3 It is a schematic diagram of the structure of an electronic device shown exemplarily;

[0024] Figure 4It is a software structure block diagram of an electronic device shown exemplarily;

[0025] Figure 5 It is a schematic diagram of an image display process shown exemplarily;

[0026] Figure 6 It is a schematic diagram of an image display process adopting a first synthesis strategy shown exemplarily;

[0027] Figure 7 It is an interaction diagram between modules when touch enhancement is turned on shown exemplarily;

[0028] Figure 8 It is a schematic diagram of a scenario of the refresh rate when touch enhancement is turned on shown exemplarily

[0029] Figure 9 It is a schematic diagram of the refresh rate taking effect shown exemplarily

[0030] Figure 10 It is a schematic diagram of a scenario of the refresh rate taking effect shown exemplarily;

[0031] Figure 11 It is an interaction diagram between modules when touch enhancement is turned off shown exemplarily;

[0032] Figure 12 It is an interaction diagram between modules when touch enhancement is turned off shown exemplarily. Detailed implementation manners

[0033] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present application.

[0034] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone.

[0035] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe the specific order of the objects. For example, the first target object and the second target object are used to distinguish different target objects, rather than to describe the specific order of the target objects.

[0036] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0037] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" refers to two or more. For example, a plurality of processing units refers to two or more processing units; a plurality of systems refers to two or more systems.

[0038] Before describing the method for screen display in the present application, some technical terms involved in the present application are described.

[0039] (1) Vertical refresh mechanism (vertical scanning, Vsync), the vertical refresh mechanism is a top-down refresh mechanism. In the vertical refresh mechanism, the electronic device can periodically generate a vertical synchronization signal. That is, the display driver of the electronic device generates a vertical synchronization signal at the same time interval. The vertical synchronization signal can trigger the electronic device to calculate, render and synthesize image data. Specifically, when the processor of the electronic device (for example, the central processing unit (CPU) and the graphics processing unit (GPU)) receives the vertical synchronization signal, it can calculate and render the image data. When the image synthesizer (SurfaceFlinger) of the electronic device receives the vertical synchronization signal, it can perform system synthesis on the rendered image data. When the display screen of the electronic device receives the vertical synchronization signal, it can display the image data after system synthesis. The electronic device can render, perform system synthesis and display the image data in sequence according to the "rhythm" of the vertical synchronization signal.

[0040] (2) Touch screen (Touch panel, "TP"), the touch screen is used to capture touch events.

[0041] (3) Touch screen driver (Touch panel Driver, "TP Driver"), the touch screen driver is used to report the occurrence location of the touch event to the Input Manager Service (InputManagerService, "IMS").

[0042] (4) Input Management Service (InputManagerService, "IMS"), which includes a Reader and a Dispatcher. The Reader is used to process the received touch events and dispatch the processed input events to the Dispatcher. After receiving the input events from the Reader, the Dispatcher will find a suitable window in the windows it manages and dispatch the touch events to the suitable window.

[0043] (5) SurfaceFlinger, which is used to perform system synthesis on the rendered image data.

[0044] (6) Tearing effect (TE) signal. The TE signal is a signal output by the timing controller of the electronic device and is used to prevent tearing problems during the screen refresh in the image display process. Exemplarily, when the electronic device is ready to refresh the next frame of the image, the electronic device generates the TE signal; when the electronic device detects the rising edge (i.e., high level) of the TE signal, it outputs the next frame of the image to the display screen of the electronic device. This TE signal can be understood as a hardware-generated vertical synchronization signal.

[0045] Before explaining the embodiments of the present application in detail, the application scenarios in the present application will be described first.

[0046] The display screen of the electronic device supports touch operations, and the followability is an important indicator to measure the touch controllability. Figure 1 A schematic diagram of a scenario with poor followability of an application shown for illustration. As Figure 1 shown in Figure 1a, the display screen of the mobile phone shows a game interface 101. At time T1, the user's finger presses at point A on the screen, and the finger moves in the direction of the black arrow so that the game character in the interface can move following the user's finger.

[0047] As Figure 1 shown in Figure 1b, at time T2, the user's finger has moved to point B on the display screen (as shown, the finger has moved a distance of d1), while the game character is still at point A and has not moved following the user's finger.

[0048] As Figure 1 shown in Figure 1c, at time T3, the user's finger has left the display screen, and the game character in the game interface 101 has moved from point A to point B at this time.

[0049] In this scenario, there is a significant delay when the in-game character in the game interface 101 follows the user's finger movement. That is to say, the follow-up response time in the current game is long. The follow-up response time is related to the touch latency. The shorter the touch latency, the shorter the follow-up response time.

[0050] Figure 2 It is a schematic diagram of the entire touch latency link shown for illustration purposes.

[0051] As Figure 2 shown, the touch latency is the process from when the electronic device receives the touch operation input by the user to when the display screen shows the page corresponding to the touch operation. This touch latency includes: peripheral latency, system transmission latency, application transmission latency, rendering latency, composition latency, and display latency. As Figure 2 shown, the peripheral latency may include the latency generated when the touch screen obtains the touch operation and the latency generated when the touch screen driver reports the touch event. The system transmission latency includes the latency generated when Reader processes the touch event and the latency generated when Dispatcher dispatches the touch event to the appropriate window.

[0052] The application transmission latency includes the latency generated when the application obtains the drawable image data according to the touch information and transmits it to the rendering module. The rendering latency includes: the latency generated when the rendering module renders the image data. The composition latency includes: the latency generated when SurfaceFlinger composes the image. The display latency includes the latency generated during the process from when the display screen receives the image composed by SurfaceFlinger to when the display screen shows the image.

[0053] From Figure 2 it can be seen that during the process from when the electronic device receives the touch operation input by the user to when the display screen shows the image after the touch operation, each processing module will generate latency. This application provides a screen display method, which is executed by an electronic device (such as a mobile phone, a tablet computer, an in-vehicle computer, a laptop computer, etc.). This screen display method can adjust the refresh rate of the display screen according to the operation of enabling touch enhancement input by the user (i.e., the adjustment enabling operation) to reduce the display latency.

[0054] Figure 3 It is a schematic diagram of the structure of an electronic device 100 shown in an embodiment of this application. It should be understood that Figure 3 the shown electronic device 100 is only an example of an electronic device, and the electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. Figure 3The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits. In this example, the electronic device 100 is a mobile phone for illustration purposes.

[0055] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

[0056] Figure 4 is a software architecture block diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers is through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0057] The application layer may include a series of application packages. As Figure 4 shown, the application packages may include applications such as short videos, cameras, galleries, calendars, text messages, etc.

[0058] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0059] As Figure 4 shown, the application framework layer may include an activity manage service (AMS). Among them, the AMS is used to uniformly schedule each application process and start and manage the lifecycle of activities.

[0060] In addition, the application framework layer may further include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.

[0061] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data, and make this data accessible to application programs. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone books, etc. The view system can be used to build application programs. The telephone manager is used to provide the communication function of the electronic device 100. For example, the management of call states (including connection, disconnection, etc.). The resource manager provides various resources for application programs, such as localized strings, icons, pictures, layout files, video files, and so on. The notification manager enables application programs to display notification information in the status bar, can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.

[0062] The Android runtime includes a core library and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0063] The system library may include a Native layer, which is used to cache the mapping relationship between the domain name and IP address of an application program, and set the storage time and TTL of the IP address.

[0064] The system library may further include, for example, multiple functional modules such as a surface manager, medialibraries, a 3D graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc. Figure 4 (not shown in the figure).

[0065] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a sensor driver, etc. For the sake of easy understanding, the following embodiments of this application will take an electronic device with the Figure 3 and Figure 4 shown structure as an example, and in combination with the accompanying drawings and application scenarios, specifically elaborate on the application program startup method provided by the embodiments of this application.

[0066] Figure 5Schematic diagram of an exemplary image display process. In this example, the first application is taken as an example, and the first application can be a game application, a video application, a browser application, etc. The refresh rate of the electronic device can include 60Hz, 120Hz, 360Hz. In this example, the refresh rate of 120Hz is taken as an example for illustration. When the user inputs a touch operation on the interface of the first application, for example, the user performs a drag touch operation on the display interface of the video application; such as the user moves the game character in the game interface, etc.

[0067] As Figure 5 shown, in response to the user's touch operation, after receiving the first Vsync signal, the first application renders the first frame of image data in the GPU. When the SurfaceFlinger of the electronic device receives the second Vsync signal, it can perform system synthesis on the rendered image data. When the display screen of the electronic device (such as Figure 5 the LCD therein) receives the third Vsync signal, it can display the image data after system synthesis. As Figure 5 shown, the display screen displays the first frame of image during the third Vsync cycle to the fourth Vsync cycle, and the duration of each Vsync cycle is 8.3ms. The display screen displays the second frame of image during the fifth Vsync cycle to the sixth Vsync cycle, and displays the third frame of image during the seventh Vsync cycle to the eighth Vsync cycle.

[0068] In this example, it can be Figure 5 seen that for each frame of image, at least two Vsync cycles are required from the start of application drawing and rendering to hardware display. For example, the first frame of image starts application drawing and rendering in the first Vsync cycle, and it can be displayed at least in the third Vsync cycle, resulting in a long touch latency and affecting the user experience.

[0069] In some embodiments, in order to reduce the number of cycles from application drawing and rendering to hardware display, the application can adopt a first synthesis strategy, which is: after receiving the rendered image data sent by the GPU, SurfaceFlinger immediately performs system synthesis on the image data, rather than starting to perform system synthesis on the rendered image data only when receiving the Vsync signal.

[0070] Figure 6Schematic diagram of an image display process adopting a first synthesis strategy shown by way of example. In this example, the first application takes a game as an example. The refresh rate of this electronic device takes 120Hz as an example. When a user inputs a touch operation on the interface of the game application, for example, the user moves a game character on the game interface, etc. In response to the user's touch operation, the game application can render the first frame of image data in the GPU at the start of the 1st Vsync signal. After SurfaceFlinger receives the first frame of image data rendered in the GPU, it can perform system synthesis on the rendered image data. After the display screen receives the 2nd Vsync signal, it can display the image data after system synthesis. As Figure 6 shown, the display screen displays the first frame of image at the start of the 2nd Vsync cycle.

[0071] The game application renders the second frame of image data in the GPU at the start of the 3rd Vsync signal. After SurfaceFlinger receives the second frame of image data rendered in the GPU, it can perform system synthesis on the rendered second frame of image data. When the display screen receives the 4th Vsync signal and does not receive the second frame of image data sent by SurfaceFlinger, the display screen continues to display the first frame of image data. After the display screen receives the 5th Vsync signal, it can display the second frame of image data after system synthesis.

[0072] The game application renders the third frame of image data in the GPU at the start of the 5th Vsync signal. After SurfaceFlinger receives the third frame of image data rendered in the GPU, it can perform system synthesis on the rendered third frame of image data. After the display screen receives the 6th Vsync signal, it can display the third frame of image data after system synthesis.

[0073] From Figure 6 it can be seen that when the time for the GPU to render an image is short, for each frame of image, it takes 1 Vsync cycle from the start of application drawing and rendering to hardware display. Compared with Figure 5 the situation where the application in adopts the first synthesis strategy, after the electronic device adopts the first synthesis strategy, the time from the start of application drawing and rendering to the display screen displaying the first frame of image is shortened.

[0074] However, when the time for the GPU to render an image and for SurfaceFlinger to perform system synthesis on the image is greater than the frame interval duration, as Figure 6In the case of the GPU rendering the second-frame image data, when the display screen receives the 4th Vsync signal, it has not received the second-frame data sent by SurfaceFlinger for display, resulting in a shortened duration of the second-frame image displayed on the display screen (the display duration of the second-frame image is 8.3 ms). Since the display duration of the first-frame image is 24.9 ms and that of the second frame is 8.3 ms, the difference in the display time of adjacent two-frame images is large, resulting in obvious jitter on the interface and poor touch responsiveness.

[0075] In some embodiments, when the electronic device adopts the first synthesis strategy, it can, in response to an operation of enabling the touch enhancement function input by the user, adjust the refresh rate of the electronic device to shorten the time for generating the TE signal, reduce the duration from receiving the image data from SurfaceFlinger and displaying it on the display screen, and improve the touch responsiveness of the application.

[0076] Figure 7 A schematic diagram showing the interaction between modules when the exemplary electronic device executes the screen display method.

[0077] In this example, the electronic device is taken as a mobile phone. The display screen of this mobile phone can be a screen that supports variable refresh rate (VRR), such as a low temperature polycrystalline oxide (LTPO) screen. This screen adjusts the refresh rate within the range of 1 Hz to 360 Hz. In this example, different applications in this mobile phone can adopt different refresh rates. For example, web browsing can default to a refresh rate of 60 Hz, and game applications default to a refresh rate of 120 Hz.

[0078] For the convenience of understanding, in this application, the game application is taken as an example for illustration.

[0079] When the mobile phone starts a game application, the game application can send a first request to the touch module, and this first request can be used to request the touch module to adopt the first synthesis strategy. Optionally, this first request can include the identification information of the game application (such as the application package name). Among them, the touch module is located in the application framework layer.

[0080] Optionally, when the game application allows the game manager to run, the game manager can also, in response to an operation of enabling the first synthesis strategy input by the user, send a first request to the touch module.

[0081] After receiving the first request, the touch module can detect whether the game application belongs to the applications in the second preset list, and the second preset list can be pre-stored in the electronic device and used to store the identification information of the applications that the electronic device allows to use the first synthesis strategy.

[0082] When the touch module detects that the game application belongs to the applications in the second preset list, it can detect whether the refresh rate supported by the electronic device meets the first condition, and the first condition is that the refresh rate is greater than or equal to 60 Hz. When the touch module detects that the refresh rate supported by the electronic device meets the first condition, it instructs SurfaceFligner to perform system composition on the rendered image after receiving the image rendered by the game application. When the touch module detects that the refresh rate supported by the electronic device does not meet the first condition, the process ends.

[0083] For example, the refresh rates supported by the screen of mobile phone A include: 1 Hz to 360 Hz; when the touch module of the mobile phone detects that the game application belongs to the applications in the second preset list, it detects whether the refresh rate supported by the mobile phone A meets the first condition. When the touch module detects that the refresh rate supported by the mobile phone A meets the first condition, it sends a first instruction to SurfaceFligner, and the first instruction is used to instruct SurfaceFligner to perform system composition on the image rendered by the game application in the GPU after receiving the image. SurfaceFligner performs the operation of synthesizing the image according to the instruction of the touch module, that is, SurfaceFligner performs system composition on the image rendered by the game application in the GPU after receiving the image.

[0084] It should be noted that after sending the first instruction, the touch module can record the state of the first composition strategy adopted by the game application. For example, the touch module sets "XSync = true" in the game application, and this "XSync" can be used to represent the state of the first composition strategy, and "true" is used to indicate that the application adopts the first composition strategy. Among them, the first instruction is used to instruct SurfaceFligner to perform system composition on the image rendered by the game application after receiving the image.

[0085] In some embodiments, when the game application adopts the first composition strategy, there will be Figure 6 the problem of page jitter as shown. The user can enable the touch enhancement function through the game manager to reduce the page jitter.

[0086] Step 701: In response to the user's operation of enabling the enhancement function, the game manager sends a first message to the touch module.

[0087] Specifically, the user opens the game manager application in the game application. The game manager can optimize the touch function of the game, for example, the touch enhancement function. The game manager can also provide auxiliary tools for the game application, for example, it can include functions such as screenshot function and screen recording function.

[0088] The user inputs an operation to enable the touch enhancement function on the interface of the game manager. In response to this operation, the game manager can send a first message to the touch module. The first message can include an instruction to request enabling the touch enhancement function (i.e., the first adjustment instruction) and the package name of the current game application.

[0089] For example, as Figure 8 shown in 8a, a game image is displayed in the game interface 801 of the game application. A control 802 of the game manager is displayed on the game interface 801. The user clicks on the control 802, and the interface 803 of the game manager is displayed on the interface 801, as Figure 8 shown in 8b. The game manager includes a touch enhancement option, and the user clicks on the enable button 804 in the touch enhancement option. In response to the user's operation of enabling touch enhancement, the game manager obtains the package name "XXX.apk" of the game application and sends the package name of the game application and the instruction to request enabling the touch enhancement function to the touch module.

[0090] Optionally, in this example, the manner in which the game manager is displayed in the game application interface is not limited to the manner listed in this application.

[0091] It should be noted that when the first application is a browser or a video application, an auxiliary application can be run on the video application or the browser. The auxiliary application is used to optimize the touch function of the application. The auxiliary application can include a touch enhancement function. In response to the operation of the user to enable touch enhancement input, the auxiliary application sends a first message to the touch module. The first message includes the package name of the first application and the instruction to request enabling the touch enhancement function.

[0092] Step 702: The touch module determines whether to enable high-frequency TE. When the touch module determines that the condition for enabling high-frequency TE is met, step 703 can be executed.

[0093] Specifically, the touch module can pre-store a first preset list, which is used to store the identification information (such as the package name of the application) of the applications on the electronic device that are allowed to enable the touch enhancement function. The first preset list can be set by the user. For example, the user can add an application to the first preset list. The first preset list can also be obtained by service distribution. The server can regularly update the applications in the first preset list and distribute them to the electronic device.

[0094] After receiving the first request sent by the game manager, the touch module detects whether the game application meets the conditions for enabling the touch enhancement function. The conditions for the touch enhancement function include: the application adopts a first composition strategy, the application belongs to the applications in the first preset list, the frame rate of the application is the preset frame rate, and the refresh rate of the electronic device meets the refresh rate condition, where the refresh rate condition is that the refresh rate is greater than 120 Hz. The preset frame rate can be greater than or equal to 60 FPS. For example, the frame rate is 60 FPS or 120 FPS. In this example, the preset frame rate is 60 FPS for illustration purposes.

[0095] Optionally, the refresh rate condition can also be that the refresh rate is 360 Hz. When the touch module detects that the game application meets the conditions for the touch enhancement function, it instructs SurfaceFlinger to enable high-frequency TE.

[0096] For example, the touch module receives the first message sent by the game manager, obtains the package name of the game application, and obtains the configuration file of the application. The configuration file includes the frame rate of the game application, the usage status of the first composition strategy of the application, and the refresh rate supported by the electronic device.

[0097] The touch module can detect whether the usage status of the first composition strategy of the game application is "true" and obtain the first detection result. If the usage status of the first composition strategy is "false", the process ends.

[0098] The touch module detects whether the game application belongs to the applications in the first preset list and obtains the second detection result. The touch module detects whether the frame rate of the game application is the first preset frame rate (such as 60 FPS or 90 FPS) and obtains the third detection result.

[0099] The touch module detects the status of whether the display screen supports variable refresh rate and obtains the fourth detection result. For example, the touch module obtains the refresh rate mode supported by the electronic device. For example, when the touch module detects that the VRR information is "0", it determines that the display screen is in a mode that does not support variable refresh rate. When the touch module detects that the VRR information is "1", this information indicates that the display screen supports the preset refresh rate mode, so it is determined that the display screen does not support the variable refresh rate mode, and the preset refresh rate is 120 Hz for example. When the touch module detects that the VRR information is "2", it determines that the display screen supports the variable refresh rate mode, that is, the refresh rate of the display screen can be adjusted between 1 Hz and 360 Hz.

[0100] When the touch module determines that the first detection result indicates that the game application adopts the first synthesis strategy, the second detection result indicates that the game application belongs to the applications in the first preset list, the third detection result indicates that the frame rate of the game application is the first preset frame rate, and the fourth detection result indicates the state that the display screen supports variable refresh rate (which can be understood as the variable refresh rate mode), it is determined to enable the touch enhancement function.

[0101] When the first detection result indicates that the game application does not adopt the first synthesis strategy, or the second detection result indicates that the game application does not belong to the applications in the first preset list, or the third detection result indicates that the frame rate of the game application is not the first preset frame rate, or the fourth detection result indicates that the display screen does not support the variable refresh rate state, the process ends.

[0102] Step 703: The touch module instructs SurfaceFlinger to turn on high-frequency TE.

[0103] When the touch module determines to enable the touch enhancement function for the application, it can send a touch enhancement start instruction to SurfaceFlinger. The instruction information may include the target refresh rate (i.e., the second refresh rate). For example, the target refresh rate is 360Hz.

[0104] Step 704: SurfaceFlinger instructs the display screen to adjust the refresh rate in the game application.

[0105] SurfaceFlinger sets the target refresh rate state of the display screen to the variable refresh rate state and sends the second instruction information to the display screen. The second instruction information includes the state information that the display screen is in the variable refresh rate state, and the second instruction information may also include the frame rate of the game application.

[0106] Step 705: The display screen refreshes the page according to the set TE signal.

[0107] After receiving the start instruction, the display screen adjusts the generation period of the TE signal according to the target refresh rate and determines the effective moment of the new period.

[0108] Specifically, the display screen obtains the target refresh rate to be adjusted, determines the interval between each TE signal according to the target refresh rate, and takes the interval between each TE signal as the target interval. For example, if the target refresh rate is 360Hz, then the target interval = 1 / 360*(1000) = 2.7ms. Under the original refresh rate, after detecting the i-th Vsync signal, the display screen displays the image sent by SurfaceFlinger. The display screen can obtain the first duration (i.e., the first difference) between the moment when the display screen receives the sent image and the start moment of displaying the image, where i is an integer greater than 0. If the display screen detects that the first duration is greater than the target interval, the display screen obtains the moment when the next vertical synchronization signal is detected, and takes the moment 2.7ms (i.e., the duration of the target interval) before the moment as the effective moment. The display screen appends a frame of TE signal at the effective moment so that the display screen can display the next frame of the image in advance. Among them, the period of the Vsync signal is 1 / 120*(1000) = 8.3ms; the period of the TE signal is 1 / 360*(1000) = 2.7ms.

[0109] If the display screen detects that the first duration is less than the target interval (eg, 2.7 ms), it determines not to add a TE signal before the next Vsync signal. The display screen continues to detect whether the validation condition is met until the touch enhancement function is turned off.

[0110] It should be noted that, in this example, the display screen does not change the original refresh rate, and when it is detected that the validity condition is met, a TE signal is added in the Vsync period.

[0111] For example, if Figure 9 As shown in 9a, the time for GPU to render the image is short, and the time for SurfaceFlinger to synthesize the image is short, so that SurfaceFlinger can send frames quickly. The original refresh rate of the electronic device is 120Hz as an example, and it is assumed that the variable refresh rate to be adjusted is 360Hz. After the display screen receives the power-on command, it obtains the first time length t1 between the moment when the 4th Vsync signal is detected and the moment when the image is received for display. When the display screen detects that t1 is greater than 2.7ms, it can be determined to add a frame of TE signal at a moment 2.7ms before the 6th Vsync signal, that is, to add a frame of TE signal at a moment a. After receiving the signal, the display screen confirms that the system has synthesized the 3rd frame of the image, and the display screen starts to display the 3rd frame of the image from a moment.

[0112] In another example, when the display screen detects the Vsync signal, it does not receive the image sent by SurfaceFlinger. The display screen can add a TE signal 2.7ms after the current Vsync signal, and can add multiple TE signals within the Vsync period. For example, Figure 9 As shown in 9b, when the display screen detects the 4th Vsync signal, it does not receive the image data of the 2nd frame. The variable refresh rate is 360Hz, and the original target refresh rate of the display screen is 120Hz. Multiple TE signals are added in each Vsync cycle, such as 1, 2, etc., until the display screen can display the image sent by SurfaceFlinger. Figure 9 As shown in 9b, the display screen can add a TE signal at time b, or can add a TE signal at time b and time c, wherein the difference between time b and time c is 2.7ms. The interval between time b and the time of the fourth Vsync signal is 2.7ms.

[0113] If the display screen does not detect conditions that require an additional TE signal, the TE signal may not be added.

[0114] In this example, after the display screen detects that the validation conditions are met, it adds a TE signal to improve the chirality.

[0115] from Figure 9 In the flowchart of the electronic device displaying an image, it can be seen that when the application adopts the first synthesis strategy, after the touch enhancement function is turned on, the display time of each frame of the image is balanced regardless of whether the frame is sent quickly or slowly, thereby reducing the jitter of the page and increasing the hand tracking of the application.

[0116] Figure 10 The figure is a schematic diagram showing an exemplary gaming application with touch enhancement enabled.

[0117] like Figure 10 As shown in 10a, after the game application turns on touch enhancement, the user presses at point A of the interface 1001 and moves the finger in the direction of the black arrow. When the user's finger moves to point B, the game character also moves to point B, and the game character follows the finger movement, and the delay of the game character's movement is reduced.

[0118] In one embodiment, when the game manager receives an operation to turn off the touch enhancement function, it sends a turn-off instruction to the touch module, and the touch module adjusts the refresh rate of the electronic device to restore the default refresh rate according to the turn-off instruction. Figure 11 Describes the process of turning off touch enhancements.

[0119] Step 1101: In response to the user's operation of turning off the enhancement function, the game steward sends a second message to the touch module.

[0120] When the user inputs an operation to turn off the touch enhancement function on the interface of the game steward, a second message can be sent to the touch module. The second message may include an instruction to request turning off the touch enhancement function and the package name of the current game application.

[0121] Step 1102: The touch module determines whether the condition for enabling high-frequency TE is met. When the touch module determines that the condition for enabling high-frequency TE is met, step 703 can be executed.

[0122] After receiving the second message sent by the game steward, the touch module detects whether the game application meets the condition for enabling the touch enhancement function. The process of the touch module detecting whether the game application meets the condition for enabling the touch enhancement function can refer to the relevant description in step 702 and will not be elaborated here.

[0123] When the touch module detects that the game application meets the condition for enabling the touch enhancement function, step 1103 can be executed.

[0124] Step 1103: The touch module instructs SurfaceFlinger to turn off high-frequency TE.

[0125] The touch module can send a shutdown instruction message to turn off high-frequency TE to SurfaceFlinger. The shutdown instruction message may include a default refresh rate, such as the default refresh rate is 120Hz.

[0126] Step 1104: SurfaceFlinger instructs the display screen to turn off high-frequency TE.

[0127] Specifically, SurfaceFlinger sends a shutdown instruction message to the display screen. After receiving the shutdown instruction message, the display screen adjusts the refresh rate of the screen to the default refresh rate.

[0128] Step 1105: The display screen refreshes the page at the default refresh rate.

[0129] In another embodiment, after receiving the instruction to turn off the touch enhancement function, the touch module can directly instruct SurfaceFlinger to turn off high-frequency TE without detecting whether the game application meets the condition for enabling the touch enhancement function. The process of turning off the touch enhancement function is as Figure 12 shown.

[0130] Step 1201: In response to the user's operation of turning off the enhancement function, the game steward sends a second message to the touch module.

[0131] This step can refer to the relevant description in step 1101, and will not be elaborated here.

[0132] Step 1202: The touch module instructs SurfaceFlinger to turn off the high-frequency TE.

[0133] The touch module can send a shutdown instruction message for turning off the high-frequency TE to SurfaceFlinger. This shutdown instruction message can include a second piece of information, which is used to indicate that the display screen is in a fixed refresh rate mode, such as a fixed refresh rate of 120 Hz.

[0134] Step 1203: SurfaceFlinger instructs the display screen to turn off the high-frequency TE.

[0135] Specifically, SurfaceFlinger sends a shutdown instruction message to the display screen. After the display screen receives this shutdown instruction message, it no longer appends the TE signal within the original Vsync period.

[0136] Step 1204: The display screen refreshes the page at the default refresh rate.

[0137] In this application, the response touch operation times of two different game applications in the case of adopting the first synthesis strategy when the touch enhancement function is turned on and off are compared. In the following 4 tables, Table 1 and Table 2 are for the same application. The frame rate of the game application in Table 1 is 60 FPS, and the frame rate of the game application in Table 2 is 90 FPS; Table 3 and Table 4 are for the same application. The frame rate of the game application in Table 3 is 60 FPS, and the frame rate of the game application in Table 4 is 90 FPS. From the data in the 4 tables, it can be seen that after the touch enhancement function is turned on, the followability of the application has been significantly improved.

[0138] Table 1

[0139] Game Application 1 (60FPS) Touch Enhancement Off (unit: ms) Touch Enhancement On (unit: ms) Two-finger Tap 73.6 53.9 Character Movement 159.7 131.9 Skill Back-and-forth Movement 100.8 65 Average Value 111.4 83.6

[0140] Table 2

[0141] Game Application 1 (90FPS) Touch Enhancement Off (unit: ms) Touch Enhancement On (unit: ms) Two-finger Tap 78.9 46.7 Character Movement 156.9 125.3 Skill Back-and-forth Movement 108.3 62.2 Average Value 114.7 78.1

[0142] Table 3

[0143] Game Application 2 (60FPS) Touch Enhancement Off (unit: ms) Touch Enhancement On (unit: ms) Two-finger Tap 79.7 69.4 Character Movement 137.2 123 Skill Back-and-forth Movement 85 72.2 Average Value 100.6 88.2

[0144] Table 4

[0145] Game Application 2 (90FPS) Touch Enhancement Off (unit: ms) Touch Enhancement On (unit: ms) Two-finger Tap 71.9 55.8 Character Movement 119.7 93.9 Skill Back-and-forth Movement 80.8 64.2 Average Value 90.8 71.3

[0146] It can be understood that, in order to implement the above functions, the electronic device includes corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the manner of hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.

[0147] The embodiment of the present application further provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected by a line. For example, the interface circuit can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices (such as the processor). Exemplarily, the interface circuit can read the instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can be made to execute each step in the above embodiments. Of course, the chip system can also include other discrete devices, and the embodiments of the present application do not make specific limitations on this.

[0148] This embodiment further provides a computer storage medium, in which computer instructions are stored. When the computer instructions run on an electronic device, the electronic device is made to execute the above related method steps to implement the method for screen display in the above embodiments. The storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.

[0149] This embodiment further provides a computer program product. When the computer program product runs on a computer, the computer is made to execute the above related steps to implement the method for screen display in the above embodiments.

[0150] Among them, the electronic device, computer storage medium, computer program product, or chip provided in this embodiment are all used to execute the corresponding method for screen display provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.

[0151] Any content of each embodiment of the present application, as well as any content of the same embodiment, can be freely combined. Any combination of the above content is within the scope of the present application.

[0152] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

Claims

1. A method for screen display, characterized in that, Applied to an electronic device, including: When the first synthesis strategy is adopted in the first application, in response to a first touch operation input by the user on the interface of the first application, the interface corresponding to the first touch operation is displayed at a first refresh rate, where the first synthesis strategy is that when the image synthesizer in the electronic device receives the image frame rendered by the current application, the rendered image frame is system-synthesized; When a first adjustment instruction is received, it is detected whether the first application meets a preset adjustment condition, where the first adjustment instruction is used to indicate adjusting the first refresh rate mode of the first application, and the first refresh rate mode is that the display screen adopts a preset first refresh rate; When it is detected that the first application meets the adjustment condition, the first refresh rate mode of the first application is adjusted to a variable refresh rate mode; When the first application adopts the first synthesis strategy, in response to a second touch operation input by the user on the interface of the first application, at the moment when a preset effective condition is detected, the interface corresponding to the second touch operation is displayed at a second refresh rate, and the second refresh rate is greater than the first refresh rate.

2. The method according to claim 1, characterized in that, The electronic device includes a touch module; When a first adjustment instruction is received, detecting whether the first application meets a preset adjustment condition includes: The touch module detects whether the first application adopts the first synthesis strategy to obtain a first detection result; The touch module detects whether the first application belongs to an application in a first preset list to obtain a second detection result; The touch module detects whether the frame rate of the first application is a first preset frame rate to obtain a third detection result; The touch module detects whether the electronic device supports adjusting the refresh mode of the display screen to a variable refresh mode to obtain a fourth detection result; According to the first detection result, the second detection result, the third detection result, and the fourth detection result, a fifth detection result is obtained, and the fifth detection result is used to indicate whether the first application meets the preset adjustment condition.

3. The method according to claim 2, wherein Obtaining a fifth detection result according to the first detection result, the second detection result, the third detection result, and the fourth detection result includes: When the first detection result indicates that the first application adopts the first synthesis strategy, the second detection result indicates that the first application belongs to an application in the first preset list, the third detection result indicates that the frame rate of the first application is the first preset frame rate, and the fourth detection result indicates that the electronic device supports adjusting the refresh mode of the display screen to a variable refresh mode, it is determined that the fifth detection result indicates that the first application meets the preset adjustment condition.

4. The method according to claim 1, wherein The electronic device includes a touch module; When it is detected that the first application meets the adjustment condition, adjusting the first refresh rate mode of the first application to a variable refresh rate mode includes: When the touch module detects that the first application meets the adjustment condition, it sends a first indication message to the image synthesizer; The image synthesizer sends second indication information to the display screen according to the first indication information, where the second indication information includes information about the target refresh rate mode of the display screen, and the information about the target refresh rate mode indicates that the target refresh mode is the variable refresh mode; The display screen sets the variable refresh frequency in the variable refresh rate mode to the second refresh rate according to the second indication information; When detecting a moment that meets a preset activation condition, displaying an interface corresponding to the second touch operation at the second refresh rate includes: The display screen determines the activation moment of the second refresh rate according to the second refresh frequency; The display screen generates a tearing effect TE signal at the activation moment for the display screen to display the received image frame when detecting the TE signal; 5. The method according to claim 4, wherein The display screen determines the activation moment of the second refresh rate according to the second refresh frequency, including: The display screen obtains the start moment of the first image frame currently being displayed as the first moment; The display screen obtains the moment when receiving the first image frame as the second moment, and the first image frame is transmitted from the image synthesizer to the display screen; The display screen obtains the difference between the second moment and the first moment as the first difference; The display screen detects whether the first difference is greater than a target interval, and the target interval is the reciprocal of the second refresh rate; When the display screen detects that the first difference is greater than the target interval, it determines the activation moment, and the activation moment is the moment before the display screen receives the next vertical synchronization signal, and the activation moment is separated from the moment when the display screen receives the next vertical synchronization signal by the target interval; 6. The method according to claim 4, characterized in that, The display screen determines the activation moment of the second refresh rate according to the second refresh frequency, including: When receiving the current vertical synchronization signal, the display screen detects whether it has received the first image frame transmitted from the image synthesizer, and the first image frame is the image frame corresponding to the current one; When it is detected that the first image frame has not been received, N activation moments are obtained within the current vertical synchronization signal period, where N is an integer greater than 0; 7. The method according to claim 4, characterized in that The electronic device is installed with a second application, and the first application allows the second application to be launched on the interface of the first application. The method further includes: In response to a launch operation by the user to launch the second application on the interface of the first application, the first application allows the display screen to display the interface of the second application; In response to an adjustment opening operation input by the user on the interface of the second application, the second application sends the first adjustment instruction to the touch module; 8. The method according to claim 7, wherein The method further includes: In response to a launch operation by the user to launch the second application on the interface of the first application, the first application allows the display screen to display the interface of the second application; In response to an adjustment closing operation input by the user on the interface of the second application, the second application sends a second adjustment instruction to the touch module, and the first adjustment instruction is used to indicate adjusting the refresh rate of the first application to the first refresh rate; When the touch module receives the second adjustment instruction, it detects whether the first application meets a preset adjustment condition; When the touch module detects that the first application meets the adjustment condition, it instructs the display screen to adjust the refresh rate of the first application to the first refresh rate.

9. The method according to claim 7, wherein The method further includes: In response to a start operation of the second application initiated by the user on the interface of the first application, the first application allows the display screen to display the interface of the second application; In response to an adjustment and close operation input by the user on the interface of the second application, the second application sends a second adjustment instruction to the touch module, and the first adjustment instruction is used to instruct to adjust the refresh rate of the first application to the first refresh rate; When the touch module receives the second adjustment instruction, it instructs the display screen to adjust the refresh rate of the first application to the first refresh rate.

10. An electronic device, characterized in that, It includes: A memory and a processor, the memory being coupled to the processor; The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the screen display method according to any one of claims 1 to 9.

11. A computer-readable storage medium, comprising a computer program, characterized in that, When the computer program runs on the electronic device, the electronic device executes the screen display method according to any one of claims 1 to 9.