CN110175062B - Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium - Google Patents

Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium Download PDF

Info

Publication number
CN110175062B
CN110175062B CN201910420833.6A CN201910420833A CN110175062B CN 110175062 B CN110175062 B CN 110175062B CN 201910420833 A CN201910420833 A CN 201910420833A CN 110175062 B CN110175062 B CN 110175062B
Authority
CN
China
Prior art keywords
mobile terminal
application
frame rate
forefront
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910420833.6A
Other languages
Chinese (zh)
Other versions
CN110175062A (en
Inventor
寇贵森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910420833.6A priority Critical patent/CN110175062B/en
Publication of CN110175062A publication Critical patent/CN110175062A/en
Application granted granted Critical
Publication of CN110175062B publication Critical patent/CN110175062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a screen refreshing frame rate adjusting method of a mobile terminal, the mobile terminal and a storage medium, aiming at the mobile terminal. The invention firstly determines the forefront application of the mobile terminal through a rendering system of the mobile terminal, then obtains the application refreshing frame rate of the forefront application through the rendering system, and then adjusts the screen refreshing frame rate of the mobile terminal according to the obtained application refreshing frame rate. According to the invention, the refresh frame rate of the forefront application is acquired in real time in the rendering system of the mobile terminal, so that the screen refresh frame rate of the mobile terminal is timely adjusted by accurately acquiring the application refresh frame rate, thereby reducing the blocking duration of the screen display of the mobile terminal and further improving the visual experience of a user.

Description

Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method for adjusting a screen refresh frame rate of a mobile terminal, and a storage medium.
Background
With the development of technology, mobile terminals have become popular, and are found in every corner of people's daily life, for example, smart phones and tablet computers, through which people can communicate with each other in video, chat, singing, ordering, playing games, etc., and these mobile terminals not only provide convenience for people in work, but also enrich people's daily life.
Currently, the refresh frame rate of the mobile terminal screen (for convenience of description, hereinafter referred to as screen refresh frame rate) is generally set to 60FPS (Frames Per Second, the number of frames transmitted per second), and the screen support screen refresh frame rate of a part of the mobile terminal is 90FPS, however, when the mobile terminals supporting the screen refresh frame rate of 90FPS play games, the refresh frame rate of the game application is not constant and is fluctuated in the game process, so that the screen display frame of the mobile terminal is seriously lost and the card pause time is long, the user experience is greatly reduced, in this regard, mobile terminal manufacturers generally adopt a cut-off method, the screen refresh frame rate is set to 60FPS for some applications, and the screen refresh frame rate is switched to 90FPS for some applications, but the problem cannot be well solved by such a method, and the situation that the card pause time is longer still occurs.
Disclosure of Invention
The invention mainly aims to provide a method for adjusting a screen refresh frame rate of a mobile terminal, the mobile terminal and a storage medium, and aims to solve the technical problems that when the screen refresh frame rate of the mobile terminal fluctuates, screen display frame dropping is serious and the clamping time is long. The screen refresh frame rate adjustment method comprises the following steps:
determining the forefront application of the mobile terminal through a rendering system of the mobile terminal;
acquiring an application refresh frame rate of the forefront application through the rendering system;
and adjusting the screen refreshing frame rate of the mobile terminal according to the acquired application refreshing frame rate.
Optionally, the step of determining, by the rendering system of the mobile terminal, a forefront application of the mobile terminal includes:
acquiring a topmost layer in a visible region callback function of the rendering system;
and setting the mobile terminal application corresponding to the topmost layer as the forefront application of the mobile terminal.
Further, after the step of obtaining the topmost layer in the visible area callback function of the rendering system, before the step of setting the mobile terminal application corresponding to the topmost layer as the forefront application of the mobile terminal, the screen refresh frame rate adjustment method further includes:
judging whether the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal according to the name of the topmost layer, otherwise, executing the step of setting the mobile terminal application corresponding to the topmost layer as the forefront application of the mobile terminal.
Further, after the step of determining, according to the name of the topmost layer, whether the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal, the screen refresh frame rate adjustment method includes:
and when the mobile terminal application corresponding to the topmost layer is the system application of the mobile terminal, jumping to the step of acquiring the topmost layer in the callback function of the visible area of the rendering system.
Still further, after the step of determining, according to the name of the topmost layer, whether the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal, the screen refresh frame rate adjustment method further includes:
when the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal, acquiring a next layer of the topmost layer;
and setting the mobile terminal application corresponding to the next layer of layer as the forefront application of the mobile terminal.
Still alternatively, the step of obtaining, by the rendering system, an application refresh frame rate of the forefront application includes:
monitoring a request time interval of the forefront application sending an image buffering request to the rendering system;
and calculating the application refresh frame rate of the forefront application according to the request time interval.
Still alternatively, the step of adjusting the screen refresh frame rate of the mobile terminal according to the acquired application refresh frame rate includes:
calculating the time interval of the mobile terminal screen for acquiring the first two frames of images of the forefront application when the screen refreshing frame rate is the value according to the application refreshing frame rate;
and adjusting the screen refreshing frame rate to be the value of the screen refreshing frame rate corresponding to the time interval of the first two frames of images at the minimum.
Alternatively, after the step of acquiring, by the rendering system, the application refresh frame rate of the forefront application, before the step of adjusting, according to the acquired application refresh frame rate, the screen refresh frame rate of the mobile terminal, the method includes:
acquiring an application refresh frame rate average value of the forefront application in a preset period before the current moment;
and outputting the average value of the application refreshing frame rate as the application refreshing frame rate.
In addition, in order to achieve the above object, the present invention also provides a mobile terminal, which includes a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the method for adjusting a screen refresh frame rate of the mobile terminal.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the above screen refresh frame rate adjustment method.
The invention provides a screen refreshing frame rate adjusting method of a mobile terminal, the mobile terminal and a storage medium, aiming at the mobile terminal. The invention firstly determines the forefront application of the mobile terminal through a rendering system of the mobile terminal, then obtains the application refreshing frame rate of the forefront application through the rendering system, and then adjusts the screen refreshing frame rate of the mobile terminal according to the obtained application refreshing frame rate. According to the invention, the refresh frame rate of the forefront application is acquired in real time in the rendering system of the mobile terminal, so that the screen refresh frame rate of the mobile terminal is timely adjusted by accurately acquiring the application refresh frame rate, thereby reducing the blocking duration of the screen display of the mobile terminal and further improving the visual experience of a user.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a wireless communication system of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an embodiment of a method for adjusting a screen refresh frame rate of a mobile terminal according to a first embodiment of the present invention;
fig. 4 is a schematic flow chart of acquiring a forefront application according to the first embodiment of the present invention;
FIG. 5 is a flowchart of another method for acquiring a foreground application according to the first embodiment of the present invention;
fig. 6 is a schematic diagram of a mobile terminal according to a second embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like. The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
First embodiment
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for adjusting a screen refresh frame rate of a mobile terminal according to the present invention.
In the present embodiment, the first embodiment of the screen refresh frame rate adjustment method of the mobile terminal is provided, and the present embodiment is applicable to a mobile terminal, for example, a smart phone, a tablet computer, or the like, which is provided with a screen for display, it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here.
In this embodiment, the screen refresh frame rate adjustment method includes:
step S301, determining, by a rendering system of the mobile terminal, a forefront application of the mobile terminal.
In this embodiment, when the mobile terminal user is using the application on the mobile terminal, since part of the application has its own application refresh frame rate, frame dropping and blocking occur on the screen of the mobile terminal when the application is displayed, so that the foreground application of the mobile terminal is acquired first, and the foreground application of the mobile terminal is determined and acquired by the rendering system of the mobile terminal, for example, the accuracy of acquiring the foreground application of the mobile terminal can be improved, for example, the foreground application of the mobile terminal is determined by a Surface Flinger (display synthesis system).
Preferably, when determining the foremost application of the mobile terminal, firstly acquiring the topmost layer in the callback function of the visible area of the rendering system, and setting the mobile terminal application corresponding to the topmost layer as the foremost application of the mobile terminal, thereby improving the accuracy of determining the foremost application, and specifically, the topmost layer is the topmost layer in the callback function of the visible area of the rendering system in the vertical direction.
In consideration of that when the mobile terminal user uses the forefront application, other mobile terminal applications may occupy the forefront layer of the rendering system in a popup window through system reminding/notification, therefore, further preferably, after acquiring the forefront layer in the visible region callback function of the rendering system, before setting the mobile terminal application corresponding to the forefront layer as the forefront application of the mobile terminal, judging whether the mobile terminal application corresponding to the forefront layer is the system application of the mobile terminal according to the name of the forefront layer, if the mobile terminal application corresponding to the forefront layer is not the system application of the mobile terminal, jumping to the step of setting the mobile terminal application corresponding to the forefront layer as the forefront application of the mobile terminal, namely determining the forefront application of the mobile terminal, thereby further improving the accuracy of determining the forefront application.
Still further preferably, if the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal, the step of obtaining the topmost layer in the callback function of the visible area of the rendering system is skipped until the mobile terminal application corresponding to the topmost layer is not a system application of the mobile terminal. Referring to fig. 4, fig. 4 is a schematic flow diagram of acquiring a forefront application according to a first embodiment of the present invention.
Still further preferably, if the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal, a next layer of the topmost layer in the vertical direction is acquired, and then the mobile terminal application corresponding to the next layer of the layer is set as a foremost application of the mobile terminal, so that interference of system popup notification/reminding on acquiring the topmost layer is effectively avoided. Referring to fig. 5, fig. 5 is a schematic flow chart of another method for acquiring the forefront application according to the first embodiment of the present invention.
Step S302, acquiring an application refresh frame rate of the forefront application through a rendering system.
In this embodiment, after the foreground application of the mobile terminal is determined, the application refresh frame rate of the foreground application is acquired by the rendering system, and it should be understood that the application refresh frame rate is the application refresh frame rate of the foreground application acquired in real time, and has real-time performance.
Preferably, when the application refresh frame rate of the forefront application is acquired, a request time interval of the forefront application sending an image buffer request to the rendering system is monitored, and then the application refresh frame rate of the forefront application is calculated according to the request time interval, so that the real-time application refresh frame rate of the forefront application is accurately acquired.
In consideration of that in some game applications, the real-time value of the application refresh frame rate fluctuates frequently, it is further preferable that, after the application refresh frame rate of the forefront application is obtained and before the screen refresh frame rate of the mobile terminal is adjusted, the average value of the application refresh frame rate of the forefront application in a preset period before the current time is obtained by taking the current time as a reference, and the average value of the application refresh frame rate is used as the application refresh frame rate of the forefront application at the current time to be output, so that irregular jamming caused by the real-time fluctuation of the application refresh frame rate frequently is effectively avoided, and smoothness of application display is further improved. Further preferably, the preset period is 5 seconds, so that smoothness of application display is greatly improved.
Step S303, the screen refreshing frame rate of the mobile terminal is adjusted according to the acquired application refreshing frame rate.
In this embodiment, after the application refresh frame rate of the foreground application of the mobile terminal is obtained, the screen refresh frame rate of the mobile terminal may be reasonably adjusted according to the application refresh frame rate, so as to improve the smoothness of application display.
Preferably, the method includes calculating a screen refreshing frame rate according to an application refreshing frame rate of the mobile terminal, wherein the screen refreshing frame rate is a time interval of the first two frames of images of the forefront application acquired by a mobile terminal screen, and then adjusting the screen refreshing frame rate to be a value of the screen refreshing frame rate corresponding to the time interval of the first two frames of images which is the smallest, so that smoothness of application display is improved.
Considering that the refresh frame rate of the current mobile terminal screen is mainly 60FPS and 90FPS, it is further preferable that when the application refresh frame rate ranges from [0,20] to [50,70] (inclusive), the screen refresh frame rate is adjusted to 60FPS, whereas the application refresh frame rate of the current mobile terminal application is generally not more than 90FPS, and therefore, when the application refresh frame rate is out of the above range, the screen refresh frame rate is adjusted to 90FPS, thereby further improving the smoothness of application display.
The embodiment provides a screen refreshing frame rate adjusting method of a mobile terminal, aiming at the mobile terminal. The invention firstly determines the forefront application of the mobile terminal through a rendering system of the mobile terminal, then obtains the application refreshing frame rate of the forefront application through the rendering system, and then adjusts the screen refreshing frame rate of the mobile terminal according to the obtained application refreshing frame rate. According to the invention, the refresh frame rate of the forefront application is acquired in real time in the rendering system of the mobile terminal, so that the screen refresh frame rate of the mobile terminal is timely adjusted by accurately acquiring the application refresh frame rate, thereby reducing the blocking duration of the screen display of the mobile terminal and further improving the visual experience of a user.
Second embodiment
Referring to fig. 6, the present embodiment provides a mobile terminal, including: the mobile terminal comprises a processor, a memory and a communication bus, wherein the communication bus is used for realizing connection communication between the processor and the memory, and the processor is used for executing one or more programs stored in the memory so as to realize the steps of the screen refresh frame rate adjustment method of the mobile terminal according to any one of the embodiments.
The present embodiment also provides a computer storage medium storing one or more programs executable by one or more processors to implement the steps of the screen refresh frame rate adjustment method as in any of the above embodiments. The specific embodiments of the mobile terminal are basically the same as the specific embodiments of the method for adjusting the screen refresh frame rate of the mobile terminal, and are not described herein.
The mobile terminal and the computer readable storage medium provided by the embodiment aim at the mobile terminal. The invention firstly determines the forefront application of the mobile terminal through a rendering system of the mobile terminal, then obtains the application refreshing frame rate of the forefront application through the rendering system, and then adjusts the screen refreshing frame rate of the mobile terminal according to the obtained application refreshing frame rate. According to the invention, the refresh frame rate of the forefront application is acquired in real time in the rendering system of the mobile terminal, so that the screen refresh frame rate of the mobile terminal is timely adjusted by accurately acquiring the application refresh frame rate, thereby reducing the blocking duration of the screen display of the mobile terminal and further improving the visual experience of a user.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (3)

1. The screen refresh frame rate adjustment method of the mobile terminal is applied to the mobile terminal and is characterized by comprising the following steps of:
determining the forefront application of the mobile terminal through a rendering system of the mobile terminal;
acquiring an application refresh frame rate of the forefront application through the rendering system;
adjusting the screen refreshing frame rate of the mobile terminal according to the application refreshing frame rate obtained in real time;
determining, by a rendering system of a mobile terminal, a forefront application of the mobile terminal, including:
acquiring a topmost layer in a visible region callback function of the rendering system;
setting the mobile terminal application corresponding to the topmost layer as the foremost application of the mobile terminal;
after the step of obtaining the topmost layer in the visible region callback function of the rendering system, before the step of setting the mobile terminal application corresponding to the topmost layer as the forefront application of the mobile terminal, the screen refresh frame rate adjustment method further includes:
judging whether the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal according to the name of the topmost layer, otherwise, executing the step of setting the mobile terminal application corresponding to the topmost layer as the forefront application of the mobile terminal;
after the step of judging whether the mobile terminal application corresponding to the topmost layer is the system application of the mobile terminal according to the name of the topmost layer, the screen refresh frame rate adjustment method comprises the following steps:
when the mobile terminal application corresponding to the topmost layer is the system application of the mobile terminal, jumping to the step of obtaining the topmost layer in the callback function of the visible area of the rendering system;
after the step of judging whether the mobile terminal application corresponding to the topmost layer is the system application of the mobile terminal according to the name of the topmost layer, the screen refresh frame rate adjustment method further comprises:
when the mobile terminal application corresponding to the topmost layer is a system application of the mobile terminal, acquiring a next layer of the topmost layer;
setting the mobile terminal application corresponding to the next layer of layer as the forefront application of the mobile terminal;
the step of obtaining, by the rendering system, an application refresh frame rate of the forefront application includes:
monitoring a request time interval of the forefront application sending an image buffering request to the rendering system;
calculating the application refresh frame rate of the forefront application according to the request time interval;
the step of adjusting the screen refresh frame rate of the mobile terminal according to the acquired application refresh frame rate comprises the following steps:
calculating the time interval of the mobile terminal screen for acquiring the first two frames of images of the forefront application when the screen refreshing frame rate is the value according to the application refreshing frame rate;
the screen refreshing frame rate is adjusted to be the value of the screen refreshing frame rate corresponding to the time interval of the first two frames of images when the time interval is minimum;
after the step of acquiring the application refresh frame rate of the forefront application by the rendering system, before the step of adjusting the screen refresh frame rate of the mobile terminal according to the acquired application refresh frame rate, the screen refresh frame rate adjusting method includes:
acquiring an application refresh frame rate average value of the forefront application in a preset period before the current moment;
and outputting the average value of the application refreshing frame rate as the application refreshing frame rate.
2. A mobile terminal, comprising a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the screen refresh frame rate adjustment method of claim 1.
3. A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the screen refresh frame rate adjustment method of claim 1.
CN201910420833.6A 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium Active CN110175062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910420833.6A CN110175062B (en) 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910420833.6A CN110175062B (en) 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110175062A CN110175062A (en) 2019-08-27
CN110175062B true CN110175062B (en) 2023-11-14

Family

ID=67691603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910420833.6A Active CN110175062B (en) 2019-05-20 2019-05-20 Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110175062B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110681155A (en) * 2019-09-29 2020-01-14 Oppo广东移动通信有限公司 Game optimization method, game optimization device and mobile terminal
CN110708587B (en) * 2019-09-29 2021-11-12 南阳柯丽尔科技有限公司 Window image refreshing frequency determining method and device, computer equipment and medium
CN110955397A (en) * 2019-10-30 2020-04-03 努比亚技术有限公司 Method for setting frame rate of game terminal, game terminal and storage medium
CN111444086A (en) * 2020-02-29 2020-07-24 上海大犀角信息科技有限公司 Method and system for estimating fluency of terminal application
CN113760080B (en) * 2020-06-04 2024-04-30 北京小米移动软件有限公司 Display method, device and storage medium
CN112256223B (en) * 2020-10-20 2024-04-19 北京字节跳动网络技术有限公司 Method and device for adjusting display fluency and electronic equipment
CN113032065B (en) * 2020-12-31 2024-03-19 努比亚技术有限公司 Screen refresh control method, mobile terminal and computer readable storage medium
CN112948041A (en) * 2021-02-26 2021-06-11 联想(北京)有限公司 Information processing method and electronic equipment
CN113791684A (en) * 2021-09-15 2021-12-14 Oppo广东移动通信有限公司 Method for acquiring application frame rate, refreshing device, mobile terminal and storage medium
CN115665482B (en) * 2022-11-09 2023-06-30 腾讯科技(深圳)有限公司 Video rendering method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731543A (en) * 2015-03-23 2015-06-24 深圳市欧珀通信软件有限公司 Method and device for displaying screen refresh rate
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device
CN106296566A (en) * 2016-08-12 2017-01-04 南京睿悦信息技术有限公司 A kind of virtual reality mobile terminal dynamic time frame compensates rendering system and method
CN106933526A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method of dynamic regulation screen refresh rate, device and mobile terminal
CN109308173A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Display methods and device, display terminal and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250085A (en) * 2016-07-29 2016-12-21 北京小米移动软件有限公司 Refresh rate method of adjustment and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731543A (en) * 2015-03-23 2015-06-24 深圳市欧珀通信软件有限公司 Method and device for displaying screen refresh rate
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device
CN106296566A (en) * 2016-08-12 2017-01-04 南京睿悦信息技术有限公司 A kind of virtual reality mobile terminal dynamic time frame compensates rendering system and method
CN106933526A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 A kind of method of dynamic regulation screen refresh rate, device and mobile terminal
CN109308173A (en) * 2017-07-26 2019-02-05 腾讯科技(深圳)有限公司 Display methods and device, display terminal and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Error resilient joint source-channel adaptive intra-refresh rate for wireless video transmission;Angelo R, et al;2014 19th International Conference on Digital Signal Processing;全文 *

Also Published As

Publication number Publication date
CN110175062A (en) 2019-08-27

Similar Documents

Publication Publication Date Title
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN110784898B (en) Network switching method, mobile terminal and computer readable storage medium
CN110087287B (en) Control method and device for terminal network searching, mobile terminal and storage medium
CN112394896B (en) Reverse screen-throwing frame rate control method, device and computer readable storage medium
CN109529343B (en) Game parameter automatic adjustment method and device, mobile terminal and readable storage medium
CN112799577B (en) Method, terminal and storage medium for projecting small window
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN109144705B (en) Application management method, mobile terminal and computer readable storage medium
CN109890022B (en) Data transmission control method, mobile terminal and computer readable storage medium
CN108958695B (en) Audio output method, device and computer readable storage medium
CN112689191B (en) Screen projection control method, terminal and computer readable storage medium
CN112822538A (en) Screen projection display method, screen projection device, terminal and storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN114126015A (en) Power consumption control method, intelligent terminal and storage medium
CN109545120B (en) Screen light sensor adjusting method, mobile terminal and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN108579081B (en) Event processing method, device and computer storage medium based on game
CN112090065B (en) Network delay regulation and control method, equipment and computer readable storage medium
CN112102780B (en) Display frame rate regulation and control method, device and computer readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN109388947B (en) Background management method, device and computer readable storage medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium
CN112667339B (en) Screen refresh rate setting method, terminal and computer readable medium
CN107743204B (en) Exposure processing method, terminal, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant