CN112587920A - Device control method, device, electronic device and storage medium - Google Patents

Device control method, device, electronic device and storage medium Download PDF

Info

Publication number
CN112587920A
CN112587920A CN202011398849.0A CN202011398849A CN112587920A CN 112587920 A CN112587920 A CN 112587920A CN 202011398849 A CN202011398849 A CN 202011398849A CN 112587920 A CN112587920 A CN 112587920A
Authority
CN
China
Prior art keywords
frame rate
temperature
game
displayed
display frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011398849.0A
Other languages
Chinese (zh)
Inventor
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202011398849.0A priority Critical patent/CN112587920A/en
Publication of CN112587920A publication Critical patent/CN112587920A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters

Abstract

The application discloses a device control method, a device, an electronic device and a storage medium, wherein the device control method is applied to the electronic device and comprises the following steps: acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the current running game; inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model to obtain a predicted equipment temperature after a specified time length output by the temperature prediction model; determining a frame rate to be displayed based on the predicted device temperature; and adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed. The method can predict the temperature of the electronic equipment during game running, control the display frame rate according to the temperature, and realize the temperature control of the electronic equipment.

Description

Device control method, device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of electronic device technologies, and in particular, to a device control method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of the technology level and the living standard, more and more people start playing games by using electronic equipment such as computers or mobile phones to spare leisure time. The configuration level of the electronic equipment is higher and higher, the performance level of the game is better and better, but the heating problem of the electronic equipment is also followed.
Disclosure of Invention
In view of the foregoing, the present application provides a device control method, apparatus, electronic device, and storage medium.
In a first aspect, an embodiment of the present application provides an apparatus control method, which is applied to an electronic apparatus, and the method includes: acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the current running game; inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model to obtain a predicted equipment temperature after a specified time length output by the temperature prediction model; determining a frame rate to be displayed based on the predicted device temperature; and adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed.
In a second aspect, an embodiment of the present application provides an apparatus control device, which is applied to an electronic device, and the apparatus includes: the device comprises a temperature acquisition module, a temperature prediction module, a frame rate determination module and a frame rate adjustment module, wherein the temperature acquisition module is used for acquiring the current device temperature when the electronic device runs a game and the running time of the game; the temperature prediction module is used for inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model to obtain a predicted equipment temperature after a specified time length output by the temperature prediction model; the frame rate determining module is used for determining a frame rate to be displayed based on the predicted equipment temperature; the frame rate adjusting module is used for adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the device control method provided by the first aspect above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be called by a processor to execute the apparatus control method provided in the first aspect.
According to the scheme, the current equipment temperature and the running time length of the game are input into the pre-trained temperature prediction model by obtaining the current equipment temperature when the electronic equipment runs the game and the running time length of the game, the predicted equipment temperature of the specified time length output by the temperature prediction model is obtained, the frame rate to be displayed is determined based on the predicted equipment temperature, and the display frame rate of the electronic equipment is adjusted based on the frame rate to be displayed, so that the predicted future temperature can be adjusted in advance according to the predicted future temperature when the electronic equipment runs the game, and the problem that the electronic equipment generates heat seriously is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a flow chart of a device control method according to an embodiment of the present application.
Fig. 2 shows a flow chart of a device control method according to another embodiment of the present application.
Fig. 3 shows a flow chart of a device control method according to yet another embodiment of the present application.
Fig. 4 shows a schematic diagram of a temperature conversion model provided in another embodiment of the present application.
FIG. 5 illustrates another schematic diagram of a temperature transition model provided in accordance with yet another embodiment of the present application.
Fig. 6 shows a flow chart of a device control method according to yet another embodiment of the present application.
Fig. 7 shows a schematic diagram of a principle of a device control method provided by an embodiment of the present application.
FIG. 8 shows a block diagram of a device control apparatus according to an embodiment of the present application.
Fig. 9 is a block diagram of an electronic device according to an embodiment of the present application for executing a device control method according to an embodiment of the present application.
Fig. 10 is a storage unit according to an embodiment of the present application, configured to store or carry program code for implementing a device control method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
With the rapid development of the technology level and the living standard, more and more people start playing games by using electronic equipment such as computers or mobile phones to spare leisure time. The configuration level of the electronic equipment is higher and higher, the performance level of the game is better and better, but the heat of the electronic equipment is serious when the game is run.
Generally, when an electronic device runs a high-load game, a processor continuously running at a high frequency is likely to be burnt out due to poor heat dissipation caused by overhigh temperature, so manufacturers generally adopt to reduce the frequency to reduce the temperature and simultaneously reduce the damage to the skin of a human body caused by overhigh temperature. In such a mode, the down-conversion can effectively reduce the temperature of the terminal and prolong the endurance of the terminal, but the down-conversion causes large frame drop and serious frame rate jitter in the game.
In view of the above problems, the inventor proposes a device control method, an apparatus, an electronic device, and a storage medium according to embodiments of the present application, which can predict a temperature of a device after a specified time period when the device runs a game, and then perform a pairing operation according to the temperature. The specific device control method is described in detail in the following embodiments.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an apparatus control method according to an embodiment of the present application. In a specific embodiment, the device control method is applied to the device control apparatus 400 shown in fig. 8 and the electronic device 100 (fig. 9) configured with the device control apparatus 400. The following will describe a specific process of this embodiment by taking an electronic device as an example, and it is understood that the electronic device applied in this embodiment may be a smart phone, a tablet computer, a smart watch, smart glasses, a notebook computer, and the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 1, the apparatus control method may specifically include the following steps:
step S110: and acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the current running game.
In the embodiment of the application, when the electronic device runs a game, the current device temperature and the running time of the game can be acquired periodically or aperiodically, so that the device temperature after the specified time is predicted based on the current device temperature and the running time. The current equipment temperature is the equipment temperature obtained at the moment when the electronic equipment obtains the equipment temperature each time; the running time of the current running game is the running time in the running process of the current game when the temperature of the equipment is obtained every time.
In some embodiments, the electronic device may periodically obtain the current device temperature and the current operation time according to a preset time interval to predict the device temperature after a specified time, that is, the electronic device may execute steps S110 to S140 at every preset time interval, so that the future temperature may be continuously predicted during the game operation process, and the display frame rate may be adjusted to ensure that the temperature of the electronic device is not too high. The specific value of the specified time period may not be limited, and may be, for example, 1 second, 2 seconds, 4 seconds, 1 minute, etc., and may be selected according to actual requirements. The specific value of the time interval may not be limited, and the time interval may be smaller than the specified time, or may be greater than or equal to the specified time, for example, the current device temperature and the current operating time may be obtained every 5 seconds.
In some embodiments, a plurality of temperature sensors may be disposed in the electronic device, wherein the temperature sensors may be disposed at different positions in the electronic device, for example, the temperature sensors may include a temperature sensor in a Central Processing Unit (CPU) and a temperature sensor in a Graphics Processing Unit (GPU), and may also include a temperature sensor disposed near a battery, a temperature sensor disposed near a speaker, and the like, and the number and the disposed positions of the temperature sensors may not be limited. The electronic equipment can acquire the temperature through the plurality of temperature sensors, and then the current temperature of the electronic equipment is determined according to the temperature data acquired by the plurality of temperature sensors. As one mode, the electronic device may average temperature data collected by a plurality of temperature sensors, and use the average as the current device temperature; as another way, the electronic device may obtain a maximum value of the temperature data collected by the plurality of temperature sensors, and use the maximum value as the current device temperature. Of course, the specific implementation of the electronic device to obtain the current device temperature may not be limited.
Step S120: and inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model, and obtaining the predicted equipment temperature after the specified time length output by the temperature prediction model.
In the embodiment of the application, after the electronic device obtains the current device temperature and the operation duration, the current device temperature and the operation duration may be input to a pre-trained temperature prediction model, so as to obtain a predicted device temperature output by the temperature prediction model, where the predicted device temperature is a predicted device temperature after a specified duration at the current time.
The event prediction model is trained in advance, so that the event prediction model can output activity events within a preset time period according to the preset time period needing to be predicted, and the activity events output by the event prediction model are predicted activity events of the target user within the preset time period after the current moment. It is understood that the target user may refer to a corresponding user of the wearable device, the wearable device may generally monitor, in real time, activity events performed by the target user, such as running, riding, sleeping, and the like, and the target user generally has a certain regularity when wearing the wearable device to perform these events in daily life, so that the activity events that the target user may perform in a future preset time period may be predicted through the above trained event prediction model.
In some embodiments, the temperature prediction model may be stored locally electronically, and the electronic device may read the temperature prediction model directly from locally; the temperature prediction model can also be stored in the server, and when the electronic equipment needs to predict the temperature after the specified time at the current moment, the electronic equipment can send a request to the server so as to call the temperature prediction model.
In the embodiment of the application, the temperature prediction model can be obtained by training a large number of training samples. The training sample can be determined according to the historical device temperature of different running times in the process of running the game by the electronic device history recorded by the electronic device. It can be understood that the device temperature at a certain time and the corresponding operation time period can be used as input data, the device temperature after the specified time period at the certain time can be determined according to the records of the electronic device, and the device temperature after the specified time period at the certain time can be used as output data to form a sample pair, wherein the output data is a label corresponding to the input data. The heating caused by the electronic equipment is stable when a certain game is operated, the temperature change process of the electronic equipment in the process of operating the certain game every time is generally the same, and the electronic equipment cannot change greatly when operating the certain game every time.
In some embodiments, the initial model may include a neural network, a Long Short-Term Memory (LSTM) network, a threshold cycle unit, a simple cycle unit, an auto-encoder, a decision tree, a random forest, a classification regression tree, a support vector machine, a logistic regression model, and the like. Of course, the specific initial model may not be limiting.
The training of the initial model based on the training data set is described below using a neural network as an example.
The device temperature x1 and the operation time length x2 in a group of data in the training data set are used as input samples of the neural network, and the device temperature y after the specified time length marked in the group of data is used as an output sample of the neural network. The neurons in the input layer are fully connected with the neurons in the hidden layer, and the neurons in the hidden layer are fully connected with the neurons in the output layer, so that potential features with different granularities can be effectively extracted. And the number of the hidden layers can be multiple, so that the nonlinear relation can be better fitted, and the trained temperature prediction model is more accurate.
It is understood that the training process for the temperature prediction model may or may not be performed by the electronic device. When the training process is not completed by the electronic device, the electronic device may be only used as a direct user or may be an indirect user, that is, the electronic device may send a preset time period after the current time to a server storing a temperature prediction model, and obtain the predicted device temperature from the server.
In addition, when the training process of the temperature prediction model is completed by the server, the electronic device may report the data recorded by the game in the historical operation to the server, and then the server performs the processes of data processing, generation of a training data set and model training.
In some embodiments, the trained temperature prediction model may be stored locally in the electronic device, or the trained temperature prediction model may be stored in a server in communication connection with the electronic device, so that the storage space occupied by the electronic device may be reduced, and the operating efficiency of the electronic device may be improved.
In some embodiments, the temperature prediction model may be trained according to new training data with a preset update frequency; or acquiring new training data in an irregular period, training the temperature prediction model, and updating the temperature prediction model. The preset updating frequency can be one week, two weeks and the like, and the specific numerical value of the preset updating frequency can be not limited; the new training data may be training data that is newly generated by the electronic device and is not used for training the temperature prediction model, and the training data includes device temperatures at different runtime durations, and device temperatures after a specified duration recorded while the game is being executed. Through continuous training of the temperature prediction model, the change rule of the equipment temperature of the electronic equipment when the game is run can be accurately learned, and the temperature prediction model can also timely learn a new change rule, so that the accuracy of the temperature prediction model is improved.
Step S130: and determining the frame rate to be displayed based on the predicted equipment temperature.
In the embodiment of the application, after the electronic device obtains the predicted device temperature after the specified duration, the frame rate to be displayed can be determined according to the predicted future predicted device temperature, so that the display frame rate can be adjusted in advance, and the temperature of the electronic device is ensured not to be too high. The display frame rate refers to a frame rate at which the electronic device actually displays the game screen, that is, the number of game screen contents displayed by the electronic device per second, for example, when the display frame rate is 60 frames/second, the frame rate of game screen contents displayed per second is 60 frames. It can be understood that the processing amount of the electronic device when displaying the game screen is positively correlated with the display frame rate, and the higher the display frame rate is, the larger the processing amount of the electronic device when displaying the game screen is, and the lower the display frame rate is, the smaller the processing amount of the electronic device when displaying the game screen is.
In some embodiments, the electronic device may obtain, as the frame rate to be displayed, a display frame rate corresponding to the predicted device temperature according to a preset correspondence between the device temperature and the display frame rate. The corresponding relation can be obtained in advance according to a large number of experiments, and under the corresponding relation, the electronic equipment displays at the display frame rate corresponding to each temperature, so that the display effect of the game picture can be ensured, and meanwhile, the temperature cannot be too high in the subsequent time. For example, when the predicted device temperature is low (for example, less than the set threshold), the corresponding display frame rate is high in the corresponding relationship, so that the electronic device can ensure the display effect of the game, and the game screen is displayed at the display frame rate, which does not result in high device temperature; for another example, when the predicted device temperature is high (for example, greater than the set threshold), the corresponding display frame rate is low in the correspondence relationship, so that the electronic device reduces the processing amount in displaying the game screen, and the subsequent device temperature is not too high. Of course, the above description is merely exemplary, and does not represent a limitation on the actual above correspondence.
Step S140: and adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed.
In this embodiment of the application, after the electronic device determines the frame rate to be displayed, the display frame rate of the electronic device may be adjusted based on the frame rate to be displayed. As a manner, the electronic device may adjust the current display frame rate to the frame rate to be displayed when the current display frame rate is different from the frame rate to be displayed, and may keep the current display frame rate unchanged when the current display frame rate is different from the frame rate to be displayed; as another mode, when the current display frame rate is different from the frame rate to be displayed, the electronic device may determine a difference between the current display frame rate and the frame rate to be displayed, adjust the current display frame rate to the frame rate to be displayed if the difference is greater than a preset difference, and keep the current display frame rate unchanged if the difference is less than or equal to the preset difference, where the preset difference may be 1 frame/second, 2 frames/second, and the like, which is not limited herein.
According to the equipment control method provided by the embodiment of the application, the current equipment temperature and the running time length of the electronic equipment during running of a game are obtained, the current equipment temperature and the running time length are input into the pre-trained temperature prediction model, the predicted equipment temperature of the specified time length output by the temperature prediction model is obtained, the frame rate to be displayed is determined based on the predicted equipment temperature, and the display frame rate of the electronic equipment is adjusted based on the frame rate to be displayed, so that the predicted future temperature during running of the game according to the electronic equipment can be realized, the display frame rate is adjusted in advance according to the predicted future temperature, the problem of serious heating of the electronic equipment is avoided, and meanwhile, the display effect of a game picture can be ensured.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating an apparatus control method according to another embodiment of the present application. The device control method is applied to the electronic device, and will be described in detail with respect to the flow shown in fig. 2, and the device control method may specifically include the following steps:
step S210: and acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the current running game.
Step S220: and inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model, and obtaining the predicted equipment temperature after the specified time length output by the temperature prediction model.
In the embodiment of the present application, step S210 and step S220 may refer to the contents of the foregoing embodiments, and are not described herein again.
Step S230: and acquiring the current processor temperature of the electronic equipment.
In this embodiment of the application, when the electronic device determines the frame rate to be displayed according to the predicted device temperature obtained through prediction, the current processor temperature of the processor of the electronic device may also be obtained, so as to determine the frame rate to be displayed by referring to the predicted device temperature of the electronic device after the specified duration and the current processing temperature. The processor is usually provided with a temperature sensor therein, and the processor can read the temperature collected by the temperature sensor therein.
In some embodiments, a processor may include both a CPU and a GPU. After the CPU temperature and the GPU temperature are obtained, the processor temperature may be determined according to the CPU temperature and the GPU temperature. The weight corresponding to the CPU temperature and the weight corresponding to the GPU temperature may be obtained, the obtained CPU temperature and the GPU temperature are subjected to weighted summation, and the obtained result is taken as the processor temperature. For example, if the weight corresponding to the CPU temperature is Δ 1, and the weight dimension corresponding to the GPU temperature is Δ 2, the processor temperature is CPU temperature Δ 1+ GPU temperature Δ 2.
In this embodiment, the weight corresponding to the CPU temperature and the weight corresponding to the GPU temperature may be less than 1. The weight corresponding to the CPU temperature and the weight corresponding to the GPU temperature may be determined according to the type of the current game, specifically, if the current game is a game type that consumes CPU resources more than GPU resources, the weight corresponding to the CPU temperature may be greater than the weight corresponding to the GPU temperature, for example, may be 0.6 and 0.4, respectively; if the CPU resource is less than the game type consuming the GPU resource, the weight corresponding to the CPU temperature may be less than the weight corresponding to the GPU temperature, for example, may be 0.4 and 0.6, respectively; if the CPU resource is equal to the game type consuming the GPU resource, the weight corresponding to the CPU temperature may be equal to the weight corresponding to the GPU temperature, for example, may be 0.5 and 0.5, respectively. It can be understood that the processor temperature is determined with reference to the type of the running game, so that the reference standard used for determining the frame rate to be displayed can be determined more accurately, and the subsequently determined frame rate to be displayed is more accurate.
It should be noted that, in the embodiment of the present application, the execution sequence between step S220 and step S230 may not be limited, step S220 may precede step S230, step S230 may precede step S220, and step S220 and step S230 may also be executed simultaneously.
Step S240: and determining a frame rate to be displayed based on the predicted device temperature and the processor temperature.
In this embodiment of the application, after the electronic device obtains the predicted device temperature after the predicted specified duration and the current processor temperature, the frame rate to be displayed may be determined based on the predicted device temperature and the processor temperature.
In some embodiments, the electronic device may obtain a difference value between the predicted device temperature and the processor temperature, and if the difference value is greater than the set threshold, it indicates that the predicted temperature after the specified time period of the electronic device is greatly different from the current processor temperature, that is, the device temperature is expected to change greatly after the specified time period, in this case, the electronic device may determine the frame rate to be displayed based on the predicted device temperature, for example, obtain the display frame rate corresponding to the predicted device temperature according to the correspondence relationship in the foregoing embodiments; if the difference is not greater than the set threshold, it indicates that the predicted temperature after the specified duration of the electronic device is smaller than the temperature difference of the current processor, that is, the device temperature is expected to change less after the specified duration, in this case, the electronic device may determine the frame rate to be displayed based on the processor temperature, for example, if the current processor temperature is higher (greater than the first preset temperature, for example, greater than 45 ℃), the display frame rate may be decreased, and if the current processor temperature is lower (less than the second preset temperature, for example, the first preset temperature is greater than the second preset temperature, for example, less than 25 ℃), the display frame rate may be increased. The set threshold may be 1 ℃ or 2 ℃, and is not limited herein.
In other embodiments, the electronic device may also compare the predicted device temperature with the processor temperature, and if the predicted device temperature is greater than the processor temperature, it indicates that the temperature of the subsequent electronic device will decrease, so that a frame rate greater than the current display frame rate may be determined as the frame rate to be displayed, so as to increase the display frame rate; if the predicted device temperature is lower than the processor temperature, the temperature of the subsequent electronic device is increased, so that a frame rate lower than the current display frame rate can be determined as the frame rate to be displayed, and the display frame rate is reduced; if the predicted device temperature is equal to the processor temperature, it may be determined whether the predicted device temperature is too high based on the actual processor temperature, so as to determine whether the display frame rate needs to be adjusted, and further determine the frame rate to be displayed, for example, if the processor temperature is greater than a first preset temperature, for example, greater than 45 ℃, the display frame rate may be decreased, and if the current processor temperature is less than a second preset temperature, for example, the first preset temperature is greater than the second preset temperature, for example, less than 25 ℃, the display frame rate may be increased.
Step S250: and adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed.
According to the device control method provided by the embodiment of the application, the current device temperature and the running time length of the electronic device when the game runs are obtained, the current device temperature and the running time length are input into the pre-trained temperature prediction model, the predicted device temperature of the specified time length output by the temperature prediction model is obtained, the current processor temperature of the processor of the electronic device is obtained, the frame rate to be displayed is jointly determined based on the current processor temperature and the predicted device temperature, the determined frame rate to be displayed is more accurate, the frame rate to be displayed can be adjusted in advance after the display frame rate of the electronic device is adjusted based on the frame rate to be displayed, the problem that the electronic device generates heat seriously is avoided, and meanwhile the display effect of a game picture can be guaranteed.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating a device control method according to another embodiment of the present application. The device control method is applied to the electronic device, and will be described in detail with respect to the flow shown in fig. 3, and the device control method may specifically include the following steps:
step S310: and acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the current running game.
Step S320: and inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model, and obtaining the predicted equipment temperature after the specified time length output by the temperature prediction model.
Step S330: and acquiring the current processor temperature of the electronic equipment.
In the embodiment of the present application, steps S310 to S330 may refer to the contents of the foregoing embodiments, and are not described herein again.
Step S340: and acquiring a first display frame rate corresponding to the temperature of the processor based on a set temperature conversion model.
In this embodiment, after acquiring the current processor temperature, the electronic device may acquire a first display frame rate corresponding to the processor temperature based on the set temperature conversion model, that is, determine, based on the current processor temperature, a display frame rate required by the electronic device at the current processor temperature.
In some embodiments, the temperature transition model may be pre-established and stored on the electronic device. The temperature conversion model may include a correspondence between the processor temperature and the display frame rate, and the correspondence may include the frame rate corresponding to each processor temperature value. The corresponding relation can be obtained in advance according to a large number of experiments, and under the corresponding relation, the electronic equipment displays at the display frame rate corresponding to the temperature of each processor, so that the display effect of the game picture can be ensured, and meanwhile, the temperature cannot be too high in the subsequent time. For example, if the current processor temperature is low (for example, less than the set threshold), the corresponding display frame rate is high in the correspondence relationship, so that the electronic device can ensure the display effect of the game, and the game screen is displayed at the display frame rate, which does not result in high device temperature; for another example, if the current processor temperature is high (for example, greater than the set threshold), the corresponding display frame rate is low in the correspondence relationship, so that the electronic device reduces the processing amount when displaying the game screen, and the subsequent device temperature is not too high. Of course, the above description is merely exemplary, and does not represent a limitation on the actual above correspondence.
As one mode, in the temperature conversion model, if the processor temperature is less than the first temperature value, the corresponding display frame rate is the highest frame rate; if the processor temperature is greater than or equal to the first temperature value and less than the second temperature value, displaying that the frame rate is in negative correlation with the processor temperature; and if the temperature of the processor is greater than or equal to the second temperature value, the corresponding display frame rate is the lowest frame rate. The maximum frame rate is the maximum frame rate corresponding to the game, and the minimum frame rate is the minimum frame rate corresponding to the game.
It can be understood that if the current processor temperature is less than the first temperature value, it indicates that the processor temperature is low, and therefore, the processor temperature can be displayed at the highest frame rate; if the current processor temperature is greater than or equal to the first temperature value and less than the second temperature value, it indicates that the processor temperature is relatively high, and therefore the processor temperature cannot be displayed at the highest frame rate, and the display frame rate is in negative correlation with the processor temperature, when the process of the device control method provided by the embodiment of the present application is executed each time, if the processor temperature continues to increase relative to the last time, the display frame rate is decreased relative to the last time, and due to the decrease of the display frame rate, the processing amount of the electronic device is decreased, the heat generation amount is also decreased, and thus the temperature of the electronic device is decreased; if the current processor temperature is higher than the second temperature value, it indicates that the processor temperature is very high and the display frame rate has been reduced to a certain extent, and if the display frame rate is reduced, the running of the game cannot be guaranteed, so that the current processor temperature is the lowest frame rate corresponding to the game.
In some modes, different games require different frame rates of game pictures, and the temperature conversion model needs to refer to the frame rate required by the game. Therefore, the temperature conversion model may be determined according to the highest frame rate corresponding to the game. For example, referring to fig. 4, fig. 4 is a schematic diagram illustrating a temperature conversion model corresponding to a maximum frame rate of 60 frames, in which the maximum display frame rate is 60 frames and the minimum display frame rate is 40 frames; for another example, referring to fig. 5, fig. 5 is a schematic diagram illustrating a temperature conversion model corresponding to a maximum frame rate of 60 frames, in which the maximum display frame rate is 90 frames and the minimum display frame rate is 60 frames.
Of course, the above temperature conversion model is only an example, and the temperature conversion model may also be a neural network model obtained by training, and is not limited herein.
Step S350: and comparing the predicted equipment temperature with the processor temperature to obtain a comparison result.
In this embodiment, the electronic device may compare the predicted device temperature with the processor temperature, and if the predicted device temperature is greater than the processor temperature, it indicates that the temperature of the subsequent electronic device will decrease; if the predicted device temperature is less than the processor temperature, it indicates that the temperature of the subsequent electronic device will rise; if the predicted device temperature is equal to the processor temperature, it indicates that the temperature of the subsequent electronic device will not change.
Step S360: and adjusting the first display frame rate based on the comparison result to obtain a second display frame rate as the frame rate to be displayed.
In the embodiment of the present application, since a change in the device temperature of the electronic device with respect to the processor temperature can be predicted, the change can also be referred to when determining the frame rate to be displayed. Therefore, the electronic device may adjust the first display frame rate based on the comparison result to obtain the second display frame rate as the frame rate to be displayed.
In some embodiments, the electronic device, based on the comparison result, adjusting the first display frame rate to obtain a second display frame rate, may include:
if the predicted equipment temperature is lower than the processor temperature, the first display frame rate is increased, and a second display frame rate is obtained; and if the predicted equipment temperature is higher than the processor temperature, reducing the first display frame rate to obtain a second display frame rate.
It can be understood that, if the predicted device temperature is greater than the processor temperature, it indicates that the temperature of the subsequent electronic device will decrease, and therefore, the first display frame rate can be increased, so that the display effect of the game picture is better; if the predicted device temperature is lower than the processor temperature, the temperature of the subsequent electronic device is increased, so that the acquired first display frame rate can be reduced to further solve the heating problem; if the predicted device temperature is lower than the processor temperature, it indicates that the temperature of the subsequent electronic device will not change, and at this time, the acquired first display frame rate may be used as the frame rate to be displayed.
In this embodiment, when the predicted device temperature is lower than the processor temperature, the electronic device may increase the first display frame rate to obtain the second display frame rate, and the method may include: obtaining a product of the first display frame rate and a first coefficient to obtain a first target frame rate, wherein the first coefficient is greater than 1; if the first target frame rate is smaller than the maximum frame rate corresponding to the game, taking the first target frame rate as a second display frame rate; and if the first target frame rate is greater than or equal to the maximum frame rate corresponding to the game, taking the maximum frame rate as a second display frame rate.
As can be understood, after the electronic device obtains the product of the first display frame rate and the first coefficient according to the preset first coefficient, the first display frame rate is improved because the first coefficient is greater than 1; then, the first target frame rate is compared with the highest frame rate corresponding to the game, when the first target frame rate is smaller than the maximum frame rate corresponding to the game, the first target frame rate is used as the second display frame rate, and when the first target frame rate is larger than or equal to the maximum frame rate corresponding to the game, the maximum frame rate is used as the second display frame rate, so that the first display frame rate is improved, the determined frame rate to be displayed is prevented from exceeding the highest frame rate corresponding to the game, and resource waste is avoided.
In this embodiment, the electronic device, when the predicted device temperature is greater than the processor temperature, decreasing the first display frame rate to obtain the second display frame rate, may include: obtaining a product of the first display frame rate and a second coefficient to obtain a second target frame rate, wherein the second coefficient is less than 1; if the second target frame rate is larger than the minimum frame rate corresponding to the game, taking the second target frame rate as a second display frame rate; and if the second target frame rate is less than or equal to the minimum frame rate corresponding to the game, taking the minimum frame rate as a second display frame rate.
As can be understood, after the electronic device obtains the product of the first display frame rate and the first coefficient according to the preset second coefficient, the first coefficient is smaller than 1, so that the first display frame rate is reduced; then, the second target frame rate is compared with the highest frame rate corresponding to the game, when the second target frame rate is greater than the minimum frame rate corresponding to the game, the second target frame rate is used as the second display frame rate, and when the second target frame rate is less than or equal to the minimum frame rate corresponding to the game, the minimum frame rate is used as the second display frame rate, so that the first display frame rate is reduced, the determined frame rate to be displayed is prevented from being lower than the minimum frame rate corresponding to the game, and the problem during the running of the game is avoided.
Step S370: and adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed.
According to the device control method provided by the embodiment of the application, the current device temperature and the running time length of the electronic device during the running of the game are obtained, the current device temperature and the running time length are input into the pre-trained temperature prediction model, the predicted device temperature of the specified time length output by the temperature prediction model is obtained, the current processor temperature of the processor of the electronic device is obtained, the initial display frame rate is determined based on the current processor temperature, the display frame rate is adjusted according to the comparison result of the predicted device temperature and the processor temperature, the final frame rate to be displayed is obtained, the frame rate to be displayed is determined by referring to the predicted future temperature and the current processor temperature, and the accuracy of the determined frame rate to be displayed is high. After the display frame rate of the electronic equipment is adjusted based on the frame rate to be displayed, the display frame rate can be adjusted in advance, so that the problem of serious heating of the electronic equipment is avoided, and meanwhile, the display effect of game pictures can be ensured.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating an apparatus control method according to still another embodiment of the present application. The device control method is applied to the electronic device, and will be described in detail with respect to the flow shown in fig. 6, and the device control method may specifically include the following steps:
step S410: and acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the current running game.
Step S420: and inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model, and obtaining the predicted equipment temperature after the specified time length output by the temperature prediction model.
Step S430: and determining the frame rate to be displayed based on the predicted equipment temperature.
In the embodiment of the present application, steps S410 to S430 may refer to the contents of the foregoing embodiments, and are not described herein again.
Step S440: and acquiring a frame rate statistical record when the electronic equipment runs the game.
In the embodiment of the application, after the frame rate to be displayed is determined, the electronic device may further correct the determined frame rate to be displayed by referring to the frame rate performance of the electronic device during game operation, so that the determined frame rate to be displayed may correspond to the actual performance of the electronic device, and the final adjustment effect of the frame rate to be displayed is improved. The electronic device can obtain the frame rate statistical record when the electronic device runs the game. The frame rate statistical record may be the frame rates of all the game pictures presented in the process of running the game, the frame rates of all the game pictures presented in the process of running the game in the past, or the frame rates of all the game pictures recorded in the preset duration recorded in the process of running the game.
Step S450: and correcting the frame rate to be displayed based on the frame rate statistical record.
In this embodiment of the application, after the electronic device obtains the frame rate statistics record, the frame rate to be displayed may be corrected.
As one mode, the electronic device corrects the frame rate to be displayed based on the frame rate statistic record, and the correcting may include: acquiring a frame rate median value within a preset duration based on the frame rate statistical record; and carrying out weighted summation on the frame rate median and the frame rate to be displayed based on the weights corresponding to the frame rate median and the frame rate to be displayed respectively, and obtaining the corrected frame rate to be displayed. In this manner, the weight corresponding to the frame rate median and the weight corresponding to the frame rate to be displayed may be preset, and specific numerical values may not be limited, for example, the weight corresponding to the frame rate median is 0.5, and the weight corresponding to the frame rate to be displayed is 0.5; the finally corrected frame rate to be displayed is as follows: the frame rate median value Δ 3+ the frame rate to be displayed Δ 4, where Δ 3 is a weight corresponding to the frame rate median value, and Δ 4 is a weight corresponding to the frame rate to be displayed.
Step S460: and adjusting the display frame rate of the electronic equipment based on the corrected frame rate to be displayed.
According to the device control method provided by the embodiment of the application, after the frame rate to be displayed is determined according to the current processor temperature and the predicted device temperature after the predicted specified duration, the frame rate performance of the electronic device during game operation is referred to, and the determined frame rate to be displayed is corrected, so that the determined frame rate to be displayed can correspond to the actual performance of the electronic device, and the final adjustment effect of the display frame rate is improved.
In some embodiments, the above embodiments may also be combined, please refer to fig. 7, and fig. 7 is a schematic diagram illustrating a principle of the apparatus control method according to the embodiment of the present application. The electronic equipment can determine the current equipment temperature according to the temperature data acquired by the sensor, and predict the predicted equipment temperature after a specified time length through the temperature prediction module based on the current equipment temperature and the current running time length; in addition, the temperature of the processor can be determined according to the temperature of the CPU and the temperature of the GPU; the frame rate calculation module determines a frame rate to be displayed according to the temperature of the processor and the temperature of the prediction equipment; then, the frame rate correction module can correct the frame rate to be displayed according to the frame rate information counted by the frame rate counting module in operation; and finally, the display module adjusts the current display frame rate according to the corrected frame rate to be displayed. Therefore, the display frame rate can be adjusted according to the predicted device temperature, the current processor temperature and the frame rate expressed in the game running process of the electronic device, the overhigh temperature of the electronic device is avoided, and the display effect of the game picture is ensured.
Referring to fig. 8, a block diagram of a device control apparatus 400 according to an embodiment of the present disclosure is shown. The device control apparatus 400 applies the above-described electronic device, and the device control apparatus 400 includes: a temperature acquisition module 410, a temperature prediction module 420, a frame rate determination module 430, and a frame rate adjustment module 440. The temperature obtaining module 410 is configured to obtain a current device temperature when the electronic device runs a game, and a running duration of the game; the temperature prediction module 420 is configured to input the current device temperature and the operating duration into a pre-trained temperature prediction model, and obtain a predicted device temperature after a specified duration output by the temperature prediction model; the frame rate determining module 430 is configured to determine a frame rate to be displayed based on the predicted device temperature; the frame rate adjusting module 440 is configured to adjust a display frame rate of the electronic device based on the frame rate to be displayed.
In some embodiments, the device control apparatus 400 may further include: and the processor temperature acquisition module. The processor temperature acquisition module is used for acquiring the current processor temperature of the electronic equipment; the frame rate determining module 430 may be specifically configured to: and determining a frame rate to be displayed based on the predicted device temperature and the processor temperature.
In this embodiment, the frame rate determining module 430 may include: the device comprises a first frame rate acquisition unit, a temperature comparison unit and a second frame rate acquisition unit. The first frame rate obtaining unit is used for obtaining a first display frame rate corresponding to the temperature of the processor based on a set temperature conversion model; the temperature comparison unit is used for comparing the predicted equipment temperature with the processor temperature to obtain a comparison result; the second frame rate obtaining unit is configured to adjust the first display frame rate based on the comparison result, and obtain a second display frame rate as the frame rate to be displayed.
In this manner, the second frame rate obtaining unit may be specifically configured to: if the predicted equipment temperature is lower than the processor temperature, the first display frame rate is increased, and a second display frame rate is obtained; and if the predicted equipment temperature is higher than the processor temperature, reducing the first display frame rate to obtain a second display frame rate.
As one mode, the raising the first display frame rate by the second frame rate obtaining unit may include: obtaining a product of the first display frame rate and a first coefficient to obtain a first target frame rate, wherein the first coefficient is greater than 1; if the first target frame rate is smaller than the maximum frame rate corresponding to the game, taking the first target frame rate as a second display frame rate; and if the first target frame rate is greater than or equal to the maximum frame rate corresponding to the game, taking the maximum frame rate as a second display frame rate.
As one mode, the reducing the first display frame rate by the second frame rate obtaining unit may include: obtaining a product of the first display frame rate and a second coefficient to obtain a second target frame rate, wherein the second coefficient is less than 1; if the second target frame rate is larger than the minimum frame rate corresponding to the game, taking the second target frame rate as a second display frame rate; and if the second target frame rate is less than or equal to the minimum frame rate corresponding to the game, taking the minimum frame rate as a second display frame rate.
In some embodiments, the device control apparatus 400 may further include a frame rate statistics module and a frame rate correction module. The frame rate counting module is used for acquiring a frame rate counting record when the electronic equipment runs the game before the display frame rate of the electronic equipment is adjusted based on the frame rate to be displayed; and the frame rate correction module is used for correcting the frame rate to be displayed based on the frame rate statistical record. The frame rate adjustment module 440 may be specifically configured to: and adjusting the display frame rate of the electronic equipment based on the corrected frame rate to be displayed.
In this embodiment, the frame rate correction module may be specifically configured to: acquiring a frame rate median value within a preset duration based on the frame rate statistical record; and carrying out weighted summation on the frame rate median and the frame rate to be displayed based on the weights corresponding to the frame rate median and the frame rate to be displayed respectively, and obtaining the corrected frame rate to be displayed.
In some embodiments, the device control apparatus 400 may further include a sample acquisition module and a model training module. The sample acquisition module is used for acquiring the historical equipment temperature when the electronic equipment runs for different time periods in the historical game running process; and the model training module is used for training an initial model based on the historical equipment temperature and the corresponding running time length of the historical equipment temperature to obtain the temperature prediction model.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
To sum up, according to the scheme provided by the application, the current device temperature and the running time length of the electronic device when the game runs are obtained, the current device temperature and the running time length are input into the pre-trained temperature prediction model, the predicted device temperature of the specified time length output by the temperature prediction model is obtained, the frame rate to be displayed is determined based on the predicted device temperature, and the display frame rate of the electronic device is adjusted based on the frame rate to be displayed, so that the display frame rate can be adjusted in advance according to the predicted future temperature when the game runs on the electronic device, and the problem of serious heating of the electronic device is avoided.
Referring to fig. 9, a block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device 100 may be an electronic device capable of running an application, such as a smart phone, a tablet computer, a smart watch, smart glasses, and a notebook computer. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the electronic device 100 during use (e.g., phone book, audio-video data, chat log data), and the like.
Referring to fig. 10, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. An apparatus control method applied to an electronic apparatus, the method comprising:
acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the current running game;
inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model to obtain a predicted equipment temperature after a specified time length output by the temperature prediction model;
determining a frame rate to be displayed based on the predicted device temperature;
and adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed.
2. The method of claim 1, wherein prior to said determining a frame rate to display based on said predicted device temperature, the method further comprises:
acquiring the current processor temperature of the electronic equipment;
determining a frame rate to be displayed based on the predicted device temperature comprises:
and determining a frame rate to be displayed based on the predicted device temperature and the processor temperature.
3. The method of claim 2, wherein determining a frame rate to display based on the predicted device temperature and the processor temperature comprises:
acquiring a first display frame rate corresponding to the temperature of the processor based on a set temperature conversion model;
comparing the predicted device temperature with the processor temperature to obtain a comparison result;
and adjusting the first display frame rate based on the comparison result to obtain a second display frame rate as the frame rate to be displayed.
4. The method of claim 3, wherein adjusting the first display frame rate to obtain a second display frame rate based on the comparison comprises:
if the predicted equipment temperature is lower than the processor temperature, the first display frame rate is increased, and a second display frame rate is obtained;
and if the predicted equipment temperature is higher than the processor temperature, reducing the first display frame rate to obtain a second display frame rate.
5. The method of claim 4, wherein the increasing the first display frame rate comprises:
obtaining a product of the first display frame rate and a first coefficient to obtain a first target frame rate, wherein the first coefficient is greater than 1;
if the first target frame rate is smaller than the maximum frame rate corresponding to the game, taking the first target frame rate as a second display frame rate;
and if the first target frame rate is greater than or equal to the maximum frame rate corresponding to the game, taking the maximum frame rate as a second display frame rate.
6. The method of claim 4, wherein the reducing the first display frame rate comprises:
obtaining a product of the first display frame rate and a second coefficient to obtain a second target frame rate, wherein the second coefficient is less than 1;
if the second target frame rate is larger than the minimum frame rate corresponding to the game, taking the second target frame rate as a second display frame rate;
and if the second target frame rate is less than or equal to the minimum frame rate corresponding to the game, taking the minimum frame rate as a second display frame rate.
7. The method of claim 1, wherein prior to the adjusting the display frame rate of the electronic device based on the frame rate to be displayed, the method further comprises:
acquiring a frame rate statistical record when the electronic equipment runs the game;
correcting the frame rate to be displayed based on the frame rate statistical record;
adjusting the display frame rate of the electronic device based on the frame rate to be displayed includes:
and adjusting the display frame rate of the electronic equipment based on the corrected frame rate to be displayed.
8. The method of claim 7, wherein the correcting the frame rate to be displayed based on the frame rate statistics record comprises:
acquiring a frame rate median value within a preset duration based on the frame rate statistical record;
and carrying out weighted summation on the frame rate median and the frame rate to be displayed based on the weights corresponding to the frame rate median and the frame rate to be displayed respectively, and obtaining the corrected frame rate to be displayed.
9. The method of any of claims 1-8, wherein prior to said inputting said current plant temperature and said operating time period into a pre-trained temperature prediction model to obtain a predicted plant temperature after a specified time period of said temperature prediction model output, said method further comprises:
acquiring historical equipment temperatures of different running times of the electronic equipment in the process of historically running the game;
and training an initial model based on the historical equipment temperature and the corresponding running time of the historical equipment temperature to obtain the temperature prediction model.
10. An apparatus control device, applied to an electronic apparatus, the apparatus comprising: a temperature obtaining module, a temperature predicting module, a frame rate determining module and a frame rate adjusting module, wherein,
the temperature acquisition module is used for acquiring the current equipment temperature when the electronic equipment runs the game and the running time of the game;
the temperature prediction module is used for inputting the current equipment temperature and the running time length into a pre-trained temperature prediction model to obtain a predicted equipment temperature after a specified time length output by the temperature prediction model;
the frame rate determining module is used for determining a frame rate to be displayed based on the predicted equipment temperature;
the frame rate adjusting module is used for adjusting the display frame rate of the electronic equipment based on the frame rate to be displayed.
11. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-9.
12. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 9.
CN202011398849.0A 2020-12-01 2020-12-01 Device control method, device, electronic device and storage medium Pending CN112587920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011398849.0A CN112587920A (en) 2020-12-01 2020-12-01 Device control method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011398849.0A CN112587920A (en) 2020-12-01 2020-12-01 Device control method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN112587920A true CN112587920A (en) 2021-04-02

Family

ID=75187863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011398849.0A Pending CN112587920A (en) 2020-12-01 2020-12-01 Device control method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112587920A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873074A (en) * 2021-09-17 2021-12-31 杭州逗酷软件科技有限公司 Control method, electronic device and computer storage medium
CN114461051A (en) * 2021-12-29 2022-05-10 荣耀终端有限公司 Frame rate switching method and device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003230660A (en) * 2002-02-06 2003-08-19 Shinnichi Electronics Kk Image-display of slot machine or pachinko-slot machine, image-displaying method and image-displaying program for image-display of slot machine or pachinko-slot machine
CN105388931A (en) * 2014-08-29 2016-03-09 三星电子株式会社 Device for controlling performance of the device based on fluctuations in internal temperature and method thereof
CN106095640A (en) * 2016-05-31 2016-11-09 联想(北京)有限公司 A kind of control method and electronic equipment
CN107132861A (en) * 2016-02-29 2017-09-05 通用汽车环球科技运作有限责任公司 Configurable temperature controlled method and system for controller processor
CN109960395A (en) * 2018-10-15 2019-07-02 华为技术有限公司 Resource regulating method and computer equipment
CN110266886A (en) * 2019-06-21 2019-09-20 Oppo广东移动通信有限公司 Battery management method and Related product
CN110881136A (en) * 2019-11-14 2020-03-13 腾讯科技(深圳)有限公司 Video frame rate control method and device, computer equipment and storage medium
CN111052035A (en) * 2017-08-23 2020-04-21 三星电子株式会社 Electronic device and operation control method thereof
CN111629103A (en) * 2019-02-28 2020-09-04 摩托罗拉移动有限责任公司 Method for managing display brightness of mobile device, mobile device and storage device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003230660A (en) * 2002-02-06 2003-08-19 Shinnichi Electronics Kk Image-display of slot machine or pachinko-slot machine, image-displaying method and image-displaying program for image-display of slot machine or pachinko-slot machine
CN105388931A (en) * 2014-08-29 2016-03-09 三星电子株式会社 Device for controlling performance of the device based on fluctuations in internal temperature and method thereof
CN107132861A (en) * 2016-02-29 2017-09-05 通用汽车环球科技运作有限责任公司 Configurable temperature controlled method and system for controller processor
CN106095640A (en) * 2016-05-31 2016-11-09 联想(北京)有限公司 A kind of control method and electronic equipment
CN111052035A (en) * 2017-08-23 2020-04-21 三星电子株式会社 Electronic device and operation control method thereof
CN109960395A (en) * 2018-10-15 2019-07-02 华为技术有限公司 Resource regulating method and computer equipment
CN111629103A (en) * 2019-02-28 2020-09-04 摩托罗拉移动有限责任公司 Method for managing display brightness of mobile device, mobile device and storage device
CN110266886A (en) * 2019-06-21 2019-09-20 Oppo广东移动通信有限公司 Battery management method and Related product
CN110881136A (en) * 2019-11-14 2020-03-13 腾讯科技(深圳)有限公司 Video frame rate control method and device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873074A (en) * 2021-09-17 2021-12-31 杭州逗酷软件科技有限公司 Control method, electronic device and computer storage medium
CN113873074B (en) * 2021-09-17 2023-09-29 杭州逗酷软件科技有限公司 Control method, electronic equipment and computer storage medium
CN114461051A (en) * 2021-12-29 2022-05-10 荣耀终端有限公司 Frame rate switching method and device and storage medium
CN114461051B (en) * 2021-12-29 2023-01-17 荣耀终端有限公司 Frame rate switching method and device and storage medium

Similar Documents

Publication Publication Date Title
CN109960395B (en) Resource scheduling method and computer equipment
JP7120708B2 (en) System and method for cloud device collaborative real-time user usage and performance anomaly detection
CN111078479B (en) Memory detection model training method, memory detection method and device
CN112631415B (en) CPU frequency adjusting method, device, electronic equipment and storage medium
CN112363842A (en) Frequency adjusting method and device for graphic processor, electronic equipment and storage medium
CN107729216B (en) Application program control method and device, storage medium and electronic equipment
CN112587920A (en) Device control method, device, electronic device and storage medium
CN110995810B (en) Object identification method based on artificial intelligence and related device
CN107943583A (en) Processing method, device, storage medium and the electronic equipment of application program
CN111581174A (en) Resource management method and device based on distributed cluster system
US20230045617A1 (en) Method and electronic device for managing a boost time required for an application launch
CN113050783B (en) Terminal control method and device, mobile terminal and storage medium
CN113055984B (en) Terminal control method and device, mobile terminal and storage medium
CN112672405B (en) Power consumption calculation method, device, storage medium, electronic equipment and server
CN107729144B (en) Application control method and device, storage medium and electronic equipment
CN106648916B (en) Method and device for reporting pedometer message
CN111045507B (en) List management and control method, device, mobile terminal and storage medium
CN109992369A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
US20230088429A1 (en) Processing device, processing method, and program
CN114518797B (en) Information pushing method and device, wearable device and storage medium
CN111814840A (en) Method, system, equipment and medium for evaluating quality of face image
CN113051126A (en) Image construction method, device and equipment and storage medium
CN113256044B (en) Policy determination method and device and electronic equipment
CN113439253B (en) Application cleaning method and device, storage medium and electronic equipment
US20230171340A1 (en) Mobile device and method for providing personalized management system

Legal Events

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