A kind of charger and its protocol analysis method, system are filled soon
Technical field
The invention belongs to fast charge protocol technology of identification field, more particularly to a kind of charger and its agreement solution is filled soon
Analysis method, system.
Background technology
With the popularization of smart mobile phone, cell phone battery capacity more increases, and market is very strong to the demand of quick charge.
But due to each big mobile phone brand, all each develop it is special fill agreement soon, single charger for mobile phone or portable power source, it is impossible to
Compatible other fast charging mobile phones.So, user's mobile phone brand on hand is more, and charger for mobile phone, portable power source are more next accordingly
It is more, use and be inconvenient.
At present, the agreement of filling soon of main flow mainly includes on market:High pass Quick Charge 2.0/3.0(I.e.:QC2.0/
3.0)Agreement, and Lian Fa sections Pump Express are filled soon(MTK PE)Agreement is filled soon.And in prior art, charger(Such as
Charger, portable power source etc.)Cannot simultaneously support that QC2.0/3.0 fills soon agreement and MTK PE fill soon the identification and parsing of agreement,
And then cannot intelligence the various cell phone apparatus of identification and fill agreement soon, cause mobile phone charge efficiency low.
The content of the invention
The purpose of the embodiment of the present invention be a kind of charger is provided fill protocol analysis method soon, it is intended to solve existing
The charger that technology is provided cannot simultaneously support that QC2.0/3.0 fills soon agreement and MTK PE fill soon the identification and parsing of agreement,
And then cannot intelligence the various cell phone apparatus of identification and fill agreement soon, the problem for causing mobile phone charge efficiency low.
What the embodiment of the present invention was achieved in that a kind of charger fills soon protocol analysis method, and methods described includes
Following steps:
After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of the charger
The charging equipment is recognized described to be charged from the size of USB_VBus pin obtaining currents and the cycle of obtaining current
Whether equipment supports that MTK PE fill soon agreement;
After the USB charging inlets of charging equipment connection charger, recognize whether the charging equipment is Fructus Mali pumilae equipment;
If recognizing, the charging equipment is not Fructus Mali pumilae equipment, during by the voltage for detecting USB_DM pins and USB_DP pins
Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing the charging equipment;
According to recognition result, parsed and responded based on instruction of the agreement to the charging equipment is filled soon accordingly, completed
Charging to the charging equipment.
The another object of the embodiment of the present invention be a kind of charger is provided fill protocol analysis method, methods described soon
Comprise the following steps:
After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of the charger
Charging equipment recognizes the charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current
Whether support that MTK PE fill soon agreement;
After the USB charging inlets of charging equipment connection charger, recognize whether the charging equipment is Fructus Mali pumilae equipment;
If recognizing, the charging equipment is not Fructus Mali pumilae equipment, by the short circuit electricity for detecting USB_DM pins and USB_DP pins
Press to recognize whether the charging equipment is Samsung equipment;
If charging equipment shown in identification is not Samsung equipment, during by the voltage for detecting USB_DM pins and USB_DP pins
Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing the charging equipment;
According to recognition result, parsed and responded based on instruction of the agreement to the charging equipment is filled soon accordingly, completed
Charging to the charging equipment.
The another object of the embodiment of the present invention be a kind of charger is provided fill protocol analysis system, the system soon
Including:
First identification module, for after the USB charging inlets that charging equipment connects charger, by the charger
Interface driving circuit obtain charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, and then
Recognize whether the charging equipment supports that MTK PE fill soon agreement;
Second identification module, for after the USB charging inlets that charging equipment connects charger, recognizing described to be charged set
Whether standby be Fructus Mali pumilae equipment;
3rd identification module, for when it is not Fructus Mali pumilae equipment that second identification module recognizes the charging equipment, passing through
The voltage sequential of detection USB_DM pins and USB_DP pins come recognize the charging equipment support QC2.0 fill soon agreement or
QC3.0 fills soon agreement;
First protocol analysis and respond module, for being tied according to the identification of first identification module and the 3rd identification module
Really, parsed and responded based on filling instruction of the agreement to the charging equipment soon accordingly, complete to be charged to be set to described
Standby charging.
The another object of the embodiment of the present invention be a kind of charger is provided fill protocol analysis system, the system soon
Including:
4th identification module, for after the USB charging inlets that charging equipment connects charger, by the charger
Interface driving circuit obtain the charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current,
And then recognize whether the charging equipment supports that MTK PE fill soon agreement;
5th identification module, for after the USB charging inlets that the charging equipment connects the charger, identification to be described
Whether charging equipment is Fructus Mali pumilae equipment;
6th identification module, for when it is not Fructus Mali pumilae equipment that the 5th identification module recognizes the charging equipment, passing through
Detect the short circuit voltage of the USB_DM pins and the USB_DP pins to recognize whether the charging equipment is that Samsung sets
It is standby;
7th identification module, for when the 6th identification module identification charging equipment is not Samsung equipment, by detection
The voltage sequential of the USB_DM pins and the USB_DP pins supports that QC2.0 fills soon association recognizing the charging equipment
View or QC3.0 fill soon agreement;
Second protocol is parsed and respond module, for being tied according to the identification of the 4th identification module and the 7th identification module
Really, parsed and responded based on filling instruction of the agreement to the charging equipment soon accordingly, complete to be charged to be set to described
Standby charging.
The another object of the embodiment of the present invention is to provide a kind of charger, including USB charging inlets and connection institute
The drive circuit of USB charging inlets is stated, the charger also fills soon protocol analysis system including one, described to fill protocol analysis soon
System is that charger as above fills soon protocol analysis system.
Charger provided in an embodiment of the present invention and its fill soon protocol analysis method, system can according to charging equipment from
The size of USB_VBus pin obtaining currents and the cycle of obtaining current recognize whether charging equipment supports that MTK PE fill soon association
View, and according to the voltage sequential of USB_DM pins and USB_DP pins come recognize charging equipment support QC2.0 fill soon agreement or
QC3.0 fills soon agreement, you can identify that main in the market three kind fill soon agreement:MTK PE fill soon agreement, QC2.0 and fill soon
Agreement, QC3.0 fill soon agreement, and agreement can be carried out according to recognition result instructing parsing and response, meanwhile, also support that Fructus Mali pumilae sets
Standby identification, and can further support the identification of Samsung equipment, various cell phone apparatus of identification so as to intelligence and fills soon agreement,
Accurately improve the charge efficiency to mobile phone.
Description of the drawings
Fig. 1 is the flow chart for filling protocol analysis method soon of the charger that the embodiment of the present invention one is provided;
Fig. 2 is in the embodiment of the present invention one, the flow chart whether identification charging equipment is Fructus Mali pumilae equipment;
Fig. 3 is in the embodiment of the present invention one, recognizes that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon the stream of agreement
Cheng Tu;
Fig. 4 is the flow chart for filling protocol analysis method soon of the charger that the embodiment of the present invention two is provided;
Fig. 5 is in the embodiment of the present invention two, the flow chart whether identification charging equipment is Samsung equipment;
Fig. 6 is in the embodiment of the present invention two, recognizes that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon the stream of agreement
Cheng Tu;
Fig. 7 is the structure chart for filling protocol analysis system soon of the charger that the embodiment of the present invention three is provided;
Fig. 8 is in Fig. 7, the structure chart of the second identification module;
Fig. 9 is in Fig. 7, the structure chart of the 3rd identification module;
Figure 10 is the structure chart for filling protocol analysis system soon of the charger that the embodiment of the present invention four is provided;
Figure 11 is in Figure 10, the structure chart of the 6th identification module;
Figure 12 is in Figure 10, the structure chart of the 7th identification module.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and
It is not used in the restriction present invention.
For prior art propose problem, the present invention propose a kind of charger and its fill soon protocol analysis method,
System.The method and system can be according to charging equipments from the size of USB_VBus pin obtaining currents and the cycle of obtaining current
To recognize whether charging equipment supports that MTK PE fill soon agreement, and during according to the voltage of USB_DM pins and USB_DP pins
Sequence supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement recognizing charging equipment.Come specifically below with reference to embodiment
The implementation of the bright present invention:
Embodiment one
What the embodiment of the present invention one proposed a kind of charger fills soon protocol analysis method, as shown in figure 1, including following step
Suddenly:
S00:After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of charger
Whether charging equipment recognizes charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current
Support that MTK PE fill soon agreement.
In embodiment one, charging equipment refers to that smart mobile phone, panel computer etc. need external power source to be charged just
Take formula electronic equipment;Charger refers to and fill agreement soon according to certain, civil power is changed the electricity that backward charging equipment charges
Sub- equipment, such as charger, portable power source.
In embodiment one, the pin of the USB charging inlets being related to is defined as:USB_VBus pins, i.e.,:VCC pin, be
Plant-grid connection pin, charging equipment after being connected with charger, the USB_VBus pins of the USB charging inlets of charger
Just start to provide+5V voltages to charging equipment, fill soon after agreement until detecting, switch other higher electricity such as+9V or+12V
Pressure carries out quick charge;USB_DM pins, i.e.,:D- pins, are data minus pin;USB_DP pins, i.e.,:D+ pins, are data
Positive pin.
For core processor is using the charging equipment of MTK processors, it supports that MTK PE fill soon agreement, treats when this kind of
After charger is connected with charger, can be from the USB_VBus pin obtaining currents of the USB charging inlets of charger, in connection
Early stage, according to MTK PE agreement is filled soon, and the size of obtaining current and the cycle of obtaining current should meet the regulation of agreement, therefore, in reality
In applying example one, by detecting whether charging equipment accords with from the size of USB_VBus pin obtaining currents and the cycle of obtaining current
Close the regulation that MTK PE fill soon agreement, you can identify whether charging equipment supports that MTK PE fill soon agreement:If meeting MTK
PE fills soon the regulation of agreement, then identify that charging equipment supports that MTK PE fill soon agreement;If not meeting MTK PE fills soon agreement
Regulation, then identify that charging equipment does not support that MTK PE fill soon agreement.
S01:After the USB charging inlets of charging equipment connection charger, whether identification charging equipment is that Fructus Mali pumilae sets
It is standby.
Further, as shown in Fig. 2 step S01 may include following steps:
S011:After the USB charging inlets of charging equipment connection charger, the interface driving circuit for controlling charger drives
USB_VBus pins export+5V charging voltages.
S012:Control interface drive circuit drives USB_DM pins and USB_DP pins to export 2.7V voltages respectively.
For Fructus Mali pumilae equipment, the USB_DM pins and USB_DP pins of its USB charging inlet are in high-impedance state, and other brands
Charging equipment in USB charging inlets USB_DM pins and USB_DP pins there is voltage or have driving force, because
This, it is recognizable to treat if charger can maintain not decline by the 2.7V voltages that USB_DM pins and USB_DP pins send
Charger is Fructus Mali pumilae equipment, is otherwise the equipment of other brands.
Additionally, in embodiment one, the voltage of 2.7V can be recognized by equipment such as Fructus Mali pumilae 2.4A, 2A, 2.1A, i.e., existing all kinds of
The identification of Fructus Mali pumilae portable electric appts is suitable for.
S013:Judge in the given time whether the voltage of USB_DM pins and USB_DP pins declines, and is then to perform step
Rapid S014, otherwise execution step S015.
S014:Identification charging equipment is not Fructus Mali pumilae equipment.
S015:Identification charging equipment is Fructus Mali pumilae equipment.
In embodiment one, after identifying that charging equipment is Fructus Mali pumilae equipment, because Fructus Mali pumilae equipment is not supported to fill agreement soon,
Therefore, interface driving circuit may proceed to drive USB_DM pins and USB_DP pins to export 2.7V voltages, Fructus Mali pumilae equipment meeting respectively
Inside voluntarily configures, and+5V the charging voltages exported using the USB_VBus pins of charger complete follow-up charging process.
S02:If identification charging equipment is not Fructus Mali pumilae equipment, by the electricity for detecting USB_DM pins and USB_DP pins
Press sequential to recognize that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement.
Further, as shown in figure 3, step S02 may include following steps:
S021:If identification charging equipment is not Fructus Mali pumilae equipment, control interface drive circuit stop driving USB_DM pins and
USB_DP pin output voltages.
S022:The voltage sequential of USB_DM pins and USB_DP pins is obtained by the interface driving circuit of charger.
S023:If the voltage sequential for obtaining meets the regulation that QC2.0 fills soon agreement, identification charging equipment is supported
QC2.0 fills soon agreement, if the voltage sequential for obtaining meets the regulation that QC3.0 fills soon agreement, identification charging equipment is supported
QC3.0 fills soon agreement.
S03:According to recognition result, parsed and responded based on instruction of the agreement to charging equipment is filled soon accordingly,
Complete the charging to charging equipment.
I other words, according to recognition result, if charging equipment supports that MTK PE fill soon agreement, association is filled soon based on MTK PE
Discuss the instruction to charging equipment to be parsed and responded, complete the charging to charging equipment;If charging equipment is supported
QC2.0 fills soon agreement, then fill instruction of the agreement to charging equipment soon based on QC2.0 and parsed and responded, and completes to treat and fills
The charging of electric equipment;If charging equipment supports that QC3.0 fills soon agreement, agreement is filled soon to charging equipment based on QC3.0
Instruction is parsed and responded, and completes the charging to charging equipment.
The protocol analysis method that fills soon of the charger that the embodiment of the present invention one is provided can be according to charging equipment from USB_
The size of VBus pin obtaining currents and the cycle of obtaining current recognize whether charging equipment supports that MTK PE fill soon agreement,
And according to the voltage sequential of USB_DM pins and USB_DP pins come recognize charging equipment support QC2.0 fill soon agreement or
QC3.0 fills soon agreement, you can identify that main in the market three kind fill soon agreement:MTK PE fill soon agreement, QC2.0 and fill soon
Agreement, QC3.0 fill soon agreement, and agreement can be carried out according to recognition result instructing parsing and response, meanwhile, also support that Fructus Mali pumilae sets
Standby identification, various cell phone apparatus of identification so as to intelligence and fills soon agreement, accurately charge efficiency of the raising to mobile phone.
Embodiment two
What the embodiment of the present invention two proposed a kind of charger fills soon protocol analysis method.It is different from embodiment one, embodiment
In two, after the step of performing identification Fructus Mali pumilae equipment, the step of identification QC2.0 fills soon agreement or QC3.0 fills agreement soon
Before, the identification of Samsung equipment can also be carried out.Specifically as shown in figure 4, comprising the following steps:
S10:After the USB charging inlets of charging equipment connection charger, obtained by the interface driving circuit of charger
Whether charging equipment recognizes charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current
Support that MTK PE fill soon agreement.The step is identical with step S00 in embodiment one, does not repeat.
S11:After the USB charging inlets of charging equipment connection charger, whether identification charging equipment is that Fructus Mali pumilae sets
It is standby.The step is identical with step S01 in embodiment one, does not repeat.
S12:If identification charging equipment is not Fructus Mali pumilae equipment, by detecting the short of USB_DM pins and USB_DP pins
Connect voltage to recognize whether charging equipment is Samsung equipment.
Further, if step S11 is using the executive mode as described in step S011 to step S015, as shown in figure 5,
Step S12 may include following steps:
S121:Control interface drive circuit stops driving USB_DM pins and USB_DP pin output voltages.
S122:Control interface drive circuit is by USB_DM pins and USB_DP pin short circuits.
S123:Judge the voltage of USB_DM pins or USB_DP pins whether more than 0.325V and the persistent period is more than 1.25
Second, it is then execution step S124, otherwise execution step S125.
S124:Identification charging equipment is supported to fill agreement soon.
S125:Identification charging equipment is Samsung equipment.
S126:After Samsung equipment is identified, control interface drive circuit drives USB_DM pins and USB_DP pins point
Shu Chu not 1.2V voltages.
In embodiment two, after identifying that charging equipment is Samsung equipment, because Samsung equipment is not supported to fill agreement soon,
Therefore, interface driving circuit may proceed to drive USB_DM pins and USB_DP pins to export 1.2V voltages, Samsung equipment meeting respectively
Inside voluntarily configures, and+5V the charging voltages exported using the USB_VBus pins of charger complete follow-up charging process.
S13:If identification charging equipment is not Samsung equipment, by the electricity for detecting USB_DM pins and USB_DP pins
Press sequential to recognize that charging equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement.
Further, if step S12 is using the executive mode as described in step S121 to step S126, as shown in fig. 6,
Step S13 may include following steps:
S131:If identification charging equipment is not Samsung equipment, control interface drive circuit discharges USB_DM pins and USB_
The short circuit state of DP pins.
S132:The voltage sequential of USB_DM pins and USB_DP pins is obtained by the interface driving circuit of charger.
S133:If the voltage sequential for obtaining meets the regulation that QC2.0 fills soon agreement, identification charging equipment is supported
QC2.0 fills soon agreement, if the voltage sequential for obtaining meets the regulation that QC3.0 fills soon agreement, identification charging equipment is supported
QC3.0 fills soon agreement.
S14:According to recognition result, parsed and responded based on instruction of the agreement to charging equipment is filled soon accordingly,
Complete the charging to charging equipment.The step is identical with step S03 in embodiment one, does not repeat.
Relative to embodiment one, the protocol analysis method that fills soon of the charger that the embodiment of the present invention two is provided is being realized
MTK PE fill soon agreement, QC2.0 and fill agreement, QC3.0 soon and fill soon on the basis of agreement, the identification of Fructus Mali pumilae equipment, it is furthermore achieved that
The identification of Samsung equipment, so as to enriching discernible cell phone apparatus type.
Embodiment three
What the embodiment of the present invention three proposed a kind of charger fills soon protocol analysis system, as shown in fig. 7, comprises:First knows
Other module 00, for after the USB charging inlets that charging equipment connects charger, by the interface driver electricity of charger
Road obtains charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, and then recognizes to be charged setting
It is standby whether to support that MTK PE fill soon agreement;Second identification module 01, the USB for connecting charger in charging equipment charges
After interface, whether identification charging equipment is Fructus Mali pumilae equipment;3rd identification module 02, for treating when the identification of the second identification module 01
It is to be charged to recognize by the voltage sequential for detecting USB_DM pins and USB_DP pins when charger is not Fructus Mali pumilae equipment
Equipment supports that QC2.0 fills soon agreement or QC3.0 fills soon agreement;First protocol analysis and respond module 03, for knowing according to first
The recognition result of the identification module 02 of other module 00 and the 3rd, is solved based on instruction of the agreement to charging equipment is filled soon accordingly
Analysis and response, complete the charging to charging equipment.
Further, as shown in figure 8, the second identification module 01 may include:First control submodule 011, for waiting to fill
After the USB charging inlets of electric equipment connection charger, the interface driving circuit for controlling charger drives USB_VBus pins
Output+5V charging voltages;Second control submodule 012, for control interface drive circuit USB_DM pins and USB_DP are driven
Pin exports respectively 2.7V voltages;First judging submodule 013, for judging in the given time, USB_DM pins and USB_
Whether the voltage of DP pins declines;First identification submodule 014, for judging USB_DM pins when the first judging submodule 013
When declining with the voltage of USB_DP pins, identification charging equipment is not Fructus Mali pumilae equipment;Second identification submodule 015, for working as
When first judging submodule 013 judges that the voltage of USB_DM pins and USB_DP pins does not decline, identification charging equipment is
Fructus Mali pumilae equipment.
Further, as shown in figure 9, the 3rd identification module 02 may include:3rd control submodule 021, for when second
The identification charging equipment of identification module 01 is not when being Fructus Mali pumilae equipment, control interface drive circuit stop driving USB_DM pins and
USB_DP pin output voltages;First acquisition submodule 022, for obtaining USB_DM by the interface driving circuit of charger
The voltage sequential of pin and USB_DP pins;3rd identification submodule 023, for the electricity obtained when the first acquisition submodule 022
When pressure sequential meets QC2.0 and fills the regulation of agreement soon, identification charging equipment supports that QC2.0 fills soon agreement, and obtains when first
When the voltage sequential that submodule 022 is obtained meets QC3.0 and fills the regulation of agreement soon, identification charging equipment supports that QC3.0 fills soon
Agreement.
The protocol analysis system of filling soon of the charger that the embodiment of the present invention three is provided can be according to charging equipment from USB_
The size of VBus pin obtaining currents and the cycle of obtaining current recognize whether charging equipment supports that MTK PE fill soon agreement,
And according to the voltage sequential of USB_DM pins and USB_DP pins come recognize charging equipment support QC2.0 fill soon agreement or
QC3.0 fills soon agreement, you can identify that main in the market three kind fill soon agreement:MTK PE fill soon agreement, QC2.0 and fill soon
Agreement, QC3.0 fill soon agreement, and agreement can be carried out according to recognition result instructing parsing and response, meanwhile, also support that Fructus Mali pumilae sets
Standby identification, various cell phone apparatus of identification so as to intelligence and fills soon agreement, accurately charge efficiency of the raising to mobile phone.
Example IV
What the embodiment of the present invention four proposed a kind of charger fills soon protocol analysis system, as shown in Figure 10, including:4th knows
Other module 10, for after the USB charging inlets that charging equipment connects charger, by the interface driver electricity of charger
Road obtains charging equipment from the size of USB_VBus pin obtaining currents and the cycle of obtaining current, and then recognizes to be charged setting
It is standby whether to support that MTK PE fill soon agreement;5th identification module 11, the USB for connecting charger in charging equipment charges
After interface, whether identification charging equipment is Fructus Mali pumilae equipment;6th identification module 12, for treating when the identification of the 5th identification module 11
It is to be charged to recognize by the short circuit voltage for detecting USB_DM pins and USB_DP pins when charger is not Fructus Mali pumilae equipment
Whether equipment is Samsung equipment;7th identification module 13, for recognizing that charging equipment is not Samsung when the 6th identification module 12
During equipment, recognize that charging equipment supports that QC2.0 fills soon by detecting the voltage sequential of USB_DM pins and USB_DP pins
Agreement or QC3.0 fill soon agreement;Second protocol is parsed and respond module 14, for according to the 4th identification module 10 and the 7th identification
The recognition result of module 13, is parsed and is responded based on instruction of the agreement to charging equipment is filled soon accordingly, completes to treat
The charging of charger.
Further, as shown in figure 11, the 6th identification module 12 may include:4th control submodule 121, connects for control
Mouth drive circuit stops driving USB_DM pins and USB_DP pin output voltages;5th control submodule 122, connects for control
Mouthful drive circuit is by USB_DM pins and USB_DP pin short circuits;Second judging submodule 123, for judge USB_DM pins or
Whether the voltage of USB_DP pins is more than 0.325V and the persistent period is more than 1.25 seconds;4th identification submodule 124, for when the
Two judging submodules 123 judge the voltage of USB_DM pins or USB_DP pins more than 0.325V and the persistent period is more than 1.25 seconds
When, identification charging equipment is supported to fill agreement soon;5th identification submodule 125, for judging when the second judging submodule 123
When the voltage of USB_DM pins or USB_DP pins is not more than 1.25 seconds more than 0.325V and persistent period, to be charged setting is recognized
Standby is Samsung equipment;6th control submodule 126, for after the 5th identification submodule 125 identifies Samsung equipment, control to connect
Mouth drive circuit drives USB_DM pins and USB_DP pins to export 1.2V voltages respectively.
Further, as shown in figure 12, the 7th identification module 13 may include:7th control submodule 131, for when the 6th
When the identification charging equipment of identification module 12 is not Samsung equipment, control interface drive circuit discharges USB_DM pins and USB_DP
The short circuit state of pin;Second acquisition submodule 132, for obtaining USB_DM pins by the interface driving circuit of charger
With the voltage sequential of USB_DP pins;6th identification submodule 133, for when the voltage that the second acquisition submodule 132 is obtained
Sequence meets QC2.0 when filling the regulation of agreement soon, and identification charging equipment supports that QC2.0 fills soon agreement, and obtains submodule when second
When the voltage sequential that block 132 is obtained meets QC3.0 and fills the regulation of agreement soon, identification charging equipment supports that QC3.0 fills soon agreement.
Relative to embodiment three, the protocol analysis method that fills soon of the charger that the embodiment of the present invention four is provided is being realized
MTK PE fill soon agreement, QC2.0 and fill agreement, QC3.0 soon and fill soon on the basis of agreement, the identification of Fructus Mali pumilae equipment, it is furthermore achieved that
The identification of Samsung equipment, so as to enriching discernible cell phone apparatus type.
Embodiment five
The embodiment of the present invention five proposes a kind of charger, including the drive of USB charging inlets and connection USB charging inlets
Galvanic electricity road, the charger also fills soon protocol analysis system including one, and it is such as embodiment three or real that this fills soon protocol analysis system
That applies the charger described in example four fills soon protocol analysis system, does not repeat.
One of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method can be
The hardware that correlation is controlled by program is completed, described program can in a computer read/write memory medium is stored in,
Described storage medium, such as ROM/RAM, disk, CD.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.