CN111610848A - Screen refresh rate adjusting method and device, electronic equipment and storage medium - Google Patents

Screen refresh rate adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111610848A
CN111610848A CN202010473117.7A CN202010473117A CN111610848A CN 111610848 A CN111610848 A CN 111610848A CN 202010473117 A CN202010473117 A CN 202010473117A CN 111610848 A CN111610848 A CN 111610848A
Authority
CN
China
Prior art keywords
refresh rate
system state
screen
target
current system
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.)
Pending
Application number
CN202010473117.7A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010473117.7A priority Critical patent/CN111610848A/en
Publication of CN111610848A publication Critical patent/CN111610848A/en
Priority to PCT/CN2021/087109 priority patent/WO2021238473A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/324Power saving characterised by the action undertaken by lowering clock frequency
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to a method and a device for adjusting a screen refresh rate, an electronic device and a computer-readable storage medium. The method comprises the following steps: when the electronic equipment enters a power saving mode, adjusting the refresh rate of the screen of the electronic equipment to a first refresh rate; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold; detecting the current system state; determining a target refresh rate based on the current system state, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate. By adopting the method, the accuracy of the adjusted refresh rate can be improved.

Description

Screen refresh rate adjusting method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for adjusting a screen refresh rate, an electronic device, and a computer-readable storage medium.
Background
Based on the media evaluation data, the longer the refresh rate of the screen of the electronic device is, the shorter the usage time of the battery power of the electronic device is. For example, the screen refresh rate of the mobile phone a is 60HZ, and the browsing can be continued for 12 hours and 23 minutes; the refreshing rate is 120HZ, the browsing can be continued for 9 hours and 15 minutes, and the amplitude is reduced by 25 percent. It can be seen that the high refresh rate of the screen has a significant impact on power consumption.
The conventional method for adjusting the screen refresh rate usually directly reduces the screen refresh rate, thereby saving the electric quantity of the electronic device. However, the conventional method for adjusting the screen refresh rate has the problem that the adjusted screen refresh rate is not accurate.
Disclosure of Invention
The embodiment of the application provides a method and a device for adjusting a screen refresh rate, electronic equipment and a computer-readable storage medium, which can improve the accuracy of the adjusted screen refresh rate.
A method for adjusting a screen refresh rate comprises the following steps:
when the electronic equipment enters a power saving mode, adjusting the refresh rate of the screen of the electronic equipment to a first refresh rate; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold;
detecting the current system state;
determining a target refresh rate based on the current system state, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
An apparatus for adjusting a screen refresh rate, comprising:
the electronic equipment comprises a screen refresh rate adjusting module, a power saving module and a power saving module, wherein the screen refresh rate adjusting module is used for adjusting the refresh rate of the screen of the electronic equipment to a first refresh rate when the electronic equipment enters a power saving mode; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold;
the current system state detection module is used for detecting the current system state;
the refresh rate adjustment module of the screen is further configured to determine a target refresh rate based on the current system state, and adjust the refresh rate of the screen from the first refresh rate to the target refresh rate.
An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the computer program causes the processor to execute the steps of the method for adjusting the screen refresh rate.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as described above.
According to the method and the device for adjusting the screen refresh rate, the electronic equipment and the computer-readable storage medium, when the electronic equipment enters the power saving mode, the refresh rate of the screen of the electronic equipment is adjusted to the first refresh rate, so that the power consumption of the screen of the electronic equipment can be reduced firstly, and the electric quantity of the electronic equipment is saved; the current system state is detected, the target refresh rate is determined based on the current system state, and the refresh rate of the screen can be adjusted from the first refresh rate to the target refresh rate, so that the refresh rate of the screen is matched with the current system state, and the accuracy of the adjusted screen refresh rate is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of a method for adjusting a screen refresh rate according to an embodiment;
FIG. 2 is a flow chart illustrating a method for adjusting a screen refresh rate according to an embodiment;
FIG. 3a is a diagram illustrating an embodiment of turning on a power saving mode;
FIG. 3b is a diagram illustrating turning on a power saving mode in another embodiment;
FIG. 3c is a diagram illustrating turning on a power saving mode in another embodiment;
FIG. 4 is a flow diagram after entering a power saving mode in one embodiment;
FIG. 5 is a flowchart illustrating a method for adjusting a screen refresh rate according to another embodiment;
FIG. 6 is a block diagram of an apparatus for adjusting a screen refresh rate according to an embodiment;
fig. 7 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first refresh rate may be referred to as a second refresh rate, and similarly, a second refresh rate may be referred to as a first refresh rate, without departing from the scope of the present application. The first refresh rate and the second refresh rate are both refresh rates, but they are not the same refresh rate.
Fig. 1 is a block diagram of a method for adjusting a screen refresh rate according to an embodiment. When the electronic equipment enters a power saving mode, the power saving control module calls the screen control module, controls the screen through the screen control module, and adjusts the refresh rate of the screen to a first refresh rate; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold; detecting the current system state; and determining a target refresh rate based on the current system state, calling the screen control module by the power-saving control module, controlling the screen by the screen control module, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
Further, before the electronic device enters the power saving mode, acquiring a current original refresh rate of a screen, acquiring an identifier of an application program currently running and the like through a file system, and storing data of the original refresh rate, the identifier of the application program currently running and the like in a storage medium; after the electronic device exits the power saving mode, the data such as the original refresh rate, the currently running application program identifier, and the like can be acquired from the storage medium, and the data can be restored.
FIG. 2 is a flowchart illustrating a method for adjusting a screen refresh rate according to an embodiment. As shown in fig. 2, the method for adjusting the screen refresh rate includes steps 202 to 206.
Step 202, when the electronic device enters a power saving mode, adjusting a refresh rate of a screen of the electronic device to a first refresh rate; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold.
It can be understood that, the power saving mode of the electronic device can make the electronic device save more power, and prolong the service time of the battery power. In the power saving mode, the electronic device may turn off and disable certain functions, such as turning off the navigation function, turning off the bluetooth function, turning off the vibration function, etc.; the electronic device can also close some applications running in the background; the electronic device may also reduce the refresh rate of the screen, etc.
In one embodiment, an opening instruction of the power saving mode is received in a display interface of the power saving mode, and the power saving mode is entered.
As shown in fig. 3a, in the display interface of the power saving mode, 302 is a power saving mode control, and when a user clicks a switch in the power saving mode control 302, that is, the electronic device receives an opening instruction of the power saving mode, the electronic device enters the power saving mode. In the power saving mode, the user may click 304 the exit control to exit the power saving mode.
In another embodiment, a power level of an electronic device is detected; when the electric quantity is smaller than the electric quantity threshold value, generating a power-saving mode popup window, and displaying the power-saving mode popup window in a display interface of a screen; and receiving an opening instruction in the popup window of the power saving mode, and entering the power saving mode.
As shown in fig. 3b, when the power amount is less than the power amount threshold, a power saving mode popup 306 is generated and displayed in a display interface of the screen to prompt the current low power amount and suggest the user to start the power saving mode; when a user clicks the opening button, namely the electronic equipment receives an opening instruction in the power saving mode popup window, the electronic equipment enters the power saving mode. In the power saving mode, the user may click 304 the exit control to exit the power saving mode.
In another embodiment, receiving voice, and analyzing the voice to obtain an analysis result; and entering a power saving mode when the analysis result contains a power saving mode starting instruction.
As shown in fig. 3c, the voice is received and analyzed to obtain an analysis result 308, and a power saving mode opening instruction "help me open the power saving mode" exists in the analysis result 308, and the device enters the power saving mode. In the power saving mode, the user may click 304 the exit control to exit the power saving mode.
In another embodiment, the temperature of the electronic device is detected, and the electronic device is controlled to enter the power saving mode when the temperature of the electronic device is higher than a temperature threshold. It is understood that various components of the electronic device, such as a Central Processing Unit (CPU), a battery, and various circuits, generate heat during operation, so that the temperature of the electronic device is increased. However, the temperature of the electronic device is too high, and each component inside the electronic device is easily burned out.
Therefore, when the temperature of the electronic equipment is higher than the temperature threshold value, the temperature of the electronic equipment is over-high, the electronic equipment is controlled to enter the power saving mode, resources of the electronic equipment can be saved, the temperature of the electronic equipment can be reduced, and safety of each component in the electronic equipment is guaranteed.
The refresh rate refers to the number of times the electron beam repeatedly scans the image on the screen. The higher the refresh rate, the better the image (picture) stability displayed by the screen. For example, the screen refresh rate may be 60HZ, 120 HZ; while an image picture displayed at a screen refresh rate of 120HZ is more stable than an image picture displayed at a screen refresh rate of 60 HZ.
It is understood that, in order to make the screen invisible to the human eye, the refresh rate of the screen needs to be greater than or equal to the lower limit value; in order to make the battery power of the electronic device usable for a longer time, the refresh rate of the screen needs to be less than or equal to the upper limit value, and the range from the upper limit value to the lower limit value, i.e., the refresh rate range of the screen. Wherein the upper and lower limit values may be empirical values.
If the first refresh rate is within the refresh rate range of the screen, the screen can be ensured to be in a normal use state when the refresh rate of the screen of the electronic equipment is adjusted to the first refresh rate; and the first refresh rate is smaller than the refresh rate threshold, so that the maximum value of the first refresh rate is limited, and the screen power consumption can be saved. The first refresh rate may also be a specific gear, such as one of 60Hz, 90Hz, 120Hz, 144Hz, etc.
Wherein the refresh rate threshold may be one of the values in a sub-range between the lower limit value and the median value of the refresh rate range. Where the median refers to the value centered in the middle of a set of data in order. For example, if the refresh rate range is [60,120], then the lower limit of the refresh rate range is 60, the median is 90, and then the refresh rate threshold may be one of the values in the sub-range [60,90], e.g., 60,70,85, etc.
In one embodiment, the first refresh rate may be a lower limit value of a refresh rate range of the screen, i.e., a minimum value in the refresh rate range, and the screen power may be saved to the maximum extent.
The refresh rate threshold may be set as desired by the user. Further, the electronic device obtains a refresh rate before entering the power saving mode, and sets a refresh rate threshold smaller than the refresh rate before entering the power saving mode. After the electronic equipment enters the power saving mode, the refresh rate of the screen of the electronic equipment is adjusted to be a first refresh rate, the first refresh rate is smaller than a refresh rate threshold value, the refresh rate threshold value is smaller than the refresh rate before the electronic equipment enters the power saving mode, and then the first refresh rate after the electronic equipment enters the power saving mode is smaller than the refresh rate before the electronic equipment enters the power saving mode, so that the refresh rate of the screen is reduced, and the power consumption of the screen is saved.
Step 204, detecting the current system state.
The current system state refers to a state in which the current system of the electronic device is located. The current system state may be one of a game state, a video play state, an application switching state, an animation play state, a running designated application state, a social chat state, a music play state, and the like.
The current system state may be a system state with a high requirement on the screen refresh rate, such as one of a game state, a video playing state, an application switching state, an animation playing state, or a state of running a specified application; or may be a system state with low requirements on the screen refresh rate, such as a social chat state, a music playing state, or the like. The current system states are different, and the corresponding screen refresh rate requirements may be different.
In one embodiment, the electronic device detects the current system state by at least one of a polling read mechanism and a registration callback listening.
In another embodiment, the electronic device detects an application program in the current screen display interface and each element in the screen display interface, and determines the current system state based on the application program in the current screen display interface and each element in the screen display interface.
The application currently in the screen display interface refers to the application currently in the screen display interface. If the user uses the WeChat, the WeChat is an application program in the current screen display interface; when the user uses the WeChat and simultaneously uses the lyric floating window function of the music application program to display the lyrics of the song in the screen display interface, the WeChat and the music application program are both the application programs in the current screen display interface.
The number of the application programs in the current screen display interface can be one or more. The currently used application program may be an application program of the electronic device, such as a camera, music, an album, and the like, and may also include an application program downloaded by the user, such as WeChat, Paibao, and the like.
The elements in the screen display interface can include pictures, videos, audios and texts, and also can include the brightness of the screen, the size of the screen and the like.
For example, if the application currently used by the electronic device is WeChat and the screen display interface includes a video, it may be determined that the current system state is a video playing state. For another example, if the application currently used by the electronic device is a game, and the screen display interface includes a game element defense tower, an enemy soldier, and the like, it may be determined that the current system state is a game state. For another example, if the application currently used by the electronic device includes WeChat, the WeChat is running at the front end, and each element in the screen display interface includes text and pictures, it may be determined that the current system state is the social chat state.
And step 206, determining a target refresh rate based on the current system state, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
If the current system states are different, the corresponding screen refresh rate requirements may be different, and the target refresh rate determined based on the current system states may also be different.
For example, if the current system state is a system state with a high requirement on the screen refresh rate, such as a game state, a video playing state, an application switching state, an animation playing state, or a state in which a specified application is run, the determined target refresh rate may be higher; when the current system state is a system state with a low requirement on the screen refresh rate, such as a social chat state, a music playing state, or the like, the determined target refresh rate may be lower.
The electronic equipment presets the corresponding relation between each system state and the refresh rate and acquires the corresponding relation between the system states and the refresh rate; matching the corresponding relation between the system state and the refresh rate with the current system state, determining the refresh rate of the current system state from the corresponding relation between the system state and the refresh rate, and taking the determined refresh rate as the target refresh rate.
For example, when the current system state is the game state, it is determined from the correspondence between the system state and the refresh rate that the refresh rate of the game state is 90HZ, that is, the target refresh rate is 90 HZ; when the current system state is the music playing state, it is determined from the correspondence between the system state and the refresh rate that the refresh rate of the music playing state is 60HZ, that is, the target refresh rate is 60 HZ.
According to the method for adjusting the screen refresh rate, when the electronic equipment enters the power saving mode, the refresh rate of the screen of the electronic equipment is adjusted to the first refresh rate, so that the power consumption of the screen of the electronic equipment can be reduced firstly, and the electric quantity of the electronic equipment is saved; the current system state is detected, the target refresh rate is determined based on the current system state, and the refresh rate of the screen can be adjusted from the first refresh rate to the target refresh rate, so that the refresh rate of the screen is matched with the current system state, and the accuracy of the adjusted screen refresh rate is improved.
Further, according to the method for adjusting the screen refresh rate, when the electronic device enters the power saving mode, power consumption can be optimized, that is, power consumption of the screen of the electronic device is reduced, the target refresh rate is determined based on the current system state, and then the refresh rate of the screen is adjusted from the first refresh rate to the target refresh rate, so that the display effect and the user experience of the screen display interface in the current system state can be ensured, and balance between power consumption and experience is achieved.
In one embodiment, after adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate, the method further includes: when the electronic equipment exits the power saving mode, acquiring a second refresh rate; the second refresh rate is higher than or equal to the first refresh rate; the refresh rate of the screen is adjusted from the target refresh rate to a second refresh rate.
And when the electronic equipment exits the power saving mode, the electronic equipment is restored to the normal mode, in order to ensure that the screen display interface is clearer, smoother and more accurate, the obtained second refresh rate is higher than or equal to the first refresh rate, and then the refresh rate of the screen is adjusted to the second refresh rate from the target refresh rate.
Further, before the electronic device enters the power saving mode, the method further includes: acquiring the current original refresh rate of a screen; when the electronic device exits the power saving mode, obtaining a second refresh rate, comprising: when the electronic equipment exits the power saving mode, acquiring an original refresh rate; adjusting the refresh rate of the screen from the target refresh rate to a second refresh rate, comprising: and restoring the refresh rate of the screen from the target refresh rate to the original refresh rate.
Before the electronic device enters the power saving mode, the current original refresh rate of the screen, that is, the refresh rate of the screen in the normal mode of the electronic device, is obtained, and the refresh rate is stored in a storage medium (such as a flash memory) of the electronic device. When the electronic equipment exits the power saving mode, the original refresh rate is obtained from the storage medium, and the refresh rate of the screen is adjusted from the target refresh rate to the second refresh rate, namely the refresh rate of the screen is restored to the refresh rate before entering the power saving mode.
In another embodiment, as shown in fig. 4, when the electronic device receives a power saving mode on command, step 402 is executed to save the original refresh rate; step 404 is executed to enter a power saving mode; step 406 is executed to determine whether the current refresh rate is the lowest refresh rate; if yes, that is, the current refresh rate is the lowest refresh rate, then the refresh rate does not need to be adjusted, step 408; if not, executing step 410 to adjust the refresh rate to the lowest refresh rate; step 414 is executed to detect the current system state.
In one embodiment, after detecting the current system state, the method further comprises: acquiring the priority of the current system state; determining a target refresh rate based on a current system state, comprising: a target refresh rate is determined based on the priority of the current system state.
A higher priority of the current system state, indicating a higher level of importance of the current system state, may determine a higher target refresh rate. The priority of the current system state is proportional to the size of the target refresh rate.
The electronic equipment presets the corresponding relation between each system state and the priority, matches the corresponding relation between the system states and the priorities with the current system state, and determines the priority of the current system state from the corresponding relation between the system states and the priorities.
For example, when the current system state is the game state, if it is determined from the correspondence between the system state and the priority that the priority of the game state is 4, it is determined that the target refresh rate is 90 HZ; when the current system state is the music playing state, it is determined from the correspondence between the system state and the priority that the priority of the game state is 2, and the target refresh rate is determined to be 60 HZ.
In one embodiment, after detecting the current system state, the method further comprises: acquiring an application program running in the current system state; determining a target refresh rate based on a current system state, comprising: and determining a target refresh rate based on the category of the application program operated in the current system state.
And if the different application programs belong to different categories, the corresponding target refresh rate can be determined based on the categories of the different application programs. For example, the category to which the WeChat and the microblog belong is a social application program, and the target refresh rate corresponding to the social application program may be 60 HZ; the category to which the tremble and the fast hand belong is a short video application, and the target refresh rate corresponding to the short video application may be 90 HZ.
Further, the priority of the application program running in the current system state is obtained, and the target refresh rate is determined based on the priority of the application program running in the current system state. The higher the priority of the application, the higher the determined target refresh rate.
Further, when detecting that the specified refresh rate exists in the application program running in the current system state, taking the specified refresh rate as a target refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the specified refresh rate of the application program.
In one embodiment, the target refresh rate includes a first refresh rate, a second target refresh rate, and a third target refresh rate; determining a target refresh rate based on the category to which the application program running in the current system state belongs, wherein the determining comprises the following steps: when the class of the application program running in the current system state is a video class, determining a first target refresh rate; when the class to which the application program running in the current system state belongs is a social class, determining a second target refresh rate; when the class to which the application program running in the current system state belongs is other than the video class and the social class, determining a third target refresh rate; the first target refresh rate, the second target refresh rate, and the third target refresh rate are sequentially decreased.
Applications for video categories such as trembling, fast-hand, Tik Tok, etc. Social category applications such as WeChat, microblog, QQ, twitter, etc. Other categories besides video categories and social categories may include game categories, sports categories, office categories, financial categories, and the like.
When the class of the application program running in the current system state is the video class, the video is played in the application program, and the requirement of the video on the refresh rate of the screen of the electronic equipment is high, so that the determined first refresh rate is high, and the video can be clearly and accurately played by the application program of the video class in the running process.
When the category to which the application program running in the current system state belongs is the social category, the user communicates with other users by adopting the application program, and the requirement on the refresh rate of the screen of the electronic equipment is moderate during communication.
When the class to which the application program running in the current system state belongs is other than the video class and the social class, the requirement of the application program running in the current system state on the refresh rate of the screen is low, a lower third target refresh rate can be determined, and the power consumption of the screen is saved.
It is understood that, if the requirements of the application programs of the video category, the application programs of the social category, and the application programs of other categories except the video category and the social category on the refresh rate of the screen of the electronic device are sequentially reduced, the first target refresh rate, the second target refresh rate, and the third target refresh rate are also sequentially reduced.
In one embodiment, the method further comprises: counting the use duration of each application program in a historical time period; acquiring the use duration of an application program running in the current system state in a historical time period; determining a target refresh rate based on the category to which the application program running in the current system state belongs, wherein the determining comprises the following steps: and determining a target refresh rate based on the category of the application program running in the current system state and the usage time length in the historical time period.
The historical time period can be set according to the needs of the user, such as one month before the current time, 5 days before the current time, and the like.
After the electronic equipment acquires the application program operated in the current system state, acquiring the use duration of the application program operated in the current system state in a historical time period. The usage duration refers to a duration of using the application. The service life is long, which indicates that the application program is a common application program for users; the usage time is long, which means that the application is an application that is not commonly used by the user.
When the category of the application program running in the current system state is fixed, the use duration of the application program in the historical time period is in positive correlation with the target refresh rate.
When the category of the application program running in the current system state is fixed, the longer the use time of the application program in the historical time period is, the more the application program is the application program frequently used by the user, and the higher the importance degree of the application program is, so that a larger target refresh rate can be determined, and the page content of the application program can be displayed more clearly and accurately when the application program is running in the current system state.
When the category of the application program running in the current system state is fixed, the shorter the usage time of the application program in the historical time period is, the less frequently used application program is indicated, and the lower the importance degree of the application program is, so that the smaller target refresh rate can be determined, and the power consumption of the screen of the electronic equipment can be saved when the application program is running in the current system state.
In one embodiment, after the electronic device enters the power saving mode, the electric quantity of the electronic device is detected in real time; and when the electric quantity of the electronic equipment reaches the electric quantity threshold value, detecting that the currently running application program comprises the target application program, and exiting the power saving mode. Wherein, the target application refers to an application program interacting with a user.
When the electric quantity of the electronic equipment reaches the electric quantity threshold value, the electric quantity of the electronic equipment is more, normal use and operation of the electronic equipment can be guaranteed, and when the currently-operated application program is detected to comprise the target application program, namely the current electronic equipment interacts with a user, the content of a display interface in a screen is important, and the power saving mode can be quitted. After exiting the power saving mode, the refresh rate of the electronic device is increased, the functions are increased, and the electronic device can interact with the user more accurately.
In one embodiment, the current system state comprises a first system state or a second system state, the refresh rate requirement of the first system state being higher than the refresh rate requirement of the second system state; determining a target refresh rate based on a current system state, and adjusting a refresh rate of a screen from a first refresh rate to the target refresh rate, including: when the current system state is a first system state, acquiring a first reference refresh rate corresponding to the first system state, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate; when the current system state is a second system state, acquiring a second reference refresh rate corresponding to the second system state, and adjusting the refresh rate of the screen from the first refresh rate to the second reference refresh rate; the first reference refresh rate is higher than the second reference refresh rate.
The first system state is one of a game state, a video playing state, an application program switching state, an animation playing state or a state of running a specified application program; the second system state is a social chat state or a music playing state. The designated application program may be an application program that needs a high refresh rate and is set by a user, such as a microblog, a wechat, or the like, or an application program that supports a high refresh rate. When the appointed application program is operated, the page of the appointed application program is displayed on the display interface of the screen, the screen is refreshed by adopting the first reference refresh rate, and the clearer page of the appointed application program can be obtained. The first system state has a high demand on visual effect, and the second system state has a low demand on visual effect, i.e. the refresh rate demand of the first system state is higher than the refresh rate demand of the second system state.
When the current system state is a first system state, the screen refresh rate corresponding to the first system state is a first reference refresh rate; and when the current system state is a second system state, the screen refresh rate corresponding to the second system state is a second reference refresh rate. The first reference refresh rate is higher than the second reference refresh rate because the refresh rate requirement of the first system state is higher than the refresh rate requirement of the second system state.
In this embodiment, the current system state includes a first system state or a second system state, when the current system state is the first system state, a corresponding first reference refresh rate is obtained, when the current system state is the second system state, a corresponding second reference refresh rate is obtained, and if the refresh rate requirement of the first system state is higher than the refresh rate requirement of the second system state, the first reference refresh rate is higher than the second reference refresh rate, so that the screen refresh rate can be adjusted more accurately.
In one embodiment, when the first system state is a video playing state, acquiring a first reference refresh rate corresponding to the first system state, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate includes: the method comprises the steps of obtaining a video frame rate corresponding to a video playing state, taking the video frame rate as a first reference refresh rate, and adjusting the refresh rate of a screen from the first refresh rate to the first reference refresh rate.
Frame rate is the frequency (rate) at which images appear continuously on the display in units of frames. When the electronic equipment plays the video in the screen, the frame rate of the video is consistent with the refresh rate of the screen.
Therefore, when the video is in the video playing state in the first system state, the frame rate of the video corresponding to the video playing state is acquired, the frame rate of the video is used as the first reference refresh rate, and the refresh rate of the screen is adjusted from the first refresh rate to the first reference refresh rate, so that the frame rate of the video is consistent with the refresh rate of the screen, and the normal playing of the video can be ensured.
In one embodiment, when the first system state is the application program switching state, acquiring a first reference refresh rate corresponding to the first system state, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate includes: acquiring a first reference refresh rate corresponding to the switching state of the application program, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate; the method further comprises the following steps: and after the application program switching is completed, adjusting the refresh rate of the screen from the first reference refresh rate to the first refresh rate.
And the application program switching state is the state of the application program used in the current interface when switching. For example, the application program used in the current interface is a, and the electronic device switches the application program used in the current interface from a to B when receiving a start instruction of the application program B. If the application program is not used in the current interface, and the electronic device receives a start instruction of the application program C, the application program C is started, and the current interface is switched to the application program C. The state of the application program A when switched to the application program B and the state of the application program C when switched to the application program C from no application program are both the application program switching states.
It can be understood that, when the current system state of the electronic device is the application switching state, if the refresh rate of the screen is low, the user may think that the switching application is wrong and restart the application, which wastes time and reduces the efficiency of switching the application.
Therefore, when the current system state of the electronic device is the application switching state, the current interface in the screen of the electronic device switches the application, and the requirement on the refresh rate of the screen is high, that is, the first reference refresh rate corresponding to the application switching state is high, so that the application can be accurately switched.
In one embodiment, as shown in FIG. 5, the electronic device performs step 502 to obtain an original refresh rate before entering the power saving mode. The electronic device executes step 504 to determine whether the electronic device is in a low power state, and if so, executes step 522 to adjust the refresh rate to the lowest refresh rate; when the determination is no, step 506 is performed. The low battery state is a state where the battery is below a battery threshold.
Step 506, determining whether the electronic device is in a high-temperature operation state, and if so, executing step 522 to adjust the refresh rate to the lowest refresh rate; when the determination is no, step 508 is performed. The high-temperature operating state refers to an operating state in which the temperature is higher than a temperature threshold value.
Step 508, judge whether the application sets up the designated refresh rate, when judging it is, carry out step 526, adjust the refresh rate to the refresh rate that the application appoints; when the determination is no, step 510 is performed.
Executing step 510, determining whether the current system state is a game state (further, a high frame rate game state), and if yes, executing step 524, adjusting the refresh rate to the original refresh rate; when the determination is no, step 514 is performed.
Step 512, determining whether the current system state is a video playing state (further may be a high frame rate video playing state), and if so, executing step 524 to adjust the refresh rate to the original refresh rate; when the determination is no, step 516 is performed.
Step 514, judging whether the current system state is the application program switching state, and if so, executing step 524 to adjust the refresh rate to the original refresh rate; when the determination is no, step 516 is performed.
Step 516, judging whether the current system state is an animation playing state, and if so, executing step 524 to adjust the refresh rate to the original refresh rate; when the determination is no, step 518 is performed. The animation includes, for example, an approach animation, a cut animation, and the like.
Step 518, judging whether the current scene is a scene with a designated high refresh rate, and if so, executing step 524 to adjust the refresh rate to the original refresh rate; when the determination is no, step 520 is performed. Wherein, high refresh rate scenes such as microblog browsing, friend circles and the like are specified. A high refresh rate refers to a refresh rate that is above a refresh rate threshold.
Step 520, judging whether to run an application or an application page supporting a high refresh rate, and if so, executing step 524 to adjust the refresh rate to the original refresh rate; if not, step 522 is executed to adjust the refresh rate to the lowest refresh rate. The lowest refresh rate is the lower limit value in the refresh rate range of the screen.
In one embodiment, the method further comprises: obtaining the brightness of the environment; determining a target refresh rate based on a current system state, and adjusting a refresh rate of a screen from a first refresh rate to the target refresh rate, including: acquiring a reference refresh rate corresponding to the current system state; and adjusting the reference refresh rate based on the ambient light brightness to obtain a target refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
Ambient light brightness refers to the brightness of the environment in which the electronic device is located. The reference refresh rate refers to a refresh rate corresponding to the current system state. If the current system states are different, the corresponding screen refresh rate requirements may be different, and the reference refresh rates corresponding to the current system states may also be different.
The electronic equipment firstly obtains a reference refresh rate corresponding to the current system state, and then adjusts the reference refresh rate based on the ambient light brightness to obtain a target refresh rate. For example, the electronic device first obtains a reference refresh rate a corresponding to the current system state, and when the ambient light brightness is high in the daytime, the reference refresh rate can be increased to obtain a target refresh rate; and at night, namely when the ambient light brightness is low, the reference refresh rate can be reduced to obtain the target refresh rate.
In this embodiment, a reference refresh rate corresponding to the current system state is obtained, the reference refresh rate is adjusted based on the ambient light brightness to obtain a target refresh rate, and the refresh rate of the screen is adjusted to the target refresh rate, so that the accuracy of the adjusted refresh rate can be improved.
In one embodiment, the current system state comprises a first system state or a second system state, the refresh rate requirement of the first system state being higher than the refresh rate requirement of the second system state; obtaining a reference refresh rate corresponding to a current system state, including: when the current system state is a first system state, acquiring a first reference refresh rate corresponding to the first system state; when the current system state is a second system state, acquiring a second reference refresh rate corresponding to the second system state; adjusting the reference refresh rate based on the ambient light brightness to obtain a target refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate, including: when the current system state is a first system state, adjusting a first reference refresh rate based on the ambient light brightness to obtain a target refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate; and when the current system state is a second system state, adjusting a second reference refresh rate based on the ambient light brightness to obtain a target refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
The first system state is one of a game state, a video playing state, an application program switching state animation playing state or a running appointed application program state; the second system state is a social chat state or a music playing state. The first system state has a high demand on visual effect, and the second system state has a low demand on visual effect, i.e. the refresh rate demand of the first system state is higher than the refresh rate demand of the second system state.
When the current system state is a first system state, the screen refresh rate corresponding to the first system state is a first reference refresh rate; and when the current system state is a second system state, the screen refresh rate corresponding to the second system state is a second reference refresh rate. The first reference refresh rate is higher than the second reference refresh rate because the refresh rate requirement of the first system state is higher than the refresh rate requirement of the second system state.
In this embodiment, the current system state includes a first system state or a second system state, and when the current system state is the first system state, a corresponding first reference refresh rate is obtained, and then the first reference refresh rate is adjusted based on the ambient light brightness to obtain a target refresh rate; when the current system state is a second system state, acquiring a corresponding second reference refresh rate, and adjusting the second reference refresh rate based on the ambient light brightness to obtain a target refresh rate; and finally, adjusting the refresh rate of the screen to the target refresh rate, so that the accuracy of the adjusted refresh rate can be improved.
In one embodiment, adjusting the reference refresh rate based on the ambient light level to obtain the target refresh rate comprises: when the ambient light brightness is lower than the ambient light brightness threshold value, reducing the reference refresh rate to obtain a target refresh rate; and when the ambient light brightness is higher than or equal to the ambient light brightness threshold value, increasing the reference refresh rate to obtain the target refresh rate.
When the ambient light brightness is lower than the ambient light brightness threshold (such as at night), the ambient light brightness is low, human eyes are sensitive to the screen brightness of the electronic equipment, and the reference refresh rate can be reduced to obtain the target refresh rate, so that the screen power consumption of the electronic equipment is saved.
When the ambient light brightness is higher than or equal to the ambient light brightness threshold (such as daytime), the ambient light brightness is high, human eyes are insensitive to the screen brightness of the electronic equipment, and the content in the screen display interface is not easy to see clearly, so that the reference refresh rate can be increased to obtain the target refresh rate, the quality of the display content in the screen display interface is improved, and the content in the display interface is displayed more clearly and more accurately.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
FIG. 6 is a block diagram of an apparatus for adjusting a screen refresh rate according to an embodiment. As shown in fig. 6, there is provided a device 600 for adjusting a screen refresh rate, including: a refresh rate adjustment module 602 for the screen and a current system state detection module 604, wherein:
a refresh rate adjustment module 602 of the screen, configured to adjust a refresh rate of the screen of the electronic device to a first refresh rate when the electronic device enters a power saving mode; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold.
A current system state detection module 604, configured to detect a current system state.
The refresh rate adjustment module 602 of the screen is further configured to determine a target refresh rate based on the current system state, and adjust the refresh rate of the screen from the first refresh rate to the target refresh rate.
According to the device for adjusting the screen refresh rate, when the electronic equipment enters the power saving mode, the refresh rate of the screen of the electronic equipment is adjusted to the first refresh rate, so that the power consumption of the screen of the electronic equipment can be reduced firstly, and the electric quantity of the electronic equipment is saved; the current system state is detected, the target refresh rate is determined based on the current system state, and the refresh rate of the screen can be adjusted from the first refresh rate to the target refresh rate, so that the refresh rate of the screen is matched with the current system state, and the accuracy of the adjusted screen refresh rate is improved.
In an embodiment, the refresh rate adjustment module 602 of the screen is further configured to obtain a second refresh rate when the electronic device exits the power saving mode; the second refresh rate is higher than or equal to the first refresh rate; the refresh rate of the screen is adjusted from the target refresh rate to a second refresh rate.
In an embodiment, the device for adjusting the screen refresh rate further includes an original refresh rate obtaining module, configured to obtain a current original refresh rate of the screen; the refresh rate adjustment module 602 of the screen is further configured to obtain a second refresh rate when the electronic device exits the power saving mode, and includes: when the electronic equipment exits the power saving mode, acquiring an original refresh rate; adjusting the refresh rate of the screen from the target refresh rate to a second refresh rate, comprising: and restoring the refresh rate of the screen from the target refresh rate to the original refresh rate.
In an embodiment, the device for adjusting the screen refresh rate further includes a priority acquiring module of the current system state, configured to acquire a priority of the current system state; the refresh rate adjustment module 602 of the screen is further configured to determine a target refresh rate based on the priority of the current system state.
In an embodiment, the apparatus for adjusting the screen refresh rate further includes an application acquiring module, configured to acquire an application running in a current system state; the refresh rate adjustment module 602 of the screen is further configured to determine a target refresh rate based on the category to which the application program running in the current system state belongs.
In an embodiment, the apparatus for adjusting the screen refresh rate further includes a priority obtaining module of the application program, configured to obtain a priority of the application program running in a current system state; the refresh rate adjustment module 602 of the screen is further configured to determine a target refresh rate based on the priority of the applications running in the current system state.
In an embodiment, the apparatus for adjusting the screen refresh rate further includes an electric quantity detection module, configured to detect the electric quantity of the electronic device in real time after the electronic device enters the power saving mode; and when the electric quantity of the electronic equipment reaches the electric quantity threshold value, detecting that the currently running application program comprises the target application program, and exiting the power saving mode.
In one embodiment, the current system state comprises a first system state or a second system state, the refresh rate requirement of the first system state being higher than the refresh rate requirement of the second system state; the screen refresh rate adjustment module 602 is further configured to, when the current system state is the first system state, obtain a first reference refresh rate corresponding to the first system state, and adjust the screen refresh rate from the first refresh rate to the first reference refresh rate; when the current system state is a second system state, acquiring a second reference refresh rate corresponding to the second system state, and adjusting the refresh rate of the screen from the first refresh rate to the second reference refresh rate; the first reference refresh rate is higher than the second reference refresh rate.
In one embodiment, the first system state is one of a game state, a video play state, an application switch state, an animation play state, or a running designated application state; the second system state is a social chat state or a music playing state.
In an embodiment, when the first system state is a video playing state, the screen refresh rate adjustment module 602 is further configured to obtain a frame rate of a video corresponding to the video playing state, use the frame rate of the video as a first reference refresh rate, and adjust the refresh rate of the screen from the first refresh rate to the first reference refresh rate.
In an embodiment, when the first system state is the application switching state, the screen refresh rate adjustment module 602 is further configured to obtain a first reference refresh rate corresponding to the application switching state, and adjust the screen refresh rate from the first refresh rate to the first reference refresh rate; and after the application program switching is completed, adjusting the refresh rate of the screen from the first reference refresh rate to the first refresh rate.
In an embodiment, the device for adjusting the screen refresh rate further includes an ambient light brightness obtaining module, configured to obtain ambient light brightness; the refresh rate adjustment module 602 of the screen is further configured to obtain a reference refresh rate corresponding to the current system state; and adjusting the reference refresh rate based on the ambient light brightness to obtain a target refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
In an embodiment, the refresh rate adjustment module 602 of the screen is further configured to decrease the reference refresh rate to obtain a target refresh rate when the ambient light brightness is lower than the ambient light brightness threshold; and when the ambient light brightness is higher than or equal to the ambient light brightness threshold value, increasing the reference refresh rate to obtain the target refresh rate.
The division of each module in the device for adjusting the screen refresh rate is merely for illustration, and in other embodiments, the device for adjusting the screen refresh rate may be divided into different modules as needed to complete all or part of the functions of the device for adjusting the screen refresh rate.
For the specific limitation of the adjusting device of the screen refresh rate, reference may be made to the above limitation of the adjusting method of the screen refresh rate, and details are not described herein again. The modules in the device for adjusting the screen refresh rate can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 7 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 7, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a method for adjusting a screen refresh rate provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal digital assistant), a Point of sale (POS), a vehicle-mounted computer, and a wearable device.
The implementation of each module in the device for adjusting the screen refresh rate provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. Program modules constituted by such computer programs may be stored on the memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of a method of adjusting a screen refresh rate.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform a method of adjusting a screen refresh rate.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. A method for adjusting a screen refresh rate, comprising:
when the electronic equipment enters a power saving mode, adjusting the refresh rate of the screen of the electronic equipment to a first refresh rate; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold;
detecting the current system state;
determining a target refresh rate based on the current system state, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
2. The method of claim 1, wherein the current system state comprises a first system state or a second system state, wherein a refresh rate requirement of the first system state is higher than a refresh rate requirement of the second system state; the target refresh rate comprises a first reference refresh rate and a second reference refresh rate;
the determining a target refresh rate based on the current system state, adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate, comprising:
when the current system state is the first system state, acquiring a first reference refresh rate corresponding to the first system state, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate;
when the current system state is the second system state, acquiring a second reference refresh rate corresponding to the second system state, and adjusting the refresh rate of the screen from the first refresh rate to the second reference refresh rate; the first reference refresh rate is higher than the second reference refresh rate.
3. The method of claim 2, wherein the first system state is one of a game state, a video play state, an application switch state, an animation play state, or a running specified application state; the second system state is a social chat state or a music playing state.
4. The method according to claim 2, wherein when the first system state is a video playing state, the obtaining a first reference refresh rate corresponding to the first system state, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate comprises:
and acquiring the frame rate of the video corresponding to the video playing state, taking the frame rate of the video as a first reference refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate.
5. The method of claim 2, wherein when the first system state is an application switching state, the obtaining a first reference refresh rate corresponding to the first system state, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate comprises:
acquiring a first reference refresh rate corresponding to the switching state of the application program, and adjusting the refresh rate of the screen from the first refresh rate to the first reference refresh rate;
the method further comprises the following steps:
and after the application program is switched, adjusting the refresh rate of the screen from the first reference refresh rate to the first refresh rate.
6. The method of claim 1, further comprising:
obtaining the brightness of the environment;
the determining a target refresh rate based on the current system state, adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate, comprising:
acquiring a reference refresh rate corresponding to the current system state;
and adjusting the reference refresh rate based on the ambient light brightness to obtain a target refresh rate, and adjusting the refresh rate of the screen from the first refresh rate to the target refresh rate.
7. The method of claim 6, wherein said adjusting the reference refresh rate based on the ambient light level results in a target refresh rate comprising:
when the ambient light brightness is lower than the ambient light brightness threshold value, reducing the reference refresh rate to obtain a target refresh rate;
and when the ambient light brightness is higher than or equal to the ambient light brightness threshold value, increasing the reference refresh rate to obtain a target refresh rate.
8. The method of claim 1, wherein after detecting the current system state, further comprising:
acquiring an application program operated in the current system state;
the determining a target refresh rate based on the current system state comprises:
and determining a target refresh rate based on the category of the application program operated in the current system state.
9. The method of claim 8, wherein the target refresh rate comprises a first refresh rate, a second target refresh rate, and a third target refresh rate;
the determining a target refresh rate based on the category to which the application program running in the current system state belongs includes:
when the class of the application program running in the current system state is a video class, determining a first target refresh rate;
when the class to which the application program running in the current system state belongs is a social class, determining a second target refresh rate;
determining a third target refresh rate when the category to which the application program running in the current system state belongs is other than the video category and the social category; the first target refresh rate, the second target refresh rate, and the third target refresh rate are sequentially decreased.
10. The method of claim 8, further comprising:
counting the use duration of each application program in a historical time period;
acquiring the use duration of the application program running in the current system state in the historical time period;
the determining a target refresh rate based on the category to which the application program running in the current system state belongs includes:
and determining a target refresh rate based on the class of the application program operated in the current system state and the usage time length in the historical time period.
11. An apparatus for adjusting a screen refresh rate, comprising:
the electronic equipment comprises a screen refresh rate adjusting module, a power saving module and a power saving module, wherein the screen refresh rate adjusting module is used for adjusting the refresh rate of the screen of the electronic equipment to a first refresh rate when the electronic equipment enters a power saving mode; the first refresh rate is within a refresh rate range of the screen and is less than a refresh rate threshold;
the current system state detection module is used for detecting the current system state;
the refresh rate adjustment module of the screen is further configured to determine a target refresh rate based on the current system state, and adjust the refresh rate of the screen from the first refresh rate to the target refresh rate.
12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and wherein the computer program, when executed by the processor, causes the processor to perform the steps of the method for adjusting a screen refresh rate according to any one of claims 1 to 10.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
CN202010473117.7A 2020-05-29 2020-05-29 Screen refresh rate adjusting method and device, electronic equipment and storage medium Pending CN111610848A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010473117.7A CN111610848A (en) 2020-05-29 2020-05-29 Screen refresh rate adjusting method and device, electronic equipment and storage medium
PCT/CN2021/087109 WO2021238473A1 (en) 2020-05-29 2021-04-14 Screen refresh rate adjusting method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010473117.7A CN111610848A (en) 2020-05-29 2020-05-29 Screen refresh rate adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111610848A true CN111610848A (en) 2020-09-01

Family

ID=72200006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010473117.7A Pending CN111610848A (en) 2020-05-29 2020-05-29 Screen refresh rate adjusting method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111610848A (en)
WO (1) WO2021238473A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118618A (en) * 2020-09-18 2020-12-22 上海闻泰电子科技有限公司 Screen refresh rate configuration method and device, computer equipment and readable storage medium
CN112198954A (en) * 2020-10-23 2021-01-08 Tcl通讯(宁波)有限公司 Frame rate setting method and device, storage medium and mobile terminal
CN112199027A (en) * 2020-09-14 2021-01-08 努比亚技术有限公司 Terminal interaction control method, terminal and computer readable storage medium
CN112333384A (en) * 2020-10-27 2021-02-05 北京小米移动软件有限公司 Image preview method, image preview device and storage medium
WO2021238473A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Screen refresh rate adjusting method and apparatus, electronic device, and storage medium
CN113791684A (en) * 2021-09-15 2021-12-14 Oppo广东移动通信有限公司 Method for acquiring application frame rate, refreshing device, mobile terminal and storage medium
CN114615727A (en) * 2022-03-14 2022-06-10 北京小米移动软件有限公司 Control method and device of terminal equipment, electronic equipment and storage medium
CN114691251A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Display control method, display control device, terminal equipment and computer readable storage medium
CN114913827A (en) * 2022-05-17 2022-08-16 广西世纪创新显示电子有限公司 Energy-saving display control method, device, terminal and storage medium of electronic contest display
WO2022257451A1 (en) * 2021-06-10 2022-12-15 荣耀终端有限公司 Display method, electronic device and computer storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114237062A (en) * 2021-12-15 2022-03-25 深圳绿米联创科技有限公司 Device control method and apparatus, electronic device, and medium
CN114661136A (en) * 2022-03-29 2022-06-24 联想(北京)有限公司 Information processing method and system and electronic equipment
CN118053408A (en) * 2022-11-16 2024-05-17 中兴通讯股份有限公司 Method, device and computer readable storage medium for adjusting refresh rate
CN116680153B (en) * 2023-07-28 2024-03-29 荣耀终端有限公司 Application frame rate smoothing method, electronic device and storage medium
CN116684668B (en) * 2023-08-03 2023-10-20 湖南马栏山视频先进技术研究院有限公司 Self-adaptive video frame processing method and playing terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160277706A1 (en) * 2015-03-17 2016-09-22 Apple Inc. Electronic display telecine pulldown systems and methods
CN108762470A (en) * 2018-05-30 2018-11-06 努比亚技术有限公司 Electricity saving method, intelligent terminal and computer readable storage medium in a kind of game mode
CN110928396A (en) * 2019-11-18 2020-03-27 Oppo(重庆)智能科技有限公司 Screen refreshing method and related equipment
CN110941411A (en) * 2019-11-19 2020-03-31 深圳传音控股股份有限公司 Frame rate control method and device and computer storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10380968B2 (en) * 2016-12-19 2019-08-13 Mediatek Singapore Pte. Ltd. Method for adjusting the adaptive screen-refresh rate and device thereof
CN109147714A (en) * 2017-06-16 2019-01-04 北京小米移动软件有限公司 The refresh rate method of adjustment and device of screen, computer readable storage medium
CN107995678A (en) * 2018-01-29 2018-05-04 深圳禾苗通信科技有限公司 A kind of electricity saving method of smart mobile phone
CN111131622A (en) * 2019-12-31 2020-05-08 联想(北京)有限公司 Refresh frequency adjusting method and device, electronic equipment and readable storage medium
CN111610848A (en) * 2020-05-29 2020-09-01 Oppo广东移动通信有限公司 Screen refresh rate adjusting method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160277706A1 (en) * 2015-03-17 2016-09-22 Apple Inc. Electronic display telecine pulldown systems and methods
CN108762470A (en) * 2018-05-30 2018-11-06 努比亚技术有限公司 Electricity saving method, intelligent terminal and computer readable storage medium in a kind of game mode
CN110928396A (en) * 2019-11-18 2020-03-27 Oppo(重庆)智能科技有限公司 Screen refreshing method and related equipment
CN110941411A (en) * 2019-11-19 2020-03-31 深圳传音控股股份有限公司 Frame rate control method and device and computer storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238473A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Screen refresh rate adjusting method and apparatus, electronic device, and storage medium
CN112199027A (en) * 2020-09-14 2021-01-08 努比亚技术有限公司 Terminal interaction control method, terminal and computer readable storage medium
CN112118618A (en) * 2020-09-18 2020-12-22 上海闻泰电子科技有限公司 Screen refresh rate configuration method and device, computer equipment and readable storage medium
CN112118618B (en) * 2020-09-18 2024-01-26 上海闻泰电子科技有限公司 Screen refresh rate configuration method, device, computer equipment and readable storage medium
CN112198954A (en) * 2020-10-23 2021-01-08 Tcl通讯(宁波)有限公司 Frame rate setting method and device, storage medium and mobile terminal
US11994931B2 (en) 2020-10-23 2024-05-28 Tcl Communication (Ningbo) Co., Ltd. Frame rate setting method, apparatus, storage medium and mobile terminal
CN112333384B (en) * 2020-10-27 2022-03-18 北京小米移动软件有限公司 Image preview method, image preview device and storage medium
CN112333384A (en) * 2020-10-27 2021-02-05 北京小米移动软件有限公司 Image preview method, image preview device and storage medium
CN114691251A (en) * 2020-12-28 2022-07-01 深圳Tcl新技术有限公司 Display control method, display control device, terminal equipment and computer readable storage medium
WO2022257451A1 (en) * 2021-06-10 2022-12-15 荣耀终端有限公司 Display method, electronic device and computer storage medium
US12020620B2 (en) 2021-06-10 2024-06-25 Honor Device Co., Ltd. Display method, electronic device, and computer storage medium
CN113791684A (en) * 2021-09-15 2021-12-14 Oppo广东移动通信有限公司 Method for acquiring application frame rate, refreshing device, mobile terminal and storage medium
CN114615727A (en) * 2022-03-14 2022-06-10 北京小米移动软件有限公司 Control method and device of terminal equipment, electronic equipment and storage medium
CN114913827A (en) * 2022-05-17 2022-08-16 广西世纪创新显示电子有限公司 Energy-saving display control method, device, terminal and storage medium of electronic contest display

Also Published As

Publication number Publication date
WO2021238473A1 (en) 2021-12-02

Similar Documents

Publication Publication Date Title
CN111610848A (en) Screen refresh rate adjusting method and device, electronic equipment and storage medium
CN111610847B (en) Page display method and device of third-party application program and electronic equipment
CN107911798B (en) Message pushing method and device and terminal
US20220159323A1 (en) Method for pre-loading content data, and electronic device
CN108650418B (en) Fatigue reminding method and device, intelligent terminal and storage medium
CN107943347B (en) Touch screen control method and device
CN109272917B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN110955471B (en) Notification message display method, notification message display device, terminal and storage medium
CN107633172B (en) Malicious webpage monitoring method and electronic equipment
CN112153396B (en) Page display method, device, system and storage medium
CN111970566A (en) Video playing method and device, electronic equipment and storage medium
CN112667075A (en) Terminal control method, terminal control device, electronic equipment and storage medium
CN108156314B (en) Electric quantity reminding method and device, electronic equipment and storage medium
WO2021143732A1 (en) Video playing method and apparatus
CN112685599A (en) Video recommendation method and device
CN116092449A (en) Screen brightness determining method and device and electronic equipment
CN112701736A (en) Charging method, charging device, electronic device and storage medium
CN115713923A (en) Terminal control method, device, medium and chip
CN114217841A (en) Application program control method and device, electronic equipment and readable storage medium
CN115173495A (en) Charging control method, charging control device and storage medium
CN115313530A (en) Method and device for determining battery state, electronic equipment and storage medium
CN107979695B (en) Network message receiving method and device and storage medium
CN112346617A (en) Information display method, information display device, terminal, and storage medium
CN114253385A (en) Power consumption management method and device of mobile terminal and computer readable storage medium
CN111382295A (en) Image search result sorting method and device

Legal Events

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