Screen refresh rate adjustment method, device, storage medium and electronic device

By dynamically adjusting screen refresh rates based on user interaction intervals, the method addresses power consumption and heat issues in electronic devices, enhancing efficiency and versatility.

CN111782458BActive Publication Date: 2025-01-03OPPO CHONGQING INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010485465.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-01
Publication Date
2025-01-03
Estimated Expiration
2040-06-01

AI Technical Summary

Technical Problem

The increase in screen refresh rates in electronic devices leads to increased power consumption and severe heat generation, and existing solutions are inflexible and unable to dynamically adjust refresh rates based on user interaction.

Method used

A method and device that adjust screen refresh rates by timing the interval between user input events, reducing the refresh rate when no interaction is detected, using a dynamic threshold to adapt to different applications and user interaction patterns.

Benefits of technology

This approach reduces unnecessary screen refreshes, improving resource utilization efficiency and mitigating power consumption and heat issues while maintaining flexibility for various applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111782458B_ABST
    Figure CN111782458B_ABST
Patent Text Reader

Abstract

The present disclosure provides a screen refresh rate adjustment method, a screen refresh rate adjustment device, a computer-readable storage medium and an electronic device, and relates to the field of human-computer interaction technology. The method comprises: receiving a preset input event; starting timing from the end of the preset input event to record the interval time to the next preset input event; and adjusting the screen refresh rate according to the timing duration. The present disclosure reduces unnecessary screen refreshes, improves resource utilization efficiency, and improves problems such as increased power consumption and severe heat generation caused by high refresh rates, while meeting the interaction requirements; and has high flexibility and strong versatility for various different apps.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of electronic devices, the screen refresh rate of mobile phones, tablets and other devices has also been improved, from the original 60fps (Frames Per Second) to 90fps, 120fps, etc. However, while the screen refresh rate has increased, it has also brought about adverse effects such as increased power consumption and severe heat generation.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] The present disclosure provides a screen refresh rate adjustment method, a screen refresh rate adjustment device, a computer-readable storage medium and an electronic device, thereby, to a certain extent, solving the problems of increased power consumption and severe heat generation caused by the increase in screen refresh rate in the related art.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] According to a first aspect of the present disclosure, a screen refresh rate adjustment method is provided, comprising: receiving a preset input event; starting timing from the end of the preset input event to record the interval time to the next preset input event; and adjusting the screen refresh rate according to the timing duration.

[0007] According to a second aspect of the present disclosure, a screen refresh rate adjustment device is provided, comprising: a receiving module for receiving a preset input event; a timing module for starting timing from the end of the preset input event to record the interval time to the next preset input event; and an adjustment module for adjusting the screen refresh rate according to the timing duration.

[0008] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the screen refresh rate adjustment method of the first aspect and possible implementation methods thereof are implemented.

[0009] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; and a display; wherein the processor is configured to execute the screen refresh rate adjustment method of the above-mentioned first aspect and its possible implementation methods by executing the executable instructions to adjust the screen refresh rate of the display.

[0010] The technical solution disclosed in this disclosure has the following beneficial effects:

[0011] The timing starts from the end of the preset input event, and the screen refresh rate is adjusted according to the timing duration. On the one hand, the timing duration indicates how long it has been since the user performed the preset input event and the next preset event has not yet been performed, reflecting the current state of human-computer interaction. Adjusting the screen refresh rate according to the timing duration generally reduces the screen refresh rate, which can meet the current interaction needs and reduce unnecessary screen refreshes, thereby improving resource utilization efficiency and improving problems such as increased power consumption and severe heat caused by high refresh rates. On the other hand, no matter which App is running, the screen refresh rate can be dynamically adjusted according to the timing duration to avoid the screen refresh rate remaining unchanged when the App is running, making this solution more flexible than related technologies and more versatile for various different Apps.

[0012] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 A system architecture diagram showing the operating environment of the exemplary embodiment;

[0015] Figure 2 A structural diagram of a mobile terminal in this exemplary embodiment is shown;

[0016] Figure 3 A flow chart showing a method for adjusting a screen refresh rate in this exemplary embodiment is shown;

[0017] Figure 4 A flowchart for determining a first threshold in this exemplary embodiment is shown;

[0018] Figure 5 A flowchart of updating a first threshold value in this exemplary embodiment is shown;

[0019] Figure 6 A flowchart showing a timing in this exemplary embodiment is shown;

[0020] Figure 7 A structural diagram of a screen refresh rate adjustment device in this exemplary embodiment is shown. DETAILED DESCRIPTION

[0021] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0022] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0023] In one solution of the related art, different screen refresh rates can be set according to different Apps (Applications). Figure 1 As shown, it is possible to pre-judge whether an App requires a high refresh rate, so as to determine whether to use a high screen refresh rate or a low screen refresh rate, and then set the screen refresh rate accordingly to meet the needs of different Apps. However, this solution is relatively rigid in setting the screen refresh rate. During the use of an App, the screen refresh rate remains fixed. When running an App that requires a high refresh rate, problems such as increased power consumption and severe heat generation will still occur. For some Apps, it is impossible to pre-judge what refresh rate they require, so this solution cannot be used.

[0024] In view of one or more of the above problems, an exemplary embodiment of the present disclosure provides a screen refresh rate adjustment method, which can be applied to electronic devices such as mobile phones, tablet computers, game consoles, PDAs (Personal Digital Assistants), and smart wearable devices. The electronic device generally includes a processor, a memory, and a display. Among them, the memory is used to store executable instructions of the processor; the display includes at least one screen for displaying a graphical user interface; the processor implements various software programs by executing executable instructions, such as implementing the screen refresh rate adjustment method of this exemplary embodiment to adjust the screen refresh rate of the display.

[0025] Below Figure 2 Taking the mobile terminal 200 in FIG. 1 as an example, the structure of the electronic device is exemplarily described. It should be understood by those skilled in the art that, in addition to the components specifically used for mobile purposes, Figure 2 The structure in the figure can also be applied to fixed type devices. In other embodiments, the mobile terminal 200 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 can be implemented in hardware, software, or a combination of software and hardware. The interface connection relationship between the components is only shown schematically and does not constitute a structural limitation of the mobile terminal 200. In other embodiments, the mobile terminal 200 may also adopt the same Figure 2 Different interface connection methods, or a combination of multiple interface connection methods.

[0026] like Figure 2 As shown, the mobile terminal 200 may specifically include: a processor 210, an internal memory 221, an external memory interface 222, a USB interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 271, a receiver 272, a microphone 273, an earphone interface 274, a sensor module 280, a display screen 290, a camera module 291, an indicator 292, a motor 293, a button 294 and a subscriber identification module (Subscriber Identification Module, SIM) card interface 295, etc.

[0027] The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, an encoder, a decoder, a digital signal processor (DSP), a baseband processor and / or a neural network processor (NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. The encoder can encode (i.e., compress) the image or video data to form a code stream data; the decoder can decode (i.e., decompress) the code stream data of the image or video to restore the image or video data.

[0028] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an Inter-Integrated Circuit (I2C) interface, an Inter-Integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a General-Purpose Input / Output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and / or a Universal Serial Bus (USB) interface, etc. Connections are formed with other components of the mobile terminal 200 through different interfaces.

[0029] The USB interface 230 is an interface that complies with the USB standard specification, and specifically can be a MiniUSB interface, a MicroUSB interface, a USB Type C interface, etc. The USB interface 230 can be used to connect a charger to charge the mobile terminal 200, can also be connected to headphones to play audio through the headphones, and can also be used to connect the mobile terminal 200 to other electronic devices, such as computers, peripheral devices, etc.

[0030] The charging management module 240 is used to receive charging input from a charger. While the charging management module 240 is charging the battery 242 , it can also power the device through the power management module 241 .

[0031] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, supplies power to various parts of the mobile terminal 200, and can also be used to monitor the status of the battery.

[0032] The wireless communication function of the mobile terminal 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, the baseband processor, and the like.

[0033] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile terminal 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the mobile terminal 200.

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

[0035] In some embodiments, the antenna 1 of the mobile terminal 200 is coupled to the mobile communication module 250, and the antenna 2 is coupled to the wireless communication module 260, so that the mobile terminal 200 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include Global System for Mobilecommunications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), New Radio (NR), BT, GNSS, WLAN, NFC, FM, and / or IR technology.

[0036] The mobile terminal 200 implements the display function through a GPU, a display screen 290, and an application processor. The GPU is used to perform mathematical and geometric calculations to achieve graphics rendering and connect the display screen 290 and the application processor. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information. The mobile terminal 200 may include one or more display screens 290 for displaying images, videos, etc.

[0037] The mobile terminal 200 can realize the shooting function through the ISP, the camera module 291, the encoder, the decoder, the GPU, the display screen 290 and the application processor.

[0038] The camera module 291 is used to capture static images or videos, collect light signals through photosensitive elements, and convert them into electrical signals. The ISP is used to process the data fed back by the camera module 291 and convert the electrical signals into digital image signals.

[0039] The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile terminal 200 .

[0040] The internal memory 221 can be used to store computer executable program codes, which include instructions. The internal memory 221 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 (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data (such as images, videos), etc. created during the use of the mobile terminal 200. The processor 210 executes various functional applications and data processing of the mobile terminal 200 by running instructions stored in the internal memory 221 and / or instructions stored in a memory provided in the processor.

[0041] The mobile terminal 200 can implement audio functions through an audio module 270, a speaker 271, a receiver 272, a microphone 273, an earphone jack 274, and an application processor. For example, music playing, recording, etc. The audio module 270 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 270 can also be used to encode and decode audio signals. The speaker 271 is used to convert audio electrical signals into sound signals. The receiver 272 is used to convert audio electrical signals into sound signals. The microphone 273 is used to convert sound signals into electrical signals. The earphone jack 274 is used to connect wired headphones.

[0042] The sensor module 280 may include a touch sensor 2801, a pressure sensor 2802, a gyroscope sensor 2803, an air pressure sensor 2804, and the like. The touch sensor 2801 is used to sense touch events input from the outside. It can be set below the display screen 290 to make the display screen 290 a touch screen, or it can be set at other locations, such as a touch panel independent of the display screen 290, or it can be set at a matching external device of the mobile terminal 200, such as an external touch panel, a touch remote control, etc., so that the user can achieve touch interaction through an external device. The pressure sensor 2802 is used to sense the pressure signal, and the pressure signal can be converted into an electrical signal for realizing functions such as pressure touch. The gyroscope sensor 2803 can be used to determine the motion posture of the mobile terminal 200, and can be used for scenes such as anti-shake shooting, navigation, and somatosensory games. The air pressure sensor 2804 is used to measure air pressure, and can assist in positioning and navigation by calculating the altitude. In addition, according to actual needs, sensors with other functions, such as a depth sensor, an acceleration sensor, a distance sensor, etc., may also be provided in the sensor module 280.

[0043] Indicator 292 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0044] The motor 293 can generate vibration prompts, such as vibration prompts for incoming calls, alarms, received messages, etc., and can also be used for touch vibration feedback, etc.

[0045] The key 294 includes a power key, a volume key, etc. The key 294 may be a mechanical key or a touch key. The mobile terminal 200 may receive key input and generate key signal input related to user settings and function control of the mobile terminal 200.

[0046] The mobile terminal 200 may support one or more SIM card interfaces 295 for connecting to a SIM card, so that the mobile terminal 200 interacts with the network through the SIM card to implement functions such as calls and data communications.

[0047] Combine the following Figure 3 The screen refresh rate adjustment method of the exemplary embodiment of the present disclosure is specifically described. Figure 3 As shown, the screen refresh rate adjustment method may include the following steps S310 to S330:

[0048] Step S310: receiving a preset input event.

[0049] The preset input event refers to an operation of a preset type input by the user, which is generally an input event that interacts with the graphical user interface displayed on the screen, such as the user selecting content, inputting content, moving pages, jumping to other pages, etc. in the graphical user interface through input devices such as a mouse, keyboard, and keys. If the electronic device is a touch terminal, the preset input event may include a touch event. For example, when the user clicks the touch screen or performs touch operations such as sliding and pressing on the touch screen, it can be determined that the preset input event has been received.

[0050] In an optional implementation, when a preset input event is received, the screen refresh rate can be set to a first preset value. Receiving a preset input event indicates that the device is currently in an interactive state and requires a higher screen refresh rate, so the first preset value can be a higher value, for example, it can be the highest refresh rate supported by the device screen (such as 90fps, 120fps), or the highest refresh rate required by the currently running App, or other empirical values, which are not specifically limited in this disclosure.

[0051] Step S320, starting to count from the time when the above preset input event ends, to record the interval time to the next preset input event.

[0052] In this exemplary embodiment, the system can maintain a timer, and when a preset input event ends, the timer starts timing from 0 until the next preset input event occurs. The timer records the interval between the currently ended preset input event and the occurrence of the next preset event. Generally, during the timing process, it is necessary to monitor in real time whether the next preset input event occurs, and the system can perform monitoring through a specific process. For example, in the Android system, all input events received by the driver layer will enter the dev / input directory and scan the information in dev / input through the InputReader process. All input events at each moment can be monitored, and then whether there is a preset input event among them can be detected.

[0053] Step S330, adjusting the screen refresh rate according to the timing duration.

[0054] The duration of the timing indicates how long the current system has not received any preset input events, which means how long the user has not actively initiated interaction, so the screen refresh rate can be adjusted. Usually, the screen refresh rate can be appropriately reduced.

[0055] In an optional implementation, during the time accumulation process, the screen refresh rate can be stepped down according to the predetermined correspondence between the duration and the screen refresh rate. For example, when the timing duration reaches 50ms, the screen refresh rate is lowered from 120fps to 90fps, when the duration reaches 100ms, it is lowered to 60fps, when the duration reaches 300ms, it is lowered to 30fps, etc. In this way, the screen refresh rate reduction process is smoother and the user does not perceive it.

[0056] In an optional implementation, when the timing reaches the first threshold, the screen refresh rate can be adjusted to a second preset value. The first threshold is a time threshold for measuring whether the time during which the user does not input the next preset input event is too long, and can be set according to experience or actual needs. For example, the first threshold can be determined according to the response time of the currently running App. For example, if the page refresh response time of AppXYZ is 50ms, the first threshold is set to 50ms; or according to the historical operation data of the user in the App, the interval between two consecutive preset input events is counted (for example, a condition can be set, two preset input events within an interval of 5s are considered continuous, otherwise they are considered discontinuous), and the maximum value, or the average plus four times the standard deviation, etc., is taken as the first threshold. The second preset value is less than the above-mentioned first preset value, indicating the screen refresh rate required by the App when the user interaction is not active. It can be set according to experience, actual needs and combined with the hardware parameters of the screen. For example, for a screen that supports a maximum refresh rate of 120fps, the second preset value can be set to 60fps, or in some App scenarios with low page refresh requirements, such as e-books, news and other text-based Apps, a lower second preset value can be set.

[0057] From the above, it can be seen that during the timing process, once the set conditions are met, such as the duration reaches the first threshold, the screen refresh rate can be adjusted without waiting until the timing ends.

[0058] In an optional embodiment, reference Figure 4 As shown, the first threshold can be determined by the following steps S410 and S420:

[0059] Step S410: When the application starts to run, a first threshold is set according to the response time of the application.

[0060] Step S420: During the running of the application program, when a preset input event is received, the first threshold is adjusted according to the last preset input interval time.

[0061] When the application starts to run, the first threshold may be set to the response time of the application as the initial value of the first threshold.

[0062] The last preset input interval is the interval from the end of the last preset input event to the start of the current preset input event, and is also the duration of the timer after the end of the last preset input event. That is to say, during the running of the application, each time a new preset input event is received, the last preset input interval can be determined. The last preset input interval indicates the frequency of the user's current operation, and the first threshold can be adaptively adjusted according to the last preset input interval.

[0063] Generally, when the previous preset input interval is relatively long, the first threshold can be appropriately increased; when the previous preset input interval is relatively short, the first threshold can be appropriately decreased. However, the present disclosure is not limited thereto. The following further provides several specific implementation manners:

[0064] (1) Refer to Figure 5 As shown, step S420 may specifically include the following steps S510 to S530:

[0065] Step S510: During the running of the application, when a preset input event is received, obtain the previous preset input interval.

[0066] Step S520: If the previous preset input interval is greater than the second threshold, update the first threshold with the sum of the previous preset input interval and the preset step.

[0067] Step S530: If the previous preset input interval is less than the second threshold, update the first threshold by subtracting the preset step from the first threshold;

[0068] Among them, the preset step is a step value for increasing or decreasing time determined according to experience or actual requirements. Generally, a relatively small value can be adopted, such as 10 ms, 20 ms, etc. The second threshold is greater than the first threshold and is another empirical value or calculated value for measuring time. For example, the second threshold may be the sum of the first threshold and the preset step. During the dynamic update of the first threshold, the second threshold also changes accordingly.

