Movatterモバイル変換


[0]ホーム

URL:


CN112667339B - Screen refresh rate setting method, terminal and computer readable medium - Google Patents

Screen refresh rate setting method, terminal and computer readable medium
Download PDF

Info

Publication number
CN112667339B
CN112667339BCN202011633312.8ACN202011633312ACN112667339BCN 112667339 BCN112667339 BCN 112667339BCN 202011633312 ACN202011633312 ACN 202011633312ACN 112667339 BCN112667339 BCN 112667339B
Authority
CN
China
Prior art keywords
mobile terminal
rate
game
screen refresh
refresh rate
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
CN202011633312.8A
Other languages
Chinese (zh)
Other versions
CN112667339A (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 LtdfiledCriticalNubia Technology Co Ltd
Priority to CN202011633312.8ApriorityCriticalpatent/CN112667339B/en
Publication of CN112667339ApublicationCriticalpatent/CN112667339A/en
Application grantedgrantedCritical
Publication of CN112667339BpublicationCriticalpatent/CN112667339B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a method for setting a screen refresh rate, a terminal and a computer readable medium, wherein the method comprises the following steps: when a game starting instruction is received, the screen refreshing rate of the mobile terminal is adjusted to be the lowest or highest gear; judging whether the screen refresh rate of the mobile terminal is matched with the frame rate of the game; if not, the screen refreshing rate of the mobile terminal is adjusted to be the next gear, and whether the screen refreshing rate of the mobile terminal is matched with the upper frame rate of the game is judged. According to the technical scheme, the frame rate of the game application installed in the mobile terminal is identified through the system side, and the screen refresh rate of the mobile terminal is matched with the frame rate of the game application, so that the fluency of the game is effectively improved.

Description

Screen refresh rate setting method, terminal and computer readable medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for setting a screen refresh rate, a terminal, and a computer readable medium.
Background
More and more mobile terminals are provided with screens with high refresh rates, can simultaneously support a plurality of refresh rates and can be switched at any time, and most of games on the market are game applications which control the frame rate of the games and can set a plurality of frame rates.
Therefore, the screen refresh rate of the mobile terminal and the frame rate of the game application can be matched to be a subject that manufacturers strive to overcome, and the situation that the screen refresh rate and the frame rate of the game are not matched can cause various problems, such as game jitter, unsmooth game, high power consumption of a mobile phone system and the like. And the matching of the screen refresh rate and the frame rate on the game can be optimal in terms of game fluency and system power consumption.
Disclosure of Invention
The invention mainly aims to provide a method for setting a screen refresh rate, a terminal and a computer readable medium, aiming at realizing effective matching of the screen refresh rate of a mobile terminal and a frame rate on a game.
In order to achieve the above object, the method for setting a screen refresh rate according to the present invention is applied to a mobile terminal, where the mobile terminal has a screen refresh rate of several gear steps from low to high, and is characterized by comprising the following steps:
when a game starting instruction is received, the screen refreshing rate of the mobile terminal is adjusted to be the lowest or highest gear;
judging whether the screen refresh rate of the mobile terminal is matched with the frame rate of the game;
if not, the screen refreshing rate of the mobile terminal is adjusted to be the next gear, and whether the screen refreshing rate of the mobile terminal is matched with the upper frame rate of the game is judged.
Optionally, when a game start instruction is received and the screen refresh rate of the mobile terminal is adjusted to the lowest gear, the method includes:
judging whether the frame rate of the game is larger than the screen refresh rate of the mobile terminal;
if so, the screen refreshing rate of the mobile terminal is up-regulated by one gear, and whether the frame rate of the game is larger than the screen refreshing rate of the mobile terminal is judged.
Optionally, the step of determining whether the frame rate of the game is greater than the screen refresh rate of the mobile terminal includes:
the method comprises the steps of adjusting the numerical value of a display data processing buffer queue of the mobile terminal from an initial value to a preset value, wherein the preset value is larger than the initial value;
judging whether the buffer queue is filled with data produced by the game within a preset time range;
if yes, judging that the upper frame rate of the game is larger than the screen refresh rate of the mobile terminal, and adjusting the numerical value of the display data processing buffer queue of the mobile terminal from a preset value to an initial value;
if not, judging that the frame rate of the game is not more than the screen refresh rate of the mobile terminal, and adjusting the numerical value of the display data processing buffer queue of the mobile terminal from a preset value to an initial value.
Optionally, after the step of determining that the frame rate of the game is greater than the screen refresh rate of the mobile terminal, the method further includes:
judging whether the screen refresh rate of the mobile terminal is the screen refresh rate of the highest gear;
if yes, acquiring the real-time frame rate of the game in a preset time period, and adjusting the screen refresh rate of the mobile terminal to be a corresponding gear according to the real-time frame rate of the game;
if not, the screen refreshing rate of the mobile terminal is up-regulated by one gear.
Optionally, the step of adjusting the screen refresh rate of the mobile terminal to a corresponding gear according to the real-time frame rate of the game includes:
judging whether the real-time frame rate of the game is smaller than the screen refresh rate of the mobile terminal;
if so, the screen refreshing rate of the mobile terminal is adjusted down by one gear, and whether the real-time frame up rate of the game is smaller than the screen refreshing rate of the mobile terminal is judged.
Optionally, when a game start instruction is received and the screen refresh rate of the mobile terminal is adjusted to the highest gear, the method includes:
judging whether the frame rate of the game is smaller than the screen refresh rate of the mobile terminal;
if so, the screen refreshing rate of the mobile terminal is adjusted down by one gear, and whether the upper frame rate of the game is larger than the screen refreshing rate of the mobile terminal is judged.
Optionally, the step of determining whether the frame rate of the game is less than the screen refresh rate of the mobile terminal includes:
the method comprises the steps of adjusting the numerical value of a display data processing buffer queue of the mobile terminal from an initial value to a preset value, wherein the preset value is larger than the initial value;
judging whether the buffer queue is filled with data produced by the game within a preset time range;
if yes, judging that the frame rate of the game is not less than the screen refresh rate of the mobile terminal;
if not, the upper frame rate of the game is judged to be smaller than the screen refresh rate of the mobile terminal.
Optionally, after the step of determining that the frame rate of the game is not less than the screen refresh rate of the mobile terminal, the method further includes:
and the screen refreshing rate of the mobile terminal is adjusted up by one gear.
In addition, the invention also provides a terminal, which comprises a memory, a processor and an implementation program of a screen refresh rate setting method stored on the memory and capable of running on the processor, wherein the implementation program of the screen refresh rate setting method is executed by the processor and comprises the following steps:
when a game starting instruction is received, the screen refreshing rate of the mobile terminal is adjusted to be the lowest or highest gear;
judging whether the screen refresh rate of the mobile terminal is matched with the frame rate of the game;
if not, the screen refreshing rate of the mobile terminal is adjusted to be the next gear, and whether the screen refreshing rate of the mobile terminal is matched with the upper frame rate of the game is judged.
In addition, the present invention also proposes a computer-readable medium on which an implementation program of a method of setting a screen refresh rate is stored, which when executed implements the steps of:
when a game starting instruction is received, the screen refreshing rate of the mobile terminal is adjusted to be the lowest or highest gear;
judging whether the screen refresh rate of the mobile terminal is matched with the frame rate of the game;
if not, the screen refreshing rate of the mobile terminal is adjusted to be the next gear, and whether the screen refreshing rate of the mobile terminal is matched with the upper frame rate of the game is judged.
According to the technical scheme, the frame rate of the game application installed in the mobile terminal is identified through the system side, and the screen refresh rate of the mobile terminal is matched with the frame rate of the game application, so that the fluency of the game is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present 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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in 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 implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention;
FIG. 3 is a flowchart of an embodiment of a method for setting a screen refresh rate according to the present invention;
FIG. 4 is a flowchart of a first embodiment of a method for setting the refresh rate of the screen shown in FIG. 3;
FIG. 5 is a flowchart of an embodiment of the step of FIG. 4 of determining whether the frame rate of the game is greater than the screen refresh rate of the mobile terminal;
FIG. 6 is a flowchart of a second embodiment of a method of setting the screen refresh rate shown in FIG. 3;
FIG. 7 is a flowchart of a third embodiment of a method for setting the screen refresh rate shown in FIG. 3;
FIG. 8 is a flowchart of an embodiment of the step of adjusting the screen refresh rate of the mobile terminal to a corresponding gear according to the real-time frame rate of the game in FIG. 7;
fig. 9 is a flowchart of a fourth specific embodiment of the method for setting a screen refresh rate shown in fig. 3.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
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.
As shown in fig. 3, fig. 3 is a flowchart of an embodiment of a method for setting a screen refresh rate according to the present invention.
In this embodiment, the mobile terminal has a screen refresh rate of several gear positions from low to high, and the method for setting the screen refresh rate includes the following steps:
step S310, a game start instruction is received.
Step S320, adjusting the screen refresh rate of the mobile terminal to the lowest or highest gear.
Step S330, judging whether the screen refresh rate of the mobile terminal is matched with the frame rate of the game; if so, the process ends. If not, step S340 is performed.
And step S340, adjusting the screen refresh rate of the mobile terminal to the next gear. Then, step S330 is performed. And circulating until the screen refresh rate of the mobile terminal is matched with the upper frame rate of the game.
The technical scheme of the embodiment mainly comprises that the system side is used for identifying the frame rate of the game application installed in the mobile terminal, and the screen refresh rate of the mobile terminal is matched with the frame rate of the game application, so that the fluency of the game is effectively improved.
As shown in fig. 4, fig. 4 is a flowchart of a first specific embodiment of the method for setting a screen refresh rate shown in fig. 3.
Based on the above embodiment, in this embodiment, the method for setting a screen refresh rate includes the following steps:
step S410, a game start instruction is received.
And step S420, adjusting the screen refresh rate of the mobile terminal to the lowest gear.
Step S430, judging whether the frame rate of the game is larger than the screen refresh rate of the mobile terminal. If yes, go to step S440; if not, ending the flow and setting the current screen refresh rate as the screen refresh rate of the mobile terminal corresponding to the game.
Step S440, the screen refreshing rate of the mobile terminal is up-regulated by one gear. And then returns to step S430.
In fig. 5, fig. 5 is a flowchart of an embodiment of the step of determining whether the frame rate of the game is greater than the screen refresh rate of the mobile terminal in fig. 4. In this embodiment, the step of determining whether the frame rate of the game is greater than the screen refresh rate of the mobile terminal includes:
step S431, the numerical value of the display data processing buffer queue of the mobile terminal is adjusted from an initial value to a preset value, wherein the preset value is larger than the initial value;
step S432, judging whether the buffer queue is filled with data produced by the game within a preset time range; if yes, go to step S433; if not, step S434 is performed.
Step S433, it is determined that the frame rate of the game is greater than the screen refresh rate of the mobile terminal, and the numerical value of the display data processing buffer queue of the mobile terminal is adjusted from a preset value to an initial value.
Step S434, determining that the frame rate of the game is not greater than the screen refresh rate of the mobile terminal, and adjusting the value of the display data processing buffer queue of the mobile terminal from a preset value to an initial value.
In order to more clearly illustrate the present invention, in this embodiment, the screen refresh rate of the mobile terminal is divided into four gears, namely, a first gear, a second gear, a third gear and a fourth gear from low to high. Then, the specific operation manner of this embodiment is: and when a game starting instruction is received, setting the screen refreshing rate of the mobile terminal as a first gear. Meanwhile, the value of the display data processing buffer queue (buffer queue) of the mobile terminal is adjusted from an initial value (initial value of 3 by default) to a preset value (may be any natural number greater than 3, for example, 5). It is then determined whether the buffer queue is filled with data produced by the game for a preset period of time (e.g., 100 ms). And if the buffer queue is filled, indicating that the production speed of the game data is higher than the display data processing speed of the mobile terminal, and indicating that the screen refresh rate of the first gear of the mobile terminal is lower than the frame rate of the game. At this time, the screen refresh rate of the mobile terminal is adjusted to the second gear. And then judging whether the screen refresh rate of the second gear is smaller than the frame rate of the game or not through the method. When the screen refresh rate of the second gear is not less than the frame rate of the game, the production speed of the game data is indicated to be less than or equal to the display data processing speed of the mobile terminal, and the screen refresh rate of the mobile terminal can be indicated to effectively ensure the fluency of effective operation.
It should be noted that, in order to improve the accuracy of the determination, the steps S431 to S434 may be repeatedly performed several times during one determination process. For example, steps S431 to S434 are performed once every 5 seconds, and the above-described determination is performed three times in the determination of whether the screen refresh rate for each gear is smaller than the previous frame rate of the game, with at least two identical results as the final determination result. For example, if the result of two of the three determinations is "yes", then "yes" is taken as the final result.
Further, as shown in fig. 6, fig. 6 is a flowchart of a second specific embodiment of the method for setting a screen refresh rate shown in fig. 3.
In this embodiment, the method for setting a screen refresh rate includes:
step S510, receiving a game starting instruction.
And step S520, adjusting the screen refresh rate of the mobile terminal to the lowest gear.
Step S530, judging whether the frame rate of the game is larger than the screen refresh rate of the mobile terminal. If yes, go to step S540; if not, ending the flow and setting the current screen refresh rate as the screen refresh rate of the mobile terminal corresponding to the game.
Step S540, judging whether the screen refresh rate of the mobile terminal is the screen refresh rate of the highest gear; if so, the process ends. If not, step S550 is performed.
Step S550, the screen refreshing rate of the mobile terminal is up-regulated by one gear. Then, step S530 is performed.
In this embodiment, after each step of determining that the frame rate of the game is greater than the screen refresh rate of the mobile terminal, it is further required to determine whether the current screen refresh rate of the mobile terminal is the screen refresh rate of the highest gear. And when the current screen refresh rate of the mobile terminal is the screen refresh rate of the highest gear, keeping the screen refresh rate of the mobile terminal to be the highest gear. And when the current screen refresh rate of the mobile terminal is not the screen refresh rate of the highest gear, the screen refresh rate of the mobile terminal is up-regulated by one gear. And then continuously judging whether the frame rate of the game is larger than the screen refresh rate of the mobile terminal.
Further, as shown in fig. 7, fig. 7 is a flowchart of a third specific embodiment of the method for setting a screen refresh rate shown in fig. 3.
In this embodiment, the method for setting a screen refresh rate includes:
step S610, a game start instruction is received.
And step S620, adjusting the screen refresh rate of the mobile terminal to the lowest gear.
Step S630, determining whether the frame rate of the game is greater than the screen refresh rate of the mobile terminal. If yes, go to step S640; if not, ending the flow and setting the current screen refresh rate as the screen refresh rate of the mobile terminal corresponding to the game.
Step S640, judging whether the screen refresh rate of the mobile terminal is the screen refresh rate of the highest gear; if so, step S650 is performed. If not, step S670 is performed.
Step S650, acquiring a real-time frame rate of the game in a preset time period.
Step S660, the screen refreshing rate of the mobile terminal is adjusted to be a corresponding gear according to the real-time frame rate of the game.
Step S670, up-regulating a screen refresh rate of the mobile terminal by one gear. Step S630 is then performed.
Fig. 8 is a flowchart of an embodiment of the step of adjusting the screen refresh rate of the mobile terminal to the corresponding gear according to the real-time frame rate of the game in fig. 7, as shown in fig. 8. In this embodiment, the step of adjusting the screen refresh rate of the mobile terminal to a corresponding gear according to the real-time frame rate of the game includes:
step S661, judging whether the real-time frame rate of the game is smaller than the screen refresh rate of the mobile terminal; if yes, step S662 is performed; if not, the process is ended.
Step S662, the screen refresh rate of the mobile terminal is adjusted down by one gear. And then returns to step S661.
Specifically, in this embodiment, when the frame rate of the game is greater than the screen refresh rate of the highest gear of the mobile terminal, the real-time frame rate of the game in a preset period of time (for example, the first 3 seconds of effectively starting to run) is obtained. And then judging whether the real-time frame rate of the game is smaller than the screen refresh rate of the mobile terminal. And when the real-time frame rate of the game is smaller than the screen refresh rate of the mobile terminal, the screen refresh rate of the mobile terminal is adjusted down by one gear. And then repeating the judgment until the real-time frame rate of the game is not less than the screen refresh rate of the mobile terminal. And when the real-time frame rate of the game is not less than the screen refresh rate of the mobile terminal, setting the screen refresh rate of the gear or the previous gear as the screen refresh rate of the mobile terminal.
Further, as shown in fig. 9, fig. 9 is a flowchart of a fourth specific embodiment of the method for setting a screen refresh rate shown in fig. 3.
In this embodiment, the method for setting a screen refresh rate includes:
step S710, a game start instruction is received.
And step S720, adjusting the screen refresh rate of the mobile terminal to the highest gear.
Step S730, determining whether the frame rate of the game is less than the screen refresh rate of the mobile terminal; if yes, go to step S740; if not, the process is ended.
Step S740, the screen refresh rate of the mobile terminal is adjusted down by one gear. And then returns to step S730. And the frame rate of the game is not less than the screen refresh rate of the mobile terminal. And when the upper frame rate of the game is not less than the screen refresh rate of the mobile terminal, setting the screen refresh rate of the gear or the upper gear as the screen refresh rate of the mobile terminal.
Specifically, in this embodiment, the step of determining whether the frame rate of the game is less than the screen refresh rate of the mobile terminal may refer to the step of determining whether the frame rate of the game is greater than the screen refresh rate of the mobile terminal in the first embodiment, which is the same principle and is not repeated herein.
The invention also provides a terminal which comprises a memory, a processor and a program for realizing the method for setting the screen refresh rate, wherein the program is stored in the memory and can be run on the processor, and the program for realizing the method for setting the screen refresh rate realizes all the steps in the embodiment of the method for setting the screen refresh rate when being executed by the processor. The mobile terminal at least has all the advantages brought by the technical scheme of the method embodiment because the terminal can execute all the steps in any one of the embodiments, and the description is omitted herein.
The present invention also proposes a computer-readable medium on which a program for implementing the method for setting a screen refresh rate is stored, which when executed can implement all the steps in any of the above embodiments. Since the computer readable medium may perform all the steps in any of the foregoing embodiments, the computer readable medium has at least all the advantages brought by the technical solutions of the foregoing method embodiments, which are not described in detail herein.
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 (8)

CN202011633312.8A2020-12-312020-12-31Screen refresh rate setting method, terminal and computer readable mediumActiveCN112667339B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011633312.8ACN112667339B (en)2020-12-312020-12-31Screen refresh rate setting method, terminal and computer readable medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011633312.8ACN112667339B (en)2020-12-312020-12-31Screen refresh rate setting method, terminal and computer readable medium

Publications (2)

Publication NumberPublication Date
CN112667339A CN112667339A (en)2021-04-16
CN112667339Btrue CN112667339B (en)2023-12-08

Family

ID=75413257

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011633312.8AActiveCN112667339B (en)2020-12-312020-12-31Screen refresh rate setting method, terminal and computer readable medium

Country Status (1)

CountryLink
CN (1)CN112667339B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114210052B (en)*2021-11-112024-12-24深圳市元宇宙科技有限公司 Game fluency optimization method, device, terminal and computer-readable storage medium
CN114632329B (en)*2022-05-162022-10-25荣耀终端有限公司Terminal equipment performance adjusting method and related device
CN117687585B (en)*2023-07-102025-03-18荣耀终端股份有限公司 A refresh rate control method, electronic device and storage medium
CN116884368A (en)*2023-07-142023-10-13广州炫视智能科技有限公司 A system and method for automatic adjustment of screen refresh rate and power consumption

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110377251A (en)*2019-06-062019-10-25努比亚技术有限公司A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium
CN110619860A (en)*2019-10-152019-12-27Oppo广东移动通信有限公司Screen refresh rate adjusting method and device, storage medium and electronic equipment
CN110955397A (en)*2019-10-302020-04-03努比亚技术有限公司Method for setting frame rate of game terminal, game terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
TWI544470B (en)*2013-01-142016-08-01蘋果公司Low power display device with variable refresh rate

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110377251A (en)*2019-06-062019-10-25努比亚技术有限公司A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium
CN110619860A (en)*2019-10-152019-12-27Oppo广东移动通信有限公司Screen refresh rate adjusting method and device, storage medium and electronic equipment
CN110955397A (en)*2019-10-302020-04-03努比亚技术有限公司Method for setting frame rate of game terminal, game terminal and storage medium

Also Published As

Publication numberPublication date
CN112667339A (en)2021-04-16

Similar Documents

PublicationPublication DateTitle
CN110175062B (en)Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN112667339B (en)Screen refresh rate setting method, terminal and computer readable medium
CN109195213B (en)Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN109890022B (en)Data transmission control method, mobile terminal and computer readable storage medium
CN110365347B (en)Power amplifier control method, device and computer readable storage medium
CN108958936B (en)Application program switching method, mobile terminal and computer readable storage medium
CN109144705B (en)Application management method, mobile terminal and computer readable storage medium
CN112612372B (en) A touch event control method, device and computer readable storage medium
CN112261535A (en)Major-minor switching method and device for wireless earphone and readable storage medium
CN110955397A (en)Method for setting frame rate of game terminal, game terminal and storage medium
CN109445945B (en)Memory allocation method of application program, mobile terminal, server and storage medium
CN111970738B (en)Network switching control method, device and computer readable storage medium
CN112637410B (en)Method, terminal and storage medium for displaying message notification
CN111443818B (en)Screen brightness regulation and control method, equipment and computer readable storage medium
CN109545120B (en)Screen light sensor adjusting method, mobile terminal and computer readable storage medium
CN109711850B (en)Secure payment method, device and computer readable storage medium
CN112437472B (en)Network switching method, equipment and computer readable storage medium
CN112616154A (en)Power saving method based on 5G network, terminal and computer readable medium
CN109388947B (en)Background management method, device and computer readable storage medium
CN109151201B (en)Anti-addiction method, mobile terminal and computer storage medium
CN111476231B (en)Image area identification method, device and computer readable storage medium
CN113949918B (en)Picture-in-picture display method, terminal and storage medium
CN112866564B (en)Photographing method, terminal and computer readable medium
CN112118566B (en)Network mode regulation and control method, equipment and computer readable storage medium
CN112911692B (en)Method for reducing energy consumption, mobile terminal and computer readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp