Screen refresh rate adjusting method and device, equipment and storage medium
By obtaining operation scenarios and device status information, dynamically adjusting the screen refresh rate to solve the power consumption problems caused by high refresh rate, and achieving device power consumption optimization and battery life extension.
Patent Information
- Application Number
- CN202410045552.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2025-07-11
AI Technical Summary
Long-term high screen refresh rate will lead to high power consumption of the display device, affecting the device's battery life and energy consumption.
By responding to the preset refresh rate adjustment trigger operation, obtain the current running scene information and device status information, dynamically adjust the screen refresh rate to meet the target refresh rate, including device temperature and power information, and adjust the refresh rate when the preset conditions are met, otherwise the server will be requested to adjust the media content or maintain the current refresh rate.
On the premise of ensuring user experience, dynamically adjust the screen refresh rate to reduce device power consumption and extend device battery life.
Smart Images

Figure CN120295589A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular, to a method, device, equipment and storage medium for adjusting the screen refresh rate. Background Art
[0002] The screen refresh rate refers to the number of times the display device updates the screen content per second. The higher the screen refresh rate, the smoother the screen display will be.
[0003] However, although a high screen refresh rate makes the display more fluent, staying at a high screen refresh rate for a long time will cause a relatively high power consumption of the display device. Summary of the Invention
[0004] To solve the above technical problems, embodiments of the present disclosure provide a method, device, equipment and storage medium for adjusting the screen refresh rate.
[0005] In a first aspect, the present disclosure provides a method for adjusting the screen refresh rate, the method comprising:
[0006] In response to a preset refresh rate adjustment trigger operation, obtain the current running scenario information, and determine the target refresh rate based on the current running scenario information; wherein, the current running scenario information includes the type of the scenario page and / or whether there is a target high-frame-rate object running on the scenario page;
[0007] If it is determined that the target refresh rate is greater than the current screen refresh rate, obtain the current device status information of the target device; wherein, the current device status information includes device temperature information and / or device power information;
[0008] If it is determined that the current device status information meets the first preset adjustment condition, adjust the screen refresh rate of the target device to the target refresh rate.
[0009] In an optional implementation manner, the step of if it is determined that the current device status information meets the first preset adjustment condition, adjust the screen refresh rate of the target device to the target refresh rate, includes:
[0010] If it is determined based on the device temperature information that the device battery temperature of the target device is not higher than the first preset temperature value, and it is determined based on the device power information that the remaining power of the target device is not lower than the first preset power value, then adjust the screen refresh rate of the target device to the target refresh rate.
[0011] In an optional implementation manner, the method further includes:
[0012] If it is determined that the target refresh rate is less than the current screen refresh rate, adjust the screen refresh rate of the target device to the target refresh rate.
[0013] In an alternative implementation, the method further includes:
[0014] If it is determined that the current device status information does not meet the first preset adjustment condition and meets the second preset adjustment condition, a recommendation policy adjustment request is sent to the target server; wherein, the recommendation policy adjustment request is used to request the target server to send low-refresh-rate media content.
[0015] In an alternative implementation, the step of if it is determined that the current device status information does not meet the first preset adjustment condition and meets the second preset adjustment condition, then sending a recommendation policy adjustment request to the target server includes:
[0016] If it is determined based on the device temperature information that the device battery temperature of the target device is higher than the second preset temperature value, and it is determined based on the device power information that the remaining power of the target device is not higher than the second preset power value, a recommendation policy adjustment request is sent to the target server.
[0017] In an alternative implementation, the step of obtaining the current running scenario information in response to a preset refresh rate adjustment trigger operation includes:
[0018] In response to a running scenario switching operation, determine the switched scenario, and obtain the current running scenario information corresponding to the switched scenario;
[0019] Or,
[0020] In response to a preset interaction operation on the current scenario page, obtain the current running scenario information.
[0021] In an alternative implementation, the step of determining the target refresh rate based on the current running scenario information includes:
[0022] According to the corresponding relationship between the preset running scenario information and the preset refresh rate, determine the target refresh rate corresponding to the current running scenario information; wherein, there is a preset corresponding relationship between the first preset refresh rate and the first running scenario information in the corresponding relationship, the first running scenario information includes at least one scenario page type, the at least one scenario page type includes a comment page, a chat page, a search page, and / or a mall page, there is a preset corresponding relationship between the second preset refresh rate and the second running scenario information in the corresponding relationship, the second running scenario information includes a scenario page running the target high-frame-rate object, and there is a preset corresponding relationship between the third preset refresh rate and the third running scenario information in the corresponding relationship, and the third running scenario information includes a target scenario page where the target high-frame-rate object is not running.
[0023] In a second aspect, the present disclosure also provides a screen refresh rate adjustment device, the device comprising:
[0024] A first determination module, configured to obtain current running scenario information in response to a preset refresh rate adjustment trigger operation, and determine a target refresh rate based on the current running scenario information; wherein, the current running scenario information includes a scenario page type and / or whether a target high-frame-rate object is running on the scenario page;
[0025] A first acquisition module, configured to obtain current device state information of a target device when it is determined that the target refresh rate is greater than the current screen refresh rate; wherein, the current device state information includes device temperature information and / or device power information;
[0026] A first adjustment module, configured to adjust the screen refresh rate of the target device to the target refresh rate when it is determined that the current device state information meets a first preset adjustment condition.
[0027] In a third aspect, the present disclosure provides a computer-readable storage medium, in which instructions are stored, and when the instructions run on a terminal device, the terminal device is enabled to implement the above method.
[0028] In a fourth aspect, the present disclosure provides a screen refresh rate adjustment device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the above method is implemented.
[0029] In a fifth aspect, the present disclosure provides a computer program product, the computer program product comprising a computer program / instructions, and when the computer program / instructions are executed by a processor, the above method is implemented.
[0030] The technical solution provided by the embodiments of the present disclosure has at least the following advantages compared with the prior art:
[0031] The embodiments of the present disclosure provide a method for adjusting the screen refresh rate. Specifically, in response to a preset refresh rate adjustment trigger operation, current running scenario information is obtained, and a target refresh rate is determined based on the current running scenario information. Wherein, the current running scenario information includes a scenario page type and / or whether a target high-frame-rate object is running on the scenario page. If it is determined that the target refresh rate is greater than the current screen refresh rate, current device state information of the target device is obtained, wherein the current device state information includes device temperature information and / or device power information. If it is determined that the current device state information meets a first preset adjustment condition, the screen refresh rate of the target device is adjusted to the target refresh rate.
[0032] Embodiments of the present disclosure can support dynamically adjusting the screen refresh rate of a target device based on current running scenario information and current device status information, thereby reducing the device power consumption on the premise of ensuring the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present disclosure and, together with the specification, are used to explain the principles of the present disclosure.
[0034] To more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0035] Figure 1 It is a flowchart of a method for adjusting the screen refresh rate provided by an embodiment of the present disclosure;
[0036] Figure 2 It is a schematic structural diagram of a device for adjusting the screen refresh rate provided by an embodiment of the present disclosure;
[0037] Figure 3 It is a schematic structural diagram of a device for adjusting the screen refresh rate provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0038] In order to better understand the above objects, features, and advantages of the present disclosure, the following will further describe the solutions of the present disclosure. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
[0039] Many specific details are set forth in the following description to fully understand the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all of the embodiments.
[0040] The screen refresh rate refers to the number of times the display screen refreshes the screen content per second. Currently, the screen refresh rates are generally 60Hz, 90Hz, 120Hz, etc. A higher screen refresh rate can bring a better visual experience to users. However, a higher screen refresh rate also causes some problems. For example, a high refresh rate will bring higher power consumption to the device.
[0041] To this end, the embodiments of the present disclosure provide a method for adjusting the screen refresh rate. Specifically, in response to a preset refresh rate adjustment trigger operation, the current running scenario information is obtained, and the target refresh rate is determined based on the current running scenario information. The current running scenario information includes the type of the scenario page and / or whether there is a target high-frame-rate object running on the scenario page. If it is determined that the target refresh rate is greater than the current screen refresh rate, the current device state information of the target device is obtained. The current device state information includes device temperature information and / or device power information. If it is determined that the current device state information meets the first preset adjustment condition, the screen refresh rate of the target device is adjusted to the target refresh rate.
[0042] The embodiments of the present disclosure can support dynamically adjusting the screen refresh rate of the target device based on the current running scenario information and the current device state information, thereby reducing the device power consumption on the premise of ensuring the user experience.
[0043] Specifically, the embodiments of the present disclosure provide a method for adjusting the screen refresh rate. Refer to Figure 1 , which is a flowchart of a method for adjusting the screen refresh rate provided by the embodiments of the present disclosure, and specifically includes:
[0044] S101: In response to a preset refresh rate adjustment trigger operation, obtain the current running scenario information, and determine the target refresh rate based on the current running scenario information.
[0045] The current running scenario information includes the type of the scenario page and / or whether there is a target high-frame-rate object running on the scenario page.
[0046] The method for adjusting the screen refresh rate provided by the embodiments of the present disclosure can be applied to the client. Specifically, the client can be deployed on terminals such as smart phones, tablets, and desktop computers.
[0047] In the embodiments of the present disclosure, the preset refresh rate is the screen refresh rate set in advance. The preset refresh rate can be set based on specific requirements.
[0048] In the embodiments of the present disclosure, the preset refresh rate adjustment trigger operation can include a scenario switching operation, a trigger interaction operation, etc.
[0049] In an alternative embodiment, when a running scenario switching operation is received, the switched scenario is determined, and the current running scenario information corresponding to the switched scenario is obtained.
[0050] The running scenario switching operation can be a page switching operation. That is, when a page switching operation is triggered, the switched page is determined, and the current running scenario information corresponding to the switched page is obtained.
[0051] For example, assume that the current page is the home page recommended video page. When the message tab is triggered and the page switches from the home page recommended video page to the message page, the current running scene information corresponding to the message page is obtained.
[0052] In another alternative implementation, when a preset interaction operation acting on the current scene page is received, the current running scene information is obtained.
[0053] Among them, the preset interaction operation can be understood as a trigger interaction operation by the user for the current scene page. Specific examples include interaction operations such as swiping and touching.
[0054] For example, assume that the current scene page is the shopping mall page. When the user swipes the shopping mall page to browse products, at this time, the current running scene information is obtained.
[0055] Among them, the current running scene information includes the scene page type and / or whether there is a target high-frame-rate object running on the scene page. Specifically, the current running scene information may include at least one scene page type, or there is a target high-frame-rate object running in the current running scene information, or there is no target high-frame-rate object running in the current running scene information.
[0056] In the embodiments of the present disclosure, the target refresh rate is determined based on the obtained current running scene information. Specifically, the target refresh rate corresponding to the current running scene information can be determined according to the corresponding relationship between the preset running scene information and the preset refresh rate. Among them, the preset running scene information is the pre-set running scene information used to determine whether there is a corresponding relationship with the current running scene information. The corresponding relationship can specifically be having the same or similar scene characteristics, etc.
[0057] Specifically, in an application scenario, if it is detected that the current running scene information corresponds to the first running scene information, then based on the preset corresponding relationship between the first running scene information and the first preset refresh rate, the first preset refresh rate is determined as the target refresh rate of the current running scene information. Among them, the preset running scene information includes the first running scene information. Specifically, the first running scene information includes at least one scene page type, and the at least one scene page type includes a comment page, a chat page, a search page, and / or a shopping mall page. The preset refresh rate includes the first preset refresh rate.
[0058] In another application scenario, if it is detected that the current running scene information corresponds to the second running scene information, the second preset refresh rate is determined as the target refresh rate of the current running scene information based on the preset correspondence between the second running scene information and the second preset refresh rate. The preset running scene information includes the second running scene information, and specifically, the second running scene information includes a scene page running a target high frame rate object, such as a widget animation, a transition animation, etc., and the preset refresh rate includes the second preset refresh rate.
[0059] In another application scenario, if it is detected that the current running scene information corresponds to the third running scene information, the third preset refresh rate is determined as the target refresh rate of the current running scene information based on the preset correspondence between the third running scene information and the third preset refresh rate. The preset running scene information includes the third running scene information, and specifically, the third running scene information includes a target scene page that does not run a target high frame rate object, and the target scene page does not belong to a scene page in the scene page type. The specific target scene page can be a static page, or a page with less content changes, such as a video page without special animations.
[0060] S102: If it is determined that the target refresh rate is greater than the current screen refresh rate, current device state information of the target device is obtained.
[0061] The current device status information includes device temperature information and / or device power information.
[0062] In actual applications, after determining the target refresh rate of the current running scene information, it is necessary to first determine whether the target refresh rate of the current running scene information is greater than the current screen refresh rate of the current running scene information. If the target refresh rate of the current running scene information is greater than the current screen refresh rate, it means that the current screen refresh rate needs to be increased. At this time, it is necessary to determine the current device status information of the target device to further determine whether the target device can increase the screen refresh rate under the current device status to save power of the target device and extend the battery life of the device.
[0063] The current device status information includes device temperature information and / or device power information, and the device temperature information may specifically be the device battery temperature of the target device. The device battery temperature of the target device may be obtained by using a battery management tool provided by the target device, or by installing a sensor to obtain the device battery temperature of the target device. The disclosed embodiment does not impose any restrictions on the method of obtaining the device battery temperature of the target device.
[0064] In addition, the device power information may include the remaining power value. Specifically, the device power information of the target device can be obtained by monitoring the voltage of the target device, or by using a battery power calculation tool, such as a coulomb meter. The embodiments of the present disclosure do not impose any restrictions on the method for obtaining the device power information of the target device.
[0065] S103: If it is determined that the current device state information meets the first preset adjustment condition, adjust the screen refresh rate of the target device to the target refresh rate.
[0066] In the embodiments of the present disclosure, the first preset adjustment condition is a preset adjustment condition for determining whether to adjust the screen refresh rate of the target device to the target refresh rate. The first preset adjustment condition may specifically include a first preset temperature value and a first preset power value. The first preset temperature value is the preset battery temperature, and the first preset power value is the preset power value.
[0067] Specifically, when it is determined that the target refresh rate is greater than the current screen refresh rate, based on the obtained current device state information of the target device, if it is determined according to the device temperature information that the device battery temperature of the target device is not higher than the first preset temperature value, and it is determined according to the device power information that the remaining power of the target device is not lower than the first preset power value, then adjust the screen refresh rate of the target device to the target refresh rate. That is, when the device battery temperature of the target device and the remaining power of the target device simultaneously meet the first preset adjustment condition, the screen refresh rate of the target device is adjusted to the target refresh rate.
[0068] For example, assume that the first preset temperature value is 38 degrees Celsius and the first preset power value is 30. When it is determined that the target refresh rate is greater than the current screen refresh rate, if the device battery temperature of the target device is not higher than 38 degrees Celsius and the remaining power of the target device is not lower than 30, then adjust the screen refresh rate of the target device to the target refresh rate.
[0069] In practical applications, when it is determined that the target refresh rate is greater than the current screen refresh rate, based on the obtained current device state information of the target device, if it is determined that the current device state information does not meet the first preset adjustment condition, it is necessary to further determine whether the current device state information meets the second preset adjustment condition. The second preset adjustment condition is a preset adjustment condition different from the first preset adjustment condition for determining whether to send a request to the target server to download low-refresh-rate media content. The second preset adjustment condition may specifically include a second preset temperature value and a second preset power value.
[0070] Specifically, if it is determined that the current device status information does not meet the first preset adjustment condition and meets the second preset adjustment condition, a recommended policy adjustment request is sent to the target server, where the recommended policy adjustment request is used to request the target server to send low-refresh-rate media content.
[0071] In an alternative implementation, when it is determined that the current device status information does not meet the first preset adjustment condition, according to the device temperature information, if it is determined that the device battery temperature of the target device is higher than the second preset temperature value, a request to send low-refresh-rate media content is sent to the target server.
[0072] Among them, the second preset temperature value is different from the first preset temperature value, and both are used to represent the device battery temperature of the current device, and the second preset temperature value is greater than the first preset temperature value.
[0073] For example, assume that the first preset temperature value is 38 degrees Celsius and the second preset temperature value is 41 degrees Celsius. If the device battery temperature of the target device is higher than 38 degrees Celsius and also higher than 41 degrees Celsius, that is, the device battery temperature of the target device is higher than 41 degrees Celsius, a request to send low-refresh-rate media content is sent to the target server.
[0074] In another alternative implementation, when it is determined that the current device status information does not meet the first preset adjustment condition, according to the device power information, if the remaining power of the target device is not higher than the second preset power value, a request to send low-refresh-rate media content is sent to the target server.
[0075] Among them, the second preset power value is different from the first preset power value, and both are used to represent the remaining power value of the target device, and the second preset power value is less than the first preset power value. For example, assume that the first preset power value is 30 and the second preset power value is 20. If the remaining power of the target device is lower than 30 and also lower than 20, that is, the remaining power value of the target device is lower than 20, a request to send low-refresh-rate media content is sent to the target server.
[0076] Based on the above content, it can be understood that in the embodiments of the present disclosure, when the first preset adjustment condition is not met, as long as the device battery temperature of the target device is higher than the second preset temperature value, or the remaining power of the target device is not higher than the second preset power value, a request to send low-refresh-rate media content can be sent to the target server.
[0077] Based on the above content, if the current device status information does not meet the first preset adjustment condition and does not meet the second preset adjustment either, a request to close the adjustment refresh rate policy can be sent to the target server, that is, the target device maintains the current screen refresh rate.
[0078] In an alternative embodiment, based on the current device status information, if it is determined that the device battery temperature of the target device is higher than the first preset temperature value and not higher than the second preset temperature value, a request to turn off the refresh rate adjustment policy is sent to the target server.
[0079] For example, assume that the first preset temperature value is 38 degrees Celsius and the second preset temperature value is 41 degrees Celsius. If the device battery temperature of the target device is higher than 38 degrees Celsius but lower than 41 degrees Celsius, that is, the device battery temperature of the target device is between 38 and 41 degrees Celsius, at this time, a request to turn off the refresh rate adjustment policy is sent to the target server.
[0080] In another alternative embodiment, based on the current device status information, if it is determined that the remaining battery level of the target device is not higher than the first preset battery level and higher than the second preset battery level, a request to turn off the refresh rate adjustment policy is sent to the target server.
[0081] Assume that the first preset battery level is 30 and the second preset temperature value is 20. If the remaining battery level of the target device is lower than 30 and higher than 20, that is, the remaining battery level of the target device is between 20 and 30, a request to turn off the refresh rate adjustment policy is sent to the target server.
[0082] That is to say, on the basis of not meeting the first preset adjustment condition and the second preset adjustment condition, based on the current device status information, as long as it is determined that the device battery temperature of the target device is higher than the first preset temperature value and not higher than the second preset temperature value, or the remaining battery level of the target device is not higher than the first preset battery level and higher than the second preset battery level, a request to turn off the refresh rate adjustment policy can be sent to the target server.
[0083] In the screen refresh rate adjustment method provided by the embodiments of the present disclosure, in response to a preset refresh rate adjustment trigger operation, the current running scenario information is obtained, and the target refresh rate is determined based on the current running scenario information. The current running scenario information includes the scenario page type and / or whether there is a target high-frame object running on the scenario page. If it is determined that the target refresh rate is greater than the current screen refresh rate, the current device status information of the target device is obtained, where the current device status information includes device temperature information and / or device battery level information. If it is determined that the current device status information meets the first preset adjustment condition, the screen refresh rate of the target device is adjusted to the target refresh rate.
[0084] The embodiments of the present disclosure can support dynamically adjusting the screen refresh rate of the target device based on the current running scenario information and the current device status information, thereby reducing the device power consumption while ensuring the user experience.
[0085] In practical applications, there may also be a situation where the target refresh rate of the current running scenario information is less than or equal to the current screen refresh rate.
[0086] Specifically, in an alternative implementation, if it is determined that the target refresh rate of the current running scenario information is less than the current screen refresh rate, the screen refresh rate of the target device is adjusted to the target refresh rate. That is, when it is determined that the target refresh rate of the current running scenario information is less than the current screen refresh rate, the currently set screen refresh rate can be directly adjusted to the target refresh rate without judging other conditions.
[0087] In another alternative implementation, if it is determined that the target refresh rate of the current running scenario information is equal to the current screen refresh rate, the screen refresh rate of the target device remains unchanged.
[0088] Based on the above method embodiments, the present disclosure also provides a screen refresh rate adjustment device. Refer to Figure 2 , which is a schematic structural diagram of a screen refresh rate adjustment device provided by an embodiment of the present disclosure. The device includes:
[0089] A first determination module 201, configured to obtain the current running scenario information in response to a preset refresh rate adjustment trigger operation, and determine a target refresh rate based on the current running scenario information; wherein, the current running scenario information includes a scenario page type and / or whether a target high-frame-rate object is running on the scenario page;
[0090] A first acquisition module 202, configured to obtain the current device status information of the target device when it is determined that the target refresh rate is greater than the current screen refresh rate; wherein, the current device status information includes device temperature information and / or device power information;
[0091] A first adjustment module 203, configured to adjust the screen refresh rate of the target device to the target refresh rate when it is determined that the current device status information meets a first preset adjustment condition.
[0092] In an alternative implementation, the first adjustment module is specifically configured to:
[0093] Based on the device temperature information, determine that the device battery temperature of the target device is not higher than a first preset temperature value, and based on the device power information, determine that the remaining power of the target device is not lower than a first preset power value, and then adjust the screen refresh rate of the target device to the target refresh rate.
[0094] In an alternative implementation, the device further includes:
[0095] A second adjustment module, configured to adjust the screen refresh rate of the target device to the target refresh rate when it is determined that the target refresh rate is less than the current screen refresh rate.
[0096] In an alternative embodiment, the device further includes:
[0097] A first sending module, configured to send a recommendation policy adjustment request to a target server when it is determined that the current device status information does not meet the first preset adjustment condition but meets the second preset adjustment condition; wherein, the recommendation policy adjustment request is used to request the target server to send down media content with a low refresh rate.
[0098] In an alternative embodiment, the first sending module is specifically configured to:
[0099] If it is determined based on the device temperature information that the device battery temperature of the target device is higher than a second preset temperature value, and it is determined based on the device power information that the remaining power of the target device is not higher than a second preset power value, then send a recommendation policy adjustment request to the target server.
[0100] In an alternative embodiment, the first determination module includes a first acquisition sub-module, including:
[0101] A second acquisition sub-module, configured to determine the switched scene in response to a running scene switching operation, and acquire the current running scene information corresponding to the switched scene;
[0102] A third acquisition sub-module, configured to acquire the current running scene information in response to a preset interaction operation on the current scene page.
[0103] In an alternative embodiment, the first determination module is specifically configured to:
[0104] According to the correspondence between the preset running scene information and the preset refresh rate, determine the target refresh rate corresponding to the current running scene information; wherein, there is a preset correspondence between the first preset refresh rate and the first running scene information in the correspondence, the first running scene information includes at least one scene page type, the at least one scene page type includes a comment page, a chat page, a search page, and / or a mall page, there is a preset correspondence between the second preset refresh rate and the second running scene information in the correspondence, the second running scene information includes a scene page running the target high-frame-rate object, and there is a preset correspondence between the third preset refresh rate and the third running scene information in the correspondence, the third running scene information includes a target scene page without running the target high-frame-rate object.
[0105] In the screen refresh rate adjustment device provided by an embodiment of the present disclosure, in response to a preset refresh rate adjustment trigger operation, the current running scenario information is obtained, and the target refresh rate is determined based on the current running scenario information, where the current running scenario information includes the type of the scenario page and / or whether a target high-frame-rate object is running on the scenario page. If it is determined that the target refresh rate is greater than the current screen refresh rate, the current device state information of the target device is obtained, where the current device state information includes device temperature information and / or device power information. If it is determined that the current device state information meets the first preset adjustment condition, the screen refresh rate of the target device is adjusted to the target refresh rate.
[0106] The embodiment of the present disclosure can support dynamically adjusting the screen refresh rate of the target device based on the current running scenario information and the current device state information, so as to reduce the device power consumption on the premise of ensuring the user experience.
[0107] In addition to the above methods and devices, the embodiment of the present disclosure also provides a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are run on a terminal device, the terminal device implements the screen refresh rate adjustment method described in the embodiment of the present disclosure.
[0108] The embodiment of the present disclosure also provides a computer program product. The computer program product includes a computer program / instructions. When the computer program / instructions are executed by a processor, the screen refresh rate adjustment method described in the embodiment of the present disclosure is implemented.
[0109] In addition, the embodiment of the present disclosure also provides a screen refresh rate adjustment device. Refer to Figure 3 as shown, which may include:
[0110] A processor 301, a memory 302, an input device 303, and an output device 304. The number of processors 301 in the screen refresh rate adjustment device may be one or more. Figure 3 Taking one processor as an example. In some embodiments of the present disclosure, the processor 301, the memory 302, the input device 303, and the output device 304 may be connected through a bus or other means. Among them, Figure 3 taking the connection through a bus as an example.
[0111] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing of the screen refresh rate adjustment device by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function, etc. In addition, the memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. The input device 303 can be used to receive input digital or character information, and generate signal inputs related to user settings and function controls of the screen refresh rate adjustment device.
[0112] Specifically in this embodiment, the processor 301 loads the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 runs the application programs stored in the memory 302, so as to implement various functions of the above-mentioned screen refresh rate adjustment device.
[0113] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.
[0114] The above are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments described herein, but rather to the broadest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for adjusting the screen refresh rate, characterized in that The method includes: In response to a preset refresh rate adjustment trigger operation, obtaining current running scenario information, and determining a target refresh rate based on the current running scenario information; wherein, the current running scenario information includes the scenario page type and / or whether a target high frame rate object is running on the scenario page; If it is determined that the target refresh rate is greater than the current screen refresh rate, obtaining the current device state information of the target device; wherein, the current device state information includes device temperature information and / or device power information; If it is determined that the current device state information meets a first preset adjustment condition, adjusting the screen refresh rate of the target device to the target refresh rate.
2. The method according to claim 1, wherein The step of if it is determined that the current device state information meets a first preset adjustment condition, adjusting the screen refresh rate of the target device to the target refresh rate, includes: If it is determined based on the device temperature information that the device battery temperature of the target device is not higher than a first preset temperature value, and it is determined based on the device power information that the remaining power of the target device is not lower than a first preset power value, then adjusting the screen refresh rate of the target device to the target refresh rate.
3. The method according to claim 1, characterized in that, The method further includes: If it is determined that the target refresh rate is less than the current screen refresh rate, adjusting the screen refresh rate of the target device to the target refresh rate.
4. The method according to claim 1, wherein The method further includes: If it is determined that the current device state information does not meet the first preset adjustment condition and meets a second preset adjustment condition, sending a recommended policy adjustment request to a target server; wherein, the recommended policy adjustment request is used to request the target server to send low refresh rate media content.
5. The method according to claim 4, wherein The step of if it is determined that the current device state information does not meet the first preset adjustment condition and meets a second preset adjustment condition, sending a recommended policy adjustment request to a target server, includes: If it is determined based on the device temperature information that the device battery temperature of the target device is higher than a second preset temperature value, and it is determined based on the device power information that the remaining power of the target device is not higher than a second preset power value, then sending a recommended policy adjustment request to the target server.
6. The method according to claim 1, characterized in that, The step of in response to a preset refresh rate adjustment trigger operation, obtaining current running scenario information, includes: In response to a running scenario switching operation, determining the switched scenario, and obtaining the current running scenario information corresponding to the switched scenario; Or, In response to a preset interaction operation acting on the current scenario page, obtaining current running scenario information.
7. The method according to claim 1, characterized in that, The step of determining a target refresh rate based on the current running scenario information, includes: Determine the target refresh rate corresponding to the current running scenario information according to the corresponding relationship between the preset running scenario information and the preset refresh rate; wherein, there is a preset corresponding relationship between the first preset refresh rate and the first running scenario information in the corresponding relationship, and the first running scenario information includes at least one scenario page type, and the at least one scenario page type includes a comment page, a chat page, a search page, and / or a shopping mall page. There is a preset corresponding relationship between the second preset refresh rate and the second running scenario information in the corresponding relationship, and the second running scenario information includes a scenario page on which the target high-frame-rate object is running. There is a preset corresponding relationship between the third preset refresh rate and the third running scenario information, and the third running scenario information includes a target scenario page on which the target high-frame-rate object is not running.
8. A screen refresh rate adjustment device, characterized in that, The device includes: A first determination module, configured to obtain current running scenario information in response to a preset refresh rate adjustment trigger operation, and determine a target refresh rate based on the current running scenario information; wherein, the current running scenario information includes a scenario page type and / or whether a target high-frame-rate object is running on the scenario page. A first acquisition module, configured to obtain the current device status information of the target device when it is determined that the target refresh rate is greater than the current screen refresh rate; wherein, the current device status information includes device temperature information and / or device power information. A first adjustment module, configured to adjust the screen refresh rate of the target device to the target refresh rate when it is determined that the current device status information meets a first preset adjustment condition.
9. A computer-readable storage medium, characterized in that, Instructions are stored in the computer-readable storage medium, and when the instructions run on the terminal device, the terminal device is caused to implement the method according to any one of claims 1-7.
10. A screen refresh rate adjustment device, characterized in that Including: A memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method according to any one of claims 1-7 is implemented.