CN105262155B - A kind of charging method and device - Google Patents

A kind of charging method and device Download PDF

Info

Publication number
CN105262155B
CN105262155B CN201510559096.XA CN201510559096A CN105262155B CN 105262155 B CN105262155 B CN 105262155B CN 201510559096 A CN201510559096 A CN 201510559096A CN 105262155 B CN105262155 B CN 105262155B
Authority
CN
China
Prior art keywords
mobile terminal
current
charging
level
power consumption
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
Application number
CN201510559096.XA
Other languages
Chinese (zh)
Other versions
CN105262155A (en
Inventor
王汉青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510559096.XA priority Critical patent/CN105262155B/en
Publication of CN105262155A publication Critical patent/CN105262155A/en
Application granted granted Critical
Publication of CN105262155B publication Critical patent/CN105262155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of charging method and device, wherein method includes:When detecting that mobile terminal is charging, the running state information of the mobile terminal is obtained with the preset time cycle;According to the running state information, current charging current is adjusted;With the charging current after adjusting, charge to the mobile terminal.Using the embodiment of the present invention, the size of charging current can be flexibly adjusted when mobile terminal charges, reduces battery loss, extends the service life of battery.

Description

A kind of charging method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of charging method and devices.
Background technology
With the continuous development of the communication technology, people can be made a phone call by mobile terminal, sent short messages, be greatly facilitated The work of people, study and amusement, make a part indispensable in people's daily life.In practical application scene In, especially under certain application scenarios, when mobile terminal is to function presentation and experience on probation, mobile terminal needs to grow Phase is in the state for being switched on and charging.At this point, if mobile terminal itself has been in the state of high power consumption, such as mobile terminal is just In make a phone call, running game or play video state when, since discharge current is big at this time, along with charging current It influences, battery can be caused to generate heat quickly, the excessively high service life that can shorten battery of temperature.
Invention content
An embodiment of the present invention provides a kind of charging method and devices, can flexibly adjust charging when mobile terminal charges The size of electric current reduces battery loss, extends the service life of battery.
An embodiment of the present invention provides a kind of charging method, the method includes:
When detecting that mobile terminal is charging, the operating status that the mobile terminal is obtained with the preset time cycle is believed Breath;
According to the running state information, current charging current is adjusted;
With the charging current after adjusting, charge to the mobile terminal.
Correspondingly, an embodiment of the present invention provides a kind of charging unit, described device includes:
During for detecting that mobile terminal is charging, the shifting is obtained with the preset time cycle for information acquisition unit The running state information of dynamic terminal;
Current regulation unit, for according to the running state information, adjusting current charging current;
Terminal charge unit, with the charging current after adjusting, to charge to the mobile terminal.
The embodiment of the present invention can obtain the shifting when detecting that mobile terminal is charging with the preset time cycle The running state information of dynamic terminal;Can also current charging current be adjusted according to the running state information;And then to adjust it Charging current afterwards charges to the mobile terminal.The size of charging current can be flexibly adjusted when mobile terminal charges, is subtracted Few battery loss extends the service life of battery.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of charging method flow diagram provided in an embodiment of the present invention;
Fig. 2 is another charging method flow diagram provided in an embodiment of the present invention;
Fig. 3 is another charging method flow diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of charging unit structure diagram provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of current regulation unit provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work Example, shall fall within the protection scope of the present invention.
In the specific implementation, mobile terminal includes but not limited to mentioned in the embodiment of the present invention:Smart mobile phone is (such as Android phone, IOS mobile phones), tablet computer, laptop, palm PC, mobile internet device (MID, Mobile Internet Device), the electronic equipments such as wearable intelligent equipment.The charging unit that the present invention implements mentioned by embodiment removes Include above-mentioned mobile terminal, may also include mobile power (such as charger baby) or adapter etc. and can be used for filling to mobile terminal The equipment of electricity.It should be noted that method described in the invention is performed by one group of code stored in memory, the generation Code is implemented in the computer system based on von Neumann system.
A kind of charging method and device that the embodiment of the present invention is provided mainly need for a long time applied to mobile terminal Booting is run and power consumption is huge, so as to need the scene frequently to charge.For example, the popularization experience in mobile terminal makes With in the process, since experience user is numerous, for mobile terminal usually in the scene in high power consumption, power consumption is huge, and in order to move It moves terminal energy normal use and mobile terminal is stolen in order to prevent, it will usually be connected with charging adapter with continual right Mobile terminal charges.However, charging is larger to the loss of battery for a long time, when mobile terminal is in big power consumption scene In, for example, running game and play video etc. scenes, the operating current of charging current superposition mobile terminal cause current total electricity Flow larger, battery of mobile terminal and body temperature increase quickly, and some of which parts are also possible to breakdown short so as to cause Road.The prior art is compared, the solution that the embodiment of the present invention is proposed can go control to fill according to the operating status of mobile terminal The size of electric current, and the time of trickle charge is controlled, it is excessive that total current in mobile terminal can be prevented so that mobile terminal With the temperature of battery it is excessively high the problem of, extend the service life of battery, and mobile terminal can be protected.
A kind of charging method provided in an embodiment of the present invention and device are specifically described below in conjunction with Fig. 1 to Fig. 5.
Referring to Fig. 1, it is a kind of charging method flow diagram provided in an embodiment of the present invention, goes to charging side as depicted Method may include following steps:
When detecting that mobile terminal is charging, the operation of the mobile terminal is obtained with the preset time cycle by S101 Status information.
In the specific implementation, the executive agent of the embodiment of the present invention can be the charging unit in mobile terminal itself, also may be used Be with mobile terminal carry out charging connection charging unit (such as charger baby or charging adapter).Week time can be pre-set Phase, the time cycle are unsuitable too long or too short.In actual use, the temperature of mobile terminal and battery under normal circumstances Tens seconds are usually required to a few minutes, therefore it is 1 minute that can set the time cycle.When charging unit detects mobile terminal just In charging, the running state information of mobile terminal can be obtained preset time cycle, wherein, running state information include but It is not limited to:CPU usage, number of processes, the amplitude of operating current and/or memory usage etc. can characterize to a certain extent works as The information of the power consumption degree of preceding mobile terminal.
S102 according to the running state information, adjusts current charging current.
In the specific implementation, the running state information of mobile terminal represents the current power consumption journey of mobile terminal to a certain extent Degree may determine that the size and mobile terminal of mobile terminal current operating current according to the size of function power consumption degree Usage scenario.For example, when power consumption degree is big, usual mobile terminal is in and plays video, makes a phone call or running game etc. Or in usage scenario, operating current at this time is also big;Power consumption degree hour, usual mobile terminal are in standby screen lock state, Operating current is also small at this time.Therefore, it when the operating current that mobile terminal at this time is found by running state information is larger, can incite somebody to action Charging current adjusts small;When the operating current for finding mobile terminal is smaller, charging current can be adjusted big;Cause charging current Amplitude superposition with operating current is unlikely to also to be unlikely to too small greatly very much, prevents electric current excessive, leads to battery and mobile phone Body temperature is excessively high, and the component in battery and mobile terminal is lost.
S103 with the charging current after adjusting, charges to the mobile terminal.
In another alternative embodiment, the method further includes:Judge the mobile terminal trickle charge time whether Reach preset first time threshold value;If so, stop charging to the mobile terminal.
In the specific implementation, the battery usually installed in mobile terminal is lithium battery, lithium battery overcharges, over-discharge or When charge and discharge electric current is excessive, there are great damage in service life and capacity to battery or even can cause cell deformation or explosion; Therefore battery can be lost by charging for a long time to mobile terminal, be unfavorable for the continuity of battery life.In actually using, First time threshold value can be set in advance, just stopped to movement when the time of mobile terminal trickle charge reaching the first time threshold value The charging of terminal, this charging method are very practical in the case where mobile terminal is unattended.For example, it is used before sleep Family charges to mobile terminal, and in this way, user can feel at ease to sleep, without worrying that prolonged charging can damage electricity Pond.3 to 4 hours are usually filled to lithium battery to be full of (concrete condition is also related with the amount of capacity of lithium battery), Therefore the first time threshold value can be set as to 4 hours.
In a further alternative embodiment, after performing step and stopping charging to the mobile terminal, the method is also wrapped It includes:When detecting that the time span for stopping charging reaching preset second time threshold, charge again to the mobile terminal.
In the specific implementation, in mobile terminal for a long time during frequent use, such as the popularization in mobile terminal During experiencing use, since experience user is numerous, mobile terminal power consumption is huge, needs frequently to be filled to mobile terminal Electricity.Therefore, the second time threshold can be pre-set, when the time that detection is not charged when mobile terminal have reached this second During time threshold, just restart to charge to mobile terminal.Fully charged mobile terminal is in big power consumption scene, such as Play video, usual electricity can have been consumed within 1 to the 3 small time (specific time span also with the usage time of battery and Remaining capacity is related), therefore second time threshold can be set to two hours.
In a further alternative embodiment, after performing step and stopping charging to the mobile terminal, the method is also wrapped It includes:When detecting that the remaining capacity of the mobile terminal is less than or equal to preset power threshold, again to described mobile whole End charging.
In the specific implementation, during the popularization experience use of mobile terminal, in order to facilitate the use of the user, need mobile whole The battery at end keeps certain electricity, therefore predeterminable power threshold for a long time, when detecting that current residual electricity is less than or waits When the power threshold, just start to charge to mobile terminal.Usual mobile terminal electricity will give a warning less than 10%, because This, can be set as 10% by the power threshold.
In a further alternative embodiment, before step S101 is performed, the method further includes:Determine the mobile terminal In preset demo mode.
In the specific implementation, mobile terminal is provided to user's use pattern, such as include user mode and demo mode.With Prolonged a large amount of power consumptions and frequent charge are not had under the pattern of family, the charging of mobile terminal is according to traditional charging side at this time Method is all right (traditional charging method is to be charged with constant current to the battery of mobile terminal).And under demo mode, it is mobile Terminal needs the charging of long term frequent, therefore can start charging method provided by the present invention and charge to mobile terminal.User's Selection is more, more convenient, hommization.
In a further alternative embodiment, the method further includes:It detects when being disconnected with the mobile terminal, sends out Prompt messages.
In the concrete realization, under some special screnes, such as during the popularization experience use of mobile terminal, in addition to The electricity of battery of mobile terminal is kept for a long time, also to be monitored mobile terminal and be used properly and not stolen.Therefore, it detects Charging unit, the charging unit especially as charger baby or charging adapter are mobile when being disconnected with mobile terminal Either charging unit can be with alert user or staff to be prompted to go to detect current unusual condition for terminal.
The embodiment of the present invention can obtain the shifting when detecting that mobile terminal is charging with the preset time cycle The running state information of dynamic terminal;Can also current charging current be adjusted according to the running state information;And then to adjust it Charging current afterwards charges to the mobile terminal.The size of charging current can be flexibly adjusted when mobile terminal charges, is subtracted Few battery loss extends the service life of battery.
It is another charging method flow diagram provided in an embodiment of the present invention referring to Fig. 2, charging side as depicted Method may include following steps:
When detecting that mobile terminal is charging, the operation of the mobile terminal is obtained with the preset time cycle by S201 Status information.
In the specific implementation, wherein, the running state information includes but not limited to:The CPU usage of mobile terminal, process Quantity, the amplitude of operating current and/or memory usage etc. represent the current power consumption degree of mobile terminal to a certain extent Information.It may determine that the size and mobile terminal of the current operating current of mobile terminal according to the size of function power consumption degree Usage scenario.For example, when power consumption degree is big, usual mobile terminal is in and plays out video, makes a phone call or run In game etc. or usage scenario, operating current at this time is also big;Power consumption degree hour, usual mobile terminal are in standby screen locking State, operating current is also small at this time.
S202 according to the running state information, determines the target power consumption grade of the mobile terminal.
It in the specific implementation, can mapping relations of preset operating state information and level of power consumption in the terminal.Such as it transports Row status information is CPU usage, and level-one level of power consumption is corresponded to when utilization rate is in 0-20%, when utilization rate is in 21%- Two level level of power consumption is corresponded to when 40%, three-level level of power consumption is corresponded to when utilization rate is in 41%-60%, when utilization rate is in 61%- Level Four level of power consumption is corresponded to when 100%.In another example running state information is number of processes, and when number of processes is at 0-15 Corresponding level-one level of power consumption, two level level of power consumption is corresponded to when number of processes is at 16-30, when number of processes is at 31 or more Corresponding three-level level of power consumption.Wherein, level of power consumption is bigger represents that power consumption degree is bigger, correspondingly, the operating current of mobile terminal Also it is bigger.Optionally, each reference information in running state information can be considered, go overall merit current mobile terminal Performance Level for example, setting weight parameter to each reference information in running state information, then calculates a comprehensive reference ginseng Number, to determine the level of power consumption of mobile terminal.
S203 according to preset level of power consumption and the mapping relations of current amplitude, is determined and the target power consumption grade institute Corresponding target current amplitude.
In the specific implementation, level of power consumption and the mapping relations of current amplitude, the current amplitude can be preset in the terminal in advance The amplitude of charging current is specifically referred to, then goes to determine correspondingly according to the target power consumption grade got in step S202 Target current amplitude.
The amplitude of the charging current is adjusted to the target current amplitude by S204.
In the specific implementation, the amplitude of charging current is adjusted to target current amplitude, it can be by adjusting in charging unit Current-limiting circuit is realized.
S205 with the charging current after adjusting, charges to the mobile terminal.
The embodiment of the present invention can determine the target power consumption grade of mobile terminal according to the running state information of mobile terminal, And then corresponding target current amplitude is determined according to target power consumption grade, then by the range-adjusting of current charging current To target current amplitude and continue to charge to mobile terminal.The big of charging current can be flexibly adjusted when mobile terminal charges It is small, battery loss is reduced, extends the service life of battery;It can also solve when mobile terminal is in big power consumption state (as Play video, running game and play the scenes such as song), battery charging with larger electric current caused by and fuselage overheat and The problem of damaging parts therein.
It is another charging method flow diagram provided in an embodiment of the present invention referring to Fig. 3, charging side as depicted Method may include following steps:
When detecting that mobile terminal is charging, the operation of the mobile terminal is obtained with the preset time cycle by S301 Status information, wherein, the running state information includes the amplitude of the operating current of mobile terminal.
In the specific implementation, the executive agent of the embodiment of the present invention can be the charging unit in mobile terminal itself, also may be used Be with mobile terminal carry out charging connection charging unit (such as charger baby or charging adapter).Week time can be pre-set Phase, the time cycle be unsuitable too long or too short, during actual use, the temperature of mobile terminal and battery under normal circumstances Tens seconds are usually required to a few minutes, therefore it is 1 minute that can set the time cycle.When charging unit detects mobile terminal just In charging, the running state information of mobile terminal can be obtained the preset time cycle.
S302 according to the amplitude of the operating current of presently described mobile terminal, adjusts the amplitude of current charging current, with The sum of amplitude of the operating current and the charging current is made to be less than preset current amplitude threshold value.
In the specific implementation, when mobile terminal is in high power consumption use state, operating current is larger, along with superposition Charging current, battery of mobile terminal and body temperature are increased, battery may be damaged, and some of which quickly Parts are also possible to breakdown so as to cause short circuit.Therefore in charging process, a predeterminable current amplitude threshold value, and filling The amplitude of current operating current is detected in electric process, when the amplitude of operating current and the sum of the amplitude of charging current are more than the electricity When flowing amplitude thresholds, illustrate that the total current in mobile terminal is very big, therefore can suitably adjust the big of charging current It is small, the amplitude of total current is allowed to be less than current amplitude threshold value, to protect the battery of mobile terminal, extends its service life, while Mobile terminal is prevented because of the excessive damage parts therein of electric current.
S303 with the charging current after adjusting, charges to the mobile terminal.
The embodiment of the present invention can obtain the shifting when detecting that mobile terminal is charging with the preset time cycle The running state information of dynamic terminal, wherein, the running state information includes the amplitude of the operating current of mobile terminal;It can also root According to the amplitude of the operating current of presently described mobile terminal, the amplitude of current charging current is adjusted, so that the operating current It is less than preset current amplitude threshold value, and then with the sum of the amplitude of the charging current with the charging current after adjusting, to institute State mobile terminal charging.The size of charging current can be flexibly adjusted when mobile terminal charges, reduces battery loss, extends electricity The service life in pond.
Referring to Fig. 4, a kind of charging unit structure diagram provided in an embodiment of the present invention, charging unit is at least as shown in the figure It can include:Information acquisition unit 401, current regulation unit 402 and terminal charge unit 403.
Information acquisition unit 401, during for detecting that mobile terminal is charging, obtained with the preset time cycle described in The running state information of mobile terminal.
In the specific implementation, the time cycle can be pre-set, the time cycle is unsuitable too long or too short, actually uses process In, the temperature of mobile terminal and battery usually requires tens seconds to a few minutes, therefore the time can be set all under normal circumstances Phase is 1 minute.When charging unit detects that mobile terminal is charging, information acquisition unit 401 can preset week time Phase obtains the running state information of mobile terminal, wherein, running state information includes but not limited to:CPU usage, into number of passes Amount, the amplitude of operating current and/or memory usage etc. can characterize the power consumption degree of current mobile terminal to a certain extent Information.
Current regulation unit 402, for according to the running state information, adjusting current charging current.
In the specific implementation, the running state information of mobile terminal represents the current power consumption journey of mobile terminal to a certain extent Degree may determine that the size and mobile terminal of mobile terminal current operating current according to the size of function power consumption degree Usage scenario.For example, when power consumption degree is big, usual mobile terminal is in and plays video, makes a phone call or running game etc. Or in usage scenario, operating current at this time is also big;Power consumption degree hour, usual mobile terminal are in standby screen lock state, Operating current is also small at this time.Therefore, when the operating current that mobile terminal at this time is found by running state information is larger, can lead to Overcurrent adjusting unit 402 adjusts charging current small;When the operating current for finding mobile terminal is smaller, electric current tune can be passed through Unit 402 is saved to adjust charging current greatly;So that charging current and the superposition of the amplitude of operating current are unlikely to also to be unlikely to greatly very much It is too small, it prevents electric current excessive, causes battery and mobile Terminals temperature excessively high, the component in battery and mobile terminal is lost.
In another alternative embodiment, referring to Fig. 4, Fig. 4 is that a kind of charging unit structure provided in an embodiment of the present invention is shown It is intended to;The current regulation unit 402 as depicted may include:Grade determination subelement 4201, amplitude determination subelement 4202 and amplitude regulator unit 4203.
Grade determination subelement 4201, for according to the running state information, determining the target work(of the mobile terminal Grade is consumed, wherein, CPU usage of the running state information including mobile terminal, number of processes, the amplitude of operating current And/or memory usage;
Amplitude determination subelement 4202, for the mapping relations according to preset level of power consumption and current amplitude, determine with Target current amplitude corresponding to the target power consumption grade;
The amplitude of the charging current is adjusted to the target current width by amplitude regulator unit 4203 for adjusting Value.
It in the specific implementation, can mapping relations of preset operating state information and level of power consumption in the terminal.
Such as running state information is CPU usage, and level-one level of power consumption is corresponded to when utilization rate is in 0-20%, when making Two level level of power consumption is corresponded in 21%-40% with rate, three-level level of power consumption is corresponded to when utilization rate is in 41%-60%, when making Level Four level of power consumption is corresponded in 61%-100% with rate.In another example running state information is number of processes, and work as number of processes Level-one level of power consumption is corresponded at 0-15, two level level of power consumption is corresponded to when number of processes is at 16-30, when number of processes exists Three-level level of power consumption is corresponded at 31 or more.Wherein, the bigger power consumption degree that represents of level of power consumption is bigger, correspondingly, mobile terminal Operating current it is also bigger.
Optionally, each reference information in running state information can be considered, go overall merit current mobile terminal Performance Level for example, setting weight parameter to each reference information in running state information, then calculates a comprehensive reference ginseng Number, to determine the target power consumption grade of mobile terminal by grade determination subelement 4201.
Level of power consumption and the mapping relations of current amplitude can also be preset in the terminal in advance, which specifically refers to fill Then the amplitude of electric current goes to determine corresponding target electricity according to target power consumption grade by amplitude determination subelement 4202 Flow amplitude.Then the amplitude of charging current is adjusted to mesh by amplitude regulator unit 4203 by the current-limiting circuit in charging unit Mark current amplitude.
In a further alternative embodiment, the running state information includes the amplitude of the operating current of mobile terminal, described Current regulation unit 402 is specifically used for:According to the amplitude of the operating current of presently described mobile terminal, current charging electricity is adjusted The amplitude of stream, so that the sum of amplitude of the operating current and the charging current is less than preset current amplitude threshold value.
In the specific implementation, when mobile terminal is in high power consumption use state, operating current is larger, along with superposition Charging current, battery of mobile terminal and body temperature are increased, battery may be damaged, and some of which quickly Parts are also possible to breakdown so as to cause short circuit.Therefore in charging process, a predeterminable current amplitude threshold value, and filling The amplitude of current operating current is detected in electric process, when the amplitude of operating current and the sum of the amplitude of charging current are more than the electricity When flowing amplitude thresholds, illustrate that the total current in mobile terminal is very big, therefore current regulation unit 402 can be adjusted suitably The size of charging current is saved, the amplitude of total current is allowed to be less than current amplitude threshold value, to protect the battery of mobile terminal, extending it makes With the service life, while mobile terminal is also prevented from because of the excessive damage parts therein of electric current.
Terminal charge unit 403, with the charging current after adjusting, to charge to the mobile terminal.
In a further alternative embodiment, described device further includes:Time judging unit 404, it is described mobile whole for judging Whether the time of end trickle charge reaches preset first time threshold value;Charge stop unit 405, judges for the time single The judging result of member charges when being, to stop to the mobile terminal.
In the specific implementation, the battery usually installed in mobile terminal is lithium battery, lithium battery overcharges, over-discharge or When charge and discharge electric current is excessive, there are great damage in service life and capacity to battery or even can cause cell deformation or explosion; Therefore battery can be lost by charging for a long time to mobile terminal, be unfavorable for the continuity of battery life.In actually using, First time threshold value can be set in advance, when time judging unit 404 detect the time of mobile terminal trickle charge reach this first During time threshold, charging stop unit 405 just stops the charging to mobile terminal, and in mobile terminal, nobody sees this charging method It is very useful in the case of pipe.For example, user charges to mobile terminal before sleep, and in this way, user Feel at ease to sleep, without worrying that prolonged charging can damage battery.3 to 4 hours are usually filled to lithium battery to fill Full (concrete condition is also related with the amount of capacity of lithium battery), therefore the first time threshold value can be set as to 4 hours.
In a further alternative embodiment, the terminal charge unit 403 is additionally operable to:The charging stop unit stops to institute After stating mobile terminal charging, when detecting that the time span for stopping charging reaching preset second time threshold, again to institute State mobile terminal charging.
In the specific implementation, in mobile terminal for a long time during frequent use, such as the popularization in mobile terminal During experiencing use, since experience user is numerous, mobile terminal power consumption is huge, needs frequently to be filled to mobile terminal Electricity.Therefore, the second time threshold can be pre-set, when terminal charge unit 403 is detected when mobile terminal is not charged Between when having reached second time threshold, just restart to charge to mobile terminal.Fully charged mobile terminal is in big work( Consume in scene, such as playing video, usual electricity can have been consumed within 1 to the 3 small time (specific time span also with electricity The usage time in pond is related to remaining capacity), therefore second time threshold can be set to two hours.
In a further alternative embodiment, the terminal charge unit is additionally operable to:The charging stop unit stops to described After mobile terminal charging, when detecting that the remaining capacity of the mobile terminal is less than or equal to preset power threshold, weight Newly charge to the mobile terminal.
In the specific implementation, during the popularization experience use of mobile terminal, in order to facilitate the use of the user, need mobile whole The battery at end keeps certain electricity, therefore predeterminable power threshold for a long time, when terminal charge unit 403 detects current residual When electricity is less than or equal to the power threshold, just start to charge to mobile terminal.Usual mobile terminal electricity is less than 10% just It can give a warning, therefore, which can be set as 10%.
The embodiment of the present invention, by information acquisition unit 401 when detecting that mobile terminal is charging, with it is preset when Between the period obtain the running state information of the mobile terminal;It can also be by current regulation unit 402 according to the operating status Information adjusts current charging current;And then by terminal charge unit 403 with the charging current after adjusting, to the shifting Dynamic terminal charge.The size of charging current can be flexibly adjusted when mobile terminal charges, battery loss is reduced, extends battery Service life.
For aforementioned each embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, But those skilled in the art should know, the application is not limited by described sequence of movement, because according to the application, Certain some step may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know, in specification Described embodiment belongs to preferred embodiment, necessary to involved action and unit not necessarily the application.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
A kind of charging method disclosed by the embodiments of the present invention and device are described in detail above, it is above disclosed Only present pre-ferred embodiments cannot limit the interest field of the present invention, therefore according to right of the present invention with this certainly It is required that the equivalent variations made, are still within the scope of the present invention.

Claims (10)

1. a kind of charging method, which is characterized in that including:The method is applied to a mobile terminal, in advance in the mobile terminal In preset the mapping relations of level of power consumption and current amplitude, wherein current amplitude is the amplitude of charging current;Further include a charging Device, for charging to the mobile terminal;
The charging method includes the following steps:Judge that mobile terminal is current according to the function power consumption degree size of mobile terminal The size of operating current and the usage scenario of mobile terminal, when determining that the mobile terminal is in preset demo mode, Under demo mode, mobile terminal needs the charging of long term frequent;
When detecting that mobile terminal is charging, the running state information of the mobile terminal is obtained with the preset time cycle;
According to the running state information, the running state information includes the amplitude of operating current, in running state information Each reference information setting weight parameter, a comprehensive reference parameter is then calculated, to determine target power consumption etc. of mobile terminal Grade according to preset level of power consumption and the mapping relations of current amplitude, determines and the target corresponding to the target power consumption grade Current amplitude, and current charging current is adjusted, so that the sum of amplitude of the operating current and the charging current is less than in advance If current amplitude threshold value;
Wherein, the amplitude of charging current is adjusted to target current amplitude by the current-limiting circuit adjusted in charging unit;
With the charging current after adjusting, charge to the mobile terminal;
The running state information further includes CPU usage, number of processes and/or the memory usage of mobile terminal;
If running state information is only CPU usage, level-one level of power consumption is corresponded to when utilization rate is in 0-20%, works as utilization rate Two level level of power consumption is corresponded in 21%-40%, three-level level of power consumption is corresponded to when utilization rate is in 41%-60%, works as utilization rate Level Four level of power consumption is corresponded in 61%-100%;
If running state information is only number of processes, level-one level of power consumption is corresponded to when number of processes is at 0-15, works as process Quantity corresponds to two level level of power consumption at 16-30, and three-level level of power consumption is corresponded to when number of processes is at 31 or more;
And when detecting that charging unit is disconnected with the mobile terminal, send out prompt messages.
2. according to the method described in claim 1, it is characterized in that, described according to the running state information, adjust current Charging current includes:
According to the running state information, the target power consumption grade of the mobile terminal is determined, wherein, the running state information The amplitude and/or memory usage of CPU usage, number of processes, operating current including mobile terminal;
According to preset level of power consumption and the mapping relations of current amplitude, determine and the target corresponding to the target power consumption grade Current amplitude;
The amplitude of the charging current is adjusted to the target current amplitude.
3. method according to claim 1 or 2, which is characterized in that the method further includes:
Judge whether the time of the mobile terminal trickle charge reaches preset first threshold;
If so, stop charging to the mobile terminal.
4. according to the method described in claim 3, it is characterized in that, it is described stop to the mobile terminal charge after, it is described Method further includes:
When detecting that the time span for stopping charging reaching preset second time threshold, charge again to the mobile terminal.
5. according to the method described in claim 3, it is characterized in that, it is described stop to the mobile terminal charge after, it is described Method further includes:
When detecting that the remaining capacity of the mobile terminal is less than or equal to preset power threshold, again to described mobile whole End charging.
6. a kind of charging unit, which is characterized in that the charging unit is used to charge to mobile terminal, in advance in the mobile terminal In preset the mapping relations of level of power consumption and current amplitude, wherein current amplitude is the amplitude of charging current;The charging unit Including:
Mode decision module judges the big of the current operating current of mobile terminal according to the function power consumption degree size of mobile terminal Small and mobile terminal usage scenario, when determining that the mobile terminal is in preset demo mode, under demo mode, Mobile terminal needs the charging of long term frequent;
Information acquisition unit, during for detecting that mobile terminal is charging, with the preset time cycle obtain it is described it is mobile eventually The running state information at end;
Current regulation unit, for according to the running state information, the running state information to include the amplitude of operating current, Weight parameter is set to each reference information in running state information, then calculates a comprehensive reference parameter, to determine movement The target power consumption grade of terminal according to preset level of power consumption and the mapping relations of current amplitude, determines and the target power consumption Target current amplitude corresponding to grade, and current charging current is adjusted, so that the operating current and the charging current The sum of amplitude be less than preset current amplitude threshold value;
Wherein, the amplitude of charging current is adjusted to target current amplitude by the current-limiting circuit adjusted in charging unit;
Terminal charge unit, with the charging current after adjusting, to charge to the mobile terminal;
The running state information further includes CPU usage, number of processes and/or the memory usage of mobile terminal;
If running state information is only CPU usage, level-one level of power consumption is corresponded to when utilization rate is in 0-20%, works as utilization rate Two level level of power consumption is corresponded in 21%-40%, three-level level of power consumption is corresponded to when utilization rate is in 41%-60%, works as utilization rate Level Four level of power consumption is corresponded in 61%-100%;
If running state information is only number of processes, level-one level of power consumption is corresponded to when number of processes is at 0-15, works as process Quantity corresponds to two level level of power consumption at 16-30, and three-level level of power consumption is corresponded to when number of processes is at 31 or more;
And when detecting that charging unit is disconnected with the mobile terminal, send out prompt messages.
7. device according to claim 6, which is characterized in that the current regulation unit includes:
Grade determination subelement, for according to the running state information, determining the target power consumption grade of the mobile terminal, In, CPU usage, number of processes, the amplitude of operating current and/or memory that the running state information includes mobile terminal make With rate;
Amplitude determination subelement for the mapping relations according to preset level of power consumption and current amplitude, determines and the target Target current amplitude corresponding to level of power consumption;
The amplitude of the charging current is adjusted to the target current amplitude by amplitude regulator unit for adjusting.
8. the device described according to claim 6 or 7, which is characterized in that described device further includes:Time judging unit, is used for Judge whether the time of the mobile terminal trickle charge reaches preset first time threshold value;
Charge stop unit, charges for the judging result of the time judging unit when being, to stop to the mobile terminal.
9. device according to claim 8, which is characterized in that the terminal charge unit is additionally operable to:
The charging stop unit stops after charging to the mobile terminal, detects that the time span for stopping charging reaching pre- If the second time threshold when, again to the mobile terminal charge.
10. device according to claim 8, which is characterized in that the terminal charge unit is additionally operable to:The charging stops Unit stops after charging to the mobile terminal, detects the remaining capacity of the mobile terminal less than or equal to preset During power threshold, charge again to the mobile terminal.
CN201510559096.XA 2015-09-02 2015-09-02 A kind of charging method and device Active CN105262155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510559096.XA CN105262155B (en) 2015-09-02 2015-09-02 A kind of charging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510559096.XA CN105262155B (en) 2015-09-02 2015-09-02 A kind of charging method and device

Publications (2)

Publication Number Publication Date
CN105262155A CN105262155A (en) 2016-01-20
CN105262155B true CN105262155B (en) 2018-07-06

Family

ID=55101709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510559096.XA Active CN105262155B (en) 2015-09-02 2015-09-02 A kind of charging method and device

Country Status (1)

Country Link
CN (1) CN105262155B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105896657B (en) * 2016-04-25 2018-07-31 珠海爱康美智能电器科技有限公司 A kind of method and mobile terminal of mobile terminal charging
CN106451612B (en) * 2016-09-21 2020-05-12 奇酷互联网络科技(深圳)有限公司 Charging method and charging device
CN106450533A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method, charging device and terminal equipment
CN106451618A (en) * 2016-09-29 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Charging current adjusting method, charging current adjusting device and charging equipment
CN106410297B (en) * 2016-09-30 2019-06-21 华勤通讯技术有限公司 Charging method and electronic equipment
CN107077181A (en) * 2016-10-18 2017-08-18 深圳达闼科技控股有限公司 A kind of charging current limiter method, device and electronic equipment
CN106412337B (en) * 2016-11-21 2021-05-18 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting heating condition of mobile terminal and terminal
CN106712192A (en) * 2017-01-11 2017-05-24 上海传英信息技术有限公司 Charging method for mobile terminal
CN106921197A (en) * 2017-04-14 2017-07-04 深圳市金立通信设备有限公司 A kind of charging method and terminal
CN107681718A (en) * 2017-09-29 2018-02-09 惠州Tcl移动通信有限公司 Charging current control method, terminal and computer-readable recording medium
CN108429309A (en) * 2018-03-13 2018-08-21 奇酷互联网络科技(深圳)有限公司 Charge control method, device, terminal and readable storage medium storing program for executing
CN113451671A (en) * 2019-02-01 2021-09-28 神讯电脑(昆山)有限公司 Charging method of standby battery module and electronic device
CN109902875B (en) * 2019-03-01 2021-06-15 联想(北京)有限公司 Information processing method and information processing device
CN113009999A (en) * 2019-12-20 2021-06-22 华为技术有限公司 Power adjustment method and device for processor
CN111404228B (en) * 2020-03-31 2022-05-20 Oppo广东移动通信有限公司 Terminal battery charging method and device, terminal battery charging equipment and storage medium
CN112821508B (en) * 2021-02-04 2024-04-23 北京小米移动软件有限公司 Charging method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801199A (en) * 2012-09-03 2012-11-28 东莞宇龙通信科技有限公司 Terminal and terminal charging method
EP2894758A1 (en) * 2014-01-09 2015-07-15 Xiaomi Inc. Power supply, power supply charging circuit, power supply charging method and terminal device
CN104810890A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Charging control method and device
CN104810870A (en) * 2014-01-24 2015-07-29 宇龙计算机通信科技(深圳)有限公司 Charging prompting device and charging prompting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801199A (en) * 2012-09-03 2012-11-28 东莞宇龙通信科技有限公司 Terminal and terminal charging method
EP2894758A1 (en) * 2014-01-09 2015-07-15 Xiaomi Inc. Power supply, power supply charging circuit, power supply charging method and terminal device
CN104810870A (en) * 2014-01-24 2015-07-29 宇龙计算机通信科技(深圳)有限公司 Charging prompting device and charging prompting method
CN104810890A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Charging control method and device

Also Published As

Publication number Publication date
CN105262155A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105262155B (en) A kind of charging method and device
CN101465449B (en) Battery pack, portable device, internal short detecting method, and internal short detecting program
CN104242397B (en) More Quick charge circuit for battery and its charging method
EP2898584B1 (en) Method and apparatus for improving cycle life capacity of a battery pack
CN104124728A (en) Electric storage device protection apparatus, electric storage apparatus, and method of protecting electric storage device
CN105896657B (en) A kind of method and mobile terminal of mobile terminal charging
CN104008022A (en) Adjusting operation of an electronic device in response to a sudden-power-off (SPO) event
CN108777331B (en) Charging control method and device for lithium ion battery in electronic equipment
CN110364775A (en) Charge control method, battery charge controller and the terminal of battery
JP6041040B2 (en) Storage battery, storage battery control method, control device, and control method
CN106785134A (en) The method for charging batteries and device of terminal device
CN112858938B (en) Electric quantity calculation method and device, storage medium and electronic equipment
CN105449758B (en) A kind of charging current adjusting method and mobile terminal
CN102904219B (en) Lithium battery charging and discharging protective circuit
CN106501734A (en) The voltage acquisition fault handling method of battery management system and device
CN109148986B (en) Charging method and device
CN105699909A (en) Battery power management method for power consumption information acquisition terminal
CN107706993A (en) Charge control method, device and electronic equipment
CN116707082A (en) Lithium battery discharge control method, system, terminal and storage medium
CN101931109B (en) Battery charging method
CN206628827U (en) Intelligent power supply system
CN103872397B (en) The method and electronic equipment of a kind of charging
CN108336771A (en) The guard method and device of charging circuit, charge protector and mobile terminal
CN112448429B (en) Control method, terminal and computer storage medium
CN203377654U (en) Lithium ion battery protection chip

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder