CN104158251B - terminal, charger and charging method - Google Patents
terminal, charger and charging method Download PDFInfo
- Publication number
- CN104158251B CN104158251B CN201410400635.0A CN201410400635A CN104158251B CN 104158251 B CN104158251 B CN 104158251B CN 201410400635 A CN201410400635 A CN 201410400635A CN 104158251 B CN104158251 B CN 104158251B
- Authority
- CN
- China
- Prior art keywords
- charger
- quick charge
- terminal
- charging
- charging current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present invention proposes a kind of terminal, a kind of charger and a kind of charging method, described terminal includes: request unit, charger by the charging wire in USB (universal serial bus) be described terminal commonly charge time, according to fast charge protocol to described charger send quick charge request;Transmit-Receive Unit, receives the quick charge from described charger and asks response and send quick charge control command to described charger, be that described terminal carries out quick charge to control described charger by described charging wire.By technical scheme, can the recognition method of compatible conventional charger, it is achieved that the charger quick charge to terminal, solve the problem that charging is slow.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of terminal, a kind of charger and
A kind of charging method.
Background technology
The terminals such as present mobile device (such as mobile phone) mainly rely on charger end DP (Digital
Positive) and the connection of DM (Digital Mimus) carries out the identification to charger, as
Shown in Fig. 1, when charger end DP and DM short circuit, terminal can by charger end DP and
DM identifies the type of charger, as being identified as DCP (charging of standard wall), and passes through universal serial bus
VBUS starts to charge up.Along with the power consumption of current terminal is increasing, the capacity of its battery the most more comes
The biggest, conventional charger is just faced with the problems such as low, the cost time length of charge efficiency, in order to solve to fill
The problem that electricity is slow, has been introduced into quick charger.
But, DP and DM short circuit can only be relied on to identify common wall mold filling at current charger
Formula, and terminal is commonly charged, it is impossible to identify quick charge request, also terminal cannot be carried out
Quick charge.
Therefore, how to make charger can ask with the quick charge of identification terminal, terminal is carried out quickly
Charging, to improve charge efficiency, becomes technical problem the most urgently to be resolved hurrily.
Summary of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of new technical scheme, makes charger permissible
The quick charge request of identification terminal, carries out quick charge, improves charge efficiency terminal.
In view of this, an aspect of of the present present invention proposes a kind of terminal, including: request unit, is filling
Electrical equipment by the charging wire in USB (universal serial bus) be described terminal commonly charge time, according to quickly
Charge protocol sends quick charge request to described charger;Transmit-Receive Unit, receives from described charging
The quick charge request of device responds and sends quick charge control command to described charger, to control
Stating charger by described charging wire is that described terminal carries out quick charge.
In this technical scheme, terminal sends quick charge request to charger, and receives charger and exist
The quick charge request response fed back after identifying quick charge request, terminal is quickly filled receiving
Control charger after electricity request response and carry out quick charge.By the technical program, charger can be made
The recognition method of compatible conventional charger, and the quick charge request realization that identification terminal sends is to terminal
Quick charge, solve the slow problem of charging.
In technique scheme, it is preferable that described quick charge control command comprises described terminal
Required charging current, can provide according to described charging current and described charger for described charger
Maximum charging current be described terminal provide real time charging electric current.
In this technical scheme, terminal can send quick charge control according to self required charging current
System order, but charger need to be that terminal is charged according to maximum charging current, specifically, works as institute
When charging current needed for stating terminal is more than the maximum charging current of described charger, fill with described maximum
Electricity electric current is that described terminal is charged, and the charging current needed for described terminal is less than described charger
Maximum charging current time, the charging current needed for described terminal is as terminal charge.Such as, charging
The available maximum charging current of device is 4A, then, as long as the required charging current of terminal self is not
More than 4A, charger will charging current needed for terminal as terminal charge, but when terminal institute
When the charging current needed is 5A, now, charger will be with its maximum charging current 4A as terminal
It is charged.Certainly, terminal can make charger switch not by different quick charge control commands
Same charge mode, to obtain different charging currents.The quick charge control command of terminal is corresponding
Fast charge mode, includes but not limited to following several: general mode (normal mode) is corresponding
Charging current be 1A, the charging current that middle model (medial mode) is corresponding is 2A, quickly
The charging current that charge mode (fast mode) is corresponding is 3A, and super mode (super mode) is right
The charging current answered is 4A.
In technique scheme, it is preferable that also include: arrange unit, by total for described general serial
The first signal identification line DP in line is set to the voltage signal on secondary signal identification line DM
Zero, to be sent by charger described in described first signal identification line and described secondary signal identification alignment
Quick charge is asked.
In this technical scheme, in default situations, the first signal identification line DP knows with secondary signal
Other line DM short circuit, charger is identified as conventional charger by terminal, according to BC1.2 agreement with slower
Speed is charged, when terminal is by the first signal identification line DP and secondary signal identification line DM
When voltage signal is set to zero, charger will disconnect the first signal identification line DP to be known with secondary signal
Connection between other line DM, in order to terminal sends quick charge according to fast charge protocol to charger
Request, thus carry out quick charge.By the technical program, the compatible identification side of conventional charger
Formula, makes the quick charge request that terminal sends be electrically charged device identification, to realize fast to terminal of charger
Speed charging.
Another aspect of the present invention proposes a kind of charger, including: first receives unit, in charging
Device by USB (universal serial bus) be terminal commonly charge time, receive quickly filling from described terminal
Electricity request;Judging unit, it is judged that whether described charger can identify that described quick charge is asked;Send out
Send unit, when judging that described charger can identify that described quick charge is asked, send out to described terminal
Send quick charge request response;Second receives unit, after sending described quick charge request response,
Receive the quick charge control command from described terminal;Charhing unit, according to described quick charge control
System order is that described terminal carries out quick charge by described charging wire.
In this technical scheme, charger both can commonly charge, it is also possible to sends according to terminal
Quick charge request carry out quick charge and respond.By the technical program, can compatible pass
The recognition method of system charger, the quick charge that charger identification terminal simultaneously can also be made to send please
Ask, it is achieved the charger quick charge to terminal, solve the problem that charging is slow.By simple knot
Structure achieves the function of quick charge, improves the reliability of charging.
In technique scheme, it is preferable that described quick charge control command comprises described terminal
Required charging current, described charger also includes: acquiring unit, obtains described quick charge and controls
Charging current needed for the described terminal comprised in order, and provide unit, according to described terminal institute
The charging current needed and the available maximum charging current of described charger provide for described terminal and fill in real time
Electricity electric current.
In this technical scheme, terminal can send quick charge control according to self required charging current
System order, but charger need to be that terminal is charged according to maximum charging current, specifically, works as institute
When charging current needed for stating terminal is more than the maximum charging current of described charger, fill with described maximum
Electricity electric current is that described terminal is charged, and the charging current needed for described terminal is less than described charger
Maximum charging current time, the charging current needed for described terminal is as terminal charge.Such as, charging
The available maximum charging current of device is 4A, then, as long as the required charging current of terminal self is not
More than 4A, charger will charging current needed for terminal as terminal charge, but when terminal institute
When the charging current needed is 5A, now, charger will be with its maximum charging current 4A as terminal
It is charged.The fast charge mode that quick charge control command is corresponding, includes but not limited to following several
Kind: the charging current that general mode (normal mode) is corresponding is 1A, middle model (medial
Mode) corresponding charging current is 2A, the charged electrical that fast charge mode (fast mode) is corresponding
Stream is 3A, and the charging current of super mode (super mode) correspondence is 4A.
In technique scheme, it is preferable that also include: switching units, if detecting described general
The first signal identification line DP in universal serial bus with the voltage signal on secondary signal identification line DM is
Zero, then disconnect the connection of described first signal identification line and described secondary signal identification line, to pass through
State the first signal identification line and described secondary signal identification line receives described quick charge request and sends
Described quick charge request response.
In this technical scheme, in default situations, the first signal identification line DP knows with secondary signal
Other line DM short circuit, charger is identified as conventional charger by terminal, according to BC1.2 agreement with slower
Speed is charged, when terminal is by the first signal identification line DP and secondary signal identification line DM
When voltage signal is set to zero, charger will disconnect the first signal identification line DP to be known with secondary signal
Connection between other line DM, in order to terminal sends quick charge according to fast charge protocol to charger
Request, thus carry out quick charge.By the technical program, the compatible identification side of conventional charger
Formula, makes the quick charge request that terminal sends be electrically charged device identification, to realize fast to terminal of charger
Speed charging.
In technique scheme, it is preferable that described charhing unit also includes: when described charger without
Described in method identification during quick charge request, continue as described terminal by described USB (universal serial bus) and carry out
Common charging.
In this technical scheme, terminal sends quick charge by starting fast charge protocol to charger
Request, enumerating charger, if enumerating failure, can be maintained at by charge mode traditional
Charge mode.It is to say, charger unidentified go out quick charge request time, work can't be stopped
Make, but can commonly charge, to ensure that charging will not go out quick charge because of None-identified and ask
Ask and stop, improving the reliability of charging.
Another aspect of the invention proposes a kind of charging method, including: at described charger by logical
With the charging wire in universal serial bus be described terminal commonly charge time, according to fast charge protocol to
Described charger sends quick charge request;Described charger receives the quick charge from described terminal
Request, and judge whether to identify that described quick charge is asked;Institute can be identified at described charger
When stating quick charge request, send quick charge request response to described terminal;Described terminal receives
Ask response from the quick charge of described charger and send quick charge control life to described charger
Order;Described charger is that described terminal is entered according to described quick charge control command by described charging wire
Row quick charge.
In this technical scheme, terminal can send quick charge request to charger, and is receiving
When the quick charge request of charger responds, send quick charge control command to control charger as end
End carries out quick charge.And charger both can be terminal commonly charges, it is also possible to according to terminal
The quick charge request sent responds and is that it carries out quick charge.By the technical program, can
So that the recognition method of charger compatibility conventional charger, simultaneously can also identification terminal send quick
Charge request, it is achieved the charger quick charge to terminal, improves the reliability of charging, it is achieved fill
The electrical equipment quick charge to terminal, solves the problem that charging is slow.
In technique scheme, it is preferable that described quick charge control command comprises described terminal
Required charging current, described charging method also includes: described charger obtains described quick charge control
Charging current needed for the described terminal comprised in system order;And described charger is according to described terminal
Required charging current and the available maximum charging current of described charger provide in real time for described terminal
Charging current.
In this technical scheme, terminal can send quick charge control according to self required charging current
System order, but charger need to be that terminal is charged according to maximum charging current, specifically, works as institute
When charging current needed for stating terminal is more than the maximum charging current of described charger, fill with described maximum
Electricity electric current is that described terminal is charged, and the charging current needed for described terminal is less than described charger
Maximum charging current time, the charging current needed for described terminal is as terminal charge.Such as, charging
The available maximum charging current of device is 4A, then, as long as the required charging current of terminal self is not
More than 4A, charger will charging current needed for terminal as terminal charge, but when terminal institute
When the charging current needed is 5A, now, charger will be with its maximum charging current 4A as terminal
It is charged.The fast charge mode that quick charge control command is corresponding, includes but not limited to following several
Kind: the charging current that general mode (normal mode) is corresponding is 1A, middle model (medial
Mode) corresponding charging current is 2A, the charged electrical that fast charge mode (fast mode) is corresponding
Stream is 3A, and the charging current of super mode (super mode) correspondence is 4A.
In technique scheme, it is preferable that described terminal is by first in described USB (universal serial bus)
Voltage signal on signal identification line and described secondary signal identification line is set to zero, with by described the
Described in one signal identification line and described secondary signal identification alignment charger send quick charge request and
Receive described quick charge request response;If described charger detects in described USB (universal serial bus)
Voltage signal on first signal identification line DP and secondary signal identification line DM is zero, then disconnect institute
State the connection of the first signal identification line and described secondary signal identification line, to be known by described first signal
Other line and described secondary signal identification line receive described quick charge request and send described quick charge
Request response.
In this technical scheme, in default situations, the first signal identification line DP knows with secondary signal
Other line DM short circuit, charger is identified as conventional charger by terminal, according to BC1.2 agreement with slower
Speed is charged, when terminal is by the first signal identification line DP and secondary signal identification line DM
When voltage signal is set to zero, charger will disconnect the first signal identification line DP to be known with secondary signal
Connection between other line DM, in order to terminal sends quick charge according to fast charge protocol to charger
Request, thus carry out quick charge.By the technical program, the compatible identification side of conventional charger
Formula, makes the quick charge request that terminal sends be electrically charged device identification, to realize fast to terminal of charger
Speed charging.
In technique scheme, it is preferable that also include: judging described charger None-identified institute
When stating quick charge request, described charger continues as described terminal by described USB (universal serial bus) and enters
The common charging of row.
In this technical scheme, terminal sends quick charge by starting fast charge protocol to charger
Request, enumerates charger, if enumerating failure, charge mode can be maintained at traditional charging
Pattern.It is to say, charger unidentified go out quick charge request time, can't quit work, and
It is commonly to charge, to ensure that charging will not stop because None-identified goes out quick charge request
Only, the reliability of charging is improved.
In technique scheme, it is preferable that described fast charge protocol is USB host agreement.
In this technical scheme, terminal sends to charger quickly to fill by starting USB host agreement
Electricity request, enumerates charger, and after enumerating successfully, the quick charge request obtaining charger rings
Should, and send quick charge control command and be switched to corresponding fast charge mode.
By above technical scheme, the quick charge demand of terminal can be met, by simple structure
Achieve the function of quick charge, improve charge efficiency, improve the reliability of charging, solve
Charge slow problem.
Accompanying drawing explanation
Fig. 1 shows terminal and the connection diagram of charger in prior art;
Fig. 2 shows terminal and the connection diagram of charger according to an embodiment of the invention;
Fig. 3 shows the schematic block diagram of terminal according to an embodiment of the invention;
Fig. 4 shows the schematic block diagram of charger according to an embodiment of the invention;
Fig. 5 shows the schematic flow diagram of charging method according to an embodiment of the invention;
Fig. 6 shows the schematic flow diagram of charging method according to an embodiment of the invention.
Detailed description of the invention
In order to be more clearly understood that the above-mentioned purpose of the present invention, feature and advantage, below in conjunction with attached
The present invention is further described in detail by figure and detailed description of the invention.It should be noted that not
In the case of conflict, the feature in embodiments herein and embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention, but,
The present invention can implement to use other to be different from other modes described here, therefore, and the present invention
Protection domain do not limited by following public specific embodiment.
Fig. 2 shows terminal and the connection diagram of charger according to an embodiment of the invention.
As in figure 2 it is shown, ID wiring is vacant state, when terminal according to fast charge protocol to charging
When device sends quick charge request, enumerating charger, after enumerating successfully, charger is according to fast
Speed charging handshake logic disconnects the first signal identification line DP and the connection of secondary signal identification line DM,
And send quick charge response to terminal, start quick charge.
When terminal is asked without quick charge, charger end DP and DM is in short circuit state, terminal
Charger is identified as conventional charger, is charged with slower speed according to BC1.2 agreement, works as end
Hold and the voltage signal on the first signal identification line DP and secondary signal identification line DM is set to zero
Time, charger will disconnect the company between the first signal identification line DP and secondary signal identification line DM
Connect, in order to terminal sends quick charge request according to fast charge protocol to charger, thus carries out fast
Speed charging
By the technical program, the compatible recognition method of conventional charger, make terminal fast by starting
Speed charge protocol sends quick charge request to charger, enumerates charger, if enumerating mistake
Lose, charge mode can be maintained at traditional charge mode.It is to say, it is unidentified at charger
When going out quick charge request, can't quit work, but can commonly charge, to ensure to fill
Electricity will not stop because None-identified goes out quick charge request, improves the reliability of charging.
Fig. 3 shows the schematic block diagram of terminal according to an embodiment of the invention.
As it is shown on figure 3, terminal 300 according to an embodiment of the invention, including: request unit
302, charger by the charging wire in USB (universal serial bus) be terminal commonly charge time, root
Quick charge request is sent to charger according to fast charge protocol;Transmit-Receive Unit 304, receives from filling
The quick charge request of electrical equipment responds and sends quick charge control command to charger, to control charging
Device is that terminal carries out quick charge by charging wire.
In this technical scheme, terminal sends quick charge request to charger, and receives charger and exist
The quick charge request response fed back after identifying quick charge request, terminal is quickly filled receiving
Control charger after electricity request response and carry out quick charge.By the technical program, can compatible tradition
The recognition method of charger, the quick charge request making terminal send is electrically charged device identification, it is achieved charging
The device quick charge to terminal, solves the problem that charging is slow.
In technique scheme, it is preferable that filling needed for comprising terminal in quick charge control command
Electricity electric current, is terminal for charger according to the available maximum charging current of charging current and charger
Real time charging electric current is provided.
In this technical scheme, terminal can send quick charge control according to self required charging current
System order, but charger need to be that terminal is charged according to maximum charging current, specifically, works as institute
When charging current needed for stating terminal is more than the maximum charging current of described charger, fill with described maximum
Electricity electric current is that described terminal is charged, and the charging current needed for described terminal is less than described charger
Maximum charging current time, the charging current needed for described terminal is as terminal charge.Such as, charging
The available maximum charging current of device is 4A, then, as long as the required charging current of terminal self is not
More than 4A, charger will charging current needed for terminal as terminal charge, but when terminal institute
When the charging current needed is 5A, now, charger will be with its maximum charging current 4A as terminal
It is charged.Certainly, terminal can make charger switch not by different quick charge control commands
Same charge mode, to obtain different charging currents.The quick charge control command of terminal is corresponding
Fast charge mode, includes but not limited to following several: general mode (normal mode) is corresponding
Charging current be 1A, the charging current that middle model (medial mode) is corresponding is 2A, quickly
The charging current that charge mode (fast mode) is corresponding is 3A, and super mode (super mode) is right
The charging current answered is 4A.
In technique scheme, it is preferable that also include: unit 306 is set, general serial is total
The first signal identification line DP in line is set to the voltage signal on secondary signal identification line DM
Zero, to be sent quickly to charger by the first signal identification line DP and secondary signal identification line DM
Charge request.
In this technical scheme, in default situations, the first signal identification line DP knows with secondary signal
Other line DM short circuit, charger is identified as conventional charger by terminal, according to BC1.2 agreement with slower
Speed is charged, when terminal is by the first signal identification line DP and secondary signal identification line DM
When voltage signal is set to zero, charger will disconnect the first signal identification line DP to be known with secondary signal
Connection between other line DM, in order to terminal sends quick charge according to fast charge protocol to charger
Request, thus carry out quick charge.By the technical program, the compatible identification side of conventional charger
Formula, makes the quick charge request that terminal sends be electrically charged device identification, to realize fast to terminal of charger
Speed charging.
Fig. 4 shows the schematic block diagram of charger according to an embodiment of the invention.
As shown in Figure 4, charger 400 according to an embodiment of the invention, including: first receives list
Unit 402, charger by USB (universal serial bus) be terminal commonly charge time, reception from end
The quick charge request of end;Judging unit 404, it is judged that whether charger can identify that quick charge please
Ask;Transmitting element 406, when judging that charger can identify that quick charge is asked, sends to terminal
Quick charge request response;Second receives unit 408, after sending quick charge request response, connects
Receive the quick charge control command of self terminal;Charhing unit 410, according to quick charge control command
Terminal is carried out quick charge.
In this technical scheme, charger both can commonly charge, it is also possible to sends according to terminal
Quick charge request carry out quick charge and respond.By the technical program, can compatible pass
The recognition method of system charger, the quick charge that charger identification terminal simultaneously can also be made to send please
Ask, it is achieved the charger quick charge to terminal, solve the problem that charging is slow.By simple knot
Structure achieves the function of quick charge, improves the reliability of charging, it is achieved fast to terminal of charger
Speed charging, solves the problem that charging is slow.
In technique scheme, it is preferable that filling needed for comprising terminal in quick charge control command
Electricity electric current, charger also includes: acquiring unit 412, comprises in acquisition quick charge control command
Charging current needed for terminal, and provide unit 414, according to the charging current needed for terminal and filling
The available maximum charging current of electrical equipment provides real time charging electric current for terminal.
In this technical scheme, terminal can send quick charge control according to self required charging current
System order, but charger need to be that terminal is charged according to maximum charging current, specifically, works as institute
When charging current needed for stating terminal is more than the maximum charging current of described charger, fill with described maximum
Electricity electric current is that described terminal is charged, and the charging current needed for described terminal is less than described charger
Maximum charging current time, the charging current needed for described terminal is as terminal charge.Such as, charging
The available maximum charging current of device is 4A, then, as long as the required charging current of terminal self is not
More than 4A, charger will charging current needed for terminal as terminal charge, but when terminal institute
When the charging current needed is 5A, now, charger will be with its maximum charging current 4A as terminal
It is charged.The fast charge mode that quick charge control command is corresponding, includes but not limited to following several
Kind: the charging current that general mode (normal mode) is corresponding is 1A, middle model (medial
Mode) corresponding charging current is 2A, the charged electrical that fast charge mode (fast mode) is corresponding
Stream is 3A, and the charging current of super mode (super mode) correspondence is 4A.
In technique scheme, it is preferable that also include: switching units 416, if detecting general
The first signal identification line DP in universal serial bus with the voltage signal on secondary signal identification line DM is
Zero, then disconnect the connection of the first signal identification line DP and secondary signal identification line DM, with by
One signal identification line DP and secondary signal identification line DM receives quick charge request and sends quickly
Charge request responds.
In this technical scheme, in default situations, the first signal identification line DP knows with secondary signal
Other line DM short circuit, charger is identified as conventional charger by terminal, according to BC1.2 agreement with slower
Speed is charged, when terminal is by the first signal identification line DP and secondary signal identification line DM
When voltage signal is set to zero, charger will disconnect the first signal identification line DP to be known with secondary signal
Connection between other line DM, in order to terminal sends quick charge according to fast charge protocol to charger
Request, thus carry out quick charge.By the technical program, the compatible identification side of conventional charger
Formula, makes the quick charge request that terminal sends be electrically charged device identification, to realize fast to terminal of charger
Speed charging.
In technique scheme, it is preferable that charhing unit 410 also includes: when charger cannot be known
During other quick charge request, continue as terminal by USB (universal serial bus) and commonly charge.
In this technical scheme, terminal sends quick charge by starting fast charge protocol to charger
Request, enumerating charger, if enumerating failure, can be maintained at by charge mode traditional
Charge mode.It is to say, charger unidentified go out quick charge request time, work can't be stopped
Make, but can commonly charge, to ensure that charging will not go out quick charge because of None-identified and ask
Ask and stop, improving the reliability of charging.
Fig. 5 shows the schematic flow diagram of charging method according to an embodiment of the invention.
As it is shown in figure 5, charging method according to an embodiment of the invention, comprise the following steps:
Step 502, is that terminal is commonly filled at charger by the charging wire in USB (universal serial bus)
During electricity, send quick charge request according to fast charge protocol to charger.
Step 504, charger receives the quick charge request of self terminal, and judges whether to know
Other quick charge is asked.
Step 506, when charger can identify that quick charge is asked, sends quick charge to terminal
Request response.
Step 508, the quick charge that terminal receives from charger is asked response and sends to charger
Quick charge control command.
Step 510, charger carries out quick charge according to quick charge control command to terminal.
In this technical scheme, terminal can send quick charge request to charger, and is receiving
When the quick charge request of charger responds, send quick charge control command to control charger as end
End carries out quick charge.And charger both can be terminal commonly charges, it is also possible to according to terminal
The quick charge request sent responds and is that it carries out quick charge.By the technical program, can
So that the recognition method of charger compatibility conventional charger, simultaneously can also identification terminal send quick
Charge request, it is achieved the charger quick charge to terminal, improves the reliability of charging, it is achieved fill
The electrical equipment quick charge to terminal, solves the problem that charging is slow.
In technique scheme, it is preferable that filling needed for comprising terminal in quick charge control command
Electricity electric current, charging method also includes: charger obtains the terminal institute comprised in quick charge control command
The charging current needed;And charger is available according to the charging current needed for terminal and charger
Big charging current provides real time charging electric current for terminal.
In this technical scheme, terminal can send quick charge control according to self required charging current
System order, but charger need to be that terminal is charged according to maximum charging current, specifically, works as institute
When charging current needed for stating terminal is more than the maximum charging current of described charger, fill with described maximum
Electricity electric current is that described terminal is charged, and the charging current needed for described terminal is less than described charger
Maximum charging current time, the charging current needed for described terminal is as terminal charge.Such as, charging
The available maximum charging current of device is 4A, then, as long as the required charging current of terminal self is not
More than 4A, charger will charging current needed for terminal as terminal charge, but when terminal institute
When the charging current needed is 5A, now, charger will be with its maximum charging current 4A as terminal
It is charged.The fast charge mode that quick charge control command is corresponding, includes but not limited to following several
Kind: the charging current that general mode (normal mode) is corresponding is 1A, middle model (medial
Mode) corresponding charging current is 2A, the charged electrical that fast charge mode (fast mode) is corresponding
Stream is 3A, and the charging current of super mode (super mode) correspondence is 4A.
In technique scheme, it is preferable that terminal is by the first signal identification in USB (universal serial bus)
Voltage signal on line DP and secondary signal identification line DM is set to zero, to be known by the first signal
Other line DP and secondary signal identification line DM sends quick charge request to charger and receives quickly
Charge request responds;If charger detect the first signal identification line DP in USB (universal serial bus) with
Voltage signal on secondary signal identification line DM is zero, then disconnect the first signal identification line DP and
The connection of binary signal identification line DM, with by the first signal identification line DP and secondary signal identification line
DM receives quick charge request and sends quick charge request response.
In this technical scheme, in default situations, the first signal identification line DP knows with secondary signal
Other line DM short circuit, charger is identified as conventional charger by terminal, according to BC1.2 agreement with slower
Speed is charged, when terminal is by the first signal identification line DP and secondary signal identification line DM
When voltage signal is set to zero, charger will disconnect the first signal identification line DP to be known with secondary signal
Connection between other line DM, in order to terminal sends quick charge according to fast charge protocol to charger
Request, thus carry out quick charge.By the technical program, the compatible identification side of conventional charger
Formula, makes the quick charge request that terminal sends be electrically charged device identification, to realize fast to terminal of charger
Speed charging.
In technique scheme, it is preferable that also include: judging that charger None-identified quickly fills
During electricity request, charger continues as terminal by USB (universal serial bus) and commonly charges.
In this technical scheme, terminal sends quick charge by starting fast charge protocol to charger
Request, enumerates charger, if enumerating failure, charge mode can be maintained at traditional charging
Pattern.It is to say, charger unidentified go out quick charge request time, can't quit work, and
It is commonly to charge, to ensure that charging will not stop because None-identified goes out quick charge request
Only, the reliability of charging is improved.
In technique scheme, it is preferable that fast charge protocol is USB host agreement.
In this technical scheme, terminal sends to charger quickly to fill by starting USB host agreement
Electricity request, enumerates charger, and after enumerating successfully, the quick charge request obtaining charger rings
Should, and send quick charge control command and be switched to corresponding fast charge mode.
Fig. 6 shows the schematic flow diagram of charging method according to an embodiment of the invention.
As shown in Figure 6, charging method according to an embodiment of the invention, comprise the following steps:
Step 602, charger is identified as commonly charging DCP.Do not receiving quick charge control
During order, charger acquiescence is identified as DCP, DP and the DM short circuit of charger.
Step 604, accesses after universal serial bus VBUS to terminal, terminal by charger end DP and
DM carries out the identification of conventional charger according to BC1.2 agreement, and charger is identified as DCP.
Step 606, terminal waits 1s after arranging the charging current of 1A.
Step 608, terminal starts USB host protocol stack, initiates to enumerate flow process.I.e. terminal is by opening
Dynamic USB host agreement sends quick charge request to charger, enumerates charger, its
In, fast charge protocol be USB host agreement be fast charge protocol.Initiate to enumerate stream at mobile phone
Cheng Hou, DP and DM of charger maintains 0V state 10ms, to disconnect the company of DP and DM
Connect.
Step 610, charger receives quick charge request, it is judged that whether self supports quick charge,
When judged result is for being, enters step 612, otherwise, return step 602.
Step 612, quick charge request is responded, is i.e. believed by USB chirp K by charger
Number to quick charge request respond.
Step 614, it is judged that whether terminal receives the quick charge of charger in time-out time is asked back
Should, when judged result is for being, enters step 616, otherwise, return step 606.
Step 616, terminal receives after the quick charge request of charger responds, carries out follow-up enumerating stream
Journey, and send quick charge control command to charger.Different quick charge control command correspondences is not
Same charge mode, such as, the charging current that general mode (normal mode) is corresponding is 1A,
The charging current that middle model (medial mode) is corresponding is 2A, fast charge mode (fast
Mode) corresponding charging current is 3A, the charging current that super mode (super mode) is corresponding
For 4A.
Step 618, charger is switched to the quick charge of correspondence after receiving quick charge control command
Pattern.
Step 620, terminal enters fast charge mode.
In the present invention, term " first ", " second " are only used for the purpose described, and can not manage
Solve as instruction or hint relative importance.For the ordinary skill in the art, can basis
Concrete condition understands above-mentioned term concrete meaning in the present invention.
Technical scheme is described in detail, by the technical side of the present invention above in association with accompanying drawing
Case, can make charger meet the quick charge demand of terminal, it is achieved the function of quick charge, this carries
High charge efficiency, improves the reliability of charging, and solves the problem that charging is slow.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for
For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention
Protection domain within.
Claims (11)
1. a terminal, it is characterised in that including:
By the charging wire in USB (universal serial bus), request unit, is that described terminal is carried out at charger general
During logical charging, send quick charge request according to fast charge protocol to described charger;
Transmit-Receive Unit, receives the quick charge from described charger and asks response and to described charger
Send quick charge control command, be that described terminal is entered to control described charger by described charging wire
Row quick charge;
Unit is set, by the first signal identification line in described USB (universal serial bus) and secondary signal identification
Voltage signal on line is set to zero, to be known by described first signal identification line and described secondary signal
Charger described in other alignment sends quick charge request.
Terminal the most according to claim 1, it is characterised in that described quick charge controls life
Order comprises the charging current needed for described terminal, for described charger according to described charging current and
The available maximum charging current of described charger provides real time charging electric current for described terminal.
3. a charger, it is characterised in that including:
First receives unit, is that terminal is entered at described charger by the charging wire in USB (universal serial bus)
When row commonly charges, receive the quick charge from described terminal and ask;
Judging unit, it is judged that whether described charger can identify that described quick charge is asked;
Transmitting element, when judging that described charger can identify that described quick charge is asked, to described
Terminal sends quick charge request response;
Second receives unit, after sending described quick charge request response, receives from described terminal
Quick charge control command;
Charhing unit, is that described terminal is entered according to described quick charge control command by described charging wire
Row quick charge.
Charger the most according to claim 3, it is characterised in that described quick charge controls
Comprising the charging current needed for described terminal in order, described charger also includes:
Acquiring unit, obtains the charging needed for the described terminal comprised in described quick charge control command
Electric current, and
There is provided unit, according to the charging current needed for described terminal and the available maximum of described charger
Charging current provides real time charging electric current for described terminal.
Charger the most according to claim 3, it is characterised in that also include:
Switching units, if the first signal identification line detected in described USB (universal serial bus) and the second letter
Number identify that the voltage signal on line is zero, then disconnect described first signal identification line and described secondary signal
Identify the connection of line, to receive institute by described first signal identification line and described secondary signal identification line
State quick charge request and send described quick charge request response.
6. according to the charger according to any one of claim 3 to 5, it is characterised in that described
Charhing unit also includes:
When quick charge request described in described charger None-identified, by described USB (universal serial bus)
Continue as described terminal commonly to charge.
7. a charging method, it is characterised in that including:
Charger by the charging wire in USB (universal serial bus) be terminal commonly charge time, according to
Fast charge protocol sends quick charge request to described charger;
The quick charge that described charger receives from described terminal is asked, and judges whether to identify
Described quick charge is asked;
When described charger can identify that described quick charge is asked, send to described terminal and quickly fill
Electricity request response;
The quick charge that described terminal receives from described charger is asked response and sends out to described charger
Send quick charge control command;
Described charger, according to described quick charge control command, is described terminal by described charging wire
Carry out quick charge.
Charging method the most according to claim 7, it is characterised in that described quick charge control
Comprising the charging current needed for described terminal in system order, described charging method also includes:
Described charger obtains the charging needed for the described terminal comprised in described quick charge control command
Electric current;And
Described charger is according to the charging current needed for described terminal and the available maximum of described charger
Charging current provides real time charging electric current for described terminal.
Charging method the most according to claim 7, it is characterised in that
Described terminal is by the first signal identification line in described USB (universal serial bus) and secondary signal identification line
On voltage signal be set to zero, with by described first signal identification line and described secondary signal identification
Charger described in alignment sends quick charge request and receives described quick charge request response;
If described charger detects the first signal identification line in described USB (universal serial bus) and the second letter
Number identify that the voltage signal on line is zero, then disconnect described first signal identification line and described secondary signal
Identify the connection of line, to receive institute by described first signal identification line and described secondary signal identification line
State quick charge request and send described quick charge request response.
Charging method the most according to claim 7, it is characterised in that also include:
When judging quick charge request described in described charger None-identified, described charger passes through institute
State USB (universal serial bus) to continue as described terminal and commonly charge.
11. according to the charging method according to any one of claim 7 to 10, it is characterised in that
Described fast charge protocol is USB host agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410400635.0A CN104158251B (en) | 2014-08-13 | 2014-08-13 | terminal, charger and charging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410400635.0A CN104158251B (en) | 2014-08-13 | 2014-08-13 | terminal, charger and charging method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104158251A CN104158251A (en) | 2014-11-19 |
CN104158251B true CN104158251B (en) | 2016-08-24 |
Family
ID=51883692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410400635.0A Active CN104158251B (en) | 2014-08-13 | 2014-08-13 | terminal, charger and charging method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104158251B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3457518B1 (en) * | 2015-05-13 | 2020-07-01 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Quick charging method, power adapter and mobile terminal |
CN106712122A (en) * | 2015-07-17 | 2017-05-24 | 鸿富锦精密工业(武汉)有限公司 | Charging equipment, charging system and charging method |
WO2017133001A1 (en) * | 2016-02-05 | 2017-08-10 | 广东欧珀移动通信有限公司 | Charging method, adapter, and mobile terminal |
CN105720645A (en) * | 2016-04-11 | 2016-06-29 | 浙江德景电子科技有限公司 | Charging method, charging device and charger |
CN106130124B (en) * | 2016-07-29 | 2019-09-06 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method, system and terminal for realizing that a variety of fast charge protocols are compatible |
CN111049214B (en) * | 2016-11-03 | 2024-03-15 | 华为技术有限公司 | Charging method, terminal and charging adapter |
CN107482729A (en) * | 2017-09-04 | 2017-12-15 | 深圳支点电子智能科技有限公司 | The method and charger of a kind of charging |
CN111130596B (en) * | 2019-11-14 | 2021-08-03 | 荣耀终端有限公司 | Multiplexing circuit, interface circuit system and mobile terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2130108B1 (en) * | 2007-03-29 | 2018-03-07 | Nokia Technologies Oy | Connection to a usb device |
CN102255113A (en) * | 2011-04-07 | 2011-11-23 | 广东省电力设计研究院 | Method and system for charging electric vehicle, charger and BMS (battery management system) communication module |
CN102510112B (en) * | 2011-11-02 | 2013-10-30 | 苏州佳世达电通有限公司 | System and display device for charging portable electronic device |
CN102738530B (en) * | 2012-07-03 | 2014-12-10 | 宇龙计算机通信科技(深圳)有限公司 | Wireless charging method of mobile terminal and wireless charging device |
CN102957193B (en) * | 2012-11-19 | 2015-12-23 | 中兴通讯股份有限公司 | A kind of charging management method, device and system |
CN103928725B (en) * | 2014-04-30 | 2016-03-30 | 努比亚技术有限公司 | A kind of mobile terminal and charging method thereof and device |
-
2014
- 2014-08-13 CN CN201410400635.0A patent/CN104158251B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104158251A (en) | 2014-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104158251B (en) | terminal, charger and charging method | |
CN104135057B (en) | terminal, charger and charging method | |
EP3131171B1 (en) | Power adaptor, terminal and charging system | |
US9649949B2 (en) | Connector converter and vehicle charging system and method using the same | |
US10554060B2 (en) | Systems and methods for charging via USB port | |
EP2892214B1 (en) | Mobile terminal, master data communication device, and mobile terminal charging system and method | |
CN105576727B (en) | Method, device and system for quick charging | |
CN102981916B (en) | A kind of mobile terminal and control method thereof and device | |
CN108535594A (en) | Interface grafting abnormal detection circuit and method | |
CN107196357A (en) | A kind of charging equipment, terminal device and charging method, charging monitoring method | |
CN104796011A (en) | Charging method, AC adapter, charging managing device and terminal | |
CN102929821B (en) | Electronic equipment and electronic apparatus system | |
KR20150048086A (en) | Charger, charging terminal, charging system and charging control method | |
CN207984589U (en) | Matrixing network formula charger system | |
CN105071484B (en) | A kind of charging method and device of the terminal with data exchanging function | |
CN104919388A (en) | Charging an electrical device via a data interface | |
KR102628571B1 (en) | Control device for vehicle, vehicle, and control method of vehicle | |
CN203813501U (en) | Charger | |
CN110492562B (en) | Mobile power supply equipment, power supply control method and device thereof, and power supply equipment | |
CN209217778U (en) | Wireless charging receiving terminal, wireless charging system and terminal | |
CN106911173B (en) | Intelligent low-voltage auxiliary power supply device and method and off-vehicle charger | |
CN205239183U (en) | Charging cable | |
CN105824732A (en) | USB detection method and detection system | |
CN106164686A (en) | A kind of leakage current test system of terminal | |
CN205429836U (en) | Intelligence low pressure auxiliary power unit and on -vehicle machine that charges of non - |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |