技术领域technical field
本发明涉及一种终端的充电提醒的方法及其设备。The invention relates to a method and equipment for charging reminding of a terminal.
背景技术Background technique
在现代社会,智能电话、平板电脑等智能终端设备具备越来越多的应用程序以及功能,已是人们生活中不可缺少的一部分。为了能够正常使用这些终端设备,人们需要经常对这些设备进行充电,尤其是大屏幕的智能电话等,屏幕本身耗电量大,且能够用于通讯,工作,娱乐等各个方面,使用频率高,然而由于电池尺寸的限制,导致智能终端设备的续航能力差,需要适时充电来维持其正常工作。In modern society, smart terminal devices such as smart phones and tablet computers have more and more applications and functions, and have become an indispensable part of people's lives. In order to use these terminal devices normally, people need to charge these devices frequently, especially the smart phones with large screens. The screen itself consumes a lot of power and can be used for communication, work, entertainment and other aspects. However, due to the limitation of the size of the battery, the battery life of the smart terminal device is poor, and it needs to be charged in time to maintain its normal operation.
然而,通常,终端设备可以随身携带,往往用户发现电量不够的时候却没有足够的时间或者适当的场所来进行充电,为用户的使用带来诸多不便。However, usually, the terminal device can be carried around, and often when the user finds that the power is insufficient, there is not enough time or a suitable place to charge it, which brings a lot of inconvenience to the user.
发明内容Contents of the invention
本发明是为了解决上述问题而做出的,其目的在于在终端上提供一种充电提醒方法及其设备,使得用户能够根据自身需求及时收到充电提醒,从而用户能够有计划地为手机充电来方便地使用终端设备。The present invention is made to solve the above problems, and its purpose is to provide a charging reminder method and its equipment on the terminal, so that the user can receive the charging reminder in time according to his own needs, so that the user can charge the mobile phone in a planned way. Convenient use of terminal equipment.
为了实现上述目的,本发明的一个方面是一种终端的充电提醒方法,包括:检测终端的当前电量;根据当前电量、当前时间点、预设目标电量、预设时间点,进行充电提醒。In order to achieve the above object, one aspect of the present invention is a charging reminder method for a terminal, including: detecting the current battery capacity of the terminal; and performing a charging reminder according to the current battery capacity, current time point, preset target battery power, and preset time point.
根据本发明的一个方面,用户可以根据自己的需求来设置充电提醒,根据该充电提醒,能够有充足的时间对终端设备充入所需的电量,从而能够有计划地、便利地使用终端设备。According to one aspect of the present invention, users can set charging reminders according to their own needs. According to the charging reminders, they can have enough time to charge the terminal equipment with the required power, so that the terminal equipment can be used in a planned and convenient manner.
可选地,在所述方法中,还包括:接收用户输入的预设目标电量以及预设时间点来作为充电提醒设置;在接收到用户输入的充电提醒设置之后,估计在预设时间点时的剩余电量。如果所述剩余电量小于预设目标电量,则确定需要进行充电提醒;如果所述剩余电量不小于预设目标电量,则确定不需要进行充电提醒。Optionally, in the method, it also includes: receiving the preset target electric quantity and the preset time point input by the user as the charging reminder setting; after receiving the charging reminder setting input by the user, it is estimated that at the preset time point remaining power. If the remaining power is less than the preset target power, it is determined that a charging reminder is required; if the remaining power is not less than the preset target power, it is determined that a charging reminder is not required.
可选地,在所述方法中,进行充电提醒的步骤包括:确定从当前电量充电至预设目标电量所需要的时间;如果从当前电量充电至预设目标电量所需要的时间大于当前时间点距离预设时间点的时间,则在相对于预设时间点提前第一时间段的第一时间点进行充电提醒。Optionally, in the method, the step of reminding the charging includes: determining the time required to charge from the current power to the preset target power; if the time required to charge from the current power to the preset target power is greater than the current time point When the time is far from the preset time point, the charging reminder is performed at the first time point which is earlier than the preset time point by the first time period.
可选地,在所述方法中,进行充电提醒的步骤包括:确定从当前电量充电至目标电量所需要的时间;如果从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点的时间,则在相对于预设时间点提前第一时间段的第一时间点进行充电提醒,第一时间段为从所述第一时间点的电量充电到预设目标电量为止所需要的时间。Optionally, in the method, the step of reminding the charging includes: determining the time required to charge from the current power to the target power; if the time required to charge from the current power to the preset target power is less than the current time point If the time point is set, the charging reminder will be carried out at the first time point which is earlier than the preset time point by the first time period. time needed.
可选地,在所述方法中,如果从当前电量充电至预设目标电量所需要的时间大于或等于当前时间点距离预设时间点的时间,则立即提醒用户进行充电。Optionally, in the method, if the time required for charging from the current electric quantity to the preset target electric quantity is greater than or equal to the time between the current time point and the preset time point, the user is reminded to charge immediately.
可选地,在所述方法中,所述剩余电量C0通过下式计算:Optionally, in the method, the remaining power C0 is calculated by the following formula:
C0=C-(P-t)/KC0=C-(P-t)/K
其中,C为当前电量,P为预设时间点,t为当前时间点,K为消耗单位电量所需的时间。Among them, C is the current power, P is the preset time point, t is the current time point, and K is the time required to consume a unit of power.
可选地,在所述方法中,第一时间点通过下式计算:Optionally, in the method, the first time point is calculated by the following formula:
第一时间点通过下式计算:The first time point is calculated by the following formula:
(C2+t×K+P×A-B)/(A+K)(C2+t×K+P×A-B)/(A+K)
其中,C2为第一时间点被计算时的终端的电量,P为预设时间点,t为第一时间点被计算时的时间点,K为消耗单位电量所需的时间,A为充入单位电量所需的时间,B为预设目标电量。Among them, C2 is the power of the terminal when the first time point is calculated, P is the preset time point, t is the time point when the first time point is calculated, K is the time required to consume the unit power, and A is the charging time. The time required for a unit of electricity, B is the preset target electricity.
可选地,在所述方法中,还包括:确定计算第一时间点的时刻。如果从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点的时间,并且当前时间点距离预设时间点的时间大于第二时间段,则在距离预设时间点的时间为第二时间段时检测终端电量并计算第一时间点;如果从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点的时间,并且当前时间点距离预设时间点的时间不大于第二时间段,则立即检测终端电量并计算第一时间点,其中,第二时间段为从零电量到充满电为止所需要的时间。Optionally, in the method, further comprising: determining a moment for calculating the first time point. If the time required to charge from the current power level to the preset target power level is less than the time between the current time point and the preset time point, and the time between the current time point and the preset time point is greater than the second time period, then at the distance from the preset time point When the time is the second time period, the terminal power is detected and the first time point is calculated; if the time required to charge from the current power to the preset target power is less than the time between the current time point and the preset time point, and the current time point is far from the preset time point Assuming that the time at the time point is not greater than the second time period, the battery power of the terminal is detected immediately and the first time point is calculated, wherein the second time period is the time required from zero power to full charge.
可选地,在所述方法中,从确定出的计算第一时间点的时刻开始,到进行充电提醒为止,周期性或者非周期性地检测终端电量并重新计算来校正第一时间点。Optionally, in the method, from the determined moment of calculating the first time point to the charging reminder, periodically or non-periodically detect the battery level of the terminal and recalculate to correct the first time point.
另外,本发明的另一个方面是一种终端的充电提醒装置,包括:电量检测单元,检测终端的当前电量;以及充电提醒单元,根据当前电量、当前时间点、预设目标电量、预设时间点,进行充电提醒。In addition, another aspect of the present invention is a charging reminding device for a terminal, including: a power detection unit, which detects the current power of the terminal; Click to perform a charging reminder.
可选地,在所述装置中,还包括:数据接收单元,接收用户输入的预设目标电量以及预设时间点来作为充电提醒设置;以及计算单元,在接收到用户输入的充电提醒设置之后,估计在预设时间点时的剩余电量,并与预设目标电量进行比较,如果计算单元算出所述剩余电量小于预设目标电量,则对充电提醒单元发出充电提醒的指令;如果计算单元算出所述剩余电量不小于预设目标电量,则不对充电提醒单元发出充电提醒的指令。Optionally, in the device, it also includes: a data receiving unit, which receives the preset target power and the preset time point input by the user as the charging reminder setting; and a calculation unit, after receiving the charging reminder setting input by the user , estimate the remaining power at the preset time point, and compare it with the preset target power, if the calculation unit calculates that the remaining power is less than the preset target power, then issue a charging reminder command to the charging reminder unit; if the calculation unit calculates If the remaining power is not less than the preset target power, then no charging reminder instruction will be issued to the charging reminder unit.
可选地,在所述装置中,计算单元计算从当前电量充电至预设目标电量所需要的时间,如果计算单元算出从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点的时间,则对充电提醒单元发出在相对于预设时间点提前第一时间段的第一时间点进行充电提醒的指令,第一时间段为从所述第一时间点的电量充电到预设目标电量为止所需要的时间。Optionally, in the device, the computing unit calculates the time required to charge from the current power to the preset target power, and if the calculation unit calculates that the time required to charge from the current power to the preset target power is less than the distance from the current time point to the preset target power. Set the time at the time point, then send an instruction to the charging reminder unit to perform charging reminder at the first time point in advance of the first time period relative to the preset time point, the first time period is the charging of the electric quantity from the first time point The time required to reach the preset target power level.
可选地,在所述装置中,如果计算单元算出从当前电量充电至预设目标电量所需要的时间大于或等于当前时间点距离预设时间点的时间,则对充电提醒单元发出立即提醒用户充电的指令。Optionally, in the device, if the calculation unit calculates that the time required to charge from the current electric quantity to the preset target electric quantity is greater than or equal to the time between the current time point and the preset time point, then the charging reminder unit sends an immediate reminder to the user command to charge.
可选地,在所述装置中,所述剩余电量C0通过下式计算:Optionally, in the device, the remaining power C0 is calculated by the following formula:
C0=C1-(P-t)/KC0=C1-(P-t)/K
其中,C1为当前电量,P为预设时间点,t为当前时间点,K为消耗单位电量所需的时间。Wherein, C1 is the current electric quantity, P is the preset time point, t is the current time point, and K is the time required to consume the unit electric quantity.
可选地,在所述装置中,第一时间点T1通过下式计算:Optionally, in the device, the first time point T1 is calculated by the following formula:
T1=(C2+t×K+P×A-B)/(A+K)T1=(C2+t×K+P×A-B)/(A+K)
其中,C2为第一时间点被计算时的终端电量,P为预设时间点,t为第一时间点被计算时的时间点,K为消耗单位电量所需的时间,A为充入单位电量所需的时间,B为预设目标电量。Among them, C2 is the terminal power when the first time point is calculated, P is the preset time point, t is the time point when the first time point is calculated, K is the time required to consume a unit of power, and A is the charging unit The time required to charge the battery, B is the preset target battery.
可选地,在所述装置中,计算单元还确定计算第一时间点的时刻,如果从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点的时间,并且当前时间点距离预设时间点的时间大于第二时间段,则在距离预设时间点的时间为第二时间段时,电量检测单元检测终端电量,并且计算单元计算第一时间点;Optionally, in the device, the calculation unit further determines the time to calculate the first time point, if the time required to charge from the current power to the preset target power is less than the time between the current time point and the preset time point, and the current The time point from the preset time point is greater than the second time period, then when the time from the preset time point is the second time period, the power detection unit detects the terminal power, and the calculation unit calculates the first time point;
如果计算单元算出从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点的时间,并且当前时间点距离预设时间点的时间不大于第二时间段,则电量检测单元立即检测终端电量,并且计算单元立即计算第一时间点,If the calculation unit calculates that the time required to charge from the current power to the preset target power is less than the time between the current time point and the preset time point, and the time between the current time point and the preset time point is not greater than the second time period, the power detection The unit immediately detects the terminal power, and the calculation unit immediately calculates the first time point,
其中,第二时间段为从零电量到充满电为止所需要的时间。Wherein, the second time period is the time required from zero battery to fully charged.
可选地,在所述装置中,从计算单元确定出的计算第一时间点的时刻开始,到进行充电提醒为止,电量检测单元周期性或者非周期性地检测终端电量,并且计算单元重新计算第一时间点来对前次算出的第一时间点进行校正。Optionally, in the device, from the moment of calculating the first time point determined by the calculation unit to the charging reminder, the power detection unit periodically or non-periodically detects the terminal power, and the calculation unit recalculates The first time point is used to correct the previously calculated first time point.
附图说明Description of drawings
通过下面结合示例性地示出一例的附图进行的描述,本发明的上述和其他目的和特点将会变得更加清楚,其中:The above and other objects and features of the present invention will become more apparent through the following description in conjunction with the accompanying drawings exemplarily showing an example, wherein:
图1中示出了根据本发明实施方式的终端的充电提醒方法的流程图。FIG. 1 shows a flow chart of a charging reminder method for a terminal according to an embodiment of the present invention.
图2中示出了图1中进行充电提醒的步骤的流程图。FIG. 2 shows a flow chart of the steps of charging reminding in FIG. 1 .
图3中示出了图2中确定首次计算第一时间点的时刻,并在该时刻计算第一时间点的步骤的流程图。FIG. 3 shows a flow chart of the steps in FIG. 2 for determining the moment when the first time point is calculated for the first time, and calculating the first time point at this moment.
图4是示出了根据本发明实施方式的终端的充电提醒装置的示意图。Fig. 4 is a schematic diagram showing a charging reminder device for a terminal according to an embodiment of the present invention.
图5在闹钟应用中增加电量闹钟选项的终端界面的一例。Figure 5 is an example of the terminal interface for adding the power alarm clock option in the alarm clock application.
图6是示出选择了电量闹钟选项的终端界面的一例。Fig. 6 is an example of a terminal interface showing that the power alarm clock option is selected.
图7示出了未设置任何电量闹钟的电量闹钟界面。FIG. 7 shows a power alarm clock interface without any power alarm clock.
图8是在闹钟界面勾选“需求电量”来直接添加目标电量进行设置的示意图。Figure 8 is a schematic diagram of directly adding the target power for setting by checking the "required power" on the alarm clock interface.
图9示出通过设置栏快速进行电量闹钟设置的用户界面。FIG. 9 shows a user interface for quickly setting the power alarm clock through the setting bar.
图10示出通过设置栏快速进行电量闹钟设置的用户界面。FIG. 10 shows a user interface for quickly setting the power alarm clock through the setting bar.
图11示出通过设置栏快速进行电量闹钟设置的用户界面。FIG. 11 shows a user interface for quickly setting the power alarm clock through the setting bar.
图12示出通过设置栏快速进行电量闹钟设置的用户界面。Fig. 12 shows the user interface for quickly setting the power alarm clock through the setting bar.
图13示出通过设置栏快速进行电量闹钟设置的用户界面。FIG. 13 shows a user interface for quickly setting the power alarm clock through the setting bar.
具体实施方式detailed description
以下,参照附图来详细说明本发明的实施方式。Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本发明的终端的充电提醒方法是根据当前电量C1、当前时间点t、预设目标电量B、预设时间点P来进行充电提醒的方法。图1中示出了根据本发明实施方式的终端的充电提醒方法的流程图。本发明的终端的充电提醒方法可以被形象地称作“电量闹钟”。首先,在步骤S100中,用户需要进行充电提醒设置,用户设置的参数包括预设目标电量B和预设时间点P。也可以不由用户设置,而在终端中预设有用于充电提醒的预设目标电量B和预设时间点P。预设目标电量B可以是百分数的形式,例如,如果设预设目标电量B=50%,预设时间点P为17:30,则意味着用户期望在17:30时终端设备中至少还有50%的电量。The terminal charging reminding method of the present invention is a method of reminding charging according to the current electric quantity C1, the current time point t, the preset target electric quantity B, and the preset time point P. FIG. 1 shows a flow chart of a charging reminder method for a terminal according to an embodiment of the present invention. The terminal charging reminder method of the present invention can be vividly called "battery alarm clock". First, in step S100, the user needs to set a charging reminder, and the parameters set by the user include a preset target power B and a preset time point P. It may also not be set by the user, but a preset target power B and a preset time point P for charging reminders are preset in the terminal. The preset target power B can be in the form of a percentage. For example, if the preset target power B=50%, and the preset time point P is 17:30, it means that the user expects that there will be at least 50% battery.
终端设备在接收到用户输入的充电提醒设置之后,进入步骤S200,检测检测当前电量C1,并确认当前时间点t。应该理解,可以响应于完成充电提醒设置执行步骤S200,或者在接收到用户输入的充电提醒设置之后用户启用该充电提醒设置才执行步骤S200,或者在接收到用户输入的充电提醒设置之后响应于预定的其他事件来执行步骤S200。After receiving the charging reminder setting input by the user, the terminal device enters step S200, detects the current electric quantity C1, and confirms the current time point t. It should be understood that step S200 may be executed in response to completion of the charging reminder setting, or step S200 may be executed after the user enables the charging reminder setting after receiving the charging reminder setting input by the user, or in response to a predetermined other events to perform step S200.
然后,进入步骤S300,确定从当前时间点t至预设时间点P消耗的电量,并根据当前电量和所述消耗的电量确定在预设时间点P时的剩余电量C0。当设C1为当前电量,P为预设时间点,t为当前时间点,K为消耗单位电量所需的时间时,在预设时间点P时的剩余电量C0通过下式(1)计算:Then, enter step S300, determine the power consumed from the current time point t to the preset time point P, and determine the remaining power C0 at the preset time point P according to the current power and the consumed power. When C1 is the current power, P is the preset time point, t is the current time point, and K is the time required to consume a unit of power, the remaining power C0 at the preset time point P is calculated by the following formula (1):
C0=C1-(P-t)/K......(1)C0=C1-(P-t)/K...(1)
当通过计算可知,待机耗电到时间P仍可满足用户需求时,即,当C0≥B时,进入步骤S600,不对用户进行充电提醒。当所述剩余电量小于预设目标电量B时,则进入步骤S500,确定需要对用户进行充电提醒。When it is known through calculation that the standby power consumption can still meet the user's needs up to the time P, that is, when C0≥B, enter step S600 and not remind the user of charging. When the remaining power is less than the preset target power B, enter step S500 to determine that a charging reminder needs to be given to the user.
例如,当前时间为16:00,当前电量为80%,从当前时间至预设时间点17:30时待机消耗手机电量为10%,即,还剩余70%的电量,高于预设目标电量60%,则不进行充电提醒;若当前时间不变,当前手机电量为50%,则到17:30时预计手机电量还剩40%,小于预设目标电量60%,则进行充电提醒。For example, the current time is 16:00, and the current battery level is 80%. From the current time to the preset time point of 17:30, the standby power consumption of the mobile phone is 10%, that is, there is still 70% of the power remaining, which is higher than the preset target power 60%, there will be no charging reminder; if the current time remains the same and the current mobile phone power is 50%, it is expected that the mobile phone power will be 40% at 17:30, which is less than the preset target power of 60%, and a charging reminder will be issued.
其中,进行充电提醒的步骤可以为图2所示的步骤。首先,在步骤S510中,确定从当前电量C1充电至预设目标电量B所需要的时间t1。如果所需要的时间大于等于当前时间点距离预设时间点P的时间,即t1≥P-t,则说明即使现在开始充电也难以在预设时间点P达到预设目标电量B,为了尽可能满足用户的需求,进入步骤S550,立即对用户进行充电提醒。如果所需要的时间小于当前时间点距离预设时间点P的时间,即t1<P-t,则需要计算进行充电提醒的第一时间点T1。可以仅计算一次充电提醒的时间点,然而,如果考虑到用户使用终端设备以及终端设备待机时的耗电率的不同,也可以周期性地或者非周期性地多次计算充电提醒的时间点,并利用每次计算出的第一时间点替换前一次计算出的第一时间点来不断地进行校正,而使充电提醒的时间点被更加精确地算出。Wherein, the step of reminding to charge may be the step shown in FIG. 2 . Firstly, in step S510, the time t1 required for charging from the current electric quantity C1 to the preset target electric quantity B is determined. If the required time is greater than or equal to the time between the current time point and the preset time point P, that is, t1≥P-t, it means that it is difficult to reach the preset target power B at the preset time point P even if charging is started now. In order to satisfy the user as much as possible needs, enter step S550, and immediately remind the user of charging. If the required time is less than the time between the current time point and the preset time point P, that is, t1<P-t, the first time point T1 for charging reminder needs to be calculated. The time point of the charging reminder can be calculated only once. However, if the difference in power consumption rate when the user uses the terminal device and the terminal device is in standby is considered, the time point of the charging reminder can be calculated multiple times periodically or aperiodically. And the first time point calculated each time is used to replace the first time point calculated last time to continuously correct, so that the time point of charging reminder is calculated more accurately.
另外,为了减少不必要的检测过程并有效地计算第一时间点T1,需要确定检测当前电量以及计算第一时间点T1的时刻,并在该时刻计算第一时间点T1,即步骤S530。在步骤S540中,在第一时间点T1对用户进行充电提醒。如果仅计算一次第一时间点,则在该第一时间点对用户进行充电提醒,如果如上所述进行多次第一时间点的计算,则在最后校正而得的第一时间点对用户进行充电提醒。In addition, in order to reduce unnecessary detection process and effectively calculate the first time point T1, it is necessary to determine the time to detect the current power and calculate the first time point T1, and calculate the first time point T1 at this time, ie step S530. In step S540, a charging reminder is given to the user at the first time point T1. If the first time point is calculated only once, then the user will be reminded to charge at the first time point; Charging reminder.
当设C2为第一时间点T1被计算时的终端电量,P为预设时间点,t为当前时间点,K为消耗单位电量所需的时间,A为充入单位电量所需的时间,B为预设目标电量时,When C2 is the terminal power when the first time point T1 is calculated, P is the preset time point, t is the current time point, K is the time required to consume a unit of power, A is the time required to charge a unit of power, When B is the preset target power,
第一时间点T1通过下式(2)计算:The first time point T1 is calculated by the following formula (2):
T1=(C2+t×K+P×A-B)/(A+K).......(2)T1=(C2+t×K+P×A-B)/(A+K).......(2)
可以使用图3所示的步骤来确定计算第一时间点T1的时刻。如果所需要的时间小于当前时间点距离预设时间点P的时间,则进入步骤S532读取或计算终端设备从0%电量充电到100%电量需要的时间T,并在步骤S434中计算当前时间点t距离预设时间点P是否大于时间T,如果P-t≤T,则进入步骤S538,立即检测设备当前电量并计算提醒用户的第一时间点T1,如果设定为多次计算提醒用户的第一时间点T1,则立即首次进行该计算。如果P-t>T,则进入步骤S536,终端设备在比预设时间点P提前T时间的第二时间点P-T检测终端设备的当前电量,并计算第一时间点T1。如果设定为多次计算提醒用户的第一时间点T1,则在第二时间点P-T首次进行第一时间点T1的计算。The moment for calculating the first time point T1 can be determined using the steps shown in FIG. 3 . If the required time is less than the time between the current time point and the preset time point P, enter step S532 to read or calculate the time T required for the terminal device to charge from 0% power to 100% power, and calculate the current time in step S434 Whether the distance from point t to the preset time point P is greater than time T, if P-t≤T, then enter step S538, immediately detect the current power of the device and calculate the first time point T1 to remind the user, if it is set to calculate the first time to remind the user multiple times At a point in time T1, the calculation is performed for the first time immediately. If P-t>T, enter step S536, the terminal device detects the current power level of the terminal device at the second time point P-T earlier than the preset time point P by T time, and calculates the first time point T1. If it is set to calculate the first time point T1 to remind the user multiple times, the calculation of the first time point T1 is performed for the first time at the second time point P-T.
此外,在本发明的另外的实施例中,可在图1的步骤S100之后直接执行图2的步骤S510。In addition, in another embodiment of the present invention, step S510 in FIG. 2 may be directly executed after step S100 in FIG. 1 .
图4示出根据本发明实施方式的终端的充电提醒装置100的示意图。本发明的终端的充电提醒装置100包括:电量检测单元200、数据接收单元300和充电提醒单元400。其中,电量检测单元200用于检测终端的当前电量;数据接收单元300用于接收用户输入充电提醒设置,充电提醒设置的参数包括预设目标电量B以及预设时间点P;充电提醒单元400根据上述从上述各单元得到的当前电量、当前时间点、预设目标电量B、预设时间点P,对用户进行充电提醒。应该理解,也可以不经过数据接收单元300,而在终端设备中预设有预设目标电量B以及预设时间点P的电量闹钟。Fig. 4 shows a schematic diagram of a charging reminding device 100 for a terminal according to an embodiment of the present invention. The terminal charging reminding device 100 of the present invention includes: a power detection unit 200 , a data receiving unit 300 and a charging reminding unit 400 . Among them, the power detection unit 200 is used to detect the current power of the terminal; the data receiving unit 300 is used to receive the user input charging reminder setting, the parameters of the charging reminder setting include the preset target power B and the preset time point P; the charging reminder unit 400 according to The above-mentioned current power, current time point, preset target power B, and preset time point P obtained from the above-mentioned units are used to remind the user of charging. It should be understood that the terminal device may also be preset with a preset target power B and a power alarm clock at a preset time point P without going through the data receiving unit 300 .
本发明的终端的充电提醒装置100还包括计算单元500。计算单元500在接收到用户输入的充电提醒设置之后,估计在预设时间点P时的剩余电量,并与预设目标电量B进行比较。如果计算单元500算出所述剩余电量小于预设目标电量B,则对充电提醒单元发出充电提醒的指令;如果计算单元500算出所述剩余电量不小于预设目标电量B,则不对充电提醒单元发出充电提醒的指令。The terminal charging reminding device 100 of the present invention further includes a computing unit 500 . After receiving the charging reminder setting input by the user, the calculation unit 500 estimates the remaining power at the preset time point P, and compares it with the preset target power B. If the calculation unit 500 calculates that the remaining power is less than the preset target power B, then send a charging reminder command to the charging reminder unit; Instructions for charging reminders.
另外,计算单元500还可以计算从当前电量充电至预设目标电量B所需要的时间。如果计算单元500算出从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点P的时间,则对充电提醒单元发出在相对于预设时间点P提前第一时间段的第一时间点T1进行充电提醒的指令,第一时间段为从所述第一时间点T1的电量充电到预设目标电量B为止所需要的时间;如果计算单元500算出从当前电量充电至预设目标电量所需要的时间大于或等于当前时间点距离预设时间点P的时间,则对充电提醒单元发出立即提醒用户充电的指令。In addition, the calculation unit 500 can also calculate the time required for charging from the current electric quantity to the preset target electric quantity B. If the calculation unit 500 calculates that the time required to charge from the current electric quantity to the preset target electric quantity is less than the time between the current time point and the preset time point P, the charging reminder unit is issued a first time period ahead of the preset time point P. The first time point T1 is the instruction for charging reminder, and the first time period is the time required from charging the electric quantity at the first time point T1 to the preset target electric quantity B; If the time required for the preset target power is greater than or equal to the time between the current time point and the preset time point P, an instruction to immediately remind the user to charge is issued to the charging reminder unit.
在此,当设C1为当前电量,P为预设时间点,t为当前时间点,K为消耗单位电量所需的时间时,所述剩余电量C0通过下式(1)计算:Here, when C1 is the current power, P is the preset time point, t is the current time point, and K is the time required to consume the unit power, the remaining power C0 is calculated by the following formula (1):
C0=C1-(P-t)/K......(1)C0=C1-(P-t)/K...(1)
当设C2为第一时间点T1被计算时的终端电量,P为预设时间点,t为当前时间点,K为消耗单位电量所需的时间,A为充入单位电量所需的时间,B为预设目标电量时,第一时间点T1通过下式(2)计算:When C2 is the terminal power when the first time point T1 is calculated, P is the preset time point, t is the current time point, K is the time required to consume a unit of power, A is the time required to charge a unit of power, When B is the preset target power, the first time point T1 is calculated by the following formula (2):
T1=(C2+t×K+P×A-B)/(A+K).......(2)T1=(C2+t×K+P×A-B)/(A+K).......(2)
另外,计算单元500还可以确定计算第一时间点T1的时刻。如果从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点P的时间,并且当前时间点距离预设时间点P的时间大于第二时间段,则在距离预设时间点P的时间为第二时间段时,电量检测单元检测终端电量,并且计算单元500计算第一时间点T1;如果计算单元500算出从当前电量充电至预设目标电量所需要的时间小于当前时间点距离预设时间点P的时间,并且当前时间点距离预设时间点P的时间不大于第二时间段,则电量检测单元立即检测终端电量,并且计算单元500立即计算第一时间点T1。其中,第二时间段为从零电量到充满电为止所需要的时间。In addition, the calculation unit 500 may also determine the time to calculate the first time point T1. If the time required to charge from the current power to the preset target power is less than the time between the current time point and the preset time point P, and the time between the current time point and the preset time point P is greater than the second time period, then within the distance from the preset When the time point P is the second time period, the power detection unit detects the terminal power, and the calculation unit 500 calculates the first time point T1; if the calculation unit 500 calculates that the time required to charge from the current power to the preset target power is less than the current The time between the time point and the preset time point P, and the time between the current time point and the preset time point P is not greater than the second time period, then the power detection unit immediately detects the terminal power, and the calculation unit 500 immediately calculates the first time point T1 . Wherein, the second time period is the time required from zero battery to fully charged.
另外,可以仅计算一次充电提醒的时间点,然而,如果考虑到用户使用终端设备以及终端设备待机时的耗电率的不同,也可以周期性地或者非周期性地多次计算充电提醒的时间点,并利用每次计算出的第一时间点T1替换前一次计算出的第一时间点T1来不断地进行校正,而使充电提醒的时间点被更加精确地算出。In addition, the time point of the charging reminder can be calculated only once. However, if the difference in power consumption rate when the user uses the terminal device and the terminal device is taken into account, the charging reminder time can also be calculated periodically or aperiodically for multiple times. point, and use each calculated first time point T1 to replace the previous calculated first time point T1 to continuously correct, so that the time point of charging reminder is calculated more accurately.
(示例)(example)
设终端设备从0%电量充电到100%电量需要的时间为T=30分钟,在早上09:00的时候设置当天晚上预设时间点P=17:30的目标电量为B=100%,则设备会在预设时间点17:30减去30分钟即17:00时开始检测设备的电量C%,如果C=1%,设备几乎没电,此时设备就会以用户设置的提醒方式(震动响铃等)提醒用户进行充电,用户在17:30时,仍可以拥有100%。Assume that the time required for the terminal device to charge from 0% to 100% is T=30 minutes, and at 09:00 in the morning, set the target power at the preset time point P=17:30 of the same night as B=100%, then The device will start to detect the power C% of the device at the preset time point 17:30 minus 30 minutes, that is, 17:00. If C=1%, the device is almost out of power. At this time, the device will use the reminder method set by the user ( Vibrating bell, etc.) to remind the user to charge, and the user can still have 100% at 17:30.
在早上09:00的时候设置当天晚上P=17:30的目标电量为B=80%,则设备会在17:30减去30分钟即17:00时开始检测设备的电量C%,如果C=10%,设备从10%电量充到80%电量花费的时间为20分钟,会在P-20,即17:10时,减去到达提醒时间点的耗电量假设为2分钟(可通过上面提供的算法计算出提示时间)待机充电的电量,在时间点17:08分提醒用户。At 09:00 in the morning, set the target power of P=17:30 to be B=80%, then the device will start to detect the power C% of the device at 17:30 minus 30 minutes, that is, at 17:00, if C =10%, it takes 20 minutes for the device to charge from 10% to 80%, and it will be at P-20, that is, 17:10, minus the power consumption at the reminder time point, which is assumed to be 2 minutes (can be passed The algorithm provided above calculates the power of standby charging at the reminder time), and reminds the user at the time point of 17:08.
在本发明中,提醒的时间点是根据用户设置的时间点和预设目标电量B,并检测出当前剩余电量以及当前时间点进行计算,提前足够的时间提醒用户进行充电,预留了足够的时间充电达到预设目标电量B。In the present invention, the reminder time point is calculated according to the time point set by the user and the preset target power B, and the current remaining power and the current time point are detected, and the user is reminded to charge in sufficient time in advance, and enough power is reserved. The charging time reaches the preset target power B.
在终端设备中,可以以多种形式来实现上述充电提醒功能,可以具有单独的“电量闹钟”的应用,也可以是在闹钟、日历等应用中增添一个电量闹钟选项。图5示出了在闹钟应用中具有电量闹钟选项的终端界面的一例。用户可以打开闹钟应用,并如图6所示,选择电量闹钟。In the terminal device, the above-mentioned charging reminder function can be implemented in various forms, and there can be a separate application of "battery alarm clock", or an option of a battery alarm clock can be added to applications such as alarm clock and calendar. Fig. 5 shows an example of a terminal interface with a power alarm clock option in the alarm clock application. The user can open the alarm clock application, and as shown in Figure 6, select the power alarm clock.
当选择了电量闹钟应用,或者在闹钟、日历等应用中选择了电量闹钟选项时,进入电量闹钟界面,图6示出了未设置任何电量闹钟的电量闹钟界面。在该界面上,也可以具有预先设定好的电量闹钟,并对预先设定好的电量闹钟进行编辑。如果要增加新的电量闹钟,则点击右上角的“+”号,进入如图7所示的电量闹钟设置界面。When the power alarm clock application is selected, or the power alarm clock option is selected in the alarm clock, calendar and other applications, the power alarm clock interface is entered. Figure 6 shows the power alarm clock interface without any power alarm clock. On this interface, it is also possible to have a preset battery alarm clock and edit the preset battery alarm clock. If you want to add a new battery alarm clock, click the "+" sign in the upper right corner to enter the battery alarm clock setting interface as shown in Figure 7.
如图7所示,用户可以设定目标时间点,以及以百分比的形式设置目标电量。也可以如图8所示,在闹钟界面,勾选“需求电量”来直接添加目标电量进行设置。As shown in Figure 7, the user can set the target time point, and set the target power in the form of a percentage. Alternatively, as shown in Figure 8, on the alarm clock interface, check the "required power" to directly add the target power for setting.
另外,图9至图13中示出了通过设置栏快速进行电量闹钟设置的用户界面。如图9所示,用户可以在菜单的“设置”栏中选择“电量闹钟模式”进行快捷设置,根据自己的需求进行编辑。如图10所示,系统初始默认提供了三种模式,根据周一到周五的上下班时间的电量需求的图11所示的工作模式,根据每天散步购物等出门时间的电量需求的图12所示的休假模式,以及根据出差日程安排的图13所示出差模式,并且每种模式也提供了初始事项。当然,用户也可以自定义其他电量闹钟模式。并且,用户可以通过勾选不同的模式来在各模式间进行切换,从而方便快捷地设置电量闹钟。In addition, FIG. 9 to FIG. 13 show the user interface for quickly setting the power alarm clock through the setting bar. As shown in Figure 9, the user can select "Battery Alarm Clock Mode" in the "Settings" column of the menu to make quick settings and edit according to their own needs. As shown in Figure 10, the system initially provides three modes by default. The working mode shown in Figure 11 is based on the power demand during commuting hours from Monday to Friday, and the power demand in Figure 12 is based on the power demand during daily walking and shopping. The vacation pattern shown in Fig. 1, and the business trip pattern shown in Figure 13 according to the business trip schedule, and each pattern also provides initial items. Of course, users can also customize other power alarm clock modes. Moreover, the user can switch between modes by checking different modes, so as to set the power alarm clock conveniently and quickly.
在本发明的终端的充电提醒方法和设备中,用户只需设置时间和目标电量两个参数,操作简单,跟设置闹钟相似。且根据终端设备的耗电速率,通过提前多次进行电量检测,准确计算出提醒时间。In the terminal charging reminder method and device of the present invention, the user only needs to set the two parameters of time and target power, and the operation is simple, similar to setting an alarm clock. And according to the power consumption rate of the terminal equipment, the reminder time is accurately calculated by performing power detection multiple times in advance.
此外,应该理解,根据本发明实施方式的终端的充电提醒设备中的各个单元可被实现硬件组件。本领域技术人员根据限定的各个单元所执行的处理,可以例如使用现场可编程门阵列(FPGA)或专用集成电路(ASIC)来实现各个单元。In addition, it should be understood that each unit in the terminal charging reminding device according to the embodiment of the present invention may be implemented as a hardware component. Those skilled in the art may implement each unit, for example, by using a Field Programmable Gate Array (FPGA) or an Application Specific Integrated Circuit (ASIC) according to the defined processing performed by each unit.
此外,根据本发明实施方式的在终端的充电提醒方法可以被实现为计算机可读记录介质中的计算机代码。本领域技术人员可以根据对上述方法的描述来实现所述计算机代码。当所述计算机代码在计算机中被执行时实现本发明的上述方法。In addition, the charging reminding method at a terminal according to an embodiment of the present invention may be implemented as computer codes in a computer-readable recording medium. Those skilled in the art can implement the computer code according to the description of the above method. The above method of the present invention is realized when the computer code is executed in a computer.
尽管已经参照其示例性实施例具体显示和描述了本发明,但是本领域的技术人员应该理解,在不脱离权利要求所限定的本发明的精神和范围的情况下,可以对其进行形式和细节上的各种改变。While the invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that changes may be made in form and detail without departing from the spirit and scope of the invention as defined by the claims. various changes.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710064505.8ACN106815121A (en) | 2017-02-04 | 2017-02-04 | The charging reminding method and its equipment of a kind of terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710064505.8ACN106815121A (en) | 2017-02-04 | 2017-02-04 | The charging reminding method and its equipment of a kind of terminal |
| Publication Number | Publication Date |
|---|---|
| CN106815121Atrue CN106815121A (en) | 2017-06-09 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710064505.8APendingCN106815121A (en) | 2017-02-04 | 2017-02-04 | The charging reminding method and its equipment of a kind of terminal |
| Country | Link |
|---|---|
| CN (1) | CN106815121A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107241513A (en)* | 2017-06-30 | 2017-10-10 | 广东欧珀移动通信有限公司 | Charging reminding method and device, storage medium and electronic equipment |
| CN107506017A (en)* | 2017-07-21 | 2017-12-22 | 珠海市魅族科技有限公司 | Charging reminding method and device, electronic equipment and computer-readable recording medium |
| CN107819957A (en)* | 2017-11-24 | 2018-03-20 | 维沃移动通信有限公司 | A kind of electricity based reminding method, mobile terminal |
| CN108076218A (en)* | 2017-11-24 | 2018-05-25 | 维沃移动通信有限公司 | A kind of charging reminding method and mobile terminal |
| CN109474747A (en)* | 2018-11-28 | 2019-03-15 | 维沃移动通信有限公司 | A kind of information prompting method and mobile terminal |
| CN112153216A (en)* | 2020-09-16 | 2020-12-29 | Oppo广东移动通信有限公司 | Power early warning method and device, terminal device, and storage medium |
| CN115473298A (en)* | 2021-06-11 | 2022-12-13 | 西万拓私人有限公司 | Method for charging an energy store, mobile device and charging device |
| CN116632389A (en)* | 2023-06-19 | 2023-08-22 | 国广顺能(上海)能源科技有限公司 | Charging method of mobile charging equipment, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120065831A1 (en)* | 2010-09-15 | 2012-03-15 | General Motors Llc | Charge Reminder Notification to Increase Electric Only Efficiency |
| CN102938094A (en)* | 2012-11-08 | 2013-02-20 | 浙江工业大学 | Electric vehicle charging time sequence determining and service vehicle selecting method for participating in frequency modulation services |
| CN103501390A (en)* | 2013-09-30 | 2014-01-08 | 上海华勤通讯技术有限公司 | Mobile terminal with reminding function and reminding realization method thereof |
| CN104793930A (en)* | 2015-03-16 | 2015-07-22 | 深圳市金立通信设备有限公司 | Electric quantity managing method |
| CN104795602A (en)* | 2014-01-17 | 2015-07-22 | 中国移动通信集团公司 | Method for intelligently charging battery, and apparatus thereof |
| CN105071486A (en)* | 2015-08-26 | 2015-11-18 | 广东欧珀移动通信有限公司 | Charging prompting method and apparatus |
| CN105530384A (en)* | 2014-09-28 | 2016-04-27 | 小米科技有限责任公司 | Method and device for power reminding based on alarm clock |
| CN105811508A (en)* | 2016-04-25 | 2016-07-27 | 来安县新元机电设备设计有限公司 | Mobile terminal charging method and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120065831A1 (en)* | 2010-09-15 | 2012-03-15 | General Motors Llc | Charge Reminder Notification to Increase Electric Only Efficiency |
| CN102938094A (en)* | 2012-11-08 | 2013-02-20 | 浙江工业大学 | Electric vehicle charging time sequence determining and service vehicle selecting method for participating in frequency modulation services |
| CN103501390A (en)* | 2013-09-30 | 2014-01-08 | 上海华勤通讯技术有限公司 | Mobile terminal with reminding function and reminding realization method thereof |
| CN104795602A (en)* | 2014-01-17 | 2015-07-22 | 中国移动通信集团公司 | Method for intelligently charging battery, and apparatus thereof |
| CN105530384A (en)* | 2014-09-28 | 2016-04-27 | 小米科技有限责任公司 | Method and device for power reminding based on alarm clock |
| CN104793930A (en)* | 2015-03-16 | 2015-07-22 | 深圳市金立通信设备有限公司 | Electric quantity managing method |
| CN105071486A (en)* | 2015-08-26 | 2015-11-18 | 广东欧珀移动通信有限公司 | Charging prompting method and apparatus |
| CN105811508A (en)* | 2016-04-25 | 2016-07-27 | 来安县新元机电设备设计有限公司 | Mobile terminal charging method and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107241513A (en)* | 2017-06-30 | 2017-10-10 | 广东欧珀移动通信有限公司 | Charging reminding method and device, storage medium and electronic equipment |
| CN107506017A (en)* | 2017-07-21 | 2017-12-22 | 珠海市魅族科技有限公司 | Charging reminding method and device, electronic equipment and computer-readable recording medium |
| CN107819957A (en)* | 2017-11-24 | 2018-03-20 | 维沃移动通信有限公司 | A kind of electricity based reminding method, mobile terminal |
| CN108076218A (en)* | 2017-11-24 | 2018-05-25 | 维沃移动通信有限公司 | A kind of charging reminding method and mobile terminal |
| CN109474747A (en)* | 2018-11-28 | 2019-03-15 | 维沃移动通信有限公司 | A kind of information prompting method and mobile terminal |
| CN112153216A (en)* | 2020-09-16 | 2020-12-29 | Oppo广东移动通信有限公司 | Power early warning method and device, terminal device, and storage medium |
| CN115473298A (en)* | 2021-06-11 | 2022-12-13 | 西万拓私人有限公司 | Method for charging an energy store, mobile device and charging device |
| CN116632389A (en)* | 2023-06-19 | 2023-08-22 | 国广顺能(上海)能源科技有限公司 | Charging method of mobile charging equipment, electronic equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN106815121A (en) | The charging reminding method and its equipment of a kind of terminal | |
| US11690018B2 (en) | Systems and methods for power consumption management | |
| US9438057B2 (en) | Drive control device, drive control method and drive control program | |
| CN105594187B (en) | Portable terminal device | |
| KR20160057091A (en) | Method for Controlling of Charging/Discharging Battery and Electronic Device Using the same | |
| TW201339973A (en) | Power management for electronic devices | |
| CN104967731B (en) | A kind of terminal notifying method and terminal | |
| US9924464B2 (en) | Identifying at least one alternate power source for providing power to a portable electronic device | |
| CN106487071A (en) | A kind of charging management method and terminal | |
| US9356459B2 (en) | Method for charging battery and electronic device thereof | |
| CN107302633A (en) | application control method, device, storage medium and electronic equipment | |
| US20130303191A1 (en) | Non-visual representation of a current gauge value of an electronic device on a continuum | |
| CN106230074A (en) | Portable power source charge control method and device | |
| KR100715317B1 (en) | Apparatus and method for displaying battery level by use mode of mobile communication terminal | |
| CN112832737B (en) | Shale gas well EUR determination method, device, equipment and storage medium | |
| JP2017050655A (en) | Information processing apparatus, information processing apparatus control method, control program, and recording medium | |
| JP2014168327A (en) | Electronic apparatus, charge control method, and program | |
| CN110138038A (en) | Charging reminding method and device, wearable device and storage medium | |
| JP6357993B2 (en) | Electronic device and display program | |
| JP6494354B2 (en) | Charge control device and charge control method | |
| JP5368355B2 (en) | Electronic device and notification control method | |
| CN115871506B (en) | Charging method and system, and charging algorithm model creation method and device | |
| CN112083788A (en) | Power saving method and device | |
| JP6376860B2 (en) | Mobile terminal device | |
| GB2590132A (en) | Charging reminding method for rechargeble device and memory |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20170609 |