CN106058965A - Charging method and terminal - Google Patents
Charging method and terminal Download PDFInfo
- Publication number
- CN106058965A CN106058965A CN201610389550.6A CN201610389550A CN106058965A CN 106058965 A CN106058965 A CN 106058965A CN 201610389550 A CN201610389550 A CN 201610389550A CN 106058965 A CN106058965 A CN 106058965A
- Authority
- CN
- China
- Prior art keywords
- terminal
- power consumption
- charging mode
- charging
- time
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000001514 detection method Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000005259 measurement Methods 0.000 description 8
- 230000032683 aging Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000012937 correction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/0071—Regulation of charging or discharging current or voltage with a programmable schedule
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Secondary Cells (AREA)
Abstract
Embodiments of the invention disclose a charging method and a terminal. The method comprises the steps of detecting whether the terminal is in a charging state or not, wherein a charging mode of the terminal includes a normal charging mode and a quick charging mode; if the terminal is in the charging state, obtaining schedule information of the day, wherein the schedule information is used for representing event and event time information set by a user; calculating rechargeable time according to the schedule information and current time information; detecting current electric quantity of the terminal; and selecting the normal charging mode or the quick charging mode to charge the terminal according to the rechargeable time and the current electric quantity. According to the embodiments of the charging method and the terminal, the charging mode of the terminal is selected according to the current schedule information of the user, so that the influence caused by quick charging is reduced under the condition of ensuring use of the terminal by the user.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a charging method and a terminal.
Background
In addition to the ordinary charging (ordinary charging) technology, the quick charging (quick charging) technology has become a very important function of terminals such as mobile phones and tablet computers. The method for improving the charging speed in the existing quick charging technology has two major directions: firstly, the voltage is increased, and secondly, the current is increased. However, in order to achieve the effect of rapid charging, the aging of the battery is accelerated as a whole, and the service life of the battery is reduced, regardless of whether the voltage or the current is increased. Particularly, in the fast charging mode with increased voltage, high temperature is easily generated when the voltage is increased, and the danger of battery explosion may be caused in serious cases. The common charging technology has long charging time, and can not meet the rapid charging requirement of a user in some emergency situations, so that the user experience is reduced.
Disclosure of Invention
The embodiment of the invention provides a charging method and a terminal, which can select a charging mode of the terminal according to the current schedule information condition of a user, and reduce the influence caused by quick charging under the condition of ensuring the use of the user.
In a first aspect, an embodiment of the present invention provides a charging method, where the method includes:
detecting whether a terminal is in a charging state, wherein the charging mode of the terminal comprises a normal charging mode and a quick charging mode;
if the terminal is in a charging state, acquiring the schedule information of the current day, wherein the schedule information is used for representing events and event time information set by a user;
calculating chargeable time according to the schedule information and the current time information;
detecting the current electric quantity of the terminal;
and selecting a common charging mode or the quick charging mode to charge the terminal according to the chargeable time and the current electric quantity.
On the other hand, the embodiment of the invention provides a terminal, which comprises a detection unit, an acquisition unit, a calculation unit and a selection unit;
the detection unit is used for detecting whether the terminal is in a charging state or not, and the charging mode of the terminal comprises a normal charging mode and a quick charging mode;
the acquiring unit is used for acquiring the schedule information of the current day if the terminal is in a charging state, wherein the schedule information is used for representing events and event time information set by a user;
the calculating unit is used for calculating chargeable time according to the schedule information and the current time information;
the detection unit is also used for detecting the current electric quantity of the terminal;
the selection unit is used for selecting a general charging mode or the quick charging mode to charge the terminal according to the chargeable time and the current electric quantity.
The embodiment of the invention detects whether the terminal is in a charging state, wherein the charging mode of the terminal comprises a normal charging mode and a quick charging mode; if the terminal is in a charging state, acquiring the schedule information of the current day, wherein the schedule information is used for representing events and event time information set by a user; calculating chargeable time according to the schedule information and the current time information; detecting the current electric quantity of the terminal; and selecting a common charging mode or the quick charging mode to charge the terminal according to the chargeable time and the current electric quantity. The chargeable time can be calculated according to the current schedule information condition of the user, the current electric quantity of the terminal can be obtained, the general charging mode or the quick charging mode is selected according to the chargeable time and the current electric quantity to charge the terminal, and the influence of the quick charging mode on the terminal is reduced under the condition that the use of the user is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a charging method according to an embodiment of the present invention;
FIG. 2 is a flow chart provided by an embodiment of the present invention;
FIG. 3 is another flow chart provided by an embodiment of the present invention;
fig. 4 is a schematic block diagram of a terminal according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram of a selection unit provided by an embodiment of the present invention;
FIG. 6 is another schematic block diagram of a selection unit provided by an embodiment of the present invention;
fig. 7 is a schematic block diagram of another terminal provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Fig. 1 is a schematic flow diagram of a method of charging, the method comprising:
s101, detecting whether the terminal is in a charging state or not, wherein the charging mode of the terminal comprises a normal charging mode and a quick charging mode. Specifically, whether the mobile phone is currently in the charging state may be determined by detecting whether the voltage of the terminal USB interface is higher than the voltage of the terminal battery, or detecting the current flowing direction of the terminal battery in the terminal battery chip.
And S102, if the terminal is in a charging state, acquiring the schedule information of the current day, wherein the schedule information is used for representing events and event time information set by a user. Specifically, the schedule information of the user may be obtained from a local database of the terminal, for example, the schedule information of the user may be obtained from a calendar, a note, and other applications of the terminal, which are capable of recording the schedule information of the user, for example, schedule information of a nine-am project start meeting, a weather theme discussed with a weather group in the afternoon, a saturday morning drive, and the like. The terminal can also acquire the schedule information of the user from the cloud or a remote server or other terminals.
And S103, calculating chargeable time according to the schedule information and the current time information. Specifically, the difference between the start time of the event and the current time is taken as the chargeable time. For example, the user's schedule information shows that the user is going to a meeting outside twenty minutes later. The chargeable time is at most twenty minutes.
And S104, detecting the current electric quantity of the terminal.
At present, there are three methods for detecting the current battery level of a terminal: voltage testing, that is, the charge of a battery is obtained by simply monitoring the voltage of the battery. This method is relatively simple, but the battery capacity and voltage are not linear, so this detection method is not accurate, and the capacity measurement accuracy is only over 20%. Especially, when the battery capacity is lower than 50%, the calculation of the battery capacity of the terminal becomes very inaccurate. The battery modeling method is characterized in that a data table is established according to a discharge curve of a battery, electric quantity values under different voltages can be marked in the data table, and the method can effectively improve the measurement accuracy. It is not easy to obtain an accurate data table because the relationship between voltage and capacity also involves factors such as temperature, self-discharge, aging, etc. of the battery. Only by combining a plurality of factors to carry out correction, a more satisfactory electric quantity measurement can be obtained. The coulometer is characterized in that a current check resistor is arranged between the positive pole and the negative pole of the battery, when current flows through the resistor, Vsense is generated, and the current flowing through the battery can be calculated by detecting the Vsense. Therefore, the electric quantity change of the battery can be accurately tracked, the precision can reach 1%, and in addition, the influence of factors such as battery aging and the like on the measurement result can be greatly reduced by matching with the voltage and the temperature of the battery. Preferably, the current electric quantity of the terminal is detected by adopting a coulometer method in the embodiment.
And S105, selecting a general charging mode or the quick charging mode to charge the terminal according to the chargeable time and the current electric quantity.
According to the embodiment, the chargeable time is calculated according to the current schedule information condition of the user, the current electric quantity of the terminal is obtained, the general charging mode or the quick charging mode is selected according to the chargeable time and the current electric quantity to charge the terminal, and the influence of the quick charging mode on the terminal can be reduced under the condition that the use of the user is ensured.
Fig. 2 is a flowchart according to an embodiment of the present invention. The embodiment further illustrates that, when the terminal needs to be fully charged, the general charging mode or the quick charging mode is selected according to the chargeable time and the current electric quantity to charge the terminal. As shown in fig. 2, in the present embodiment, S105 includes:
and S201, calculating the time for the terminal to finish charging in the normal charging mode according to the current electric quantity of the terminal. Specifically, the difference between the electric quantity of the terminal after the charging and the current electric quantity is calculated, and the time for the terminal to complete the charging in the normal charging mode is calculated according to the difference between the electric quantity of the terminal after the charging and the current electric quantity and the power consumption of the terminal in the normal charging mode.
And S202, comparing the chargeable time with the time for completing charging.
And S203, if the chargeable time is less than the time for completing charging, selecting a quick charging mode to charge the terminal.
And S204, if the chargeable time is more than or equal to the time for completing charging, selecting a common charging mode to charge the terminal.
The above embodiment selects an appropriate charging mode to charge the terminal by calculating the time for completing charging and comparing the chargeable time with the time for completing charging. The embodiment further describes that in the case that the terminal needs to be fully charged, the user can be ensured to use and the influence of the fast charging mode on the terminal can be reduced.
Fig. 3 is another flow chart provided by the embodiment of the invention. The embodiment further illustrates that, when the terminal needs to be charged to the preset value without a full-up point, the terminal is charged in the normal charge mode or the fast charge mode according to the chargeable time and the current electric quantity. As shown in fig. 3, S105 in the present embodiment includes:
and S301, estimating the power consumption of the terminal according to the power consumption parameters prestored in the terminal. Wherein, the power consumption is the power consumption of unit time. The power consumption parameters pre-stored by the terminal comprise the minimum power consumption, the maximum power consumption or the average power consumption of the terminal, the minimum power consumption, the maximum power consumption or the average power consumption of the terminal can be power consumption parameters set when the terminal leaves a factory or power consumption parameters after the terminal is booted, and the power consumption of the terminal is estimated according to the power consumption parameters pre-stored by the terminal comprises the minimum power consumption, the maximum power consumption or the average power consumption of the terminal as the power consumption of the terminal. The power consumption parameters pre-stored by the terminal may further include historical power consumption data. For example, the power consumption parameters pre-stored by the terminal include the power consumption of the terminal for each day in preset days, the power consumption parameters are historical power consumption data of the terminal before the current day, the estimating of the power consumption of the terminal according to the power consumption parameters pre-stored by the terminal includes calculating the average power consumption of the terminal in preset days according to the power consumption of the terminal for each day in preset days, and the average power consumption of the terminal in preset days is taken as the power consumption of the terminal. If yesterday terminal power consumption is a and the last day terminal power consumption is b, then the average power consumption of the terminals in the two days is (a + b)/2. The power consumption parameters pre-stored by the terminal may also be related to events. For example, the power consumption parameter pre-stored by the terminal includes the power consumption of each event within a preset number of times before the current event, and estimating the power consumption of the terminal according to the power consumption parameter pre-stored by the terminal includes calculating the average power consumption or the maximum power consumption of each event within the preset number of times according to the power consumption of each event within the preset number of times, and taking the average power consumption or the maximum power consumption of the events within the preset number of times as the power consumption of the terminal. For example, the power consumption of the A event is m, the power consumption of the B event is n, and the power consumption of the C event is k, wherein m > n > k. Then the average power consumption of 3 events is (m + n + k)/3, the average power consumption of 3 events (m + n + k)/3 may be used as the power consumption of the terminal, and the maximum power consumption m of 3 events may also be used as the power consumption of the terminal. The power consumption of each event within the preset number of times may be the same power consumption of each event as the current event within the preset number of times, or may be the different power consumption of each event within the preset number of times from the current event. The preset number of times may be 1 time or a plurality of times.
And S302, calculating the required electric quantity according to the current electric quantity of the terminal, the power consumption of the terminal and the schedule information. For example, the power consumption of the user in the next event is 500mA, and the next event needs 4 hours, then the terminal needs 2000mAh to ensure that the user keeps the use state of the terminal in the next event, the current power of the terminal is 1000mAh, and the required power is 1000mAh, that is, the user needs to charge 1000mAh before the next event starts to ensure the normal use of the user.
And S303, selecting a normal charging mode or a quick charging mode according to the required electric quantity and the chargeable time to charge the terminal. Specifically, the required charging power is calculated according to the required electric quantity and the chargeable time, and the normal charging mode or the quick charging mode is selected according to the required charging power to charge the terminal. If the required charging power is less than or equal to the charging power of the ordinary charging mode, the terminal is charged by using the ordinary charging mode; and if the required charging power is larger than the charging power in the normal charging mode and smaller than the maximum power in the quick charging mode, charging the terminal by using the quick charging mode.
According to the embodiment, the electric quantity required by finishing the current schedule is calculated according to the current schedule information condition of the user, and the terminal is charged in a normal charging mode or a quick charging mode according to the required electric quantity and the chargeable time. The embodiment further describes that under the condition that the required electric quantity of the terminal is a preset value and the terminal does not need to be fully charged, the use of the terminal by a user is ensured, and the influence of the charging in the fast charging mode on the terminal is reduced.
Fig. 4 is a schematic block diagram of a terminal according to an embodiment of the present invention. The terminal 40 includes a detection unit 401, an acquisition unit 402, a calculation unit 403, and a selection unit 404.
The detecting unit 401 is configured to detect whether the terminal is in a charging state, where the charging mode of the terminal includes a normal charging mode and a fast charging mode. Specifically, whether the mobile phone is currently in the charging state may be determined by detecting whether the voltage of the terminal USB interface is higher than the voltage of the terminal battery, or detecting the current flowing direction of the terminal battery in the terminal battery chip.
An obtaining unit 402, configured to obtain schedule information of the current day if the terminal is in a charging state, where the schedule information is used to indicate an event and event time information set by a user. Specifically, the schedule information of the user may be obtained from a local database of the terminal, for example, the schedule information of the user may be obtained from a calendar, a note, and other applications of the terminal, which are capable of recording the schedule information of the user, for example, schedule information of a nine-am project start meeting, a weather theme discussed with a weather group in the afternoon, a saturday morning drive, and the like. The terminal can also acquire the schedule information of the user from the cloud or a remote server or other terminals.
And a calculating unit 403, configured to calculate a chargeable time according to the schedule information and the current time information. Specifically, the difference between the start time of the event and the current time is taken as the chargeable time. For example, the user's schedule information shows that the user is going to a meeting outside twenty minutes later. The chargeable time is at most twenty minutes.
The detecting unit 401 is further configured to detect a current power of the terminal.
At present, there are three methods for detecting the current battery level of a terminal: voltage testing, that is, the charge of a battery is obtained by simply monitoring the voltage of the battery. This method is relatively simple, but the battery capacity and voltage are not linear, so this detection method is not accurate, and the capacity measurement accuracy is only over 20%. Especially, when the battery capacity is lower than 50%, the calculation of the battery capacity of the terminal becomes very inaccurate. The battery modeling method is characterized in that a data table is established according to a discharge curve of a battery, electric quantity values under different voltages can be marked in the data table, and the method can effectively improve the measurement accuracy. It is not easy to obtain an accurate data table because the relationship between voltage and capacity also involves factors such as temperature, self-discharge, aging, etc. of the battery. Only by combining a plurality of factors to carry out correction, a more satisfactory electric quantity measurement can be obtained. The coulometer is characterized in that a current check resistor is arranged between the positive pole and the negative pole of the battery, when current flows through the resistor, Vsense is generated, and the current flowing through the battery can be calculated by detecting the Vsense. Therefore, the electric quantity change of the battery can be accurately tracked, the precision can reach 1%, and in addition, the influence of factors such as battery aging and the like on the measurement result can be greatly reduced by matching with the voltage and the temperature of the battery. Preferably, the current electric quantity of the terminal is detected by adopting a coulometer method in the embodiment.
A selecting unit 404, configured to select a general charging mode or the fast charging mode to charge the terminal according to the chargeable time and the current electric quantity.
According to the embodiment, the chargeable time is calculated according to the current schedule information condition of the user, the current electric quantity of the terminal is obtained, the general charging mode or the quick charging mode is selected according to the chargeable time and the current electric quantity to charge the terminal, and the influence of the quick charging mode on the terminal can be reduced under the condition that the use of the user is ensured.
Fig. 5 is a schematic block diagram of a selection unit according to an embodiment of the present invention. Referring to fig. 5, the selection unit 50 includes:
a charging completion time calculating unit 501, configured to calculate a time for the terminal to complete charging in the normal charging mode according to the current electric quantity of the terminal. Specifically, the difference between the electric quantity of the terminal after the charging and the current electric quantity is calculated, and the time for the terminal to complete the charging in the normal charging mode is calculated according to the difference between the electric quantity of the terminal after the charging and the current electric quantity and the power consumption of the terminal in the normal charging mode.
A comparing unit 502, configured to compare the magnitude of the chargeable time and the time for completing charging.
A first selecting unit 503, configured to select a fast charging mode to charge the terminal if the chargeable time is less than the time for completing charging; and if the chargeable time is more than or equal to the time for completing charging, selecting the common charging mode to charge the terminal.
The above embodiment selects an appropriate charging mode to charge the terminal by calculating the time for completing charging and comparing the chargeable time with the time for completing charging. The embodiment further describes that in the case that the required electric quantity is fully charged, the use of the terminal is ensured and the influence of the fast charge mode on the terminal is reduced.
Fig. 6 is another schematic block diagram of a selection unit according to an embodiment of the present invention. Referring to fig. 6, the selection unit 60 includes:
the estimating unit 601 is configured to estimate power consumption of the terminal according to a power consumption parameter pre-stored in the terminal. Wherein, the power consumption is the power consumption of unit time. The power consumption parameters pre-stored by the terminal comprise the minimum power consumption, the maximum power consumption or the average power consumption of the terminal, the minimum power consumption, the maximum power consumption or the average power consumption of the terminal can be power consumption parameters set when the terminal leaves a factory or power consumption parameters after the terminal is booted, and the power consumption of the terminal is estimated according to the power consumption parameters pre-stored by the terminal comprises the minimum power consumption, the maximum power consumption or the average power consumption of the terminal as the power consumption of the terminal. The power consumption parameters pre-stored by the terminal may further include historical power consumption data. For example, the power consumption parameters pre-stored by the terminal include the power consumption of the terminal for each day in preset days, the power consumption parameters are historical power consumption data of the terminal before the current day, the estimating of the power consumption of the terminal according to the power consumption parameters pre-stored by the terminal includes calculating the average power consumption of the terminal in preset days according to the power consumption of the terminal for each day in preset days, and the average power consumption of the terminal in preset days is taken as the power consumption of the terminal. If yesterday terminal power consumption is a and the last day terminal power consumption is b, then the average power consumption of the terminals in the two days is (a + b)/2. The power consumption parameters pre-stored by the terminal may also be related to events. For example, the power consumption parameter pre-stored by the terminal includes the power consumption of each event within a preset number of times before the current event, and estimating the power consumption of the terminal according to the power consumption parameter pre-stored by the terminal includes calculating the average power consumption or the maximum power consumption of each event within the preset number of times according to the power consumption of each event within the preset number of times, and taking the average power consumption or the maximum power consumption of the events within the preset number of times as the power consumption of the terminal. For example, the power consumption of the A event is m, the power consumption of the B event is n, and the power consumption of the C event is k, wherein m > n > k. Then the average power consumption of 3 events is (m + n + k)/3, the average power consumption of 3 events (m + n + k)/3 may be used as the power consumption of the terminal, and the maximum power consumption m of 3 events may also be used as the power consumption of the terminal. The power consumption of each event within the preset number of times may be the same power consumption of each event as the current event within the preset number of times, or may be the different power consumption of each event within the preset number of times from the current event. The preset number of times may be 1 time or a plurality of times.
A required power calculating unit 602, configured to calculate required power according to the current power of the terminal, the power consumption of the terminal, and the schedule information. For example, the power consumption of the user in the next event is 500mA, and the next event needs 4 hours, then the terminal needs 2000mAh to ensure that the user keeps the use state of the terminal in the next event, the current power of the terminal is 1000mAh, and the required power is 1000mAh, that is, the user needs to charge 1000mAh before the next event starts to ensure the normal use of the user.
A second selecting unit 603, configured to select a normal charging mode or a fast charging mode according to the required electric quantity and the chargeable time to charge the terminal. Specifically, the required charging power is calculated according to the required electric quantity and the chargeable time, and the normal charging mode or the quick charging mode is selected according to the required charging power to charge the terminal. If the required charging power is less than or equal to the charging power of the ordinary charging mode, the terminal is charged by using the ordinary charging mode; and if the required charging power is larger than the charging power in the normal charging mode and smaller than the maximum power in the quick charging mode, charging the terminal by using the quick charging mode.
According to the embodiment, the electric quantity required by finishing the current schedule is calculated according to the current schedule information condition of the user, and the terminal is charged in a normal charging mode or a quick charging mode according to the required electric quantity and the chargeable time. The embodiment further describes that under the condition that the required electric quantity of the terminal is a preset value and the terminal does not need to be fully charged, the use of the terminal by a user is ensured, and the influence of the charging in the fast charging mode on the terminal is reduced.
Fig. 7 is a schematic block diagram of another terminal according to an embodiment of the present invention. The terminal 70 comprises a memory 701, a processor 702, the memory 701 and the processor 702 being connected by a bus 703. Wherein,
a memory 701 for storing program data with various functions. The data stored in the memory 701 according to the embodiment of the present invention includes schedule information, historical power consumption data, and other program data that can be called and run. In particular implementations, memory 701 of embodiments of the present invention may be system memory, such as volatile (e.g., RAM), non-volatile (e.g., ROM, flash memory, etc.), or some combination of the two. In a specific implementation, the memory 701 according to the embodiment of the present invention may also be an external memory outside the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
A processor 702, configured to call the program data stored in the memory 701, and perform the following operations:
detecting whether a terminal is in a charging state, wherein the charging mode of the terminal comprises a normal charging mode and a quick charging mode; if the terminal is in a charging state, acquiring the schedule information of the current day, wherein the schedule information is used for representing events and event time information set by a user; calculating chargeable time according to the schedule information and the current time information; detecting the current electric quantity of the terminal; and selecting a common charging mode or the quick charging mode to charge the terminal according to the chargeable time and the current electric quantity.
In other possible embodiments, the processor 702 may further perform the following operations:
calculating the time for completing charging of the terminal in a common charging mode according to the current electric quantity of the terminal; comparing the chargeable time with the time for completing charging; if the chargeable time is less than the charging completion time, selecting a quick charging mode to charge the terminal; and if the chargeable time is more than or equal to the charging completion time, selecting the ordinary charging mode to charge the terminal.
In other possible embodiments, the processor 702 may further perform the following operations:
estimating the power consumption of the terminal according to the power consumption parameters prestored in the terminal; calculating required electric quantity according to the current electric quantity of the terminal, the power consumption of the terminal and the schedule information; and selecting a general charging mode or the quick charging mode to charge the terminal according to the required electric quantity and the chargeable time.
The modules and/or units of the embodiments of the present invention may be implemented in a general-purpose integrated circuit (e.g., a central processing unit CPU) or in an application-specific integrated circuit (ASIC).
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method of charging, comprising:
detecting whether a terminal is in a charging state, wherein the charging mode of the terminal comprises a normal charging mode and a quick charging mode;
if the terminal is in a charging state, acquiring the schedule information of the current day, wherein the schedule information is used for representing events and event time information set by a user;
calculating chargeable time according to the schedule information and the current time information;
detecting the current electric quantity of the terminal;
and selecting a common charging mode or the quick charging mode to charge the terminal according to the chargeable time and the current electric quantity.
2. The method of claim 1, wherein selecting the general charging mode or the fast charging mode to charge the terminal according to the chargeable time and the current amount of power comprises:
calculating the time for the terminal to finish charging in the normal charging mode according to the current electric quantity;
comparing the chargeable time with the time for completing charging;
if the chargeable time is less than the time for completing charging, selecting the quick charging mode to charge the terminal; and if the chargeable time is more than or equal to the time for completing charging, selecting a common charging mode to charge the terminal.
3. The method of claim 1, wherein selecting the general charging mode or the fast charging mode to charge the terminal according to the chargeable time and the current amount of power comprises:
estimating the power consumption of the terminal according to the power consumption parameters prestored in the terminal;
calculating required electric quantity according to the current electric quantity of the terminal, the power consumption of the terminal and the schedule information;
and selecting a general charging mode or the quick charging mode to charge the terminal according to the required electric quantity and the chargeable time.
4. The method according to claim 3, wherein the power consumption parameters pre-stored by the terminal comprise the power consumption of the terminal for each day in a preset number of days; the method for estimating the power consumption of the terminal according to the power consumption parameters prestored in the terminal comprises the following steps:
and calculating the average power consumption of the terminal in preset days according to the power consumption parameters prestored in the terminal, and taking the average power consumption of the terminal as the power consumption of the terminal.
5. The method according to claim 3, wherein the power consumption parameters pre-stored by the terminal comprise power consumption of pre-stored events; the method for estimating the power consumption of the terminal according to the power consumption parameters prestored in the terminal comprises the following steps:
and calculating the average power consumption or the maximum power consumption of the event according to the power consumption parameters prestored in the terminal, and taking the average power consumption or the maximum power consumption of the event as the power consumption of the terminal.
6. A terminal, characterized in that the terminal comprises: the device comprises a detection unit, an acquisition unit, a calculation unit and a selection unit;
the detection unit is used for detecting whether the terminal is in a charging state or not, and the charging mode of the terminal comprises a normal charging mode and a quick charging mode;
the acquiring unit is used for acquiring the schedule information of the current day if the terminal is in a charging state, wherein the schedule information is used for representing events and event time information set by a user;
the calculating unit is used for calculating chargeable time according to the schedule information and the current time information;
the detection unit is also used for detecting the current electric quantity of the terminal;
the selection unit is used for selecting a general charging mode or the quick charging mode to charge the terminal according to the chargeable time and the current electric quantity.
7. The terminal according to claim 6, wherein the selecting unit specifically includes:
the charging completion time calculation unit is used for calculating the charging completion time of the terminal in the common mode according to the current electric quantity;
a comparing unit for comparing the chargeable time and the charging completion time;
the first selection unit is used for selecting the quick charging mode to charge the terminal if the chargeable time is less than the charging completion time; and if the chargeable time is more than or equal to the charging completion time, selecting a common charging mode to charge the terminal.
8. The terminal according to claim 6, wherein the selecting unit comprises:
the estimating unit is used for estimating the power consumption of the terminal according to the power consumption parameters prestored in the terminal;
the required electric quantity calculating unit is used for calculating required electric quantity according to the current electric quantity of the terminal, the power consumption of the terminal and the schedule information;
and the second selection unit is used for selecting a common charging mode or the quick charging mode to charge the terminal according to the required electric quantity and the chargeable time.
9. The terminal of claim 8, wherein the power consumption parameters pre-stored in the terminal include the power consumption of the terminal for each day in a preset number of days; the estimation unit includes:
and calculating the average power consumption of the terminal in preset days according to power consumption parameters prestored in the terminal, and taking the average power consumption of the terminal as the power consumption of the terminal.
10. The terminal of claim 8, wherein the terminal pre-stored power consumption parameters include power consumption of pre-stored events; the estimation unit includes:
and calculating the average power consumption or the maximum power consumption of the event according to the power consumption parameters prestored in the terminal, and taking the average power consumption or the maximum power consumption of the event as the power consumption of the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610389550.6A CN106058965A (en) | 2016-06-03 | 2016-06-03 | Charging method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610389550.6A CN106058965A (en) | 2016-06-03 | 2016-06-03 | Charging method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106058965A true CN106058965A (en) | 2016-10-26 |
Family
ID=57169383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610389550.6A Pending CN106058965A (en) | 2016-06-03 | 2016-06-03 | Charging method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106058965A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487071A (en) * | 2016-11-28 | 2017-03-08 | 深圳市金立通信设备有限公司 | A kind of charging management method and terminal |
CN106786948A (en) * | 2016-12-30 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of battery charging control method and terminal |
CN106787011A (en) * | 2017-03-03 | 2017-05-31 | 北京奇虎科技有限公司 | Charge remaining time display methods, device and terminal device |
CN107453437A (en) * | 2017-09-04 | 2017-12-08 | 深圳支点电子智能科技有限公司 | The method and charger of scene adaptive charging |
CN107482727A (en) * | 2017-09-04 | 2017-12-15 | 深圳支点电子智能科技有限公司 | The charger and Related product of protection type |
CN107980190A (en) * | 2016-10-28 | 2018-05-01 | 深圳市柔宇科技有限公司 | Electronic device and on demand charging method |
CN108736084A (en) * | 2018-05-25 | 2018-11-02 | 中国联合网络通信集团有限公司 | Charging method and terminal |
WO2019007192A1 (en) * | 2017-07-03 | 2019-01-10 | Ningbo Geely Automobile Research & Development Co., Ltd. | Method and electronic device for managing charging |
CN109177751A (en) * | 2018-09-18 | 2019-01-11 | 南京工程学院 | A kind of automobile intelligent charging system |
CN112671080A (en) * | 2021-03-16 | 2021-04-16 | 荣耀终端有限公司 | Charging method and device |
CN117087476A (en) * | 2023-10-16 | 2023-11-21 | 常州尚佳低碳科技有限公司 | Charging method for intelligent quick charging pile of community electric vehicle |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104362684A (en) * | 2014-10-10 | 2015-02-18 | 华为技术有限公司 | Charging method and rechargeable equipment |
CN105468124A (en) * | 2015-11-23 | 2016-04-06 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2016
- 2016-06-03 CN CN201610389550.6A patent/CN106058965A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104362684A (en) * | 2014-10-10 | 2015-02-18 | 华为技术有限公司 | Charging method and rechargeable equipment |
CN105468124A (en) * | 2015-11-23 | 2016-04-06 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018076271A1 (en) * | 2016-10-28 | 2018-05-03 | 深圳市柔宇科技有限公司 | Electronic apparatus and on-demand charging method |
CN107980190A (en) * | 2016-10-28 | 2018-05-01 | 深圳市柔宇科技有限公司 | Electronic device and on demand charging method |
CN106487071A (en) * | 2016-11-28 | 2017-03-08 | 深圳市金立通信设备有限公司 | A kind of charging management method and terminal |
CN106786948A (en) * | 2016-12-30 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of battery charging control method and terminal |
CN106787011A (en) * | 2017-03-03 | 2017-05-31 | 北京奇虎科技有限公司 | Charge remaining time display methods, device and terminal device |
WO2019007192A1 (en) * | 2017-07-03 | 2019-01-10 | Ningbo Geely Automobile Research & Development Co., Ltd. | Method and electronic device for managing charging |
CN107453437A (en) * | 2017-09-04 | 2017-12-08 | 深圳支点电子智能科技有限公司 | The method and charger of scene adaptive charging |
CN107482727A (en) * | 2017-09-04 | 2017-12-15 | 深圳支点电子智能科技有限公司 | The charger and Related product of protection type |
CN108736084A (en) * | 2018-05-25 | 2018-11-02 | 中国联合网络通信集团有限公司 | Charging method and terminal |
CN109177751A (en) * | 2018-09-18 | 2019-01-11 | 南京工程学院 | A kind of automobile intelligent charging system |
CN112671080A (en) * | 2021-03-16 | 2021-04-16 | 荣耀终端有限公司 | Charging method and device |
CN112671080B (en) * | 2021-03-16 | 2021-06-22 | 荣耀终端有限公司 | Charging method and device |
CN117087476A (en) * | 2023-10-16 | 2023-11-21 | 常州尚佳低碳科技有限公司 | Charging method for intelligent quick charging pile of community electric vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106058965A (en) | Charging method and terminal | |
CN106324508B (en) | Battery health state detection device and method | |
CN108646190B (en) | Method, device and equipment for estimating residual charging time of battery | |
US9651628B2 (en) | Method and apparatus for determining a capacity of a battery | |
CN107179505B (en) | Battery health state detection device and method | |
EP3508867A1 (en) | Detection method and device for micro short circuit of battery | |
CN110506215A (en) | A kind of method and device of determining battery internal short-circuit | |
US20140306712A1 (en) | Tracking aging effect on battery impedance and tracking battery state of health | |
US20090132186A1 (en) | Method and system for reporting battery status based on current estimation | |
US20150032394A1 (en) | Power management system | |
CN112986842B (en) | Method, device and equipment for estimating state of charge of battery | |
CN106125009B (en) | Battery performance detection method and battery performance detection device | |
CN106707187B (en) | Method and device for determining target SOC of battery | |
CN106786893B (en) | Method and device for acquiring capacity difference between batteries | |
CN104375085A (en) | Method and device for detecting electric quantity of battery and terminal | |
CN108061863A (en) | Method and device for detecting battery, computer readable storage medium and battery management system | |
US10578675B2 (en) | Estimation method for battery capacity | |
CN105372595A (en) | Battery capacity detection system and method | |
TWI528043B (en) | Battery SOC/SOH estimation circuit | |
KR20170116427A (en) | Apparatus and method for estimating battery state | |
CN111722134B (en) | Method and apparatus for measuring DC impedance of battery, charging system and terminal equipment | |
CN110687458A (en) | Terminal battery electric quantity determination method and device | |
CN114460475B (en) | Battery OCV determining method and device and battery SOC estimating method | |
CN103942133A (en) | Information processing method and electronic equipment | |
US20230184836A1 (en) | Analysis device, analysis system, and analysis method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161026 |
|
WD01 | Invention patent application deemed withdrawn after publication |