CN107426417B - Terminal device, temperature rise control method and device during charging of terminal device, and storage medium - Google Patents

Terminal device, temperature rise control method and device during charging of terminal device, and storage medium Download PDF

Info

Publication number
CN107426417B
CN107426417B CN201710499672.5A CN201710499672A CN107426417B CN 107426417 B CN107426417 B CN 107426417B CN 201710499672 A CN201710499672 A CN 201710499672A CN 107426417 B CN107426417 B CN 107426417B
Authority
CN
China
Prior art keywords
application program
terminal equipment
charging
power consumption
type
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.)
Active
Application number
CN201710499672.5A
Other languages
Chinese (zh)
Other versions
CN107426417A (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 CN201710499672.5A priority Critical patent/CN107426417B/en
Publication of CN107426417A publication Critical patent/CN107426417A/en
Application granted granted Critical
Publication of CN107426417B publication Critical patent/CN107426417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • 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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides a terminal device, a temperature rise control method and a temperature rise control device thereof during charging and a storage medium, wherein the temperature rise control method comprises the following steps: measuring the power consumption of each application program in the terminal equipment during operation, and dividing the application programs into at least a first type of application program and a second type of application program according to the power consumption; detecting whether the terminal equipment is in a charging state; if the terminal equipment is in a charging state, detecting an application program which is running by the terminal equipment; and charging the terminal equipment in a constant current mode or a constant voltage mode according to the class corresponding to the application program which is running on the terminal equipment. Compared with the prior art, the terminal equipment, the temperature rise control method and device during charging and the storage medium thereof can realize the control of the temperature rise during charging of the terminal equipment in the operating state so as to avoid overhigh temperature rise of the terminal equipment.

Description

Terminal device, temperature rise control method and device during charging of terminal device, and storage medium
Technical Field
The invention relates to the technical field of terminal equipment control, in particular to a terminal equipment, a temperature rise control method and device during charging of the terminal equipment and a storage medium.
Background
With the development of terminal devices, mobile phones have become an indispensable part of people's work and life. At present, most smart phones have the problem of overlarge power consumption, and meanwhile, the development of the current battery technology is relatively delayed, so that smart phones with powerful functions often have no cruising ability expected by people.
Therefore, the smart phone is frequently charged, and with the development of charging technology and the requirement of people on short charging time, the charging current of the smart phone is basically about 1A, and some smart phones are even larger. As is well known, the temperature rise of the mobile phone during charging is very significant, and the temperature rise is more significant when the current is larger.
On the other hand, due to the dependence of people on the smart phone, the charging of the smart phone is often performed in a non-standby state (i.e., a use state). However, due to the relative lag in the development of the existing battery technology, the temperature rise during charging of the smart phone is very significant, and if a user operates the smart phone while charging (i.e., charges the smart phone in a non-standby state), the temperature rise becomes abnormally significant, and even the user feels hot when touching the smart phone, which greatly affects the user experience, and even more seriously, too high temperature rise can cause a safety problem in use of the terminal device. Therefore, it is necessary to control the temperature rise at the time of charging the terminal device.
Disclosure of Invention
In order to solve the above problem, an embodiment of the present invention provides a temperature rise control method for a terminal device during charging, where the method includes:
measuring the power consumption of each application program in the terminal equipment during operation, and dividing the application programs into at least a first type of application program and a second type of application program according to the power consumption;
detecting whether the terminal equipment is in a charging state;
if the terminal equipment is in a charging state, detecting an application program which is running by the terminal equipment;
and charging the terminal equipment in a constant current mode or a constant voltage mode according to the class corresponding to the application program which is running on the terminal equipment.
In order to solve the above technical problem, another aspect of the embodiments of the present invention further provides a temperature rise control device for charging a terminal device, where the temperature rise control device includes:
the power consumption detection module of the application program is used for measuring the power consumption of each application program in the terminal equipment during operation and dividing the application programs into at least a first type of application program and a second type of application program according to the power consumption;
the charging state detection module is used for detecting whether the terminal equipment is in a charging state or not;
the application program running state detection module is used for detecting the application program running in the terminal equipment;
and the charging module is used for charging the terminal equipment in a constant current mode or a constant voltage mode according to the type corresponding to the application program which is running on the terminal equipment.
Further, an embodiment of the present invention also provides a terminal device, where the terminal device 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 foregoing 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.
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 flowchart of a method for controlling temperature rise during charging of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a temperature rise control method for charging a terminal device according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating an embodiment of measuring power consumption of an application running in a terminal device and performing statistical recording on the power consumption of the application;
fig. 4 is a schematic flowchart of another embodiment of measuring power consumption of an application program in a terminal device during operation and performing statistical recording on the power consumption of the application program;
fig. 5 is a schematic flowchart of a temperature rise control method for charging a terminal device according to another embodiment of the present invention;
fig. 6 is a schematic flowchart of a temperature rise control method for charging a terminal device according to still another embodiment of the present invention;
fig. 7 is a block diagram illustrating the structure of an embodiment of the temperature rise control apparatus according to the present invention;
fig. 8 is a schematic structural component diagram of an embodiment of a terminal device according to the present invention;
FIG. 9 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 illustrating a method for controlling temperature rise during charging of a terminal device according to an embodiment of the present invention; it should be noted that the terminal device referred to in the present invention includes a mobile phone, a tablet computer, a notebook computer, and the like. The method includes, but is not limited to, the following steps.
And step S100, measuring the power consumption of each application program in the terminal equipment during operation, and dividing the application programs into at least a first type of application program and a second type of application program according to the power consumption.
In this step, the first type of application may be a power-hungry application, and the second type of application may be a relatively power-hungry application. For a specific classification method, please refer to the detailed description of the following embodiments. Correspondingly, the step can also include a process of storing the power consumption corresponding list of the application program, so that the subsequent steps can search for the correspondence.
Step S110, detecting whether the terminal device is in a charging state.
The specific method of this step may be to detect the operating state of the charging circuit, or to detect whether the charging prompt is turned on, or the like. Specific detection methods are within the understanding of those skilled in the art and are not listed here.
Step S120, if the terminal device is in the charging state, detecting an application program being run by the terminal device.
In this step, if the terminal device is in a non-charging state, all subsequent steps of the method are stopped. The application program for detecting the terminal device running comprises the following steps: the specific process of detecting which applications are running and classifying the applications according to the power consumption of the running applications will be described in detail in the following embodiment.
And step S130, charging the terminal equipment in a constant current mode or a constant voltage mode according to the type corresponding to the application program which is running on the terminal equipment.
In step S130, the constant current charging method is generally smaller in charging current than the constant voltage charging method. Therefore, when the application program running when the terminal device is in the charging state is the first type application program (application program with large power consumption), the terminal device is charged in a constant current mode; and when the application program running when the terminal device is in the charging state is the second type of application program (application program with relatively small power consumption), the terminal device is charged in a constant current mode. Of course, this step should also include the case where the terminal device runs the first type application and the second type application at the same time, and this case will be described in detail in the following embodiments.
Compared with the prior art, the temperature rise control method for the terminal equipment during charging provided by the invention has the advantages that the power consumption of each application program in the terminal equipment during operation is measured, the application programs are classified and stored according to the power consumption, then the application programs which are in operation in the charging process of the terminal equipment and the power consumption condition of the application programs are detected, and the terminal equipment is charged in a constant current mode or a constant voltage mode according to the class corresponding to the application programs in operation of the terminal equipment. And then realize the control to the temperature rise when terminal equipment charges under the operating condition to avoid terminal equipment's temperature rise too high.
Further, please refer to fig. 2, fig. 2 is a schematic flow chart illustrating a temperature rise control method for charging a terminal device according to another embodiment of the present invention; the method in this embodiment comprises the steps of:
and step S200, measuring the power consumption of the application program in the terminal equipment during running, and carrying out statistical recording on the power consumption of the application program.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an embodiment of measuring power consumption of an application in a terminal device during running and performing statistical recording on the power consumption of the application; in step S200, a specific method for measuring power consumption of the terminal device during the running of the application program and statistically recording the power consumption of the application program may specifically include the following steps:
step S301, 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 mobile terminal, and is not limited herein.
In step S302, the power consumption of each application is compared with the threshold.
In step S302, after comparing the power consumption of each application with the threshold, the applications 303 with the power consumption greater than the threshold are classified as the first type of applications; applications with power consumption less than or equal to the threshold are classified as a second type of application 304.
Further, please refer to fig. 4, fig. 4 is a schematic flowchart illustrating another embodiment of measuring power consumption of the terminal device during the operation of the application program and performing statistical recording on the power consumption of the application program; in step S200, a specific method for measuring power consumption of the terminal device during the running of the application program and statistically recording the power consumption of the application program may specifically include the following steps:
in step S401, power consumption amounts of the applications are ranked.
In this step, the power consumption of all applications in the terminal device is measured and ranked.
In step S402, a predetermined number of applications with high power consumption and ranked top are classified as first-class applications.
In step S403, 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 application program with the detected power consumption, and may be set by those skilled in the art according to the power condition of the terminal device, the heat dissipation condition, etc., and the predetermined number may not be specifically limited herein.
Step S210, detecting whether the terminal device is in a charging state.
The specific method of this step may be to detect the operating state of the charging circuit, or to detect whether the charging prompt is turned on, or the like. Specific detection methods are within the understanding of those skilled in the art and are not listed here.
In this step, if it is detected that the terminal device is in a charging state, the next step is performed, and if it is detected that the terminal device is in a non-charging state, the step S300 is performed to end the entire process.
Step S220, detecting an application program running on the terminal device.
In this step, detecting the application program being run by the terminal device specifically includes: the method includes detecting which applications (including game programs, video programs or chat programs, banking programs and the like) are running on the terminal device and classifying the applications according to the power consumption of the running applications, wherein the applications are classified into two types in the embodiment of the present invention, and of course, in other embodiments, the applications can be further subdivided into a plurality of categories, such as three types or four types, according to the power consumption, and the details are not described herein again within the understanding range of those skilled in the art. In which the individual applications are classified into either a first type or a second type of application.
Step S230, determining whether all the running applications are the first type of applications when the terminal device is in the charging state.
In step S230, when it is determined that all the application programs running in the charging state of the terminal device are the first type of application program, the process proceeds to step S240; if it is determined that the applications running in the charging state of the terminal device are not all the first type applications, the process proceeds to step S250.
And step S240, charging the terminal equipment in a constant current mode.
Preferably, in the embodiment of the present invention, the constant current charging mode has a charging current smaller than that of the constant voltage charging mode.
Step S250, determining whether all the application programs running while the terminal device is in the charging state are the second type application programs.
In step S250, when it is determined that all the application programs running in the charging state of the terminal device are the second type of application programs, the process proceeds to step S260; if it is determined that the applications running in the charging state of the terminal device are not all the second type of applications, the process proceeds to step S270.
And step S260, charging the terminal equipment in a constant voltage mode.
In this embodiment, the charging may be performed with a constant voltage of 5V.
After the two determinations in steps S230 and S250, if the configuration is negative, it indicates that the applications running while the terminal device is in the charging state include both the first type of application and the second type of application.
Step S270, determining whether the ratio of the first type of application program reaches a preset ratio value.
In step S270, if it is determined that the ratio of the first type of application program reaches the preset ratio value, the process proceeds to step S280; if the ratio of the first type of application program does not reach the preset ratio value, the process proceeds to step S290.
And step S280, charging the terminal equipment in a constant current mode.
And step S290, charging the terminal equipment in a constant voltage mode.
And step S300, ending.
In addition, in the embodiment, the magnitude of the charging current can be controlled in real time according to the temperature rise condition.
Compared with the prior art, the temperature rise control method for the terminal equipment during charging provided by the invention has the advantages that the power consumption of each application program in the terminal equipment during operation is measured, the application programs are classified and stored according to the power consumption, then the application programs which are in operation in the charging process of the terminal equipment and the power consumption condition of the application programs are detected, and the terminal equipment is charged in a constant current mode or a constant voltage mode according to the class corresponding to the application programs in operation of the terminal equipment. And then realize the control to the temperature rise when terminal equipment charges under the operating condition to avoid terminal equipment's temperature rise too high.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a temperature rise control method for charging a terminal device according to another embodiment of the present invention. The method in this embodiment comprises the steps of:
and step S500, measuring the power consumption of the application program in the terminal equipment during running, and carrying out statistical recording on the power consumption of the application program.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an embodiment of measuring power consumption of an application in a terminal device during running and performing statistical recording on the power consumption of the application; in step S500, a specific method for measuring power consumption of the terminal device during the running of the application program and statistically recording the power consumption of the application program may specifically include the following steps:
step S301, 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 mobile terminal, and is not limited herein.
In step S302, the power consumption of each application is compared with the threshold.
In step S302, after comparing the power consumption of each application with the threshold, the applications 303 with the power consumption greater than the threshold are classified as the first type of applications; applications with power consumption less than or equal to the threshold are classified as a second type of application 304.
Further, please refer to fig. 4, fig. 4 is a schematic flowchart illustrating another embodiment of measuring power consumption of the terminal device during the operation of the application program and performing statistical recording on the power consumption of the application program; in step S500, a specific method for measuring power consumption of the terminal device during the running of the application program and statistically recording the power consumption of the application program may specifically include the following steps:
in step S401, power consumption amounts of the applications are ranked.
In this step, the power consumption of all applications in the terminal device is measured and ranked.
In step S402, a predetermined number of applications with high power consumption and ranked top are classified as first-class applications.
In step S403, 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 application program with the detected power consumption, and may be set by those skilled in the art according to the power condition of the terminal device, the heat dissipation condition, etc., and the predetermined number may not be specifically limited herein.
Step S510, detecting whether the terminal device is in a charging state.
The specific method of this step may be to detect the operating state of the charging circuit, or to detect whether the charging prompt is turned on, or the like. Specific detection methods are within the understanding of those skilled in the art and are not listed here.
In this step, if it is detected that the terminal device is in a charging state, the next step is performed, and if it is detected that the terminal device is in a non-charging state, the step S600 is performed to end the entire process.
Step S520, detecting the application program running on the terminal device.
In this step, detecting the application program being run by the terminal device specifically includes: the method includes detecting which applications (including game programs, video programs or chat programs, banking programs and the like) are running on the terminal device and classifying the applications according to the power consumption of the running applications, wherein the applications are classified into two types in the embodiment of the present invention, and of course, in other embodiments, the applications can be further subdivided into a plurality of categories, such as three types or four types, according to the power consumption, and the details are not described herein again within the understanding range of those skilled in the art. In which the individual applications are classified into either a first type or a second type of application.
Step S530, determining whether all the application programs running while the terminal device is in the charging state are the first type application programs.
In step S530, when it is determined that all the application programs running in the charging state of the terminal device are the first type application programs, the process proceeds to step S540; if it is determined that the applications running in the charging state of the terminal device are not all the first type applications, the process proceeds to step S550.
And step S540, charging the terminal equipment in a first constant current mode.
Preferably, the first constant current is smaller than the second constant current in the embodiment of the present invention.
In step S550, it is determined whether all the applications running while the terminal device is in the charging state are the second type of applications.
In step S550, when it is determined that all the application programs running in the charging state of the terminal device are the second type of application programs, the process proceeds to step S560; if it is determined that the applications running in the charging state of the terminal device are not all the second type applications, the process proceeds to step S570.
And step S560, charging the terminal equipment in a second constant current mode.
The second constant current may be 800 milliamps in this embodiment, and the second constant current may be 500 milliamps.
After the two determinations in steps S530 and S550, if the configuration is negative, the application programs running while the terminal device is in the charging state are described as including both the first type application programs and the second type application programs.
Step S570, determining whether the ratio of the first type of application program reaches a preset ratio value.
In step S570, if it is determined that the ratio of the first type of application program reaches the preset ratio value, the process proceeds to step S580; if it is determined that the ratio of the first type of application program does not reach the preset ratio value, the process proceeds to step S590.
In step S580, the terminal device is charged in the first constant current manner.
In step S590, the terminal device is charged in a first constant current manner.
And step S600, ending.
In addition, in the embodiment, the magnitude of the charging current can be controlled in real time according to the temperature rise condition. Compared with the prior art, the temperature rise control method for the terminal equipment during charging provided by the invention has the advantages that the power consumption of each application program in the terminal equipment during operation is measured, the application programs are classified and stored according to the power consumption, then the application programs which are in operation in the charging process of the terminal equipment and the power consumption condition of the application programs are detected, and the terminal equipment is charged in different constant current modes according to the classes corresponding to the application programs in operation of the terminal equipment. And then realize the control to the temperature rise when terminal equipment charges under the operating condition to avoid terminal equipment's temperature rise too high. Therefore, the temperature rise of the terminal equipment in the use state can be controlled while the charging efficiency is ensured.
Referring to fig. 6, fig. 6 is a flowchart illustrating a temperature rise control method for charging a terminal device according to another embodiment of the present invention. The method in this embodiment comprises the steps of:
and step S700, measuring the power consumption of the application program in the terminal equipment during running, and carrying out statistical recording on the power consumption of the application program.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an embodiment of measuring power consumption of an application in a terminal device during running and performing statistical recording on the power consumption of the application; in step S700, a specific method for measuring power consumption of the terminal device during application program operation and statistically recording the power consumption of the application program may specifically include the following steps:
step S301, 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 mobile terminal, and is not limited herein.
In step S302, the power consumption of each application is compared with the threshold.
In step S302, after comparing the power consumption of each application with the threshold, the applications 303 with the power consumption greater than the threshold are classified as the first type of applications; applications with power consumption less than or equal to the threshold are classified as a second type of application 304.
Further, please refer to fig. 4, fig. 4 is a schematic flowchart illustrating another embodiment of measuring power consumption of the terminal device during the operation of the application program and performing statistical recording on the power consumption of the application program; in step S700, a specific method for measuring power consumption of the terminal device during application program operation and statistically recording the power consumption of the application program may specifically include the following steps:
in step S401, power consumption amounts of the applications are ranked.
In this step, the power consumption of all applications in the terminal device is measured and ranked.
In step S402, a predetermined number of applications with high power consumption and ranked top are classified as first-class applications.
In step S403, 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 application program with the detected power consumption, and may be set by those skilled in the art according to the power condition of the terminal device, the heat dissipation condition, etc., and the predetermined number may not be specifically limited herein.
Step S710 detects whether the terminal device is in a charging state.
The specific method of this step may be to detect the operating state of the charging circuit, or to detect whether the charging prompt is turned on, or the like. Specific detection methods are within the understanding of those skilled in the art and are not listed here.
In this step, if it is detected that the terminal device is in a charging state, the next step is performed, and if it is detected that the terminal device is in a non-charging state, the step S760 is performed to end the entire process.
Step S720, detecting the application running on the terminal device.
In this step, detecting the application program being run by the terminal device specifically includes: the method includes detecting which applications (including game programs, video programs or chat programs, banking programs and the like) are running on the terminal device and classifying the applications according to the power consumption of the running applications, wherein the applications are classified into two types in the embodiment of the present invention, and of course, in other embodiments, the applications can be further subdivided into a plurality of categories, such as three types or four types, according to the power consumption, and the details are not described herein again within the understanding range of those skilled in the art. In which the individual applications are classified into either a first type or a second type of application.
Step S730, determining whether the application programs running while the terminal device is in the charging state include the first type application program.
In step S730, if it is determined that the application programs running while the terminal device is in the charging state include a first type of application program, the process proceeds to step S740; if the running application does not include the first type application when the terminal device is in the charging state, the process proceeds directly to S750.
Step S740, closing the first type application or prompting the user to close the first type application.
Specifically, in this step, the terminal device may close the first type of application program by itself, or pop up a dialog box on the display screen to prompt the user to close the first type of application program, so that the user may operate and select by itself.
In step S750, the terminal device is charged with a constant voltage.
And step S760, ending.
Compared with the prior art, the temperature rise control method during the charging of the terminal equipment provided by the invention has the advantages that the power consumption of each application program in the terminal equipment during the operation is measured, the application programs are classified and stored according to the power consumption, then the application programs which are in operation in the charging process of the terminal equipment and the power consumption condition of the application programs are detected, if the application programs with the first type of high power consumption are judged to be in operation during the charging of the mobile terminal, the application programs with the first type of high power consumption in the operation are closed or prompted to be closed by a user, and then the charging is carried out in a constant voltage mode. And then realize the control to the temperature rise when terminal equipment charges under the operating condition to avoid terminal equipment's temperature rise too high.
Further, an embodiment of the present invention further provides a temperature rise control device for charging a terminal device, please refer to fig. 7, fig. 7 is a block diagram illustrating a structure of an embodiment of the temperature rise control device for charging a terminal device according to the present invention, where the device includes, but is not limited to, the following modules: an application power consumption detection module 710, a charging state detection module 720, an application running state detection module 730, and a charging module 740.
Specifically, the application power consumption detecting module 710 is configured to measure power consumption of each application program in the terminal device during operation, and divide the application programs into at least a first type of application program and a second type of application program according to the power consumption and store the first type of application program and the second type of application program; the charging state detection module 720 is configured to detect whether the terminal device is in a charging state; the application running state detection module 730 is configured to detect an application running on the terminal device; the charging module 740 is configured to charge the terminal device in a constant current manner or a constant voltage manner according to the category corresponding to the application program being run by the terminal device.
For specific work flows of the application power consumption detecting module 710, the charging state detecting module 720, the application running state detecting module 730, and the charging module 740, please refer to the related descriptions in the above method embodiments, which are not described herein again.
In addition, referring to fig. 8, fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, in which the mobile terminal 90 includes 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 mobile terminal 90.
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 further configured to measure power consumption of each application program in the terminal device during operation, and divide the application programs into at least a first type of application program and a second type of application program according to the power consumption and store the first type of application program and the second type of application program; detecting whether the terminal equipment is in a charging state; detecting an application program running by the terminal equipment; and charging the terminal equipment in a constant current mode or a constant voltage mode according to the class corresponding to the application program which is running on the terminal equipment. 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.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a storage medium according to an embodiment of the invention.
The storage medium 900 stores program data 901, and the program data 901 can be executed to implement the temperature rise control method during charging of the terminal device explained in the above embodiments, and will not be described herein again.
As will be understood by those skilled in the art, the storage medium 900 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.
Compared with the prior art, the terminal device and the storage medium provided by the invention have the advantages that the running conditions of the application programs (including information such as which application programs are running and the power consumption of the application programs) of the terminal device in the charging process are detected, and corresponding charging strategies (constant voltage charging, constant current charging, change of the charging current and the like) are provided according to the conditions that the application programs are running of the terminal device, so that the temperature rise of the terminal device in the charging process in the operating state is controlled, and the overhigh temperature rise of the terminal device is avoided.
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 temperature rise control method during terminal equipment charging is characterized by comprising the following steps:
measuring the power consumption of each application program in the terminal equipment during operation, and dividing the application programs into at least a first type of application program and a second type of application program according to the power consumption, wherein the method specifically comprises the following steps: 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; the power consumption of the application program is less than or equal to the threshold value and is classified as a second type of application program;
detecting whether the terminal equipment is in a charging state;
if the terminal equipment is in a charging state, detecting an application program which is running by the terminal equipment;
charging the terminal equipment in a constant current mode or a constant voltage mode according to the category corresponding to the application program which is running on the terminal equipment; the method specifically comprises the following steps: when the terminal equipment is in a charging state, under the condition that all running application programs are first-class application programs, charging the terminal equipment in a constant current mode;
when the terminal equipment is in a charging state, under the condition that the running application programs comprise a first type application program and a second type application program, judging whether the proportion occupied by the first type application program reaches a preset proportion value, and if the proportion occupied by the first type application program reaches the preset proportion value, charging the terminal equipment in a constant current mode; otherwise, charging the terminal equipment in a constant voltage mode;
and when the running application programs are all the second type application programs when the terminal equipment is in the charging state, charging the terminal equipment in a constant voltage mode.
2. The method according to claim 1, wherein in the step of charging the terminal device in a constant current manner or in a constant voltage manner according to the category corresponding to the application program being run by the terminal device, the constant current charging manner is smaller than the charging current of the constant voltage charging manner.
3. A temperature rise control device when a terminal device is charged, the device comprising:
the power consumption detection module of the application program is used for measuring the power consumption of each application program in the terminal equipment during operation and dividing the application programs into at least a first type of application program and a second type of application program according to the power consumption; the method is specifically used for: 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; the power consumption of the application program is less than or equal to the threshold value and is classified as a second type of application program;
the charging state detection module is used for detecting whether the terminal equipment is in a charging state or not;
the application program running state detection module is used for detecting the application program running in the terminal equipment;
the charging module is used for charging the terminal equipment in a constant current mode or a constant voltage mode according to the category corresponding to the application program which is running on the terminal equipment; the method is specifically used for: when the terminal equipment is in a charging state, under the condition that all running application programs are first-class application programs, charging the terminal equipment in a constant current mode; when the terminal equipment is in a charging state, under the condition that the running application programs comprise a first type application program and a second type application program, judging whether the proportion occupied by the first type application program reaches a preset proportion value, and if the proportion occupied by the first type application program reaches the preset proportion value, charging the terminal equipment in a constant current mode; otherwise, charging the terminal equipment in a constant voltage mode; and when the running application programs are all the second type application programs when the terminal equipment is in the charging state, charging the terminal equipment in a constant voltage mode.
4. A terminal device, comprising a processor and a memory, the processor being coupled to the memory and the processor being operable to execute instructions to implement the method of any one 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.
CN201710499672.5A 2017-06-27 2017-06-27 Terminal device, temperature rise control method and device during charging of terminal device, and storage medium Active CN107426417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710499672.5A CN107426417B (en) 2017-06-27 2017-06-27 Terminal device, temperature rise control method and device during charging of terminal device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710499672.5A CN107426417B (en) 2017-06-27 2017-06-27 Terminal device, temperature rise control method and device during charging of terminal device, and storage medium

Publications (2)

Publication Number Publication Date
CN107426417A CN107426417A (en) 2017-12-01
CN107426417B true CN107426417B (en) 2020-07-31

Family

ID=60426201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710499672.5A Active CN107426417B (en) 2017-06-27 2017-06-27 Terminal device, temperature rise control method and device during charging of terminal device, and storage medium

Country Status (1)

Country Link
CN (1) CN107426417B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872574A (en) * 2017-10-31 2018-04-03 惠州Tcl移动通信有限公司 Mobile terminal and mobile terminal charging process method and storage medium
CN108391014A (en) * 2017-12-24 2018-08-10 湛江正信科技服务有限公司 Method, apparatus, intelligent terminal and the storage medium of intelligent terminal charging
CN109120040A (en) * 2018-10-15 2019-01-01 珠海格力电器股份有限公司 A kind of charging method of terminal device, terminal device and computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224062A (en) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 A kind of terminal control method and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4251117B2 (en) * 2004-07-02 2009-04-08 日本電気株式会社 Mobile communication terminal and heat generation countermeasure method thereof
CN103391362B (en) * 2013-07-11 2015-12-09 Tcl通讯(宁波)有限公司 A kind of application class method based on power consumption and mobile terminal
CN104022544B (en) * 2014-04-30 2019-02-15 努比亚技术有限公司 A kind of charging management method and device of mobile terminal
CN106450533A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method, charging device and terminal equipment
CN106451612B (en) * 2016-09-21 2020-05-12 奇酷互联网络科技(深圳)有限公司 Charging method and charging device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224062A (en) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 A kind of terminal control method and terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
EP3502889B1 (en) Method and device for preloading application, storage medium, and terminal device
EP3675316B1 (en) Charging control method and apparatus, electronic device and computer-readable storage medium
CN107843802A (en) Internal short-circuit detection method and device
CN107221980B (en) Temperature rise control method, device and storage medium when terminal device and its charging
CN107426417B (en) Terminal device, temperature rise control method and device during charging of terminal device, and storage medium
US11056903B2 (en) Electronic device including battery and method of controlling charging thereof
CN107221984B (en) Terminal device, temperature rise control method and device during charging of terminal device, and storage medium
CN107423197B (en) Electronic device, temperature rise control method, control device, and storage medium
KR102645676B1 (en) Electronic device and method for adjusting charge cycle or discharge cycle of battery
WO2018129991A1 (en) Charging method, charging device and terminal
CN107423199A (en) Electronic equipment, temperature rise control method, control device and storage medium
CN106169798A (en) High-voltage charging system, high-voltage charging battery and terminal unit
CN107910617A (en) Battery heating means, device and battery heating module
US11141098B2 (en) Electronic device for measuring hydrature using display and method for operating the same
JP6670753B2 (en) Power supply
CN104951203A (en) Device control method and device and electronic device
CN107039689B (en) Electronic device including battery and method of controlling electronic device to charge battery
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN109768593B (en) Charging protection method and terminal equipment
CN107479666B (en) Terminal device, temperature rise control method, control device, and storage medium
CN105870994B (en) Terminal device
CN105162241B (en) A kind of detection process method and apparatus of terminal device
CN110601311B (en) Charging protection method and related device
CN113253141B (en) Battery power metering method, electronic device and storage medium
US20230213990A1 (en) Method for controlling power supply and electronic device using same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
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.

GR01 Patent grant
GR01 Patent grant