CN107423197B - Electronic device, temperature rise control method, control device, and storage medium - Google Patents

Electronic device, temperature rise control method, control device, and storage medium Download PDF

Info

Publication number
CN107423197B
CN107423197B CN201710555216.8A CN201710555216A CN107423197B CN 107423197 B CN107423197 B CN 107423197B CN 201710555216 A CN201710555216 A CN 201710555216A CN 107423197 B CN107423197 B CN 107423197B
Authority
CN
China
Prior art keywords
electronic equipment
screen
temperature
state
electronic device
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.)
Expired - Fee Related
Application number
CN201710555216.8A
Other languages
Chinese (zh)
Other versions
CN107423197A (en
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 CN201710555216.8A priority Critical patent/CN107423197B/en
Publication of CN107423197A publication Critical patent/CN107423197A/en
Application granted granted Critical
Publication of CN107423197B publication Critical patent/CN107423197B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Power Sources (AREA)

Abstract

The invention provides an electronic device, a temperature rise control method, a control device and a storage medium, wherein the temperature rise control method comprises the following steps: detecting the state of a screen of the electronic equipment; if the screen of the electronic equipment is in a display state, monitoring the temperature of the electronic equipment; if the temperature of the electronic equipment is greater than a first preset temperature value, detecting whether the electronic equipment is in a shooting state; and if the electronic equipment is in a shooting state, displaying a shooting preview picture in a local area of a screen. According to the control method for the temperature rise of the electronic equipment, provided by the embodiment of the invention, the power consumption of the screen is reduced by reducing the display area of the shooting preview picture in the screen, the heat productivity of the screen is reduced, and the purpose of controlling the temperature rise of the electronic equipment is further achieved.

Description

Electronic device, temperature rise control method, control device, and storage medium
Technical Field
The present invention relates to the field of electronic device control technologies, and in particular, to an electronic device, a temperature rise control method, a control device, and a storage medium.
Background
With the development of electronic devices, mobile phones have become an indispensable part of people's work and life. At present, most of smart phones have the technical problem of overhigh temperature rise due to the fact that shells of the smart phones are relatively closed and heat dissipation is difficult.
When the electronic device runs multiple devices and applications simultaneously, heat generation is more serious, for example, when the electronic device performs image capture and displays a preview screen, the processor needs to operate at a high speed and the display screen is also in a high-load display state, which all put high demands on heat dissipation of the electronic device.
Disclosure of Invention
An embodiment of the present invention provides a temperature rise control method for an electronic device, where the control method includes:
detecting the state of a screen of the electronic equipment;
if the screen of the electronic equipment is in a display state, monitoring the temperature of the electronic equipment;
if the temperature of the electronic equipment is greater than a first preset temperature value, detecting whether the electronic equipment is in a shooting state;
and if the electronic equipment is in a shooting state, displaying a shooting preview picture in a local area of a screen.
In another aspect, an embodiment of the present invention further provides a temperature rise control device for an electronic device, where the temperature rise control device includes:
the screen state detection module is used for detecting the state of the screen of the electronic equipment;
the temperature monitoring module is used for monitoring the temperature of the electronic equipment when the screen of the electronic equipment is in a display state;
the shooting state detection module is used for detecting whether the electronic equipment is in a shooting state or not when the temperature of the electronic equipment is greater than a first preset temperature value;
and the execution module is used for displaying the shooting preview picture in a local area of the screen when the electronic equipment is in a shooting state.
Further, an embodiment of the present invention also provides an electronic device, which includes a processor and a memory, where the processor is coupled to the memory, and when in operation, the processor executes instructions to implement the method according to any one of the above embodiments.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method according to any one of the above embodiments.
The method for controlling the temperature rise of the electronic equipment, provided by the embodiment of the invention, comprises the steps of monitoring the temperature of the electronic equipment when a screen of the electronic equipment is in a display state, detecting whether the electronic equipment is in a shooting state or not when the temperature of the electronic equipment is greater than a first preset temperature value, and displaying a shooting preview picture in a local area of the screen if the electronic equipment is in the shooting state; according to the technical scheme, the power consumption of the screen is reduced by reducing the display area of the shooting preview picture in the screen, the heat productivity of the screen is reduced, and the purpose of controlling the temperature rise of the electronic equipment is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 flow chart illustrating a temperature rise control method for an electronic device according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating one embodiment of a method for monitoring temperature of an electronic device;
FIG. 3 is a schematic flow chart illustrating a temperature rise control method for an electronic device according to another embodiment of the present invention;
FIG. 4 is a schematic flowchart of a temperature rise control method for an electronic device according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating an embodiment of a specific type of application setting method;
FIG. 6 is a flowchart illustrating another embodiment of a specific type of application setting method;
FIG. 7 is a flowchart illustrating a further embodiment of a specific class of application setting method;
FIG. 8 is a block diagram illustrating the set intersection of application programs of a particular class;
FIG. 9 is a schematic structural diagram of an embodiment of an electronic device according to the invention;
FIG. 10 is a block diagram showing the structure of an embodiment of a temperature rise control device of an electronic apparatus according to the present invention;
FIG. 11 is a schematic structural diagram of another embodiment of an electronic device according to the present invention;
FIG. 12 is a schematic structural diagram of an embodiment of a storage medium according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be noted that the following examples are only illustrative of the present invention, and do not limit the scope of the present invention. Similarly, the following examples are only some but not all examples of the present invention, and all other examples obtained by those skilled in the art without any inventive work are within the scope of the present invention.
The terms "first", "second" and "third" in the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. All directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are only used to explain the relative positional relationship between the components, the movement, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart of a temperature rise control method of an electronic device according to an embodiment of the present invention, and it should be noted that the electronic device in the present invention may be a mobile phone, a tablet computer, a notebook computer, a wearable device, and the like having a camera module (or a camera function). An electronic device without a camera function is outside the scope of the present discussion. The temperature rise control method of this embodiment includes, but is not limited to, the following steps.
Step S100, detecting the state of the screen of the electronic equipment.
In the embodiment of the invention, the detection of the state of the screen of the electronic equipment refers to the detection of whether the screen is in a display state or a non-display state (screen-off state), and if the screen of the electronic equipment is in the display state, the next step is carried out; and if the screen of the electronic equipment is in a non-display state, ending the whole process.
Step S110, if the screen of the electronic device is in a display state, monitoring the temperature of the electronic device.
In step S110, optionally, referring to fig. 2, fig. 2 is a schematic flowchart of an embodiment of a method for monitoring a temperature of an electronic device, where the method for monitoring the temperature of the electronic device specifically includes the following steps.
Step S200, collecting temperature values of two or more temperature sensors in the electronic equipment.
In this embodiment, two or more temperature sensors to be collected are distributed at different positions of the electronic device, and optionally, the temperature sensors are at least used for detecting temperature values of a CPU, a battery, a camera module, or the like of the electronic device or a region in the vicinity thereof.
For example, a Negative Temperature Coefficient thermistor (NTC) is disposed near a CPU, a battery, or a camera module, and a signal thereof is connected to a CPU of an electronic device. According to the characteristics of the NTC resistor, the NTC can generate different voltages of the NTC resistor in different temperature environments; the current temperature value of the camera module and the temperature value of the adjacent area of the camera module are measured by monitoring the voltage value of the negative temperature coefficient thermistor.
In step S201, an average value of the temperature values is calculated.
In this step, the collected temperature values of the temperature sensors in the electronic device are averaged to obtain an average value of the temperature values.
In step S202, the average value is used as a temperature value of the electronic device.
In this embodiment, by calculating the average value of the temperatures of the plurality of positions of the electronic device, compared with the case that the determination is made only by using the temperature value of one position of the electronic device in the prior art, the temperature of the electronic device can be obtained more accurately and comprehensively, and the temperature control process can be more accurate.
Step S120, if the temperature of the electronic device is greater than the first preset temperature value, detecting whether the electronic device is in a shooting state.
In the step, when the temperature of the electronic equipment is not greater than a first preset temperature value, the electronic equipment is indicated to be temporarily not required to be subjected to temperature rise control; when the temperature of the electronic equipment is higher than a first preset temperature value, it is indicated that the electronic equipment needs to be subjected to temperature rise control, and whether the electronic equipment is in a shooting state or not is detected. And the determination of the shooting state may be made by whether the camera is working and whether the screen is displaying a preview picture, etc.
Optionally, in this embodiment, the first preset temperature value may be 60 degrees celsius, 70 degrees celsius, and the like, and a person skilled in the art may set the first preset temperature value according to a heat dissipation condition of the electronic device and performance indexes of each functional element, and the like, which is not specifically limited herein.
In step S130, if the electronic device is in the shooting state, the shooting preview image is displayed in a local area of the screen.
In this step, the shooting preview image is displayed in a partial area of the screen, which means that the shooting preview image is displayed in a non-full screen manner, for example, only a part of the middle or corner of the screen is used as a display area, and other areas of the screen are in a screen-off state, i.e., a state where the backlight is not operated.
The method for controlling temperature rise of electronic equipment provided by this embodiment monitors the temperature of the electronic equipment when the screen of the electronic equipment is in a display state, detects whether the electronic equipment is in a shooting state when the temperature of the electronic equipment is greater than a first preset temperature value, and displays a shooting preview picture in a local area of the screen if the electronic equipment is in the shooting state; according to the technical scheme, the power consumption of the screen is reduced by reducing the display area of the shooting preview picture in the screen, the heat productivity of the screen is reduced, and the purpose of controlling the temperature rise of the electronic equipment is achieved.
Further, please refer to fig. 3, fig. 3 is a schematic flow chart of another embodiment of a temperature rise control method of an electronic device according to the present invention; the method in this embodiment comprises the following steps.
Step S300, detecting the state of the screen of the electronic equipment.
The state of the screen of the electronic device is detected to be in a display state or a non-display state, namely, a screen-off state, that is, a state in which the screen backlight does not work.
Step S310, determining whether the screen of the electronic device is in a display state.
In this step, if the screen of the electronic device is judged to be in the display state, the next step is entered, and if the screen of the electronic device is judged to be in the non-display state, the step S300 is returned to, and the state of the screen of the electronic device is re-detected.
Step S320, monitoring the temperature of the electronic device.
In step S320, optionally, please continue to refer to fig. 2, fig. 2 is a flowchart illustrating an embodiment of a method for monitoring a temperature of an electronic device, where the method for monitoring the temperature of the electronic device specifically includes the following steps.
Step S200, collecting temperature values of two or more temperature sensors in the electronic equipment.
In this embodiment, two or more temperature sensors to be collected are distributed at different positions of the electronic device, and optionally, the temperature sensors are at least used for detecting temperature values of a CPU, a battery, a camera module, or the like of the electronic device or a region in the vicinity thereof.
For example, a Negative Temperature Coefficient thermistor (NTC) is disposed near a CPU, a battery, or a camera module, and a signal thereof is connected to a CPU of an electronic device. According to the characteristics of the NTC resistor, the NTC can generate different voltages of the NTC resistor in different temperature environments; the current temperature value of the camera module and the temperature value of the adjacent area of the camera module are measured by monitoring the voltage value of the negative temperature coefficient thermistor.
In step S201, an average value of the temperature values is calculated.
In this step, the collected temperature values of the temperature sensors in the electronic device are averaged to obtain an average value of the temperature values.
In step S202, the average value is used as a temperature value of the electronic device.
In this embodiment, by calculating the average value of the temperatures of the plurality of positions of the electronic device, compared with the case that the determination is made only by using the temperature value of one position of the electronic device in the prior art, the temperature of the electronic device can be obtained more accurately and comprehensively, and the temperature control process can be more accurate.
Step S330, determining whether the temperature of the electronic device is greater than a first preset temperature value.
In the step, if the temperature of the electronic equipment is judged to be greater than a first preset temperature value, the next step is carried out; and if the temperature of the electronic equipment is not greater than the first preset temperature value, returning to the step S320, and monitoring the temperature of the electronic equipment again.
Optionally, in this embodiment, the first preset temperature value may be 60 degrees celsius, 70 degrees celsius, and the like, and a person skilled in the art may set the first preset temperature value according to a heat dissipation condition of the electronic device and performance indexes of each functional element, and the like, which is not specifically limited herein.
In step S340, it is detected whether the electronic device is in a shooting state.
When the temperature of the electronic equipment is higher than a first preset temperature value, it is indicated that the electronic equipment needs to be subjected to temperature rise control, and whether the electronic equipment is in a shooting state or not is detected. And the determination of the shooting state may be made by whether the camera is working and whether the screen is displaying a preview picture, etc. In the step, if the electronic equipment is in a shooting state, entering the next step; if the electronic apparatus is not in the photographing state, it proceeds to step S370 to end the entire flow.
In step S350, the shooting preview screen is displayed in a partial area of the screen.
In this step, the shooting preview image is displayed in a partial area of the screen, which means that the shooting preview image is displayed in a non-full screen manner, for example, only a part of the middle or corner of the screen is used as a display area, and other areas of the screen are in a screen-off state, i.e., a state where the backlight is not operated.
And step S360, reducing the display brightness of the screen.
In this step, reducing the display brightness of the screen means displaying the screen in a state lower than a preset brightness to further reduce the power consumption of the screen.
Step S370, end.
The method for controlling temperature rise of electronic equipment provided by this embodiment monitors the temperature of the electronic equipment when the screen of the electronic equipment is in a display state, detects whether the electronic equipment is in a shooting state when the temperature of the electronic equipment is greater than a first preset temperature value, and displays a shooting preview picture in a local area of the screen if the electronic equipment is in the shooting state, and reduces the display brightness of the screen at the same time; according to the technical scheme, the power consumption of the screen is reduced by reducing the display area of the shot preview picture in the screen and reducing the display brightness of the screen, the heat productivity of the screen is reduced, and the purpose of controlling the temperature rise of the electronic equipment is achieved.
Referring to fig. 4, fig. 4 is a schematic flow chart of another embodiment of a temperature rise control method of an electronic device according to the present invention, the method of the embodiment includes the following steps.
Step S400, detecting the state of the screen of the electronic equipment.
The state of the screen of the electronic device is detected to be in a display state or a non-display state, namely, a screen-off state, that is, a state in which the screen backlight does not work.
Step S401, determining whether the screen of the electronic device is in a display state.
In this step, if the screen of the electronic device is judged to be in the display state, the next step is entered, and if the screen of the electronic device is judged to be in the non-display state, the step S400 is returned to, and the state of the screen of the electronic device is re-detected.
Step S402, monitoring the temperature of the electronic equipment.
In step S402, optionally, please continue to refer to fig. 2, fig. 2 is a flowchart illustrating an embodiment of a method for monitoring a temperature of an electronic device, where the method for monitoring the temperature of the electronic device specifically includes the following steps.
Step S200, collecting temperature values of two or more temperature sensors in the electronic equipment.
In this embodiment, two or more temperature sensors to be collected are distributed at different positions of the electronic device, and optionally, the temperature sensors are at least used for detecting temperature values of a CPU, a battery, a camera module, or the like of the electronic device or a region in the vicinity thereof.
In step S201, an average value of the temperature values is calculated.
In this step, the collected temperature values of the temperature sensors in the electronic device are averaged to obtain an average value of the temperature values.
In step S202, the average value is used as a temperature value of the electronic device.
In this embodiment, by calculating the average value of the temperatures of the plurality of positions of the electronic device, compared with the case that the determination is made only by using the temperature value of one position of the electronic device in the prior art, the temperature of the electronic device can be obtained more accurately and comprehensively, and the temperature control process can be more accurate.
Step S403, determining whether the temperature of the electronic device is greater than a first preset temperature value.
In the step, if the temperature of the electronic equipment is judged to be greater than a first preset temperature value, the next step is carried out; and if the temperature of the electronic equipment is not larger than the first preset temperature value, returning to the step S402, and monitoring the temperature of the electronic equipment again.
Optionally, in this embodiment, the first preset temperature value may be 60 degrees celsius, 70 degrees celsius, and the like, and a person skilled in the art may set the first preset temperature value according to a heat dissipation condition of the electronic device and performance indexes of each functional element, and the like, which is not specifically limited herein.
Step S404, detecting whether the electronic device is in a shooting state.
When the temperature of the electronic equipment is higher than a first preset temperature value, it is indicated that the electronic equipment needs to be subjected to temperature rise control, and whether the electronic equipment is in a shooting state or not is detected. And the determination of the shooting state may be made by whether the camera is working and whether the screen is displaying a preview picture, etc. In the step, if the electronic equipment is in a shooting state, entering the next step; if the electronic apparatus is not in the shooting state, the flow proceeds to step S413 to end the entire flow.
In step S405, the shooting preview screen is displayed in a partial area of the screen.
In this step, the shooting preview image is displayed in a partial area of the screen, which means that the shooting preview image is displayed in a non-full screen manner, for example, only a part of the middle or corner of the screen is used as a display area, and other areas of the screen are in a screen-off state, i.e., a state where the backlight is not operated.
In step S406, the display brightness of the screen is reduced.
In this step, reducing the display brightness of the screen means displaying the screen in a state lower than a preset brightness to further reduce the power consumption of the screen.
Step S407, the temperature of the electronic device is monitored.
In this step, the temperature at multiple locations of the electronic device may also be monitored, and the specific method and process are described in detail with reference to fig. 2.
Step S408, determining whether the temperature of the electronic device is less than a second preset temperature value.
In the step, if the temperature of the electronic equipment is judged to be less than a second preset temperature value, the next step is carried out; and if the temperature of the electronic equipment is not less than the second preset temperature value, returning to the step S407, and monitoring the temperature of the electronic equipment again.
Optionally, in this embodiment, the second preset temperature value may be 40 degrees celsius or 50 degrees celsius, and the second preset temperature value is smaller than the first preset temperature value. Of course, a person skilled in the art can set the first and second preset temperature values according to the heat dissipation condition of the electronic device and the performance index of each functional element, and the like, which is not limited herein.
In step S409, the shooting preview screen is displayed in full screen.
Generally, after the method in steps S405 and S406, the temperature of the electronic device may gradually decrease, and when the temperature decreases below the second preset temperature value, the captured preview screen may be displayed in a full screen, and a step (not shown) of increasing the screen display brightness may be included.
In step S410, an application program being run by the electronic device is detected.
In step S411, it is determined whether the electronic device is running an application corresponding to a specific category.
In this step, please refer to fig. 5 for a method for setting an application program of a specific category, and fig. 5 is a flowchart illustrating an embodiment of the method for setting an application program of a specific category, which includes the following steps.
Step S501, setting a power consumption threshold;
in this step, the power consumption amount threshold may be a value in milliampere hours of power consumed per minute; such as 50mAh/min, etc., which can be set by those skilled in the art according to the actual situation of the electronic device, and is not limited herein.
In step S502, the power consumption of each application is compared with the threshold.
In step S503, it is determined whether the power consumption of the application is greater than the threshold.
After step S503, comparing the power consumption of each application with the threshold, if the power consumption of the application is greater than the threshold, then step S504 is performed, and the application with the power consumption greater than the threshold is classified as a first type application; if the result of determining whether the power consumption of the application is greater than the threshold value is negative, the process proceeds to step S505, and the application with the power consumption less than or equal to the threshold value is classified as the second type of application.
Further, referring to fig. 6, fig. 6 is a flowchart illustrating another embodiment of a method for setting a specific type of application program, in which the method for setting a specific type of application program includes the following steps.
In step S601, power consumption of the application program is ranked.
In this step, the power consumption of all applications in the electronic device is measured and ranked.
In step S602, a predetermined number of applications that consume a large amount of power and are ranked top are classified as first-class applications.
In step S603, the other ranked applications with low power consumption are classified as the first type of applications.
The predetermined number may be one half, one third or other proportional number of the detected power consumption application program, and may be set by a person skilled in the art according to the power consumption condition of the electronic device, the heat dissipation condition, etc., where the predetermined number may not be specifically limited.
In step S410, detecting the application program being run by the electronic device specifically includes: the method includes detecting which applications (including game programs, video programs, chat programs, banking programs, etc.) are being executed by the electronic device and classifying the applications according to power consumption of the executed applications, wherein the applications are classified into two types in the embodiment of the present invention, and of course, in other embodiments, the applications may be further classified into a plurality of categories, such as three types or four types, according to the power consumption, and details thereof are not described herein within the understanding range of those skilled in the art. In which each application is classified into either a first type or a second type of application.
Further, referring to fig. 7, fig. 7 is a flowchart illustrating a method for setting a specific type of application according to another embodiment, the method including: step S701, ranking the use frequency of the application program; the obtaining method of the use frequency may be the number of times that each application program in the electronic device is used is recorded through a period of time, and the use frequency is the ratio of the use frequency to the time in the period of time; step S702, classifying the preset number of application programs which are used frequently and ranked at the top into a third type of application programs; and step S703, classifying the rest of application programs which are used frequently and ranked as fourth type of application programs.
Preferably, applications belonging to both the first and fourth categories are set as application programs of the specific category, that is, applications with high power consumption and low frequency of use are set as application programs of the specific category, please refer to fig. 8, where fig. 8 is a schematic block diagram of a setting intersection of application programs of the specific category. In the figure, reference numeral 801 denotes a first type of application, reference numeral 802 denotes a fourth type of application, and intersection 803 denotes a set specific type of application.
In step S411, if it is determined that the electronic device is running the application program corresponding to the specific category, the next step is performed; if the electronic device is not running the application corresponding to the specific category, the method returns to step S410 to re-detect the application running on the electronic device.
Step S412, closing the application program corresponding to the specific category or adjusting the running state of the application program corresponding to the specific category.
In this step, the step of closing the application program corresponding to the specific category may be to automatically close the first category of application program for the electronic device, or pop up a dialog box on the display screen to prompt the user to close the first category of application program, so that the user can perform an operation and selection by himself. And adjusting the running state of the application program corresponding to the specific category can be adjusting the application program to be in a low power consumption mode or a background running mode.
Step S413 ends.
The method for controlling temperature rise of electronic equipment provided by this embodiment monitors the temperature of the electronic equipment when the screen of the electronic equipment is in a display state, detects whether the electronic equipment is in a shooting state when the temperature of the electronic equipment is greater than a first preset temperature value, and displays a shooting preview picture in a local area of the screen if the electronic equipment is in the shooting state, and reduces the display brightness of the screen at the same time; furthermore, the power consumption of the electronic equipment is further controlled by changing the running state of the preset application program, and the purpose of controlling the temperature rise of the electronic equipment is further achieved.
Further, an embodiment of the present invention further provides an electronic device, please refer to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of the electronic device of the present invention, and the electronic device 900 may be a mobile phone, a tablet computer, a notebook computer, a wearable device, and the like; the structure thereof may include an RF circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wifi module 970, a processor 980, a power supply 990, and the like. Wherein the RF circuit 910, the memory 920, the input unit 930, the display unit 940, the sensor 950, the audio circuit 960, and the wifi module 970 are respectively connected with the processor 980; the power supply 990 is used to supply power to the entire electronic device 900.
Specifically, the RF circuit 910 is used for transmitting and receiving signals; the memory 920 is used for storing data instruction information; the input unit 930 is used for inputting information, and may specifically include a touch panel 931 and other input devices 932 such as operation keys; the display unit 940 may include a display panel 941; the sensor 950 includes an infrared sensor, a laser sensor, etc. for detecting a user approach signal, a distance signal, etc.; a speaker 961 and a microphone 962 are connected to the processor 980 through the audio circuit 960 for emitting and receiving sound signals; the wifi module 970 is then used for receiving and transmitting wifi signals.
The processor 980 is also configured to detect a status of a screen of the electronic device; if the screen of the electronic equipment is in a display state, monitoring the temperature of the electronic equipment; if the temperature of the electronic equipment is greater than a first preset temperature value, detecting whether the electronic equipment is in a shooting state; and if the electronic equipment is in a shooting state, displaying a shooting preview picture in a local area of a screen. The memory 920 is used for storing information such as operating instructions of the processor 980. For the specific operation flow of the processor 980, please refer to the detailed description of the above method embodiments.
In addition, an embodiment of the present invention further provides a temperature rise control device for an electronic apparatus, please refer to fig. 10, where fig. 10 is a block diagram illustrating a structure of an embodiment of the temperature rise control device for an electronic apparatus according to the present invention, and the device includes, but is not limited to, the following modules: a screen state detection module 1010, a temperature monitoring module 1020, a photographing state detection module 1030, and an execution module 1040.
Specifically, the screen state detection module 1010 is configured to detect a state of a screen of the electronic device; the temperature monitoring module 1020 is configured to monitor the temperature of the electronic device when the screen of the electronic device is in a display state; the shooting state detection module 1030 is configured to detect whether the electronic device is in a shooting state when the temperature of the electronic device is greater than a first preset temperature value; the execution module 1040 is configured to display a shooting preview image in a local area of a screen when the electronic device is in a shooting state.
For specific work flows of the screen state detecting module 1010, the temperature monitoring module 1020, the shooting state detecting module 1030, and the executing module 1040, please refer to the related descriptions in the above method embodiments, which are not described herein again.
Referring to fig. 11, fig. 11 is a schematic structural diagram of an electronic device according to another embodiment of the present invention, where the electronic device includes a processor 1111 and a memory 1112. The processor 1111 is coupled to the memory 1112.
Specifically, the processor 1111 detects a state of the screen of the electronic device; if the screen of the electronic equipment is in a display state, monitoring the temperature of the electronic equipment; if the temperature of the electronic equipment is greater than a first preset temperature value, detecting whether the electronic equipment is in a shooting state; and if the electronic equipment is in a shooting state, displaying a shooting preview picture in a local area of a screen. The memory 1112 is used for storing information such as operating instructions of the processor 1111. For the specific operation flow of the processor 1111, please refer to the detailed description of the method embodiment.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a storage medium according to an embodiment of the invention.
The storage medium 1200 stores program data 1201, and the program data 1201 can be executed to implement the temperature rise control method for charging the electronic device described in the above embodiments, which is not described herein again.
As will be understood by those skilled in the art, the storage medium 1200 may be a physical storage medium such as a usb disk and an optical disk, or may be a virtual storage medium such as a server.
In the several embodiments provided in the present invention, it should be understood that the disclosed method, apparatus and device may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
According to the electronic equipment and the storage medium provided by the embodiment of the invention, when the screen of the electronic equipment is in a display state, the temperature of the electronic equipment is monitored, whether the electronic equipment is in a shooting state or not is detected when the temperature of the electronic equipment is greater than a first preset temperature value, and at the moment, if the electronic equipment is in the shooting state, a shooting preview picture is displayed in a local area of the screen; according to the technical scheme, the power consumption of the screen is reduced by reducing the display area of the shooting preview picture in the screen, the heat productivity of the screen is reduced, and the purpose of controlling the temperature rise of the electronic equipment is achieved.
The above description is only a part of the embodiments of the present invention, and not intended to limit the scope of the present invention, and all equivalent devices or equivalent processes performed by the present invention through the contents of the specification and the drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (5)

1. A method for controlling temperature rise of electronic equipment is characterized by comprising the following steps:
detecting the state of a screen of the electronic equipment;
if the screen of the electronic equipment is in a display state, collecting temperature values of two or more temperature sensors in the electronic equipment, calculating an average value of the temperature values, and taking the average value as the temperature of the electronic equipment; the temperature sensor is used for detecting the temperature value of a CPU, a battery, a camera module or a nearby area of the electronic equipment;
if the temperature of the electronic equipment is greater than a first preset temperature value, detecting whether the electronic equipment is in a shooting state;
if the electronic equipment is in a shooting state, displaying a shooting preview picture in a local area of a screen, and enabling other areas of the screen to be in a screen-off state;
reducing the display brightness of the screen;
monitoring the temperature of the electronic equipment again, and if the temperature of the electronic equipment is less than a second preset temperature value, enabling a shooting preview picture to be displayed in a full screen mode;
detecting the application program which is running by the electronic equipment, and closing the application program corresponding to the specific category or adjusting the running state of the application program corresponding to the specific category when the application program corresponding to the specific category is running by the electronic equipment.
2. The method according to claim 1, wherein the specific category of application programs is set by: setting a power consumption threshold, and comparing the power consumption of each application program with the threshold, wherein the application programs with the power consumption larger than the threshold are classified as first-class application programs; and classifying the application programs with the power consumption less than or equal to the threshold value into a second type of application programs, and setting the first type of application programs as specific type of application programs.
3. A control device for temperature rise of an electronic device, the control device comprising:
the screen state detection module is used for detecting the state of the screen of the electronic equipment;
the temperature monitoring module is used for collecting temperature values of two or more temperature sensors in the electronic equipment when the screen of the electronic equipment is in a display state, calculating an average value of the temperature values, and taking the average value as the temperature of the electronic equipment; the temperature sensor is used for detecting the temperature value of a CPU, a battery, a camera module or a nearby area of the electronic equipment;
the shooting state detection module is used for detecting whether the electronic equipment is in a shooting state or not when the temperature of the electronic equipment is greater than a first preset temperature value;
the electronic equipment comprises an execution module, a display module and a display module, wherein the execution module is used for displaying a shooting preview picture in a local area of a screen and enabling other areas of the screen to be in a screen-off state when the electronic equipment is in a shooting state, reducing the display brightness of the screen, displaying the shooting preview picture in a full screen when the temperature of the electronic equipment is lower than a second preset temperature value, detecting an application program which is running on the electronic equipment, and closing the application program corresponding to a specific category or adjusting the running state of the application program corresponding to the specific category when the electronic equipment is running the application program corresponding to the specific category.
4. An electronic device, comprising a processor and a memory, the processor coupled to the memory, the processor being operative to execute instructions to implement the method of any of claims 1-2.
5. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method according to any of claims 1-2.
CN201710555216.8A 2017-07-10 2017-07-10 Electronic device, temperature rise control method, control device, and storage medium Expired - Fee Related CN107423197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710555216.8A CN107423197B (en) 2017-07-10 2017-07-10 Electronic device, temperature rise control method, control device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710555216.8A CN107423197B (en) 2017-07-10 2017-07-10 Electronic device, temperature rise control method, control device, and storage medium

Publications (2)

Publication Number Publication Date
CN107423197A CN107423197A (en) 2017-12-01
CN107423197B true CN107423197B (en) 2021-02-09

Family

ID=60427824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710555216.8A Expired - Fee Related CN107423197B (en) 2017-07-10 2017-07-10 Electronic device, temperature rise control method, control device, and storage medium

Country Status (1)

Country Link
CN (1) CN107423197B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6965212B2 (en) * 2018-06-25 2021-11-10 矢崎総業株式会社 Vehicle display device
CN111007931B (en) * 2019-12-09 2021-06-29 Oppo广东移动通信有限公司 Temperature control method, temperature control device, storage medium and electronic equipment
CN110928387B (en) * 2019-12-09 2021-08-31 Oppo广东移动通信有限公司 Temperature control method, temperature control device, storage medium and electronic equipment
CN111290553B (en) * 2020-01-21 2022-01-07 Oppo广东移动通信有限公司 Temperature control method, temperature control device, storage medium and electronic equipment
CN111475384B (en) * 2020-05-07 2022-12-20 Oppo广东移动通信有限公司 Shell temperature calculation method and device, storage medium and electronic equipment
CN113391661B (en) * 2021-06-30 2022-07-12 延锋伟世通电子科技(南京)有限公司 Vehicle-mounted display temperature control method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634976A (en) * 2012-08-29 2014-03-12 深圳富泰宏精密工业有限公司 Backlight module control circuit
CN105094257B (en) * 2015-09-25 2018-06-26 维沃移动通信有限公司 A kind of method and electronic equipment of control electronics Wen Sheng
CN106817608A (en) * 2015-11-27 2017-06-09 小米科技有限责任公司 Realize the method and device of local display
CN105892613A (en) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 Method and apparatus for clearing background applications
CN105679219B (en) * 2016-03-25 2019-04-02 深圳市华星光电技术有限公司 AMOLED display panel testing method and detection device

Also Published As

Publication number Publication date
CN107423197A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107423197B (en) Electronic device, temperature rise control method, control device, and storage medium
EP2682715B1 (en) Portable electronic device
CN111052035B (en) Electronic device and operation control method thereof
EP2857944A1 (en) Mobile communication terminal, screen adjusting method and storage medium
CN107302633B (en) Application control method, device, storage medium and electronic equipment
KR102593811B1 (en) Structure for detecting temperature of electronic device
KR102532390B1 (en) IoT device alarm rule configuration method and device, device, and storage medium
KR20200070630A (en) Electronic device and method for adjusting charge cycle or discharge cycle of battery
CN108474823B (en) Method and device for estimating temperature
CN107423199A (en) Electronic equipment, temperature rise control method, control device and storage medium
CN112398819A (en) Method and device for recognizing abnormality
CN107221984B (en) Terminal device, temperature rise control method and device during charging of terminal device, and storage medium
CN107426417B (en) Terminal device, temperature rise control method and device during charging of terminal device, and storage medium
CN108965606B (en) Method and device for determining ambient temperature
CN106092058B (en) Processing method, device and the terminal of information data
WO2018218686A1 (en) Method for detecting swelling of rechargeable battery, and portable electronic device
WO2021218634A1 (en) Content pushing
CN110955580B (en) Shell temperature acquisition method and device, storage medium and electronic equipment
US11686776B2 (en) Prediction method and apparatus of battery health, and storage medium
CN107479666B (en) Terminal device, temperature rise control method, control device, and storage medium
CN107422818B (en) Electronic device, temperature rise control method, control device, and storage medium
CN113222771B (en) Method and device for determining target group based on knowledge graph and electronic equipment
CN105070965B (en) Charging method, device and the terminal of terminal
CN112857613A (en) Method and device for determining shell temperature, storage medium and electronic equipment
CN113029387A (en) Temperature measuring method, temperature measuring device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210209

CF01 Termination of patent right due to non-payment of annual fee