CN104659881B - Charging method and device for mobile terminal - Google Patents
Charging method and device for mobile terminal Download PDFInfo
- Publication number
- CN104659881B CN104659881B CN201510100690.2A CN201510100690A CN104659881B CN 104659881 B CN104659881 B CN 104659881B CN 201510100690 A CN201510100690 A CN 201510100690A CN 104659881 B CN104659881 B CN 104659881B
- Authority
- CN
- China
- Prior art keywords
- battery
- charge rate
- filled
- electricity
- capacity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H02J7/80—
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- H02J7/825—
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Secondary Cells (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本发明适用于移动终端领域,提供了一种移动终端的充电方法及装置。所述方法包括:检测已充入电池的电量,并根据检测结果确定电池剩余容量;检测充电速率;根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间;显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比。本发明实施例能够使用户获取更有效的信息。
The invention is applicable to the field of mobile terminals, and provides a charging method and device for the mobile terminal. The method includes: detecting the amount of electricity that has been charged into the battery, and determining the remaining capacity of the battery according to the detection result; detecting the charging rate; determining the time it takes to fully and/or partially fill the remaining capacity of the battery according to the remaining capacity of the battery and the charging rate; displaying full and and/or the time it takes to partially charge the remaining capacity of the battery, and, when the remaining capacity of the battery is fully and/or partially charged, the percentage of the battery capacity charged to the battery. The embodiments of the present invention enable users to obtain more effective information.
Description
技术领域technical field
本发明实施例属于移动终端领域,尤其涉及一种移动终端的充电方法及装置。Embodiments of the present invention belong to the field of mobile terminals, and in particular relate to a charging method and device for a mobile terminal.
背景技术Background technique
为了正常启动移动终端,需要为移动终端的电池及时充入足够的电量。In order to start the mobile terminal normally, it is necessary to charge the battery of the mobile terminal with sufficient power in time.
目前,在移动终端充电的过程中,通常会在移动终端的屏幕显示已充电量占电池容量的百分比,以使用户知悉当前充入的电量。但用户从移动终端显示的信息难以获取有效的信息,用以判断电池在某个时间已充入的电量。At present, during the charging process of the mobile terminal, the percentage of the charged amount to the battery capacity is usually displayed on the screen of the mobile terminal, so that the user can know the currently charged electric quantity. However, it is difficult for the user to obtain effective information from the information displayed on the mobile terminal, so as to judge the amount of electricity that has been charged in the battery at a certain time.
发明内容Contents of the invention
本发明实施例提供了一种移动终端的充电方法及装置,旨在解决现有方法的问题。Embodiments of the present invention provide a charging method and device for a mobile terminal, aiming to solve the problems of the existing methods.
本发明实施例是这样实现的,一种移动终端的充电方法,所述方法包括:The embodiment of the present invention is achieved in this way, a method for charging a mobile terminal, the method comprising:
检测已充入电池的电量,并根据检测结果确定电池剩余容量;Detect the amount of electricity that has been charged into the battery, and determine the remaining capacity of the battery according to the detection result;
检测充电速率;Detect charging rate;
根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间;Determine the time it takes to fully and/or partially charge the remaining battery capacity based on the remaining battery capacity and the charging rate;
显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比。Displays the time it takes to fully and/or partially charge the remaining capacity of the battery, and, when displaying the remaining capacity of the fully and/or partially charged battery, the percentage of charge to the battery as a percentage of the battery capacity.
本发明实施例的另一目的在于提供一种移动终端的充电装置,所述装置包括:Another object of the embodiments of the present invention is to provide a charging device for a mobile terminal, the device comprising:
电池剩余容量确定单元,用于检测已充入电池的电量,并根据检测结果确定电池剩余容量;The battery remaining capacity determination unit is used to detect the amount of electricity charged into the battery, and determine the remaining battery capacity according to the detection result;
充电速率检测单元,用于检测充电速率;A charging rate detection unit for detecting the charging rate;
剩余时间确定单元,用于根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间;The remaining time determination unit is used to determine the time it takes to fully and/or partially charge the remaining battery capacity according to the remaining capacity of the battery and the charging rate;
信息显示单元,用于显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比。The information display unit is used to display the time it takes to fully and/or partially charge the remaining capacity of the battery, and to display the percentage of the amount of electricity charged into the battery to the battery capacity when the remaining capacity of the battery is fully and/or partially charged.
在本发明实施例中,由于显示了充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比,因此,能够使用户获取有效的信息,用以判断电池在某个时间已充入的电量。In the embodiment of the present invention, since the time it takes to fully and/or partially fill the remaining battery capacity is displayed, and when the remaining battery capacity is fully and/or partially full, the percentage of the amount of electricity charged into the battery to the battery capacity is displayed, therefore, It enables the user to obtain effective information to judge the amount of power that the battery has charged at a certain time.
附图说明Description of drawings
图1是本发明第一实施例提供的一种移动终端的充电方法的流程图;FIG. 1 is a flowchart of a charging method for a mobile terminal provided in a first embodiment of the present invention;
图2是本发明第一实施例提供的在移动终端屏幕显示充满和部分充满电池剩余容量耗费的时间,以及,显示充入电池的电量占电池容量的百分比的示意图;Fig. 2 is a schematic diagram showing the time spent on the mobile terminal screen displaying the remaining capacity of the fully charged and partially charged battery, and displaying the percentage of the amount of electricity charged into the battery to the battery capacity, provided by the first embodiment of the present invention;
图3是本发明第一实施例提供的在移动终端屏幕显示充满和部分充满电池剩余容量耗费的时间、显示充入电池的电量占电池容量的百分比,以及显示当前已充入电池的电量的示意图;Fig. 3 is a schematic diagram showing the time spent on the screen of the mobile terminal for displaying the remaining capacity of the fully charged and partially charged battery, displaying the percentage of the amount of electricity charged into the battery as a percentage of the battery capacity, and displaying the amount of electricity currently charged into the battery provided by the first embodiment of the present invention ;
图4是本发明第二实施例提供的一种移动终端的充电装置的结构图。Fig. 4 is a structural diagram of a charging device for a mobile terminal provided by a second embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例中,检测已充入电池的电量,并根据检测结果确定电池剩余容量,再检测充电速率,根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间,最后显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比。In the embodiment of the present invention, the amount of electricity that has been charged into the battery is detected, and the remaining capacity of the battery is determined according to the detection result, and then the charging rate is detected, and the time it takes to fully and/or partially charge the remaining capacity of the battery is determined according to the remaining capacity of the battery and the charging rate, and finally Displays the time it takes to fully and/or partially charge the remaining capacity of the battery, and, when displaying the remaining capacity of the fully and/or partially charged battery, the percentage of charge to the battery as a percentage of the battery capacity.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.
实施例一:Embodiment one:
图1示出了本发明第一实施例提供的一种移动终端的充电方法的流程图,详述如下:FIG. 1 shows a flow chart of a charging method for a mobile terminal provided in the first embodiment of the present invention, which is described in detail as follows:
步骤S11,检测已充入电池的电量,并根据检测结果确定电池剩余容量。Step S11 , detecting the amount of electricity charged into the battery, and determining the remaining capacity of the battery according to the detection result.
该步骤中,电池本身的容量与检测的已充入电池的电量相减,得到未充入电量的电池剩余容量。In this step, the capacity of the battery itself is subtracted from the detected electric quantity charged into the battery to obtain the remaining capacity of the battery without charged electric quantity.
步骤S12,检测充电速率。Step S12, detecting the charging rate.
该步骤中,检测的充电速率为实际充入电池的电量的速率。In this step, the detected charging rate is the rate of the electric quantity actually charged into the battery.
步骤S13,根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间。Step S13, determine the time it takes to fully and/or partially charge the remaining capacity of the battery according to the remaining capacity of the battery and the charging rate.
该步骤中,若充入电池的电量的速率一直为同一个值,则可将电池剩余容量与充入电池的电量的速率相比,可确定充满电池剩余容量耗费的时间;当然,在确定部分充满电池剩余容量耗费的时间之前,需确定该部分电池剩余容量,再将该部分电池剩余容量与充入电池的电量的速率相比,即可确定部分充满电池剩余容量耗费的时间。In this step, if the rate of charge into the battery has always been the same value, the remaining capacity of the battery can be compared with the rate of charge into the battery to determine the time it takes to fully charge the remaining capacity of the battery; of course, in the determination part Before the time it takes to fully charge the remaining capacity of the battery, it is necessary to determine the remaining capacity of the part of the battery, and then compare the remaining capacity of the part of the battery with the rate of charge into the battery to determine the time it takes to partially fill the remaining capacity of the battery.
通常,充电速率过快会影响电池使用寿命,但充电速率过慢需要耗费过长的充电时间,为了缩短充电时间以及延长电池寿命,可针对不同的电池剩余容量采用不同的充入电池速率,这时,不同的充入电池速率确定充满不同电池剩余容量耗费的时间。可选地,在电池老化时,考虑到充电速率会发生改变,则所述根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间,具体包括:Generally, too fast a charging rate will affect the service life of the battery, but too slow a charging rate will take too long a charging time. In order to shorten the charging time and prolong the battery life, different charging rates can be used for different battery remaining capacities. Different charging rates determine the time it takes to fully charge the remaining capacity of different batteries. Optionally, when the battery is aging, considering that the charging rate will change, the determining the time it takes to fully and/or partially charge the remaining battery capacity according to the remaining battery capacity and the charging rate specifically includes:
A1、获取充电速率表,所述充电速率表存储充电速率与已充入电池的电量占电池容量的百分比的对应关系。其中,充电速率表存储有多个充电速率与多个已充入电池的电量占电池容量的百分比(如1%~100%)的对应关系,通常已充入电池的电量越多,充电速率越小。比如,在已充入电池的电量占电池容量的百分比为0时,充电速率为0.3毫安时(mAh),在已充入电池的电量占电池容量的百分比为50%时,充电速率为0.2mAh。A1. Obtain a charging rate table, the charging rate table stores the corresponding relationship between the charging rate and the percentage of the charged electricity in the battery to the battery capacity. Wherein, the charging rate table stores the corresponding relationship between a plurality of charging rates and the percentage (such as 1%-100%) of the electric quantity charged into the battery to the battery capacity. Generally, the more electric quantity charged into the battery, the higher the charging rate. small. For example, when the percentage of the charged electricity in the battery to the battery capacity is 0, the charging rate is 0.3 milliampere hours (mAh), and when the charged electricity in the battery accounts for 50% of the battery capacity, the charging rate is 0.2 mAh.
A2、根据检测的已充入电池的电量确定已充入电池的电量占电池容量的百分比,并根据确定的已充入电池的电量占电池容量的百分比在充电速率表查找充电速率。为了节省内存以及提高查找速率,充电速率表通常只会存储预设数量的已充入电池的电量占电池容量的百分比与充电速率的对应关系,不会存储100个(1%~100%)已充入电池的电量占电池容量的百分比与充电速率的对应关系,因此,若在充电速率表查找到完全相同的已充入电池的电量占电池容量的百分比,直接在充电速率表查找已充入电池的电量占电池容量的百分比对应的充电速率,若在充电速率表没有查找到完全相同的已充入电池的电量占电池容量的百分比,则查找充电速率表中与已充入电池的电量占电池容量的百分比的差的绝对值最小的百分比,并将该已充入电池的电量占电池容量的百分比对应的充电速率作为查找到的充电速率。A2. Determine the percentage of the charged power to the battery capacity according to the detected electric quantity that has been charged into the battery, and look up the charging rate in the charging rate table according to the determined percentage of the charged electric quantity to the battery capacity. In order to save memory and improve the search rate, the charging rate table usually only stores the corresponding relationship between the percentage of the charged power of the battery in the battery capacity and the charging rate of the preset number, and does not store 100 (1% ~ 100%) The corresponding relationship between the percentage of the charged electricity in the battery capacity and the charging rate. Therefore, if you find the exact same percentage of the charged electricity in the battery capacity in the charging rate table, directly look up the charged battery in the charging rate table. The charging rate corresponding to the percentage of the battery's power to the battery capacity, if the same percentage of the charged battery's power to the battery capacity is not found in the charging rate table, then look up the charging rate table and the charged power to the battery. The absolute value of the percentage difference of the battery capacity is the smallest percentage, and the charging rate corresponding to the percentage of the battery capacity that has been charged into the battery is taken as the found charging rate.
A3、将查找的充电速率与检测的充电速率相比,在查找的充电速率与检测的充电速率相等时,根据检测的充电速率与充电速率表中存储的充电速率,确定充满和/或部分充满电池剩余容量耗费的时间。具体地,根据检测的充电速率、充电速率表中存储的充电速率与其对应的已充入电池的电量占电池容量的百分比确定相应的时间。例如,假设充电速率表如表1所示:A3. Compare the searched charging rate with the detected charging rate. When the searched charging rate is equal to the detected charging rate, determine the full and/or partially full charge according to the detected charging rate and the charging rate stored in the charging rate table. Elapsed time of remaining battery capacity. Specifically, the corresponding time is determined according to the detected charging rate, the charging rate stored in the charging rate table, and the corresponding percentage of the charged electricity in the battery to the battery capacity. For example, suppose the charge rate table is as shown in Table 1:
表1:Table 1:
假设检测的充电速率为0.3mAh且已充入电池的电量占电池容量的百分比为10%,若需要确定充满电池80%的电量所耗费的时间,则首先根据0.3mAh确定充满电池(50%-10%)所耗费的时间,假设为T1,再根据0.2mAh确定充满电池(80%-50%)所耗费的时间,假设为T2,则充满电池80%的电量所耗费的时间为(T1+T2)。Assuming that the detected charging rate is 0.3mAh and the percentage of the charged electricity in the battery is 10% of the battery capacity, if it is necessary to determine the time it takes to fully charge 80% of the battery, first determine the full battery (50%- 10%), assuming T1, and then determine the time it takes to fully charge the battery (80%-50%) based on 0.2mAh, assuming T2, then the time it takes to fully charge 80% of the battery is (T1+ T2).
可选地,在查找的充电速率与检测的充电速率不相等时,确定查找的充电速率与检测的充电速率的比值;根据确定的比值重新确定充电速率表中的充电速率,根据检测的充电速率以及重新确定的充电速率表中的充电速率,确定充满和/或部分充满电池剩余容量耗费的时间。具体地,重新确定的充电速率表中的充电速率是指参与确定充满和/或部分充满电池剩余容量耗费的时间的充电速率。例如,参见表1,假设检测的充电速率为0.28mAh且已充入电池的电量占电池容量的百分比为10%,若需要确定充满电池80%的电量所耗费的时间,则确定查找的充电速率与检测的充电速率的比值0.3/0.28,再根据该比值(0.3/0.28)以及原有的已充入电池的电量占电池容量的百分比为50%~80%时的充电速率(0.2mAh)重新确定充电速率表中的充电速率:0.2/(0.3/0.28)=0.187mAh,最后根据新的充电速率确定充满电池80%的电量所耗费的时间。Optionally, when the searched charging rate is not equal to the detected charging rate, determine the ratio of the searched charging rate to the detected charging rate; re-determine the charging rate in the charging rate table according to the determined ratio, and according to the detected charging rate As well as the charge rate in the re-determined charge rate table, determine the time it takes to fully and/or partially charge the remaining capacity of the battery. Specifically, the charging rate in the re-determined charging rate table refers to the charging rate involved in determining the time it takes to fully and/or partially charge the remaining capacity of the battery. For example, referring to Table 1, assuming that the detected charging rate is 0.28mAh and the percentage of the charge in the battery is 10% of the battery capacity, if it is necessary to determine the time it takes to fully charge the battery to 80% of the charge, then determine the searched charging rate The ratio of the charging rate to the detected charging rate is 0.3/0.28, and then according to the ratio (0.3/0.28) and the charging rate (0.2mAh) when the original charge of the battery accounts for 50% to 80% of the battery capacity. Determine the charging rate in the charging rate table: 0.2/(0.3/0.28)=0.187mAh, and finally determine the time it takes to fully charge 80% of the battery according to the new charging rate.
步骤S14,显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比。Step S14, displaying the time it takes to fully and/or partially charge the remaining capacity of the battery, and displaying the percentage of the amount of electricity charged into the battery to the battery capacity when the remaining capacity of the battery is fully and/or partially charged.
如图2所示,假设充满电池剩余(100%)容量耗费的时间为0.32小时,充满电池剩余(80%)容量耗费的时间为0.12小时,则可在移动终端的屏幕显示如下信息:倒计时0.1280%;0.32100%As shown in Figure 2, assuming that it takes 0.32 hours to fully charge the remaining (100%) capacity of the battery, and 0.12 hours to fully charge the remaining (80%) capacity of the battery, the following information can be displayed on the screen of the mobile terminal: countdown 0.1280 %;0.32100%
这样,用户根据显示的信息可判断出还需12分钟即可充满电池的80%,再需32分钟即可充满电池的100%。In this way, the user can judge according to the displayed information that it will take 12 minutes to fully charge the battery to 80%, and it will take another 32 minutes to fully charge the battery to 100%.
可选地,在所述显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比时,包括:Optionally, when displaying the time it takes to fully and/or partially fill the remaining capacity of the battery, and when displaying the remaining capacity of the fully and/or partially full battery, the percentage of the amount of electricity charged into the battery to the battery capacity includes:
显示当前已充入电池的电量。Displays the current charge of the battery.
进一步地,所述显示当前已充入电池的电量,具体包括:Further, the displaying the amount of electricity that has been charged into the battery specifically includes:
以图形显示当前已充入电池的电量和未充入电池的电量的比例关系。以图形显示当前已充入电池的电量和未充入电池的电量的比例关系,使得用户能够更直观地获取相应的信息。如图3所示,在图3中,移动终端的屏幕显示当前已充入电池的电量和未充入电池的电量的比例关系(10%),同时,还显示充满电池(100%)剩余容量耗费的时间0.32,以及显示充满电池(80%)剩余容量耗费的时间0.12。其中,显示充满电池(80%)剩余容量耗费的时间0.12仅为一个示例,在实际情况中,也可以设置显示充满电池其他百分比的剩余容量耗费的时间,此处不作限定。Graphically display the proportional relationship between the current charged battery power and the uncharged battery power. Graphically display the proportional relationship between the electric quantity that is currently charged into the battery and the electric quantity that is not charged into the battery, so that the user can obtain corresponding information more intuitively. As shown in Fig. 3, in Fig. 3, the screen of the mobile terminal displays the proportion relationship (10%) between the electric quantity that has been charged into the battery and the electric quantity that is not charged into the battery at present, and at the same time, it also displays the remaining capacity of the fully charged battery (100%) 0.32 time elapsed, and 0.12 time elapsed to display the remaining capacity of a fully charged battery (80%). Wherein, the time 0.12 for displaying the remaining capacity of the fully charged battery (80%) is only an example. In actual situations, the time consumed for displaying other percentages of the remaining capacity of the fully charged battery can also be set, which is not limited here.
在该步骤中,也可以直接以文字显示当前已充入电池的电量和未充入电池的电量的比例关系,此处不作限定。In this step, it is also possible to directly display the proportional relationship between the electric quantity that is currently charged in the battery and the electric quantity that is not charged in the battery in text, which is not limited here.
在本发明第一实施例中,检测已充入电池的电量,并根据检测结果确定电池剩余容量,再检测充电速率,根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间,最后显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比。由于显示了充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比,因此,能够使用户能够获取有效的信息,用以判断电池在某个时间已充入的电量。In the first embodiment of the present invention, the amount of electricity that has been charged into the battery is detected, and the remaining capacity of the battery is determined according to the detection result, and then the charging rate is detected, and the consumption of the remaining capacity of the fully and/or partially charged battery is determined according to the remaining capacity of the battery and the charging rate. Time, finally displays the time it takes to fully and/or partially charge the remaining capacity of the battery, and, when displaying the remaining capacity of the fully and/or partially charged battery, the percentage of charge to the battery as a percentage of the battery capacity. Since it shows the time it takes to fully and/or partially fill the remaining capacity of the battery, and when the remaining capacity of the battery is fully and/or partially full, the percentage of the charge into the battery to the battery capacity is displayed, so that the user can obtain an effective information to determine how much power the battery has charged at a certain time.
应理解,在本发明实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, rather than the implementation process of the embodiment of the present invention. constitute any limitation.
实施例二:Embodiment two:
图4示出了本发明第二实施例提供的一种移动终端的充电装置的结构图,该移动终端的充电装置可以包括经无线接入网RAN与一个或多个核心网进行通信的用户设备,该用户设备可以是移动电话(或称为“蜂窝”电话)、具有移动设备的计算机等,例如,用户设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语音和/或数据。又例如,该移动设备可以包括智能手机、平板电脑、个人数字助理PDA、销售终端POS或车载电脑等。为了便于说明,仅示出了与本发明实施例相关的部分。Fig. 4 shows a structural diagram of a charging device for a mobile terminal provided by a second embodiment of the present invention, the charging device for a mobile terminal may include a user equipment that communicates with one or more core networks via a radio access network RAN , the user equipment may be a mobile phone (or called a "cellular" phone), a computer with a mobile device, etc., for example, the user equipment may also be a portable, pocket, handheld, computer built-in or vehicle-mounted mobile device, which Exchange voice and/or data with the radio access network. For another example, the mobile device may include a smart phone, a tablet computer, a personal digital assistant PDA, a sales terminal POS, or a vehicle-mounted computer. For ease of description, only parts related to the embodiments of the present invention are shown.
该移动终端的充电装置包括:电池剩余容量确定单元41、充电速率检测单元42、剩余时间确定单元43、信息显示单元44。其中:The charging device of the mobile terminal includes: a battery remaining capacity determining unit 41 , a charging rate detecting unit 42 , a remaining time determining unit 43 , and an information display unit 44 . in:
电池剩余容量确定单元41,用于检测已充入电池的电量,并根据检测结果确定电池剩余容量。The remaining battery capacity determination unit 41 is used to detect the amount of electricity charged into the battery, and determine the remaining capacity of the battery according to the detection result.
具体地,将电池本身的容量与检测的已充入电池的电量相减,得到未充入电量的电池剩余容量。Specifically, the capacity of the battery itself is subtracted from the detected electric quantity that has been charged into the battery to obtain the remaining capacity of the battery that has not been charged.
充电速率检测单元42,用于检测充电速率。The charging rate detection unit 42 is used for detecting the charging rate.
其中,检测的充电速率为实际充入电池的电量的速率。Wherein, the detected charging rate is the rate of the electric quantity actually charged into the battery.
剩余时间确定单元43,用于根据电池剩余容量以及充电速率确定充满和/或部分充满电池剩余容量耗费的时间。The remaining time determining unit 43 is configured to determine the time it takes to fully and/or partially charge the remaining battery capacity according to the remaining battery capacity and the charging rate.
若充入电池的电量的速率一直为同一个值,则可将电池剩余容量与充入电池的电量的速率相比,可确定充满电池剩余容量耗费的时间;当然,在确定部分充满电池剩余容量耗费的时间之前,需确定该部分电池剩余容量,再将该部分电池剩余容量与充入电池的电量的速率相比,即可确定部分充满电池剩余容量耗费的时间。If the rate of charge into the battery has always been the same value, then the remaining capacity of the battery can be compared with the rate of charge into the battery to determine the time it takes to fully charge the remaining capacity of the battery; Before the time spent, it is necessary to determine the remaining capacity of this part of the battery, and then compare the remaining capacity of this part of the battery with the rate of charge into the battery to determine the time it takes to partially fill the remaining capacity of the battery.
通常,充电速率过快会影响电池使用寿命,但充电速率过慢需要耗费过长的充电时间,为了缩短充电时间以及延长电池寿命,可针对不同的电池剩余容量采用不同的充入电池速率,这时,不同的充入电池速率确定充满不同电池剩余容量耗费的时间。Generally, too fast a charging rate will affect the service life of the battery, but too slow a charging rate will take too long a charging time. In order to shorten the charging time and prolong the battery life, different charging rates can be used for different battery remaining capacities. Different charging rates determine the time it takes to fully charge the remaining capacity of different batteries.
可选地,在电池老化时,考虑到充电速率会发生改变,此时,剩余时间确定单元43包括:Optionally, when the battery is aging, considering that the charging rate will change, at this time, the remaining time determining unit 43 includes:
充电速率表获取模块,用于获取充电速率表,所述充电速率表存储充电速率与已充入电池的电量占电池容量的百分比的对应关系。其中,充电速率表存储有多个充电速率与多个已充入电池的电量占电池容量的百分比(如1%~100%)的对应关系,通常已充入电池的电量越多,充电速率越小。The charging rate table acquisition module is used to acquire the charging rate table, and the charging rate table stores the corresponding relationship between the charging rate and the percentage of the charged electricity in the battery to the battery capacity. Wherein, the charging rate table stores the corresponding relationship between a plurality of charging rates and the percentage (such as 1%-100%) of the electric quantity charged into the battery to the battery capacity. Generally, the more electric quantity charged into the battery, the higher the charging rate. small.
充电速率查找模块,用于根据检测的已充入电池的电量确定已充入电池的电量占电池容量的百分比,并根据确定的已充入电池的电量占电池容量的百分比在充电速率表查找充电速率。为了节省内存以及提高查找速率,充电速率表通常只会存储预设数量的已充入电池的电量占电池容量的百分比与充电速率的对应关系,不会存储100个(1%~100%)已充入电池的电量占电池容量的百分比与充电速率的对应关系,因此,若在充电速率表查找到完全相同的已充入电池的电量占电池容量的百分比,直接在充电速率表查找已充入电池的电量占电池容量的百分比对应的充电速率,若在充电速率表没有查找到完全相同的已充入电池的电量占电池容量的百分比,则查找充电速率表中与已充入电池的电量占电池容量的百分比的差的绝对值最小的百分比,并将该已充入电池的电量占电池容量的百分比对应的充电速率作为查找到的充电速率。The charging rate search module is used to determine the percentage of the electric power charged into the battery according to the detected electric quantity of the battery, and search the charging rate table according to the determined percentage of the electric quantity charged into the battery to the battery capacity. rate. In order to save memory and improve the search rate, the charging rate table usually only stores the corresponding relationship between the percentage of the charged power of the battery in the battery capacity and the charging rate of the preset number, and does not store 100 (1% ~ 100%) The corresponding relationship between the percentage of the charged electricity in the battery capacity and the charging rate. Therefore, if you find the exact same percentage of the charged electricity in the battery capacity in the charging rate table, directly look up the charged battery in the charging rate table. The charging rate corresponding to the percentage of the battery's power to the battery capacity, if the same percentage of the charged battery's power to the battery capacity is not found in the charging rate table, then look up the charging rate table and the charged power to the battery. The absolute value of the percentage difference of the battery capacity is the smallest percentage, and the charging rate corresponding to the percentage of the battery capacity that has been charged into the battery is taken as the found charging rate.
倒计时计算模块,用于将查找的充电速率与检测的充电速率相比,在查找的充电速率与检测的充电速率相等时,根据检测的充电速率与充电速率表中存储的充电速率,确定充满和/或部分充满电池剩余容量耗费的时间。具体地,根据检测的充电速率、充电速率表中存储的充电速率与其对应的已充入电池的电量占电池容量的百分比确定相应的时间。The countdown calculation module is used to compare the searched charging rate with the detected charging rate, and when the searched charging rate is equal to the detected charging rate, determine the charging rate according to the detected charging rate and the charging rate stored in the charging rate table. and/or the time it takes to partially charge the remaining capacity of the battery. Specifically, the corresponding time is determined according to the detected charging rate, the charging rate stored in the charging rate table, and the corresponding percentage of the charged electricity in the battery to the battery capacity.
可选地,所述移动终端的充电装置包括:Optionally, the charging device of the mobile terminal includes:
充电速率比值确定单元,用于在查找的充电速率与检测的充电速率不相等时,确定查找的充电速率与检测的充电速率的比值。具体地,重新确定的充电速率表中的充电速率是指参与确定充满和/或部分充满电池剩余容量耗费的时间的充电速率。The charging rate ratio determination unit is configured to determine the ratio of the found charging rate to the detected charging rate when the searched charging rate is not equal to the detected charging rate. Specifically, the charging rate in the re-determined charging rate table refers to the charging rate involved in determining the time it takes to fully and/or partially charge the remaining capacity of the battery.
倒计时重确定单元,用于根据确定的比值重新确定充电速率表中的充电速率,根据检测的充电速率以及重新确定的充电速率表中的充电速率,确定充满和/或部分充满电池剩余容量耗费的时间。The countdown re-determining unit is used to re-determine the charging rate in the charging rate table according to the determined ratio, and determine the consumption of the remaining capacity of the full and/or partially full battery according to the detected charging rate and the re-determined charging rate in the charging rate table time.
信息显示单元44,用于显示充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比。The information display unit 44 is used to display the time it takes to fully and/or partially charge the remaining capacity of the battery, and to display the percentage of the amount of electricity charged into the battery to the battery capacity when the remaining capacity of the battery is fully and/or partially charged.
可选地,所述移动终端的充电装置包括:Optionally, the charging device of the mobile terminal includes:
当前已充入电量显示单元,用于显示当前已充入电池的电量。以图形显示当前已充入电池的电量和未充入电池的电量的比例关系,使得用户能够更直观地获取相应的信息。当然,在实际情况中,也可以直接以文字显示当前已充入电池的电量和未充入电池的电量的比例关系,此处不作限定。The currently charged power display unit is used to display the current charged power of the battery. Graphically display the proportional relationship between the electric quantity that is currently charged into the battery and the electric quantity that is not charged into the battery, so that the user can obtain corresponding information more intuitively. Of course, in an actual situation, the proportional relationship between the current charged electric quantity and the uncharged electric quantity can also be directly displayed in text, which is not limited here.
进一步地,所述当前已充入电量显示单元包括:Further, the currently charged power display unit includes:
图形显示模块,用于以图形显示当前已充入电池的电量和未充入电池的电量的比例关系。The graphic display module is used to graphically display the proportional relationship between the electric quantity that is currently charged into the battery and the electric quantity that is not charged into the battery.
在本发明第二实施例中,由于显示了充满和/或部分充满电池剩余容量耗费的时间,以及,显示充满和/或部分充满电池剩余容量时,充入电池的电量占电池容量的百分比,因此,能够使用户能够获取有效的信息,用以判断电池在某个时间已充入的电量。In the second embodiment of the present invention, since the time it takes to fully and/or partially fill the remaining capacity of the battery is displayed, and when the remaining capacity of the battery is fully and/or partially full, the percentage of the amount of electricity charged into the battery to the battery capacity is displayed, Therefore, it is possible to enable the user to obtain effective information for judging the amount of electricity charged to the battery at a certain time.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510100690.2A CN104659881B (en) | 2015-03-06 | 2015-03-06 | Charging method and device for mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510100690.2A CN104659881B (en) | 2015-03-06 | 2015-03-06 | Charging method and device for mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104659881A CN104659881A (en) | 2015-05-27 |
| CN104659881B true CN104659881B (en) | 2017-04-19 |
Family
ID=53250697
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510100690.2A Expired - Fee Related CN104659881B (en) | 2015-03-06 | 2015-03-06 | Charging method and device for mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104659881B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106410303B (en) | 2015-07-27 | 2019-02-19 | 小米科技有限责任公司 | Charging method and device |
| CN105656135A (en) * | 2016-02-22 | 2016-06-08 | 广州市久邦数码科技有限公司 | Method and system for dynamically calculating residual charging time and mobile terminal equipment |
| CN108303650A (en) * | 2017-12-07 | 2018-07-20 | 深圳依偎控股有限公司 | A kind of measuring method and system based on the rechargeable battery remaining charging time |
| CN108808140B (en) * | 2018-04-26 | 2020-03-27 | 江西优特汽车技术有限公司 | Power battery charging management method |
| CN108776636A (en) * | 2018-06-26 | 2018-11-09 | Oppo广东移动通信有限公司 | Mobile terminal charging prompt method, device and computing device |
| CN109066892B (en) * | 2018-09-10 | 2021-02-05 | Oppo广东移动通信有限公司 | Split screen electronic equipment charging circuit and charging control method |
| CN113212222A (en) * | 2021-04-19 | 2021-08-06 | 智合鑫电子科技南京有限公司 | Electric vehicle residual capacity and charging time pre-estimation system |
| CN117080589B (en) * | 2022-05-09 | 2025-01-14 | 蜂巢能源科技股份有限公司 | A battery cell charging method, device and electronic device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4332321B2 (en) * | 2001-05-29 | 2009-09-16 | キヤノン株式会社 | Internal information detection method of secondary battery, internal information detection device, internal information detection program, and medium containing the program |
| CN103515664B (en) * | 2012-06-26 | 2015-12-02 | 联想(北京)有限公司 | A kind of charge information acquisition methods, system and electronic equipment |
| CN103682498B (en) * | 2013-12-04 | 2016-03-02 | 华为终端有限公司 | A kind of charging method and electronic equipment |
| CN104020420A (en) * | 2014-05-14 | 2014-09-03 | 可牛网络技术(北京)有限公司 | Residual cell electricity determination method, device and mobile terminal |
-
2015
- 2015-03-06 CN CN201510100690.2A patent/CN104659881B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN104659881A (en) | 2015-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104659881B (en) | Charging method and device for mobile terminal | |
| US11662392B2 (en) | Estimating condition of battery, related system and vehicle | |
| CN107179512A (en) | Predict the method and device of battery life | |
| CN106787011A (en) | Charge remaining time display methods, device and terminal device | |
| CN105372595A (en) | Battery capacity detection system and method | |
| CN103605077B (en) | Predetermined battery recognition methods, device and electronic equipment | |
| CN104749528B (en) | Dynamic lithium battery capacity determining methods | |
| CN111562507A (en) | Battery electric quantity display method and device, electronic equipment and storage medium | |
| CN108061863A (en) | Method and device for detecting battery, computer readable storage medium and battery management system | |
| US10114077B2 (en) | Electronic device, method, and computer readable medium having instructions capable of automatically measuring parameter(s) associated with battery cell | |
| CN102931709A (en) | Power adapter and working method thereof | |
| JP7656770B2 (en) | Method and device for displaying battery charge amount, electrical terminal and storage medium | |
| WO2018120769A1 (en) | Method and device for obtaining capacity difference between batteries | |
| CN103837835B (en) | A kind of mobile equipment cell container decline degree detecting method and device thereof | |
| CN107978036A (en) | For searching the method and server of bicycle | |
| US10371755B2 (en) | Reported state-of-charge scaling | |
| CN115760480A (en) | Method, device, equipment and storage medium for user arrearage time-limited power conservation | |
| CN105354491B (en) | Intelligent terminal standby state detection method and device | |
| CN110994052B (en) | Method and device for prolonging battery endurance, storage medium and terminal equipment | |
| WO2025140007A1 (en) | Charging method and apparatus, and mobile terminal | |
| CN108471476B (en) | Mobile terminal reverse charging management method and mobile terminal | |
| CN116760156B (en) | Electric quantity balancing method, device, computer equipment and storage medium | |
| CN116424278B (en) | Methods, apparatus, electronic devices and storage media for selecting batteries | |
| CN114211992B (en) | Charging management method, device, equipment and storage medium | |
| CN117131146A (en) | Charging pile data collection method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CP03 | Change of name, title or address | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170419 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |