CN108347068A - A kind of method and mobile terminal of charging - Google Patents
A kind of method and mobile terminal of charging Download PDFInfo
- Publication number
- CN108347068A CN108347068A CN201710056812.1A CN201710056812A CN108347068A CN 108347068 A CN108347068 A CN 108347068A CN 201710056812 A CN201710056812 A CN 201710056812A CN 108347068 A CN108347068 A CN 108347068A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- charging equipment
- charging
- charge
- charge mode
- 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.)
- Granted
Links
- 238000007600 charging Methods 0.000 title claims abstract description 337
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000004891 communication Methods 0.000 claims abstract description 55
- 230000008569 process Effects 0.000 claims description 31
- 230000002547 anomalous effect Effects 0.000 claims description 20
- 238000001514 detection method Methods 0.000 claims description 5
- 230000005611 electricity Effects 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 claims description 2
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 abstract description 17
- 229910052744 lithium Inorganic materials 0.000 abstract description 17
- 230000015654 memory Effects 0.000 description 33
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 5
- 101000577063 Arabidopsis thaliana Mannose-6-phosphate isomerase 1 Proteins 0.000 description 3
- 101001094831 Homo sapiens Phosphomannomutase 2 Proteins 0.000 description 3
- 102100025022 Mannose-6-phosphate isomerase Human genes 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 101100236764 Caenorhabditis elegans mcu-1 gene Proteins 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 101000577065 Arabidopsis thaliana Mannose-6-phosphate isomerase 2 Proteins 0.000 description 1
- QLBALZYOTXGTDQ-VFFCLECNSA-N PGI2-EA Chemical compound O1\C(=C/CCCC(=O)NCCO)C[C@@H]2[C@@H](/C=C/[C@@H](O)CCCCC)[C@H](O)C[C@@H]21 QLBALZYOTXGTDQ-VFFCLECNSA-N 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005121 nitriding Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00036—Charger exchanging data with battery
-
- H02J7/0027—
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00045—Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B40/00—Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers
Abstract
An embodiment of the present invention provides a kind of method of charging and mobile terminal, the method for charging includes:When detecting that mobile terminal is connect with charging equipment, which identifies the type of charging equipment;When the type of charging equipment is preset kind, communication connection signal is sent to charging equipment;Establish communicate to connect after, acquisition for mobile terminal its own battery voltage value and determine charge mode according to the voltage value;The corresponding charge information of the charge mode determined is sent to charging equipment; charging equipment adjusts output current value according to charge information; to charge to mobile terminal; using the embodiment of the present invention; corresponding charge mode can be selected according to the battery voltage value of mobile terminal; and the corresponding charge information of charge mode is sent to charging equipment; charging equipment can adjust the current value of output according to charge information; to charge to mobile terminal; effective protection lithium battery, while charging scheme can be optimized and save the charging time.
Description
Technical field
The present invention relates to fields of communication technology, more particularly, to the method and mobile terminal of a kind of charging.
Background technology
With the development of electronic technology and the communication technology, Mobile Communication Industry is quickly grown, and mobile terminal has become people
Routine work, life necessary article.
Due to gradually becoming strong for intelligent mobile terminal function, the cruising ability deficiency of battery has become intelligent mobile terminal
Pain spot in function, for this purpose, rapid nitriding has now been developed, such as low pressure quick charge, high-voltage high-speed charging, high current
Directly fill.Lithium battery has many advantages, such as energy density height, memory-less effect, is widely used in every field.But due to lithium
Some characteristics of battery limit, and so that user is required when charging to the mobile terminal with lithium battery stringenter, especially
It is control of the lithium battery to charging voltage and charging current in charging process.Lithium battery is in charging process, using different
Voltage or electric current, which carry out charging, to extend service life of lithium battery with effective protection lithium battery.On the other hand, charging side can be optimized
Case saves the charging time.
And at present in charging technique, charging equipment is exported using constant pressure and flow, can not effective protection lithium battery,
It can not achieve the optimization of charging scheme and save the charging time.
Invention content
The embodiment of the present invention proposes a kind of method and mobile terminal of charging, to solve in current charging technique, charging
Equipment is exported using constant pressure and flow, is unable to effective protection lithium battery and be can not achieve the optimization of charging scheme and saving is filled
The problem of electric time.
In a first aspect, an embodiment of the present invention provides a kind of method of charging, it is applied to mobile terminal, the method packet
It includes:
When detect connect with charging equipment when, identify the type of the charging equipment;
When the type of the charging equipment is preset kind, communication connection signal is sent to the charging equipment;
After establishing the communication connection, the battery voltage value of the mobile terminal is obtained;
Determine that charge mode, the charge mode have corresponding charge information according to the battery voltage value;
The charge information is sent to the charging equipment, the charging equipment is adjusted according to the charge information and exported
Current value, to charge to the mobile terminal.
Second aspect provides a kind of mobile terminal, including:
Charging equipment type identification module, for when detect connect with charging equipment when, identify the charging equipment
Type;
Signal transmitting module is communicated to connect, is used for when the type of the charging equipment is preset kind, to the charging
Equipment sends communication connection signal;
Voltage acquisition module obtains the battery voltage value of the mobile terminal after establishing the communication connection;
Charge mode determining module, for determining that charge mode, the charge mode have according to the battery voltage value
Corresponding charge information;
Charge information sending module, for the charge information to be sent to the charging equipment, the charging equipment according to
Output current value is adjusted according to the charge information, to charge to the mobile terminal.
In the embodiment of the present invention, when detect connect with charging equipment when, identify the type of charging equipment, work as charging equipment
Type be preset kind when, to charging equipment send communication connection signal, communication connection be successfully established after, obtain mobile terminal
Cell voltage and determine charge mode according to voltage, the corresponding charge information of charge mode is sent to charging equipment, charge
Equipment charges to mobile terminal according to charge information adjustment output current, can be according to battery using the embodiment of the present invention
Voltage selects corresponding charge mode, and the corresponding charge information of charge mode is sent to charging equipment, and charging equipment can be with
Output current is adjusted according to charge information to charge to mobile terminal, effective protection lithium battery, while can optimize charging
Scheme and saving charging time.
Description of the drawings
Fig. 1 is a kind of step flow chart of the method for charging of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of the method for charging of the embodiment of the present invention two;
Fig. 3 is a kind of circuit diagram of charging method of the embodiment of the present invention two;
Fig. 4 is a kind of exemplary step flow chart of charging method of the embodiment of the present invention two;
Fig. 5 a are a kind of one of the structure diagrams of mobile terminal of the embodiment of the present invention three;
Fig. 5 b are the two of the structure diagram of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 5 c are the three of the structure diagram of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 6 is a kind of structure diagram of mobile terminal of the embodiment of the present invention four;
Fig. 7 is a kind of structural schematic diagram of mobile terminal of the embodiment of the present invention five.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
Embodiment one
Fig. 1 is a kind of step flow chart of the method for charging of the embodiment of the present invention one.
Shown in referring to Fig.1, a kind of method of charging of the embodiment of the present invention is applied to mobile terminal, and this method includes:
Step 101, when detect connect with charging equipment when, identify the type of the charging equipment.
In the embodiment of the present invention, mobile terminal and charging equipment can pass through the interfaces phase such as USB2.0, USB3.0, TYPE C
Even, charging equipment supports USB BC1.2 agreements, i.e. D+, D- pin short circuit connection of USB interface, output voltage current specification silent
Think 5V/2A.Mobile terminal can by D+, D- pin identify charging equipment type, such as detection charging equipment whether be
Standard charging equipment can specifically detect the whether short-circuit connection of D+, D- pin of charging equipment USB interface, if it is say
The bright charging equipment is the charging equipment of standard, e.g. the original-pack charging equipment of mobile terminal configuration.
D+, D- pin of certain charging equipment USB interface can also be to disconnect, i.e., are not short-circuit, mobile terminal can be with
By detecting the voltage value of D+, D- pin of charging equipment USB interface, in built-in voltage value pass corresponding with charger type
It is searched in system and obtains the type of charging equipment.
Step 102, when the type of the charging equipment is preset kind, communication connection letter is sent to the charging equipment
Number.
The embodiment of the present invention needs to establish to realize that mobile terminal can transmit the information such as cell voltage to charging equipment
Communication connection specifically can be established by D+, D- pin of mobile terminal and charging equipment and be communicated to connect.
Step 103, after establishing the communication connection, the battery voltage value of the mobile terminal is obtained.
After mobile terminal and charging equipment communication connection are successfully established, mobile terminal can obtain the voltage value of its battery.
In the embodiment of the present invention, voltameter is set in mobile terminal, can measure and report the information of voltage of battery by the voltameter,
Such as the voltage value before being measured by voltameter and battery being reported to charge, the voltage value etc. in charging.At the same time it can also set
Determine a cycle, battery voltage value is obtained within the period;Such as the voltage value every 5 minutes acquisition batteries.
Step 104, determine that charge mode, the charge mode are believed with corresponding charging according to the battery voltage value
Breath.
In practical applications, battery can charge stage by stage in charging process, be charged with protecting battery and improving
Efficiency.In embodiments of the present invention, different charge modes, different charge modes have in the battery different charging stage
Different charge informations.The charge information is the specific can be that charging current value, for example, charge mode may include trickle charge
Pattern, fast charge mode, constant-voltage charge pattern etc..It, can be according to cell voltage after voltameter reports battery voltage information
Value determines charge mode.
Step 105, the charge information is sent to the charging equipment, the charging equipment is according to the charge information
Output current value is adjusted, to charge to the mobile terminal.
After determining charge mode according to cell voltage, the charge information of the charge mode can be sent to charging and set
It is standby.For example, the communication connection path that charge information is established by D+, D- pin is sent to charging equipment, charging equipment according to
The charge information adjusts output current value, to charge to mobile terminal.
In the embodiment of the present invention, when detecting that mobile terminal is connect with charging equipment, mobile terminal identification charging is set
Standby type;When the type of charging equipment is preset kind, communication connection signal is sent to charging equipment;Establishing communication link
After connecing, acquisition for mobile terminal its own battery voltage value and determine charge mode according to the voltage value;It is filled what this was determined
The corresponding charge information of power mode is sent to charging equipment, and charging equipment adjusts output current value according to charge information, with to moving
Dynamic terminal charges.This method is applied to the embodiment of the present invention, can select phase according to the battery voltage value of mobile terminal
The charge mode answered, and the corresponding charge information of charge mode is sent to charging equipment, charging equipment can be believed according to charging
The current value of breath adjustment output, to charging to mobile terminal, effective protection lithium battery, while charging side can be optimized
Case and saving charging time.
Embodiment two
Fig. 2 is a kind of step flow chart of the method for charging of the embodiment of the present invention two.
With reference to shown in Fig. 2, a kind of method of charging of the embodiment of the present invention is applied to mobile terminal, and this method includes:
Step 201, when detect connect with charging equipment when, identify the type of the charging equipment.
In the embodiment of the present invention, mobile terminal and charging equipment can pass through the interfaces phase such as USB2.0, USB3.0, TYPE C
Even, charging equipment supports USB BC1.2 agreements, i.e. D+, D- pin short circuit connection of USB interface, output voltage current specification silent
Think 5V/2A.Mobile terminal can identify the type of charging equipment by D+, D- pin, specifically, may include following sub-step
Suddenly:
Sub-step 2011 detects the voltage value of D+, D- pin of the charging equipment USB interface;
Sub-step 2012 identifies the type of the charging equipment according to the voltage value.
In practical applications, the D+ pins of mobile terminal USB interface can be given to apply predeterminated voltage, such as can is 0.6V
Voltage illustrate this if the D- pins for the charging equipment USB interface being connected with mobile terminal are able to detect that the voltage of 0.6V
Charging equipment is standard charging equipment, e.g. the charging equipment of mobile terminal special configuration, can use the charging equipment into
The a variety of electric current chargings of row.
It is of course also possible to store D+, D- pin voltage value and charging equipment of charging equipment USB interface in the terminal
The correspondence of type can obtain corresponding charging equipment type when detecting corresponding voltage value.
Step 202, when the type of the charging equipment is preset kind, communication connection letter is sent to the charging equipment
Number.
The embodiment of the present invention needs to build to realize that mobile terminal can transmit the information such as battery voltage value to charging equipment
Vertical communication connection, and the mobile terminal has control chip.It may include specifically following sub-step:
Sub-step 2021 establishes the connection of D+, D- pin and the control chip of the mobile terminal USB interface.
In the terminal, D+, D- pin of USB interface are disconnected with control chip acquiescence.USB interface is opened
Pass is the system connected to mobile terminal, when system detectio to D+, the D- for the charging equipment USB interface being connect with mobile terminal
When pin is short circuit connection, communication connection signal is sent to charging equipment by controlling chip, at this point it is possible to pass through mobile terminal
The switch of USB interface establishes the connection of D+, D- pin and control chip of USB interface.
Sub-step 2022, is based on the connection, and the mobile terminal sends communication connection signal, institute to the charging equipment
State the short circuit connection of D+, D- pin of the charging equipment for disconnecting its USB interface according to the communication connection signal.
After D+, D- pin of mobile terminal USB interface are connect with control chip, control chip is sent by D+, D- pin
Signal is communicated to connect, communication connection signal can be predefined signal, such as can be D+ the D- pins to USB interface
Apply preset voltage;Charging equipment detects the voltage value of the D+ or D- pins of its USB interface, is preset voltage when detecting
When value, charging equipment disconnects the short circuit connection of D+, D- pin of its USB interface, in this way, between mobile terminal and charging equipment just
It can be connected and be communicated by D+, D- pin.
Step 203, after establishing the communication connection, the battery voltage value of the mobile terminal is obtained.
After mobile terminal and charging equipment communication connection are successfully established, mobile terminal can obtain the cell voltage of its own
Value.In the embodiment of the present invention, in mobile terminal be equipped with voltameter, the voltameter can measure and to report mobile terminal battery electricity
Press information.
Step 204, determine that charge mode, the charge mode are believed with corresponding charging according to the battery voltage value
Breath.
Due to the characteristic of lithium battery, its internal driving can be very big when just starting to charge up, therefore charger can be first with a small electric
Stream charges the battery, i.e. trickle charge pattern, and cell voltage persistently rises at this time;When cell voltage rises to certain value
When, internal driving becomes smaller, and charging environment is preferable, and in order to save the charging time, charging equipment can be with maximum charging current pair
Battery carries out constant current quick charge, i.e. fast charge mode, and cell voltage persistently rises at this time, when cell voltage rise to it is close
When saturation point voltage, charger changes to be charged the battery with constant-voltage charge pattern, and charging current is begun to decline at this time.Therefore,
Battery can charge in charging process to protect battery and improve charge efficiency stage by stage, wherein the different stages has
Different charge modes can determine charge mode by following sub-step:
Sub-step 2041, the mobile terminal are preset with first threshold, second threshold, and the first threshold is less than the second threshold
Value, in charging process, the battery voltage value and first threshold, second threshold are compared.
In the embodiment of the present invention, charge mode may include trickle charge pattern, fast charge mode, constant-voltage charge mould
Formula.In practical applications, different charge modes therefore can be according to mobile terminal suitable for different battery voltage values
Battery voltage value selects different charge modes.Specifically, first threshold, the second threshold can be pre-set in the terminal
Value, the wherein first threshold are less than second threshold;By the real-time battery voltage value of mobile terminal and the first threshold, second threshold
It is compared, to select different charge modes.
Sub-step 2042 determines that charge mode is trickle charge pattern when the battery voltage value is less than first threshold;
When the battery voltage value, which is more than first threshold, is less than second threshold, determine that charge mode is fast charge mode;When described
When battery voltage value is more than second threshold, determine that charge mode is constant-voltage charge pattern.
Wherein, above-mentioned first threshold is less than second threshold, when battery voltage value is less than first threshold, determines charge mode
For trickle charge pattern;When battery voltage value, which is more than first threshold, is less than second threshold, determine that charge mode is quick charge
Pattern;When battery voltage value is more than second threshold, determines that charge mode is constant-voltage charge pattern, said below with example
It is bright.
In a particular application, can preliminary filling first be carried out to the battery to discharge completely with trickle charge pattern, may be set in
Battery voltage value uses trickle charge pattern when being less than first threshold (can be 3V), and trickle-charge current is fast charge mode
Electric current 1/10th, with the charging current of fast charge mode be 1A illustrate, then the charging current of trickle charge pattern is
100mA.When battery voltage value rises above first threshold (can be 3V), improves charging current progress constant current and quickly fill
Electricity enters fast charge mode.Battery voltage value is stepped up with constant-current charge process, when battery voltage value rises to greatly
When second threshold (can be 4.2V), fast charge mode terminates, and starts constant-voltage charge pattern.Electric current is according to battery battery core
Degree of saturation, with the continuation of charging process, charging current is gradually reduced by maximum value.
From the foregoing, it will be observed that battery of mobile terminal, in charging process, the voltage value of battery is a variate, can be periodical
The voltage that battery is reported by voltameter, so that it is determined that the charge mode of different cell voltages.
The above numerical value is only to illustrate, and concrete numerical value can be set according to the parameter of battery, and the present invention is real
It is without limitation to apply example.
In one preferred embodiment of the invention, charge mode further includes conventional charge mode, in quick charge
Conventional charge mode is converted to from fast charge mode when pattern occurs abnormal, can specifically be realized by following steps:
First, the charging feature information of the mobile terminal is detected.
In the embodiment of the present invention, charging feature information may include the information such as battery voltage value, charging current value, temperature,
Mobile terminal can detect the voltage value and charging current value of battery by voltameter, pass through temperature sensor or thermistor
Detect the temperature of battery.
Secondly, determine whether the mobile terminal anomalous event occurs according to the charging feature information.
In the terminal, fast charge mode can reach 3A because charging current is usually bigger.Therefore, fast
The fast charge mode stage for the safety that charges, can set the security parameter of battery, such as setting voltage security threshold value, electric current peace
Full threshold value, temperature safety threshold value etc..When one or more in the voltage value, charging current value, temperature detected is more than peace
When full threshold value, determine that anomalous event occurs in battery of mobile terminal.
Finally, when anomalous event occurs in determination, the charge mode is converted into normal charge from fast charge mode
Pattern.
When there is anomalous event, need to reduce charging current, such as fast charge mode is converted to normal charge mould
Formula, the usual very little of conventional charge mode charging current, can reduce charging temperature.
Step 205, the charge information is sent to the charging equipment, the charging equipment is according to the charge information
The current value for adjusting output, to charge to the mobile terminal.
It, can be by the charge information of the charge mode (such as charging electricity after determining charge mode according to battery voltage value
Flow valuve) connection established by D+, D- pin is sent to charging equipment, the current value of charging equipment adjustment output, with to movement
Terminal charges.
Specifically, the voltage value and charging current of D+, D- pin can respectively be preset in mobile terminal and charging equipment
The correspondence of value.After mobile terminal determines charge mode, D+, D- pin can be given to apply corresponding voltage, charging equipment
After detecting the voltage value, corresponding charging current information is obtained from preset correspondence, and then adjust the electric current of output
Value, charges for the mobile terminal.
Step 206, the mobile terminal is additionally provided with third threshold value, when the output current value is less than third threshold value, institute
State charging of the charging equipment stopping to the battery of the mobile terminal.
When the battery voltage value of mobile terminal rises to second threshold, fast charge mode terminates, and starts constant-voltage charge
Pattern.With the process of charging process, charging current is slowly reduced according to the degree of saturation of battery battery core by maximum value.Work as output
When current value is reduced to third threshold value (such as third threshold value is 0.01C), stop charging to battery.C is with battery nominal capacity
A kind of representation method of electric current is compareed, if battery is the capacity of 1000mAh, 1C is exactly charging current 1000mA.
In the embodiment of the present invention, when detecting that mobile terminal is connect with charging equipment, the type of charging equipment is identified;When
When the type of charging equipment is preset kind, communication connection signal is sent to charging equipment;After establishing communication connection, movement is obtained
The battery voltage value of terminal simultaneously determines charge mode according to the voltage value;The corresponding charge information of charge mode is sent to charging
Equipment, current value of the charging equipment according to charge information adjustment output, to charge to mobile terminal.Applied to of the invention real
Apply example, mobile terminal can select corresponding charge mode according to battery voltage value, and by the corresponding charge information of charge mode
It is sent to charging equipment, charging equipment can adjust the current value of output to charge to mobile terminal according to charge information,
Effective protection lithium battery, while charging scheme can be optimized and save the charging time.
Further, in carrying out charging process using fast charge mode, mobile terminal detects its charging feature in real time
Charge mode is quickly converted to conventional charge mode by information when there is anomalous event according to the determination of charging feature information, is protected
The safety of charging process is demonstrate,proved.
Further, when the output current of the charging equipment is less than third threshold value, stop to the mobile terminal
Battery charges, and avoids and overcharges to battery.
To make those skilled in the art be easier to understand the present invention, illustrated below in conjunction with example.
It is illustrated in figure 3 the charging circuit schematic diagram of the embodiment of the present invention.
With reference to Fig. 3, charging equipment 1 connects mobile terminal 3, D+, D- pin of charging equipment USB interface by charging wire 2
Acquiescence short circuit connection, mobile terminal USB switch 4 default connection AP0 and PMI1, with reference to shown in Fig. 4, charging principle includes:
Step 301, D+, D- module of PMI1 and charging equipment carry out BC1.2 detections, identify the type of charging equipment, directly
Way switch 5 remains off all;
Step 302, after PMI1 detects that charging equipment type is preset charged equipment, USB switches 4 are switched to connection
MCU0 accesses;
Step 303, MCU0 transmits communication connection signal, D+, D- pin of charging equipment USB interface on D+, D- pin
After detecting the communication connection signal, the MCU1 at charging equipment end disconnects the short circuit connection of D+, D- pin of its USB interface, fills
The MCU1 of electric equipment is connected to the MCU0 of mobile terminal;
Step 304, the voltameter 8 of mobile terminal reports 7 voltage of battery, the ends AP2 that voltage is transmitted to MCU0.
Step 305, MCU0 determines charge mode according to cell voltage, when cell voltage is less than first threshold, passes through
VBus accesses carry out trickle charge pattern charging to battery, and when cell voltage is more than first threshold, MCU0 controls switch 5 and connects
Fast charge mode access;When cell voltage is more than second threshold, switch 5 closes fast charge mode access, passes through VBus
Access carries out constant-voltage charge pattern charging to battery.
Step 306, the corresponding charge information of charge mode is sent to charging equipment, request charging by D+, D- pin
Equipment adjusts output current.
Step 307, in fast charge mode charging process, when there is anomalous event, 5 are turned off the switch, charging path
VBus charging paths are switched to, conventional charge mode charging is carried out.
Step 308, under constant-voltage charge pattern, when charging current is down to third threshold value, stop charging the battery.
In the above process, the charge mode switching and stopping charging of VBus charging paths are controlled by PMI2 and are completed, by upper
Step is stated, can complete to determine charge mode according to cell voltage, asks charging equipment to adjust output current according to charge mode
It charges, effective protection battery and optimization charging scheme save the charging time.
Embodiment three
Fig. 5 a are a kind of structure diagrams of mobile terminal of the embodiment of the present invention three.
With reference to shown in Fig. 5 a, a kind of mobile terminal 400 provided in an embodiment of the present invention includes:
Charging equipment type identification module 401, for for when detect connect with charging equipment when, identify the charging
The type of equipment;
Signal transmitting module 402 is communicated to connect, for when the type of the charging equipment is preset kind, being filled to described
Electric equipment sends communication connection signal;
Voltage acquisition module 403 obtains the battery voltage value of the mobile terminal after establishing the communication connection;
Charge mode determining module 404, for determining charge mode, the charge mode tool according to the battery voltage value
There is corresponding charge information;
Charge information sending module 405, for the charge information to be sent to the charging equipment, the charging equipment
Output current value is adjusted according to the charge information, to charge to the mobile terminal.
With reference to shown in Fig. 5 b, in another kind mobile terminal 400 provided in an embodiment of the present invention, charging equipment type identification mould
Block 401 includes:
Voltage detecting submodule 4011, the voltage value of D+, D- pin for detecting the charging equipment USB interface;
Identify submodule 4012, the type for identifying the charging equipment according to the voltage value.
Communicating to connect signal transmitting module 402 includes:
Setting up submodule 4021 is connected, D+, D- pin for establishing the mobile terminal USB interface and the control core
The connection of piece;
Signal sending submodule 4022 is communicated to connect, for being based on the connection, communication link is sent to the charging equipment
Signal is connect, the short circuit for D+, D- pin that the charging equipment is used to disconnect its USB interface according to the communication connection signal connects
It connects.
Charge mode determining module 404 includes:
Voltage comparison sub-module 4041 is used in charging process, by the battery voltage value and first threshold, the second threshold
Value is compared;
First determination sub-module 4042, for when the battery voltage value is less than first threshold, determining that charge mode is
Trickle charge pattern;
Second determination sub-module 4043 is used for when the battery voltage value is more than first threshold and is less than second threshold, really
It is fast charge mode to determine charge mode;
Third determination sub-module 4044, for when the battery voltage value is more than second threshold, determining that charge mode is
Constant-voltage charge pattern.
With reference to shown in Fig. 5 c, in another kind mobile terminal 400 provided in an embodiment of the present invention, further include:
Charge information detection module 406, it is described mobile whole for when the charge mode is fast charge mode, detecting
The charging feature information at end;
Anomalous event determining module 407, for determining whether the mobile terminal occurs according to the charging feature information
Anomalous event;
Charging module conversion module 408, for when determine there is anomalous event when, by the charge mode from quick charge
Pattern is converted to conventional charge mode.
Mobile terminal can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 4, to avoid weight
Multiple, which is not described herein again.
In the embodiment of the present invention, when detecting that mobile terminal is connect with charging equipment, mobile terminal identification charging is set
Standby type;When the type of charging equipment is preset kind, communication connection signal is sent to charging equipment;Establishing communication link
After connecing, acquisition for mobile terminal its own battery voltage value and determine charge mode according to the voltage value;It is filled what this was determined
The corresponding charge information of power mode is sent to charging equipment, and charging equipment adjusts output current value according to charge information, with to moving
Dynamic terminal charges.This method is applied to the embodiment of the present invention, can select phase according to the battery voltage value of mobile terminal
The charge mode answered, and the corresponding charge information of charge mode is sent to charging equipment, charging equipment can be believed according to charging
The current value of breath adjustment output, to charging to mobile terminal, effective protection lithium battery, while charging side can be optimized
Case and saving charging time.
Further, in carrying out charging process using fast charge mode, the charging feature information of mobile terminal is detected,
When there is anomalous event according to the determination of charging feature information, fast charge mode is converted into conventional charge mode, ensure that and fill
The safety of electric process.
Further, when the output current is less than third threshold value, stop the charging to the battery of the mobile terminal,
It avoids and overcharges to battery.
Example IV
Fig. 6 is a kind of structure diagram for mobile terminal that the embodiment of the present invention four provides, mobile terminal 1000 shown in fig. 6
Including:At least one processor 1001, memory 1002,1004, voltameters 1006 of at least one network interface and other
User interface 1003.Various components in mobile terminal 1000 are coupled by bus system 1005.It is understood that total linear system
System 1005 is for realizing the connection communication between these components.Bus system 1005 further includes electricity in addition to including data/address bus
Source bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as always in figure 6
Linear system system 1005.
Wherein, user interface 1003 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1002 in the embodiment of the present invention can be volatile memory or non-volatile memories
Both device, or may include volatile and non-volatile memory.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 1002 be intended to include but
It is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1002 stores following element, executable modules or data structures, or
Their subset of person or their superset:Operating system 10021 and application program 10022.
Wherein, operating system 10021, including various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 10022, including various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 10022.
In embodiments of the present invention, by the program for calling memory 1002 to store or instruction, specifically, can be application
The program stored in program 10022 or instruction, processor 1001 be used for when detect connect with charging equipment when, fill described in identification
The type of electric equipment;When the type of the charging equipment is preset kind, communication connection signal is sent to the charging equipment;
After establishing the communication connection, the battery voltage value of the mobile terminal is obtained;Charging mould is determined according to the battery voltage value
Formula, the charge mode have corresponding charge information;The charge information is sent to the charging equipment, the charging is set
It is standby to adjust output current value according to the charge information, to charge to the mobile terminal.
The method that the embodiments of the present invention disclose can be applied in processor 1001, or real by processor 1001
It is existing.Processor 1001 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1001 or software form.Above-mentioned
Processor 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), special
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1002, processor 1001 reads the information in memory 1002, the above method is completed in conjunction with its hardware.
Voltameter 1006 sends cell voltage to processor 1001, processor 1001 for obtaining cell voltage
Charge mode is determined according to cell voltage.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit may be implemented in one or more application-specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
It manages in device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Preferably, processor 1001 is additionally operable to:Detect the voltage value of D+, D- pin of the charging equipment USB interface;Root
The type of the charging equipment is identified according to the voltage value.
Preferably, there is mobile terminal control chip, processor 1001 to be additionally operable to:Establish the mobile terminal USB interface
D+, D- pin with it is described control chip connection;Based on the connection, communication connection signal is sent to the charging equipment,
The charging equipment is used to disconnect the short circuit connection of D+, D- pin of its USB interface according to the communication connection signal.
Preferably, mobile terminal is preset with first threshold, second threshold, and the first threshold is less than second threshold, processing
Device 1001 is additionally operable to:In charging process, the battery voltage value and first threshold, second threshold are compared;When described
When battery voltage value is less than first threshold, determine that charge mode is trickle charge pattern;When the battery voltage value is more than first
When threshold value is less than second threshold, determine that charge mode is fast charge mode;When the battery voltage value is more than second threshold,
Determine that charge mode is constant-voltage charge pattern.
Preferably, processor 1001 is additionally operable to:When the charge mode is fast charge mode, detect described mobile whole
The charging feature information at end;Determine whether the mobile terminal anomalous event occurs according to the charging feature information;Work as determination
When there is anomalous event, the charge mode is converted into conventional charge mode from fast charge mode.
Preferably, mobile terminal is additionally provided with third threshold value, and processor 1001 is additionally operable to:When the output current value is less than the
When three threshold values, the charging equipment stops the charging to the battery of the mobile terminal.
Mobile terminal 1000 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 4, to keep away
Exempt to repeat, which is not described herein again.
The mobile terminal 1000 of the embodiment of the present invention, when detecting that mobile terminal is connect with charging equipment, identification charging
The type of equipment;When the type of charging equipment is preset kind, communication connection signal is sent to charging equipment;Establish communication link
After connecing, obtains the battery voltage value of mobile terminal and determine charge mode according to the voltage value;By the corresponding charging of charge mode
Information is sent to charging equipment, current value of the charging equipment according to charge information adjustment output, to charge to mobile terminal.
Applied to the embodiment of the present invention, mobile terminal can select corresponding charge mode according to battery voltage value, and by charge mode
Corresponding charge information is sent to charging equipment, and charging equipment can adjust the current value of output with to movement according to charge information
Terminal charges, effective protection lithium battery, while can optimize charging scheme and save the charging time.
Further, in carrying out charging process using fast charge mode, mobile terminal detects its charging feature in real time
Charge mode is quickly converted to conventional charge mode by information when there is anomalous event according to the determination of charging feature information, is protected
The safety of charging process is demonstrate,proved.
Further, when the output current of the charging equipment is less than third threshold value, stop to the mobile terminal
Battery charges, and avoids and overcharges to battery.
Embodiment five
Fig. 7 is a kind of structural schematic diagram for mobile terminal that the embodiment of the present invention five provides.Specifically, the movement in Fig. 7
Terminal 1100 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle
Carry computer etc..
Mobile terminal 1100 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 1101, memory 1102, defeated
Enter unit 1103, display unit 1104, voltameter 1105, processor 1106, voicefrequency circuit 1107, WiFi (Wireless
Fidelity) module 1108 and power supply 1109.
Wherein, input unit 1103 can be used for receiving number input by user or character information, and generate with movement eventually
The related signal input of user setting and function control at end 1100.Specifically, in the embodiment of the present invention, the input unit
1103 may include touch panel 11031.It is on it or neighbouring to collect user for touch panel 11031, also referred to as touch screen
Touch operation (for example user uses the operations of any suitable object or attachment on touch panel 11031 such as finger, stylus),
And corresponding attachment device is driven according to preset formula.Optionally, touch panel 11031 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect what touch operation was brought
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then the processor 1106 is given, and order that processor 1106 is sent can be received and executed.In addition, can
To realize touch panel 11031 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface
Plate 11031, input unit 1103 can also include other input equipments 11032, other input equipments 11032 may include but not
The one kind being limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
Or it is a variety of.
Wherein, display unit 1104 can be used for showing information input by user or be supplied to information and the movement of user
The various menu interfaces of terminal 1100.Display unit 1104 may include display panel 11041, optionally, LCD may be used or have
The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 11041.
It should be noted that touch panel 11031 can cover display panel 11041, touch display screen is formed, when the touch is shown
Screen, which detects, sends processor 1106 to determine the type of touch event on it or after neighbouring touch operation, then locate
Reason device 1106 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
Including the interface elements such as icon and/or widget desktop controls of at least one application program.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 1106 is the control centre of mobile terminal 1100, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or execute the software program and/or module that are stored in first memory 11021, and call
The data being stored in second memory 11022 execute the various functions and processing data of mobile terminal 1100, to movement
Terminal 1100 carries out integral monitoring.Optionally, processor 1106 may include one or more processing units.
Voltameter 1105 sends cell voltage to processor 1106, processor 1106 for obtaining cell voltage
Charge mode is determined according to cell voltage.
In embodiments of the present invention, the software program and/or module in the first memory 11021 are stored by calling
And/or the data in the second memory 11022, processor 1106 be used for when detect connect with charging equipment when, identification institute
State the type of charging equipment;When the type of the charging equipment is preset kind, sends and communicate to connect to the charging equipment
Signal;After establishing the communication connection, the battery voltage value of the mobile terminal is obtained;It is filled according to battery voltage value determination
Power mode, the charge mode have corresponding charge information;The charge information is sent to the charging equipment, it is described to fill
Electric equipment adjusts output current value according to the charge information, to charge to the mobile terminal.
Preferably, processor 1106 is additionally operable to:Detect the voltage value of D+, D- pin of the charging equipment USB interface;Root
The type of the charging equipment is identified according to the voltage value.
Preferably, there is mobile terminal control chip, processor 1106 to be additionally operable to:Establish the mobile terminal USB interface
D+, D- pin with it is described control chip connection;Based on the connection, communication connection signal is sent to the charging equipment,
The charging equipment is used to disconnect the short circuit connection of D+, D- pin of its USB interface according to the communication connection signal.
Preferably, mobile terminal is preset with first threshold, second threshold, and the first threshold is less than second threshold, processing
Device 1106 is additionally operable to:In charging process, the battery voltage value and first threshold, second threshold are compared;When described
When battery voltage value is less than first threshold, determine that charge mode is trickle charge pattern;When the battery voltage value is more than first
When threshold value is less than second threshold, determine that charge mode is fast charge mode;When the battery voltage value is more than second threshold,
Determine that charge mode is constant-voltage charge pattern.
Preferably, processor 1106 is additionally operable to:When the charge mode is fast charge mode, detect described mobile whole
The charging feature information at end;Determine whether the mobile terminal anomalous event occurs according to the charging feature information;Work as determination
When there is anomalous event, the charge mode is converted into conventional charge mode from fast charge mode.
Preferably, mobile terminal is additionally provided with third threshold value, and processor 1106 is additionally operable to:When the output current value is less than the
When three threshold values, the charging equipment stops the charging to the battery of the mobile terminal.
Mobile terminal 1100 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.
The mobile terminal 1100 of the embodiment of the present invention, when detecting that mobile terminal is connect with charging equipment, identification charging
The type of equipment;When the type of charging equipment is preset kind, communication connection signal is sent to charging equipment;Establish communication link
After connecing, obtains the battery voltage value of mobile terminal and determine charge mode according to the voltage value;By the corresponding charging of charge mode
Information is sent to charging equipment, current value of the charging equipment according to charge information adjustment output, to charge to mobile terminal.
Applied to the embodiment of the present invention, mobile terminal can select corresponding charge mode according to battery voltage value, and by charge mode
Corresponding charge information is sent to charging equipment, and charging equipment can adjust the current value of output with to movement according to charge information
Terminal charges, effective protection lithium battery, while can optimize charging scheme and save the charging time.
Further, in carrying out charging process using fast charge mode, mobile terminal detects its charging feature in real time
Charge mode is quickly converted to conventional charge mode by information when there is anomalous event according to the determination of charging feature information, is protected
The safety of charging process is demonstrate,proved.
Further, when the output current of the charging equipment is less than third threshold value, stop to the mobile terminal
Battery charges, and avoids and overcharges to battery.
Those of ordinary skill in the art may realize that the embodiment in conjunction with disclosed in the embodiment of the present invention describes each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling or direct-coupling or call connection can be by some interfaces, the INDIRECT COUPLING or call of device or unit connect
It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (12)
1. a kind of method of charging is applied to mobile terminal, which is characterized in that the method includes:
When detect connect with charging equipment when, identify the type of the charging equipment;
When the type of the charging equipment is preset kind, communication connection signal is sent to the charging equipment;
After establishing the communication connection, the battery voltage value of the mobile terminal is obtained;
Determine that charge mode, the charge mode have corresponding charge information according to the battery voltage value;
The charge information is sent to the charging equipment, the charging equipment adjusts output current according to the charge information
Value, to charge to the mobile terminal.
2. according to the method described in claim 1, it is characterized in that, the step of type of the identification charging equipment wrap
It includes:
Detect the voltage value of D+, D- pin of the charging equipment USB interface;
The type of the charging equipment is identified according to the voltage value.
3. according to the method described in claim 1, it is characterized in that, the mobile terminal have control chip, it is described to described
Charging equipment send communication connection signal the step of include:
Establish the connection of D+, D- pin and the control chip of the mobile terminal USB interface;
Based on the connection, communication connection signal is sent to the charging equipment, the charging equipment is used for according to the communication
Connection signal disconnects the short circuit connection of D+, D- pin of its USB interface.
4. according to the method described in claim 1, it is characterized in that, the mobile terminal is preset with first threshold, second threshold,
The first threshold is less than second threshold, and described the step of determining charge mode according to the battery voltage value includes:
In charging process, the battery voltage value and first threshold, second threshold are compared;
When the battery voltage value is less than first threshold, determine that charge mode is trickle charge pattern;
When the battery voltage value, which is more than first threshold, is less than second threshold, determine that charge mode is fast charge mode;
When the battery voltage value is more than second threshold, determine that charge mode is constant-voltage charge pattern.
5. according to the method described in claim 4, it is characterized in that, determining charge mode according to the cell voltage described
After step, further include:
When the charge mode is fast charge mode, the charging feature information of the mobile terminal is detected;
Determine whether the mobile terminal anomalous event occurs according to the charging feature information;
When anomalous event occurs in determination, the charge mode is converted into conventional charge mode from fast charge mode.
6. according to the method described in claim 1, it is characterized in that, the mobile terminal is additionally provided with third threshold value, the method
Further include:
When the output current value is less than third threshold value, the charging equipment stops filling to the battery of the mobile terminal
Electricity.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Charging equipment type identification module, for when detect connect with charging equipment when, identify the type of the charging equipment;
Signal transmitting module is communicated to connect, is used for when the type of the charging equipment is preset kind, to the charging equipment
Send communication connection signal;
Voltage acquisition module obtains the battery voltage value of the mobile terminal after establishing the communication connection;
Charge mode determining module, for determining charge mode according to the battery voltage value, the charge mode, which has, to be corresponded to
Charge information;
Charge information sending module, for the charge information to be sent to the charging equipment, the charging equipment is according to institute
Charge information adjustment output current value is stated, to charge to the mobile terminal.
8. mobile terminal according to claim 7, which is characterized in that the charging equipment type identification module includes:
Voltage detecting submodule, the voltage value of D+, D- pin for detecting the charging equipment USB interface;
Identify submodule, the type for identifying the charging equipment according to the voltage value.
9. mobile terminal according to claim 7, which is characterized in that the mobile terminal has control chip, described logical
Believe that connection signal sending module includes:
Setting up submodule is connected, the company of D+, D- pin and the control chip for establishing the mobile terminal USB interface
It connects;
Signal sending submodule is communicated to connect, for being based on the connection, communication connection signal, institute are sent to the charging equipment
State the short circuit connection of D+, D- pin of the charging equipment for disconnecting its USB interface according to the communication connection signal.
10. mobile terminal according to claim 7, which is characterized in that the mobile terminal is preset with first threshold, second
Threshold value, the first threshold are less than second threshold, and the charge mode determining module includes:
Voltage comparison sub-module, in charging process, the battery voltage value and first threshold, second threshold to be compared
Compared with;
First determination sub-module, for when the battery voltage value is less than first threshold, determining that charge mode is trickle charge
Pattern;
Second determination sub-module, for when the battery voltage value is more than first threshold and is less than second threshold, determining charging mould
Formula is fast charge mode;
Third determination sub-module, for when the battery voltage value is more than second threshold, determining that charge mode is constant-voltage charge
Pattern.
11. mobile terminal according to claim 10, which is characterized in that the mobile terminal further includes:
Charge information detection module, for when the charge mode is fast charge mode, detecting filling for the mobile terminal
Electrical feature information;
Anomalous event determining module, for determining whether the mobile terminal abnormal thing occurs according to the charging feature information
Part;
Charging module conversion module, for when anomalous event occurs in determination, the charge mode to be turned from fast charge mode
It is changed to conventional charge mode.
12. mobile terminal according to claim 7, which is characterized in that the mobile terminal is additionally provided with third threshold value, described
Mobile terminal further includes:
Charge stopping modular, for when the output current value is less than third threshold value, the charging equipment to stop to the shifting
The charging of the battery of dynamic terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710056812.1A CN108347068B (en) | 2017-01-25 | 2017-01-25 | A kind of method and mobile terminal of charging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710056812.1A CN108347068B (en) | 2017-01-25 | 2017-01-25 | A kind of method and mobile terminal of charging |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108347068A true CN108347068A (en) | 2018-07-31 |
CN108347068B CN108347068B (en) | 2019-10-15 |
Family
ID=62961863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710056812.1A Active CN108347068B (en) | 2017-01-25 | 2017-01-25 | A kind of method and mobile terminal of charging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108347068B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108988429A (en) * | 2018-08-06 | 2018-12-11 | 佛山市甜慕链客科技有限公司 | A method of it is orderly charged based on device type |
CN109286218A (en) * | 2018-11-13 | 2019-01-29 | Oppo(重庆)智能科技有限公司 | Charge mode switching method, charging circuit, electronic equipment and charging system |
CN109474035A (en) * | 2018-11-15 | 2019-03-15 | 湖南秒冲新能源科技有限责任公司 | Intelligent charging method, battery, charging system and computer storage medium |
CN111092460A (en) * | 2018-10-23 | 2020-05-01 | Oppo广东移动通信有限公司 | Charging control method and device and computer storage medium |
CN111431251A (en) * | 2018-12-21 | 2020-07-17 | 恩智浦有限公司 | Dual-loop battery charging system |
CN111740458A (en) * | 2020-06-19 | 2020-10-02 | 歌尔科技有限公司 | Earphone box, charging detection method and device thereof, and storage medium |
CN112039147A (en) * | 2020-08-20 | 2020-12-04 | Tcl通力电子(惠州)有限公司 | Charging method, charging device and computer readable storage medium |
WO2021073538A1 (en) * | 2019-10-16 | 2021-04-22 | Oppo广东移动通信有限公司 | Charging control method and device, and readable storage medium |
CN113725951A (en) * | 2021-08-06 | 2021-11-30 | Oppo广东移动通信有限公司 | Charging management method and device, terminal device and storage medium |
CN113937849A (en) * | 2021-09-28 | 2022-01-14 | 青岛海信移动通信技术股份有限公司 | Intelligent terminal, charging and discharging method, equipment and medium |
CN114421547A (en) * | 2021-12-17 | 2022-04-29 | 广州辰创科技发展有限公司 | Intelligent charging method and system and intelligent charging side |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674366A (en) * | 2009-09-19 | 2010-03-17 | 惠州Tcl移动通信有限公司 | Mobile terminal USB, or charger inserting identification method and identification device thereof |
CN203813501U (en) * | 2014-03-20 | 2014-09-03 | 联想(北京)有限公司 | Charger |
CN105591431A (en) * | 2015-12-31 | 2016-05-18 | 宇龙计算机通信科技(深圳)有限公司 | Charging method and equipment of mobile terminal, and mobile terminal |
CN106026257A (en) * | 2016-06-24 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Mobile terminal |
-
2017
- 2017-01-25 CN CN201710056812.1A patent/CN108347068B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674366A (en) * | 2009-09-19 | 2010-03-17 | 惠州Tcl移动通信有限公司 | Mobile terminal USB, or charger inserting identification method and identification device thereof |
CN203813501U (en) * | 2014-03-20 | 2014-09-03 | 联想(北京)有限公司 | Charger |
CN105591431A (en) * | 2015-12-31 | 2016-05-18 | 宇龙计算机通信科技(深圳)有限公司 | Charging method and equipment of mobile terminal, and mobile terminal |
CN106026257A (en) * | 2016-06-24 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Mobile terminal |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108988429A (en) * | 2018-08-06 | 2018-12-11 | 佛山市甜慕链客科技有限公司 | A method of it is orderly charged based on device type |
CN111092460A (en) * | 2018-10-23 | 2020-05-01 | Oppo广东移动通信有限公司 | Charging control method and device and computer storage medium |
CN111092460B (en) * | 2018-10-23 | 2024-03-01 | Oppo广东移动通信有限公司 | Charging control method and device and computer storage medium |
CN109286218A (en) * | 2018-11-13 | 2019-01-29 | Oppo(重庆)智能科技有限公司 | Charge mode switching method, charging circuit, electronic equipment and charging system |
CN109286218B (en) * | 2018-11-13 | 2021-03-09 | Oppo(重庆)智能科技有限公司 | Charging mode switching method, charging circuit, electronic device and charging system |
CN109474035A (en) * | 2018-11-15 | 2019-03-15 | 湖南秒冲新能源科技有限责任公司 | Intelligent charging method, battery, charging system and computer storage medium |
CN111431251A (en) * | 2018-12-21 | 2020-07-17 | 恩智浦有限公司 | Dual-loop battery charging system |
CN111431251B (en) * | 2018-12-21 | 2024-01-26 | 恩智浦有限公司 | Dual-loop battery charging system |
WO2021073538A1 (en) * | 2019-10-16 | 2021-04-22 | Oppo广东移动通信有限公司 | Charging control method and device, and readable storage medium |
CN111740458B (en) * | 2020-06-19 | 2023-03-10 | 歌尔科技有限公司 | Earphone box, charging detection method and device thereof, and storage medium |
CN111740458A (en) * | 2020-06-19 | 2020-10-02 | 歌尔科技有限公司 | Earphone box, charging detection method and device thereof, and storage medium |
CN112039147A (en) * | 2020-08-20 | 2020-12-04 | Tcl通力电子(惠州)有限公司 | Charging method, charging device and computer readable storage medium |
CN113725951A (en) * | 2021-08-06 | 2021-11-30 | Oppo广东移动通信有限公司 | Charging management method and device, terminal device and storage medium |
CN113937849A (en) * | 2021-09-28 | 2022-01-14 | 青岛海信移动通信技术股份有限公司 | Intelligent terminal, charging and discharging method, equipment and medium |
CN114421547A (en) * | 2021-12-17 | 2022-04-29 | 广州辰创科技发展有限公司 | Intelligent charging method and system and intelligent charging side |
Also Published As
Publication number | Publication date |
---|---|
CN108347068B (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108347068B (en) | A kind of method and mobile terminal of charging | |
CN105958588B (en) | A kind of charging method and mobile terminal | |
CN106451640B (en) | A kind of charging method and mobile terminal | |
US20200169102A1 (en) | Adaptive battery charging | |
CN106253400A (en) | A kind of charging method, mobile terminal and charger | |
KR101920236B1 (en) | Method for charging battery and an electronic device thereof | |
CN110797925B (en) | Battery control system and method and electronic equipment | |
CN111183561A (en) | Charging control method and device, electronic equipment and computer readable storage medium | |
CN108649658B (en) | Multi-battery switching method, power supply device and electronic equipment | |
CN107426424B (en) | A kind of charge/discharge control method and mobile terminal | |
CN107508354B (en) | A kind of charging method and mobile terminal | |
CN105898705A (en) | Method for controlling scanning frequency of wireless local area network and mobile terminal | |
CN106981904A (en) | The method and charge-discharge control system of a kind of charge and discharge control | |
CN106685007B (en) | A kind of power-supplying circuit of peripheral equipment, method of supplying power to and mobile terminal | |
CN109217409B (en) | Charging method and device and electronic equipment | |
CN108270252A (en) | The method and mobile terminal of a kind of charging, charging equipment | |
CN103247832B (en) | Charging method and electronic device | |
CN107071264A (en) | A kind of image resolution ratio method of adjustment and mobile terminal | |
CN110797924B (en) | Battery control system and method and electronic equipment | |
CN108347070A (en) | A kind of method and mobile terminal, charging equipment of charging | |
CN107045295A (en) | The control method and mobile terminal of a kind of mobile terminal | |
CN105978084A (en) | Method and device for charging electronic equipment | |
CN106685016B (en) | A kind of charging unit and control method | |
CN107171411A (en) | A kind of charging method, method of supplying power to, first terminal and second terminal | |
CN111478378B (en) | Protection circuit, charging control device and method, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |