The content of the invention
It is an object of the invention to provide a kind of charging method, charger and terminal, in equal line lossUnder the premise of increase charging current and realize more quickly charging, or reduced under the premise of equal charging currentIn USB charging processes caused by high current line loss.
In order to solve the above technical problems, the invention provides a kind of charging method, it is described applied to terminalThe USB interface of terminal includes:Power line, correction data line and negative data line, including:
Whether the access device that the terminal recognition inserts its USB interface is matching quick chargeDevice;
It is described when it is matching quick charger to recognize the access device for inserting its USB interfaceAt least one in the correction data line or negative data line is connected to the power line by terminal;
Perform charging input operation.
Wherein, whether the access device that the terminal judges to insert its USB interface is matching quickThe step of charger, includes:
When detecting that the access device inserts the USB interface, the terminal performs quick charge and knownIt Zhun Bei not operate, and charger recognition and verification order is initiated to the access device;
When receiving the recognition and verification signal of the access device, the terminal thinks to insert the USBThe access device of interface is matching quick charger.
Wherein, when one in the correction data line or negative data line is connected to the power supply by the terminalAfter line, during the execution charging input operation, methods described also includes:The terminal makesWith remaining data lines in the correction data line or negative data line by charge control information transfer to describedQuick charger;And/or;
It is described before the correction data line and negative data line are all connected to the power line by the terminalMethod also includes:The terminal gives charge control information transfer to the quick charger.
Present invention also offers a kind of charging method, applied to charger, the USB interface of the chargerIncluding:Power line, correction data line and negative data line, including:
Whether the terminal that its USB interface is inserted in the charger identification is that matching quick charge is wholeEnd;
It is described to fill when it is matching quick charge terminal to recognize the terminal for inserting its USB interfaceAt least one in the correction data line or negative data line is connected to the power line by electrical equipment;
Perform charging output operation.
Wherein, whether the terminal that its USB interface is inserted in charger identification is matching quick fillThe step of electric terminals, including:
When detecting that the terminal inserts the USB interface, the charger performs quick charge identificationPrepare operation;
When receiving the charger recognition and verification order that the terminal is sent, the charger is thought to insertThe terminal of the USB interface is matching terminal, while returns to recognition and verification signal to the endEnd.
Wherein, when one in the correction data line or negative data line is connected to the electricity by the chargerAfter the line of source, during the execution charging output operation, methods described also includes:The chargingDevice is transmitted using remaining data lines in the correction data line or negative data line to receive the terminalCharge control information;And/or;
Before the correction data line and negative data line are all connected to the power line by the charger, instituteStating method also includes:The charger receives the charge control information that the terminal transmits.
In order to solve the above-mentioned technical problem, present invention also offers a kind of terminal, comprising:
Charge Management unit, whether the access device that its USB interface is inserted for identifying is matchingQuick charger;
Controlling switch, for identifying that the access device for inserting its USB interface is in the Charge Management unitDuring matching quick charger, by the correction data line or negative data line of the terminal USB interfaceAt least one power line for being connected to the terminal USB interface;
Charge converting unit, for when the controlling switch by the correction data line or negative data line extremelyFew one is connected to after the power line, performs charging input operation.
Wherein, the Charge Management unit is specifically used for:
When detecting that the access device inserts the USB interface, the controlling switch is controlled by described inCorrection data line and negative data line are connected to the Charge Management unit, prepare behaviour to perform quick charge identificationMake, and charger recognition and verification order is initiated to the access device;
And when receiving the recognition and verification signal of the access device, then it is assumed that insert the USB and connectThe access device of mouth is matching quick charger.
Wherein, the Charge Management unit, it is additionally operable to do not receiving the recognition and verification of the access deviceDuring signal, detect whether the access device is charger;
The charging converting unit, for detecting that the access device is to fill in the Charge Management unitDuring electrical equipment, charging input operation is performed;
The controlling switch, for detecting that the equipment is not charger in the Charge Management unitWhen, the correction data line and negative data line are connected to the usb protocol process chip of the terminal, so thatThe terminal performs usb protocol operation.
Wherein, one in the correction data line or negative data line is connected in the controlling switch describedAfter power line, during the charging converting unit performs charging input operation, the Charge ManagementUnit is using remaining one in the correction data line or negative data line by charge control information transfer to describedQuick charger;And/or;
After the correction data line and negative data line are connected to the power line by the controlling switch, instituteBefore stating the recognition and verification signal that Charge Management unit receives the equipment, the Charge Management unit is alsoFor giving charge control information transfer to the quick charger.
Correspondingly, present invention also offers a kind of charger, including:
Charge Management unit, whether the terminal that its USB interface is inserted for identifying is matching quickCharging terminal;
Controlling switch, for when the Charge Management unit recognize insert its USB interface terminal be withMatching quick charge terminal when, at least one in the correction data line or negative data line is connected toThe power line;
Power output unit, for when the controlling switch by the correction data line or negative data line extremelyFew one is connected to after the power line, performs charging output operation.
Wherein, the Charge Management unit is specifically used for:
When detecting that the terminal inserts the USB interface, the controlling switch is controlled by the positive numberThe Charge Management unit is connected to according to line and negative data line, prepares operation to perform quick charge identification;And
When receiving the charger recognition and verification order that the terminal is sent, it is believed that insert the USB and connectThe terminal of mouth is matching quick charge terminal, and returns to recognition and verification signal to the terminal;WithAnd
When not receiving the charger recognition and verification order that the terminal is sent in preset time threshold,It is not matching quick charge terminal to think the terminal for inserting the USB interface, controls the controlThe correction data line and negative data line are connected to preset mode by switch, so that the charger is default at thisIt is the terminal charge of the insertion USB interface under pattern.
Wherein, one in the correction data line or negative data line is connected in the controlling switch describedAfter power line, during the power output unit performs charging output operation, the Charge ManagementUnit is additionally operable to transmit to receive the terminal by remaining one in the correction data line or negative data lineCharge control information;And/or
After the correction data line and negative data line are connected to the power line by the controlling switch, instituteState Charge Management unit and be sent to the recognition and verification signal to after the terminal, the Charge Management listMember is additionally operable to receive the charge control information that the terminal transmits.
The beneficial effects of the invention are as follows:
More than method and apparatus, charger to terminal when exporting charging current, except can rely on VBUSBeyond line, one or two in D+ lines or D- lines is may also rely on, i other words in the past by quickly fillingElectrical equipment is transferred to the electric current of terminal by VBUS lines, now at least can by VBUS lines, andOne or two in D+ lines or D- lines is transmitted, so can be under the premise of equal line lossIncrease charging current and realize more quickly charging, or can also be reduced under the premise of equal charging currentIn USB charging processes caused by high current line loss.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this hairBright each embodiment is explained in detail.However, it will be understood by those skilled in the art thatIn each embodiment of the present invention, in order that reader more fully understands the application and to propose many technologies thinSection.But even if without these ins and outs and many variations based on following embodiment and modification,Each claim of the application technical scheme claimed can also be realized.
During being charged, two parts of charger and terminal are generally included.Charger passes throughBattery of the USB cable power output to terminal, therefore, it is necessary to charger and terminal in charging processCooperate, so as to realize to terminal charge.Based on above-mentioned understanding, the present invention proposes a kind of charging sideMethod, charger and terminal.Below, will be described in detail by specific embodiment.
Fig. 1 is refer to, is the schematic flow sheet of the first embodiment of the charging method of the present invention.Fig. 1 institutesThe embodiment shown, charging process will be described from end side.The USB interface of the terminal includes:Power line (afterText is referred to as VBUS lines), correction data line (being hereinafter D+ lines), negative data line it is (simple hereinafterReferred to as D- lines) and ground wire (i.e. GND lines).Specifically, the charging method of the embodiment of the present invention,It is comprised the following steps:
S101, whether the access device that terminal recognition inserts its USB interface is matching quick fillElectrical equipment.
Wherein, the purpose access device for inserting its USB interface being identified in S101 is:JudgeTerminal what operation of the execution in next step, if recognizing the access device for inserting its USB interface as therewithDuring the quick charger matched somebody with somebody, then terminal is needed to perform S105, and connecing for its USB interface is inserted if recognizingWhen to enter equipment be not matching quick charger, terminal is further again to be detected, next to judgeThe operation of step.
Specifically, whether terminal is matching quick in the access device that its USB interface is inserted in identificationDuring charger, i.e., when performing S101, as shown in Fig. 2 may include steps of:
S1011, when detecting the USB interface of access device insertion terminal, terminal, which performs, quickly fillsElectricity identification prepares operation, and initiates charger recognition and verification order to access device;
In this step, the charger recognition and verification order that terminal is initiated to equipment for example can be:Voltage is drawnRecognition command that is high or dragging down.
S1012, when receiving the recognition and verification signal of the access device, terminal thinks to insert its USBThe access device of interface is matching quick charger.
Terminal recognition to insert its USB interface access device be matching quick charger, i.e.,When terminal is adapted to quick charger, then after performing S105, then S103 is performed;Terminal recognition to insertWhen the access device for entering its USB interface is not matching quick charger, as terminal is set to accessAfter preparation plays charger recognition and verification order, the recognition and verification signal of access device return is not received byWhen, terminal then thinks that the access device for inserting its USB interface is not matching quick charger, i.e.,When terminal is not adapted to quick charger, S102-S104 is now then performed.
S102, whether terminal detection access device is charger;
In this step, terminal is not adapted to success with quick charger, and terminal needs detection insertion USB to connectWhether the equipment of mouth is in general charger, such as meets the charger of certain preset mode, such as BC1.2The charger of agreement.If access device is charger, S103 is performed;If access device is not charger,Then perform S104;
S103, terminal perform charging input operation;
This step performs normal charge operation, such as uses any charging modes of the prior art,After charging complete, this charging process terminates.
S104, then terminal execution usb protocol operation.
In this step, terminal detects that the access device of insertion is not charger, then terminal is needed its D+Line and D- lines are connected to the usb protocol process chip of terminal, to perform usb protocol operation.
At least one in D+ lines or D- lines is connected to VBUS lines by S105, terminal;
In S105, terminal connects one or two in the D+ lines or D- lines on its USB interfaceOnto VBUS lines, correspondingly, now matching quick charger is also by its USB interfaceOne or two in D+ lines or D- lines is connected on VBUS lines, and is connected to VBUS's with terminalD+ lines or D- line options are the same.Now, S103 can be performed between terminal and quick charger, i.e.,Charging input operation, during S103 is performed, can use VBUS lines and D+ lines or D-One or two in line carries out electric current transmission.Filled with VBUS lines transmission electric current is used only at presentThe technical scheme of electricity is compared, the quick charger of the embodiment of the present invention when exporting charging current to terminal,In addition to it can rely on VBUS lines, one or two in D+ lines or D- lines is may also rely on, isIt is transferred to the electric current of terminal before saying by VBUS lines by quick charger, can at least passes through nowOne or two in VBUS lines, and D+ lines or D- lines is transmitted, so can be equalIncrease charging current under the premise of line loss and realize more quickly charging, or can also be in equal charging electricityUnder the premise of stream reduce USB charging processes in caused by high current line loss.Such as, according to horse-power formula,Line loss when VBUS lines transmission charging current being used only in the prior art is P=I2×R;Work as useDuring the same charging current of the scheme transmission of the embodiment of the present invention, if using VBUS lines and D+ lines, orWhen VBUS lines and D- lines are to transmit electric current, line loss now is P '=2 × (I/2)2× R=1/2 ×I2× R=P/2, i.e. total line loss are the half of prior art;If use VBUS lines, and D+ linesElectric current is transmitted with D- lines, then line loss now is P "=3 × (I/3)2× R=1/3 × I2× R=P/3,I.e. total line loss is the half 1/3 of prior art.
It should be noted that when terminal using its VBUS line and D+ lines to transmit electric current when, chargingDuring, the communication modes of D- lines are changed to single-wire communication mode, and terminal can use D- lines to charge and controlInformation transfer processed is to quick charger, until charging terminates;When transmitting electric current in VBUS lines and D- linesWhen, in charging process, the communication modes of D+ lines are changed to single-wire communication mode, and terminal can useD+ lines to quick charger, terminate charge control information transfer until charging.Wherein, the charging of transmissionControl information can for example include:The battery capacity of terminal, current conditions etc..
When terminal using its VBUS line, D+ lines and D- lines to transmit electric current when, in charging process,Because D+ lines and D- lines are used for transmitting electric current, therefore, D+ lines and D- lines are being all connected to VBUSBefore line, terminal can be in advance by charge control information transfer to quick charger.
Below, the differentiation to charger of end side by Fig. 3 and Fig. 4, will be described in detail and chargedJourney.
As shown in figure 3, when the USB interface of terminal has access device insertion (S301), terminal performs fastSpeed charging identification prepares operation (S302), initiates charger recognition and verification order (S303).Terminal detects whetherThe recognition and verification signal (S304) of access device return is received, it is true in the identification for receiving access device returnTo recognize after signal, D+ lines are connected to the VBUS lines of insertion terminal by terminal, while by D- lines communication sideFormula is changed to single-wire communication mode (S305), and starts charging input operation, is charged (S306) to battery.And charge control information is transmitted to charger by D-, judge whether charging terminates (S307).Tied in chargingAfter beam, stop charging (S308).
When do not receive access device return recognition and verification signal, terminal detection access device whether be notThe charger (S309) of BC1.2 agreements.Terminal check access device be meet equipment be meet BC1.2 associationThe charger of view, start charging conversion, perform normal charge operation, charged to battery until terminating.After the completion of to be charged, charging terminates (S308).If access device nor the charger of BC1.2 agreements,Terminal then performs usb protocol operation, and D+ lines and the switching of D- lines are connected into usb protocol process chip(S310).The present embodiment is in charging process, due to transmitting electric current using VBUS lines and D+ lines, withLine loss when VBUS lines transmission charging current being used only in the prior art is P=I2× R is compared, and is madeLine loss during charging current same with the scheme transmission of the embodiment of the present invention is P '=2 × (I/2)2× R=1/2×I2× R=P/2, i.e. total line loss are the half of prior art;Or in equal total total lineQuickly charging can be achieved under the premise of loss identical, charging current is that VBUS lines are used only to transmit charging1.4 times during electric current;Or as the every line loss with VBUS lines on the premise of, it is possible to achieve2 times of the charging current that charging current is transmitted for only VBUS lines.
As shown in figure 4, the workflow of terminal is roughly the same with the workflow of terminal in Fig. 3 in Fig. 4,Uniquely differ only in, terminal switches D+ lines and D- lines after recognition and verification signal is receivedIt is connected to VBUS lines, i.e. Fig. 3 and Fig. 4's differs only in S405.The present embodiment in charging process,Due to transmitting electric current using VBUS lines, D+ lines and D- lines, with VBUS is used only in the prior artLine loss during line transmission charging current is P=I2× R is compared, and is passed using the scheme of the embodiment of the present inventionLine loss during defeated same charging current is P "=3 × (I/3)2× R=1/3 × I2× R=P/3, i.e. busPath loss consumption is the half 1/3 of prior art;Or realized under the premise of identical is lost in total line quickCharging, charging current are 1.7 times when VBUS lines transmission charging current is used only;Or in every linePath loss consume and as VBUS lines on the premise of, it is possible to achieve charging current be using only VBUS lines transmission3 times during charging current.
Fig. 5 is refer to, is the schematic flow sheet of the fourth embodiment of charging method provided by the invention.FigureEmbodiment shown in 5, charging process will be described from charger side, its with the embodiment shown in Fig. 1End side description is mutually corresponding.The USB interface of the charger includes:Power line (is hereinafter VBUSLine), correction data line (being hereinafter D+ lines), negative data line (being hereinafter D- lines) andGround wire (i.e. GND lines).Specifically, the charging method of the embodiment of the present invention, it is comprised the following steps:
S501, whether the terminal that its USB interface is inserted in charger identification is matching quick chargeTerminal;
Wherein, the purpose that the equipment for inserting its USB interface is identified charger in S501 is:SentenceDisconnected charger this how output current;If it is matching fast to recognize and insert the terminal of its USB interfaceDuring fast charging terminal, then charger performs S502-S503;If recognize the equipment for inserting its USB interfaceWhen not being matching quick charge terminal, then S504 is performed, S504 is corresponding with S104, chargerThen it is entered as certain preset mode, such as BC1.2 protocol modes under the preset mode to terminalRow charging is until terminate.
Specifically, whether charger is matching quick fill in the terminal that its USB interface is inserted in identificationDuring electric terminals, that is, when performing S501, as shown in fig. 6, specifically may include steps of:
S5011, when detecting that terminal inserts its USB interface, it is accurate that charger performs quick charge identificationStandby operation;
S5012, when receiving the charger recognition and verification order that terminal is sent in preset time threshold,The terminal that charger is thought to insert its USB interface is matching quick charge terminal, while returns to knowledgeOther confirmation signal gives the terminal.
It is understood that S5011-S5012 is corresponding with S1011-S1012, by the corresponding step,It can quickly judge whether be adapted to each other between terminal and charger.
Charger recognize insert its USB interface equipment be matching quick charge terminal when,When i.e. terminal is adapted to charger, then S502-S303 is performed;Charger recognize insert its USB connectWhen the equipment of mouth is not matching quick charge terminal, as charger does not have in preset time thresholdThe charger recognition and verification order that terminal is sent is received, then charger thinks that terminal is not matching fastFast charging terminal, now charger without feedback identifying confirmation signal to terminal, i.e. terminal and chargerWhen not being adapted to, S504 is now then performed.
S502, charger connect at least one in the correction data line or negative data line of its USB interfaceTo its power line.
S503, perform charging output operation.
It is corresponding with S105, S103 with S502-S503, insert its USB interface when charger recognizesWhen terminal is matching quick charge terminal, it is necessary to by the D+ lines or D- lines of its USB interfaceAt least one is connected on its VBUS line.Correspondingly, now matching quick charge terminal also willOne or two in D+ lines or D- lines on its USB interface is connected on VBUS lines, and and terminalThe D+ lines or D- line options for being connected to VBUS are the same.Now, between terminal and chargerRealize quick charging operations, i.e. then use its VBUS line for charger, and D+ lines orOne or two in D- lines exports charging current to terminal;It is then used for quick charge terminalOne or two in VBUS lines, and D+ lines or D- lines receives the charging current of charger output.Compared with technical scheme of the current VBUS lines transmission electric current to realize charging, the charging of the embodiment of the present inventionDevice in addition to it can rely on VBUS lines, may also rely on D+ lines when exporting charging current to terminalOr one in D- lines or two, i other words the electric current of terminal is transferred to by VBUS lines in the past, nowAt least can be by VBUS lines, and one or two in D+ lines or D- lines is transmitted, thisSample can circuit damages caused by high current in reduction USB charging processes under the premise of equal charging currentConsumption.Such as, according to horse-power formula, circuit during charging current is transmitted using only VBUS lines in the prior artIt is lost as P=I2×R;When the same charging current of the scheme transmission using the embodiment of the present invention, if usingVBUS lines and D+ lines, or when VBUS lines and D- lines are to transmit electric current, line loss now is P '=2 × (I/2)2× R=1/2 × I2× R=P/2, i.e. total line loss are the half of prior art;If useVBUS lines, and D+ lines and D- lines transmit electric current, then line loss now is P "=3 × (I/3)2× R=1/3 × I2× R=P/3, i.e. total line loss are the half 1/3 of prior art.OrWhen ensureing same line loss, if using VBUS lines and D+ lines, or VBUS lines and D- lines transmitDuring charging current, the charging current of transmission is 1.4 times that charging current is transmitted using only VBUS lines;IfUsing VBUS lines, and D+ lines and D- lines transmit charging current, transmit the charging stream of electricity only to makeWith 1.7 times of VBUS transmission charging currents.Or under the premise of every circuit line loss identical, ifUsing VBUS lines and D+ lines, or when VBUS lines and D- lines are to transmit charging current, the charging of transmissionElectric current is 2 times when charging current is transmitted using only VBUS lines;If use VBUS lines, and D+Line and D- lines transmit charging current, and the charging current of transmission is to transmit charging current using only VBUS lines3 times.
It should be noted that when charger using its VBUS line and D+ lines to transmit electric current when, fillingIn electric process, the communication modes of D- lines are changed to single-wire communication mode, and charger can be connect using D- linesThe charge control information that terminal is sent is received, until charging terminates;When charger using its VBUS line andWhen in D- lines to transmit electric current, in charging process, the communication modes of D+ lines are changed to single-wire communication mode,Charger can carry out the charge control information that receiving terminal is sent using D+ lines, until charging terminates.Wherein,The charge control information of transmission can for example include:The battery capacity of terminal, current conditions etc..
When charger using its VBUS line, D+ lines and D- lines to transmit electric current when, in charging process,Because D+ lines and D- lines are used for transmitting electric current, therefore, D+ lines and D- lines are being all connected to VBUSBefore line, charge control information that the receiving terminal that charger can shift to an earlier date transmits.
Below, identification and charging process of the charger to terminal will be described in detail by Fig. 7 to Fig. 8.
Fig. 7 is refer to, is the course of work of charger, the process is worked with the terminal shown in Fig. 3Journey is corresponding.After charger inserts terminal to be charged (S701), it is accurate that charger performs quick charge identificationStandby operation (S702).Then detect whether that receiving the charger that terminal is sent confirms life in certain timeMake (S703).If after receiving confirmation order, feedback identifying confirmation signal gives terminal (S704).ThenD+ lines are connected to VBUS lines, while D- lines are changed into single-wire communication mode (S705).Pass throughThe charge control information that D- receiving terminals are sent carries out charging until charging terminates (S706).When defaultBetween charger do not received in threshold value, such as in certain time confirm order (S707), that is, confirm time-out,D+ and D- switchings are then connected to certain preset mode state (S708), such as BC1.2 protocol modes,To terminal charge until terminating (S709) under the preset mode.The charger of the present embodiment was chargingCheng Zhong, due to transmitting electric current to terminal using VBUS lines and D+ lines, with being used only in the prior artLine loss during VBUS lines transmission charging current is P=I2× R is compared, and uses the embodiment of the present inventionLine loss during the same charging current of scheme transmission is P ,=2 × (I/2)2× R=1/2 × I2× R=P/2,I.e. total line loss is the half of prior art.
As shown in figure 8, being the course of work of charger, the process is worked with the terminal shown in Fig. 4Journey is corresponding.The workflow of charger is roughly the same with the workflow of charger in Fig. 7 in Fig. 8, onlyOne differs only in, and charger is after charger recognition and verification order is received, by D+ lines and D-Line switching is connected to VBUS lines, i.e. Fig. 7 and Fig. 8's differs only in S805-S806.The present embodimentIn charging process, because charger using VBUS lines, D+ lines and D- lines transmits electric current to terminal,Line loss during with VBUS lines transmission charging current being used only in the prior art is P=I2× R is compared,Line loss during charging current same using the scheme transmission of the embodiment of the present invention is P "=3 × (I/3)2×R=1/3 × I2× R=P/3, i.e. total line loss are the half 1/3 of prior art.
Corresponding to the first embodiment of above-mentioned charging method, present invention also offers a kind of terminal 9.The endEnd can be smart mobile phone, tablet personal computer etc..The details being related in the first embodiment of above-mentioned charging methodIt can be performed by the terminal 9.
As shown in figure 9, the terminal 9 of the present invention can include:Charge Management unit 91, controlling switch92 and charging converting unit 93.
Wherein, Charge Management unit 91, for identify insert its USB interface access device whether beMatching quick charger;
Controlling switch 92, the access device of its USB interface is inserted for being identified in Charge Management unit 91For matching quick charger when, by least one in the D+ lines or D- lines of terminal USB interfaceIt is connected to the VBUS lines of terminal USB interface;
Charge converting unit 93, for when controlling switch 92 is by least company in D+ lines or D- linesIt is connected to after VBUS lines, performs charging input operation.
Specifically, Charge Management unit 91 is specifically used for:When detecting access device insertion terminalDuring USB interface, D+ lines and D- lines are connected to Charge Management unit 91 by control controlling switch 92, withPerform quick charge identification and prepare operation, and charger recognition and verification order is initiated to access device;AndWhen receiving the recognition and verification signal of access device, then it is assumed that the access device of insertion terminal USB interfaceFor matching quick charger.
Specifically, Charge Management unit 91 is additionally operable to do not receiving the recognition and verification signal of access deviceWhen, detect whether the equipment is charger;Charge converting unit 93, in Charge Management unit 91When to detect access device be charger, charging input operation is performed;Controlling switch 92, for chargingAdministrative unit 91 detects access device when not being charger, and D+ lines and D- lines are connected into terminalUsb protocol process chip, so that terminal performs usb protocol operation.
Corresponding to the fourth embodiment of above-mentioned charging method, present invention also offers a kind of charger 10.OnStating the details being related in the fourth embodiment of charging method can be performed by the charger.Such as Figure 10Shown, the charger can include:Charge Management unit 101, controlling switch 102, power output unit103。
Wherein, Charge Management unit 101, whether the terminal that its USB interface is inserted for identifying is therewithThe quick charge terminal of matching;Controlling switch 102, for recognizing insertion when Charge Management unit 101When the terminal of its USB interface is matching quick charge terminal, by the D+ lines or D- of chargerAt least one VBUS line for being connected to charger in line;Power output unit 103, for when controlAt least at least one of one in the D+ lines or D- lines of charger is connected to charger by switchAfter VBUS lines, charging output operation is performed.
Specifically, Charge Management unit 101 is specifically used for:
When detecting that terminal inserts its USB interface, perform quick charge identification and prepare operation;And
When receiving the charger recognition and verification order that terminal is sent, it is believed that insert the terminal of USB interfaceFor matching quick charge terminal, and recognition and verification signal is returned to the terminal.
Also, after one in D+ lines or D- lines is connected to VBUS lines by controlling switch 102,During power output unit 103 performs charging output operation, Charge Management unit is additionally operable to pass through instituteRemaining one in correction data line or negative data line is stated to receive the charge control information that the terminal transmits.And/or after D+ lines and D- lines are connected to VBUS lines by controlling switch 102, Charge Management unitAfter 101 send recognition and verification signal to terminal, Charge Management unit 101 is additionally operable to receiving terminal and transmittedCharge control information.
Below, it by Figure 11 to Figure 16, will be described in detail between the charger of the present invention and terminal and carry outThe principle and the course of work more quickly to charge.
As shown in figure 11, it is schematic diagram of the terminal 9 with charger 10 of the present invention.As shown in figure 12,When charger 10 is connected with terminal 9 by USB cable, now, the Charge Management list of charger 10When member 101 detects terminal, D+ and D- are connected to Charge Management unit 101 by control controlling switch 102.When the Charge Management unit 91 of terminal 9 detects the insertion USB interface of charger 10, control control is openedCharge Management unit 91 will be connected to by D+ and D- by closing 92, prepare operation to perform quick charge identification,And initiate charger recognition and verification order to charger 10.
The Charge Management unit 101 of charger 10 and the Charge Management unit 91 of terminal 9 are used to detect endWhether end 9 is adapted to charger 10, if not being adapted to success, the Charge Management unit of charger 10D+ and D- are switched to certain preset mode state, such as BC1.2 associations by 101 control controlling switches 102View pattern, so that terminal 9 can identify that it is charger, charged to terminal 9, such as Figure 13It is shown.Equally, when the detection charger 10 of terminal 9 and its uncomfortable timing, also whether access device is detectedIt is the charger for meeting certain preset mode, such as BC1.2 agreement chargers.If it is not, charging valveReason unit 912 controls controlling switch 92 that D+ and D- are switched into usb protocol process chip, such as Figure 14It is shown.
Figure 15 is refer to, differentiation and charging process of the terminal 9 to charger 10 will be described from end side.For terminal 9, when there is equipment insertion, its Charge Management unit 91 is by controlling controlling switch 92D+ lines and D- lines are connected to Charge Management unit 91, and initiate charger recognition and verification order.When fillingAfter electric administrative unit 92 receives the recognition and verification signal of the return of charger 10, Charge Management unit 91 passes throughD+ is connected to the VBUS lines of terminal 9 by control controlling switch 92, while D- communication modes are changed toSingle-wire communication mode, and start charging converting unit 93 and charged to battery 94, as shown in figure 15.After Charge Management unit 91 does not receive the recognition and verification signal of the return of charger 10, Charge ManagementUnit 91 then thinks that access device is not the quick charger being adapted to therewith, now Charge Management unit 91Detection access device whether be BC1.2 agreements charger.If it is confirmed that access device is to meet BC1.2The charger of agreement, Charge Management unit 91 start charging converting unit 93, carried out directly to battery 94Charging is until terminating.If access device is nor the charger of BC1.2 agreements, Charge Management unit 91Controlling switch 92 is then controlled, D+ lines and the switching of D- lines are connected to usb protocol process chip.
Please continue to refer to Figure 15, differentiation and charging of the charger 10 to terminal 9 will be described from charger sideProcess.After charger inserts terminal to be charged, the Charge Management unit 101 of charger 10 passes through controlControlling switch 102, D+ lines and the switching of D- lines are connected to Charge Management unit 101.Then at certain sectionBetween detect whether to receive the charger that terminal 9 is sent and confirm order.After receiving confirmation order, feedback is knownOther confirmation signal is to terminal 9.Subsequent Charge Management unit 101 controls controlling switch 101, and D+ lines are connectedVBUS lines are connected to, while D- is changed into single-wire communication mode.Filled in charging process by D- transmissionElectric control information is until terminate.Charger is not received within certain time and confirms order, Charge Management listMember 101 is connected to certain preset mode shape by controlling controlling switch 101, by D+ lines and the switching of D- linesState, such as BC1.2 protocol modes, charged under the preset mode to terminal 9 until terminating.
In Figure 15, describe in charging process, charging current is transmitted by D+ lines and VBUS linesProcess, turn next to Figure 16, it is substantially the same in Figure 15 workflow, and difference is, is fillingIn electric process, charging current is transmitted by D+ lines, D- lines and VBUS lines.
In figure 16, the Charge Management unit 91 of terminal 9 leads to after recognition and verification signal is receivedD+, D- will be all connected to VBUS by crossing control controlling switch 92, and according to the information of charger, be openedDynamic charging converting unit 93 is charged to battery 94.For charger 10, the He of charger 10After terminal 9 is adapted to, the Charge Management unit 101 of charger 10 by control controlling switch 102 by D+,D- is connected to VBUS lines.It should be noted that after adaptation, each controlling switch connects D+, D-It is connected to before VBUS lines, its charge control information can be sent to charger 10 by terminal 9.ThenStart charging process, in whole charging process, terminal 9 no longer communicates to charger 10.
It is noted that each module that the present invention relates to is logic module, in actual applications,One logic unit can be a part for a physical location or a physical location, may be used alsoTo be realized with the combination of multiple physical locations.In addition, in order to protrude the innovative part of the present invention, this implementationThe unit less close with solving technical problem relation proposed by the invention is not introduced in mode,But this, which is not intended that in present embodiment, is not present other units.
One of ordinary skill in the art will appreciate that realize all or part in above-mentioned embodiment methodFlow, it is that by computer program the hardware of correlation can be instructed to complete, described program can storeIn a computer read/write memory medium, the program is upon execution, it may include such as the reality of above-mentioned each methodApply the flow of example.Wherein, described storage medium can be magnetic disc, CD, read-only memory(Read-Only Memory, ROM) or random access memory (Random Access Memory,RAM) etc..
It will be understood by those skilled in the art that the respective embodiments described above are to realize that the present invention's is specificEmbodiment, and in actual applications, can to it, various changes can be made in the form and details, without inclinedFrom the spirit and scope of the present invention.