CN107817397B - Charging heating abnormity detection method and terminal equipment - Google Patents

Charging heating abnormity detection method and terminal equipment Download PDF

Info

Publication number
CN107817397B
CN107817397B CN201710887037.4A CN201710887037A CN107817397B CN 107817397 B CN107817397 B CN 107817397B CN 201710887037 A CN201710887037 A CN 201710887037A CN 107817397 B CN107817397 B CN 107817397B
Authority
CN
China
Prior art keywords
terminal device
charging
target
terminal equipment
battery
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
CN201710887037.4A
Other languages
Chinese (zh)
Other versions
CN107817397A (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 CN201710887037.4A priority Critical patent/CN107817397B/en
Publication of CN107817397A publication Critical patent/CN107817397A/en
Application granted granted Critical
Publication of CN107817397B publication Critical patent/CN107817397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/003Environmental or reliability tests

Abstract

The embodiment of the invention relates to the technical field of terminals, and discloses a method for detecting charging heating abnormity and a terminalAn apparatus. Wherein, the method comprises the following steps: acquiring a first voltage U of a Universal Serial Bus (USB) port of a terminal device which is being charged1And a first current I1And acquiring a second voltage U of the terminal equipment battery2And a second current I flowing into the battery2Then according to U1、I1、U2And I2And calculating the target charging efficiency, and determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency. Therefore, by implementing the embodiment of the invention, the power loss of the terminal equipment during charging can be monitored according to the power input to the terminal equipment by the USB and the charging power of the battery, so that whether the terminal equipment is abnormal in charging and heating can be monitored in real time.

Description

Charging heating abnormity detection method and terminal equipment
Technical Field
The invention relates to the technical field of terminals, in particular to a method for detecting charging heating abnormity and terminal equipment.
Background
The terminal equipment generates heat in the charging process, which is a normal phenomenon. However, if the terminal device is charged and generates too high heat, the aging of devices in the terminal device can be accelerated, the service life of the terminal device can be reduced, and under severe conditions, battery explosion accidents can occur, and personal safety can be damaged.
Therefore, it is necessary to detect whether the terminal device generates heat abnormally during the charging of the terminal device. For example, the temperature rise of the terminal device may be measured by a temperature rise tester at intervals to determine whether the terminal device generates heat abnormally.
However, the temperature rise tester is complicated in operation, and can determine whether the terminal device is abnormally charged and heated only by measuring a temperature change over a period of time, which is poor in monitoring real-time.
Disclosure of Invention
The embodiment of the invention provides a method for detecting charging heating abnormity and terminal equipment, which can monitor whether the terminal equipment is abnormal in charging heating or not in real time.
The first aspect of the embodiment of the invention discloses a method for detecting charging heating abnormity, which comprises the following steps:
acquiring a first voltage U of a Universal Serial Bus (USB) port of a terminal device which is being charged1And a first current I1
Obtaining the terminal equipment powerSecond voltage U of the cell2And a second current I flowing into the battery2
According to the U1The said I1The U2And the said I2Calculating a target charging efficiency;
and determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency.
A second aspect of the embodiments of the present invention discloses a terminal device, including:
a first obtaining unit for obtaining a first voltage U of a USB port of a terminal device being charged1And a first current I1
A second obtaining unit for obtaining a second voltage U of the terminal equipment battery2And a second current I flowing into the battery2
A first calculation unit for calculating a first calculation value according to the U1The said I1The U2And the said I2Calculating a target charging efficiency;
and the first determining unit is used for determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency.
A third aspect of embodiments of the present invention discloses a terminal device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program comprises instructions for performing the steps of the method as described in the first aspect above.
A fourth aspect of the present embodiments discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method described in the first aspect, and the computer includes a terminal device.
A fifth aspect of embodiments of the present invention discloses a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of embodiments of the present invention. The computer program product may be a software installation package, said computer comprising terminal equipment.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, the first voltage U of the USB port of the charging universal serial bus of the terminal equipment is obtained1And a first current I1And acquiring a second voltage U of the terminal equipment battery2And a second current I flowing into the battery2Then according to U1、I1、U2And I2And calculating the target charging efficiency, and determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency. Therefore, by implementing the embodiment of the invention, the power loss of the terminal equipment during charging can be monitored according to the power input to the terminal equipment by the USB and the charging power of the battery, so that whether the terminal equipment is abnormal in charging and heating can be monitored in real time.
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 inventive exercise.
Fig. 1 is a schematic flowchart of a method for detecting abnormal charging heat according to an embodiment of the present invention;
FIG. 2 is a line graph illustrating the charge capacity and the charging efficiency of a battery according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another method for detecting abnormal charging heat according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first determining unit according to an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of another terminal device disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another terminal device disclosed in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of another terminal device disclosed in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. 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, or apparatus.
The terminal device according to the embodiment of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as terminal devices. Embodiments of the present invention will be described below with reference to the accompanying drawings.
The embodiment of the invention provides a method for detecting charging heating abnormity and terminal equipment, which can monitor whether the terminal equipment is abnormal in charging heating or not in real time. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for detecting charging heating abnormality according to an embodiment of the present invention. The method for detecting the charging heat generation abnormality shown in fig. 1 may include the following steps:
101. acquiring a first voltage U of a Universal Serial Bus (USB) port of a terminal device which is being charged1And a first current I1
In the embodiment of the invention, the terminal equipment can be provided with the ammeter at the USB port, so that the first voltage U of the USB port can be acquired in real time1And a first current I1
102. Obtaining a second voltage U of the terminal device battery2And a second current I flowing into the battery2
In the embodiment of the invention, the terminal equipment can also be provided with the electricity meter at the electrode of the battery, so that the second voltage U of the battery can be acquired in real time2And a second current I flowing into the battery2
103. According to U1、I1、U2And I2A target charging efficiency is calculated.
As an optional implementation manner, after acquiring U1、I1、U2And I2Then, the target charging efficiency may be calculated by the following calculation formula:
Figure BDA0001418860880000041
where X is the target charging efficiency.
In the above embodiment, by calculating the ratio between the power at the battery and the input power at the USB during charging, the target charging efficiency can be obtained, so that the power loss during charging can be known. Analyzing the target charging efficiency to know that the larger the target charging efficiency is, the lower the power lost in the charging process is, and the lower the heat generation of the terminal equipment is; conversely, if the target charging efficiency is smaller, the higher the power lost in the charging stroke, the higher the heat generation of the terminal device. Therefore, by monitoring the target charging efficiency, it is possible to monitor whether or not the terminal device is abnormally charged and generates heat.
Further, in the charging process, factors such as the ambient temperature, the usage condition of the terminal device, and the device aging condition of the terminal device all affect the charging efficiency. In order to make the calculated target charging efficiency reflect the charging heat loss of the terminal device more accurately, a certain correction coefficient may be included in the calculation method of the target charging efficiency.
For example, if only the influence of the ambient temperature is considered, the charging efficiency is higher when the ambient temperature is higher in the normal operating temperature range of the terminal device (e.g., 10 ℃ below zero to 40 ℃ above zero), and if the ambient temperature introduced parameter is α (α is greater than 1), the target charging efficiency calculation formula after correction is:
Figure BDA0001418860880000051
104. and determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency.
As an optional implementation manner, the terminal device may obtain a current electric quantity value of the battery, then query a standard charging efficiency corresponding to the electric quantity value, then compare the target charging efficiency with the standard charging efficiency, and if the target charging efficiency is significantly lower than the standard charging efficiency, determine that the terminal device generates heat abnormally during charging. The standard charging efficiency may be a charging efficiency measured in advance at the electric quantity value when the terminal device has no abnormal heat generation.
As another optional implementation, the terminal device may obtain a current electric quantity value of the battery, calculate a target proportional relationship between the target charging efficiency and the electric quantity value, compare the target proportional relationship with a preset proportional relationship when the electric quantity value is obtained to obtain a difference value, and determine that the terminal device generates heat when charging if the difference value is greater than a first preset threshold value.
The above embodiments can be embodied by the line graphs of the battery capacity and the charging efficiency. Referring to fig. 2, fig. 2 is a line graph illustrating the battery capacity and the charging efficiency according to an embodiment of the present invention. In fig. 2, a broken line represented by a square is a schematic diagram of a relationship between battery power and charging efficiency obtained when the terminal device is not abnormal in charging and heating; and a broken line represented by a diamond is a schematic diagram of the relationship between the battery capacity and the charging efficiency obtained by the monitoring terminal equipment at this time. Wherein the horizontal axis represents the percentage of battery charge and the vertical axis represents the charge efficiency. For example, if the current battery level of the terminal device is 60%, the difference between the corresponding charging efficiency and the charging efficiency X1 and the charging efficiency X2 when the terminal device is not charged and generates heat abnormally is δ, and if δ is greater than 0.1, it is determined that the terminal device is charged and generates heat abnormally.
Besides, the embodiment of the invention can also determine whether the terminal equipment is abnormal in charging and heating by the following method:
according to U2And I2Calculating a target resistance value of the battery, then acquiring the current electric quantity value of the battery, and then acquiring a standard resistance value corresponding to the electric quantity value; and comparing the target resistance value with the standard resistance value, and if the difference value of the target resistance value and the standard resistance value is larger than a second preset threshold value, determining that the terminal equipment is abnormal in charging and heating.
In the above embodiment, if the resistance value of the battery is increased (i.e. the target resistance value is greater than the standard resistance value), more power is lost and converted into heat energy, which causes abnormal heat generation during charging of the terminal device.
It can be seen that with the method described in fig. 1, the power loss of the terminal device during charging can be monitored based on the power input to the terminal device by the USB and the charging power at the battery; since the power loss is mainly converted into heat energy, whether the terminal equipment is charged or not and generates heat abnormally can be monitored in real time by monitoring the power loss.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating another method for detecting abnormal charging heat according to an embodiment of the present invention. As shown in fig. 3, the method may include the steps of:
301. acquiring a first voltage U of a Universal Serial Bus (USB) port of a terminal device which is being charged1And a first current I1
In the embodiment of the invention, the terminal equipment canTo configure an electricity meter at the USB port so as to acquire the first voltage U of the USB port in real time1And a first current I1
302. Obtaining a second voltage U of the terminal device battery2And a second current I flowing into the battery2
In the embodiment of the invention, the terminal equipment can also be provided with the electricity meter at the electrode of the battery, so that the second voltage U of the battery can be acquired in real time2And a second current I flowing into the battery2
303. According to U1、I1、U2And I2A target charging efficiency is calculated.
As an optional implementation manner, after acquiring U1、I1、U2And I2Then, the target charging efficiency may be calculated by the following calculation formula:
where X is the target charging efficiency.
In the above embodiment, by calculating the ratio between the power at the battery and the input power at the USB during charging, the target charging efficiency can be obtained, so that the power loss during charging can be known. Analyzing the target charging efficiency to know that the larger the target charging efficiency is, the lower the power lost in the charging process is, and the lower the heat generation of the terminal equipment is; conversely, if the target charging efficiency is smaller, the higher the power lost in the charging stroke, the higher the heat generation of the terminal device. Therefore, by monitoring the target charging efficiency, it is possible to monitor whether or not the terminal device is abnormally charged and generates heat.
304. And determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency.
As an optional implementation manner, the terminal device may obtain a current electric quantity value of the battery, then query a standard charging efficiency corresponding to the electric quantity value, then compare the target charging efficiency with the standard charging efficiency, and if the target charging efficiency is significantly lower than the standard charging efficiency, determine that the terminal device generates heat abnormally during charging. The standard charging efficiency may be a charging efficiency measured in advance at the electric quantity value when the terminal device has no abnormal heat generation.
305. And acquiring the running process in the terminal equipment under the condition that the charging and heating of the terminal equipment are abnormal.
In the embodiment of the invention, if the terminal equipment generates heat during charging, the heating condition of the terminal equipment can be prevented from further worsening by considering ways of reducing the running process in the terminal equipment, reducing the running power consumption of a processor and the like.
306. And determining the priority of the process, if the priority of the process is low, ending the process, and if the priority of the process is high, reducing the frequency of a processor of the terminal equipment to run the process.
As another optional implementation, the terminal device may further output a prompt message to prompt the user to stop charging or stop using the terminal device during charging when the charging is abnormal in heating, so as to alleviate the heating of the terminal device, prolong the service life of the terminal device, and avoid dangerous accidents such as battery explosion.
It can be seen that with the method described in fig. 3, the power loss of the terminal device during charging can be monitored based on the power input to the terminal device by the USB and the charging power at the battery; since the power loss is mainly converted into heat energy, whether the terminal equipment is charged or not and generates heat abnormally can be monitored in real time by monitoring the power loss.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal device 400 according to an embodiment of the present invention. As shown in fig. 4, the terminal device may include:
a first obtaining unit 401, configured to obtain a first voltage U of a USB port of a USB terminal being charged by a terminal device1And a first current I1
In this embodiment of the present invention, the first obtaining unit 401 may be an electricity meter, so as to obtain the first voltage U of the USB port in real time1And a first current I1
A second obtaining unit 402 forObtaining a second voltage U of the terminal device battery2And a second current I flowing into the battery2
In this embodiment of the present invention, the second obtaining unit 402 may be an electricity meter, so as to obtain the second voltage U of the battery in real time2And a second current I flowing into the battery2
A first calculation unit 403 for calculating a value according to U1、I1、U2And I2A target charging efficiency is calculated.
In the embodiment of the invention, when U is acquired1、I1、U2And I2Then, the target charging efficiency may be calculated by the following calculation formula:
Figure BDA0001418860880000081
where X is the target charging efficiency.
The target charging efficiency can be obtained by calculating the ratio of the power at the battery during charging to the input power at the USB, so that the power loss during charging can be obtained. Analyzing the target charging efficiency to know that the larger the target charging efficiency is, the lower the power lost in the charging process is, and the lower the heat generation of the terminal equipment is; conversely, if the target charging efficiency is smaller, the higher the power lost in the charging stroke, the higher the heat generation of the terminal device. Therefore, by monitoring the target charging efficiency, it is possible to monitor whether or not the terminal device is abnormally charged and generates heat.
A first determination unit 404, configured to determine whether the terminal device is abnormal in charging heat generation according to the target charging efficiency.
As an optional implementation manner, the terminal device may obtain a current electric quantity value of the battery, then query a standard charging efficiency corresponding to the electric quantity value, then compare the target charging efficiency with the standard charging efficiency, and if the target charging efficiency is significantly lower than the standard charging efficiency, determine that the terminal device generates heat abnormally during charging. The standard charging efficiency may be a charging efficiency measured in advance at the electric quantity value when the terminal device has no abnormal heat generation.
As another optional implementation, the terminal device may obtain a current electric quantity value of the battery, calculate a target proportional relationship between the target charging efficiency and the electric quantity value, compare the target proportional relationship with a preset proportional relationship when the electric quantity value is obtained to obtain a difference value, and determine that the terminal device generates heat when charging if the difference value is greater than a first preset threshold value.
The above embodiments can be embodied by the line graphs of the battery capacity and the charging efficiency. Referring to fig. 2, fig. 2 is a line graph illustrating the battery capacity and the charging efficiency according to an embodiment of the present invention. In fig. 2, a broken line represented by a square is a schematic diagram of a relationship between battery power and charging efficiency obtained when the terminal device is not abnormal in charging and heating; and a broken line represented by a diamond is a schematic diagram of the relationship between the battery capacity and the charging efficiency obtained by the monitoring terminal equipment at this time. Wherein the horizontal axis represents the percentage of battery charge and the vertical axis represents the charge efficiency. For example, if the current battery level of the terminal device is 60%, the difference between the corresponding charging efficiency and the charging efficiency X1 and the charging efficiency X2 when the terminal device is not charged and generates heat abnormally is δ, and if δ is greater than 0.1, it is determined that the terminal device is charged and generates heat abnormally.
As an alternative implementation, the first determining unit 404 may include: an acquisition sub-unit 4041, a calculation sub-unit 4042, a comparison sub-unit 4043 and a determination sub-unit 4044. Referring to fig. 5, fig. 5 is a schematic structural diagram of a first determining unit 404 according to an embodiment of the disclosure. Wherein:
an obtaining sub-unit 4041 configured to obtain a current electric quantity value of the battery;
a calculation subunit 4042, configured to calculate a target proportional relationship between the target charging efficiency and the electric quantity value;
a comparison subunit 4043, configured to compare the target proportional relationship with a preset proportional relationship;
the determining subunit 4044 is configured to determine that the terminal device generates heat when charging, if a difference between the target proportional relationship and the preset proportional relationship is greater than a first preset threshold.
It can be seen that the terminal device described in fig. 4 can monitor the power loss of the terminal device during charging according to the power input to the terminal device by USB and the charging power at the battery; since the power loss is mainly converted into heat energy, whether the terminal equipment is charged or not and generates heat abnormally can be monitored in real time by monitoring the power loss.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another terminal device 600 according to an embodiment of the disclosure. Wherein, the terminal device shown in fig. 6 is obtained by optimizing the terminal device shown in fig. 4, and compared with the terminal device shown in fig. 4, the terminal device shown in fig. 6 further includes:
a fifth obtaining unit 405, configured to obtain a running process in the terminal device when the terminal device generates heat during charging;
a third determining unit 406, configured to determine a priority of the process;
a control unit 407, configured to end the process if the priority of the process is low, and reduce the processor frequency of the terminal device to run the process if the priority of the process is high.
In the embodiment of the invention, if the terminal equipment generates heat during charging, the heating condition of the terminal equipment can be prevented from further worsening by considering ways of reducing the running process in the terminal equipment, reducing the running power consumption of a processor and the like.
In addition, the terminal device may further include:
a second calculation unit for calculating a second calculation value according to U2And I2Calculating a target resistance value of the battery;
the third acquisition unit is used for acquiring the current electric quantity value of the battery;
a fourth obtaining unit configured to obtain a standard resistance value corresponding to the electric quantity value;
the comparison unit is used for comparing the target resistance value with the standard resistance value;
and the second determining unit is used for determining that the terminal equipment is abnormal in charging and heating if the difference value between the target resistance value and the standard resistance value is larger than a second preset threshold value.
The second calculation unit, the third acquisition unit, the fourth acquisition unit, the comparison unit, and the second determination unit described above are not shown in the drawings.
In addition, the terminal device may further include:
the fourth determining unit is used for determining whether the terminal equipment is in an awakening state or not under the condition that the charging and heating of the terminal equipment are abnormal;
and the notification unit is used for outputting a prompt message to prompt that the terminal equipment of the user is abnormal in charging and heating if the terminal equipment is in the awakening state.
The fourth determination unit and the notification unit are not shown in the drawing.
In the embodiment of the invention, the terminal equipment can also output the prompt message to prompt the user to stop charging or stop using the terminal equipment during charging under the condition of abnormal charging heating, so that the heating condition of the terminal equipment is relieved, the service life of the terminal equipment is prolonged, and dangerous accidents such as battery explosion and the like are avoided.
It can be seen that the terminal device described in fig. 6 can monitor the power loss of the terminal device during charging according to the power input to the terminal device by USB and the charging power at the battery; since the power loss is mainly converted into heat energy, whether the terminal equipment is charged or not and generates heat abnormally can be monitored in real time by monitoring the power loss.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another terminal device 700 according to an embodiment of the disclosure. As shown, the terminal device comprises a processor 701, a memory 702, a communication interface 703 and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the above-described method embodiments.
For example, the program includes instructions for performing the steps of:
acquiring a first voltage U of a Universal Serial Bus (USB) port of a terminal device which is being charged1And a first current I1
Obtaining a second voltage U of the terminal equipment battery2And a second current I flowing into the battery2
According to the U1The said I1The U2And the said I2Calculating a target charging efficiency;
and determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency.
The target charging efficiency calculation method comprises the following steps:
wherein X is the target charging efficiency.
As an optional implementation manner, in the aspect of determining whether the terminal device is abnormal in charging heat generation according to the target charging efficiency, the program includes instructions specifically configured to:
acquiring the current electric quantity value of the battery;
calculating a target proportional relation between the target charging efficiency and the electric quantity value;
and comparing the target proportional relation with a preset proportional relation, and if the difference value between the target proportional relation and the preset proportional relation is greater than a first preset threshold value, determining that the terminal equipment is abnormal in charging and heating.
It can be seen that the terminal device described in fig. 7 can monitor the power loss of the terminal device during charging according to the power input to the terminal device by USB and the charging power at the battery; since the power loss is mainly converted into heat energy, whether the terminal equipment is charged or not and generates heat abnormally can be monitored in real time by monitoring the power loss.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a terminal device 800 according to an embodiment of the present invention. As shown in fig. 8, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technique are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal digital assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the terminal device as the mobile phone as an example:
fig. 8 is a block diagram illustrating a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present invention. Referring to fig. 8, the handset includes: radio Frequency (RF) circuit 801, memory 802, input unit 803, display unit 804, sensor 805, audio circuit 806, wireless fidelity (WiFi) module 807, processor 808, and power supply 809. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 8:
the RF circuit 801 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the downlink information to the processor 808; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 801 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 802 may be used for storing software programs and modules, and the processor 808 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 803 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 803 may include a touch panel 8031. The touch panel 8031, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 8031 (e.g., operations of the user on or near the touch panel 8031 using any suitable object or accessory such as a finger or a stylus), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 8031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device and converts it to touch point coordinates, which are provided to the processor 808 and can receive and execute commands from the processor assembly 808. In addition, the touch panel 8031 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
The display unit 804 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 804 may include a display panel 8041, and optionally, the display panel 8041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 8031 can cover the display panel 8041, and when the touch panel 8031 detects a touch operation on or near the touch panel 8031, the touch operation can be transmitted to the processor complex 808 to determine the type of touch event, and then the processor complex 808 can provide a corresponding visual output on the display panel 8041 according to the type of touch event. Although in fig. 8, the touch panel 8031 and the display panel 8041 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 8031 and the display panel 8041 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 8041 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 8041 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 806, speaker 8061, microphone 8062 may provide an audio interface between the user and the handset. The audio circuit 806 can transmit the electrical signal converted from the received audio data to the speaker 8061, and the electrical signal is converted into a sound signal by the speaker 8061 and output; on the other hand, the microphone 8062 converts the collected sound signals into electrical signals, which are received by the audio circuit 806 and converted into audio data, which are then processed by the audio data output processor set 808, and then sent to, for example, another cellular phone via the RF circuit 801, or output to the memory 802 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 807, and provides wireless broadband Internet access for the user.
The processor 808 is a control center of the mobile phone, and the processor 808 is connected to each part of the whole mobile phone by using various interfaces and lines, and executes various functions and processes data of the mobile phone by running or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the mobile phone. Optionally, processor 808 may include one or more processing units; preferably, the processor 808 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 808.
The handset also includes a power supply 809 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 808 via a power management system, so as to manage charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiments shown in fig. 1 or fig. 3, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiments shown in fig. 4 to 6, the functions of the units can be implemented based on the structure of the mobile phone.
For example, the processor 808 may invoke a computer program stored in the memory 802 for performing the following operations:
acquiring a first voltage U of a Universal Serial Bus (USB) port of a terminal device which is being charged1And a first current I1
Obtaining a second voltage U of the terminal equipment battery2And a second current I flowing into the battery2
According to the U1The said I1The U2And the said I2Calculating a target charging efficiency;
and determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency.
As an optional implementation manner, the target charging efficiency is calculated by:
Figure BDA0001418860880000141
wherein X is the target charging efficiency.
As an optional implementation manner, in the aspect of determining whether the terminal device is abnormal in charging heat according to the target charging efficiency, the processor 808 may call a computer program stored in the memory 802, and is specifically configured to perform the following operations:
acquiring the current electric quantity value of the battery;
calculating a target proportional relation between the target charging efficiency and the electric quantity value;
and comparing the target proportional relation with a preset proportional relation, and if the difference value between the target proportional relation and the preset proportional relation is greater than a first preset threshold value, determining that the terminal equipment is abnormal in charging and heating.
As an alternative embodiment, the processor 808 may invoke a computer program stored in the memory 802, and further configured to perform the following operations:
according to the U2And the said I2Calculating a target resistance value of the battery;
acquiring the current electric quantity value of the battery;
acquiring a standard resistance value corresponding to the electric quantity value;
and comparing the target resistance value with the standard resistance value, and if the difference value of the target resistance value and the standard resistance value is larger than a second preset threshold value, determining that the terminal equipment is abnormal in charging and heating.
As an alternative embodiment, the processor 808 may invoke a computer program stored in the memory 802, and further configured to perform the following operations:
acquiring a running process in the terminal equipment under the condition that the terminal equipment is abnormal in charging and heating;
and determining the priority of the process, if the priority of the process is low, ending the process, and if the priority of the process is high, reducing the frequency of a processor of the terminal equipment to run the process.
As an alternative embodiment, the processor 808 may invoke a computer program stored in the memory 802, and further configured to perform the following operations:
determining whether the terminal equipment is in an awakening state or not under the condition that the terminal equipment is abnormal in charging and heating;
and if the terminal equipment is in the awakening state, outputting a prompt message to prompt a user that the terminal equipment is abnormal in charging and heating.
It can be seen that the terminal device described in fig. 8 can monitor the power loss of the terminal device during charging according to the power input to the terminal device by USB and the charging power at the battery; since the power loss is mainly converted into heat energy, whether the terminal equipment is charged or not and generates heat abnormally can be monitored in real time by monitoring the power loss.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the above method embodiments. The computer program product may be a software installation package, said computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric 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 solution 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 memory. 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 memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method for detecting charging heat generation abnormality is characterized by comprising the following steps:
acquiring a first voltage U of a Universal Serial Bus (USB) port of a terminal device which is being charged1And a first current I1
Obtaining a second voltage U of the terminal equipment battery2And a second current I flowing into the battery2
According to the U1The said I1The U2And the said I2Calculating a target charging efficiency;
determining whether the terminal equipment is abnormal in charging and heating according to the target charging efficiency;
the target charging efficiency calculation method comprises the following steps:
Figure FDA0002251682760000011
wherein X is the target charging efficiency.
2. The method of claim 1, wherein the determining whether the terminal device is abnormally charged and heated according to the target charging efficiency comprises:
acquiring the current electric quantity value of the battery;
calculating a target proportional relation between the target charging efficiency and the electric quantity value;
and comparing the target proportional relation with a preset proportional relation, and if the difference value between the target proportional relation and the preset proportional relation is greater than a first preset threshold value, determining that the terminal equipment is abnormal in charging and heating.
3. The method of claim 1, further comprising:
according to the U2And the said I2Calculating a target resistance value of the battery;
acquiring the current electric quantity value of the battery;
acquiring a standard resistance value corresponding to the electric quantity value;
and comparing the target resistance value with the standard resistance value, and if the difference value of the target resistance value and the standard resistance value is larger than a second preset threshold value, determining that the terminal equipment is abnormal in charging and heating.
4. The method according to any one of claims 1 to 3, further comprising:
acquiring a running process in the terminal equipment under the condition that the terminal equipment is abnormal in charging and heating;
and determining the priority of the process, if the priority of the process is low, ending the process, and if the priority of the process is high, reducing the frequency of a processor of the terminal equipment to run the process.
5. The method according to any one of claims 1 to 3, further comprising:
determining whether the terminal equipment is in an awakening state or not under the condition that the terminal equipment is abnormal in charging and heating;
and if the terminal equipment is in the awakening state, outputting a prompt message to prompt a user that the terminal equipment is abnormal in charging and heating.
6. A terminal device, comprising:
a first obtaining unit for obtaining a first voltage U of a USB port of a terminal device being charged1And a first current I1
A second obtaining unit for obtaining a second voltage U of the terminal equipment battery2And a second current I flowing into the battery2
A first calculation unit for calculating a first calculation value according to the U1The said I1The U2And the said I2Calculating a target charging efficiency;
a first determining unit, configured to determine whether the terminal device is abnormal in charging and heating according to the target charging efficiency;
the target charging efficiency calculation method comprises the following steps:
Figure FDA0002251682760000021
wherein X is the target charging efficiency.
7. The terminal device according to claim 6, wherein the first determining unit includes:
the acquisition subunit is used for acquiring the current electric quantity value of the battery;
the calculating subunit is used for calculating a target proportional relation between the target charging efficiency and the electric quantity value;
the comparison subunit is used for comparing the target proportional relation with a preset proportional relation;
and the determining subunit is configured to determine that the terminal device is abnormal in charging and heating if a difference between the target proportional relationship and the preset proportional relationship is greater than a first preset threshold.
8. The terminal device according to claim 6, wherein the terminal device further comprises:
a second calculation unit for calculating a second calculation value according to the U2And the said I2Calculating a target resistance value of the battery;
the third acquisition unit is used for acquiring the current electric quantity value of the battery;
a fourth obtaining unit configured to obtain a standard resistance value corresponding to the electric quantity value;
the comparison unit is used for comparing the target resistance value with the standard resistance value;
and the second determining unit is used for determining that the terminal equipment is abnormal in charging and heating if the difference value between the target resistance value and the standard resistance value is larger than a second preset threshold value.
9. The terminal device according to any one of claims 6 to 8, wherein the terminal device further comprises:
a fifth obtaining unit, configured to obtain a running process in the terminal device when the terminal device is abnormally charged and heated;
a third determining unit configured to determine a priority of the process;
and the control unit is used for ending the process if the priority of the process is low, and reducing the frequency of a processor of the terminal equipment to run the process if the priority of the process is high.
10. The terminal device according to any one of claims 6 to 8, wherein the terminal device further comprises:
a fourth determining unit, configured to determine whether the terminal device is in an awake state when the terminal device generates heat during charging;
and the notification unit is used for outputting a prompt message to prompt a user that the terminal equipment is abnormal in charging and heating if the terminal equipment is in the awakening state.
11. A terminal device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1 to 5.
12. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 5, the computer comprising a terminal device.
CN201710887037.4A 2017-09-26 2017-09-26 Charging heating abnormity detection method and terminal equipment Active CN107817397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710887037.4A CN107817397B (en) 2017-09-26 2017-09-26 Charging heating abnormity detection method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710887037.4A CN107817397B (en) 2017-09-26 2017-09-26 Charging heating abnormity detection method and terminal equipment

Publications (2)

Publication Number Publication Date
CN107817397A CN107817397A (en) 2018-03-20
CN107817397B true CN107817397B (en) 2020-02-14

Family

ID=61607362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710887037.4A Active CN107817397B (en) 2017-09-26 2017-09-26 Charging heating abnormity detection method and terminal equipment

Country Status (1)

Country Link
CN (1) CN107817397B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110289810A (en) * 2019-06-18 2019-09-27 汪安源 A kind of photovoltaic plant working status monitoring system and monitoring method
CN111245070B (en) * 2020-03-25 2022-05-20 腾讯科技(深圳)有限公司 Quick charge control method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000078770A (en) * 1998-09-01 2000-03-14 Matsushita Electric Ind Co Ltd Charger
CN101997318A (en) * 2009-08-14 2011-03-30 富港电子(东莞)有限公司 Battery charging method and device
CN202712904U (en) * 2012-07-13 2013-01-30 合肥华恒电子科技有限责任公司 Charging current control circuit used in portable electronic device
CN103840435A (en) * 2012-11-21 2014-06-04 张卫 Battery protection system and method
CN104487277A (en) * 2012-07-26 2015-04-01 西门子公司 Method for protecting a charging cable and charging device
CN106505688A (en) * 2016-12-19 2017-03-15 北京小米移动软件有限公司 Charge control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000078770A (en) * 1998-09-01 2000-03-14 Matsushita Electric Ind Co Ltd Charger
CN101997318A (en) * 2009-08-14 2011-03-30 富港电子(东莞)有限公司 Battery charging method and device
CN202712904U (en) * 2012-07-13 2013-01-30 合肥华恒电子科技有限责任公司 Charging current control circuit used in portable electronic device
CN104487277A (en) * 2012-07-26 2015-04-01 西门子公司 Method for protecting a charging cable and charging device
CN103840435A (en) * 2012-11-21 2014-06-04 张卫 Battery protection system and method
CN106505688A (en) * 2016-12-19 2017-03-15 北京小米移动软件有限公司 Charge control method and device

Also Published As

Publication number Publication date
CN107817397A (en) 2018-03-20

Similar Documents

Publication Publication Date Title
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN111313500B (en) Charging management method and device, electronic equipment and computer readable storage medium
US10714943B2 (en) Power management method, electronic device, and power adapter
US10663521B2 (en) Method and device for ascertaining required charging time
CN108055092B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
WO2014000632A1 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN112152275B (en) Battery charging method and device, electronic equipment and computer readable storage medium
CN111092671B (en) Signal strength reporting method and device, storage medium and terminal equipment
CN109149690B (en) Charging control device and method and electronic equipment
WO2023236972A1 (en) Communication environment security warning method and apparatus, terminal device, and storage medium
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN107817397B (en) Charging heating abnormity detection method and terminal equipment
CN106095566B (en) Response control method and mobile terminal
CN106850942B (en) Temperature monitoring method and device of mobile terminal and mobile terminal
CN110632734B (en) Focusing method and related product
CN106663848B (en) Charging method and mobile terminal
CN107329547B (en) Temperature control method and device and mobile terminal
CN110994052B (en) Method and device for prolonging battery endurance, storage medium and terminal equipment
CN106686704B (en) Terminal monitoring method and mobile terminal
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal
CN112180459B (en) Water inflow detection method, wearable device and computer readable storage medium
CN111966206A (en) Power-saving control method and device for fingerprint sensor and mobile terminal
CN108828445B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN106657278B (en) Data transmission method and device and computer equipment
CN111081198A (en) Data control method, data control device, storage medium and terminal device

Legal Events

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

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant