CN104091579B - A kind of method adjusting screen refresh rate and terminal - Google Patents
A kind of method adjusting screen refresh rate and terminal Download PDFInfo
- Publication number
- CN104091579B CN104091579B CN201410239650.1A CN201410239650A CN104091579B CN 104091579 B CN104091579 B CN 104091579B CN 201410239650 A CN201410239650 A CN 201410239650A CN 104091579 B CN104091579 B CN 104091579B
- Authority
- CN
- China
- Prior art keywords
- refresh rate
- interface
- screen
- terminal
- screen refresh
- 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
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a kind of method adjusting screen refresh rate, the method includes: when receiving screen refresh rate adjustment instruction, the interface refresh rate of computing terminal current application;Interface refresh rate according to current application adjusts the screen refresh rate of described terminal.The present invention further simultaneously discloses a kind of terminal.
Description
Technical Field
The invention relates to a terminal screen management technology, in particular to a method and a terminal for adjusting a screen refresh rate.
Background
At present, as the functions of the terminal are more and more abundant and powerful, the consumption of a battery in the terminal is large, so that the standby and cruising capacities of the terminal are difficult to meet the long-time use requirements of users; among the battery consumption of the terminal, the power consumption of the screen display accounts for a large proportion.
In the prior art, in the screen display process, an image is refreshed and displayed according to a fixed screen refresh rate, and the fixed screen refresh rate is a default value set by a system in the screen initialization process; the screen refresh rate is the number of frames of images in the image buffer which are read every second and refreshed on the screen.
In the process of implementing the invention, the inventor finds that the prior art has at least the following defects:
because the screen works under different screen refresh rates, the power consumption for refreshing the screen has a certain difference, and in the prior art, the battery power consumed for refreshing the screen according to the fixed screen refresh rate is fixed, so that the screen refresh rate of the terminal cannot be dynamically adjusted, and further, the power saving effect cannot be achieved.
Therefore, a solution for dynamically adjusting the screen refresh rate is needed.
Disclosure of Invention
In view of this, embodiments of the present invention are directed to a method and a terminal for adjusting a screen refresh rate, which can dynamically adjust the screen refresh rate of the terminal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for adjusting the refresh rate of a screen, which comprises the following steps:
when a screen refresh rate adjusting instruction is received, calculating the interface refresh rate of the current application of the terminal;
and adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application.
In the above scheme, the calculating the interface refresh rate of the current application of the terminal includes:
counting the number of image frames for interface refreshing in the current application of the terminal within a preset sampling time;
and calculating the interface refresh rate of the current application of the terminal according to the image frame number and the sampling time.
In the foregoing solution, the adjusting the screen refresh rate of the terminal according to the currently applied interface refresh rate includes:
presetting a first interface refresh rate threshold, a first screen refresh rate and a second screen refresh rate; wherein the first screen refresh rate is lower than the second screen refresh rate;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
and if the currently applied interface refresh rate is greater than the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate.
In the foregoing solution, the adjusting the screen refresh rate of the terminal according to the currently applied interface refresh rate includes:
presetting a first interface refresh rate threshold, a second interface refresh rate threshold, a first screen refresh rate, a second screen refresh rate and a third screen refresh rate; wherein the first interface refresh rate threshold is smaller than the second interface refresh rate threshold, the first screen refresh rate is the lowest, and the third screen refresh rate is the highest;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
if the interface refresh rate of the current application is larger than the first interface refresh rate threshold and smaller than or equal to the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate;
and if the currently applied interface refresh rate is greater than the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a third screen refresh rate.
In the above scheme, the method further comprises:
recalculating the interface refresh rate of the current application of the terminal according to a set time interval mode or an event triggering mode;
and adjusting the screen refresh rate of the terminal according to the recalculated interface refresh rate of the current application.
Based on the above method, an embodiment of the present invention further provides a terminal, where the terminal includes: a calculation unit and an adjustment unit; wherein,
the computing unit is used for computing the interface refresh rate currently applied by the terminal when receiving the screen refresh rate adjustment instruction;
the adjusting unit is used for sending a screen refresh rate adjusting instruction to the calculating unit; and adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application.
In the foregoing solution, the calculating unit is specifically configured to:
counting the number of image frames for interface refreshing in the current application of the terminal within a preset sampling time;
and calculating the interface refresh rate of the current application of the terminal according to the image frame number and the sampling time.
In the foregoing solution, the adjusting unit is specifically configured to:
presetting a first interface refresh rate threshold, a first screen refresh rate and a second screen refresh rate; wherein the first screen refresh rate is lower than the second screen refresh rate;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
and if the currently applied interface refresh rate is greater than the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate.
In the foregoing solution, the adjusting unit is specifically configured to:
presetting a first interface refresh rate threshold, a second interface refresh rate threshold, a first screen refresh rate, a second screen refresh rate and a third screen refresh rate; wherein the first interface refresh rate threshold is smaller than the second interface refresh rate threshold, the first screen refresh rate is the lowest, and the third screen refresh rate is the highest;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
if the interface refresh rate of the current application is larger than the first interface refresh rate threshold and smaller than or equal to the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate;
and if the currently applied interface refresh rate is greater than the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a third screen refresh rate.
In the above scheme, the calculating unit is further configured to recalculate the interface refresh rate currently applied by the terminal according to a time interval setting mode or an event triggering mode;
and the adjusting unit is also used for adjusting the screen refresh rate of the terminal according to the recalculated interface refresh rate of the current application.
According to the method and the terminal for adjusting the screen refresh rate, provided by the embodiment of the invention, when the screen refresh rate adjusting instruction is received, the interface refresh rate currently applied by the terminal is calculated; and adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application. Therefore, the embodiment of the invention dynamically adjusts the screen refresh rate of the terminal according to the currently applied interface refresh rate without adopting a fixed screen refresh rate, thereby reducing the power consumption of the terminal.
Drawings
FIG. 1 is a schematic diagram illustrating an implementation process of a method for adjusting a screen refresh rate according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a terminal assembly structure according to an embodiment of the present invention.
Detailed Description
In the embodiment of the invention, when a screen refresh rate adjusting instruction is received, the interface refresh rate of the current application of the terminal is calculated; and adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application.
In the embodiment of the present invention, the terminal may be a device having an intelligent display function, and may be, for example: terminal equipment such as smart mobile phones, tablet computers ipads and computers.
The method and apparatus of the present invention are further described with reference to the accompanying drawings and the detailed description of the invention.
The embodiment of the invention provides a method for adjusting a screen refresh rate, which comprises the following steps of:
step S100: and when a screen refresh rate adjusting instruction is received, calculating the interface refresh rate of the current application of the terminal.
In this step, the screen refresh rate adjustment instruction is triggered according to a set time interval mode or an event trigger mode, where the trigger mode is specifically described as follows:
the method comprises the steps that firstly, triggering is carried out according to an event triggering mode, for example, when the current application of the terminal is started or awakened, a screen refresh rate adjusting instruction is automatically sent out; or when the current application of the terminal is switched, namely the current application is switched to the next application, automatically sending a screen refresh rate adjusting instruction.
Triggering according to a set time interval mode, automatically sending a screen refresh rate adjusting instruction after the set time interval of the previous sampling is finished, recalculating the interface refresh rate of the current application of the terminal in the next preset sampling time, and calculating the interface refresh rate of the current application of the terminal in real time so as to dynamically adjust the screen refresh rate of the terminal in real time; the time interval is set according to actual requirements, for example, the time interval is set to be 30ms, so that the adjustment times of the screen refresh rate in unit time can be reduced, the working efficiency of the terminal screen is improved, and the power consumption of the terminal is reduced.
In the step, when a screen refresh rate adjustment instruction is received, firstly, counting the number of image frames for interface refresh in the current application of the terminal within a preset sampling time; and then, calculating the interface refresh rate currently applied by the terminal according to the image frame number and the sampling time. The specific implementation mode is as follows:
in a first mode, at T0At the moment, receiving a screen refresh rate adjustment instruction, triggering the calculation process of the interface refresh rate, and at T0Then T1、T2、TnAt the moment, the application triggers the first, second and … nth interface refreshes, each interface refresh corresponding to a frame of image to be transformed, at the sampling time T0~TnCounting the number n of image frames for interface refreshing in the current application, and calculating the interface refreshing rate upsilon according to the following formula:
υ=n/(Tn-T0)
mode two, at TnAt the moment, receiving a screen refresh rate adjustment instruction, triggering the calculation process of the interface refresh rate, and calculating the current application T according to the following formulanT before times~TnIn the time interval, the interface refresh rate v from the s frame image to the n frame image is:
υ=(n-s)/(Tn-Ts)
wherein, the refresh corresponding time of the nth frame image is TnThe refresh corresponding time of the s frame image is Ts。
And thirdly, counting the number n of image frames for interface refreshing within s seconds before the current trigger time, and calculating the interface refreshing rate upsilon according to the following formula:
υ=n/s
the interface refreshing trigger of the current application is triggered by a user through a touch screen mode or a mouse clicking mode.
In this step, the interface refresh rate currently applied by the terminal may also be calculated in other manners, and the embodiment of calculating the interface refresh rate currently applied by the terminal is not particularly limited herein.
Step S101: and adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application.
In this step, the initial screen refresh rate is a default value set by the system, and the specific implementation manner of adjusting the screen refresh rate of the terminal according to the currently applied interface refresh rate is as follows:
firstly, setting an interface refresh rate threshold according to an actual interface refresh rate range, namely: a first interface refresh rate threshold, which is generally a preset first interface refresh rate threshold with a value range of 5-20 frames/second, divides the interface refresh rate into two segments, and sets two scene modes corresponding to the two segments; namely: the method comprises the steps that in order to take visual effect and compatibility of screen parameters of most terminals into consideration, a first screen refresh rate is set corresponding to a first mode, and a second screen refresh rate is set corresponding to a second mode; wherein the first screen refresh rate is lower than the second screen refresh rate.
Specifically, if the interface refresh rate of the current application is less than or equal to the first interface refresh rate threshold, the corresponding scene mode is the first mode, and at this time, the screen refresh rate of the terminal is adjusted to be the first screen refresh rate, that is: reading a first screen refresh rate and a current screen refresh rate according to an interface provided by a screen driver, judging whether the first screen refresh rate is the same as the current screen refresh rate, and if not, updating the current screen change rate to be the first screen refresh rate; if the currently applied interface refresh rate is greater than the first interface refresh rate threshold, the corresponding scene mode is the second mode, and at this time, the screen refresh rate of the terminal is adjusted to be the second screen refresh rate, so that the screen refresh rate of the terminal can be dynamically adjusted, and the purpose of saving the electric quantity of the terminal is achieved.
Preferably, two appropriate interface refresh rate thresholds may also be set according to the actual interface refresh rate range, namely: the method comprises the steps that a first interface refresh rate threshold value and a second interface refresh rate threshold value are generally set, the value range of a preset second interface refresh rate threshold value is 5-10 frames/second, the value range of a preset third interface refresh rate threshold value is 10-20 frames/second, the interface refresh rate is divided into three sections, and three scene modes are set corresponding to the three sections; namely: in order to take visual effect and the compatibility of most of terminal screen parameters into consideration, a first mode, a second mode and a third mode are used, wherein a first screen refresh rate is set corresponding to the first mode, a second screen refresh rate is set corresponding to the second mode, and a third screen refresh rate is set corresponding to the third mode; the first interface refresh rate threshold is smaller than a second interface refresh rate threshold, the first screen refresh rate is the lowest, and the third screen refresh rate is the highest; and judging which scene corresponds to according to the currently applied interface refresh rate, the first interface refresh rate threshold value and the second interface refresh rate threshold value, and adjusting the screen refresh rate according to different scenes.
Specifically, if the interface refresh rate of the current application is less than or equal to the first interface refresh rate threshold, the corresponding scene mode is the first mode, and at this time, the screen refresh rate of the terminal is adjusted to be the first screen refresh rate; if the currently applied interface refresh rate is greater than the first interface refresh rate threshold and less than or equal to the second interface refresh rate threshold, the corresponding scene mode is a second mode, and at the moment, the screen refresh rate of the terminal is adjusted to be a second screen refresh rate; and if the currently applied interface refresh rate is greater than the second interface refresh rate threshold, the corresponding scene mode is a third mode, and at the moment, the screen refresh rate of the terminal is adjusted to be the third screen refresh rate.
In the embodiment of the invention, a plurality of interface refresh rate thresholds can be set according to actual requirements, the interface refresh rate is divided into a plurality of segments, a plurality of self-defined scene modes are set corresponding to the segments, different screen refresh rates are set corresponding to each self-defined scene mode, and the screen refresh rate of the terminal is adjusted according to the currently applied interface refresh rate, so that the screen refresh rate of the terminal can be flexibly and dynamically adjusted to achieve the purpose of saving the electric quantity of the terminal.
Further, after the screen refresh rate of the terminal is adjusted according to the currently applied interface refresh rate, the currently applied interface refresh rate of the terminal can be recalculated according to a set time interval mode or an event trigger mode; and then, adjusting the screen refresh rate of the terminal according to the recalculated interface refresh rate of the current application, and dynamically adjusting the screen refresh rate of the terminal in real time.
Further, after the screen refresh rate of the terminal is adjusted, an image is displayed according to the adjusted screen refresh rate.
In the embodiment of the invention, when a screen refresh rate adjusting instruction is received, the interface refresh rate of the current application of the terminal is calculated; and adjusting the screen refresh rate of the terminal according to the currently applied interface refresh rate. Therefore, the screen refresh rate of the terminal is dynamically adjusted according to the interface refresh rate of the current application, so that the power consumption of the terminal can be reduced, and the standby time of the terminal is prolonged.
In order to more clearly illustrate the embodiment of the present invention, the following describes in detail the flow of adjusting the screen refresh rate in the embodiment of the present invention, taking the first embodiment as an example:
in the first embodiment, two appropriate interface refresh rate thresholds are set according to the actual interface refresh rate range, that is: the first interface refresh rate threshold value is 5 frames/second and the second interface refresh rate threshold value is 20 frames/second, the interface refresh rate is divided into three segments, and three self-defined scene modes are set corresponding to the three segments, namely: a reading mode, a normal mode and an extreme speed mode;
when the interface refresh rate of the current application is less than or equal to the first interface refresh rate threshold value by 5 frames/second, the current scene mode of the terminal is considered as a reading mode; when the interface refresh rate of the current application is greater than a first interface refresh rate threshold value by 5 frames/second and less than a second interface refresh rate threshold value by 20 frames/second, the current scene mode of the terminal is considered to be a common mode; and when the currently applied interface refresh rate is greater than the second interface refresh rate threshold value by 20 frames/second, the current scene mode of the terminal is considered to be the top speed mode.
In the first embodiment, in order to consider both the visual effect, the compatibility of the screen parameters of most terminals, and the power consumption, in the reading mode, the screen refresh rate is set to 30 frames/second; in the normal mode, setting the screen refresh rate to be 45 frames/second; in the top speed mode, setting the screen refresh rate to be 60 frames/second; the mapping relationship corresponding to the interface refresh rate, the scene mode and the screen refresh rate is shown in table 1.
Interface refresh rate | Scene mode | Screen refresh rate |
Interface refresh rate<5 frames/second | Reading mode | 30 frames/second |
5 frames/second<Interface refresh rate<20 frames/second | Common mode | 45 frames/second |
Interface refresh rate>20 frames/second | Extreme speed mode | 60 frames/second |
TABLE 1
In specific implementation, when the current application of the terminal is started or awakened, the adjustment process of the screen refresh rate is triggered, and when a screen refresh rate adjustment instruction is received, the interface refresh rate of the current application of the terminal is calculated; if the interface refresh rate of the current application is less than or equal to 5 frames/second, the corresponding scene mode is a reading mode, and at the moment, the current screen refresh rate of the terminal is adjusted to be 30 frames/second; if the interface refresh rate of the current application is more than 5 frames/second and less than or equal to 20 frames/second, the corresponding scene mode is a common mode, and at the moment, the current screen refresh rate of the terminal is adjusted to 45 frames/second; if the currently applied interface refresh rate is greater than 20 frames/second, the corresponding scene mode is the top-speed mode, and at this time, the current screen refresh rate of the terminal is adjusted to be 60 frames/second, so that the screen refresh rate of the terminal can be dynamically adjusted, and the purpose of saving the electric quantity of the terminal is achieved.
In the first embodiment, the user can customize the scene mode according to the actual requirement, set the screen refresh rate corresponding to the customized scene mode, store the customized mapping relationship and parameters into the relationship mapping table, and determine whether the customized mapping relationship and parameters are reasonable.
In the first embodiment, when the current application is switched, the following steps are performed: when the current application is switched to the next application, recalculating the interface refresh rate of the current application of the terminal; or recalculating the interface refresh rate currently applied by the terminal according to a set time interval mode, and then adjusting the screen refresh rate of the terminal according to the interface refresh rate determined again; the time interval can be set according to actual conditions, for example, the time interval is set to be 30ms, so that the adjustment times of the screen refresh rate in unit time can be reduced, the working efficiency of the terminal screen is improved, and the power consumption of the terminal is reduced.
In order to implement the method, an embodiment of the present invention further provides a terminal, and because the principle of the terminal for solving the problem is similar to that of the method, both the implementation process and the implementation principle of the mobile terminal can be described with reference to the implementation process and the implementation principle of the method, and repeated details are not repeated.
As shown in fig. 2, a terminal provided in an embodiment of the present invention includes: a calculation unit 200 and an adjustment unit 201; wherein,
the calculating unit 200 is configured to calculate an interface refresh rate currently applied by the terminal when receiving the screen refresh rate adjustment instruction;
the adjusting unit 201 is configured to send a screen refresh rate adjusting instruction to the computing unit 200; and adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application.
The above division manner of the functional units or modules is only one preferred implementation manner given in the embodiment of the present invention, and the division manner of the functional units or modules does not limit the present invention.
In a specific implementation, the computing unit 200 is specifically configured to:
counting the number of image frames for interface refreshing in the current application of the terminal within a preset sampling time;
and calculating the interface refresh rate of the current application of the terminal according to the image frame number and the sampling time.
In a specific implementation, the adjusting unit 201 is specifically configured to:
presetting a first interface refresh rate threshold, a first screen refresh rate and a second screen refresh rate; wherein the first screen refresh rate is lower than the second screen refresh rate;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
and if the currently applied interface refresh rate is greater than the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate.
In a specific implementation, the adjusting unit 201 is specifically configured to:
presetting a first interface refresh rate threshold, a second interface refresh rate threshold, a first screen refresh rate, a second screen refresh rate and a third screen refresh rate; wherein the first interface refresh rate threshold is smaller than the second interface refresh rate threshold, the first screen refresh rate is the lowest, and the third screen refresh rate is the highest;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
if the interface refresh rate of the current application is larger than the first interface refresh rate threshold and smaller than or equal to the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate;
and if the currently applied interface refresh rate is greater than the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a third screen refresh rate.
In a specific implementation, the computing unit 200 is further configured to recalculate the interface refresh rate currently applied by the terminal according to a time interval setting manner or an event triggering manner;
the adjusting unit 201 is further configured to adjust a screen refresh rate of the terminal according to the recalculated interface refresh rate of the current application.
In a specific implementation, the terminal further includes:
and a display unit 202 for displaying an image according to the adjusted screen refresh rate.
In practical applications, the calculating unit 200, the adjusting unit 201, and the displaying unit 202 may be implemented by a Central Processing Unit (CPU), a microprocessor unit (MPU), a Digital Signal Processor (DSP), or a Field Programmable Gate Array (FPGA) located in the terminal.
The method of the present invention is not limited to the examples described in the specific embodiments, and those skilled in the art can derive other embodiments according to the technical solutions of the present invention, and also fall into the technical innovation scope of the present invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (6)
1. A method for adjusting a screen refresh rate, the method comprising:
when a screen refresh rate adjusting instruction is received, calculating the interface refresh rate of the current application of the terminal;
adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application;
the adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application comprises:
presetting a first interface refresh rate threshold, a first screen refresh rate and a second screen refresh rate; wherein the first screen refresh rate is lower than the second screen refresh rate;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
if the interface refresh rate of the current application is larger than the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate; or,
the adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application comprises:
presetting a first interface refresh rate threshold, a second interface refresh rate threshold, a first screen refresh rate, a second screen refresh rate and a third screen refresh rate; wherein the first interface refresh rate threshold is smaller than the second interface refresh rate threshold, the first screen refresh rate is the lowest, and the third screen refresh rate is the highest;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
if the interface refresh rate of the current application is larger than the first interface refresh rate threshold and smaller than or equal to the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate;
and if the currently applied interface refresh rate is greater than the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a third screen refresh rate.
2. The method according to claim 1, wherein the calculating of the interface refresh rate of the current application of the terminal comprises:
counting the number of image frames for interface refreshing in the current application of the terminal within a preset sampling time;
and calculating the interface refresh rate of the current application of the terminal according to the image frame number and the sampling time.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
recalculating the interface refresh rate of the current application of the terminal according to a set time interval mode or an event triggering mode;
and adjusting the screen refresh rate of the terminal according to the recalculated interface refresh rate of the current application.
4. A terminal, characterized in that the terminal comprises: a calculation unit and an adjustment unit; wherein,
the computing unit is used for computing the interface refresh rate currently applied by the terminal when receiving the screen refresh rate adjustment instruction;
the adjusting unit is used for sending a screen refresh rate adjusting instruction to the calculating unit; adjusting the screen refresh rate of the terminal according to the interface refresh rate of the current application;
the adjusting unit is specifically configured to:
presetting a first interface refresh rate threshold, a first screen refresh rate and a second screen refresh rate; wherein the first screen refresh rate is lower than the second screen refresh rate;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
if the interface refresh rate of the current application is larger than the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate; or,
the adjusting unit is specifically configured to:
presetting a first interface refresh rate threshold, a second interface refresh rate threshold, a first screen refresh rate, a second screen refresh rate and a third screen refresh rate; wherein the first interface refresh rate threshold is smaller than the second interface refresh rate threshold, the first screen refresh rate is the lowest, and the third screen refresh rate is the highest;
if the interface refresh rate of the current application is smaller than or equal to the first interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a first screen refresh rate;
if the interface refresh rate of the current application is larger than the first interface refresh rate threshold and smaller than or equal to the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a second screen refresh rate;
and if the currently applied interface refresh rate is greater than the second interface refresh rate threshold, adjusting the screen refresh rate of the terminal to be a third screen refresh rate.
5. The terminal according to claim 4, wherein the computing unit is specifically configured to:
counting the number of image frames for interface refreshing in the current application of the terminal within a preset sampling time;
and calculating the interface refresh rate of the current application of the terminal according to the image frame number and the sampling time.
6. The terminal according to claim 4 or 5, wherein the computing unit is further configured to recalculate the interface refresh rate currently applied by the terminal according to a set time interval manner or an event trigger manner;
and the adjusting unit is also used for adjusting the screen refresh rate of the terminal according to the recalculated interface refresh rate of the current application.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410239650.1A CN104091579B (en) | 2014-05-30 | 2014-05-30 | A kind of method adjusting screen refresh rate and terminal |
PCT/CN2014/092969 WO2015180444A1 (en) | 2014-05-30 | 2014-12-03 | Method for adjusting screen refresh rate, terminal and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410239650.1A CN104091579B (en) | 2014-05-30 | 2014-05-30 | A kind of method adjusting screen refresh rate and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104091579A CN104091579A (en) | 2014-10-08 |
CN104091579B true CN104091579B (en) | 2017-01-04 |
Family
ID=51639289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410239650.1A Active CN104091579B (en) | 2014-05-30 | 2014-05-30 | A kind of method adjusting screen refresh rate and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104091579B (en) |
WO (1) | WO2015180444A1 (en) |
Families Citing this family (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104091579B (en) * | 2014-05-30 | 2017-01-04 | 西安中兴新软件有限责任公司 | A kind of method adjusting screen refresh rate and terminal |
CN104282286B (en) * | 2014-10-30 | 2017-03-08 | 广东欧珀移动通信有限公司 | Adjust the method and system of intelligent mobile terminal display refresh rates according to application scenarios |
CN105760094A (en) * | 2014-12-18 | 2016-07-13 | 华为终端(东莞)有限公司 | Frame rate controlling method and device and terminal |
CN104808984B (en) * | 2015-03-24 | 2018-01-19 | 魅族科技(中国)有限公司 | Display interface method for refreshing and device |
CN104951266B (en) * | 2015-06-11 | 2018-10-12 | 联想(北京)有限公司 | A kind of screen adjustment method and electronic equipment |
CN106227648A (en) * | 2016-07-22 | 2016-12-14 | 北京小米移动软件有限公司 | The determination methods of power consumption application and device |
CN106910448B (en) * | 2017-02-23 | 2021-08-10 | 惠州Tcl移动通信有限公司 | Display screen refresh rate control method and system based on mobile terminal |
CN106657681B (en) | 2017-03-10 | 2019-07-05 | Oppo广东移动通信有限公司 | A kind of control method, device and the mobile terminal of mobile terminal refresh rate |
CN106791212B (en) | 2017-03-10 | 2019-07-02 | Oppo广东移动通信有限公司 | Method, device and mobile terminal for controlling refresh rate of mobile terminal |
CN106936995B (en) * | 2017-03-10 | 2019-04-16 | Oppo广东移动通信有限公司 | A kind of control method, device and the mobile terminal of mobile terminal frame per second |
CN106933526B (en) * | 2017-03-10 | 2019-03-15 | Oppo广东移动通信有限公司 | A kind of method, device and mobile terminal of dynamic regulation screen refresh rate |
CN106941563B (en) * | 2017-03-10 | 2019-12-06 | Oppo广东移动通信有限公司 | control method and device for refresh rate of mobile terminal and mobile terminal |
CN106919402B (en) * | 2017-03-10 | 2020-08-28 | Oppo广东移动通信有限公司 | Mobile terminal control method and device and mobile terminal |
CN107423039B (en) * | 2017-03-17 | 2020-01-14 | 深圳市金立通信设备有限公司 | Interface refreshing method and terminal |
CN109032541B (en) * | 2017-06-09 | 2021-11-02 | 京东方科技集团股份有限公司 | Refresh rate adjusting method and assembly, display device and storage medium |
CN107481688A (en) * | 2017-08-23 | 2017-12-15 | 深圳市恒科电子科技有限公司 | Adjust the method and device of lcd screen refreshing frequency |
CN107608561B (en) * | 2017-10-24 | 2020-03-17 | 北京小米移动软件有限公司 | Touch screen control method and device |
CN108563605B (en) * | 2018-03-23 | 2022-11-29 | 上海掌门科技有限公司 | Method, device and computer storage medium for adjusting refresh rate of electronic reader |
CN110069122B (en) * | 2018-06-26 | 2021-11-19 | 努比亚技术有限公司 | Screen control method, terminal and computer readable storage medium |
CN109272688A (en) * | 2018-09-25 | 2019-01-25 | 武汉理工光科股份有限公司 | The tactful automatic adjusting method of fiber grating perimeter security system alarm and system |
CN110377251A (en) * | 2019-06-06 | 2019-10-25 | 努比亚技术有限公司 | A kind of screen refresh rate method of adjustment, terminal and computer readable storage medium |
CN110928396B (en) * | 2019-11-18 | 2021-07-30 | Oppo(重庆)智能科技有限公司 | Screen refreshing method and related equipment |
CN111782458B (en) * | 2020-06-01 | 2025-01-03 | Oppo(重庆)智能科技有限公司 | Screen refresh rate adjustment method, device, storage medium and electronic device |
CN112750399A (en) * | 2020-12-31 | 2021-05-04 | 上海天马有机发光显示技术有限公司 | Display panel driving method and device, display device, equipment and storage medium |
CN113821289A (en) * | 2021-09-22 | 2021-12-21 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN115002542B (en) * | 2022-05-26 | 2024-09-17 | 展讯半导体(南京)有限公司 | Frame rate adjustment method and device, computer readable storage medium and terminal |
CN116798376B (en) * | 2023-08-02 | 2023-11-28 | 苏州华星光电技术有限公司 | Display panel and driving method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202033A (en) * | 2006-12-13 | 2008-06-18 | 辉达公司 | System, method and computer program product for adjusting a refresh rate of a display |
CN102968978A (en) * | 2011-08-31 | 2013-03-13 | 联想(北京)有限公司 | Control method and device for displaying refresh rate |
CN103000159A (en) * | 2011-09-13 | 2013-03-27 | 联想(北京)有限公司 | Display control method, display control device and displayer |
TW201322114A (en) * | 2011-11-17 | 2013-06-01 | Htc Corp | Anti-tearing method for an image display, and an image display and an electronic device using the same |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200614066A (en) * | 2004-10-29 | 2006-05-01 | Hon Hai Prec Ind Co Ltd | Method for automatically modifying the refresh rate |
US7692642B2 (en) * | 2004-12-30 | 2010-04-06 | Intel Corporation | Method and apparatus for controlling display refresh |
US7903107B2 (en) * | 2007-06-18 | 2011-03-08 | Sony Ericsson Mobile Communications Ab | Adaptive refresh rate features |
US8334857B1 (en) * | 2007-12-14 | 2012-12-18 | Nvidia Corporation | Method and system for dynamically controlling a display refresh rate |
CN103165093B (en) * | 2013-02-26 | 2016-03-02 | 深圳市金立通信设备有限公司 | A kind of method and display device adjusting screen refresh rate |
CN104091579B (en) * | 2014-05-30 | 2017-01-04 | 西安中兴新软件有限责任公司 | A kind of method adjusting screen refresh rate and terminal |
-
2014
- 2014-05-30 CN CN201410239650.1A patent/CN104091579B/en active Active
- 2014-12-03 WO PCT/CN2014/092969 patent/WO2015180444A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202033A (en) * | 2006-12-13 | 2008-06-18 | 辉达公司 | System, method and computer program product for adjusting a refresh rate of a display |
CN102968978A (en) * | 2011-08-31 | 2013-03-13 | 联想(北京)有限公司 | Control method and device for displaying refresh rate |
CN103000159A (en) * | 2011-09-13 | 2013-03-27 | 联想(北京)有限公司 | Display control method, display control device and displayer |
TW201322114A (en) * | 2011-11-17 | 2013-06-01 | Htc Corp | Anti-tearing method for an image display, and an image display and an electronic device using the same |
Also Published As
Publication number | Publication date |
---|---|
CN104091579A (en) | 2014-10-08 |
WO2015180444A1 (en) | 2015-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104091579B (en) | A kind of method adjusting screen refresh rate and terminal | |
KR102454196B1 (en) | Method for controlling display and electronic device supporting the same | |
JP6404368B2 (en) | Power optimization using dynamic frame rate support | |
US11190715B2 (en) | System and method for event camera data processing | |
CN109036296B (en) | Screen backlight brightness adjustment method, device, terminal and storage medium | |
CN111240517B (en) | Adjustment method, device, terminal and storage medium of touch display screen | |
IL307594A (en) | Virtual, augmented and mixed reality systems and methods | |
EP2682859A3 (en) | Mobile terminal, image display device and user interface provision method using the same | |
CN113608713B (en) | Variable frequency display method, DDIC, display screen module and terminal | |
CN104571990A (en) | A method and device for adjusting the operating state of a display screen | |
JP6329649B2 (en) | Electronic display, computing device, methods thereof, and computer program | |
CN109788138A (en) | Screen control method, device, terminal and storage medium | |
RU2015153197A (en) | ADAPTIVE MAPPING TRANSITION MANAGEMENT FOR VARIOUS VIDEO PLAYBACK SCENARIOS | |
CN109345992A (en) | The method of adjustment of electronic device and screen refresh frequency | |
CN106095363A (en) | Method, device and terminal for improving terminal freeze | |
CN103176720B (en) | The method of a kind of mobile terminal display system status information when full frame runnable interface | |
US10019220B2 (en) | Control method and apparatus thereof | |
US10229627B2 (en) | Controlling a refresh frequency for a display driving device and methods of operation thereof | |
CN103151019A (en) | A method and device for controlling display refresh rate of a mobile terminal | |
US11688329B2 (en) | Temperature control method, temperature control apparatus, and storage medium | |
WO2018082213A1 (en) | Display method and electronic terminal | |
CN107959965A (en) | Frame dropping method, device, mobile terminal and the readable storage medium storing program for executing of application program | |
CN107491162A (en) | Display screen state adjustment method, display screen state adjusting device and terminal | |
US20180068605A1 (en) | Inversion balancing compensation | |
CN108877734A (en) | The color temperature adjusting method and Related product of touching display screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |