CN113296724A - Display parameter adjusting method and device, electronic equipment and storage medium - Google Patents

Display parameter adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113296724A
CN113296724A CN202110565620.XA CN202110565620A CN113296724A CN 113296724 A CN113296724 A CN 113296724A CN 202110565620 A CN202110565620 A CN 202110565620A CN 113296724 A CN113296724 A CN 113296724A
Authority
CN
China
Prior art keywords
temperature
display parameter
electronic device
electronic equipment
display
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
CN202110565620.XA
Other languages
Chinese (zh)
Inventor
王睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110565620.XA priority Critical patent/CN113296724A/en
Publication of CN113296724A publication Critical patent/CN113296724A/en
Priority to PCT/CN2022/080703 priority patent/WO2022247398A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The application discloses a display parameter adjusting method and device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method comprises the following steps: when the temperature of the electronic equipment changes, a first temperature of the electronic equipment after the temperature changes is obtained, a first display parameter corresponding to the first temperature is obtained, wherein the change amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, the second display parameter corresponds to a second temperature of the electronic equipment before the temperature changes, and the display parameter range of the electronic equipment is adjusted based on the first display parameter. According to the embodiment of the application, the display parameter range of the electronic equipment is dynamically adjusted according to the temperature rise condition in real time, the change range of the temperature is set to be in positive correlation with the temperature rise, and the display effect of the electronic equipment is guaranteed to the maximum extent while the temperature rise is restrained.

Description

Display parameter adjusting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic device technologies, and in particular, to a method and an apparatus for adjusting display parameters, an electronic device, and a storage medium.
Background
With the development of science and technology, electronic equipment is more and more widely used and has more and more functions, and the electronic equipment becomes one of the necessary things in daily life of people. At present, when an electronic device runs an application program and displays an application interface of the application program, the electronic device generates heat, so that the running of the application program and the display of the application interface are influenced.
Disclosure of Invention
In view of the foregoing problems, the present application provides a method and an apparatus for adjusting display parameters, an electronic device, and a storage medium to solve the foregoing problems.
In a first aspect, an embodiment of the present application provides a method for adjusting a display parameter, which is applied to an electronic device, and the method includes: when the temperature of the electronic equipment changes, acquiring a first temperature of the electronic equipment after the temperature changes; acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation; and adjusting the display parameter range of the electronic equipment based on the first display parameter.
In a second aspect, an embodiment of the present application provides an apparatus for adjusting a display parameter, which is applied to an electronic device, and the apparatus includes: the temperature acquisition module is used for acquiring a first temperature of the electronic equipment after the temperature of the electronic equipment changes when the temperature of the electronic equipment changes; the display parameter acquiring module is used for acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation; and the display parameter adjusting module is used for adjusting the display parameter range of the electronic equipment based on the first display parameter.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, the memory being coupled to the processor, the memory storing instructions, and the processor performing the above method when the instructions are executed by the processor.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
According to the method and the device for adjusting the display parameters, the electronic device and the storage medium, when the temperature of the electronic device changes, the temperature of the electronic device after the temperature changes is obtained, the display parameters corresponding to the temperature after the temperature changes are obtained, and the display parameter range of the electronic device is adjusted based on the display parameters, so that the display parameter range of the electronic device is adjusted according to the temperature rise condition dynamically in real time, the change amplitude of the temperature is set to be in positive correlation with the temperature rise, and the display effect of the electronic device is guaranteed to the maximum extent while the temperature rise is restrained.
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 is a schematic flowchart illustrating an adjusting method of a display parameter according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an overall structure of a model synchronization module provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for adjusting display parameters according to another embodiment of the present application;
fig. 4 is a flowchart illustrating an adjusting method of a display parameter according to still another embodiment of the present application;
fig. 5 is a flowchart illustrating a method for adjusting display parameters according to another embodiment of the present application;
fig. 6 is a flowchart illustrating an adjusting method of display parameters according to yet another embodiment of the present application;
fig. 7 is a flowchart illustrating an adjusting method of display parameters according to yet another embodiment of the present application;
FIG. 8 is a schematic diagram of a game interface provided by an embodiment of the present application;
fig. 9 is a flowchart illustrating an adjusting method of display parameters according to yet another embodiment of the present application;
fig. 10 is a flowchart illustrating an adjusting method of display parameters according to yet another embodiment of the present application;
fig. 11 shows a block diagram of an adjusting apparatus for display parameters according to an embodiment of the present application;
fig. 12 is a block diagram of an electronic device for executing an adjustment method of a display parameter according to an embodiment of the present application;
fig. 13 illustrates a storage unit for storing or carrying program codes for implementing an adjustment method of display parameters 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.
When the electronic device runs the application program and displays the application interface of the application program, the electronic device generates heat, so that the running of the application program and the display of the application interface are influenced. For example, electronic devices may generate heat when running games and displaying game interfaces, thereby affecting the running of games and the display of game interfaces. At present, the temperature and the display parameter of the electronic device are generally controlled by adopting a unified temperature control technology, specifically, the unified temperature control technology divides different temperature control levels according to the temperature of the electronic device, and adjusts the display parameter at a specified level. For example, in a game with a maximum frame rate of 90 frames, the frame rate is limited to 80 frames when the temperature control level is 9, and to 60 frames when the temperature control level is 10.
The inventor finds that the technology of unified temperature control is to adjust the display parameters completely based on the temperature, the mode of reducing the display parameters with large amplitude can cause great influence on users, the mode is too rough and simple, the display parameters are simply limited to a certain value, and no effective detection method can be used for effectively limiting the temperature rise of the value. In addition, the scheme has a set of uniform configuration for all the application programs, but the scheme supports independent configuration of different application programs by modifying configuration files, has different configurations for different machine types, and is high in maintenance cost on the whole.
In order to solve the above technical problems, the inventor has found through long-term research and provides a method, an apparatus, an electronic device, and a storage medium for adjusting display parameters, which are provided by the embodiments of the present application, that a display parameter range of the electronic device is dynamically adjusted in real time according to a temperature rise condition, and a change range of a temperature is set to be in positive correlation with the temperature rise, so that a display effect of the electronic device is maximally ensured while the temperature rise is suppressed. The specific adjustment method of the display parameters is described in detail in the following embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for adjusting display parameters according to an embodiment of the present disclosure. The display parameter adjusting method is used for adjusting the display parameter range of the electronic equipment according to the temperature rise condition in a real-time dynamic mode, the change range of the temperature is set to be in positive correlation with the temperature rise, and the display effect of the electronic equipment is guaranteed to the maximum extent while the temperature rise is restrained. In a specific embodiment, the method for adjusting the display parameter is applied to the apparatus 200 for adjusting the display parameter shown in fig. 11 and the electronic device 100 (fig. 12) equipped with the apparatus 200 for adjusting the display parameter. The specific process of the present embodiment will be described below by taking an electronic device as an example, and it is understood that the electronic device applied in the present embodiment may include a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 1, the method for adjusting the display parameter may specifically include the following steps:
step S110: when the temperature of the electronic equipment changes, a first temperature of the electronic equipment after the temperature changes is obtained.
In some embodiments, the temperature of the electronic device may be monitored while the electronic device is running the application. The application program run by the electronic device may include an application program run in a foreground of the electronic device, an application program run in a background of the electronic device, or an application program switched to run in the foreground and the background of the electronic device. Specifically, an application program running in the foreground refers to an application program which can generally interact with a user and can run in the foreground, and the application program can be suspended when the application program is not visible (such as games); background running applications mean very limited interaction with the user, except during configuration, where other times of the lifetime are hidden (e.g., SMS auto-answer program and alarm clock program); the application program which is switched to run in the foreground and the background of the electronic equipment refers to the application program which can be switched between the foreground and the background at will. It is understood that when an application is not killed (kill), the application is characterized as running on the electronic device. Optionally, in this embodiment, the temperature of the electronic device may be monitored when an application program runs in the foreground of the electronic device.
In some embodiments, the electronic device may detect whether an application is running in the foreground, and identify the application running in the foreground when the application is running in the foreground. For example, whether the application program runs in the foreground of the electronic device can be judged through Running Task, Running Process, Activity Lifecycle calls, use states Manager, Android self-contained barrier-free function, or Process information stored in a directory by a Linux system kernel of the electronic device.
The method includes the steps that whether an application program runs in the foreground of the electronic device or not is judged through the Running Task of the electronic device to be used as an example, when the application program runs in the foreground, the application program can be located at the stack top of the Running Task, so that a Task process at the stack top of the Running Task can be taken out, whether the Task process is the same as the package name of the application program or not is checked, it can be understood that when the package name of the Task process at the stack top is the same as the package name of the application program, the application program can be represented to run in the foreground of the electronic device, and when the package name of the Task process at the stack top is different from the package name of the application program, the application program can be represented to not run in the foreground of the electronic device.
In this embodiment, monitoring the temperature of the electronic device may include monitoring whether the temperature of the electronic device changes. In some embodiments, whether the temperature of the electronic device changes may be monitored in real time, whether the temperature of the electronic device changes may be monitored according to a preset time interval, whether the temperature of the electronic device changes may be monitored according to a preset time point, whether the temperature of the electronic device changes may be monitored according to other preset rules, and the like, which is not limited herein. Alternatively, considering that the temperature of the electronic device is hard to change drastically in a short time and that frequent changes of the temperature of the electronic device increase the power consumption of the electronic device, it may be monitored at preset time intervals, for example, at 5 second time intervals. Of course, the preset time interval may also be determined according to the model of the electronic device, and the corresponding preset time intervals of electronic devices of different models may be different.
As one way, when the currently monitored temperature of the electronic device is monitored to be different from the last monitored temperature, it may be determined that the temperature of the electronic device has changed. As another way, when the currently monitored temperature of the electronic device is different from the last monitored temperature, a difference between the currently monitored temperature and the last monitored temperature may be obtained, and when the difference is greater than a preset difference, it may be determined that the temperature of the electronic device has changed.
In this embodiment, when it is determined that the temperature of the electronic device has changed, the temperature of the electronic device after the temperature change may be acquired as the first temperature. As one way, the electronic device may include a data reading module, and the data reading module may be configured to read temperature information of the electronic device, so that when it is determined that the temperature of the electronic device changes, the data reading module may be used to read a first temperature of the electronic device after the temperature changes through a corresponding service of a system of the electronic device.
Step S120: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
In this embodiment, after the first temperature of the electronic device after the temperature change is obtained, the first display parameter corresponding to the first temperature may be obtained, so that the corresponding display parameter may be dynamically obtained in real time according to the change of the temperature. As one mode, an algorithm between the temperature and the display parameter may be established in advance, and after the first temperature of the electronic device after the temperature change is obtained, the display parameter corresponding to the first temperature may be calculated by the algorithm as the first display parameter. As another mode, a preset mapping table may be set and stored in the electronic device in advance, where the preset mapping table includes a plurality of temperatures and a plurality of display parameters, the plurality of temperatures and the plurality of display parameters correspond to each other one to one, the plurality of temperatures include a first temperature, and the plurality of display parameters include a first display parameter.
In some embodiments, when it is determined that the temperature of the electronic device changes, the temperature of the electronic device before the temperature change may also be acquired as the second temperature. As one way, the electronic device may include a data reading module, and the data reading module may be configured to read temperature information of the electronic device, so that when it is determined that the temperature of the electronic device changes, the data reading module may be used to read a second temperature of the electronic device before the temperature changes through a corresponding service of a system of the electronic device.
In some embodiments, after acquiring the second temperature of the electronic device before the temperature change, the second display parameter corresponding to the second temperature may be acquired. As one mode, an algorithm between the temperature and the display parameter may be established in advance, and after a second temperature of the electronic device before the temperature change is obtained, the display parameter corresponding to the second temperature may be calculated by the algorithm as the second display parameter. As another mode, a preset mapping table may be set and stored in the electronic device in advance, where the preset mapping table includes a plurality of temperatures and a plurality of display parameters, the plurality of temperatures and the plurality of display parameters correspond to each other one to one, the plurality of temperatures include a second temperature, and the plurality of display parameters include a second display parameter.
In this embodiment, the variation range between the first display parameter and the second display parameter is positively correlated with the temperature rise corresponding to the first temperature, so as to meet the temperature rise requirement, avoid the situation of excessive adjustment or insufficient adjustment, and accurately adjust the display parameter according to the temperature rise requirement, where the second display parameter corresponds to the second temperature of the electronic device before the temperature change, where the temperature rise refers to the temperature of each component in the electronic device above the environment. Therefore, the larger the temperature rise corresponding to the first temperature is, the larger the variation amplitude between the first display parameter and the second display parameter is, and the smaller the temperature rise corresponding to the first temperature is, the smaller the variation amplitude between the first display parameter and the second display parameter is. For example, when the temperature rise corresponding to the first temperature is C1, the variation range between the first display parameter and the second display parameter is F1, when the temperature rise corresponding to the second temperature is C2, the variation range between the first display parameter and the second display parameter is F2, then when C1 is greater than C2, F1 is greater than F2, and when C1 is less than C2, F1 is less than F2.
In some embodiments, the electronic device may preset and store a first preset temperature and a second preset temperature, where the first preset temperature is used to represent a lowest temperature for triggering adjustment of the display parameter range, and the second preset temperature is used to represent a highest temperature reached by the electronic device. Therefore, in this embodiment, after obtaining the first temperature of the electronic device after the temperature change, the first temperature may be respectively compared with the first preset temperature and the second preset temperature to determine whether the first temperature is greater than the first preset temperature and not greater than the second preset temperature, wherein when it is determined that the first temperature is greater than the first preset temperature and not greater than the second preset temperature, it may be determined that the first temperature meets a preset temperature requirement, then a first display parameter corresponding to the first temperature is obtained, and when it is determined that the first temperature is not greater than the first preset temperature or greater than the second preset temperature, it may be determined that the first temperature does not meet the preset temperature requirement, then the adjustment of the display parameter is abandoned, that is, the first display parameter corresponding to the first temperature is not obtained.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating an overall structure of a model synchronization module according to an embodiment of the present disclosure. As shown in fig. 2, taking the display parameter as the frame rate as an example, in some embodiments, the electronic device may include a model synchronization module, where the model synchronization module may be adapted in a customized manner according to different temperature rises, application programs, models, and the like, and parameters of the model synchronization module may be configured at a server side communicating with the electronic device, and the electronic device may pull configuration from the server side, so as to achieve real-time update synchronization and low maintenance cost. Therefore, after the first temperature of the electronic device after the temperature change is obtained, the model synchronization module can process the first temperature to obtain a first display parameter corresponding to the first temperature. By one approach, the parameters of the model synchronization module may include: target Temp: target temperature (second preset temperature), i.e. the temperature rise we want to limit; offset: the temperature point at which the limit starts (first preset temperature) is formed in combination with the Target Temp. Phase: the stage of the model, namely as the temperature rise gradually becomes larger, the temperature rise is restrained in a plurality of stages. Slop: slope, each stage showing the magnitude of the parameter decrease. Start Temp: the starting temperature of the present stage is also the ending temperature of the previous stage; and (3) Delay: applications that differentiate between low display parameters and high display parameters, the low display parameters are delayed from the high display parameters for adjustment.
Step S130: and adjusting the display parameter range of the electronic equipment based on the first display parameter.
In this embodiment, after the first display parameter is obtained, the display parameter range of the electronic device may be adjusted based on the first display parameter, so as to maximally guarantee the display effect of the electronic device while suppressing the temperature rise.
As one way, after the first display parameter is obtained, the adjustment of the display parameter range of the electronic device may be implemented by setting the maximum display parameter of the electronic device as the first display parameter.
As another way, after obtaining the first display parameter, the adjustment of the display parameter range of the electronic device may be achieved by setting the maximum display parameter of the electronic device to a similar value of the first display parameter. For example, the maximum display parameter of the electronic device may be set to a value slightly greater than the first display parameter, or the maximum display parameter of the electronic device may be set to a value slightly less than the first display parameter.
In some embodiments, after obtaining the first display parameter, the display parameter range of the electronic device may be increased based on the first display parameter, or the display parameter range of the electronic device may be decreased based on the first display parameter, and the like, which is not limited herein.
In some embodiments, the display parameter includes at least one of a frame rate and a resolution. When the display parameter is the frame rate, and the first display parameter is the first frame rate, the frame rate range of the electronic device may be adjusted based on the first frame rate, for example, the frame rate range of the electronic device may be increased based on the first frame rate, or the frame rate range of the electronic device may be decreased based on the first frame rate. When the display parameter is the resolution, the first display parameter is the first resolution, and the resolution range of the electronic device may be adjusted based on the first resolution, for example, the resolution range of the electronic device may be increased based on the first resolution, or the resolution range of the electronic device may be decreased based on the first resolution.
In some embodiments, the electronic device may include a display parameter control module, which dynamically determines, in real time, a current display parameter range of the electronic device based on the acquired first display parameter, where an output of the display parameter control module may limit the Vsync signal of the software to an output value through a display service of the electronic device, that is, complete adjustment of the display parameter range. For example, the display parameter control module may include a frame rate control module, and the frame rate control module may dynamically determine, in real time, a maximum frame rate of the electronic device based on the acquired first frame rate.
According to the method for adjusting the display parameters, when the temperature of the electronic equipment changes, the temperature of the electronic equipment after the temperature changes is obtained, the display parameters corresponding to the temperature after the temperature changes are obtained, and the display parameter range of the electronic equipment is adjusted based on the display parameters, so that the display parameter range of the electronic equipment is adjusted according to the temperature rise condition dynamically in real time, the change amplitude of the temperature is set to be positively correlated with the temperature rise, and the display effect of the electronic equipment is guaranteed to the maximum extent while the temperature rise is restrained.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating a method for adjusting display parameters according to another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with reference to the flow shown in fig. 3, where the method for adjusting the display parameter may specifically include the following steps:
step S210: when the temperature of the electronic equipment changes, a first temperature of the electronic equipment after the temperature changes is obtained.
Step S220: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
For the detailed description of steps S210 to S220, refer to steps S110 to S120, which are not described herein again.
Step S230: and acquiring a parameter difference value of the first display parameter and the second display parameter.
In this embodiment, after the first display parameter and the second display parameter are obtained, a parameter difference between the first display parameter and the second display parameter may be obtained. In some embodiments, after obtaining the first display parameter and the second display parameter, a difference between the first display parameter and the second display parameter may be calculated, and a parameter difference between the first display parameter and the second display parameter may be obtained, for example, after obtaining the first display parameter and the second display parameter, the second display parameter may be subtracted from the first display parameter to obtain a parameter difference between the first display parameter and the second display parameter.
Step S240: and when the parameter difference is smaller than a preset parameter difference, adjusting the display parameter range of the electronic equipment based on the first display parameter.
In some embodiments, the electronic device may preset and store a preset parameter difference value, where the preset parameter difference value is used as a criterion for determining a parameter difference value between the first display parameter and the second display parameter. Therefore, in this embodiment, after the parameter difference is obtained, the parameter difference may be compared with a preset parameter difference to determine whether the parameter difference is smaller than the preset parameter difference. When the judgment result indicates that the parameter difference is smaller than the preset parameter difference, the adjustment range of the parameter difference is reasonable, the display parameter of the electronic equipment is adjusted based on the first display parameter, the influence on the sense of the user is avoided, and the display parameter range of the electronic equipment can be adjusted based on the first display parameter. When the judgment result indicates that the parameter difference is not smaller than the preset parameter difference, the adjustment range for indicating the parameter difference is unreasonable, and the display parameter of the electronic device is adjusted based on the first display parameter, which may cause an influence on the sense of the user (if there may be a frame rate collapse sensation), the display parameter range of the electronic device may not be adjusted.
Alternatively, when the display parameter is a frame rate, the predetermined parameter difference may be 5 frames.
In another embodiment of the present application, when the temperature of the electronic device changes, a first temperature of the electronic device after the temperature changes is obtained, and a first display parameter corresponding to the first temperature is obtained, where a variation range between the first display parameter and a second display parameter is positively correlated to a temperature rise corresponding to the first temperature, the second display parameter corresponds to a second temperature of the electronic device before the temperature changes, a parameter difference between the first display parameter and the second display parameter is obtained, and when the parameter difference is smaller than a preset parameter difference, a display parameter range of the electronic device is adjusted based on the first display parameter. Compared with the method for adjusting display parameters shown in fig. 1, in the embodiment, when the variation of the display parameters does not exceed the preset value, the display parameter range of the electronic device is adjusted to prevent the influence of the suddenly-dropped display parameters on the sense of the user.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a method for adjusting display parameters according to still another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with reference to the flow shown in fig. 4, where the method for adjusting the display parameter may specifically include the following steps:
step S310: when the temperature of the electronic equipment changes, a first temperature of the electronic equipment after the temperature changes is obtained.
Step S320: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
For the detailed description of steps S310 to S320, please refer to steps S110 to S120, which are not described herein again.
Step S330: and when the first display parameter is equal to or larger than the preset lowest display parameter, adjusting the display parameter range of the electronic equipment based on the first display parameter.
In some embodiments, the electronic device may preset and store a preset minimum display parameter, where the preset minimum display parameter is used as a criterion for determining the first display parameter. Therefore, in this embodiment, after the first display parameter is obtained, the first display parameter may be compared with a preset lowest display parameter to determine whether the first display parameter is greater than or equal to the preset lowest display parameter. When the judgment result represents that the first display parameter is greater than or equal to the preset lowest display parameter, the first display parameter can ensure the most basic sensory experience (such as game experience) of the user, the display parameter of the electronic equipment is adjusted based on the first display parameter, the problem that the basic sensory experience cannot be met is avoided, and the display parameter range of the electronic equipment can be adjusted based on the first display parameter. When the judgment result represents that the first display parameter is smaller than the preset lowest display parameter, the first display parameter is represented to be incapable of ensuring the most basic sensory experience of the user, the display parameter of the electronic equipment is adjusted based on the first display parameter, the problem that the basic sensory experience cannot be met is caused, and the display parameter range of the electronic equipment cannot be adjusted.
In another embodiment of the present application, when a temperature of an electronic device changes, a first temperature of the electronic device after the temperature changes is obtained, and a first display parameter corresponding to the first temperature is obtained, where a variation range between the first display parameter and a second display parameter is positively correlated with a temperature rise corresponding to the first temperature, the second display parameter corresponds to a second temperature of the electronic device before the temperature changes, and when the first display parameter is equal to or greater than a preset minimum display parameter, a display parameter range of the electronic device is adjusted based on the first display parameter. Compared with the method for adjusting the display parameters shown in fig. 1, in this embodiment, when the display parameter corresponding to the changed temperature is equal to or greater than the preset lowest display parameter, the display parameter range of the electronic device is adjusted to ensure the basic sensory experience of the user.
Referring to fig. 5, fig. 5 is a schematic flow chart illustrating a method for adjusting display parameters according to another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with reference to the flow shown in fig. 5, where the method for adjusting the display parameter may specifically include the following steps:
step S410: when the temperature of the electronic equipment changes, a first temperature of the electronic equipment after the temperature changes is obtained.
Step S420: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
For the detailed description of steps S410 to S420, refer to steps S110 to S120, which are not described herein again.
Step S430: and when the temperature of the electronic equipment is reduced, acquiring the temperature change information of the electronic equipment in a preset period.
In some embodiments, the electronic device is preset and stores a preset period, and the preset period is used as a judgment basis for the period of temperature drop of the electronic device. Therefore, in this embodiment, when a temperature drop of the electronic device is detected, temperature change information of the electronic device in a preset period may be acquired, where the temperature change information of the electronic device in the preset period may include: the temperature within a preset period monotonically decreases; descending and then ascending (descending without single adjustment) within a preset period; and then falls after falling, rising and falling within a preset period (falling without monotone).
Step S440: and when the temperature change information represents that the temperature of the electronic equipment in the preset period monotonically decreases, increasing the display parameter range of the electronic equipment based on the first display parameter.
In some embodiments, when the temperature change information of the electronic device in the preset period represents that the temperature of the electronic device in the preset period monotonically decreases, it may be determined that the temperature of the electronic device decreases, and the display parameter range of the electronic device may be increased based on the first display parameter, so that frequent adjustment of the display parameter may be avoided; when the temperature change information of the electronic device in the preset period indicates that the temperature of the electronic device in the preset period does not monotonically decrease, it can be determined that the temperature of the electronic device may decrease or increase, the display parameter range of the electronic device is not increased, and frequent adjustment of the display parameters can be avoided.
In another embodiment of the present application, when a temperature of an electronic device changes, a first temperature of the electronic device after the temperature changes is obtained, and a first display parameter corresponding to the first temperature is obtained, where a variation range between the first display parameter and a second display parameter is in positive correlation with a temperature rise corresponding to the first temperature, the second display parameter corresponds to a second temperature of the electronic device before the temperature changes, when the temperature of the electronic device decreases, temperature change information of the electronic device in a preset period is obtained, and when the temperature change information represents that the temperature of the electronic device in the preset period monotonically decreases, a display parameter range of the electronic device is increased based on the first display parameter. Compared with the method for adjusting the display parameters shown in fig. 1, the present embodiment also increases the display parameters of the electronic device when the temperature within a period monotonically decreases, so as to avoid frequent adjustment of the display parameters.
Referring to fig. 6, fig. 6 is a schematic flow chart illustrating a method for adjusting display parameters according to yet another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with reference to the flow shown in fig. 6, where the method for adjusting the display parameter may specifically include the following steps:
step S510: when the temperature of the electronic equipment changes, a first temperature of the electronic equipment after the temperature changes is obtained.
Step S520: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
For the detailed description of steps S510 to S520, refer to steps S110 to S120, which are not described herein again.
Step S530: and when the temperature of the electronic equipment rises and the temperature rise reaches a preset temperature change value, reducing the display parameter range of the electronic equipment based on the first display parameter.
In this embodiment, the electronic device may set different difficulty coefficients for temperature rise and temperature fall, and the difficulty coefficients determine the timing for adjusting the display parameter range. As a mode, when the temperature of the electronic device rises, that is, the display parameter falls, the difficulty coefficient may be set to 1, that is, when the temperature rise corresponding to the temperature reaches the required value, the adjustment of the display parameter may be triggered without additional correction. As another way, when the temperature of the electronic device decreases, that is, the display parameter increases, the difficulty coefficient may be set to N, where N is greater than 1, that is, when the temperature increase corresponding to the temperature reaches N times of the required value, the adjustment of the display parameter is triggered, and an additional correction is required, and optionally, N is greater than 1 and less than 10.
In some embodiments, the electronic device may preset and store a preset temperature change value, which is used as a criterion for determining the required value of the temperature rise corresponding to the first temperature. Therefore, in this embodiment, when the temperature of the electronic device rises, the temperature rise corresponding to the first temperature may be compared with a preset temperature variation value to determine whether the temperature rise corresponding to the first temperature reaches the preset temperature variation value, wherein when it is determined that the temperature rise corresponding to the first temperature reaches the preset temperature variation value, the display parameter range of the electronic device may be reduced based on the first display parameter.
Step S540: and when the temperature of the electronic equipment is reduced and the temperature rise reaches N times of the preset temperature change value, increasing the display parameter range of the electronic equipment based on the first display parameter, wherein N is larger than 1.
In some embodiments, the electronic device may preset and store a preset temperature change value, which is used as a criterion for determining the required value of the temperature rise corresponding to the first temperature. Therefore, in this embodiment, when the temperature of the electronic device decreases, the temperature rise corresponding to the first temperature may be compared with N times of the preset temperature variation value to determine whether the temperature rise corresponding to the first temperature reaches N times of the preset temperature variation value, where when it is determined that the temperature rise corresponding to the first temperature reaches N times of the preset temperature variation value, the display parameter range of the electronic device may be reduced based on the first display parameter.
In another embodiment of the present application, when a temperature of an electronic device changes, a first temperature of the electronic device after the temperature changes is obtained, and a first display parameter corresponding to the first temperature is obtained, where a variation range between the first display parameter and a second display parameter is in positive correlation with a temperature rise corresponding to the first temperature, the second display parameter corresponds to a second temperature of the electronic device before the temperature changes, when the temperature of the electronic device rises and the temperature rise reaches a preset temperature change value, a display parameter range of the electronic device is reduced based on the first display parameter, and when the temperature of the electronic device falls and the temperature rise reaches a N value of the preset temperature change value, the display parameter range of the electronic device is increased based on the first display parameter, where N is greater than 1. Compared with the method for adjusting the display parameters shown in fig. 1, the embodiment also sets different difficulty coefficients for temperature rise and temperature fall to adjust the display parameters, so as to ensure the rationality of the adjustment of the display parameters.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating a method for adjusting display parameters according to yet another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with reference to the flow shown in fig. 7, where the method for adjusting the display parameter may specifically include the following steps:
step S610: when the electronic equipment runs a game, monitoring the temperature change of the electronic equipment.
In some embodiments, whether the application running on the electronic device is a game application or not may be detected, and when it is detected that the application running on the electronic device is a game application, a temperature change of the electronic device may be monitored. As one approach, the identification information of an application may be checked to determine whether the application is a game-like application.
In this embodiment, the electronic device may run a game resource file, where the game resource file may be a local resource file or a network resource file, and is not limited herein, and when the game resource file is a local resource file, a game corresponding to the game resource file may be a standalone game; when the game resource file is a network resource file, the game corresponding to the game resource file may be a web game. Specifically, if the game resource file is a local resource file, the game resource file may be downloaded from a server in advance by the electronic device and stored locally, and when the game resource file is executed, the electronic device may directly read and execute the game resource file from the local, for example, may directly obtain and execute the game resource file from a memory of the electronic device. As another mode, if the game resource file is a network resource file, the game resource file may be obtained and run online from a server by an electronic device, where the electronic device may obtain the game resource file online from the server through a wireless network, or may obtain the game resource file online from the server through a data network, which is not limited herein, where the data network may include a 2G network, a 3G network, a 4G network, or a 5G network.
In addition, when the game resource file is a network resource file, the electronic device may be equipped with a game application program, and an application program icon corresponding to the game application program is displayed on a desktop of the electronic device, and when a touch operation of a user on the application program icon is detected, the electronic device operates the game application program as a response, and acquires the game resource file from the server through the network; alternatively, the electronic device may be equipped with a browser, and access the game interface through a web page of the browser based on a user operation, and acquire the game resource file from the server under the game interface.
In this embodiment, when the electronic device runs the game resource file in the foreground, the display interface of the electronic device may display a game picture corresponding to the game resource file, and further, the electronic device detects whether the game picture is displayed on the display interface of the electronic device, and when the game picture is displayed in the representation of the detection result, the temperature change of the electronic device may be monitored.
Step S620: when the temperature of the electronic equipment is monitored to change, a first temperature of the electronic equipment after the temperature changes is obtained.
For detailed description of step S620, please refer to step S110, which is not described herein again.
Step S630: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
In some embodiments, obtaining the first display parameter corresponding to the first temperature may include: the method comprises the steps of obtaining hardware parameters of the electronic equipment, obtaining first display parameters corresponding to the first temperature, the game and the hardware parameters of the electronic equipment based on the first temperature, the game and the hardware parameters of the electronic equipment, customizing the display parameters according to the hardware parameters of different electronic equipment, different games and different temperatures, and improving the accuracy of the obtained display parameters. The hardware parameters of the electronic device may include parameters of a central processing unit, parameters of a graphics processing unit, parameters of a screen, and the like, which are not limited herein.
Step S640: and adjusting the display parameter range of the electronic equipment based on the first display parameter.
Referring to fig. 8, fig. 8 is a schematic view illustrating a game interface provided in an embodiment of the present application. As shown in fig. 8, when the electronic device runs a game, a game interface may be displayed, and a current display parameter range may also be displayed in the game interface, for example, the current maximum frame rate a is displayed as shown in fig. 8.
In another embodiment of the present application, when an electronic device runs a game, a temperature change of the electronic device is monitored, when the temperature of the electronic device is monitored to be changed, a first temperature of the electronic device after the temperature change is obtained, and a first display parameter corresponding to the first temperature is obtained, where a change range between the first display parameter and a second display parameter is positively correlated to a temperature rise corresponding to the first temperature, the second display parameter corresponds to a second temperature of the electronic device before the temperature change, and a display parameter range of the electronic device is adjusted based on the first display parameter. Compared with the method for adjusting the display parameters shown in fig. 1, the embodiment also adjusts the display parameters when the electronic device runs the game, so that the running experience of the game is improved.
Referring to fig. 9, fig. 9 is a schematic flow chart illustrating a method for adjusting display parameters according to yet another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with reference to the flow shown in fig. 9, where the method for adjusting the display parameter may specifically include the following steps:
step S710: detecting a current temperature of the electronic device.
In some embodiments, the current temperature of the electronic device may be detected when the electronic device runs the application program, for example, whether the current temperature of the electronic device changes may be detected when the electronic device runs the application program.
Step S720: when the current temperature of the electronic equipment is detected to be changed, acquiring a first temperature of the electronic equipment after the temperature is changed.
In some embodiments, when it is detected that the current temperature of the electronic device changes, the first temperature of the electronic device after the temperature changes may be acquired, so that the display parameter range of the electronic device is adjusted based on the change of the current temperature, and the display effect of the electronic device is improved.
Step S730: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
Step S740: and adjusting the display parameter range of the electronic equipment based on the first display parameter.
For the detailed description of steps S730 to S740, refer to steps S120 to S130, which are not described herein again.
In another embodiment of the present application, a method for adjusting a display parameter includes detecting a current temperature of an electronic device, obtaining a first temperature of the electronic device after a temperature change when the current temperature of the electronic device is detected to be changed, and obtaining a first display parameter corresponding to a first bit temperature, where a variation range between the first display parameter and a second display parameter is positively correlated with a temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic device before the temperature change, and adjusting a display parameter range of the electronic device based on the first display parameter. Compared with the method for adjusting the display parameter shown in fig. 1, the present embodiment also adjusts the display parameter range of the electronic device according to the current temperature of the electronic device, so as to improve the display effect of the electronic device.
Referring to fig. 10, fig. 10 is a schematic flow chart illustrating a method for adjusting display parameters according to yet another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with reference to the flow shown in fig. 10, where the method for adjusting the display parameter may specifically include the following steps:
step S810: detecting a current temperature of the electronic device and a temperature impact factor of the electronic device.
In some embodiments, the current temperature of the electronic device and the temperature influence factor of the electronic device may be detected when the electronic device runs the application program, for example, whether the current temperature of the electronic device changes and the temperature influence factor of the electronic device may be detected when the electronic device runs the application program.
The temperature influence factor may include one or more of a load rate of a central processing unit of the electronic device, a load rate of a graphics processor, and an ambient temperature of an environment in which the electronic device is located. Therefore, in some embodiments, when the temperature influence factor includes the load rate of the central processing unit, the current temperature of the electronic device and the load rate of the central processing unit of the electronic device may be detected; when the temperature influence factor includes the load factor of the central processing unit and the ambient temperature of the environment where the electronic device is located, the current temperature of the electronic device, the load factor of the central processing unit of the electronic device, and the ambient temperature of the environment where the electronic device is located may be detected.
Step S820: when it is determined that the temperature of the electronic equipment meets a preset change condition based on the current temperature and the temperature influence factor, acquiring a first temperature of the electronic equipment after the temperature is changed.
In some embodiments, after obtaining the current temperature of the electronic device and the temperature impact factor of the electronic device, the temperature of the electronic device for a future period of time (maximum temperature) may be determined based on the current temperature and the temperature impact factor. For example, a temperature change trend and a temperature change amplitude of the electronic device for a future period of time may be determined based on the temperature impact factor of the electronic device, and a temperature of the electronic device for the future period of time may be determined based on the current temperature, the temperature change trend, and the temperature change amplitude.
In some embodiments, the electronic device may preset and store a preset change condition, and the preset change condition is used as a judgment basis for the determined temperature of the electronic device in a future period. Therefore, in this embodiment, when determining the temperature of the electronic device in a future period of time, the temperature of the electronic device in the future period of time may be compared with a preset change condition to determine whether the temperature of the electronic device in the future period of time meets the preset change condition, where when the temperature of the electronic device in the future period of time meets the preset change condition, it is represented that the temperature of the electronic device in the future period of time is about to change, a first temperature of the electronic device after the temperature change in the future may be obtained in advance, and a display parameter range of the electronic device is adjusted in advance according to a first display parameter corresponding to the first temperature, so as to improve a display effect of the electronic device.
Step S830: acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation.
Step S840: and adjusting the display parameter range of the electronic equipment based on the first display parameter.
For detailed descriptions of steps S830 to S840, refer to steps S120 to S130, which are not described herein again.
In yet another embodiment of the present application, a method for adjusting a display parameter includes detecting a current temperature of an electronic device and a temperature influence factor of the electronic device, obtaining a first temperature of the electronic device after a temperature change when it is determined that the temperature of the electronic device satisfies a preset change condition based on the current temperature and the temperature influence factor, and obtaining a first display parameter corresponding to the first temperature, where a change range of the first display parameter and a fall display parameter is positively correlated with a temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic device before the temperature change, and adjusting a display parameter range of the electronic device based on the first display parameter. Compared with the method for adjusting the display parameters shown in fig. 1, the present embodiment also adjusts the display parameter range of the electronic device in advance according to the future temperature of the electronic device, so as to improve the display effect of the electronic device.
Referring to fig. 11, fig. 11 is a block diagram illustrating an apparatus for adjusting display parameters according to an embodiment of the present disclosure. The display parameter adjusting apparatus 200 is applied to the electronic device, and will be explained with reference to the block diagram shown in fig. 11, where the display parameter adjusting apparatus 200 includes: a temperature obtaining module 210, a display parameter obtaining module 220, and a display parameter adjusting module 230, wherein:
the temperature obtaining module 210 is configured to obtain a first temperature of the electronic device after a temperature change when the temperature of the electronic device changes.
Further, the temperature obtaining module 210 includes: a first temperature acquisition submodule, wherein:
the first temperature obtaining sub-module is used for obtaining a first display parameter corresponding to the first temperature when the first temperature is higher than a first preset temperature and not higher than a second preset temperature, wherein the first preset temperature represents the lowest temperature for triggering adjustment of a display parameter range, and the second preset temperature represents the highest temperature for limiting the electronic equipment.
Further, the temperature obtaining module 210 includes: a temperature monitoring submodule and a second temperature acquisition submodule, wherein:
and the temperature monitoring submodule is used for monitoring the temperature change of the electronic equipment when the electronic equipment runs a game.
And the second temperature obtaining submodule is used for obtaining the first temperature of the electronic equipment after the temperature of the electronic equipment is changed when the temperature of the electronic equipment is monitored to be changed.
Further, the temperature obtaining module 210 includes: the current temperature detection submodule and the third temperature acquisition submodule, wherein:
and the current temperature detection submodule is used for detecting the current temperature of the electronic equipment.
And the third temperature obtaining submodule is used for obtaining the first temperature of the electronic equipment after the temperature is changed when the current temperature of the electronic equipment is detected to be changed.
Further, the temperature obtaining module 210 includes: a temperature impact factor detection submodule and a fourth temperature acquisition submodule, wherein:
and the temperature influence factor detection submodule is used for detecting the current temperature of the electronic equipment and the temperature influence factor of the electronic equipment.
And the fourth temperature obtaining submodule is used for obtaining the first temperature of the electronic equipment after the temperature is changed when the temperature of the electronic equipment is determined to meet the preset change condition based on the current temperature and the temperature influence factor.
A display parameter obtaining module 220, configured to obtain a first display parameter corresponding to the first temperature, where a variation range between the first display parameter and a second display parameter is in positive correlation with a temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic device before the temperature change.
Further, the display parameter acquiring module 220 includes: the model obtains submodule and shows parameter and obtains the submodule, wherein:
and the model obtaining submodule is used for obtaining the model of the electronic equipment.
And the display parameter acquisition submodule is used for acquiring first display parameters corresponding to the first temperature, the game and the model.
A display parameter adjusting module 230, configured to adjust a display parameter range of the electronic device based on the first display parameter.
Further, the display parameter adjustment module 230 includes: the device comprises a parameter difference value acquisition submodule and a first display parameter adjustment submodule, wherein:
and the parameter difference value obtaining submodule is used for obtaining the parameter difference value of the first display parameter and the second display parameter.
And the first display parameter adjusting submodule is used for adjusting the display parameter range of the electronic equipment based on the first display parameter when the parameter difference is smaller than a preset parameter difference.
Further, the display parameter adjustment module 230 includes: a second display parameter adjustment submodule, wherein:
and the second display parameter adjusting submodule is used for adjusting the display parameter range of the electronic equipment based on the first display parameter when the first display parameter is equal to or larger than the preset lowest display parameter.
Further, the display parameter adjustment module 230 includes: the temperature change information acquisition submodule and the third display parameter adjustment submodule, wherein:
and the temperature change information acquisition submodule is used for acquiring the temperature change information of the electronic equipment in a preset period when the temperature of the electronic equipment is reduced.
And the third display parameter adjusting submodule is used for increasing the display parameter range of the electronic equipment based on the first display parameter when the temperature change information represents that the temperature of the electronic equipment in the preset period is monotonously reduced.
Further, the module 230 for adjusting the display parameter includes: a display parameter reduction sub-module and a display parameter increase sub-module, wherein:
and the display parameter reduction submodule is used for reducing the display parameter range of the electronic equipment based on the first display parameter when the temperature of the electronic equipment rises and the temperature rise reaches a preset temperature change value.
And the display parameter increasing submodule is used for increasing the display parameter range of the electronic equipment based on the first display parameter when the temperature of the electronic equipment is reduced and the temperature is increased to reach N times of the preset temperature change value, wherein N is larger than 1.
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.
Referring to fig. 12, a block diagram of an electronic device 100 according to an embodiment of the present disclosure is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. 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, among other things. 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 the content to be displayed; 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. 13, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 300 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 300 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 300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 for performing 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 310 may be compressed, for example, in a suitable form.
To sum up, according to the adjustment method and apparatus for display parameters, the electronic device and the storage medium provided in the embodiments of the present application, when the temperature of the electronic device changes, the temperature of the electronic device after the temperature change is obtained, the display parameter corresponding to the temperature after the temperature change is obtained, and the display parameter range of the electronic device is adjusted based on the display parameter, so that the display parameter range of the electronic device is adjusted according to the temperature rise condition dynamically in real time, and the change range of the temperature is set to be positively correlated with the temperature rise, thereby maximally ensuring the display effect of the electronic device while suppressing the temperature rise.
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 (14)

1. A method for adjusting display parameters is applied to electronic equipment, and the method comprises the following steps:
when the temperature of the electronic equipment changes, acquiring a first temperature of the electronic equipment after the temperature changes;
acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation;
and adjusting the display parameter range of the electronic equipment based on the first display parameter.
2. The method of claim 1, wherein adjusting the display parameter range of the electronic device based on the first display parameter comprises:
acquiring a parameter difference value of the first display parameter and the second display parameter;
and when the parameter difference is smaller than a preset parameter difference, adjusting the display parameter range of the electronic equipment based on the first display parameter.
3. The method of claim 1, wherein adjusting the display parameter range of the electronic device based on the first display parameter comprises:
and when the first display parameter is equal to or larger than the preset lowest display parameter, adjusting the display parameter range of the electronic equipment based on the first display parameter.
4. The method of claim 1, wherein adjusting the display parameter range of the electronic device based on the first display parameter comprises:
when the temperature of the electronic equipment is reduced, acquiring temperature change information of the electronic equipment in a preset period;
and when the temperature change information represents that the temperature of the electronic equipment in the preset period monotonically decreases, increasing the display parameter range of the electronic equipment based on the first display parameter.
5. The method of claim 1, wherein adjusting the display parameter range of the electronic device based on the first display parameter comprises:
when the temperature of the electronic equipment rises and the temperature rise reaches a preset temperature change value, reducing the display parameter range of the electronic equipment based on the first display parameter; or
And when the temperature of the electronic equipment is reduced and the temperature rise reaches N times of the preset temperature change value, increasing the display parameter range of the electronic equipment based on the first display parameter, wherein N is larger than 1.
6. The method of claim 1, wherein the obtaining a first display parameter corresponding to the first temperature comprises:
when the first temperature is higher than a first preset temperature and not higher than a second preset temperature, a first display parameter corresponding to the first temperature is obtained, wherein the first preset temperature represents the lowest temperature of a triggering adjustment display parameter range, and the second preset temperature represents the highest temperature which the electronic equipment reaches.
7. The method according to any one of claims 1-6, wherein the obtaining a first temperature of the electronic device after the temperature change when the temperature of the electronic device changes comprises:
when the electronic equipment runs a game, monitoring the temperature change of the electronic equipment;
when the temperature of the electronic equipment is monitored to change, a first temperature of the electronic equipment after the temperature changes is obtained.
8. The method of any of claims 1-6, wherein the display parameters include at least one of a frame rate and a resolution.
9. The method according to any one of claims 1-6, wherein the obtaining a first temperature of the electronic device after the temperature change when the temperature of the electronic device changes comprises:
detecting a current temperature of the electronic device;
when the current temperature of the electronic equipment is detected to be changed, acquiring a first temperature of the electronic equipment after the temperature is changed.
10. The method according to any one of claims 1-6, wherein the obtaining a first temperature of the electronic device after the temperature change when the temperature of the electronic device changes comprises:
detecting the current temperature of the electronic equipment and the temperature influence factor of the electronic equipment;
when it is determined that the temperature of the electronic equipment meets a preset change condition based on the current temperature and the temperature influence factor, acquiring a first temperature of the electronic equipment after the temperature is changed.
11. The method of claim 10, wherein the temperature influence factor comprises one or more of a load factor of a central processing unit of the electronic device, a load factor of a graphics processing unit of the electronic device, and an ambient temperature of an environment in which the electronic device is located.
12. An apparatus for adjusting display parameters, applied to an electronic device, the apparatus comprising:
the temperature acquisition module is used for acquiring a first temperature of the electronic equipment after the temperature of the electronic equipment changes when the temperature of the electronic equipment changes;
the display parameter acquiring module is used for acquiring a first display parameter corresponding to the first temperature, wherein the variation amplitude between the first display parameter and a second display parameter is in positive correlation with the temperature rise corresponding to the first temperature, and the second display parameter corresponds to a second temperature of the electronic equipment before the temperature variation;
and the display parameter adjusting module is used for adjusting the display parameter range of the electronic equipment based on the first display parameter.
13. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-11.
14. 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 11.
CN202110565620.XA 2021-05-24 2021-05-24 Display parameter adjusting method and device, electronic equipment and storage medium Pending CN113296724A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110565620.XA CN113296724A (en) 2021-05-24 2021-05-24 Display parameter adjusting method and device, electronic equipment and storage medium
PCT/CN2022/080703 WO2022247398A1 (en) 2021-05-24 2022-03-14 Display parameter adjusting method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110565620.XA CN113296724A (en) 2021-05-24 2021-05-24 Display parameter adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113296724A true CN113296724A (en) 2021-08-24

Family

ID=77324347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110565620.XA Pending CN113296724A (en) 2021-05-24 2021-05-24 Display parameter adjusting method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113296724A (en)
WO (1) WO2022247398A1 (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
WO2022247398A1 (en) * 2021-05-24 2022-12-01 Oppo广东移动通信有限公司 Display parameter adjusting method and apparatus, electronic device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130141351A1 (en) * 2011-12-02 2013-06-06 Kabushiki Kaisha Toshiba Portable electronic device and method for brightness control
CN104571990A (en) * 2014-12-22 2015-04-29 广东欧珀移动通信有限公司 Method and system for adjusting operating state of display screen
CN107463481A (en) * 2017-07-26 2017-12-12 努比亚技术有限公司 Data interactive method, mobile terminal and storage medium
CN108681436A (en) * 2018-03-13 2018-10-19 广东欧珀移动通信有限公司 Image quality parameter adjusting method, device, terminal and storage medium
CN110727559A (en) * 2019-10-09 2020-01-24 Oppo广东移动通信有限公司 Electronic device, electronic device control method, and storage medium
CN111240517A (en) * 2020-01-09 2020-06-05 Oppo(重庆)智能科技有限公司 Touch display screen adjusting method and device, terminal and storage medium
KR20200086054A (en) * 2019-01-08 2020-07-16 삼성전자주식회사 Display apparatus and controlling method thereof
CN111459440A (en) * 2020-04-24 2020-07-28 Oppo(重庆)智能科技有限公司 Control method, control device, terminal and readable storage medium
CN111506181A (en) * 2019-01-31 2020-08-07 上海欧菲智能车联科技有限公司 Automatic equipment brightness adjusting method, device, equipment and storage medium
CN112306199A (en) * 2019-07-30 2021-02-02 Oppo广东移动通信有限公司 Temperature adjusting method and device, mobile terminal and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9459141B2 (en) * 2014-03-11 2016-10-04 Getac Technology Corporation Brightness control apparatus and brightness control method
CN104881104A (en) * 2015-03-11 2015-09-02 小米科技有限责任公司 Intelligent equipment, intelligent equipment performance improvement method and intelligent equipment performance improvement device
CN113296724A (en) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 Display parameter adjusting method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130141351A1 (en) * 2011-12-02 2013-06-06 Kabushiki Kaisha Toshiba Portable electronic device and method for brightness control
CN104571990A (en) * 2014-12-22 2015-04-29 广东欧珀移动通信有限公司 Method and system for adjusting operating state of display screen
CN107463481A (en) * 2017-07-26 2017-12-12 努比亚技术有限公司 Data interactive method, mobile terminal and storage medium
CN108681436A (en) * 2018-03-13 2018-10-19 广东欧珀移动通信有限公司 Image quality parameter adjusting method, device, terminal and storage medium
KR20200086054A (en) * 2019-01-08 2020-07-16 삼성전자주식회사 Display apparatus and controlling method thereof
CN111506181A (en) * 2019-01-31 2020-08-07 上海欧菲智能车联科技有限公司 Automatic equipment brightness adjusting method, device, equipment and storage medium
CN112306199A (en) * 2019-07-30 2021-02-02 Oppo广东移动通信有限公司 Temperature adjusting method and device, mobile terminal and storage medium
CN110727559A (en) * 2019-10-09 2020-01-24 Oppo广东移动通信有限公司 Electronic device, electronic device control method, and storage medium
CN111240517A (en) * 2020-01-09 2020-06-05 Oppo(重庆)智能科技有限公司 Touch display screen adjusting method and device, terminal and storage medium
CN111459440A (en) * 2020-04-24 2020-07-28 Oppo(重庆)智能科技有限公司 Control method, control device, terminal and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247398A1 (en) * 2021-05-24 2022-12-01 Oppo广东移动通信有限公司 Display parameter adjusting method and apparatus, electronic device, and storage medium
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

Also Published As

Publication number Publication date
WO2022247398A1 (en) 2022-12-01

Similar Documents

Publication Publication Date Title
WO2022247398A1 (en) Display parameter adjusting method and apparatus, electronic device, and storage medium
EP3584676B1 (en) Method, device, medium, and electronic apparatus for dynamically adjusting power saving level of terminal
CN106919401B (en) Method and device for dynamically adjusting resolution and mobile terminal
CN109388367B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109157839B (en) Frame rate regulation and control method, device, storage medium and terminal
CN114071047B (en) Frame rate control method and related device
CN106510720B (en) User state prompting method and device
EP2996351A1 (en) Moisture detection response
CN108762831A (en) Application program preloads method, apparatus, storage medium and terminal
CN110795056A (en) Method, device, terminal and storage medium for adjusting display parameters
CN114341784A (en) Touch event processing method and device, mobile terminal and storage medium
CN111816178A (en) Voice equipment control method, device and equipment
EP3435215A1 (en) Method, device, storage medium and mobile terminal for recognizing an off-screen gesture
CN113961277A (en) Information display method and device, wearable device and storage medium
CN112445358A (en) Adjusting method, terminal and computer storage medium
CN104317611A (en) Application rousing setting device and method and mobile terminal
CN106648916B (en) Method and device for reporting pedometer message
CN110830653B (en) Sensor control method, sensor control device, mobile terminal and storage medium
WO2021077308A1 (en) Touch screen processing method and apparatus, and mobile terminal and storage medium
CN112988246A (en) System switching method and device, electronic equipment and storage medium
CN108415746B (en) Application interface display method and device, storage medium and electronic equipment
CN111290565A (en) Doze mode control method, device, terminal and storage medium
CN115004180A (en) Information pushing method and device, electronic equipment and storage medium
CN114402280A (en) Screen parameter adjusting method and device and terminal equipment
WO2015154562A1 (en) Method and device for reducing energy consumption of central processing unit, terminal and computer storage medium

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