[go: up one dir, main page]

CN107817397A - Detection method and terminal equipment for abnormal charging heating - Google Patents

Detection method and terminal equipment for abnormal charging heating Download PDF

Info

Publication number
CN107817397A
CN107817397A CN201710887037.4A CN201710887037A CN107817397A CN 107817397 A CN107817397 A CN 107817397A CN 201710887037 A CN201710887037 A CN 201710887037A CN 107817397 A CN107817397 A CN 107817397A
Authority
CN
China
Prior art keywords
terminal device
target
charging
battery
msub
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.)
Granted
Application number
CN201710887037.4A
Other languages
Chinese (zh)
Other versions
CN107817397B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本发明实施例涉及终端技术领域,公开了一种充电发热异常的检测方法及终端设备。其中,该方法包括:获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1,并获取终端设备电池的第二电压U2和流入电池的第二电流I2,之后根据U1、I1、U2以及I2计算目标充电效率,再根据目标充电效率确定终端设备是否充电发热异常。由此可见,实施本发明实施例,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失,从而实时监测终端设备是否充电发热异常。

The embodiment of the present invention relates to the field of terminal technology, and discloses a detection method for abnormal charging heating and a terminal device. The method includes: obtaining a first voltage U1 and a first current I1 of a universal serial bus (USB) port of a terminal device being charged, and obtaining a second voltage U2 of a battery of the terminal device and a second current I2 flowing into the battery, and then calculating a target charging efficiency according to U1 , I1 , U2 and I2 , and then determining whether the terminal device is abnormally charged and heated according to the target charging efficiency. It can be seen that by implementing the embodiment of the present invention, the power loss of the terminal device during charging can be monitored according to the power input from the USB to the terminal device and the charging power at the battery, so as to monitor in real time whether the terminal device is abnormally charged and heated.

Description

充电发热异常的检测方法及终端设备Detection method and terminal equipment for abnormal charging heating

技术领域technical field

本发明涉及终端技术领域,尤其涉及一种充电发热异常的检测方法及终端设备。The present invention relates to the technical field of terminals, in particular to a method for detecting abnormal heating during charging and a terminal device.

背景技术Background technique

终端设备在充电的过程中发热,是一种正常现象。然而,终端设备充电发热过高的话,会加速终端设备中器件的老化,降低终端设备的使用寿命,在严重的情况下,还可能发生电池爆炸事故,危害人身安全。It is normal for the terminal device to heat up during charging. However, if the charging heat of the terminal equipment is too high, it will accelerate the aging of the components in the terminal equipment and reduce the service life of the terminal equipment. In severe cases, battery explosion accidents may occur, endangering personal safety.

因此,在终端设备充电过程中,检测终端设备是否发热异常,成为一种必要的措施。举例来说,可以在充电时,每间隔一段时间利用温升测试仪测量终端设备的温升来确定终端设备是否发热异常。Therefore, during the charging process of the terminal device, it becomes a necessary measure to detect whether the terminal device is abnormally heated. For example, during charging, a temperature rise tester may be used to measure the temperature rise of the terminal device at intervals to determine whether the terminal device is abnormally heated.

然而,温升测试仪操作复杂,并且仅能通过测量一段时间内的温度变化来确定终端设备是否充电发热异常,其监测实时性较差。However, the operation of the temperature rise tester is complicated, and it can only determine whether the terminal device is abnormally charged and heated by measuring the temperature change within a period of time, and its real-time monitoring performance is poor.

发明内容Contents of the invention

本发明实施例提供了一种充电发热异常的检测方法及终端设备,可以实时监测终端设备是否充电发热异常。Embodiments of the present invention provide a method for detecting abnormal charging and heating and a terminal device, which can monitor in real time whether the terminal device has abnormal charging and heating.

本发明实施例第一方面公开了一种充电发热异常的检测方法,包括:The first aspect of the embodiment of the present invention discloses a method for detecting abnormal heating during charging, including:

获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1Obtain the first voltage U 1 and the first current I 1 of the Universal Serial Bus USB port that the terminal device is charging;

获取所述终端设备电池的第二电压U2和流入所述电池的第二电流I2Acquiring the second voltage U2 of the battery of the terminal device and the second current I2 flowing into the battery;

根据所述U1、所述I1、所述U2以及所述I2计算目标充电效率;calculating a target charging efficiency according to the U 1 , the I 1 , the U 2 and the I 2 ;

根据所述目标充电效率确定所述终端设备是否充电发热异常。It is determined according to the target charging efficiency whether the terminal device is abnormally heated during charging.

本发明实施例第二方面公开了一种终端设备,包括:The second aspect of the embodiment of the present invention discloses a terminal device, including:

第一获取单元,用于获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1The first obtaining unit is used to obtain the first voltage U 1 and the first current I 1 of the Universal Serial Bus USB port that the terminal device is charging;

第二获取单元,用于获取所述终端设备电池的第二电压U2和流入所述电池的第二电流I2A second acquisition unit, configured to acquire a second voltage U2 of the battery of the terminal device and a second current I2 flowing into the battery;

第一计算单元,用于根据所述U1、所述I1、所述U2以及所述I2计算目标充电效率;A first calculation unit, configured to calculate a target charging efficiency according to the U 1 , the I 1 , the U 2 and the I 2 ;

第一确定单元,用于根据所述目标充电效率确定所述终端设备是否充电发热异常。The first determining unit is configured to determine whether the terminal device is abnormally heated during charging according to the target charging efficiency.

本发明实施例第三方面公开了一种终端设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述程序包括用于执行如上述第一方面所描述的方法的步骤的指令。The third aspect of the embodiment of the present invention discloses a terminal device, including 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 Executed by the processor, the program includes instructions for executing the steps of the method described in the first aspect above.

本发明实施例第四方面公开了一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如上述第一方面所描述的方法,所述计算机包括终端设备。The fourth aspect of the embodiment of the present invention discloses a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the method described in the first aspect above, and the computer Includes terminal equipment.

本发明实施例第五方面公开了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括终端设备。The fifth aspect of the embodiment of the present invention discloses a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause the computer to execute the present invention. Part or all of the steps described in any method of the first aspect of the embodiment. The computer program product may be a software installation package, and the computer includes a terminal device.

从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:

本发明实施例中,获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1,并获取终端设备电池的第二电压U2和流入电池的第二电流I2,之后根据U1、I1、U2以及I2计算目标充电效率,再根据目标充电效率确定终端设备是否充电发热异常。由此可见,实施本发明实施例,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失,从而实时监测终端设备是否充电发热异常。In the embodiment of the present invention, the first voltage U 1 and the first current I 1 of the USB port of the universal serial bus that the terminal device is charging are obtained, and the second voltage U 2 of the battery of the terminal device and the second current I flowing into the battery are obtained 2. Then calculate the target charging efficiency according to U 1 , I 1 , U 2 and I 2 , and then determine whether the terminal device is abnormally heated during charging according to the target charging efficiency. It can be seen that, implementing the embodiment of the present invention, the power loss during charging of the terminal device can be monitored according to the power input from the USB to the terminal device and the charging power at the battery, so as to monitor in real time whether the terminal device is abnormally heated during charging.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1为本发明实施例公开的一种充电发热异常的检测方法的流程示意图;Fig. 1 is a schematic flowchart of a detection method for abnormal charging heating disclosed in an embodiment of the present invention;

图2为本发明实施例公开的一种电池电量与充电效率的折线图;Fig. 2 is a line graph of battery power and charging efficiency disclosed in an embodiment of the present invention;

图3为本发明实施例公开的另一种充电发热异常的检测方法的流程示意图;Fig. 3 is a schematic flowchart of another detection method for abnormal charging heating disclosed in an embodiment of the present invention;

图4为本发明实施例公开的一种终端设备的结构示意图;FIG. 4 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present invention;

图5为本发明实施例公开的一种第一确定单元的结构示意图;Fig. 5 is a schematic structural diagram of a first determining unit disclosed in an embodiment of the present invention;

图6为本发明实施例公开的另一种终端设备的结构示意图;FIG. 6 is a schematic structural diagram of another terminal device disclosed in an embodiment of the present invention;

图7为本发明实施例公开的另一种终端设备的结构示意图;FIG. 7 is a schematic structural diagram of another terminal device disclosed in an embodiment of the present invention;

图8为本发明实施例公开的另一种终端设备的结构示意图。FIG. 8 is a schematic structural diagram of another terminal device disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods or apparatuses.

本发明实施例所涉及到的终端设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminaldevice)等等。为方便描述,上面提到的设备统称为终端设备。下面结合附图对本发明实施例进行介绍。The terminal devices involved in the embodiments of the present invention may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as terminal devices. Embodiments of the present invention will be described below in conjunction with the accompanying drawings.

本发明实施例提供了一种充电发热异常的检测方法及终端设备,可以实时监测终端设备是否充电发热异常。以下分别进行详细说明。Embodiments of the present invention provide a method for detecting abnormal charging and heating and a terminal device, which can monitor in real time whether the terminal device has abnormal charging and heating. Each will be described in detail below.

请参阅图1,图1是本发明实施例公开的一种充电发热异常的检测方法的流程示意图。其中,图1所示的充电发热的异常检测方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for detecting abnormal heating during charging disclosed in an embodiment of the present invention. Wherein, the abnormal detection method for charging heating shown in FIG. 1 may include the following steps:

101、获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1101. Acquire a first voltage U 1 and a first current I 1 of a USB port of a universal serial bus that a terminal device is charging.

本发明实施例中,终端设备可以在USB端口处配置有电量计,从而实时获取USB端口的第一电压U1和第一电流I1In the embodiment of the present invention, the terminal device may be configured with a fuel gauge at the USB port, so as to acquire the first voltage U 1 and the first current I 1 of the USB port in real time.

102、获取终端设备电池的第二电压U2和流入电池的第二电流I2102. Acquire the second voltage U 2 of the battery of the terminal device and the second current I 2 flowing into the battery.

本发明实施例中,终端设备还可以在电池的电极处配置电量计,从而实时获取电池的第二电压U2和流入电池的第二电流I2In the embodiment of the present invention, the terminal device can also be configured with a fuel gauge at the electrode of the battery, so as to obtain the second voltage U 2 of the battery and the second current I 2 flowing into the battery in real time.

103、根据U1、I1、U2以及I2计算目标充电效率。103. Calculate the target charging efficiency according to U 1 , I 1 , U 2 and I 2 .

作为一种可选的实施方式,在获取到了U1、I1、U2以及I2之后,可以通过如下计算式计算得到目标充电效率:As an optional implementation, after obtaining U 1 , I 1 , U 2 and I 2 , the target charging efficiency can be calculated by the following formula:

其中,X为目标充电效率。Among them, X is the target charging efficiency.

在上述实施方式中,通过计算充电时电池处的功率和USB处的输入功率之间的比值,可以得到目标充电效率,从而获知充电时功率的损失情况。分析目标充电效率可知,目标充电效率越大,则充电过程中损失的功率越低,终端设备的发热越低;反之,若目标充电效率越小,则充电冲程中损失的功率越高,终端设备的发热越高。因此,通过监测目标充电效率,可以监测终端设备是否充电发热异常。In the above embodiments, 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 as to know the power loss during charging. Analysis of the target charging efficiency shows that the higher the target charging efficiency is, the lower the power loss during the charging process will be, and the lower the heat generation of the terminal equipment will be; The higher the fever. Therefore, by monitoring the target charging efficiency, it is possible to monitor whether the terminal device is abnormally heated during charging.

进一步地,由于在充电过程中,环境温度、终端设备的使用情况以及终端设备的器件老化情况等因素均会影响充电效率。为了使计算得到的目标充电效率可以更精确地反映终端设备的充电发热损耗,可以在上述目标充电效率的计算方法中包含一定的校正系数。Furthermore, during the charging process, factors such as the ambient temperature, the usage of the terminal equipment, and the aging of components of the terminal equipment will affect the charging efficiency. In order to make the calculated target charging efficiency more accurately reflect the charging heat loss of the terminal device, a certain correction coefficient may be included in the above calculation method of the target charging efficiency.

举例来说,若仅考虑环境温度的影响,在终端设备的正常工作温度范围(例如,零下10℃~零上40℃)中,环境温度越高,充电效率越高;假设环境温度引入的参数为α(α大于1),则校正后的目标充电效率计算式为:For example, if only the influence of ambient temperature is considered, in the normal operating temperature range of terminal equipment (for example, minus 10°C to minus 40°C), the higher the ambient temperature, the higher the charging efficiency; assuming that the parameters introduced by the ambient temperature is α (α is greater than 1), then the calculation formula of the corrected target charging efficiency is:

104、根据目标充电效率确定终端设备是否充电发热异常。104. Determine whether the terminal device is abnormally heated during charging according to the target charging efficiency.

作为一种可选的实施方式,终端设备可以获取当前电池的电量值,之后查询与该电量值对应的标准充电效率,之后将目标充电效率与标准充电效率进行比较,若目标充电效率显著低于标准充电效率,则确定终端设备充电发热异常。其中,上述标准充电效率可为预先测定的,终端设备在没有发热异常的情况下,在该电量值时的充电效率。As an optional implementation, the terminal device can obtain the current battery power value, then query the standard charging efficiency corresponding to the power value, and then compare the target charging efficiency with the standard charging efficiency. If the target charging efficiency is significantly lower than If the standard charging efficiency is lower than the standard charging efficiency, it is determined that the terminal device is abnormally heated during charging. Wherein, the above-mentioned standard charging efficiency may be pre-measured, and the charging efficiency of the terminal device at the electric power value under the condition that there is no abnormal heating.

作为另一种可选的实施方式,终端设备可以获取当前电池的电量值,并计算目标充电效率与电量值的目标比例关系,之后与预设的该电量值时的比例关系比较以获得差值,若该差值大于第一预设阈值,则确定终端设备充电发热异常。As another optional implementation, the terminal device can obtain the current battery power value, and calculate the target proportional relationship between the target charging efficiency and the power value, and then compare it with the preset proportional relationship at the power value to obtain the difference , if the difference is greater than the first preset threshold, it is determined that the terminal device is abnormally heated during charging.

以上实施方式可通过电池电量与充电效率的折线图体现。请参阅图2,图2为本发明实施例公开的一种电池电量与充电效率的折线图。在图2中,以正方形表示的折线为终端设备在没有充电发热异常时,获得的电池电量与充电效率的关系示意图;以菱形表示的折线为此次监测终端设备获得的电池电量与充电效率的关系示意图。其中,横轴表示电池电量百分比,纵轴表示充电效率。举例来说,若当前终端设备的电池电量为60%,其对应的充电效率与X1与未充电发热异常时的充电效率X2的差值为δ,若δ大于0.1,则确定终端设备充电发热异常。The above implementation manners can be embodied by a line graph of battery power and charging efficiency. Please refer to FIG. 2 . FIG. 2 is a broken line graph of battery power and charging efficiency disclosed in an embodiment of the present invention. In Figure 2, the broken line represented by a square is a schematic diagram of the relationship between the battery power and charging efficiency obtained by the terminal device when there is no abnormal charging and heating; the broken line represented by a rhombus is the relationship between the battery power and charging efficiency obtained by the monitoring terminal device Relationship diagram. Wherein, the horizontal axis represents the battery power percentage, and the vertical axis represents the charging efficiency. For example, if the battery power of the current terminal device is 60%, the difference between the corresponding charging efficiency and X1 and the charging efficiency X2 when the charging efficiency is abnormal without charging is δ, and if δ is greater than 0.1, it is determined that the terminal device is abnormally charging and heating .

除此之外,本发明实施例还可以通过如下方式确定终端设备是否充电发热异常:In addition, in the embodiment of the present invention, it is also possible to determine whether the terminal device is abnormally charged and heated in the following manner:

根据U2以及I2计算电池的目标阻值,之后获取当前电池的电量值,再获取与电量值对应的标准阻值;将目标阻值与标准阻值比较,若目标阻值与标准阻值的差值大于第二预设阈值,则确定终端设备充电发热异常。Calculate the target resistance value of the battery according to U 2 and I 2 , then obtain the current battery power value, and then obtain the standard resistance value corresponding to the power value; compare the target resistance value with the standard resistance value, if the target resistance value and the standard resistance value If the difference is greater than the second preset threshold, it is determined that the terminal device is abnormally heated during charging.

在上述实施方式中,若电池的阻值升高(即目标阻值大于标准阻值),则将会有更多的功率损失而转化为热能,造成终端设备充电发热异常。In the above embodiments, if the resistance of the battery increases (that is, the target resistance is greater than the standard resistance), more power will be lost and converted into heat, resulting in abnormal heating of the terminal device during charging.

由此可见,利用图1所描述的方法,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失;由于功率损失将主要转化为热能,因而通过监测功率损失可以实时监测终端设备是否充电发热异常。It can be seen that using the method described in Figure 1, the power loss during charging of the terminal device can be monitored according to the power input from the USB to the terminal device and the charging power at the battery; since the power loss will mainly be converted into heat energy, by monitoring the power loss It can monitor in real time whether the terminal device is charging and heating abnormally.

请参阅图3,图3为本发明实施例公开的另一种充电发热异常的检测方法的流程示意图。如图3所示,该方法可以包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another detection method for abnormal charging heating disclosed by an embodiment of the present invention. As shown in Figure 3, the method may include the following steps:

301、获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1301. Acquire a first voltage U 1 and a first current I 1 of a USB port of a universal serial bus that a terminal device is charging.

本发明实施例中,终端设备可以在USB端口处配置有电量计,从而实时获取USB端口的第一电压U1和第一电流I1In the embodiment of the present invention, the terminal device may be configured with a fuel gauge at the USB port, so as to acquire the first voltage U 1 and the first current I 1 of the USB port in real time.

302、获取终端设备电池的第二电压U2和流入电池的第二电流I2302. Acquire the second voltage U 2 of the battery of the terminal device and the second current I 2 flowing into the battery.

本发明实施例中,终端设备还可以在电池的电极处配置电量计,从而实时获取电池的第二电压U2和流入电池的第二电流I2In the embodiment of the present invention, the terminal device can also be configured with a fuel gauge at the electrode of the battery, so as to obtain the second voltage U 2 of the battery and the second current I 2 flowing into the battery in real time.

303、根据U1、I1、U2以及I2计算目标充电效率。303. Calculate the target charging efficiency according to U 1 , I 1 , U 2 and I 2 .

作为一种可选的实施方式,在获取到了U1、I1、U2以及I2之后,可以通过如下计算式计算得到目标充电效率:As an optional implementation, after obtaining U 1 , I 1 , U 2 and I 2 , the target charging efficiency can be calculated by the following formula:

其中,X为目标充电效率。Among them, X is the target charging efficiency.

在上述实施方式中,通过计算充电时电池处的功率和USB处的输入功率之间的比值,可以得到目标充电效率,从而获知充电时功率的损失情况。分析目标充电效率可知,目标充电效率越大,则充电过程中损失的功率越低,终端设备的发热越低;反之,若目标充电效率越小,则充电冲程中损失的功率越高,终端设备的发热越高。因此,通过监测目标充电效率,可以监测终端设备是否充电发热异常。In the above embodiments, 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 as to know the power loss during charging. Analysis of the target charging efficiency shows that the higher the target charging efficiency is, the lower the power loss during the charging process will be, and the lower the heat generation of the terminal equipment will be; The higher the fever. Therefore, by monitoring the target charging efficiency, it is possible to monitor whether the terminal device is abnormally heated during charging.

304、根据目标充电效率确定终端设备是否充电发热异常。304. Determine whether the terminal device is abnormally heated during charging according to the target charging efficiency.

作为一种可选的实施方式,终端设备可以获取当前电池的电量值,之后查询与该电量值对应的标准充电效率,之后将目标充电效率与标准充电效率进行比较,若目标充电效率显著低于标准充电效率,则确定终端设备充电发热异常。其中,上述标准充电效率可为预先测定的,终端设备在没有发热异常的情况下,在该电量值时的充电效率。As an optional implementation, the terminal device can obtain the current battery power value, then query the standard charging efficiency corresponding to the power value, and then compare the target charging efficiency with the standard charging efficiency. If the target charging efficiency is significantly lower than If the standard charging efficiency is lower than the standard charging efficiency, it is determined that the terminal device is abnormally heated during charging. Wherein, the above-mentioned standard charging efficiency may be pre-measured, and the charging efficiency of the terminal device at the electric power value under the condition that there is no abnormal heating.

305、终端设备充电发热异常的情况下,获取终端设备中正在运行的进程。305. In the case that the terminal device is abnormally heated during charging, obtain a running process in the terminal device.

本发明实施例中,若终端设备充电发热异常,则可以考虑减少终端设备中运行的进程、降低处理器的运行功耗等方式避免终端设备的发热情况进一步恶化。In the embodiment of the present invention, if the terminal device is abnormally heated during charging, methods such as reducing the processes running in the terminal device and reducing the operating power consumption of the processor can be considered to avoid further deterioration of the heat generation of the terminal device.

306、确定进程的优先级,若进程的优先级为低,则结束该进程,若进程的优先级为高,则降低终端设备的处理器频率来运行该进程。306. Determine the priority of the process. If the priority of the process is low, terminate the process. If the priority of the process is high, reduce the processor frequency of the terminal device to run the process.

作为另一种可选的实施方式,终端设备还可以在充电发热异常的情况下,输出提示消息以提示用户停止充电或者停止在充电时使用终端设备,从而缓解终端设备的发热情况,延长终端设备的使用寿命,避免发生电池爆炸等危险事故。As another optional implementation, the terminal device can also output a prompt message to remind the user to stop charging or stop using the terminal device during charging when the charging heat is abnormal, so as to alleviate the heat generation of the terminal device and prolong the life of the terminal device. To avoid dangerous accidents such as battery explosion.

