CN106100018B - A kind of charge control method and system based on mobile terminal - Google Patents
A kind of charge control method and system based on mobile terminal Download PDFInfo
- Publication number
- CN106100018B CN106100018B CN201610418681.2A CN201610418681A CN106100018B CN 106100018 B CN106100018 B CN 106100018B CN 201610418681 A CN201610418681 A CN 201610418681A CN 106100018 B CN106100018 B CN 106100018B
- Authority
- CN
- China
- Prior art keywords
- time
- charging
- mobile terminal
- timer
- charge control
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000001514 detection method Methods 0.000 claims abstract description 11
- 239000000284 extract Substances 0.000 claims 2
- 238000011897 real-time detection Methods 0.000 abstract description 5
- 238000003780 insertion Methods 0.000 abstract description 3
- 230000037431 insertion Effects 0.000 abstract description 3
- 230000005611 electricity Effects 0.000 description 13
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 239000003610 charcoal Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- H02J7/0085—
-
- H02J7/0086—
Abstract
The invention discloses a kind of charge control method and system based on mobile terminal, charge control method is by being arranged in the terminal in advance and storing time-out time setting table;When detecting that battery is full of for the first time after insertion charger, stop charging, the setting timer expiry time is an initial time-out time and starts timer;When the timer expires, Off Timer and charging is restarted, record current time is T1;When detecting that battery is full of again, stop charging, record current time is T2, looks into time-out time setting table by T2-T1 and updates timer expiry time TS;The setting timer expiry time is TS and starts timer.Charge control system includes: to preset and memory module, and charger plugs detection module, Timer Controlling and logging modle, charge control module.Due to do not need after fully charged real-time detection cell voltage compared with pre-determined threshold, avoid introducing frequent charge switch and control the problem for keeping mobile terminal power consumption big.
Description
Technical field
The present invention relates to field of mobile terminals more particularly to a kind of charge control method based on mobile terminal and it is
System.
Background technique
Mobile terminal is all made of rechargeable battery at present, therefore charging is one of most common function of mobile terminal.It is mobile
Terminal in order to be measured in real time various states such as cell voltage, charging current, needs to make mobile whole during the charging process
End is constantly in wake-up states;For the economize on electricity of low charcoal after charging is full of, charging can be closed while detect cell voltage, work as electricity
Retriggered starting charging when cell voltage is lower than preset threshold value.1) above scheme, which has following defects that, needs real-time detection
Cell voltage, and be compared to decide whether that retriggered starting is charged with preset threshold value;2) when mobile terminal is deposited
Cell voltage can be made fast if stopping charging when fully charged after when leaking electricity or being mounted with power consumption control bad software
Lead to retriggered starting charging below prompt drop to preset threshold value, so that battery be made to fill full of rear frequent on/off
Electricity instead rises the power consumption of mobile terminal due to introducing frequent charge switch control.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, providing a kind of based on mobile whole
The charge control method and system at end.The control method of power saving when the present invention provides a kind of fully charged, it is intended to when enabling fully charged
Enough timely charge closings, and start charging automatically in reasonable time, to not need real-time detection battery after fully charged
It voltage and is compared with preset thresholding;It is also avoided simultaneously when mobile terminal has electric leakage or is mounted with that power consumption control is bad
When software, lead to weight if stopping charging when fully charged after and cell voltage can be made to be rapidly decreased to preset threshold value or less
New triggering starting charging makes battery full of rear frequent on/off charging, and introduced frequent charge switch control is instead
The power consumption of mobile terminal is set to rise problem.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of charge control method based on mobile terminal, comprising:
A, in advance in the terminal setting and storage battery initial charge it is full after charging time for recharging, and with it is every
The corresponding timer expiry time in one charging time generates time-out time and table is arranged;
B when detecting that battery is full of for the first time after being inserted into charger, stops charging, and the setting timer expiry time is one
Initial time-out time, and start timer;
C, when the timer expires, Off Timer simultaneously restart charging, and record current time is T1;
D stops charging when detecting that battery is full of again, and recording current time is time T2, when by time T2-
Between T1 difference constitute the current charging time, time-out time corresponding with the current charging time is looked into from time-out time setting table,
The setting timer expiry time is time-out time corresponding with the current charging time, and starts timer return step C, until pulling out
Charger completes charging out.
The charge control method based on mobile terminal, wherein the step A is specifically included:
A1, when storing the charging time X1 recharged after charging completely in the terminal in advance, and charging with each
Between the corresponding timer expiry time X2 of X1;
A2, for the value of charging time X1, and the value of corresponding timer expiry time X2, setting method are as follows: will move
Terminal connects charger to fully charged, then makes mobile terminal stop charging by manual input commands;After waiting X2 seconds again
Mobile terminal is set to open charging by manual input commands, battery is full of after charging X1 seconds;
A3 is arranged successively using each charging time X1 as first row, and timer corresponding with each charging time X1
Time-out time X2 is arranged successively for secondary series, forms the time-out time setting table table.
The charge control method based on mobile terminal, wherein the step D further include:
D10, when the value of T2- time, T1 time not the time-out time setting table in when, existed according to T2- time, T1 time
The time-out time setting table obtain with T2-T1 immediate two charging time and corresponding timer expiry time, then
The T2-T1 corresponding timer expiry time is obtained by linear interpolation arithmetic.
The charge control method based on mobile terminal, wherein the step D further include: as time T2 and time T1
Difference than time-out time setting table in the first row first row also hour, corresponding second train value be the first row secondary series value.
The charge control method based on mobile terminal, wherein the step A further include: the time-out time setting
Table is stored in mobile terminal power down nonvolatile memory.
A kind of charge control system based on mobile terminal, comprising:
It presets and memory module, for setting and storage battery initial charge Man Houzai fills in the terminal in advance
The charging time of electricity, and timer expiry time corresponding with each charging time generate time-out time and table are arranged;
Charger plugs detection module, when for detecting that battery is full of for the first time after being inserted into charger, stops charging, if
Setting the timer expiry time is an initial time-out time, and starts timer;
Timer Controlling and logging modle are used for when the timer expires, and Off Timer simultaneously restarts charging, record
Current time is T1;
Charge control module, for stopping charging when detecting that battery is full of again, and recording current time is the time
T2, the current charging time being made of T2- time, T1 time difference look into and the current charging time pair from time-out time setting table
The time-out time answered, the setting timer expiry time is time-out time corresponding with the current charging time, and starts timer, directly
Charging is completed to charger is extracted.
The charge control system based on mobile terminal, wherein described preset include: with memory module
Unit is stored in advance, the charging time X1 for being recharged after storage charging is full in the terminal in advance, and
Timer expiry time X2 corresponding with each charging time X1;
Setting unit, for the value for charging time X1, and the value of corresponding timer expiry time X2, setting method
Are as follows: mobile terminal is connected into charger to fully charged, then makes mobile terminal stop charging by manual input commands;Wait X2
Mobile terminal is set to open charging again by manual input commands after second, battery is full of after charging X1 seconds;
Time-out time is arranged table and forms unit, for being arranged successively using each charging time X1 as first row, and with it is each
The corresponding timer expiry time X2 of a charging time X1 is arranged successively for secondary series, forms the time-out time setting table.
The charge control system based on mobile terminal, wherein the charge control module includes:
First control unit, for stopping charging when detecting that battery is full of again, and recording current time is the time
T2, the current charging time being made of T2- time, T1 time difference look into and the current charging time pair from time-out time setting table
The time-out time answered, the setting timer expiry time is time-out time corresponding with the current charging time, and starts timer, directly
Charging is completed to charger is extracted;
Second control unit, for when the value of T2- time, T1 time not the time-out time setting table in when, according to when
Between T2- time T1 obtained and T2-T1 immediate two charging time and corresponding timer in the time-out time setting table
Then time-out time obtains the T2-T1 corresponding timer expiry time by linear interpolation arithmetic.
The charge control system based on mobile terminal, wherein the charge control module further include:
It is worth determination unit, it is also smaller than the first row first row in time-out time setting table for the difference as time T2 and time T1
When, corresponding second train value is the value of the first row secondary series.
The charge control system based on mobile terminal, the time-out time setting table are stored in mobile terminal power down not
In volatile memory.
Charge control method and system provided by the present invention based on mobile terminal, the present invention provides a kind of fully charged
The control method of Shi Sheng electricity, the method by storing timer expiry time TS in the terminal in advance;When insertion is charged
When detecting that battery is full of for the first time after device, stop charging, the setting timer expiry time is TS and starts timer;Work as timer
When overtime, Off Timer simultaneously restarts charging, and record current time is T1;When detecting that battery is full of again, record
Current time is T2, looks into time-out time setting table by T2-T1 and updates timer expiry time TS;Stop charging, timer is set
Time-out time is TS and starts timer.To do not needed after fully charged real-time detection cell voltage and with preset thresholding into
Row compares;It is also avoided simultaneously when mobile terminal has electric leakage or is mounted with when the bad software of power consumption control when fully charged
Lead to retriggered starting charging if stopping charging and cell voltage can be made to be rapidly decreased to preset threshold value or less afterwards, make battery
It charges full of rear frequent on/off, introduced frequent charge switch control instead rises the power consumption of mobile terminal
Problem.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of the charge control method the present invention is based on mobile terminal.
Power saving when Fig. 2 is fully charged in the concrete application embodiment of the charge control method the present invention is based on mobile terminal
The flow chart of control method.
Fig. 3 is the functional block diagram of the preferred embodiment of the charge control system the present invention is based on mobile terminal.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
Referring to Figure 1, Fig. 1 is the flow chart of the preferred embodiment of the charge control method the present invention is based on mobile terminal,
It the described method comprises the following steps:
The charging time recharged after simultaneously storage battery initial charge is full is arranged in S100 in the terminal in advance, and
The timer expiry time corresponding with each charging time generates time-out time and table is arranged.
Specifically: the charging time X1 recharged after storage charging is full in the terminal in advance, and filled with each
The corresponding timer expiry time X2 of electric time X1.
Such as: it is arranged successively using each charging time X1 as first row, and timing corresponding with each charging time X1
Device time-out time X2 is arranged successively for secondary series, forms the time-out time setting table table, as described below:
It is for example as follows:
Charging time X1, time-out time X2;
10 seconds, 88 seconds;
20 seconds, 188 seconds;
30 seconds, 588 seconds;
36 seconds, 888 seconds;
56 seconds, 1288 seconds;
66 seconds, 1366 seconds;
88 seconds, 1288 seconds;
100 seconds, 1288 seconds;
The table is to be arranged by mobile terminal manufacturer in mobile terminal factory, for the value X1 of first row in upper table, and
Its setting method of the value X2 of corresponding secondary series are as follows: for the value of charging time X1, and the value of timer expiry time X2 is corresponded to,
Setting method are as follows: mobile terminal is connected into charger to fully charged, then makes mobile terminal stop filling by manual input commands
Electricity;Mobile terminal is set to open charging again by manual input commands after waiting X2 seconds, battery is full of after charging X1 seconds;Upper table
In row and row between first row difference can also get it is thinner.
In the embodiment of the present invention, the time-out time setting table is stored in mobile terminal power down nonvolatile memory, example
Such as FLASH, EMMC.
S200, when detecting that battery is full of for the first time after being inserted into charger, stop charging, setting the timer expiry time be
One initial time-out time TS, and start timer.
When detecting that battery is full of for the first time after being inserted into charger in the embodiment of the present invention, stop charging, timer is set
Time-out time is an initial time-out time TS and starts timer.
Wherein, whether detection battery is full of, for example the electricity when cell voltage to be filled with battery full of voltage and by detection
Stream continues to think that battery is full of when being zero in 60 seconds, and for example calculates to be filled with when the electricity of battery is Full Charge Capacity by Coulomb meter and think
Battery is full of.
S300, when the timer expires, Off Timer simultaneously restart charging, and record current time is T1.
I.e. in the embodiment of the present invention, after battery of mobile terminal is full of for the first time, setting detects whether again every a predetermined time
It charges, in the specific implementation, an initial time-out time TS is set for the first time, such as example 120 seconds, when the timer expires, close
Timer simultaneously restarts charging, and record current time is T1.
S400 stops charging when detecting that battery is full of again, and recording current time is time T2, by time T2-
The current charging time that time T1 difference is constituted, when looking into time-out corresponding with the current charging time from time-out time setting table
Between, the setting timer expiry time is time-out time corresponding with the current charging time, and starts timer return step S300,
Until extracting charger completes charging.
That is, T2- time, T1 time difference calculates the time spent in being this time full of to work as when detecting that battery is again filled with
In the secondary charging time, if the difference of T2- time, T1 time is 66 seconds, then it is right with the charging time 66 seconds in time-out time setting table to look into
It answers, time-out time is 1366 seconds.It then needs to wait for charging again for 1366 seconds next time, i.e., and starts timer return step
S300, until extracting charger completes charging.
Further embodiment is then executed by step S200 when detecting plug charger.Wherein, detection charging
Whether device plugs, and is for example generated by detection charging foot VBUS and thinks that charger is inserted into when rising edge interrupts, charged by detection
Foot VBUS, which is generated, thinks that charger is extracted when failing edge interrupts.
Specifically, referring to Fig. 2, the concrete application that Fig. 2 is the charge control method the present invention is based on mobile terminal is implemented
The flow chart of the control method of power saving when fully charged in example, i.e., when be inserted into charger to before extraction charger, namely from institute
State step S200-S400 specific implementation process, comprising the following steps:
S1 will be filled with counting clearing after detecting insertion charger;
S2 detects and stops charging when battery is full of, will be filled with that count is incremented;
Whether S3, judgement are 1 full of counting, if YES then the setting timer expiry time is TS and starts timer;It is no
Then recording current time is T2, looks into time-out time setting table by T2-T1 and updates timer expiry time TS, timer expiry is arranged
Time is TS and starts timer;
S4, when the timer expires, Off Timer simultaneously restart charging, and record current time is T1.
Wherein, after the step S4, it will recycle in order repeatedly and execute step S2, S3, S4, until extracting charger.
Specifically, the table of time-out time setting described in the embodiment of the present invention is that power down in the terminal is stored in advance to be not easy
It loses in memory, preferably FLASH, EMMC etc., if the table is made of two column, ten rows;First is classified as charging time, secondary series
For the timer expiry time, for example shown in following table:
Charging time | The timer expiry time |
X1 | X2 |
10 seconds | 88 seconds; |
20 seconds | 188 seconds |
30 seconds | 588 seconds |
36 seconds | 888 seconds |
56 seconds | 1288 seconds |
66 seconds | 1366 seconds |
88 seconds | 1288 seconds |
100 seconds | 1288 seconds |
Table 1
The table is to be arranged by mobile terminal manufacturer in mobile terminal factory, for the value X1 of first row in upper table, and
Its setting method of the value X2 of corresponding secondary series are as follows: mobile terminal is connected into charger to fully charged, then by being manually entered life
Order makes mobile terminal stop charging;So that mobile terminal is opened charging again by manual input commands after waiting X2 seconds, works as charging
Battery is full of after X1 seconds;Especially, the difference of the first row between the row in upper table and row can also get thinner.
Further, the charge control method based on mobile terminal, wherein the step S400 further include:
S410, when the value of T2- time, T1 time not the time-out time setting table in when, according to T2- time, T1 time
The time-out time setting table obtain with T2-T1 immediate two charging time and corresponding timer expiry time, so
The T2-T1 corresponding timer expiry time is obtained by linear interpolation arithmetic afterwards.
Specifically, being such as arranged shown in table table 1 by the time-out time, if T2-T1 is 60 seconds, with its immediate two row
Are as follows:
56 seconds, 1288 seconds;
66 seconds, 1366 seconds;
If the value X2 of 60 seconds corresponding secondary series timer expiry time is Y, then Y value can be solved by following formula:
(60-56)/(60-66)=(Y-1288)/(Y-1366).
Further, the charge control method based on mobile terminal, wherein the step S400 further include: at that time
Between T2 and time T1 difference than the first row first row also hour in time-out time setting table, corresponding second train value is the first row
The value of secondary series, for example be arranged shown in table table 1 by aforementioned time-out time, more particularly, when T2-T1 is than in time-out time setting table
The first row first row also hour, corresponding second train value are the value of the first row secondary series;For example it is arranged by aforementioned time-out time
Table, if T2-T1 is 5 seconds, the second corresponding train value is 88 seconds;
More particularly, when T2-T1 is also bigger than row first row last in time-out time setting table, corresponding second train value
It is right with it if T2-T1 is 500 seconds for the value of last line secondary series, such as by shown in aforementioned time-out time setting table table 1
The second train value answered is 1288 seconds.
Therefore the control method of the present invention of embodiment of the present invention power saving when providing a kind of fully charged, it is intended to make to be full of
When electric can timely charge closing, and start charging automatically in reasonable time, to not need to examine in real time after fully charged
It surveys cell voltage and is compared with preset thresholding;It also avoids there is electric leakage when mobile terminal simultaneously or is mounted with power consumption control
When bad software, cell voltage can be made to be rapidly decreased to preset threshold value or less if stopping charging when fully charged after
Lead to retriggered starting charging, makes battery full of rear frequent on/off charging, introduced frequent charge switch control
System makes the power consumption of mobile terminal rise problem instead.
Based on above method embodiment, the present invention also provides a kind of charge control system based on mobile terminal, such as Fig. 3
Shown, the system comprises with lower module:
Preset with memory module 10, in advance in the terminal setting and storage battery initial charge Man Houzai
The charging time of charging, and timer expiry time corresponding with each charging time generate time-out time and table are arranged;Tool
Body is as described above.
Charger plugs detection module 20, when for detecting that battery is full of for the first time after being inserted into charger, stops charging,
The setting timer expiry time is an initial time-out time TS, and starts timer.Simultaneously for detecting whether charger plugs,
This is same as the prior art;It is for example generated by detection charging foot VBUS and thinks that charger is inserted into when rising edge interrupts, pass through inspection
It surveys charging foot VBUS and generates and think that charger is extracted when failing edge interrupts;As detailed above.
Timer Controlling and logging modle 30 are used for when the timer expires, and Off Timer simultaneously restarts charging, note
Record current time is T1;As detailed above.
Charge control module 40 stops charging for when detecting that battery is full of again, and records current time when being
Between T2, the current charging time being made of T2- time, T1 time difference looks into and the current charging time from time-out time setting table
Corresponding time-out time, the setting timer expiry time is time-out time corresponding with the current charging time, and starts timer,
Until extracting charger completes charging.Specifically, judge to detect whether battery is full of, it can be by being full of voltage when cell voltage
And by detection be filled with battery electric current continue 60 seconds be zero when think that battery is full of, and for example by Coulomb meter calculate be filled with electricity
The electricity in pond thinks that battery is full of when being Full Charge Capacity, this is the prior art, and details are not described herein.Meanwhile the charge control mould
In block, it is additionally provided with one full of counting submodule, plugging rear battery for counting charger starts to charge to the number being full of;
As detailed above.
The charge control system based on mobile terminal, wherein described preset include: with memory module
Unit is stored in advance, the charging time X1 for being recharged after storage charging is full in the terminal in advance, and
Timer expiry time X2 corresponding with each charging time X1;As detailed above.
Setting unit, for the value for charging time X1, and the value of corresponding timer expiry time X2, setting method
Are as follows: mobile terminal is connected into charger to fully charged, then makes mobile terminal stop charging by manual input commands;Wait X2
Mobile terminal is set to open charging again by manual input commands after second, battery is full of after charging X1 seconds;As detailed above.
Time-out time is arranged table and forms unit, for being arranged successively using each charging time X1 as first row, and with it is each
The corresponding timer expiry time X2 of a charging time X1 is arranged successively for secondary series, forms the time-out time setting table, institute
Time-out time setting table is stated to be stored in mobile terminal power down nonvolatile memory;As detailed above.
The charge control system based on mobile terminal, wherein the charge control module includes:
First control unit, for stopping charging when detecting that battery is full of again, and recording current time is the time
T2, the current charging time being made of T2- time, T1 time difference look into and the current charging time pair from time-out time setting table
The time-out time answered, the setting timer expiry time is time-out time corresponding with the current charging time, and starts timer, directly
Charging is completed to charger is extracted;As detailed above.
Second control unit, for when the value of T2- time, T1 time not the time-out time setting table in when, according to when
Between T2- time T1 obtained and T2-T1 immediate two charging time and corresponding timer in the time-out time setting table
Then time-out time obtains the T2-T1 corresponding timer expiry time by linear interpolation arithmetic;As detailed above.
The charge control system based on mobile terminal, wherein the charge control module further include:
It is worth determination unit, it is also smaller than the first row first row in time-out time setting table for the difference as time T2 and time T1
When, corresponding second train value is the value of the first row secondary series;As detailed above.
In conclusion the charge control method and system provided by the present invention based on mobile terminal, the method pass through
Store timer expiry time TS in the terminal in advance;When detecting that battery is full of for the first time after being inserted into charger, stop
Charging, setting timer expiry time are TS and start timer;When the timer expires, Off Timer and restart fill
Electricity, record current time are T1;When detecting that battery is full of again, record current time is T2, looks into time-out time by T2-T1
Table is set and updates timer expiry time TS;Stop charging, the setting timer expiry time is TS and starts timer.Thus
Real-time detection cell voltage is not needed after fully charged and is compared with preset thresholding;It also avoids existing when mobile terminal simultaneously
Cell voltage can be made rapid if stopping charging when leaking electricity or being mounted with the bad software of power consumption control when fully charged after
Being down to preset threshold value or less leads to retriggered starting charging, makes battery full of rear frequent on/off charging, is drawn
Entered frequent charge switch control makes the power consumption of mobile terminal rise problem instead.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can
With improvement or transformation based on the above description, wanted for example, all these modifications and variations all should belong to right appended by the present invention
The protection scope asked.
Claims (8)
1. a kind of charge control method based on mobile terminal characterized by comprising
A, the charging time that setting and storage battery initial charge recharge after expiring in the terminal in advance, and and each
The corresponding timer expiry time in charging time generates time-out time and table is arranged;
B when detecting that battery is full of for the first time after being inserted into charger, stops charging, and the setting timer expiry time is one initial
Time-out time, and start timer;
C, when the timer expires, Off Timer simultaneously restart charging, and record current time is T1;
D stops charging when detecting that battery is full of again, and recording current time is time T2, by T2- time, T1 time
In the current charging time that difference is constituted, time-out time corresponding with the current charging time is looked into from time-out time setting table, be arranged
The timer expiry time is time-out time corresponding with the current charging time, and starts timer return step C, is filled until extracting
Electric appliance completes charging;
The step A is specifically included:
A1, the charging time X1 recharged after storage charging is full in the terminal in advance, and with each charging time X1
Corresponding timer expiry time X2;
A2, for the value of charging time X1, and the value of corresponding timer expiry time X2, setting method are as follows: by mobile terminal
Charger is connected to fully charged, then makes mobile terminal stop charging by manual input commands;Wait X2 seconds after again by
Manual input commands make mobile terminal open charging, and battery is full of after charging X1 seconds;
A3 is arranged successively using each charging time X1 as first row, and timer expiry corresponding with each charging time X1
Time, X2 was arranged successively for secondary series, formed the time-out time setting table.
2. according to claim 1 based on the charge control method of mobile terminal, which is characterized in that the step D further include:
D10, when the value of T2- time, T1 time not the time-out time setting table in when, according to T2- time, T1 time described
Time-out time setting table obtain with T2-T1 immediate two charging time and corresponding timer expiry time, then by line
Property interpolation arithmetic obtains the T2-T1 corresponding timer expiry time.
3. according to claim 1 based on the charge control method of mobile terminal, which is characterized in that the step D further include:
When the difference of time T2 and time T1 are also smaller than the first row first row in time-out time setting table, corresponding second train value is the
The value of a line secondary series.
4. according to claim 1 based on the charge control method of mobile terminal, which is characterized in that the step A further include:
The time-out time setting table is stored in mobile terminal power down nonvolatile memory.
5. a kind of charge control system based on mobile terminal characterized by comprising
Preset and memory module, in advance in the terminal setting and storage battery initial charge it is full after recharge
Charging time, and timer expiry time corresponding with each charging time generate time-out time and table are arranged;
Charger plugs detection module, when for detecting that battery is full of for the first time after being inserted into charger, stops charging, setting is fixed
When device time-out time be an initial time-out time, and start timer;
Timer Controlling and logging modle are used for when the timer expires, and Off Timer simultaneously restarts charging, and record is current
Time is T1;
Charge control module, for stopping charging when detecting that battery is full of again, and recording current time is time T2,
The current charging time being made of T2- time, T1 time difference looks into corresponding with the current charging time from time-out time setting table
Time-out time, the setting timer expiry time is time-out time corresponding with the current charging time, and start timer, until
It extracts charger and completes charging;
Described preset include: with memory module
Unit is stored in advance, the charging time X1 for being recharged after storage charging is full in the terminal in advance, and with it is every
The corresponding timer expiry time X2 of one charging time X1;
Setting unit, for the value of charging time X1, and the value of corresponding timer expiry time X2, setting method to be arranged are as follows:
Mobile terminal is connected into charger to fully charged, then makes mobile terminal stop charging by manual input commands;It waits X2 seconds
Mobile terminal is set to open charging again by manual input commands afterwards, battery is full of after charging X1 seconds;
Time-out time is arranged table and forms unit, for being arranged successively using each charging time X1 as first row, and fills with each
The corresponding timer expiry time X2 of electric time X1 is arranged successively for secondary series, forms the time-out time setting table.
6. according to claim 5 based on the charge control system of mobile terminal, which is characterized in that the charge control module
Include:
First control unit, for stopping charging when detecting that battery is full of again, and recording current time is time T2,
The current charging time being made of T2- time, T1 time difference looks into corresponding with the current charging time from time-out time setting table
Time-out time, the setting timer expiry time is time-out time corresponding with the current charging time, and start timer, until
It extracts charger and completes charging;
Second control unit, for when the value of T2- time, T1 time not the time-out time setting table in when, according to the time
T2- time T1 obtains super with T2-T1 immediate two charging time and corresponding timer in the time-out time setting table
When the time, the T2-T1 corresponding timer expiry time is then obtained by linear interpolation arithmetic.
7. according to claim 5 based on the charge control system of mobile terminal, which is characterized in that the charge control module
Further include:
It is worth determination unit, for when the difference of time T2 and time T1 are also smaller than the first row first row in time-out time setting table,
Its corresponding second train value is the value of the first row secondary series.
8. according to claim 5 based on the charge control system of mobile terminal, which is characterized in that the time-out time setting
Table is stored in mobile terminal power down nonvolatile memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610418681.2A CN106100018B (en) | 2016-06-13 | 2016-06-13 | A kind of charge control method and system based on mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610418681.2A CN106100018B (en) | 2016-06-13 | 2016-06-13 | A kind of charge control method and system based on mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106100018A CN106100018A (en) | 2016-11-09 |
CN106100018B true CN106100018B (en) | 2019-06-04 |
Family
ID=57846878
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610418681.2A Active CN106100018B (en) | 2016-06-13 | 2016-06-13 | A kind of charge control method and system based on mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106100018B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102290837A (en) * | 2010-06-21 | 2011-12-21 | 佳能株式会社 | Information processing apparatus |
CN102324581A (en) * | 2011-07-22 | 2012-01-18 | 辽宁九夷三普电池有限公司 | Charging method for trickle charge or standard charge of rechargeable nickel-hydrogen storage battery |
CN202474986U (en) * | 2012-02-28 | 2012-10-03 | 深圳麦格米特电气股份有限公司 | Charge circuit for lithium-ion battery pack |
CN103765724A (en) * | 2011-09-20 | 2014-04-30 | 松下电器产业株式会社 | Rechargeable electrical device |
CN104348218A (en) * | 2013-08-08 | 2015-02-11 | 东芝泰格有限公司 | Charging control device and charging control method |
-
2016
- 2016-06-13 CN CN201610418681.2A patent/CN106100018B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102290837A (en) * | 2010-06-21 | 2011-12-21 | 佳能株式会社 | Information processing apparatus |
CN102324581A (en) * | 2011-07-22 | 2012-01-18 | 辽宁九夷三普电池有限公司 | Charging method for trickle charge or standard charge of rechargeable nickel-hydrogen storage battery |
CN103765724A (en) * | 2011-09-20 | 2014-04-30 | 松下电器产业株式会社 | Rechargeable electrical device |
CN202474986U (en) * | 2012-02-28 | 2012-10-03 | 深圳麦格米特电气股份有限公司 | Charge circuit for lithium-ion battery pack |
CN104348218A (en) * | 2013-08-08 | 2015-02-11 | 东芝泰格有限公司 | Charging control device and charging control method |
Also Published As
Publication number | Publication date |
---|---|
CN106100018A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101443672B (en) | Method for managing a bank of rechargeable batteries using the coup de fouet effect on charging | |
US20200295592A1 (en) | Emergency starting power supply and emergency start method | |
CN109490789B (en) | Battery on-site detection circuit and method and intelligent wearable equipment | |
US10110053B2 (en) | Battery powered system and method for charging | |
US20070139011A1 (en) | Battery charge circuit with multi-charge stage and method thereof | |
CN101595619A (en) | The charging method that is used for battery powered devices | |
CN104360191B (en) | Detection means and detection method that a kind of charger insertion is extracted | |
TWI497796B (en) | Methods for charging a rechargeable battery | |
CN105829903A (en) | Method and apparatus for indicating a low battery level | |
CN106356580B (en) | A kind of pair of mobile terminal rechargeable battery carries out the method and system of discharge treatment | |
CN100385728C (en) | Chargeable battery charging process controlling method | |
CN104795864A (en) | Mobile terminal capable of detecting charge state accurately and charge state detecting method | |
CN1118882C (en) | Method and device for judging secondary cell to be connected to charger | |
CN106100018B (en) | A kind of charge control method and system based on mobile terminal | |
CN106959844A (en) | A kind of low method and device for establishing machine processing by cable | |
CN104166097B (en) | The electricity method for measurement of battery | |
CN105790376A (en) | Activation method of over-discharged lead acid valve-regulated battery | |
KR101004762B1 (en) | A bettery restoration unit and restoration method | |
CN101222075B (en) | Nickel-hydrogen battery charging method for mobile communication apparatus | |
CN104849669A (en) | Discharging method and system of non-removable battery of mobile terminal | |
TWI460959B (en) | Charging system of battery module and charging method thereof | |
CN107611473A (en) | A kind of lithium ion battery and its method, the system for improving charging rate | |
CN114552710A (en) | Automatic power-off method and device for intelligent charger, electronic equipment and medium | |
CN105244934A (en) | Backup battery charging circuit | |
CN112072725A (en) | Charging control method and device suitable for charger |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201030 Address after: 6 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5 Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd. Address before: 10 building, No. 999, Lane 5, sailing Road, Ningbo hi tech Zone, Zhejiang, Ningbo, 315100 Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd. |
|
TR01 | Transfer of patent right |