[0069] Let T1 represent the first threshold, T2 represent the second threshold, s represent the preset step, and B represent the previous preset input interval. Then the update process of T1 is as follows:

[0070] If B > T2, then T1 = B + s;

[0071] If B < T2, then T1 = T1 - s.

[0072] In this way, the update process of the first threshold is relatively smooth and can better adapt to the user's interaction state.

[0073] (2) The update process of T1 can also be as follows:

[0074] If B > T1 + s, then T1 = B + s;

[0075] If B = T1 + s, then T1 = T1 - s.

[0076] (3) The update process of T1 can also be as follows:

[0077] If B > T1 + s, then T1 = T1 + s;

[0078] If T1 - s < B < T1 + s, then T1 remains unchanged.

[0079] If B < T1 - s, then T1 = T1 - s.

[0080] (4) The T1 update process can also be as follows:

[0081] If B > T1 + s, then T1 = B + s;

[0082] If T1 - s < B < T1, then T1 = T1 - s;

[0083] If B < T1 - s, then T1 = T0, where T0 is the response time of the application.

[0084] In addition, no matter which of the above methods is adopted, when updating the first threshold, the response time of the above application can be used as the minimum value of the first threshold. For example, if the response time is 50 ms, when the first threshold is reduced to 50 ms, it will no longer continue to decrease, so as to ensure that the first threshold is not lower than the response time, thereby maintaining the basic screen refresh requirements of the application.

[0085] Based on the above, in this exemplary embodiment, timing starts from the end of the preset input event, and the screen refresh rate is adjusted according to the timing duration. On the one hand, the timing duration represents how long it has been since the user performed the preset input event until the next preset event has not been performed yet, reflecting the current human-computer interaction state. Adjusting the screen refresh rate according to the timing duration, generally by reducing the screen refresh rate, can meet the current interaction requirements, while reducing unnecessary screen refreshes, thereby improving resource utilization efficiency and alleviating problems such as increased power consumption and serious heating caused by high refresh rates. On the other hand, no matter which App is running, the screen refresh rate can be dynamically adjusted according to the timing duration, avoiding the screen refresh rate remaining unchanged when the App is running, making this solution more flexible than the related technologies and more versatile for various different Apps.

[0086] In an alternative embodiment, during the timing process, with reference to Figure 6 as shown, the following steps S610 and S620 can also be performed:

[0087] Step S610, when the next preset input event is received, stop timing.

[0088] Step S620, restart timing from the end of the next preset input event.

[0089] By Figure 4From the steps, we can see that at the end of each preset input event, the timing starts from 0. When the timing reaches the set condition, the screen refresh rate adjustment is triggered and the App continues to run; when the next preset input event is received, the timing is stopped, and the timing can be reset to zero, and a higher screen refresh rate can be restored; when the next preset input event ends, the timing starts again from 0, and the screen refresh rate adjustment is triggered again when the condition is met. In other words, during the running of the App, the interval time of the user's preset input events can be recorded in real time throughout the process, and the screen refresh rate can be continuously and dynamically adjusted according to the length of the interval time, thereby increasing the robustness of this solution.

[0090] The exemplary embodiment of the present disclosure also provides a screen refresh rate adjustment device. Figure 7 As shown, the screen refresh rate adjustment device 700 may include:

[0091] The receiving module 710 is used to receive a preset input event;

[0092] A timing module 720, configured to start timing from the end of a preset input event to record the interval time to the next preset input event;

[0093] The adjustment module 730 is used to adjust the screen refresh rate according to the timing duration.

[0094] In an optional implementation, the timing module 720 is configured to:

[0095] When the next preset input event is received, the timing is stopped;

[0096] The timing restarts at the end of the next preset input event.

[0097] In an optional implementation, the adjustment module 730 is further configured to set the screen refresh rate to a first preset value when the receiving module 710 receives a preset input event.

[0098] In an optional implementation, the adjustment module 730 is configured to:

[0099] When the timing duration reaches a first threshold, the screen refresh rate is adjusted to a second preset value; the second preset value is smaller than the first preset value.

[0100] In an optional implementation, the adjustment module 730 is configured to determine the first threshold in the following manner:

[0101] When the application starts running, setting a first threshold value according to the response time of the application;

[0102] During the running of the application, when a preset input event is received, the first threshold is adjusted according to the last preset input interval time; the last preset input interval time is the interval time from the end of the last preset input event to the start of the current preset input event.

[0103] In an optional implementation, the adjustment module 730 is configured to:

[0104] During the running of the application, when a preset input event is received, the last preset input interval time is obtained;

[0105] If the last preset input interval time is greater than the second threshold, updating the first threshold value by the sum of the last preset input interval time and the preset step length;

[0106] If the last preset input interval time is less than the second threshold, the first threshold is updated by subtracting the preset step length from the first threshold;

[0107] The second threshold is greater than the first threshold.

[0108] In an optional implementation, the preset input event includes a touch event.

[0109] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.

[0110] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0111] The exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above-mentioned method of the present specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of the present specification, for example, it can execute Figures 3 to 6The program product may be in the form of a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0112] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0113] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0114] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0115] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0116] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0117] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A screen refresh rate adjustment method, characterized in that: including: Receiving a preset input event; Starting timing from the end of the preset input event to record the interval time to the next preset input event; Adjusting the screen refresh rate according to the elapsed time of the timing; The adjusting the screen refresh rate according to the elapsed time of the timing includes: when the elapsed time of the timing reaches a first threshold, adjusting the screen refresh rate to a second preset value; The first threshold is determined by the following method: When the application starts running, setting the first threshold according to the response time of the application; During the running of the application, when a preset input event is received, adjusting the first threshold according to the previous preset input interval time; the previous preset input interval time is the interval time from the end of the previous preset input event to the start of the current preset input event; the first threshold is positively correlated with the previous preset input interval time.

2. The method according to claim 1, characterized in that When performing the timing, the method further includes: When the next preset input event is received, stopping the timing; Restarting the timing from the end of the next preset input event.

3. The method according to claim 1, characterized in that The adjusting the screen refresh rate according to the elapsed time of the timing includes: during the accumulation of the timing, stepwise reducing the screen refresh rate according to the pre-determined correspondence between the elapsed time and the screen refresh rate.

4. The method according to claim 1, characterized in that: The method further includes: When the preset input event is received, setting the screen refresh rate to a first preset value; the second preset value is less than the first preset value.

5. The method according to claim 1, characterized in that The adjusting the first threshold according to the previous preset input interval time includes at least one of the following methods: If B > T1 + s, then T1 = B + s; if B = T1 + s, then T1 = T1 - s; If B > T1 + s, then T1 = T1 + s; if T1 - s < B < T1 + s, then T1 remains unchanged; if B < T1 - s, then T1 = T1 - s; If B > T1 + s, then T1 = B + s; if T1 - s < B < T1, then T1 = T1 - s; if B < T1 - s, then T1 = T0, where T0 is the response time of the application; Wherein, B represents the previous preset input interval time, T1 represents the first threshold, s represents a preset step length, and T0 represents the response time of the application.

6. The method according to claim 1, characterized in that The adjusting the first threshold according to the previous preset input interval time during the running of the application when a preset input event is received includes: During the running of the application, when a preset input event is received, obtaining the previous preset input interval time; If the previous preset input interval time is greater than a second threshold, updating the first threshold with the sum of the previous preset input interval time and the preset step length; If the previous preset input interval time is less than the second threshold, updating the first threshold by subtracting the preset step length from the first threshold; Wherein, the second threshold is greater than the first threshold.

7. The method according to claim 4, characterized in that The first preset value is the highest refresh rate supported by the device screen or the highest refresh rate required by the currently running App.

8. A screen refresh rate adjustment device, characterized in that: including: A receiving module for receiving a preset input event; A timing module, used to start timing from the end of the preset input event to record the interval time to the next preset input event; An adjustment module, used to adjust the screen refresh rate according to the timing duration; and when the preset input event is received, setting the screen refresh rate to a first preset value; The adjusting the screen refresh rate according to the timing duration includes: when the timing duration reaches a first threshold, adjusting the screen refresh rate to a second preset value; The first threshold is determined by: When the application starts running, setting the first threshold according to the response time of the application; During the running of the application, when a preset input event is received, the first threshold is adjusted according to the previous preset input interval time; the previous preset input interval time is the interval time from the end of the previous preset input event to the start of the current preset input event; the first threshold is positively correlated with the previous preset input interval time.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; as well as monitor; The processor is configured to perform the method according to any one of claims 1 to 7 by executing the executable instructions to adjust the screen refresh rate of the display.