patents.google.com

CN108398998A - Charging and discharging safety monitoring method based on terminal equipment and terminal equipment - Google Patents

  • ️Tue Aug 14 2018
Charging and discharging safety monitoring method based on terminal equipment and terminal equipment Download PDF

Info

Publication number
CN108398998A
CN108398998A CN201810205527.6A CN201810205527A CN108398998A CN 108398998 A CN108398998 A CN 108398998A CN 201810205527 A CN201810205527 A CN 201810205527A CN 108398998 A CN108398998 A CN 108398998A Authority
CN
China
Prior art keywords
terminal device
system information
charging
monitoring
discharge
Prior art date
2018-03-13
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810205527.6A
Other languages
Chinese (zh)
Inventor
庄瑞军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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.)
2018-03-13
Filing date
2018-03-13
Publication date
2018-08-14
2018-03-13 Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
2018-03-13 Priority to CN201810205527.6A priority Critical patent/CN108398998A/en
2018-08-14 Publication of CN108398998A publication Critical patent/CN108398998A/en
Status Pending legal-status Critical Current

Links

  • 238000000034 method Methods 0.000 title claims abstract description 124
  • 238000012544 monitoring process Methods 0.000 title claims abstract description 76
  • 238000007599 discharging Methods 0.000 title abstract description 77
  • 230000005611 electricity Effects 0.000 claims 10
  • 108010001267 Protein Subunits Proteins 0.000 claims 1
  • 238000003860 storage Methods 0.000 description 11
  • 238000004590 computer program Methods 0.000 description 8
  • 238000010586 diagram Methods 0.000 description 6
  • 238000009826 distribution Methods 0.000 description 3
  • 230000006870 function Effects 0.000 description 3
  • 238000004904 shortening Methods 0.000 description 2
  • 230000009286 beneficial effect Effects 0.000 description 1
  • 230000003287 optical effect Effects 0.000 description 1
  • 238000003825 pressing Methods 0.000 description 1
  • 230000001502 supplementing effect Effects 0.000 description 1

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Quality & Reliability (AREA)
  • Alarm Systems (AREA)

Abstract

The invention relates to the technical field of terminal equipment, and discloses a charging and discharging safety monitoring method based on terminal equipment and the terminal equipment, wherein the method comprises the following steps: in the charging and discharging process of the terminal equipment, the current system information of the terminal equipment, such as at least one of the voltage, the temperature and the CPU utilization rate of the terminal equipment, can be collected, and the charging and discharging safety of the terminal equipment is monitored according to the collected system information. By implementing the embodiment of the invention, the terminal equipment can be safely monitored according to the system information of the terminal equipment in the charging and discharging process, and can take corresponding measures before potential safety hazards appear in the terminal equipment, so that the probability of danger of the terminal equipment in the charging and discharging process is reduced.

Description

一种基于终端设备的充放电安全监控方法及终端设备A charging and discharging safety monitoring method based on terminal equipment and terminal equipment

技术领域technical field

本发明涉及终端设备技术领域,具体涉及一种基于终端设备的充放电安全监控方法及终端设备。The present invention relates to the technical field of terminal equipment, in particular to a terminal equipment-based charging and discharging safety monitoring method and the terminal equipment.

背景技术Background technique

为了能够正常地使用智能手机、笔记本电脑等终端设备,用户需要及时地给终端设备进行充电,然而,在终端设备的充电过程中可能出现由于电压过大导致电池温度升高的情况,同样的,在用户使用终端设备的过程中(即终端设备的放电过程中),可能出现由于中央处理器(Central Processing Unit,CPU)占用率过高导致终端设备温度升高的情况。实践中发现,上述两种情况都可能导致终端设备内部器件损坏,严重时还可能对用户的人身安全造成威胁。In order to be able to use terminal equipment such as smartphones and laptops normally, users need to charge the terminal equipment in time. However, during the charging process of the terminal equipment, the temperature of the battery may rise due to excessive voltage. Similarly, During the process of using the terminal device by the user (that is, during the discharge process of the terminal device), the temperature of the terminal device may rise due to an excessively high occupancy rate of a central processing unit (Central Processing Unit, CPU). In practice, it has been found that the above two situations may cause damage to the internal components of the terminal equipment, and may even pose a threat to the personal safety of users in severe cases.

发明内容Contents of the invention

本发明实施例公开一种基于终端设备的充放电安全监控方法及终端设备,能够在充放电过程中对终端设备进行信息监控,降低终端设备在充放电过程中发生危险的概率。The embodiment of the present invention discloses a charging and discharging safety monitoring method based on a terminal device and the terminal device, which can monitor the information of the terminal device during the charging and discharging process, and reduce the probability of the terminal device being dangerous during the charging and discharging process.

本发明实施例第一方面公开一种基于终端设备的充放电安全监控方法,所述方法包括:The first aspect of the embodiments of the present invention discloses a terminal device-based charging and discharging safety monitoring method, the method including:

在所述终端设备处于充电或者放电过程中,采集所述终端设备的系统信息,所述系统信息包括电压、温度和中央处理器CPU使用率中的至少一种;When the terminal device is charging or discharging, collect system information of the terminal device, where the system information includes at least one of voltage, temperature, and CPU usage of a central processing unit;

根据所述系统信息,对所述终端设备进行充放电安全监控。According to the system information, the charging and discharging safety monitoring of the terminal equipment is performed.

作为一种可选的实施方式,在本发明实施例第一方面中,在所述终端设备处于充电过程中,所述采集所述终端设备的系统信息,包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, when the terminal device is in the charging process, the collecting system information of the terminal device includes:

在所述终端设备处于充电过程中,且当所述终端设备的当前电量处于第一预设电量区间时,每隔第一预设时间间隔采集所述终端设备的系统信息,其中,所述第一预设电量区间根据所述终端设备的充电过程设置得到。When the terminal device is in the charging process, and when the current power level of the terminal device is in a first preset power range, the system information of the terminal device is collected every first preset time interval, wherein the first A preset power interval is set according to the charging process of the terminal device.

作为一种可选的实施方式,在本发明实施例第一方面中,在所述终端设备处于放电过程中,所述采集所述终端设备的系统信息,包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, when the terminal device is in the discharge process, the collecting system information of the terminal device includes:

在所述终端设备处于放电过程中,且当所述终端设备的当前电量处于第二预设电量区间时,每隔第二预设时间间隔采集所述终端设备的系统信息,其中,所述第二预设电量区间根据所述终端设备的放电过程设置得到。When the terminal device is in the process of discharging, and when the current power of the terminal device is in the second preset power interval, the system information of the terminal device is collected every second preset time interval, wherein the first The two preset power intervals are set according to the discharge process of the terminal device.

作为一种可选的实施方式,在本发明实施例第一方面中,所述根据所述系统信息,对所述终端设备进行充放电安全监控之后,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, after performing charge and discharge safety monitoring on the terminal device according to the system information, the method further includes:

通过分析所述系统信息,生成监控报告;Generate a monitoring report by analyzing the system information;

当检测到用户输入的用于查看所述监控报告的指令时,输出显示所述监控报告。When an instruction input by a user for viewing the monitoring report is detected, the monitoring report is output and displayed.

作为一种可选的实施方式,在本发明实施例第一方面中,所述根据所述系统信息,对所述终端设备进行充放电安全监控,包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the performing charge and discharge safety monitoring on the terminal device according to the system information includes:

通过分析所述系统信息,判断所述终端设备是否处于充放电安全状态;By analyzing the system information, it is judged whether the terminal device is in a charging and discharging safe state;

如果否,控制所述终端设备输出提示警报,并执行预设防护操作。If not, control the terminal device to output a prompt alarm, and execute a preset protection operation.

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

采集单元,用于在所述终端设备处于充电或者放电过程中,采集所述终端设备的系统信息,所述系统信息包括电压、温度和中央处理器CPU使用率中的至少一种;A collection unit, configured to collect system information of the terminal device when the terminal device is charging or discharging, where the system information includes at least one of voltage, temperature, and CPU usage of a central processing unit;

监控单元,用于根据所述系统信息,对所述终端设备进行充放电安全监控。The monitoring unit is configured to monitor the charging and discharging safety of the terminal equipment according to the system information.

作为一种可选的实施方式,在本发明实施例第二方面中,所述采集单元包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the collection unit includes:

第一采集子单元,用于在所述终端设备处于充电过程中,且当所述终端设备的当前电量处于第一预设电量区间时,每隔第一预设时间间隔采集所述终端设备的系统信息,其中,所述第一预设电量区间根据所述终端设备的充电过程设置得到。The first acquisition subunit is configured to collect the information of the terminal device every first preset time interval when the terminal device is in the charging process and when the current power level of the terminal device is in the first preset power range. System information, wherein, the first preset power interval is set according to the charging process of the terminal device.

作为一种可选的实施方式,在本发明实施例第二方面中,所述采集单元还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the acquisition unit further includes:

第二采集子单元,用于在所述终端设备处于放电过程中,且当所述终端设备的当前电量处于第二预设电量区间时,每隔第二预设时间间隔采集所述终端设备的系统信息,其中,所述第二预设电量区间根据所述终端设备的放电过程设置得到。The second collection subunit is configured to collect the power of the terminal device every second preset time interval when the terminal device is in the discharge process and the current power of the terminal device is in the second preset power interval System information, wherein the second preset power interval is set according to the discharge process of the terminal device.

作为一种可选的实施方式,在本发明实施例第二方面中,所述终端设备还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the terminal device further includes:

生成单元,用于在所述监控单元根据所述系统信息,对所述终端设备进行充放电安全监控之后,通过分析所述系统信息,生成监控报告;A generating unit, configured to generate a monitoring report by analyzing the system information after the monitoring unit monitors the charging and discharging safety of the terminal device according to the system information;

输出单元,用于当检测到用户输入的用于查看所述监控报告的指令时,输出显示所述监控报告。An output unit configured to output and display the monitoring report when an instruction input by the user for viewing the monitoring report is detected.

作为一种可选的实施方式,在本发明实施例第二方面中,所述监控单元包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the monitoring unit includes:

判断子单元,用于通过分析所述系统信息,判断所述终端设备是否处于充放电安全状态;a judging subunit, configured to judge whether the terminal device is in a charge-discharge safe state by analyzing the system information;

警报子单元,用于在所述判断子单元判断出的结果为否时,控制所述终端设备输出提示警报,并执行预设防护操作。The alarm subunit is configured to control the terminal device to output a prompt alarm and execute a preset protection operation when the judgment result of the judging subunit is negative.

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

存储有可执行程序代码的存储器;a memory storing executable program code;

与所述存储器耦合的处理器;a processor coupled to the memory;

所述处理器调用所述存储器中存储的所述可执行程序代码,执行第一方面的任意一种方法的部分或全部步骤。The processor invokes the executable program code stored in the memory to execute part or all of the steps of any one method of the first aspect.

本发明实施例第四方面公开一种计算机可读存储介质,所述计算机可读存储介质存储了程序代码,其中,所述程序代码包括用于执行第一方面的任意一种方法的部分或全部步骤的指令。The fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, the computer-readable storage medium stores program codes, wherein the program codes include part or all of the method for executing any one of the first aspects Step instructions.

本发明实施例第五方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。A fifth aspect of the embodiments of the present invention discloses a computer program product, which causes the computer to execute part or all of the steps of any one of the methods in the first aspect when the computer program product is run on a computer.

本发明实施例第六方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。The sixth aspect of the embodiments of the present invention discloses an application distribution platform, which is used to distribute computer program products, wherein, when the computer program products run on a computer, the computer executes any of the aspects of the first aspect. Some or all steps of a method.

与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

本发明实施例中,在终端设备的充放电过程中,可以采集到终端设备当前的系统信息,如终端设备的电压、温度和CPU使用率等中的至少一种,根据采集到的系统信息对终端设备进行充放电安全监控。实施本发明实施例,终端设备能够在充放电过程中根据终端设备的系统信息对终端设备进行安全监控,以便可以在出现危险之前及时地采取应对措施,预防危险事故发生,降低终端设备在充放电过程中发生危险的概率。In the embodiment of the present invention, during the charging and discharging process of the terminal device, the current system information of the terminal device can be collected, such as at least one of the voltage, temperature and CPU usage of the terminal device, and the collected system information can be used to The terminal equipment performs charge and discharge safety monitoring. By implementing the embodiment of the present invention, the terminal device can monitor the safety of the terminal device according to the system information of the terminal device during the charging and discharging process, so as to take countermeasures in time before danger occurs, prevent dangerous accidents, and reduce the charging and discharging process of the terminal device. The probability of a hazard occurring in the process.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying 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 making creative efforts.

图1是本发明实施例公开的一种基于终端设备的充放电安全监控方法的流程示意图;FIG. 1 is a schematic flowchart of a method for monitoring charging and discharging safety based on a terminal device disclosed in an embodiment of the present invention;

图2是本发明实施例公开的另一种基于终端设备的充放电安全监控方法的流程示意图;Fig. 2 is a schematic flow chart of another terminal device-based charging and discharging safety monitoring method disclosed in an embodiment of the present invention;

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

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

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

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. 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.

需要说明的是,本发明实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "include" and "have" and any variations thereof in the embodiments of the present invention and drawings are intended to cover 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, products or apparatuses.

本发明实施例公开一种基于终端设备的充放电安全监控方法及终端设备,能够在充放电过程中对终端设备进行安全监控,降低终端设备在充放电过程中发生危险的概率。以下实施例从终端设备角度出发分别进行详细说明。The embodiment of the present invention discloses a charging and discharging safety monitoring method based on a terminal device and the terminal device, which can monitor the safety of the terminal device during the charging and discharging process, and reduce the probability of the terminal device being dangerous during the charging and discharging process. The following embodiments are respectively described in detail from the perspective of terminal equipment.

实施例一Embodiment one

请参阅图1,图1是本发明实施例公开的一种基于终端设备的充放电安全监控方法的流程示意图。如图1所示,该基于终端设备的充放电安全监控方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for monitoring charging and discharging safety based on a terminal device disclosed in an embodiment of the present invention. As shown in Figure 1, the charging and discharging safety monitoring method based on terminal equipment may include the following steps:

101、在终端设备处于充电或者放电过程中,终端设备采集终端设备的系统信息,该系统信息包括电压、温度和中央处理器CPU使用率中的至少一种。101. When the terminal device is in a charging or discharging process, the terminal device collects system information of the terminal device, where the system information includes at least one of voltage, temperature, and CPU usage of a central processing unit.

本发明实施例中,终端设备可以为平板电脑、智能手机、可穿戴设备(如智能手表、智能手环)等,对此,本发明实施例不做限定。In this embodiment of the present invention, the terminal device may be a tablet computer, a smart phone, a wearable device (such as a smart watch, a smart bracelet), etc., which is not limited in this embodiment of the present invention.

本发明实施例中,终端设备的充电过程为给终端设备的蓄电池补充电量的过程;终端设备的放电过程为终端设备的蓄电池对外部电路输出电能的过程。In the embodiment of the present invention, the charging process of the terminal device is a process of supplementing power to the storage battery of the terminal device; the discharging process of the terminal device is the process of outputting electric energy from the storage battery of the terminal device to an external circuit.

本发明实施例中,系统信息可以包括电压、温度和中央处理器CPU使用率中的至少一种或任意多种,系统信息还可以包括除电压、温度和中央处理器CPU使用率之外的信息,如终端设备的充电时长、放电时长等。In the embodiment of the present invention, the system information may include at least one or any multiple of voltage, temperature and CPU usage of the central processing unit, and the system information may also include information other than voltage, temperature and CPU usage of the central processing unit , such as the charging time and discharging time of the terminal device.

102、终端设备根据系统信息,对终端设备进行充放电安全监控。102. The terminal device performs charge and discharge safety monitoring on the terminal device according to the system information.

本发明实施例中,系统信息包括的电压可以为终端设备充电过程中的充电电压,也可以为终端设备放电过程中的放电电压。充电电压如果超出预设充电电压范围区间,可能会将蓄电池烧毁,严重时可能导致蓄电池爆炸,危及到用户的人身安全,因此终端设备要对充电电压进行安全监控;放电电压如果超出预设放电电压范围区间,可能会对终端设备的内部电路或CPU造成损害,从而缩短终端设备的使用寿命,还可能导致终端设备无法正常使用,因此,终端设备要对放电电压进行安全监控。系统信息中的温度可以为在充电或者放电过程中终端设备的当前温度,如果终端设备的当前温度超出预设温度范围区间,可能会造成终端设备中的元器件损坏,使终端设备无法正常工作,因此终端设备要对终端设备的当前温度进行安全监控。系统信息中的中央处理器CPU使用率如果大于预设最大CPU使用率,可能会消耗更多的电能,同时产生更多的热量,从而缩短CPU的使用寿命,还有可能导致终端设备运行速度变慢,因此终端设备要对终端设备的中央处理器CPU使用率进行安全监控。In the embodiment of the present invention, the voltage included in the system information may be the charging voltage during the charging process of the terminal device, or may be the discharging voltage during the discharging process of the terminal device. If the charging voltage exceeds the preset charging voltage range, the battery may be burned, and in severe cases, the battery may explode, endangering the personal safety of the user. Therefore, the terminal equipment should monitor the charging voltage for safety; if the discharging voltage exceeds the preset discharging voltage The range interval may cause damage to the internal circuit or CPU of the terminal equipment, thereby shortening the service life of the terminal equipment, and may also cause the terminal equipment to fail to work normally. Therefore, the terminal equipment should monitor the discharge voltage safely. The temperature in the system information can be the current temperature of the terminal device during charging or discharging. If the current temperature of the terminal device exceeds the preset temperature range, it may cause damage to the components in the terminal device and make the terminal device unable to work normally. Therefore, the terminal device should monitor the current temperature of the terminal device safely. If the CPU usage of the central processing unit in the system information is greater than the preset maximum CPU usage, it may consume more power and generate more heat, thereby shortening the service life of the CPU, and may also cause the operating speed of the terminal device to slow down. Slow, so the terminal device should monitor the CPU usage of the central processing unit of the terminal device for safety.

作为一种可选的实施方式,终端设备除了采集终端设备的系统信息,还可以采集终端设备的当前充放电状态和当前时刻,终端设备根据系统信息,对终端设备进行充放电安全监控之后还可以包括以下步骤:As an optional implementation, in addition to collecting the system information of the terminal device, the terminal device can also collect the current charging and discharging status and the current time of the terminal device. The terminal device can monitor the charging and discharging safety of the terminal device according to the system information. Include the following steps:

终端设备将系统信息、当前充放电状态和当前时刻一并发送至服务设备,以使服务设备根据当前充放电状态以及当前时刻生成充电状态时的终端设备性能报告和放电状态时的终端设备性能报告;The terminal device sends the system information, the current charging and discharging status and the current time to the service device together, so that the service device can generate a performance report of the terminal device in the charging state and a performance report of the terminal device in the discharging state according to the current charging and discharging status and the current time ;

当终端设备检测到用户输入的用于查看终端设备性能报告的指令时,终端设备向服务设备发送终端设备性能报告获取请求,以使服务设备将充电状态时的终端设备性能报告和放电状态时的终端设备性能报告一并发送至终端设备;When the terminal device detects an instruction input by the user to view the terminal device performance report, the terminal device sends a terminal device performance report acquisition request to the service device, so that the service device will report the terminal device performance in the charging state and the terminal device performance report in the discharging state. The terminal equipment performance report is sent to the terminal equipment together;

终端设备输出服务设备发送的充电状态时的终端设备性能报告和放电状态时的终端设备性能报告。The terminal device outputs the terminal device performance report in the charging state and the terminal device performance report in the discharging state sent by the service device.

其中,实施这种实施方式,可以根据一段时间内的终端设备的系统信息,生成终端设备近期的性能报告,以使用户可以及时地知悉终端设备近期的运行情况以及性能状态。Wherein, implementing this embodiment, a recent performance report of the terminal device can be generated according to the system information of the terminal device within a period of time, so that the user can know the recent operation status and performance status of the terminal device in a timely manner.

在图1所描述的方法中,能够在充放电过程中对终端设备进行安全监控,降低终端设备在充放电过程中发生危险的概率。此外,实施图1所描述的方法,可以根据一段时间内的终端设备的系统信息,生成终端设备近期的性能报告,以使用户可以及时地知悉终端设备近期的运行情况以及性能状态。In the method described in FIG. 1 , the safety monitoring of the terminal equipment can be performed during the charging and discharging process, so as to reduce the probability of the terminal equipment being in danger during the charging and discharging process. In addition, by implementing the method described in FIG. 1 , a recent performance report of the terminal device can be generated according to the system information of the terminal device within a period of time, so that the user can know the recent operation and performance status of the terminal device in a timely manner.

实施例二Embodiment two

请参阅图2,图2是本发明实施例公开的另一种基于终端设备的充放电安全监控方法的流程示意图。如图2所示,该基于终端设备的充放电安全监控方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another method for monitoring charging and discharging safety based on a terminal device disclosed in an embodiment of the present invention. As shown in Figure 2, the charging and discharging safety monitoring method based on terminal equipment may include the following steps:

201、在终端设备处于充电或者放电过程中,终端设备采集终端设备的系统信息,该系统信息包括电压、温度和中央处理器CPU使用率中的至少一种。201. When the terminal device is in a charging or discharging process, the terminal device collects system information of the terminal device, where the system information includes at least one of voltage, temperature, and CPU usage of a central processing unit.

作为一种可选的实施方式,在终端设备处于充电过程中,且当终端设备的当前电量处于第一预设电量区间时,终端设备每隔第一预设时间间隔采集终端设备的系统信息,其中,第一预设电量区间根据终端设备的充电过程设置得到,第一预设电量区间可以用户根据当前的需求自行设置,也可以依据终端设备在充电过程中危险性较大的电量区间来设置。第一预设时间间隔可以根据用户的需求自行设置。As an optional implementation manner, when the terminal device is in the charging process, and when the current power level of the terminal device is in the first preset power range, the terminal device collects the system information of the terminal device every first preset time interval, Wherein, the first preset power range is set according to the charging process of the terminal device. The first preset power range can be set by the user according to the current demand, or can be set according to the dangerous power range of the terminal device during the charging process. . The first preset time interval can be set according to the needs of the user.

其中,实施这种实施方式,可以在终端设备充电过程中的任意电量区间内获取终端设备的系统信息,在节省了终端设备的内存容量的同时提高了终端设备监控终端设备充电安全的准确性。Wherein, by implementing this embodiment, the system information of the terminal device can be obtained in any power range during the charging process of the terminal device, which saves the memory capacity of the terminal device and improves the accuracy of the terminal device monitoring the charging safety of the terminal device.

举例来说,第一预设电量区间可以是终端设备电量百分比为10%~15%这一区间,第一预设时间间隔可以为20分钟,当终端设备处于充电状态时,检测终端设备的当前电量是否处于第一预设电量区间内,如果是,终端设备启动计时功能,当时长达到20分钟时,终端设备采集终端设备的系统信息,用户可以自定义采集终端设备系统信息的电量区间和频率,满足用户获取多种信息的需求。For example, the first preset power interval may be the range where the percentage of power of the terminal device is 10% to 15%, and the first preset time interval may be 20 minutes. When the terminal device is in the charging state, the current state of the terminal device is detected Whether the power is within the first preset power range, if so, the terminal device starts the timing function, and when the time reaches 20 minutes, the terminal device collects the system information of the terminal device, and the user can customize the power range and frequency of collecting the system information of the terminal device , to meet the needs of users to obtain a variety of information.

作为一种可选的实施方式,在终端设备处于放电过程中,且当终端设备的当前电量处于第二预设电量区间时,终端设备每隔第二预设时间间隔采集终端设备的系统信息,其中,第二预设电量区间根据终端设备的放电过程设置得到,第二预设电量区间可以用户根据当前的需求自行设置,也可以依据终端设备在放电过程中危险性较大的电量区间来设置,第二预设电量区间可以与第一预设电量区间完全重合,也可以与第一预设电量区间部分重合,还可以与第一预设电量区间完全不重合,对此,本发明实施例不做限定。第二预设时间间隔可以根据用户的需求自行设置,可以与第一预设时间间隔,也可以与第一预设时间间隔不相同,对此,本发明实施例亦不做限定。As an optional implementation manner, when the terminal device is in the discharge process and the current power of the terminal device is in the second preset power range, the terminal device collects the system information of the terminal device every second preset time interval, Wherein, the second preset power range is set according to the discharge process of the terminal device, and the second preset power range can be set by the user according to the current demand, or can be set according to the dangerous power range of the terminal device during the discharge process. , the second preset power range may completely overlap with the first preset power range, may also partially overlap with the first preset power range, or may not overlap with the first preset power range at all. For this, the embodiment of the present invention No limit. The second preset time interval can be set according to the needs of the user, and can be different from or different from the first preset time interval, which is not limited in this embodiment of the present invention.

其中,实施这种实施方式,可以在终端设备放电过程中的任意电量区间内获取终端设备的系统信息,可以节省终端设备的内存容量,还可以提高终端设备监控终端设备放电安全的准确性。Wherein, by implementing this implementation mode, the system information of the terminal device can be obtained in any power interval during the discharge process of the terminal device, the memory capacity of the terminal device can be saved, and the accuracy of the terminal device in monitoring the discharge safety of the terminal device can be improved.

202、通过分析系统信息,终端设备判断终端设备是否处于充放电安全状态,如果是,执行步骤205~步骤206;如果否,执行步骤203~步骤204。202. By analyzing the system information, the terminal device judges whether the terminal device is in a charge-discharge safe state, if yes, perform steps 205-206; if not, perform steps 203-204.

作为一种可选的实施方式,通过分析系统信息,终端设备判断终端设备是否处于充放电安全状态的方式可以包括以下步骤:As an optional implementation manner, by analyzing system information, the method for the terminal device to determine whether the terminal device is in a charging and discharging safe state may include the following steps:

终端设备判断系统信息中的电压是否处于预设正常电压区间;The terminal device judges whether the voltage in the system information is in the preset normal voltage range;

如果不处于预设正常电压区间,终端设备确定终端设备不处于充放电安全状态;If it is not in the preset normal voltage range, the terminal device determines that the terminal device is not in a safe charging and discharging state;

如果处于预设正常电压区间,终端设备判断系统信息中的温度是否处于预设正常温度区间;If it is in the preset normal voltage range, the terminal device judges whether the temperature in the system information is in the preset normal temperature range;

如果不处于预设正常温度区间,终端设备确定终端设备不处于充放电安全状态;If it is not in the preset normal temperature range, the terminal device determines that the terminal device is not in a safe charging and discharging state;

如果处于预设正常温度区间,终端设备判断系统信息中的CPU使用率是否大于预设正常CPU使用率;If it is in the preset normal temperature range, the terminal device judges whether the CPU usage in the system information is greater than the preset normal CPU usage;

如果大于预设正常CPU使用率,终端设备确定终端设备不处于充放电安全状态;If it is greater than the preset normal CPU usage rate, the terminal device determines that the terminal device is not in a safe charging and discharging state;

如果不大于预设正常CPU使用率,终端设备确定终端设备处于充放电安全状态。If it is not greater than the preset normal CPU usage rate, the terminal device determines that the terminal device is in a charging and discharging safe state.

其中,实施这种实施方式,可以从多个方面同时判断终端设备当前是否处于安全状态,提高了终端设备监控终端设备充放电安全的准确性。Wherein, by implementing this implementation manner, whether the terminal device is currently in a safe state can be judged from multiple aspects at the same time, and the accuracy of the terminal device monitoring the charging and discharging safety of the terminal device is improved.

203、终端设备控制终端设备输出提示警报。203. The terminal device controls the terminal device to output a prompt alarm.

本发明实施例中,终端设备输出提示警报的方式可以为终端设备控制蜂鸣器发出预设的警报提示音,还可以控制终端设备上的指示灯按照预设频率闪烁,以提示用户当前终端设备处于危险状态。In the embodiment of the present invention, the way the terminal device outputs a prompt alarm can be that the terminal device controls the buzzer to emit a preset alarm sound, and can also control the indicator light on the terminal device to flash at a preset frequency to remind the user that the current terminal device in danger.

204、终端设备执行预设防护操作,并执行步骤205~步骤206。204. The terminal device executes a preset protection operation, and executes steps 205 to 206.

本发明实施例中,预设防护操作可以根据终端设备当前状态来设置,预设防护操作可以包括清理后台任务、停止充电、关机等。In the embodiment of the present invention, the preset protection operation can be set according to the current state of the terminal device, and the preset protection operation can include clearing background tasks, stopping charging, shutting down and so on.

作为一种可选的实施方式,终端设备执行预设防护操作的方式可以包括以下步骤:As an optional implementation manner, the manner in which the terminal device executes the preset protection operation may include the following steps:

终端设备检测终端设备的当前状态是否为危险状态;The terminal device detects whether the current state of the terminal device is a dangerous state;

如果终端设备的当前状态为危险状态,终端设备执行关机操作;If the current state of the terminal device is in a dangerous state, the terminal device performs a shutdown operation;

如果终端设备的当前状态不为危险状态,终端设备检测终端设备是否处于充电状态;If the current state of the terminal device is not in a dangerous state, the terminal device detects whether the terminal device is in a charging state;

如果终端设备处于充电状态,终端设备执行停止充电操作;If the terminal device is in the charging state, the terminal device executes the stop charging operation;

如果终端设备不处于充电状态,终端设备执行清理后台任务操作。If the terminal device is not in the charging state, the terminal device performs an operation of clearing background tasks.

其中,实施这种实施方式,终端设备可以准确的根据终端设备当前的状态确定应该执行的操作,提高了终端设备的智能性。Wherein, by implementing this embodiment, the terminal device can accurately determine the operation to be performed according to the current state of the terminal device, which improves the intelligence of the terminal device.

本发明实施例中,实施上述的步骤202~步骤204,可以通过系统信息准确的分析出终端设备当前的安全状态,并且在终端设备处于危险状态时及时通知用户,并及时的采取应对措施,最大限度的保障终端设备的安全以及用户的人身安全。In the embodiment of the present invention, by implementing the above steps 202 to 204, the current security status of the terminal device can be accurately analyzed through system information, and the user can be notified in time when the terminal device is in a dangerous state, and countermeasures can be taken in time, maximizing The safety of terminal equipment and the personal safety of users are guaranteed to the maximum extent.

205、终端设备通过分析系统信息,生成监控报告。205. The terminal device generates a monitoring report by analyzing the system information.

本发明实施例中,监控报告可以包括系统信息的全部内容,还可以包括终端设备获取系统信息的时间以及终端设备的充放电状态,还可以通过系统信息分析终端设备当前的性能以及预计的使用寿命,此外,监控报告还可以生成针对用户正确使用终端设备的建议,帮助用户延长终端设备的使用寿命。In the embodiment of the present invention, the monitoring report can include all the content of the system information, and can also include the time when the terminal device obtains the system information and the charging and discharging status of the terminal device, and can also analyze the current performance and expected service life of the terminal device through the system information , In addition, the monitoring report can also generate suggestions for users to use terminal equipment correctly, helping users to extend the service life of terminal equipment.

206、当检测到用户输入的用于查看监控报告的指令时,终端设备输出显示监控报告。206. When detecting an instruction input by the user for viewing the monitoring report, the terminal device outputs and displays the monitoring report.

本发明实施例中,用户输入用于查看监控报告指令的方式可以为点击终端设备屏幕上的虚拟按键来实现,也可以为按压终端设备上的物理按钮来实现,对此,本发明实施例不做限定。In the embodiment of the present invention, the way for the user to input an instruction for viewing the monitoring report can be realized by clicking a virtual button on the screen of the terminal device, or by pressing a physical button on the terminal device. For this, the embodiment of the present invention does not Do limited.

本发明实施例中,终端设备输出显示监控报告的方式可以为在终端设备的显示器上显示监控报告,终端设备也可以将监控报告发送给预先建立连接的打印机,以使打印机将监控报告打印出来供用户查看。In the embodiment of the present invention, the terminal device can output and display the monitoring report by displaying the monitoring report on the display of the terminal device, and the terminal device can also send the monitoring report to a printer connected in advance, so that the printer can print out the monitoring report for user view.

本发明实施例中,实施上述的步骤205~步骤206,可以在用户需要查看终端设备当前状态的时候,及时的输出最近一次的监控报告供用户查看,便于用户了解终端设备的当前状态。In the embodiment of the present invention, by implementing the above steps 205 to 206, when the user needs to check the current status of the terminal device, the latest monitoring report can be output in time for the user to check, so that the user can understand the current status of the terminal device.

在图2所描述的方法中,能够在充放电过程中对终端设备进行安全监控,降低终端设备在充放电过程中发生危险的概率。此外,实施图2所描述的方法,可以在终端设备充电过程中的任意电量区间内获取终端设备的系统信息,在节省了终端设备的内存容量的同时提高了终端设备监控终端设备充电安全的准确性。此外,实施图2所描述的方法,用户可以自定义采集终端设备系统信息的电量区间和频率,满足用户获取多种信息的需求。此外,实施图2所描述的方法,可以在终端设备放电过程中的任意电量区间内获取终端设备的系统信息,可以节省终端设备的内存容量,还可以提高终端设备监控终端设备放电安全的准确性。此外,实施图2所描述的方法,可以从多个方面同时判断终端设备当前是否处于安全状态,提高了终端设备监控终端设备充放电安全的准确性。此外,实施图2所描述的方法,终端设备可以准确的根据终端设备当前的状态确定应该执行的操作,提高了终端设备的智能性。此外,实施图2所描述的方法,可以通过系统信息准确的分析出终端设备当前的安全状态,并且在终端设备处于危险状态时及时通知用户,并及时的采取应对措施,最大限度的保障终端设备的安全以及用户的人身安全。此外,实施图2所描述的方法,可以在用户需要查看终端设备当前状态的时候,及时的输出最近一次的监控报告供用户查看,便于用户了解终端设备的当前状态。In the method described in FIG. 2 , the safety monitoring of the terminal device can be performed during the charging and discharging process, and the probability of danger occurring to the terminal device during the charging and discharging process can be reduced. In addition, by implementing the method described in Figure 2, the system information of the terminal device can be obtained in any power interval during the charging process of the terminal device, which saves the memory capacity of the terminal device and improves the accuracy of the terminal device in monitoring the charging safety of the terminal device. sex. In addition, by implementing the method described in FIG. 2 , the user can customize the power range and frequency for collecting system information of the terminal device to meet the user's needs for obtaining various information. In addition, by implementing the method described in Figure 2, the system information of the terminal device can be obtained in any power interval during the discharge process of the terminal device, the memory capacity of the terminal device can be saved, and the accuracy of the terminal device's monitoring of the discharge safety of the terminal device can also be improved. . In addition, implementing the method described in FIG. 2 can simultaneously determine whether the terminal device is currently in a safe state from multiple aspects, improving the accuracy of the terminal device monitoring the charging and discharging safety of the terminal device. In addition, by implementing the method described in FIG. 2 , the terminal device can accurately determine the operation to be performed according to the current state of the terminal device, which improves the intelligence of the terminal device. In addition, implementing the method described in Figure 2 can accurately analyze the current security status of the terminal device through system information, and promptly notify the user when the terminal device is in a dangerous state, and take countermeasures in a timely manner to maximize the protection of the terminal device safety and the personal safety of users. In addition, by implementing the method described in FIG. 2 , when the user needs to check the current status of the terminal device, the latest monitoring report can be output in time for the user to check, so that the user can understand the current status of the terminal device.

实施例三Embodiment Three

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

采集单元301,用于在终端设备处于充电或者放电过程中,采集终端设备的系统信息,该系统信息包括电压、温度和中央处理器CPU使用率中的至少一种。The collecting unit 301 is configured to collect system information of the terminal device when the terminal device is charging or discharging, and the system information includes at least one of voltage, temperature and CPU usage rate of the central processing unit.

监控单元302,用于根据采集单元301采集的系统信息,对终端设备进行充放电安全监控。The monitoring unit 302 is configured to monitor the charging and discharging safety of the terminal equipment according to the system information collected by the collecting unit 301 .

作为一种可选的实施方式,采集单元301采集到的终端设备的系统信息还可以包括终端设备的当前充放电状态和当前时刻,监控单元302对终端设备进行充放电安全监控之后还可以用于:As an optional implementation, the system information of the terminal device collected by the collection unit 301 may also include the current charging and discharging status and the current time of the terminal device, and the monitoring unit 302 may also be used to :

将系统信息、当前充放电状态和当前时刻一并发送至服务设备,以使服务设备根据当前充放电状态以及当前时刻生成充电状态时的终端设备性能报告和放电状态时的终端设备性能报告;Send the system information, the current charge and discharge status and the current time to the service device together, so that the service device can generate a performance report of the terminal device in the charge state and a performance report of the terminal device in the discharge state according to the current charge and discharge state and the current time;

当检测到用户输入的用于查看终端设备性能报告的指令时,向服务设备发送终端设备性能报告获取请求,以使服务设备将充电状态时的终端设备性能报告和放电状态时的终端设备性能报告一并发送至终端设备;When an instruction input by the user to view the performance report of the terminal device is detected, a terminal device performance report acquisition request is sent to the service device, so that the service device will report the performance report of the terminal device in the charging state and the performance report of the terminal device in the discharging state Send it to the terminal device together;

输出服务设备发送的充电状态时的终端设备性能报告和放电状态时的终端设备性能报告。The terminal device performance report in the charging state and the terminal device performance report in the discharging state sent by the service device are output.

其中,实施这种实施方式,可以根据一段时间内的终端设备的系统信息,生成终端设备近期的性能报告,以使用户可以及时地知悉终端设备近期的运行情况以及性能状态。Wherein, implementing this embodiment, a recent performance report of the terminal device can be generated according to the system information of the terminal device within a period of time, so that the user can know the recent operation status and performance status of the terminal device in a timely manner.

可见,实施图3所描述的终端设备,能够在充放电过程中对终端设备进行信息监控,降低终端设备在充放电过程中发生危险的概率。此外,实施图3所描述的终端设备,可以根据一段时间内的终端设备的系统信息,生成终端设备近期的性能报告,以使用户可以及时地知悉终端设备近期的运行情况以及性能状态。It can be seen that the implementation of the terminal device described in FIG. 3 can monitor the information of the terminal device during the charging and discharging process, and reduce the probability of the terminal device being in danger during the charging and discharging process. In addition, implementing the terminal device described in FIG. 3 can generate a recent performance report of the terminal device according to the system information of the terminal device within a period of time, so that the user can know the recent operation and performance status of the terminal device in a timely manner.

实施例四Embodiment four

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

生成单元303,用于在监控单元302根据系统信息,对终端设备进行充放电安全监控之后,通过分析采集单元301采集的系统信息,生成监控报告。The generating unit 303 is configured to generate a monitoring report by analyzing the system information collected by the collecting unit 301 after the monitoring unit 302 monitors the charging and discharging safety of the terminal device according to the system information.

输出单元304,用于当检测到用户输入的用于查看监控报告的指令时,输出显示生成单元303生成的监控报告。The output unit 304 is configured to output the monitoring report generated by the display generation unit 303 when an instruction input by the user for viewing the monitoring report is detected.

本发明实施例中,可以在用户需要查看终端设备当前状态的时候,及时的输出最近一次的监控报告供用户查看,便于用户了解终端设备的当前状态。In the embodiment of the present invention, when the user needs to view the current state of the terminal device, the latest monitoring report can be output in time for the user to view, so that the user can understand the current state of the terminal device.

作为一种可选的实施方式,采集单元301可以包括:As an optional implementation manner, the collection unit 301 may include:

第一采集子单元3011,用于在终端设备处于充电过程中,且当终端设备的当前电量处于第一预设电量区间时,每隔第一预设时间间隔采集终端设备的系统信息,其中,第一预设电量区间根据终端设备的充电过程设置得到。The first collection subunit 3011 is configured to collect the system information of the terminal device every first preset time interval when the terminal device is in the charging process and the current power level of the terminal device is in the first preset power range, wherein, The first preset power interval is set according to the charging process of the terminal device.

本发明实施例中,第一采集子单元3011可以在终端设备充电过程中的任意电量区间内获取终端设备的系统信息,在节省了终端设备的内存容量的同时提高了终端设备监控终端设备充电安全的准确性。In the embodiment of the present invention, the first acquisition subunit 3011 can acquire the system information of the terminal device in any power interval during the charging process of the terminal device, which saves the memory capacity of the terminal device and improves the terminal device monitoring and charging safety of the terminal device. accuracy.

第二采集子单元3012,用于在终端设备处于放电过程中,且当终端设备的当前电量处于第二预设电量区间时,每隔第二预设时间间隔采集终端设备的系统信息,其中,第二预设电量区间根据终端设备的放电过程设置得到。The second collection subunit 3012 is configured to collect the system information of the terminal device every second preset time interval when the terminal device is in the discharge process and the current power of the terminal device is in the second preset power interval, wherein, The second preset power interval is obtained according to the setting of the discharge process of the terminal device.

本发明实施例中,第二采集子单元3012可以在终端设备放电过程中的任意电量区间内获取终端设备的系统信息,可以节省终端设备的内存容量,还可以提高终端设备监控终端设备放电安全的准确性。In the embodiment of the present invention, the second collection subunit 3012 can acquire the system information of the terminal device in any power interval during the discharge process of the terminal device, which can save the memory capacity of the terminal device, and can also improve the safety of the terminal device in monitoring the discharge of the terminal device. accuracy.

作为一种可选的实施方式,监控单元302可以包括:As an optional implementation manner, the monitoring unit 302 may include:

判断子单元3021,用于通过分析采集单元301采集的系统信息,判断终端设备是否处于充放电安全状态。The judging subunit 3021 is configured to judge whether the terminal device is in a charging and discharging safe state by analyzing the system information collected by the collecting unit 301 .

作为一种可选的实施方式,判断子单元3021通过分析系统信息,判断终端设备是否处于充放电安全状态的方式可以包括为:As an optional implementation manner, the judging subunit 3021 may analyze the system information to judge whether the terminal device is in the charging and discharging safe state may include:

判断系统信息中的电压是否处于预设正常电压区间;Determine whether the voltage in the system information is within the preset normal voltage range;

如果不处于预设正常电压区间,确定终端设备不处于充放电安全状态;If it is not in the preset normal voltage range, it is determined that the terminal equipment is not in a safe state for charging and discharging;

如果处于预设正常电压区间,判断系统信息中的温度是否处于预设正常温度区间;If it is in the preset normal voltage range, judge whether the temperature in the system information is in the preset normal temperature range;

如果不处于预设正常温度区间,确定终端设备不处于充放电安全状态;If it is not in the preset normal temperature range, it is determined that the terminal equipment is not in a safe state for charging and discharging;

如果处于预设正常温度区间,判断系统信息中的CPU使用率是否大于预设正常CPU使用率;If it is in the preset normal temperature range, determine whether the CPU usage in the system information is greater than the preset normal CPU usage;

如果大于预设正常CPU使用率,确定终端设备不处于充放电安全状态;If it is greater than the preset normal CPU usage rate, it is determined that the terminal device is not in a safe state for charging and discharging;

如果不大于预设正常CPU使用率,确定终端设备处于充放电安全状态。If it is not greater than the preset normal CPU usage rate, it is determined that the terminal device is in a charging and discharging safe state.

其中,实施这种实施方式,可以从多个方面同时判断终端设备当前是否处于安全状态,提高了监控终端设备充放电安全的准确性。Wherein, by implementing this implementation manner, whether the terminal device is currently in a safe state can be judged from multiple aspects at the same time, and the accuracy of monitoring the charging and discharging safety of the terminal device is improved.

警报子单元3022,用于在判断子单元3021判断出的结果为否时,控制终端设备输出提示警报,并执行预设防护操作。The alarm subunit 3022 is configured to control the terminal device to output a prompt alarm and execute a preset protection operation when the determination result of the determination subunit 3021 is negative.

作为一种可选的实施方式,警报子单元3022执行预设防护操作的方式可以为:As an optional implementation manner, the manner in which the alarm subunit 3022 executes a preset protection operation may be as follows:

检测终端设备的当前状态是否为危险状态;Detect whether the current state of the terminal device is a dangerous state;

如果终端设备的当前状态为危险状态,执行关机操作;If the current state of the terminal device is in a dangerous state, perform a shutdown operation;

如果终端设备的当前状态不为危险状态,检测终端设备是否处于充电状态;If the current state of the terminal device is not in a dangerous state, detect whether the terminal device is in a charging state;

如果终端设备处于充电状态,执行停止充电操作;If the terminal device is in the charging state, perform the stop charging operation;

如果终端设备不处于充电状态,执行清理后台任务操作。If the terminal device is not in the charging state, perform the operation of clearing background tasks.

其中,实施这种实施方式,可以准确的根据终端设备当前的状态确定应该执行的操作,提高了终端设备的智能性。Wherein, by implementing such an implementation manner, the operation to be performed can be accurately determined according to the current state of the terminal device, and the intelligence of the terminal device is improved.

本发明实施例中,可以通过系统信息准确的分析出终端设备当前的安全状态,并且在终端设备处于危险状态时及时通知用户,并及时的采取应对措施,最大限度的保障终端设备的安全以及用户的人身安全。In the embodiment of the present invention, the current security status of the terminal device can be accurately analyzed through the system information, and the user is notified in time when the terminal device is in a dangerous state, and countermeasures are taken in time to ensure the safety of the terminal device and the security of the user to the greatest extent. personal safety.

可见,实施图4所描述的终端设备,能够在充放电过程中对终端设备进行信息监控,降低终端设备在充放电过程中发生危险的概率。此外,实施图4所描述的终端设备,可以在用户需要查看终端设备当前状态的时候,及时的输出最近一次的监控报告供用户查看,便于用户了解终端设备的当前状态。此外,实施图4所描述的终端设备,可以在终端设备充电过程中的任意电量区间内获取终端设备的系统信息,在节省了终端设备的内存容量的同时提高了终端设备监控终端设备充电安全的准确性。此外,实施图4所描述的终端设备,可以在终端设备放电过程中的任意电量区间内获取终端设备的系统信息,可以节省终端设备的内存容量,还可以提高终端设备监控终端设备放电安全的准确性。此外,实施图4所描述的终端设备,可以从多个方面同时判断终端设备当前是否处于安全状态,提高了监控终端设备充放电安全的准确性。此外,实施图4所描述的终端设备,可以准确的根据终端设备当前的状态确定应该执行的操作,提高了终端设备的智能性。此外,实施图4所描述的终端设备,可以通过系统信息准确的分析出终端设备当前的安全状态,并且在终端设备处于危险状态时及时通知用户,并及时的采取应对措施,最大限度的保障终端设备的安全以及用户的人身安全。It can be seen that the implementation of the terminal device described in FIG. 4 can monitor the information of the terminal device during the charging and discharging process, and reduce the probability of the terminal device being in danger during the charging and discharging process. In addition, implementing the terminal device described in FIG. 4 can timely output the latest monitoring report for the user to check when the user needs to check the current status of the terminal device, so that the user can understand the current status of the terminal device. In addition, by implementing the terminal device described in Figure 4, the system information of the terminal device can be obtained in any power interval during the charging process of the terminal device, which saves the memory capacity of the terminal device and improves the security of the terminal device to monitor the charging of the terminal device. accuracy. In addition, the implementation of the terminal device described in Figure 4 can obtain the system information of the terminal device in any power range during the discharge process of the terminal device, which can save the memory capacity of the terminal device, and can also improve the accuracy of the terminal device in monitoring the discharge safety of the terminal device. sex. In addition, implementing the terminal device described in FIG. 4 can simultaneously determine whether the terminal device is currently in a safe state from multiple aspects, improving the accuracy of monitoring the charging and discharging safety of the terminal device. In addition, implementing the terminal device described in FIG. 4 can accurately determine the operation to be performed according to the current state of the terminal device, which improves the intelligence of the terminal device. In addition, implementing the terminal device described in Figure 4 can accurately analyze the current security status of the terminal device through system information, and promptly notify the user when the terminal device is in a dangerous state, and take countermeasures in a timely manner to maximize the protection of the terminal device. The safety of the device and the personal safety of the user.

实施例五Embodiment five

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

存储有可执行程序代码的存储器501;A memory 501 storing executable program codes;

与存储器501耦合的处理器502;a processor 502 coupled to the memory 501;

其中,处理器502调用存储器501中存储的可执行程序代码,执行以上各方法实施例中的方法的部分或全部步骤。Wherein, the processor 502 invokes the executable program code stored in the memory 501 to execute some or all steps of the method in the above method embodiments.

本发明实施例还公开一种计算机可读存储介质,其中,计算机可读存储介质存储了程序代码,其中,程序代码包括用于执行以上各方法实施例中的方法的部分或全部步骤的指令。The embodiment of the present invention also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores program codes, wherein the program codes include instructions for executing some or all steps of the methods in the above method embodiments.

本发明实施例还公开一种计算机程序产品,其中,当计算机程序产品在计算机上运行时,使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。The embodiment of the present invention also discloses a computer program product, wherein, when the computer program product is run on a computer, the computer is made to execute some or all of the steps of the methods in the above method embodiments.

本发明实施例还公开一种应用发布平台,其中,应用发布平台用于发布计算机程序产品,其中,当计算机程序产品在计算机上运行时,使得计算机执行如以上各方法实施例中的方法的部分或全部步骤。The embodiment of the present invention also discloses an application distribution platform, wherein the application distribution platform is used to distribute computer program products, wherein, when the computer program products are run on the computer, the computer is made to execute the part of the method in the above method embodiments or all steps.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.

在本发明的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not necessarily mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not be used in the implementation of the present invention. The implementation of the examples constitutes no limitation.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。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 storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above 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, located in one place, or 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.

上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明的各个实施例上述方法的部分或全部步骤。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-accessible memory. Based on this understanding, 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 , including several requests to make a computer device (which may be a personal computer, server, or network device, etc., specifically, a processor in the computer device) execute some or all of the steps of the above-mentioned methods in various embodiments of the present invention.

以上对本发明实施例公开的一种基于终端设备的充放电安全监控方法及终端设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction of a charging and discharging safety monitoring method based on terminal equipment and terminal equipment disclosed in the embodiments of the present invention. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only It is used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, this The content of the description should not be construed as limiting the present invention.

Claims (10)

1. a kind of charge and discharge method for safety monitoring based on terminal device, which is characterized in that the method includes:

During the terminal device is in charge or discharge, the system information of the terminal device, the system are acquired Information includes at least one of voltage, temperature and central processor CPU utilization rate;

According to the system information, charge and discharge security monitoring is carried out to the terminal device.

2. described to adopt according to the method described in claim 1, it is characterized in that, be in charging process in the terminal device Collect the system information of the terminal device, including:

It is in charging process in the terminal device, and when the current electric quantity of the terminal device is in the first default electricity area Between when, acquire the system information of the terminal device every the first prefixed time interval, wherein the first default electricity section It is arranged to obtain according to the charging process of the terminal device.

3. described to adopt according to the method described in claim 1, it is characterized in that, be in discharge process in the terminal device Collect the system information of the terminal device, including:

It is in discharge process in the terminal device, and when the current electric quantity of the terminal device is in the second default electricity area Between when, acquire the system information of the terminal device every the second prefixed time interval, wherein the second default electricity section It is arranged to obtain according to the discharge process of the terminal device.

4. according to claims 1 to 3 any one of them method, which is characterized in that it is described according to the system information, to described After terminal device carries out charge and discharge security monitoring, the method further includes:

By analyzing the system information, monitoring report is generated;

When detecting the instruction input by user for being used to check the monitoring report, output shows the monitoring report.

5. according to Claims 1 to 4 any one of them method, which is characterized in that it is described according to the system information, to described Terminal device carries out charge and discharge security monitoring, including:

By analyzing the system information, judge whether the terminal device is in charge and discharge safe condition;

If not, controlling the terminal device output indicating alarm, and executes and preset fence operation.

6. a kind of terminal device, which is characterized in that including:

Collecting unit, the system for during the terminal device is in charge or discharge, acquiring the terminal device Information, the system information include at least one of voltage, temperature and central processor CPU utilization rate;

Monitoring unit, for according to the system information, charge and discharge security monitoring to be carried out to the terminal device.

7. terminal device according to claim 6, which is characterized in that the collecting unit includes:

First acquisition subelement, for being in charging process in the terminal device, and when the current electricity of the terminal device When amount is in the first default electricity section, the system information of the terminal device is acquired every the first prefixed time interval, wherein The first default electricity section is arranged to obtain according to the charging process of the terminal device.

8. terminal device according to claim 6, which is characterized in that the collecting unit further includes:

Second acquisition subelement, for being in discharge process in the terminal device, and when the current electricity of the terminal device When amount is in the second default electricity section, the system information of the terminal device is acquired every the second prefixed time interval, wherein The second default electricity section is arranged to obtain according to the discharge process of the terminal device.

9. according to claim 6~8 any one of them terminal device, which is characterized in that the terminal device further includes:

Generation unit, for, according to the system information, charge and discharge safety being carried out to the terminal device in the monitoring unit After monitoring, by analyzing the system information, monitoring report is generated;

Output unit, described in when detecting the instruction input by user for being used to check the monitoring report, output is shown Monitoring report.

10. according to claim 6~9 any one of them terminal device, which is characterized in that the monitoring unit includes:

Judgment sub-unit, for by analyzing the system information, judging whether the terminal device is in the safe shape of charge and discharge State;

Alarm subelement when the result for judging in the judgment sub-unit is no, controls the terminal device output and carries It warns report, and executes and preset fence operation.

CN201810205527.6A 2018-03-13 2018-03-13 Charging and discharging safety monitoring method based on terminal equipment and terminal equipment Pending CN108398998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810205527.6A CN108398998A (en) 2018-03-13 2018-03-13 Charging and discharging safety monitoring method based on terminal equipment and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810205527.6A CN108398998A (en) 2018-03-13 2018-03-13 Charging and discharging safety monitoring method based on terminal equipment and terminal equipment

Publications (1)

Publication Number Publication Date
CN108398998A true CN108398998A (en) 2018-08-14

Family

ID=63091759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810205527.6A Pending CN108398998A (en) 2018-03-13 2018-03-13 Charging and discharging safety monitoring method based on terminal equipment and terminal equipment

Country Status (1)

Country Link
CN (1) CN108398998A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107221980A (en) * 2017-06-27 2017-09-29 广东欧珀移动通信有限公司 Terminal equipment and its temperature rise control method, device and storage medium during charging
CN107565639A (en) * 2017-09-15 2018-01-09 维沃移动通信有限公司 A kind of charging reminding method and mobile terminal
CN107645189A (en) * 2017-09-26 2018-01-30 努比亚技术有限公司 Charge protection method and mobile terminal
US9893385B1 (en) * 2015-04-23 2018-02-13 Ambri Inc. Battery management systems for energy storage devices
US20180060201A1 (en) * 2016-08-26 2018-03-01 Fairchild Semiconductor Corporation Usb type-c to legacy usb cable detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9893385B1 (en) * 2015-04-23 2018-02-13 Ambri Inc. Battery management systems for energy storage devices
US20180060201A1 (en) * 2016-08-26 2018-03-01 Fairchild Semiconductor Corporation Usb type-c to legacy usb cable detection
CN107221980A (en) * 2017-06-27 2017-09-29 广东欧珀移动通信有限公司 Terminal equipment and its temperature rise control method, device and storage medium during charging
CN107565639A (en) * 2017-09-15 2018-01-09 维沃移动通信有限公司 A kind of charging reminding method and mobile terminal
CN107645189A (en) * 2017-09-26 2018-01-30 努比亚技术有限公司 Charge protection method and mobile terminal

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
中国煤炭学会编: "《第十届全国煤炭工业生产一线青年技术创新文集》", 30 September 2016 *
刊物: "《制造业自动化》", 31 December 2017 *
刊物: "《电源技术》", 31 December 2016 *
李朝青: "《新型电源IC技术手册》", 31 December 2012 *
杨德才: "《锂离子电池安全性原理、设计与测试》", 31 May 2012 *
董艳艳,王万君: "《纯电动汽车动力电池及管理系统设计》", 30 April 2017 *

Similar Documents

Publication Publication Date Title
CN108281998B (en) 2023-05-30 Circuit and battery pack for controlling power output from the battery pack
US9952645B2 (en) 2018-04-24 Firmware update and power system thereof
CN105738831B (en) 2018-11-27 Battery electric quantity monitoring method and device of mobile terminal
CN104778111B (en) 2019-03-01 A kind of method and apparatus alarmed
EP3546961B1 (en) 2023-02-22 Battery leakage current detection method, device and circuit
KR20180103575A (en) 2018-09-19 Electronic device and method for controlling based on leakage state of battery in electronic device
CN103199311A (en) 2013-07-10 Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal
US10776128B2 (en) 2020-09-15 Method and device for low power power-on processing
CN109142953B (en) 2022-02-18 Leakage current monitoring method and electronic equipment
CN117878444B (en) 2025-03-14 Battery pack and thermal runaway early warning control method thereof
US20160162268A1 (en) 2016-06-09 Serial protocol communications between a computerized user device and a battery module
CN115649005B (en) 2024-08-09 Battery temperature sampling fault warning method, system, electronic device and storage medium
CN108594124A (en) 2018-09-28 Battery service life detection method and electronic equipment
CN107422591B (en) 2020-02-07 Projector safe working method and device
CN106707184B (en) 2019-08-09 Method and device for monitoring the running state of battery pack
CN103942133B (en) 2017-06-27 A kind of information processing method and electronic equipment
CN108963350B (en) 2020-09-25 Battery protection method and device
CN104348140B (en) 2018-02-27 The method and electronic equipment that a kind of low battery is reminded
CN108398998A (en) 2018-08-14 Charging and discharging safety monitoring method based on terminal equipment and terminal equipment
CN113010004B (en) 2024-07-09 Abnormal power consumption processing method and device and electronic equipment
CN117060527A (en) 2023-11-14 Self-checking charging method, device, equipment and storage medium of wind power energy storage system
CN108731186A (en) 2018-11-02 Control method and device of air conditioner, storage medium and air conditioner
CN115742751A (en) 2023-03-07 Method, device, server and storage medium for detecting storage battery replacement
WO2016045350A1 (en) 2016-03-31 Rechargeable battery, method for using rechargeable battery, and charging system
JP7139687B2 (en) 2022-09-21 Monitoring system

Legal Events

Date Code Title Description
2018-08-14 PB01 Publication
2018-08-14 PB01 Publication
2018-09-07 SE01 Entry into force of request for substantive examination
2018-09-07 SE01 Entry into force of request for substantive examination
2021-05-14 RJ01 Rejection of invention patent application after publication
2021-05-14 RJ01 Rejection of invention patent application after publication

Application publication date: 20180814