由此可见,利用图3所描述的方法,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失;由于功率损失将主要转化为热能,因而通过监测功率损失可以实时监测终端设备是否充电发热异常。It can be seen that using the method described in Figure 3, the power loss during charging of the terminal device can be monitored according to the power input from the USB to the terminal device and the charging power at the battery; since the power loss will mainly be converted into heat energy, by monitoring the power loss It can monitor in real time whether the terminal device is charging and heating abnormally.

请参阅图4,图4是本发明实施例公开的一种终端设备400的结构示意图。如图4所示,该终端设备可以包括:Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of a terminal device 400 disclosed in an embodiment of the present invention. As shown in Figure 4, the terminal equipment may include:

第一获取单元401,用于获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1The first obtaining unit 401 is configured to obtain a first voltage U 1 and a first current I 1 of a USB port of a USB port that the terminal device is charging.

本发明实施例中,第一获取单元401可以为电量计,从而实时获取USB端口的第一电压U1和第一电流I1In the embodiment of the present invention, the first acquisition unit 401 may be a fuel gauge, so as to acquire the first voltage U 1 and the first current I 1 of the USB port in real time.

第二获取单元402,用于获取终端设备电池的第二电压U2和流入电池的第二电流I2The second obtaining unit 402 is configured to obtain the second voltage U 2 of the battery of the terminal device and the second current I 2 flowing into the battery.

本发明实施例中,第二获取单元402可以为电量计,从而实时获取电池的第二电压U2和流入电池的第二电流I2In the embodiment of the present invention, the second acquisition unit 402 may be a fuel gauge, so as to acquire the second voltage U 2 of the battery and the second current I 2 flowing into the battery in real time.

第一计算单元403,用于根据U1、I1、U2以及I2计算目标充电效率。The first calculation unit 403 is configured to calculate the target charging efficiency according to U 1 , I 1 , U 2 and I 2 .

本发明实施例中,在获取到了U1、I1、U2以及I2之后,可以通过如下计算式计算得到目标充电效率:In the embodiment of the present invention, after obtaining U 1 , I 1 , U 2 and I 2 , the target charging efficiency can be calculated by the following formula:

其中,X为目标充电效率。Among them, X is the target charging efficiency.

其中,通过计算充电时电池处的功率和USB处的输入功率之间的比值,可以得到目标充电效率,从而获知充电时功率的损失情况。分析目标充电效率可知,目标充电效率越大,则充电过程中损失的功率越低,终端设备的发热越低;反之,若目标充电效率越小,则充电冲程中损失的功率越高,终端设备的发热越高。因此,通过监测目标充电效率,可以监测终端设备是否充电发热异常。Wherein, 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 as to know the power loss during charging. Analysis of the target charging efficiency shows that the higher the target charging efficiency is, the lower the power loss during the charging process will be, and the lower the heat generation of the terminal equipment will be; The higher the fever. Therefore, by monitoring the target charging efficiency, it is possible to monitor whether the terminal device is abnormally heated during charging.

第一确定单元404,用于根据目标充电效率确定终端设备是否充电发热异常。The first determining unit 404 is configured to determine whether the terminal device is abnormally heated during charging according to the target charging efficiency.

作为一种可选的实施方式,终端设备可以获取当前电池的电量值,之后查询与该电量值对应的标准充电效率,之后将目标充电效率与标准充电效率进行比较,若目标充电效率显著低于标准充电效率,则确定终端设备充电发热异常。其中,上述标准充电效率可为预先测定的,终端设备在没有发热异常的情况下,在该电量值时的充电效率。As an optional implementation, the terminal device can obtain the current battery power value, then query the standard charging efficiency corresponding to the power value, and then compare the target charging efficiency with the standard charging efficiency. If the target charging efficiency is significantly lower than If the standard charging efficiency is lower than the standard charging efficiency, it is determined that the terminal device is abnormally heated during charging. Wherein, the above-mentioned standard charging efficiency may be pre-measured, and the charging efficiency of the terminal device at the electric power value under the condition that there is no abnormal heating.

作为另一种可选的实施方式,终端设备可以获取当前电池的电量值,并计算目标充电效率与电量值的目标比例关系,之后与预设的该电量值时的比例关系比较以获得差值,若该差值大于第一预设阈值,则确定终端设备充电发热异常。As another optional implementation, the terminal device can obtain the current battery power value, and calculate the target proportional relationship between the target charging efficiency and the power value, and then compare it with the preset proportional relationship at the power value to obtain the difference , if the difference is greater than the first preset threshold, it is determined that the terminal device is abnormally heated during charging.

以上实施方式可通过电池电量与充电效率的折线图体现。请参阅图2,图2为本发明实施例公开的一种电池电量与充电效率的折线图。在图2中,以正方形表示的折线为终端设备在没有充电发热异常时,获得的电池电量与充电效率的关系示意图;以菱形表示的折线为此次监测终端设备获得的电池电量与充电效率的关系示意图。其中,横轴表示电池电量百分比,纵轴表示充电效率。举例来说,若当前终端设备的电池电量为60%,其对应的充电效率与X1与未充电发热异常时的充电效率X2的差值为δ,若δ大于0.1,则确定终端设备充电发热异常。The above implementation manners can be embodied by a line graph of battery power and charging efficiency. Please refer to FIG. 2 . FIG. 2 is a broken line graph of battery power and charging efficiency disclosed in an embodiment of the present invention. In Figure 2, the broken line represented by a square is a schematic diagram of the relationship between the battery power and charging efficiency obtained by the terminal device when there is no abnormal charging and heating; the broken line represented by a rhombus is the relationship between the battery power and charging efficiency obtained by the monitoring terminal device Relationship diagram. Wherein, the horizontal axis represents the battery power percentage, and the vertical axis represents the charging efficiency. For example, if the battery power of the current terminal device is 60%, the difference between the corresponding charging efficiency and X1 and the charging efficiency X2 when the charging efficiency is abnormal without charging is δ, and if δ is greater than 0.1, it is determined that the terminal device is abnormally charging and heating .

作为一种可选的实施方式,第一确定单元404可以包括:获取子单元4041、计算子单元4042、比较子单元4043以及确定子单元4044。请参阅图5,图5为本发明实施例公开的一种第一确定单元404的结构示意图。其中:As an optional implementation manner, the first determining unit 404 may include: an acquiring subunit 4041 , a calculating subunit 4042 , a comparing subunit 4043 and a determining subunit 4044 . Please refer to FIG. 5 , which is a schematic structural diagram of a first determination unit 404 disclosed in an embodiment of the present invention. in:

获取子单元4041,用于获取当前电池的电量值;Obtaining subunit 4041, used to obtain the current battery power value;

计算子单元4042,用于计算目标充电效率与电量值的目标比例关系;Calculation subunit 4042, used to calculate the target proportional relationship between the target charging efficiency and the power value;

比较子单元4043,用于将目标比例关系与预设比例关系比较;A comparing subunit 4043, configured to compare the target proportional relationship with the preset proportional relationship;

确定子单元4044,用于若目标比例关系与预设比例关系的差值大于第一预设阈值,则确定终端设备充电发热异常。The determining subunit 4044 is configured to determine that the terminal device is abnormally heated during charging if the difference between the target proportional relationship and the preset proportional relationship is greater than a first preset threshold.

由此可见,图4所描述的终端设备,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失;由于功率损失将主要转化为热能,因而通过监测功率损失可以实时监测终端设备是否充电发热异常。It can be seen that the terminal device described in Figure 4 can monitor the power loss when the terminal device is charging according to the power input from the USB to the terminal device and the charging power at the battery; It can monitor in real time whether the terminal device is charging and heating abnormally.

请一并参阅图6,图6是本发明实施例公开的另一种终端设备600的结构示意图。其中,图6所示的终端设备是由图4所示的终端设备进行优化得到的,与图4所示的终端设备相比,图6所示的终端设备还包括:Please refer to FIG. 6 together. FIG. 6 is a schematic structural diagram of another terminal device 600 disclosed in an embodiment of the present invention. Wherein, the terminal equipment shown in FIG. 6 is obtained by optimizing the terminal equipment shown in FIG. 4. Compared with the terminal equipment shown in FIG. 4, the terminal equipment shown in FIG. 6 also includes:

第五获取单元405,用于终端设备充电发热异常的情况下,获取终端设备中正在运行的进程;The fifth obtaining unit 405 is used to obtain the process running in the terminal device when the terminal device is abnormally heated during charging;

第三确定单元406,用于确定进程的优先级;A third determining unit 406, configured to determine the priority of the process;

控制单元407,用于若进程的优先级为低,则结束进程,若进程的优先级为高,则降低终端设备的处理器频率来运行进程。The control unit 407 is configured to terminate 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 present invention, if the terminal device is abnormally heated during charging, methods such as reducing the processes running in the terminal device and reducing the operating power consumption of the processor can be considered to avoid further deterioration of the heat generation of the terminal device.

除此之外,终端设备还可以包括:In addition, terminal equipment can also include:

第二计算单元,用于根据U2以及I2计算电池的目标阻值;The second calculation unit is used to calculate the target resistance value of the battery according to U2 and I2 ;

第三获取单元,用于获取当前电池的电量值;The third acquisition unit is used to acquire the current battery power value;

第四获取单元,用于获取与电量值对应的标准阻值;The fourth acquisition unit is used to acquire the standard resistance value corresponding to the electric quantity value;

比较单元,用于将目标阻值述标准阻值比较;A comparison unit, used to compare the target resistance value with the standard resistance value;

第二确定单元,用于若目标阻值与标准阻值的差值大于第二预设阈值,则确定终端设备充电发热异常。The second determination unit is configured to determine that the terminal device is abnormally heated during charging if the difference between the target resistance value and the standard resistance value is greater than a second preset threshold.

上述第二计算单元、第三获取单元、第四获取单元、比较单元以及第二确定单元并未在附图中示出。The aforementioned second calculation unit, third acquisition unit, fourth acquisition unit, comparison unit and second determination unit are not shown in the drawings.

除此之外,终端设备还可以包括:In addition, terminal equipment can also include:

第四确定单元,用于终端设备充电发热异常的情况下,确定终端设备是否处于唤醒状态;The fourth determining unit is used to determine whether the terminal device is in a wake-up state when the terminal device is abnormally heated during charging;

通知单元,用于若终端设备处于唤醒状态,则输出提示消息以提示用户终端设备充电发热异常。The notification unit is configured to output a prompt message to remind the user that the terminal device is abnormally heated during charging if the terminal device is in the wake-up state.

上述第四确定单元以及通知单元并未在附图中示出。The above fourth determination unit and notification unit are not shown in the drawings.

本发明实施例中,终端设备还可以在充电发热异常的情况下,输出提示消息以提示用户停止充电或者停止在充电时使用终端设备,从而缓解终端设备的发热情况,延长终端设备的使用寿命,避免发生电池爆炸等危险事故。In the embodiment of the present invention, the terminal device can also output a prompt message to remind the user to stop charging or stop using the terminal device during charging when the charging heat is abnormal, so as to alleviate the heat generation of the terminal device and prolong the service life of the terminal device. Avoid dangerous accidents such as battery explosion.

由此可见,图6所描述的终端设备,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失;由于功率损失将主要转化为热能,因而通过监测功率损失可以实时监测终端设备是否充电发热异常。It can be seen that the terminal device described in Figure 6 can monitor the power loss when the terminal device is charging according to the power input from the USB to the terminal device and the charging power at the battery; since the power loss will mainly be converted into heat energy, by monitoring the power loss It can monitor in real time whether the terminal device is charging and heating abnormally.

请参阅图7,图7为本发明实施例公开的另一种终端设备700的结构示意图。如图所示,该终端设备包括处理器701、存储器702、通信接口703以及一个或多个程序,其中,上述一个或多个程序被存储在存储器中,并且被配置为由处理器执行,程序中包括用于执行上述方法实施例中的步骤的指令。Please refer to FIG. 7 , which is a schematic structural diagram of another terminal device 700 disclosed in an embodiment of the present invention. As shown in the figure, the terminal device includes 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, and the program includes instructions for executing the steps in the above method embodiments.

举例来说,程序包括用于执行以下步骤的指令:By way of example, the program includes instructions for performing the following steps:

获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1Obtain the first voltage U 1 and the first current I 1 of the Universal Serial Bus USB port that the terminal device is charging;

获取所述终端设备电池的第二电压U2和流入所述电池的第二电流I2Acquiring the second voltage U2 of the battery of the terminal device and the second current I2 flowing into the battery;

根据所述U1、所述I1、所述U2以及所述I2计算目标充电效率;calculating a target charging efficiency according to the U 1 , the I 1 , the U 2 and the I 2 ;

根据所述目标充电效率确定所述终端设备是否充电发热异常。It is determined according to the target charging efficiency whether the terminal device is abnormally heated during charging.

其中,所述目标充电效率的计算方法为:Wherein, the calculation method of the target charging efficiency is:

其中,X为所述目标充电效率。Wherein, X is the target charging efficiency.

作为一种可选的实施方式,在所述根据所述目标充电效率确定所述终端设备是否充电发热异常方面,程序包括具体用于执行以下步骤的指令:As an optional implementation manner, in terms of determining whether the terminal device is abnormally charged and heated according to the target charging efficiency, the program includes instructions specifically for performing the following steps:

获取当前所述电池的电量值;Obtain the power value of the current battery;

计算所述目标充电效率与所述电量值的目标比例关系;calculating a target proportional relationship between the target charging efficiency and the electric quantity;

将所述目标比例关系与预设比例关系比较,若所述目标比例关系与所述预设比例关系的差值大于第一预设阈值,则确定所述终端设备充电发热异常。The target proportional relationship is compared with a preset proportional relationship, and if the difference between the target proportional relationship and the preset proportional relationship is greater than a first preset threshold, it is determined that the terminal device is abnormally heated during charging.

由此可见,图7所描述的终端设备,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失;由于功率损失将主要转化为热能,因而通过监测功率损失可以实时监测终端设备是否充电发热异常。It can be seen that the terminal device described in Figure 7 can monitor the power loss when the terminal device is charging according to the power input from the USB to the terminal device and the charging power at the battery; It can monitor in real time whether the terminal device is charging and heating abnormally.

请参阅图8,图8为本发明实施例公开的一种终端设备800的结构示意图。如图8所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端设备为手机为例:Please refer to FIG. 8 , which is a schematic structural diagram of a terminal device 800 disclosed in an embodiment of the present invention. As shown in FIG. 8 , for the convenience of description, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The terminal can be any terminal device including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, etc. Taking the terminal device as a mobile phone as an example:

图8示出的是与本发明实施例提供的终端设备相关的手机的部分结构的框图。参考图8,手机包括:射频(Radio Frequency,RF)电路801、存储器802、输入单元803、显示单元804、传感器805、音频电路806、无线保真(wireless fidelity,WiFi)模块807、处理器808、以及电源809等部件。本领域技术人员可以理解,图8中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 8 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided by an embodiment of the present invention. Referring to FIG. 8 , the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 801, a memory 802, an input unit 803, a display unit 804, a sensor 805, an audio circuit 806, a wireless fidelity (wireless fidelity, WiFi) module 807, and a processor 808 , and power supply 809 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 8 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

下面结合图8对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 8:

RF电路801可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器808处理;另外,将设计上行的数据发送给基站。通常,RF电路801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路801还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 801 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 808; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, the RF circuit 801 can also communicate with networks and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.

存储器802可用于存储软件程序以及模块,处理器808通过运行存储在存储器802的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器802可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器802可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 802 can be used to store software programs and modules, and the processor 808 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 802 . The memory 802 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

输入单元803可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元803可包括触控面板8031。触控面板8031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8031上或在触控面板8031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板8031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器808,并能接收处理器集合808发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8031。The input unit 803 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile 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 the user on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 8031 or near the touch panel 8031 operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 8031 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 808, and can receive and execute commands from the processor set 808. In addition, the touch panel 8031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.

显示单元804可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元804可包括显示面板8041,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板8041。进一步的,触控面板8031可覆盖显示面板8041,当触控面板8031检测到在其上或附近的触摸操作后,传送给处理器集合808以确定触摸事件的类型,随后处理器集合808根据触摸事件的类型在显示面板8041上提供相应的视觉输出。虽然在图8中,触控面板8031与显示面板8041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板8031与显示面板8041集成而实现手机的输入和输出功能。The display unit 804 can be used to display information input by the user or provided to the user and various menus of the mobile phone. The display unit 804 may include a display panel 8041. Optionally, the display panel 8041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Furthermore, the touch panel 8031 can cover the display panel 8041. When the touch panel 8031 detects a touch operation on or near it, it sends it to the processor set 808 to determine the type of the touch event, and then the processor set 808 according to the touch The type of event provides a corresponding visual output on the display panel 8041. Although in FIG. 8 , the touch panel 8031 and the display panel 8041 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 8031 and the display panel 8041 can be integrated and Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板8041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 805, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8041 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 8041 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.

音频电路806、扬声器8061,传声器8062可提供用户与手机之间的音频接口。音频电路806可将接收到的音频数据转换后的电信号,传输到扬声器8061,由扬声器8061转换为声音信号输出;另一方面,传声器8062将收集的声音信号转换为电信号,由音频电路806接收后转换为音频数据,再将音频数据输出处理器集合808处理后,经RF电路801以发送给比如另一手机,或者将音频数据输出至存储器802以便进一步处理。The audio circuit 806, the speaker 8061, and the microphone 8062 can provide an audio interface between the user and the mobile phone. The audio circuit 806 can transmit the electrical signal converted from the received audio data to the speaker 8061, and the speaker 8061 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor set 808, and then sent to another mobile phone through the RF circuit 801, or the audio data is output to the memory 802 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块807可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 807. It provides users with wireless broadband Internet access.

处理器808是手机的控制中心,处理器808利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器802内的软件程序和/或模块,以及调用存储在存储器802内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器808可包括一个或多个处理单元;优选的,处理器808可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器808中。The processor 808 is the control center of the mobile phone. The processor 808 utilizes various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 802, and calling the Data, perform various functions of the mobile phone and process data, so as to monitor the mobile phone as a whole. Optionally, the processor 808 may include one or more processing units; preferably, the processor 808 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 808 .

手机还包括给各个部件供电的电源809(比如电池),优选的,电源可以通过电源管理系统与处理器808逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 809 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 808 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.

前述图1或图3所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the aforementioned embodiment shown in FIG. 1 or FIG. 3 , the method flow of each step can be realized based on the structure of the mobile phone.

前述图4至图6所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 4 to FIG. 6 , the functions of each unit can be realized based on the structure of the mobile phone.

举例来说,处理器808可以调用存储器802中存储的计算机程序,用于执行以下操作:For example, the processor 808 can invoke a computer program stored in the memory 802 for performing the following operations:

获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1Obtain the first voltage U 1 and the first current I 1 of the Universal Serial Bus USB port that the terminal device is charging;

获取所述终端设备电池的第二电压U2和流入所述电池的第二电流I2Acquiring the second voltage U2 of the battery of the terminal device and the second current I2 flowing into the battery;

根据所述U1、所述I1、所述U2以及所述I2计算目标充电效率;calculating a target charging efficiency according to the U 1 , the I 1 , the U 2 and the I 2 ;

根据所述目标充电效率确定所述终端设备是否充电发热异常。It is determined according to the target charging efficiency whether the terminal device is abnormally heated during charging.

作为一种可选的实施方式,所述目标充电效率的计算方法为:As an optional implementation, the calculation method of the target charging efficiency is:

其中,X为所述目标充电效率。Wherein, X is the target charging efficiency.

作为一种可选的实施方式,在所述根据所述目标充电效率确定所述终端设备是否充电发热异常方面,处理器808可以调用存储器802中存储的计算机程序,具体用于执行以下操作:As an optional implementation manner, in terms of determining whether the terminal device is abnormally charged and heated according to the target charging efficiency, the processor 808 may call a computer program stored in the memory 802, specifically for performing the following operations:

获取当前所述电池的电量值;Obtain the power value of the current battery;

计算所述目标充电效率与所述电量值的目标比例关系;calculating a target proportional relationship between the target charging efficiency and the electric quantity;

将所述目标比例关系与预设比例关系比较,若所述目标比例关系与所述预设比例关系的差值大于第一预设阈值,则确定所述终端设备充电发热异常。The target proportional relationship is compared with a preset proportional relationship, and if the difference between the target proportional relationship and the preset proportional relationship is greater than a first preset threshold, it is determined that the terminal device is abnormally heated during charging.

作为一种可选的实施方式,处理器808可以调用存储器802中存储的计算机程序,还用于执行以下操作:As an optional implementation manner, the processor 808 may invoke a computer program stored in the memory 802, and is also configured to perform the following operations:

根据所述U2以及所述I2计算所述电池的目标阻值;Calculate the target resistance value of the battery according to the U2 and the I2 ;

获取当前所述电池的电量值;Obtain the power value of the current battery;

获取与所述电量值对应的标准阻值;Obtaining a standard resistance value corresponding to the electric quantity value;

将所述目标阻值与所述标准阻值比较,若所述目标阻值与所述标准阻值的差值大于第二预设阈值,则确定所述终端设备充电发热异常。The target resistance value is compared with the standard resistance value, and if the difference between the target resistance value and the standard resistance value is greater than a second preset threshold, it is determined that the terminal device is abnormally heated during charging.

作为一种可选的实施方式,处理器808可以调用存储器802中存储的计算机程序,还用于执行以下操作:As an optional implementation manner, the processor 808 may invoke a computer program stored in the memory 802, and is also configured to perform the following operations:

所述终端设备充电发热异常的情况下,获取所述终端设备中正在运行的进程;When the terminal device is abnormally heated during charging, obtain the process running in the terminal device;

确定所述进程的优先级,若所述进程的优先级为低,则结束所述进程,若所述进程的优先级为高,则降低所述终端设备的处理器频率来运行所述进程。Determine the priority of the process, if the priority of the process is low, end the process, and if the priority of the process is high, reduce the processor frequency of the terminal device to run the process.

作为一种可选的实施方式,处理器808可以调用存储器802中存储的计算机程序,还用于执行以下操作:As an optional implementation manner, the processor 808 may invoke a computer program stored in the memory 802, and is also configured to perform the following operations:

所述终端设备充电发热异常的情况下,确定所述终端设备是否处于唤醒状态;When the terminal device is abnormally heated during charging, determine whether the terminal device is in a wake-up state;

若所述终端设备处于唤醒状态,则输出提示消息以提示用户所述终端设备充电发热异常。If the terminal device is in the wake-up state, a prompt message is output to remind the user that the terminal device is abnormally heated during charging.

由此可见,图8所描述的终端设备,可以根据USB输入至终端设备的功率和电池处的充电功率监测终端设备充电时的功率损失;由于功率损失将主要转化为热能,因而通过监测功率损失可以实时监测终端设备是否充电发热异常。It can be seen that the terminal device described in Figure 8 can monitor the power loss of the terminal device during charging according to the power input from the USB to the terminal device and the charging power at the battery; since the power loss will mainly be converted into heat energy, by monitoring the power loss It can monitor in real time whether the terminal device is charging and heating abnormally.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括移动终端。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the computer includes a mobile terminal.

本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。An embodiment of the present invention also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the method described in the above method embodiments. Some or all of the steps of any method. The computer program product may be a software installation package, and the computer includes a mobile terminal.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The above-mentioned memory includes: various media capable of storing program codes such as USB flash drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for Those skilled in the art will have changes in the specific implementation and scope of application according to the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (14)

1.一种充电发热异常的检测方法,其特征在于,包括:1. A method for detecting abnormal heating during charging, comprising: 获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1Obtain the first voltage U 1 and the first current I 1 of the Universal Serial Bus USB port that the terminal device is charging; 获取所述终端设备电池的第二电压U2和流入所述电池的第二电流I2Acquiring the second voltage U2 of the battery of the terminal device and the second current I2 flowing into the battery; 根据所述U1、所述I1、所述U2以及所述I2计算目标充电效率;calculating a target charging efficiency according to the U 1 , the I 1 , the U 2 and the I 2 ; 根据所述目标充电效率确定所述终端设备是否充电发热异常。It is determined according to the target charging efficiency whether the terminal device is abnormally heated during charging. 2.根据权利要求1所述的方法,其特征在于,所述目标充电效率的计算方法为:2. The method according to claim 1, wherein the calculation method of the target charging efficiency is: <mrow> <mi>X</mi> <mo>=</mo> <mfrac> <mrow> <msub> <mi>U</mi> <mn>2</mn> </msub> <msub> <mi>I</mi> <mn>2</mn> </msub> </mrow> <mrow> <msub> <mi>U</mi> <mn>1</mn> </msub> <msub> <mi>I</mi> <mn>1</mn> </msub> </mrow> </mfrac> </mrow> <mrow><mi>X</mi><mo>=</mo><mfrac><mrow><msub><mi>U</mi><mn>2</mn></msub><msub><mi>I</mi><mn>2</mn></msub></mrow><mrow><msub><mi>U</mi><mn>1</mn></msub><msub><mi>I</mi><mn>1</mn></msub></mrow></mfrac></mrow> 其中,X为所述目标充电效率。Wherein, X is the target charging efficiency. 3.根据权利要求2所述的方法,其特征在于,所述根据所述目标充电效率确定所述终端设备是否充电发热异常,包括:3. The method according to claim 2, wherein the determining whether the terminal device is abnormally heated during charging according to the target charging efficiency comprises: 获取当前所述电池的电量值;Obtain the power value of the current battery; 计算所述目标充电效率与所述电量值的目标比例关系;calculating a target proportional relationship between the target charging efficiency and the electric quantity; 将所述目标比例关系与预设比例关系比较,若所述目标比例关系与所述预设比例关系的差值大于第一预设阈值,则确定所述终端设备充电发热异常。The target proportional relationship is compared with a preset proportional relationship, and if the difference between the target proportional relationship and the preset proportional relationship is greater than a first preset threshold, it is determined that the terminal device is abnormally heated during charging. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 根据所述U2以及所述I2计算所述电池的目标阻值;Calculate the target resistance value of the battery according to the U2 and the I2 ; 获取当前所述电池的电量值;Obtain the power value of the current battery; 获取与所述电量值对应的标准阻值;Acquiring a standard resistance value corresponding to the electric quantity value; 将所述目标阻值与所述标准阻值比较,若所述目标阻值与所述标准阻值的差值大于第二预设阈值,则确定所述终端设备充电发热异常。The target resistance value is compared with the standard resistance value, and if the difference between the target resistance value and the standard resistance value is greater than a second preset threshold, it is determined that the terminal device is abnormally heated during charging. 5.根据权利要求1~4中任意一项所述的方法,其特征在于,所述方法还包括:5. The method according to any one of claims 1 to 4, characterized in that the method further comprises: 所述终端设备充电发热异常的情况下,获取所述终端设备中正在运行的进程;When the terminal device is abnormally heated during charging, obtain the process running in the terminal device; 确定所述进程的优先级,若所述进程的优先级为低,则结束所述进程,若所述进程的优先级为高,则降低所述终端设备的处理器频率来运行所述进程。Determine the priority of the process, if the priority of the process is low, end the process, and if the priority of the process is high, reduce the processor frequency of the terminal device to run the process. 6.根据权利要求1~4中任意一项所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 1 to 4, wherein the method further comprises: 所述终端设备充电发热异常的情况下,确定所述终端设备是否处于唤醒状态;When the terminal device is abnormally heated during charging, determine whether the terminal device is in a wake-up state; 若所述终端设备处于唤醒状态,则输出提示消息以提示用户所述终端设备充电发热异常。If the terminal device is in the wake-up state, a prompt message is output to remind the user that the terminal device is abnormally heated during charging. 7.一种终端设备,其特征在于,包括:7. A terminal device, characterized in that, comprising: 第一获取单元,用于获取终端设备正在充电的通用串行总线USB端口的第一电压U1和第一电流I1The first obtaining unit is used to obtain the first voltage U 1 and the first current I 1 of the Universal Serial Bus USB port that the terminal device is charging; 第二获取单元,用于获取所述终端设备电池的第二电压U2和流入所述电池的第二电流I2A second acquisition unit, configured to acquire a second voltage U2 of the battery of the terminal device and a second current I2 flowing into the battery; 第一计算单元,用于根据所述U1、所述I1、所述U2以及所述I2计算目标充电效率;A first calculation unit, configured to calculate a target charging efficiency according to the U 1 , the I 1 , the U 2 and the I 2 ; 第一确定单元,用于根据所述目标充电效率确定所述终端设备是否充电发热异常。The first determining unit is configured to determine whether the terminal device is abnormally heated during charging according to the target charging efficiency. 8.根据权利要求7所述的终端设备,其特征在于,所述目标充电效率的计算方法为:8. The terminal device according to claim 7, wherein the calculation method of the target charging efficiency is: <mrow> <mi>X</mi> <mo>=</mo> <mfrac> <mrow> <msub> <mi>U</mi> <mn>2</mn> </msub> <msub> <mi>I</mi> <mn>2</mn> </msub> </mrow> <mrow> <msub> <mi>U</mi> <mn>1</mn> </msub> <msub> <mi>I</mi> <mn>1</mn> </msub> </mrow> </mfrac> </mrow> <mrow><mi>X</mi><mo>=</mo><mfrac><mrow><msub><mi>U</mi><mn>2</mn></msub><msub><mi>I</mi><mn>2</mn></msub></mrow><mrow><msub><mi>U</mi><mn>1</mn></msub><msub><mi>I</mi><mn>1</mn></msub></mrow></mfrac></mrow> 其中,X为所述目标充电效率。Wherein, X is the target charging efficiency. 9.根据权利要求8所述的终端设备,其特征在于,所述第一确定单元,包括:9. The terminal device according to claim 8, wherein the first determining unit comprises: 获取子单元,用于获取当前所述电池的电量值;Obtaining a subunit, used to obtain the power value of the current battery; 计算子单元,用于计算所述目标充电效率与所述电量值的目标比例关系;a calculation subunit, configured to calculate the target proportional relationship between the target charging efficiency and the electric quantity; 比较子单元,用于将所述目标比例关系与预设比例关系比较;A comparing subunit, configured to compare the target proportional relationship with a preset proportional relationship; 确定子单元,用于若所述目标比例关系与所述预设比例关系的差值大于第一预设阈值,则确定所述终端设备充电发热异常。A determining subunit, configured to determine that the terminal device is abnormally heated during charging if the difference between the target proportional relationship and the preset proportional relationship is greater than a first preset threshold. 10.根据权利要求7所述的终端设备,其特征在于,所述终端设备还包括:10. The terminal device according to claim 7, further comprising: 第二计算单元,用于根据所述U2以及所述I2计算所述电池的目标阻值;A second calculation unit, configured to calculate the target resistance value of the battery according to the U2 and the I2 ; 第三获取单元,用于获取当前所述电池的电量值;a third acquiring unit, configured to acquire the current electric quantity value of the battery; 第四获取单元,用于获取与所述电量值对应的标准阻值;A fourth acquisition unit, configured to acquire a standard resistance value corresponding to the electric quantity; 比较单元,用于将所述目标阻值与所述标准阻值比较;a comparison unit, configured to compare the target resistance value with the standard resistance value; 第二确定单元,用于若所述目标阻值与所述标准阻值的差值大于第二预设阈值,则确定所述终端设备充电发热异常。The second determination unit is configured to determine that the terminal device is abnormally heated during charging if the difference between the target resistance value and the standard resistance value is greater than a second preset threshold. 11.根据权利要求7~10中任意一项所述的终端设备,其特征在于,所述终端设备还包括:11. The terminal device according to any one of claims 7-10, wherein the terminal device further comprises: 第五获取单元,用于所述终端设备充电发热异常的情况下,获取所述终端设备中正在运行的进程;The fifth obtaining unit is used to obtain the running process in the terminal device when the terminal device is abnormally heated during charging; 第三确定单元,用于确定所述进程的优先级;a third determining unit, configured to determine the priority of the process; 控制单元,用于若所述进程的优先级为低,则结束所述进程,若所述进程的优先级为高,则降低所述终端设备的处理器频率来运行所述进程。The control unit is 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. 12.根据权利要求7~10中任意一项所述的终端设备,其特征在于,所述终端设备还包括:12. The terminal device according to any one of claims 7-10, wherein the terminal device further comprises: 第四确定单元,用于所述终端设备充电发热异常的情况下,确定所述终端设备是否处于唤醒状态;The fourth determining unit is configured to determine whether the terminal device is in a wake-up state when the terminal device is abnormally heated during charging; 通知单元,用于若所述终端设备处于唤醒状态,则输出提示消息以提示用户所述终端设备充电发热异常。The notification unit is configured to, if the terminal device is in a wake-up state, output a prompt message to remind the user that the terminal device is abnormally heated during charging. 13.一种终端设备,其特征在于,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述程序包括用于执行权利要求1至6任意一项方法中的步骤的指令。13. A terminal device, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the Executed by a processor, the program includes instructions for performing the steps in any one of the methods of claims 1 to 6. 14.一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1至6任意一项所述的方法,所述计算机包括终端设备。14. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the method according to any one of claims 1 to 6, the Computers include terminal devices.
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 true CN107817397A (en) 2018-03-20
CN107817397B 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)

Cited By (3)

* 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
CN111245070A (en) * 2020-03-25 2020-06-05 腾讯科技(深圳)有限公司 Quick charge control method, device, equipment and storage medium
CN115598500A (en) * 2022-10-17 2023-01-13 广东电网有限责任公司(Cn) Detection equipment, detection method and device for charging pile 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 Charging device
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 Charging device
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

Cited By (3)

* 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
CN111245070A (en) * 2020-03-25 2020-06-05 腾讯科技(深圳)有限公司 Quick charge control method, device, equipment and storage medium
CN115598500A (en) * 2022-10-17 2023-01-13 广东电网有限责任公司(Cn) Detection equipment, detection method and device for charging pile and storage medium

Also Published As

Publication number Publication date
CN107817397B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN106412249B (en) Drop information detection method and device
CN106549464A (en) A charging control method, device and computer equipment
CN108594120B (en) Battery state detection method and device and computer readable storage medium
CN107831386A (en) Identification charging abnormal method, equipment, mobile terminal and computer-readable storage medium
CN106549451A (en) A kind of wireless charging method and device
WO2015090248A1 (en) Server overload protection method and device
CN106340925A (en) A charging control method, device and terminal
WO2020077510A1 (en) Method for adjusting parameter of audio service and terminal
CN112655107B (en) Low-temperature protection method for electronic equipment and electronic equipment
CN107450029B (en) Battery state verification method and device, computer equipment, and computer-readable storage medium
CN106786961A (en) Charging process method, device and terminal
WO2014000632A1 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN106484326B (en) Data transmission processing method and mobile terminal
CN107608861A (en) Heat dissipation control method and device
CN110299737A (en) The method, apparatus and electronic equipment of electrical management
CN105933540A (en) Power supply control method, system module and mobile terminal
CN106646440A (en) Drop height detection method and drop height detection device
CN106534288A (en) Data transmission method and mobile terminal
CN107817397A (en) Detection method and terminal equipment for abnormal charging heating
WO2023236972A1 (en) Communication environment security warning method and apparatus, terminal device, and storage medium
CN106714279A (en) A hotspot network switching method and terminal equipment
CN106095566A (en) A kind of response control mehtod and mobile terminal
CN105978084A (en) Method and device for charging electronic equipment
CN107734618A (en) Application closing method, device, storage medium and electronic device
CN105577712B (en) A kind of file uploading method, device and system

Legal Events

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