Terminal control method, device, medium and chip

By dynamically adjusting the frame rate based on terminal temperature and event type, the problem of excessive power consumption at maximum frame rate is solved, achieving more efficient power usage and stable display effect.

CN115713923BActive Publication Date: 2025-10-17BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211469052.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-22
Publication Date
2025-10-17
Estimated Expiration
2042-11-22

AI Technical Summary

Technical Problem

Refreshing the display at the maximum frame rate on the terminal device results in excessive power consumption, affecting the device's battery life and normal operation.

Method used

The candidate frame rate set is determined based on the terminal temperature, and the frame rate is dynamically adjusted to control the screen refresh based on factors such as the event type and screen backlight value when a frame refresh event is triggered.

Benefits of technology

It effectively avoids terminal overheating, reduces device power consumption, improves battery life, and ensures consistent user experience and display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115713923B_ABST
    Figure CN115713923B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a terminal control method, device, medium and chip. The terminal control method of the present disclosure comprises: in the case that the frame rate adjustment mode of the terminal is in an open state, determining a candidate frame rate set of the terminal according to the temperature of the terminal; if a frame refresh event is triggered, determining the trigger type of the frame refresh event; determining a target frame rate from the candidate frame rate set according to the trigger type; and controlling the screen of the terminal to be refreshed and displayed at the target frame rate. Through the present disclosure, the frame rate that can be adjusted by the terminal can be limited according to the temperature of the terminal, so as to effectively avoid the influence of overheating of the terminal on the normal operation of the terminal, while avoiding the damage of overheating of the terminal to internal components to a certain extent, and also enabling the frame rate adjustment of the terminal under the premise of guaranteeing the use experience of the user, reducing the equipment power consumption of the terminal, reducing the power consumption, improving the endurance of the terminal, and further improving the use experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of image technology, and in particular, to a terminal control method and device, a medium and a chip. BACKGROUND

[0002] Currently, the screen of a terminal device can support a larger and larger frame rate to display a picture of the terminal device smoothly and provide a smooth interaction experience for a user. In related technologies, when a user uses a terminal, the terminal usually keeps refreshing and displaying at a maximum frame rate, which occupies a large power consumption of the terminal. SUMMARY

[0003] To overcome the problems in related technologies, the present disclosure provides a terminal control method, device, medium and chip.

[0004] According to a first aspect of an embodiment of the present disclosure, a terminal control method is provided, comprising:

[0005] In a case where a frame rate adjustment mode of a terminal is in an open state, a candidate frame rate set of the terminal is determined according to a temperature of the terminal;

[0006] If a frame refreshing event is triggered, a trigger type of the frame refreshing event is determined;

[0007] According to the trigger type, a target frame rate is determined from the candidate frame rate set;

[0008] A screen of the terminal is controlled to refresh and display at the target frame rate.

[0009] Optionally, the determining of the candidate frame rate set of the terminal according to the temperature of the terminal comprises:

[0010] If the temperature of the terminal is less than a preset temperature threshold, the candidate frame rate set of the terminal is determined as a candidate first frame rate set;

[0011] If the temperature of the terminal is greater than or equal to the temperature threshold, the candidate frame rate set of the terminal is determined as a candidate second frame rate set;

[0012] The candidate first frame rate set and the candidate second frame rate set each include a plurality of candidate frame rates, the candidate second frame rate set is a subset of the candidate first frame rate set, and a maximum frame rate in the candidate second frame rate set is less than a maximum frame rate in the candidate first frame rate set.

[0013] Optionally, the method further comprises:

[0014] Obtaining screen refresh timing information of the terminal;

[0015] In a case where the time length corresponding to the screen refresh timing information does not reach a preset time length, the step of determining the trigger type of the frame refresh event is executed if the trigger frame refresh event occurs;

[0016] In a case where the time length corresponding to the screen refresh timing information reaches the preset time length, the screen backlight value of the terminal is acquired;

[0017] If the screen backlight value is greater than a preset backlight threshold value, a preset backlight frame rate is determined as the target frame rate, and the backlight frame rate is a candidate frame rate in the candidate frame rate set;

[0018] If the screen backlight value is less than or equal to the backlight threshold value, a maximum frame rate in the candidate frame rate set is determined as the target frame rate.

[0019] Optionally, the determining the target frame rate from the candidate frame rate set according to the trigger type comprises:

[0020] In a case where the trigger type is a target type, a maximum frame rate in the candidate frame rate set is determined as the target frame rate, and the target type includes a CPU overclocking event type, a physical key input event type, and a pop-up window event type.

[0021] Optionally, the determining the target frame rate from the candidate frame rate set according to the trigger type further comprises:

[0022] If the trigger type is not the target type, an application corresponding to the frame refresh event is determined.

[0023] The target frame rate is determined from the candidate frame rate set according to an application type of the application.

[0024] Optionally, the determining the target frame rate from the candidate frame rate set according to the application type of the application comprises:

[0025] If the application type is a video type, a decoding frame rate of a video played in the application is acquired, and the smaller one of the decoding frame rate and a frame rate corresponding to the video type is determined as the target frame rate, wherein the decoding frame rate and the frame rate corresponding to the video type are candidate frame rates in the candidate frame rate set;

[0026] If the application type is a game type, in a case where the application is associated with a configuration frame rate, the configuration frame rate is determined as the target frame rate, and in a case where the application is not associated with the configuration frame rate, a maximum frame rate in the candidate frame rate set is determined as the target frame rate, wherein the configuration frame rate is a candidate frame rate in the candidate frame rate set;

[0027] If the application type is a social type, a maximum frame rate in the candidate frame rate set is determined as the target frame rate.

[0028] Optionally, the method further comprises:

[0029] In response to determining the target frame rate, triggering the screen refresh timing information to be re-timed, and returning to performing the step of determining the candidate frame rate set of the terminal according to the temperature of the terminal, in a case where the frame rate adjustment mode of the terminal is in an open state.

[0030] According to a second aspect of the embodiments of the present disclosure, a terminal control apparatus is provided, comprising:

[0031] A first determining module is configured to determine a candidate frame rate set of the terminal according to the temperature of the terminal, in a case where the frame rate adjustment mode of the terminal is in an open state.

[0032] A second determining module is configured to determine a trigger type of a frame refresh event, if the frame refresh event is triggered.

[0033] A third determining module is configured to determine a target frame rate from the candidate frame rate set according to the trigger type.

[0034] A control module is configured to control the terminal to refresh and display a screen at the target frame rate.

[0035] According to a third aspect of the embodiments of the present disclosure, a terminal control apparatus is provided, comprising:

[0036] A processor;

[0037] A memory for storing processor-executable instructions;

[0038] The processor is configured to execute the terminal control method provided by the first aspect of the embodiments of the present disclosure.

[0039] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, which stores computer program instructions, and the computer program instructions are executed by a processor to implement the terminal control method provided by the first aspect of the embodiments of the present disclosure.

[0040] According to a fifth aspect of the embodiments of the present disclosure, a chip is provided, comprising a processor and an interface; the processor is configured to read instructions to execute the terminal control method provided by the first aspect of the embodiments of the present disclosure.

[0041] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects:

[0042] By the technical solution, in a case that the frame rate adjustment mode of the terminal is in an open state, the candidate frame rate set of the terminal can be determined according to the temperature of the terminal, if the frame refreshing event is triggered, the trigger type of the frame refreshing event is determined, and further, the target frame rate is determined from the candidate frame rate set according to the trigger type, so as to control the screen of the terminal to be refreshed and displayed at the target frame rate. Therefore, by the technical solution, the frame rate that can be adjusted by the terminal can be limited according to the temperature of the terminal, so as to effectively avoid the influence of overheating of the terminal on the normal operation of the terminal, and meanwhile, the damage of overheating of the terminal to internal components can be avoided to a certain extent. Moreover, the corresponding target frame rate can be determined according to the trigger type of the frame refreshing event, so as to realize the frame rate adjustment of the terminal on the premise of guaranteeing the use experience of the user, guarantee the consistency of the target frame rate and the refreshing display state of the terminal, and reduce the equipment power consumption of the terminal to a certain extent, reduce the power consumption, improve the endurance of the terminal, and further improve the use experience of the user.

[0043] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and serve to explain the principles of the disclosure, in which:

[0045] Figure 1 is a flow chart of a terminal control method according to an exemplary embodiment.

[0046] Figure 2 is a block diagram of a terminal control apparatus according to an exemplary embodiment.

[0047] Figure 3 is a block diagram of a terminal control apparatus according to an exemplary embodiment. DETAILED DESCRIPTION

[0048] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, unless otherwise indicated, like numbers in the attached drawings refer to the same or similar elements. The embodiments described in the following exemplary embodiments are not meant to represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0049] It should be noted that all the actions of acquiring signals, information or data in the present application are carried out in compliance with the corresponding data protection regulations and policies of the country where the device is located, and with the authorization of the owner of the corresponding device.

[0050] Figure 1 is a flowchart of a terminal control method according to an exemplary embodiment, as Figure 1 shown, the method can include the following steps.

[0051] In step S11, in a case where the frame rate adjustment mode of the terminal is in an open state, a candidate frame rate set of the terminal is determined according to a temperature of the terminal.

[0052] In a state in which the frame rate adjustment mode is in the open state, the terminal can be controlled to perform frame rate adjustment according to a current operating state of the terminal. The open and close options of the frame rate adjustment mode of the terminal are set in the terminal and are open to the user, and the user can manually open or close the frame rate adjustment mode of the terminal according to the user's own experience needs of the terminal. When the user selects to open the frame rate adjustment mode, the user can set the default frame rate of the terminal to be the maximum frame rate that the screen of the terminal can support.

[0053] In the running process of the terminal, the central processing unit (CPU) will generate heat. When it is detected that the frame rate adjustment mode is in the open state, the current temperature of the terminal can be obtained. The temperature of the terminal can be in a monitored state. For example, a temperature monitoring module can be arranged inside the terminal to monitor the temperature of the terminal in real time or at regular intervals. As another example, the temperature of the terminal can be detected when it is detected that the frame rate adjustment mode is in the open state. For example, a temperature detection module can be arranged inside the terminal to detect the current temperature of the terminal.

[0054] Those skilled in the art should understand that the manner of obtaining the temperature of the terminal can also adopt other manners, which all fall within the protection scope of the present disclosure.

[0055] In an actual application scenario, in a case where the temperature of the terminal is high, if the terminal is in a high frame rate display mode, the power consumption of the terminal will increase and the temperature of the terminal will further rise. Therefore, to prevent the temperature of the terminal from being too high to affect the normal operation of the terminal or even damage the parts of the terminal, in this embodiment, the candidate frame rate set, i.e., the frame rate set that can be used for frame rate adjustment of the terminal, can be determined according to the current temperature of the terminal. The candidate frame rate set can also be determined when the current temperature of the terminal is greater than a preset temperature. The preset temperature can be set according to specific needs, and the size of the preset temperature is not limited in this embodiment. The candidate frame rate set contains a plurality of frame rates used by the terminal for image display, so that the terminal can normally operate when the terminal performs frame rate adjustment between the frame rates determined by the candidate frame rate set.

[0056] In step S12, if a frame refresh event is triggered, the trigger type of the frame refresh event is determined.

[0057] The trigger type can be used to indicate what event triggers the frame refresh event, such as user operation on the physical button of the terminal, and the corresponding part needs to be displayed on the terminal screen. At this time, the terminal screen can be refreshed by the frame refresh event to display the display part corresponding to the physical button. The trigger type corresponding to the frame refresh event is the physical button input event.

[0058] In step S13, the target frame rate is determined from the candidate frame rate set according to the trigger type.

[0059] For example, the frame rate corresponding to the trigger type of the frame refresh event is taken as the target frame rate, and the target frame rate is determined in the candidate frame rate set. Thus, the frame rate of the terminal can be adjusted according to the real-time frame refresh event in the terminal, which is consistent with the running state of the terminal.

[0060] In step S14, the screen of the terminal is controlled to be refreshed and displayed at the target frame rate.

[0061] After determining the target frame rate suitable for the refresh display of the current screen, the terminal is controlled to adjust the frame rate to the target frame rate, so that the screen of the terminal is refreshed and displayed at the target frame rate.

[0062] In the above technical solution, when the frame rate adjustment mode of the terminal is in the open state, the candidate frame rate set of the terminal can be determined according to the temperature of the terminal. If a frame refresh event is triggered, the trigger type of the frame refresh event is determined, and the target frame rate is further determined from the candidate frame rate set according to the trigger type, so as to control the screen of the terminal to be refreshed and displayed at the target frame rate. Thus, by the above technical solution, the adjustable frame rate of the terminal can be limited according to the temperature of the terminal, so as to effectively avoid the influence of overheating of the terminal on the normal operation of the terminal, and at the same time, the damage of overheating of the terminal to internal parts can be avoided to a certain extent. The corresponding target frame rate can be determined according to the trigger type of the frame refresh event, so as to realize the frame rate adjustment of the terminal under the premise of ensuring the user experience, ensure the consistency of the target frame rate and the refresh display state of the terminal, and reduce the device power consumption of the terminal to a certain extent, reduce the power consumption, improve the endurance of the terminal, and further improve the user experience.

[0063] In some possible embodiments, the candidate frame rate set of the terminal is determined according to the temperature of the terminal, including:

[0064] If the temperature of the terminal is less than the preset temperature threshold, the candidate frame rate set of the terminal is determined as the candidate first frame rate set.

[0065] If the temperature of the terminal is greater than or equal to the temperature threshold, the candidate frame rate set of the terminal is determined as the candidate second frame rate set.

[0066] The candidate first frame rate set and the candidate second frame rate set each include a plurality of candidate frame rates, the candidate second frame rate set is a subset of the candidate first frame rate set, and the maximum frame rate in the candidate second frame rate set is less than the maximum frame rate in the candidate first frame rate set.

[0067] For example, the preset temperature threshold can be set to 46℃, and the preset temperature threshold can be adaptively adjusted according to the type and model of the terminal, which falls within the protection scope of the present disclosure.

[0068] For example, the temperature of the terminal can be compared with the temperature threshold. If the temperature of the terminal is less than the preset temperature threshold, it indicates that the current heat generation degree of the terminal is low. At this time, if the terminal displays and refreshes the screen at a higher frame rate, the temperature rise of the terminal caused by the higher frame rate refresh has less impact on the normal operation of the terminal. If the temperature of the terminal is greater than or equal to the temperature threshold, it indicates that the current heat generation degree of the terminal is high. At this time, if the terminal displays and refreshes the screen at a higher frame rate, the temperature of the terminal will further rise, which may affect the normal operation of the terminal and even damage the internal parts.

[0069] Based on this, in this embodiment, different candidate frame rate sets can be selected according to the temperature of the terminal, so that the range of frame rate adjustment is adapted to the current state of the terminal. For example, when the temperature of the terminal is less than the temperature threshold, the frame rate of the terminal is less limited by the temperature of the terminal when determining the candidate frame rate set of the terminal. The frame rate of the screen of the terminal can be adjusted to the maximum frame rate that the screen of the terminal can support, and the candidate frame rate in the corresponding candidate frame rate set can be more. For example, when the temperature of the terminal is greater than or equal to the preset temperature threshold, the maximum frame rate in the candidate frame rate set is less than the maximum frame rate that the screen of the terminal can support when determining the candidate frame rate set of the terminal, so that the terminal can operate normally when the terminal adjusts the frame rate in the frame rates determined by the candidate frame rate set.

[0070] For example, the determined candidate first frame rate set can be all frame rates supported by the screen of the terminal, that is:

[0071] F[MAX]={f1,…,idle,…,thermal,…,max};

[0072] Wherein, F[MAX] represents the candidate first frame rate set, f1,…,idle,…,thermal,…,max represents each frame rate supported by the screen of the terminal, that is, the candidate frame rate.

[0073] The determined candidate second frame rate set can be:

[0074] F[thermal]={f1,…,idle,…,thermal};

[0075] F[thermal] is a candidate second frame rate set, and the candidate second frame rate set can contain part of the frame rates in the candidate first frame rate set and does not contain the maximum frame rate corresponding to the terminal.

[0076] For example, the frame rates in the candidate first frame rate set can be arranged in ascending order, and when the candidate second frame rate set is determined, the first N frame rates in the ascending order can be selected as the candidate second frame rate set, or the frame rates less than the maximum frame rate can be selected, and the present disclosure does not limit this. N is a positive integer.

[0077] Therefore, by the above technical solution, the frame rate adjustment range of the terminal can be limited according to the temperature of the terminal, so as to avoid the case that the temperature of the terminal is further increased due to the refresh display of the screen under the condition that the temperature of the terminal is high, which affects the normal operation of the terminal, ensures the safe operation of the terminal, realizes the frame rate adjustment of the terminal, and reduces the risk of damage of the parts of the terminal.

[0078] In some possible embodiments, the method can include:

[0079] Obtaining screen refresh timing information of the terminal.

[0080] The timer can be arranged in the terminal to count the screen non-refresh duration of the terminal. For example, the timer is triggered to restart counting each time a frame refresh event occurs, and the counting duration of the timer can be directly determined as the screen refresh timing information. It can be understood that the screen refresh timing information is the screen non-refresh duration.

[0081] In a case where the duration corresponding to the screen refresh timing information does not reach a preset duration, if a frame refresh event is triggered, the step of determining the trigger type of the frame refresh event is performed.

[0082] In a case where the duration corresponding to the screen refresh timing information reaches the preset duration, the screen backlight value of the terminal is obtained.

[0083] In a case where the duration corresponding to the screen refresh timing information reaches the preset duration, it can be considered that the screen of the terminal does not refresh the picture within the preset duration, for example, the screen of the terminal remains in the wake-up state, but the user does not operate the terminal. In this case, the frame rate can be further adjusted in combination with the screen brightness of the terminal.

[0084] The screen backlight value of the terminal is the brightness value of a light source that irradiates the screen of the terminal from the inside to the outside. Different frame rates have different gamma values, which are used to encode and correct the screen display, so that the screen display at the time of the frame refresh event is more consistent with the characteristics of the human eye, improving the visual experience of the user. The screen backlight value of the terminal can be obtained by using a light sensing module provided in the terminal.

[0085] After that, if the screen backlight value is greater than the preset backlight threshold value, the preset backlight frame rate is determined as the target frame rate, and the backlight frame rate is a candidate frame rate in the candidate frame rate set.

[0086] The screen backlight value and the frame rate both affect the stability of the screen display. In the case of a small screen backlight value, a small frame rate can cause the screen display to flicker. Based on this, in this embodiment, the obtained screen backlight value is compared with the backlight threshold value. If the screen backlight value is greater than the backlight threshold value, it is considered that the influence of adjusting the frame rate of the terminal on the stability of the screen display can be ignored at this time. If no frame refresh event occurs within a preset time length, that is, when the time length corresponding to the screen refresh timing information reaches the preset time length, the preset backlight frame rate can be determined as the target frame rate, where the backlight frame rate is a candidate frame rate in the candidate frame rate set. As an example, the backlight frame rate can be the minimum frame rate in the candidate frame rate set, so as to reduce the power consumption of the terminal while ensuring the stability of the screen display.

[0087] If the screen backlight value is less than or equal to the backlight threshold value, the maximum frame rate in the candidate frame rate set is determined as the target frame rate.

[0088] Continuing from the above, when the screen backlight value is less than or equal to the backlight threshold value, if the terminal displays at a small frame rate at this time, the screen is prone to flickering when displaying the picture, affecting the user experience. In this embodiment, the maximum frame rate in the candidate frame rate set can be determined as the target frame rate to ensure the quality and stability of the displayed picture.

[0089] Thus, the frame rate of the terminal can be adjusted in different ways according to the frequency of the frame refresh event in the terminal. When the time length corresponding to the screen refresh timing information reaches the preset time length, the target frame rate for the terminal to display can be determined based on the screen backlight value, the target frame rate for the terminal to display is adjusted in a timely manner while ensuring the stability and smoothness of the screen display, which can not only ensure the user experience but also reduce the power consumption of the terminal to some extent and improve the endurance of the terminal.

[0090] In some possible embodiments, the target frame rate is determined from the candidate frame rate set according to the trigger type, including:

[0091] In the case that the trigger type is the target type, the maximum frame rate in the candidate frame rate set is determined as the target frame rate.

[0092] The target type can include one or more of the following: a CPU overclocking event type, a physical key input event type, and a pop-up event type. The CPU overclocking event type can represent a type of frame refresh event that occurs in a state in which the CPU of the terminal is overloaded. As an example, the terminal can be caused to overload the CPU when the terminal is tested using a benchmarking application or when a large game application is loaded, that is, when CPU overclocking occurs. In this scenario, the frame refresh event corresponds to the CPU overclocking event type, and in this case, the terminal screen has a higher requirement for the frame rate when displaying a picture, and thus the maximum frame rate in the candidate frame rate set can be determined as the target frame rate to ensure the smoothness, stability, and accuracy of the picture display of the terminal screen and the application running.

[0093] The physical key input event includes plugging and unplugging operations of a data line, and operations of physical keys such as a volume adjustment key, a power-on key, and a Home key. The frame refresh event triggered by the user when performing a physical key input operation on the terminal corresponds to the physical key input event type. In this scenario, the terminal screen displays a picture corresponding to the specific operation. The pop-up event includes system notifications and application notifications. When the terminal receives a system notification or an application notification, the terminal screen displays pop-up information. The frame refresh event that causes the picture to change in this process corresponds to the pop-up event type.

[0094] In the case of a physical key input event and a pop-up event, the picture displayed on the terminal screen is an instant picture. The instant picture has a higher requirement for the frame rate of the terminal. In the case of a low frame rate, the instant picture can have problems such as picture trailing or picture delay. Therefore, in this scenario, the maximum frame rate in the candidate frame rate set is determined as the target frame rate to ensure the smoothness and stability of the instant picture of the terminal screen.

[0095] In some possible embodiments, determining the target frame rate from the candidate frame rate set according to the trigger type can further include:

[0096] If the trigger type is not the target type, the application corresponding to the frame refresh event is determined.

[0097] The target frame rate is determined from the candidate frame rate set according to the application type of the application.

[0098] In this step, if the trigger type of the frame refresh event is not any of the target types described above, the application corresponding to the frame refresh event can be detected. The application corresponding to the frame refresh event is an application that is displayed on the terminal screen when the frame refresh event is executed. Thus, the frame rate of the terminal can be adjusted to match the corresponding application to ensure the user experience.

[0099] As an example, the determining the target frame rate from the candidate frame rate set according to the application type of the application comprises:

[0100] If the application type is a video type, a decoding frame rate of a video played in the application is obtained, and the smaller one of the decoding frame rate and a frame rate corresponding to the video type is determined as the target frame rate, wherein the decoding frame rate and the frame rate corresponding to the video type are candidate frame rates in the candidate frame rate set.

[0101] The application of the video type needs to obtain video source data to be played and further decode the video source data to obtain a high-definition video when playing the video. In this process, the higher the decoding frame rate, the more picture frames correspond to 1 second, and the higher the video fluency. The frame rate corresponding to the video type can be set in advance, and is a candidate frame rate in the candidate frame rate set. The frame rate corresponding to the video type is the maximum frame rate set under the video type, and when the decoding frame rate is greater than the frame rate corresponding to the video type, the frame rate corresponding to the video type is used as the target frame rate to adapt to the refresh display limit of the terminal.

[0102] When the decoding frame rate is less than the frame rate corresponding to the video type, the decoded picture frames are less than the picture frames for refreshing and displaying on the screen, that is, the same picture may occur in the process of refreshing and displaying the screen corresponding to multiple frame refreshing events, and thus the smaller one of the decoding frame rate and the frame rate corresponding to the video type, that is, the decoding frame rate, is determined as the target frame rate to avoid invalid screen refreshing operation and save terminal power consumption.

[0103] If the application type is a game type, a configuration frame rate associated with the application is determined as the target frame rate if the application is associated with the configuration frame rate, and a maximum frame rate in the candidate frame rate set is determined as the target frame rate if the application is not associated with the configuration frame rate, wherein the configuration frame rate is a candidate frame rate in the candidate frame rate set.

[0104] As an example, the fluency requirement of picture display in the game is high, the application of the game type is greatly affected by the frame rate of the terminal, and the application of the game type may have unstable, incoherent or even lagging pictures under a low frame rate. Therefore, the frame rate configured by the user can be selected in the game scene according to the user demand, such as prompting multiple frame rates in the candidate frame rate set corresponding to the terminal for the user to select, and using the frame rate selected by the user as the configuration frame rate associated with the application.

[0105] Correspondingly, the configuration frame rate can be acquired when it is determined that the application type is the game type, and when the configuration frame rate is acquired, the configuration frame rate is taken as the target frame rate to meet the use demand of the user. If the configuration frame rate is not associated in the application, the maximum frame rate in the candidate frame rate set is taken as the target frame rate to ensure the stability and fluency of the game picture and improve the user experience.

[0106] If the application type is the social type, the maximum frame rate in the candidate frame rate set is determined as the target frame rate.

[0107] In the application of the social type, the user usually performs the operations such as screen touch, click and slide to select or view the content, in this scenario, the terminal screen displays the instant picture corresponding to the user operation, and then the maximum frame rate in the candidate frame rate set can be determined as the target frame rate to make the smoothness and fluency of the picture display in the user interaction process.

[0108] In a possible embodiment, the method can further include:

[0109] In response to determining the target frame rate, triggering the screen refresh timing information to be re-timed, and returning to performing the step of determining the candidate frame rate set of the terminal according to the temperature of the terminal and the subsequent steps when the frame rate adjustment mode of the terminal is in the open state.

[0110] The implementation manners of each step are described in detail above, and will not be described here. Thus, after the target frame rate is determined and the frame rate of the terminal is adjusted, the temperature and the frame rate state of the terminal continue to be monitored, so as to realize the real-time adjustment of the frame rate of the terminal, and make the frame rate of the terminal for refreshing display match the use state of the terminal.

[0111] Based on the same inventive concept, the disclosure also provides a terminal control device 100, Figure 2 is a block diagram of a terminal control device according to an example embodiment, referring to Figure 2 The terminal control device 100 includes a first determination module 110, a second determination module 120, a third determination module 130 and a control module 140.

[0112] The first determination module 110 is configured to determine a candidate frame rate set of the terminal according to the temperature of the terminal when the frame rate adjustment mode of the terminal is in the open state.

[0113] The second determination module 120 is configured to determine the trigger type of the frame refresh event if the frame refresh event is triggered.

[0114] The third determination module 130 is configured to determine a target frame rate from the candidate frame rate set according to the trigger type.

[0115] The control module 140 is configured to control the terminal screen to refresh and display at the target frame rate.

[0116] According to the technical solution, when the frame rate adjustment mode of the terminal is in the open state, the candidate frame rate set of the terminal can be determined according to the temperature of the terminal. If a frame refresh event is triggered, the trigger type of the frame refresh event is determined, and the target frame rate is further determined from the candidate frame rate set according to the trigger type, so as to control the terminal screen to refresh and display at the target frame rate. Thus, according to the technical solution, the adjustable frame rate of the terminal can be limited according to the temperature of the terminal, so as to effectively avoid the influence of overheating of the terminal on the normal operation of the terminal, and meanwhile, the damage of overheating of the terminal to internal components can be avoided to a certain extent. Moreover, the corresponding target frame rate can be determined according to the trigger type of the frame refresh event, so as to realize the frame rate adjustment of the terminal on the premise of ensuring the user experience, guarantee the consistency between the target frame rate and the refresh display state of the terminal, and reduce the equipment power consumption of the terminal to a certain extent, reduce the power consumption, improve the endurance of the terminal, and further improve the user experience.

[0117] Optionally, the first determination module 110 comprises:

[0118] The first determination sub-module is configured to determine the candidate frame rate set of the terminal as a candidate first frame rate set if the temperature of the terminal is less than a preset temperature threshold.

[0119] The second determination sub-module is configured to determine the candidate frame rate set of the terminal as a candidate second frame rate set if the temperature of the terminal is greater than or equal to the temperature threshold.

[0120] The candidate first frame rate set and the candidate second frame rate set each comprise a plurality of candidate frame rates, the candidate second frame rate set is a subset of the candidate first frame rate set, and the maximum frame rate in the candidate second frame rate set is less than the maximum frame rate in the candidate first frame rate set.

[0121] Optionally, the apparatus further comprises:

[0122] The first acquisition module is configured to acquire screen refresh timing information of the terminal.

[0123] The first trigger module is configured to trigger the second determination module 120 to determine the trigger type of the frame refresh event if a frame refresh event is triggered, in a case where the time length corresponding to the screen refresh timing information does not reach a preset time length.

[0124] The second acquisition module is configured to acquire the screen backlight value of the terminal in a case where the time length corresponding to the screen refresh timing information reaches the preset time length.

[0125] The fourth determining module is configured to determine the preset backlight frame rate as the target frame rate if the screen backlight value is greater than the preset backlight threshold, the backlight frame rate being a candidate frame rate in the candidate frame rate set;

[0126] The fifth determining module is configured to determine the maximum frame rate in the candidate frame rate set as the target frame rate if the screen backlight value is less than or equal to the backlight threshold.

[0127] Optionally, the third determining module 130 comprises:

[0128] The third determining sub-module is configured to determine the maximum frame rate in the candidate frame rate set as the target frame rate if the trigger type is a target type, the target type comprising a CPU overclocking event type, a physical key input event type, and a pop-up window event type.

[0129] Optionally, the third determining module 130 further comprises:

[0130] The fourth determining sub-module is configured to determine an application corresponding to the frame refreshing event if the trigger type is not the target type.

[0131] The fifth determining sub-module is configured to determine a target frame rate from the candidate frame rate set according to an application type of the application.

[0132] Optionally, the fifth determining sub-module comprises:

[0133] The sixth determining sub-module is configured to obtain a decoding frame rate of a video played in the application if the application type is a video type, and determine the smaller one of the decoding frame rate and a frame rate corresponding to the video type as the target frame rate, the decoding frame rate and the frame rate corresponding to the video type being candidate frame rates in the candidate frame rate set.

[0134] The seventh determining sub-module is configured to determine a configuration frame rate as the target frame rate if the application type is a game type and the application is associated with the configuration frame rate, and determine the maximum frame rate in the candidate frame rate set as the target frame rate if the application is not associated with the configuration frame rate, the configuration frame rate being a candidate frame rate in the candidate frame rate set.

[0135] The eighth determining sub-module is configured to determine the maximum frame rate in the candidate frame rate set as the target frame rate if the application type is a social type.

[0136] Optionally, the apparatus further comprises:

[0137] The second triggering module is configured to trigger the screen refresh timing information to be re-timed in response to the target frame rate being determined, and trigger the first determining module to determine the candidate frame rate set of the terminal according to the temperature of the terminal in a case where the frame rate adjustment mode of the terminal is in an open state.

[0138] With regard to the apparatus in the above-described embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the method, and thus will not be described in detail here.

[0139] The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions, which, when executed by a processor, implement the steps of the terminal control method provided by the present disclosure.

[0140] Figure 3 is a block diagram of a terminal control apparatus 800 according to an exemplary embodiment. The terminal control apparatus 800 can be, for example, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

[0141] Referring to Figure 3 The terminal control apparatus 800 can include one or more of the following components: a processing component 802, a memory component 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0142] The processing component 802 usually controls overall operations of the terminal control apparatus 800, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to complete all or part of steps of the above-described terminal control method. In addition, the processing component 802 can include one or more modules to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0143] The memory 804 is configured to store various types of data to support the operation of the terminal control device 800. Examples of these data include instructions for any application programs or methods operating on the terminal control device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or nonvolatile storage devices or a combination thereof such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0144] The power supply component 806 supplies power for various components of the terminal control device 800. The power supply component 806 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal control device 800.

[0145] The multimedia component 808 includes a screen providing an output interface between the terminal control device 800 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensors can not only sense a boundary of a touching or a sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 808 includes a front camera and / or a back camera. The front camera and / or the back camera can receive external multimedia data when the terminal control device 800 is in an operation mode, such as a photographing mode or a video mode. Each of the front and back cameras can be a fixed optical lens system or have a focal length and optical zoom capability.

[0146] The audio component 810 is configured to output and / or input an audio signal. For example, the audio component 810 includes a microphone (MIC) configured to receive an external audio signal when the terminal control device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting an audio signal.

[0147] The input / output interface 812 provides an interface between the processing component 802 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0148] The sensor assembly 814 includes one or more sensors for providing various aspects of the terminal control device 800's status assessment. For example, the sensor assembly 814 can detect the open / closed state of the terminal control device 800, the relative positioning of components, such as the display and keypad of the terminal control device 800. The sensor assembly 814 can also detect changes in the position of the terminal control device 800 or a component of the terminal control device 800, the presence or absence of user contact with the terminal control device 800, the orientation or acceleration / deceleration of the terminal control device 800, and changes in the temperature of the terminal control device 800. The sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an accelerometer, a gyroscope, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0149] The communication component 816 is configured to facilitate wired or wireless communication between the terminal control device 800 and other devices. The terminal control device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0150] In an exemplary embodiment, the terminal control device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned terminal control method.

[0151] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is further provided, such as a memory 804 including instructions. The instructions can be executed by the processor 820 of the terminal control device 800 to implement the terminal control method described above. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0152] The terminal control apparatus 800 described above can be not only a standalone electronic device, but also a part of a standalone electronic device, for example, in an embodiment, the apparatus can be an integrated circuit (IC) or a chip, where the integrated circuit can be one IC or a collection of multiple ICs; the chip can include but is not limited to the following categories: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The integrated circuit or chip described above can be used to execute executable instructions (or code) to implement the terminal control method described above. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or apparatuses, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory and executed by the processor to implement the terminal control method described above; or the integrated circuit or chip can receive executable instructions through the interface and transmit them to the processor for execution to implement the terminal control method described above.

[0153] In another exemplary embodiment, a computer program product is also provided, which contains a computer program executable by a programmable apparatus, the computer program having code portions for performing the terminal control method described above when executed by the programmable apparatus.

[0154] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure following the general principles thereof and including such departures from the present disclosure that come within known

[0155] It should be understood that the present disclosure is not limited to the precise structures described and shown in the drawings, and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the claims that follow.

Claims

1. A terminal control method, characterized in that: include: When a frame rate adjustment mode of the terminal is in an on state, determining a candidate frame rate set for the terminal according to a temperature of the terminal; If a frame refresh event is triggered, determining the trigger type of the frame refresh event; determining a target frame rate from the candidate frame rate set according to the trigger type; Controlling the screen of the terminal to refresh the display at the target frame rate; Obtaining screen refresh timing information of the terminal; If the duration corresponding to the screen refresh timing information does not reach the preset duration, executing the step of determining the trigger type of the frame refresh event if the frame refresh event is triggered; When the duration corresponding to the screen refresh timing information reaches a preset duration, obtaining a screen backlight value of the terminal; If the screen backlight value is less than or equal to the set backlight threshold, the maximum frame rate in the candidate frame rate set is determined as the target frame rate.

2. The method according to claim 1, characterized in that The determining, according to the temperature of the terminal, a candidate frame rate set of the terminal includes: If the temperature of the terminal is lower than a preset temperature threshold, determining the candidate frame rate set of the terminal as a candidate first frame rate set; If the temperature of the terminal is greater than or equal to the temperature threshold, determining the candidate frame rate set of the terminal as a candidate second frame rate set; The candidate first frame rate set and the candidate second frame rate set respectively include multiple candidate frame rates, the candidate second frame rate set is a subset of the candidate first frame rate set, and the maximum frame rate in the candidate second frame rate set is less than the maximum frame rate in the candidate first frame rate set.

3. The method according to claim 1, characterized in that The method further comprises: If the screen backlight value is greater than a preset backlight threshold, the preset backlight frame rate is determined as the target frame rate, and the backlight frame rate is a candidate frame rate in the candidate frame rate set.

4. The method according to claim 1, wherein The determining of the target frame rate from the candidate frame rate set according to the trigger type includes: When the trigger type is a target type, the maximum frame rate in the candidate frame rate set is determined as the target frame rate. The target type includes: a CPU overclocking event type, a physical key input event type, and a pop-up event type.

5. The method according to claim 4, characterized in that The determining a target frame rate from the candidate frame rate set according to the trigger type further includes: If the trigger type is not the target type, determining an application corresponding to the frame refresh event; A target frame rate is determined from the candidate frame rate set according to an application type of the application.

6. The method according to claim 5, characterized in that The determining of the target frame rate from the candidate frame rate set according to the application type of the application includes: If the application type is a video type, obtaining a decoded frame rate of the video played in the application, and determining the smaller of the decoded frame rate and the frame rate corresponding to the video type as the target frame rate, wherein the decoded frame rate and the frame rate corresponding to the video type are candidate frame rates in the candidate frame rate set; If the application type is a game type, if a configured frame rate is associated with the application, the configured frame rate is determined as the target frame rate; if the application is not associated with a configured frame rate, the maximum frame rate in the candidate frame rate set is determined as the target frame rate, wherein the configured frame rate is a candidate frame rate in the candidate frame rate set; If the application type is a social type, the maximum frame rate in the candidate frame rate set is determined as the target frame rate.

7. The method according to claim 3, characterized in that The method further comprises: In response to determining the target frame rate, the screen refresh timing information is triggered to be re-timing, and the step of determining the candidate frame rate set of the terminal according to the temperature of the terminal when the frame rate adjustment mode of the terminal is turned on is returned to execution.

8. A terminal control device, characterized in that: include: a first determining module, configured to determine a candidate frame rate set for the terminal according to a temperature of the terminal when a frame rate adjustment mode of the terminal is enabled; A second determining module is configured to determine a triggering type of the frame refresh event if a frame refresh event is triggered; a third determining module, configured to determine a target frame rate from the candidate frame rate set according to the trigger type; A control module, configured to control the screen of the terminal to refresh and display at the target frame rate; A first acquisition module, configured to acquire screen refresh timing information of the terminal; a first triggering module configured to trigger the second determining module to trigger a frame refresh event if the duration corresponding to the screen refresh timing information does not reach a preset duration, and then determine a trigger type of the frame refresh event; A second acquisition module is configured to acquire a screen backlight value of the terminal when a duration corresponding to the screen refresh timing information reaches a preset duration; A fifth determining module is configured to determine the maximum frame rate in the candidate frame rate set as the target frame rate if the screen backlight value is less than or equal to a backlight threshold.

9. A terminal control device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the terminal control method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the terminal control method according to any one of claims 1 to 7 is implemented.

11. A chip, characterized in that: It comprises a processor and an interface; the processor is used to read instructions to execute the terminal control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Refresh rate adjusting method and device

    CN106250085A

  • Touch display screen adjusting method and device, terminal and storage medium

    CN111240517A

  • Screen refreshing control method, mobile terminal and computer readable storage medium

    CN112667340A