Content of the invention
In view of this, the embodiment of the present invention provides a kind of expanding peripherals fitting method and expanding peripherals, to solve
Certainly hand-held intelligent terminal need to individually be charged by prior art, and makes in expanding peripherals and hand-held intelligence
Under energy terminal mated condition, the relatively complicated problem of hand-held intelligent terminal charging operations.
For achieving the above object, the following technical scheme of embodiment of the present invention offer:
A kind of expanding peripherals fitting method, based on a kind of expanding peripherals, described expanding peripherals includes: extension
Peripheral hardware battery;The power management chip being connected with described expanding peripherals battery;With described power management chip
The electronic switch being connected, described electronic switch under described expanding peripherals and hand-held intelligent terminal mated condition,
It is connected with the usb data interface of described hand-held intelligent terminal;Respectively with described expanding peripherals battery and described
The boost chip that power management chip is connected, described boost chip is at described expanding peripherals with hand-held intelligent eventually
It under end mated condition, is connected with the usb data interface of described hand-held intelligent terminal;With described boost chip
Connect with door;Described method includes:
When described power management chip determines that by described expanding peripherals battery be the charging of described hand-held intelligent terminal
When, described power management chip sends the first charge mode indication signal, described electricity to described electronic switch
The electric current input of source control chip controls expanding peripherals battery is to described boost chip, and passes through described and door
Control the work of described boost chip;
Described electronic switch after receiving described first charge mode indication signal, hand-held intelligence described in short circuit
The positive pole USB data line of energy terminal and negative pole USB data line, so that described hand-held intelligent terminal identification is worked as
Front charge mode is GB charger charge mode, configures corresponding charging current value;
Described boost chip is by the Voltage Cortrol of input current to predeterminated voltage, by described hand-held intelligent eventually
The usb data interface of end, the charging current value using described hand-held intelligent terminal to be configured is described hand-held
Intelligent terminal charges.
Wherein, described expanding peripherals also includes: with the described charge switch connecting with door;
Described power management chip is when described charge switch is in open mode, outside determining by described extension
If battery is the charging of described hand-held intelligent terminal.
Wherein, described expanding peripherals also includes: respectively with described power management chip and described connect with door
Trigger;
Described method also includes:
When the usb data interface external data processing equipment of described expanding peripherals, described power management core
Piece determines that by described data processing equipment be the charging of described hand-held intelligent terminal, and determines described hand-held intelligence
Can carry out USB data transmission between terminal and described data processing equipment, described power management chip is to institute
State electronic switch and send the second charge mode indication signal, control the electric current that described data processing equipment provides
Transport to described boost chip, and send insertion interruption indication signal to trigger described triggering to described trigger
Device exports square wave;
Described electronic switch, after receiving described second charge mode indication signal, connects described hand-held intelligence
The positive pole USB data line of energy terminal and the positive pole USB data line of described expanding peripherals, and described hand-held intelligence
The negative pole USB data line of energy terminal and the negative pole USB data line of described expanding peripherals;
Described trigger exports square wave, and is operated state by described with boost chip described in gate control
Close again to the operation opened for being opened into, so that described hand-held intelligent terminal combines described boost chip work
Make the change of state and the on-state of USB data line, carry out device enumeration and configure according to usb protocol
Charging current value;
The Voltage Cortrol of described data processing equipment input current to predeterminated voltage, is led to by described boost chip
Cross the usb data interface of described hand-held intelligent terminal, use the charged electrical that described hand-held intelligent terminal configures
Flow valuve is the charging of described hand-held intelligent terminal.
Wherein, described expanding peripherals also includes: respectively with described power management chip and described connect with door
Trigger;
When described expanding peripherals external power supply, it is institute that described power management chip determines by external power supply
Stating hand-held intelligent terminal charging, the electric current of described power management chip control external power supply conveying is to described liter
Pressure chip, sends the first charge mode indication signal to described electronic switch, and sends to described trigger
Insert and interrupt indication signal to trigger described trigger output square wave;
Described electronic switch after receiving described first charge mode indication signal, hand-held intelligence described in short circuit
The positive pole USB data line of energy terminal and negative pole USB data line;
Described trigger exports square wave, and is operated state by described with boost chip described in gate control
Close again to the operation opened for being opened into, so that described hand-held intelligent terminal combines described boost chip work
Make the change of state and the short circuit state of USB data line, configure corresponding charging current value;
Described boost chip by the Voltage Cortrol of described external power supply input current to predeterminated voltage, by institute
State the usb data interface of hand-held intelligent terminal, use the charging current value that described hand-held intelligent terminal configures
For the charging of described hand-held intelligent terminal.
Wherein, described first charge mode indication signal is high level charge mode indication signal;Described
Two charge mode indication signals are low level charge mode indication signal;Described trigger is two-way monostable
Trigger;Described electronic switch is that single-ended pair of two-way puts switch;Described boost chip is 5V boost chip.
Wherein, described power management chip is detecting that the use described expanding peripherals battery that user indicates is
After the corresponding operational order of hand-held intelligent terminal charging, determine by described expanding peripherals battery to be hand-held intelligence
Energy terminal charge, described operational order is corresponding with the input instruction of special function keys on expanding peripherals;Or,
Described power management chip, when electricity hand-held intelligent terminal being detected is less than preset value, determines logical
Crossing described expanding peripherals battery is hand-held intelligent terminal charging.
The embodiment of the present invention also provides a kind of expanding peripherals, comprising:
Expanding peripherals battery;
The power management chip being connected with described expanding peripherals battery;
The electronic switch being connected with described power management chip, described electronic switch described expanding peripherals with
It under hand-held intelligent terminal mated condition, is connected with the usb data interface of described hand-held intelligent terminal;
The boost chip being connected with described expanding peripherals battery and described power management chip respectively, described liter
Pressure chip is under described expanding peripherals with hand-held intelligent terminal mated condition, with described hand-held intelligent terminal
Usb data interface is connected;
Connect with described boost chip with door;
Wherein, when described power management chip determines that by described expanding peripherals battery be described hand-held intelligent end
During end charging, described power management chip sends the first charge mode indication signal to described electronic switch,
The electric current input of described power management chip control expanding peripherals battery is to described boost chip, and passes through institute
State and work with boost chip described in gate control;Described electronic switch refers to receiving described first charge mode
After showing signal, the positive pole USB data line of hand-held intelligent terminal described in short circuit and negative pole USB data line, with
Making the current charge mode of described hand-held intelligent terminal identification be GB charger charge mode, configuration is corresponding
Charging current value;Described boost chip is by the Voltage Cortrol of input current to predeterminated voltage, by described hand
Holding the usb data interface of intelligent terminal, the charging current value using described hand-held intelligent terminal to be configured is
Described hand-held intelligent terminal charges.
Wherein, described expanding peripherals also includes: with the described charge switch connecting with door;Described power supply pipe
Reason chip, when described charge switch is in open mode, determines by described expanding peripherals battery to be described hand
Hold intelligent terminal charging.
Wherein, described expanding peripherals also includes: respectively with described power management chip and described connect with door
Trigger;
Wherein, when the usb data interface external data processing equipment of described expanding peripherals, described power supply
Managing chip determines that by described data processing equipment be the charging of described hand-held intelligent terminal, and determines described
Carry out USB data transmission, described power management core between hand-held intelligent terminal and described data processing equipment
Piece sends the second charge mode indication signal to described electronic switch, and controlling described data processing equipment provides
Electric current transport to described boost chip, and send to described trigger to insert and interrupt indication signal to trigger
State trigger output square wave;Described electronic switch after receiving described second charge mode indication signal,
Connect the positive pole USB data line of described hand-held intelligent terminal and the positive pole usb data of described expanding peripherals
Line, and the negative pole usb data of the negative pole USB data line of described hand-held intelligent terminal and described expanding peripherals
Line;Described trigger exports square wave, and is operated state by described with boost chip described in gate control
Close again to the operation opened for being opened into, so that described hand-held intelligent terminal combines described boost chip work
Make the change of state and the on-state of USB data line, carry out device enumeration and configure according to usb protocol
Charging current value;The Voltage Cortrol of described data processing equipment input current is extremely preset by described boost chip
Voltage, by the usb data interface of described hand-held intelligent terminal, uses described hand-held intelligent terminal to configure
Charging current value be described hand-held intelligent terminal charging;
When described expanding peripherals external power supply, it is institute that described power management chip determines by external power supply
Stating hand-held intelligent terminal charging, the electric current of described power management chip control external power supply conveying is to described liter
Pressure chip, sends the first charge mode indication signal to described electronic switch, and sends to described trigger
Insert and interrupt indication signal to trigger described trigger output square wave;Described trigger exports square wave, and leads to
The state that is operated with boost chip described in gate control described in crossing is to be opened into close again to the operation opened,
So that described hand-held intelligent terminal combines the change of described boost chip duty and the short of USB data line
Connect state, configure corresponding charging current value;Described boost chip is by described external power supply input current
Voltage Cortrol, to predeterminated voltage, by the usb data interface of described hand-held intelligent terminal, uses described hand
The charging current value holding intelligent terminal configuration is the charging of described hand-held intelligent terminal.
Wherein, described first charge mode indication signal is high level charge mode indication signal;Described
Two charge mode indication signals are low level charge mode indication signal;Described trigger is two-way monostable
Trigger;Described electronic switch is that single-ended pair of two-way puts switch;Described boost chip is 5V boost chip.
Based on technique scheme, the expanding peripherals fitting method that the embodiment of the present invention provides passes through power supply pipe
Reason chip, electronic switch, and door, the effect of cooperating of boost chip, can expanding peripherals with hand-held
Under the mated condition of intelligent terminal, expanding peripherals battery is used to be charged hand-held intelligent terminal;This
Bright embodiment solves prior art and need to individually charge hand-held intelligent terminal, and makes in extension
Under the mated condition of peripheral hardware and hand-held intelligent terminal, relatively complicated the asking of charging operations of hand-held intelligent terminal
Topic, it is achieved that under expanding peripherals with hand-held intelligent terminal mated condition, the charging to hand-held intelligent terminal
Operation so that the charging for hand-held intelligent terminal is more convenient.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
The every other embodiment being obtained under the premise of going out creative work, broadly falls into the scope of protection of the invention.
The flow chart of the expanding peripherals fitting method that Fig. 1 provides for the embodiment of the present invention, method shown in Fig. 1
Expanding peripherals structure after needing based on a kind of improvement, with reference to Fig. 2, Fig. 2 provides for the embodiment of the present invention
The structured flowchart of expanding peripherals, this expanding peripherals may include that
Power management chip 1, electronic switch 2, boost chip 3, with door 4, expanding peripherals battery 5.As
Shown in Fig. 2, power management chip 1 is connected with electronic switch 2 and expanding peripherals battery 5 respectively;Electronics
Switch 2 under expanding peripherals and hand-held intelligent terminal mated condition, the usb data with hand-held intelligent terminal
Interface 01 is connected;Boost chip 3 is connected with door 4 and expanding peripherals battery 5 respectively, boost chip 3
Under expanding peripherals with hand-held intelligent terminal mated condition, the usb data interface 01 with hand-held intelligent terminal
It is connected.
In conjunction with shown in Fig. 1 and Fig. 2, the expanding peripherals fitting method that the embodiment of the present invention provides may include that
It step S100, is described hand-held intelligence when described power management chip determines by described expanding peripherals battery
During energy terminal charge, described power management chip sends the first charge mode instruction letter to described electronic switch
Number, the electric current input of described power management chip control expanding peripherals battery is to described boost chip and logical
With boost chip work described in gate control described in crossing;
Optionally, power management chip 1 determines that by expanding peripherals battery 5 be hand-held intelligent terminal charging
Mode may is that power management chip 1 is detecting that the use expanding peripherals battery 5 that user indicates is
After the corresponding operational order of hand-held intelligent terminal charging, determine that by expanding peripherals battery 5 be hand-held intelligent
Terminal charge;This operational order can special function keys a certain with on expanding peripherals input instruction corresponding,
As virtual key or physical button can be arranged on expanding peripherals, when power management chip 1 detects this void
Intending button or physical button when being pressed after corresponding instruction, determination is hand-held by expanding peripherals battery 5
Intelligent terminal charges.Optionally, charge switch can be set on expanding peripherals, by this charge switch with
Door 4 connects, when power management chip 1 is when detecting that this charge switch is in open mode, it may be determined that
It is the charging of described hand-held intelligent terminal by expanding peripherals battery 5.
Obviously, power management chip 1 is determined and is charged for hand-held intelligent terminal by expanding peripherals battery 5
Mode also may is that power management chip 1 is preset less than a certain at electricity hand-held intelligent terminal being detected
During value, determine and charged for hand-held intelligent terminal by expanding peripherals battery 5;Or power management chip 1
When detecting that the electricity of expanding peripherals battery 5 is higher than a certain preset value, determine by expanding peripherals battery 5
For hand-held intelligent terminal charging;Power management chip 1 detects that the electricity of expanding peripherals battery 5 is low simultaneously
When setting low electricity, it is possible to send instruction and terminate charging hand-held intelligent terminal.The embodiment of the present invention can
Depending on concrete service condition, corresponding condition is set, when coordinating at expanding peripherals and hand-held intelligent terminal
Under state, when power management chip 1 detects that current device situation meets this condition, determine by extension
Peripheral hardware battery 5 charges for hand-held intelligent terminal.It should be noted that the embodiment of the present invention not to this
The setting of part limits.
Optionally, power management chip 1 can pass through the charge circuit 1 shown in Fig. 2, control expanding peripherals electricity
Discharge to boost chip 3 in pond 5.
Optionally, signal can be enabled by transmitting charging with door 4 to boost chip 3, thus control boosting
Chip 3 works.
Step S110, described electronic switch after receiving described first charge mode indication signal, short circuit
The positive pole USB data line of described hand-held intelligent terminal and negative pole USB data line, so that described hand-held intelligent
The current charge mode of terminal recognition is GB charger charge mode, configures corresponding charging current value;
Optionally, pass owing to being not related to data by expanding peripherals battery 5 for hand-held intelligent terminal charging
Defeated, therefore electronic switch 2 is after receiving the first charge mode indication signal, can short circuit hand-held intelligent eventually
The positive pole USB data line of end and negative pole USB data line, so that hand-held intelligent terminal is detecting
During the short circuit state of USB data line, identify that current charge mode is GB charger charge mode, will expand
Exhibition peripheral hardware battery is considered as GB charger, configures corresponding charging current value.
Step S120, described boost chip are by the Voltage Cortrol of input current to predeterminated voltage, by described
The usb data interface of hand-held intelligent terminal, uses the charging current value that described hand-held intelligent terminal is configured
For the charging of described hand-held intelligent terminal.
The embodiment of the present invention is that the current direction of hand-held intelligent terminal charging is: electric current is entered by charge circuit 1
Entering boost chip 3, boost chip 3 will export the electricity of electric current inflow hand-held intelligent terminal by USB interface
Pond.
The embodiment of the present invention provide expanding peripherals fitting method pass through power management chip, electronic switch,
With door, the effect of cooperating of boost chip, can be in the mated condition of expanding peripherals and hand-held intelligent terminal
Under, use expanding peripherals battery to be charged hand-held intelligent terminal;The embodiment of the present invention solves existing
Hand-held intelligent terminal need to individually be charged by technology, and makes at expanding peripherals and hand-held intelligent terminal
Mated condition under, the relatively complicated problem of the charging operations of hand-held intelligent terminal, it is achieved that outside extension
If with the charging operations under hand-held intelligent terminal mated condition, to hand-held intelligent terminal so that for hand-held
The charging of intelligent terminal is more convenient.
Optionally, electronic switch 2 can put switch for single-ended pair of two-way;Boost chip 3 can be 5V liter
Pressure chip;First charge mode indication signal can be high level charge mode indication signal.
The expanding peripherals that the embodiment of the present invention is provided, can use the battery of expanding peripherals self to hand-held intelligence
Can terminal be charged, it is possible to hand-held intelligent terminal is charged by the power supply using expanding peripherals external.
Hereafter will be described in detail.
Another flow chart of the expanding peripherals fitting method that Fig. 3 provides for the embodiment of the present invention, shown in Fig. 3
Method needs based on expanding peripherals structure shown in Fig. 4;The expanding peripherals that Fig. 4 provides for the embodiment of the present invention
Another structured flowchart, in conjunction with shown in Fig. 2 and Fig. 4, shown in Fig. 4, expanding peripherals also includes: respectively with
Power management chip 1 and the trigger 6 connecting with door 4;Obviously, shown in Fig. 4, expanding peripherals may also include that
The charge switch connecting with door 4.
In conjunction with shown in Fig. 3 and Fig. 4, expanding peripherals fitting method shown in Fig. 3 may include that
Step S200, when described expanding peripherals external power supply, described power management chip determine by outward
Connecing power supply is the charging of described hand-held intelligent terminal, the electricity of described power management chip control external power supply conveying
It flow to described boost chip, send the first charge mode indication signal to described electronic switch, and to described
Trigger sends to insert and interrupts indication signal to trigger described trigger output square wave;
The data wire of expanding peripherals into and out when, insert and interrupt indication signal and all can have corresponding change,
Consequent rising edge and trailing edge all can trigger trigger 6 and export square wave;Power management chip 1 exists
When the data wire external power supply of expanding peripherals being detected, generation is inserted and interrupts indication signal, and this is inserted
Enter to interrupt indication signal and be sent to trigger 6, so that trigger 6 exports square wave.
Optionally, power management chip can pass through the charge circuit 2 shown in Fig. 4, control external power supply conveying
Electric current to boost chip 3.
Step S210, described electronic switch after receiving described first charge mode indication signal, short circuit
The positive pole USB data line of described hand-held intelligent terminal and negative pole USB data line;
Owing to being that hand-held intelligent terminal charging is not related to data transmission, therefore electronic cutting by external power supply
Close 2 after receiving the first charge mode indication signal, can the positive pole USB number of short circuit hand-held intelligent terminal
According to line and negative pole USB data line.
Step S220, described trigger output square wave, and entered with boost chip described in gate control by described
Row duty is to be opened into close again to the operation opened, so that described hand-held intelligent terminal combines described
The short circuit state of the change of boost chip duty and USB data line, configures corresponding charging current value;
Trigger 6 output square wave through with door 4 after, still export consistent square wave with door 4, this square wave
After entering boost chip 3, will control boost chip 3 Open-closures-unlatching;With boost chip 3 as 5V
As a example by boost chip, boost chip 3 is under the control of the square wave exporting with door 4, and boost chip 3 is by defeated
Go out the voltage of 5V-0V-5V.Hand-held intelligent terminal changes (liter in duty boost chip 3 being detected
The switching of pressure chip 3 duty Open-closure-unlatchings) and the short circuit state of USB interface after, will be true
It is GB charger charge mode before settled, external power supply is considered as GB charger, and configures corresponding
Charging current value.
Optionally, the square wave of trigger output can be voltage change square-wave signal, when boost chip 3 is
During 5V boost chip, the square wave of trigger 6 output can be as shown in Figure 5.
Step S230, described boost chip are electric to presetting by the Voltage Cortrol of described external power supply input current
Pressure, by the usb data interface of described hand-held intelligent terminal, uses described hand-held intelligent terminal to configure
Charging current value is the charging of described hand-held intelligent terminal.
The current direction that the embodiment of the present invention is provided as hand-held intelligent terminal charging is: electric current is by charge circuit 2
Entering boost chip 3, boost chip 3 flows into hand-held intelligent terminal by USB interface by exporting electric current
Battery.
Optionally, trigger 6 can be two-way monostable flipflop.
The expanding peripherals fitting method that the embodiment of the present invention provides also can process at expanding peripherals external data and set
It when standby (such as PC), is hand-held intelligent terminal charging by the electric current that data processing equipment provides, and carries out
Data transmission between data processing equipment and hand-held intelligent terminal.Fig. 6 shows corresponding expanding peripherals
The flow chart of fitting method, method shown in Fig. 6 can merit attention based on expanding peripherals structure shown in Fig. 4
, in the application of method shown in Fig. 6, the electronic switch 2 of expanding peripherals shown in Fig. 4 also with extension
The usb data interface of peripheral hardware connects.
In conjunction with Fig. 4 and Fig. 6, the expanding peripherals fitting method that the embodiment of the present invention provides may include that
Step S300, when the usb data interface external data processing equipment of described expanding peripherals, described
Power management chip determines that by described data processing equipment be the charging of described hand-held intelligent terminal, and determines
Carry out USB data transmission, described power supply pipe between described hand-held intelligent terminal and described data processing equipment
Reason chip sends the second charge mode indication signal to described electronic switch, controls described data processing equipment
The electric current providing is to described boost chip, and sends insertion interruption indication signal to described trigger, to touch
Output square wave of sending out trigger described;
When the usb data interface external data processing equipment of expanding peripherals, it may be determined that at external data
Reason equipment had both been charged operation to hand-held intelligent terminal, carried out data interaction with hand-held intelligent terminal again.
When the data wire of expanding peripherals inserts data processing equipment, insert interruption indication signal and will occur corresponding
Change, output is inserted and is interrupted indication signal to trigger 6 by power management chip 1, while to electronic switch
2 transmission the second charge mode indication signals, and the electric current that data processing equipment is provided according to usb protocol
Transport to boost chip 3.
Optionally, the second charge mode indication signal is the signal type with the first charge mode indication signal
Contrary signal, when the first charge mode indication signal is high level charge mode indication signal, second
Charge mode indication signal can be low level charge mode indication signal;Obviously, the first charge mode refers to
When showing that signal is low level charge mode indication signal, the second charge mode indication signal can be high level
Charge mode indication signal.
Step S310, described electronic switch, after receiving described second charge mode indication signal, connect
The positive pole USB data line of described hand-held intelligent terminal and the positive pole USB data line of described expanding peripherals, and
The negative pole USB data line of described hand-held intelligent terminal and the negative pole USB data line of described expanding peripherals;
During due to expanding peripherals external data processing equipment, need at data processing equipment with hand-held intelligent eventually
Carrying out the transmission of data between end, therefore electronic switch 2 will connect expanding peripherals and hand-held intelligent terminal
USB interface, in order to hand-held intelligent terminal passes through usb data interface and the data processing equipment of expanding peripherals
Carry out the mutual of data.
Optionally, power management chip 1 can use the electric current that data processing equipment is provided by charge circuit 2
Input is to boost chip 3.
Step S320, described trigger output square wave, and entered with boost chip described in gate control by described
Row duty is to be opened into close again to the operation opened, so that described hand-held intelligent terminal combines described
The change of boost chip duty and the on-state of USB data line, carry out device enumeration and according to
Usb protocol configures charging current value;
Hand-held intelligent terminal is detecting the change of boost chip 3 duty, and the connecing of USB data line
During logical state, determination can be charged and data transfer operation by hand-held intelligent terminal simultaneously;Hand-held intelligent
Terminal will re-start device enumeration, with the usb data interface by connecting with expanding peripherals, with data
Processing equipment carries out the mutual of data;Simultaneously because data processing equipment is to hand-held intelligence according to usb protocol
Can terminal be charged, therefore hand-held intelligent terminal will configure the current value of charging according to usb protocol.
Step S330, described boost chip by the Voltage Cortrol of described data processing equipment input current in advance
If voltage, by the usb data interface of described hand-held intelligent terminal, described hand-held intelligent terminal is used to join
The charging current value put is the charging of described hand-held intelligent terminal.
The current direction that the embodiment of the present invention is provided as hand-held intelligent terminal charging is: data processing equipment carries
The electric current of confession is entered boost chip 3 by charge circuit 2, and boost chip 3 will export electricity by USB interface
Stream flows into the battery of hand-held intelligent terminal.
It should be noted that expanding peripherals fitting method shown in Fig. 1, Fig. 3 and Fig. 6 is that expanding peripherals is not
With applicable cases under, the different fit system being used, can mutual group between different fit systems
Close.
The embodiment of the present invention also provides a kind of expanding peripherals, and the structure of this expanding peripherals can refer to shown in Fig. 2,
Including: expanding peripherals battery 5;The power management chip 1 being connected with expanding peripherals battery 5;With power supply pipe
The electronic switch 2 that reason chip 1 is connected, electronic switch 2 coordinates with hand-held intelligent terminal at described expanding peripherals
It under state, is connected with the usb data interface of described hand-held intelligent terminal;Respectively with expanding peripherals battery 5
The boost chip 3 being connected with power management chip 1, boost chip 3 is at described expanding peripherals and hand-held intelligent
It under terminal mated condition, is connected with the usb data interface of described hand-held intelligent terminal;With boost chip 3
Connect with door 4.
Wherein, when power management chip 1 determines that by described expanding peripherals battery be described hand-held intelligent terminal
During charging, power management chip 1 sends the first charge mode indication signal, power supply pipe to electronic switch 2
The electric current that reason chip 1 controls expanding peripherals battery 5 inputs to boost chip 3, and by rising with door 4 control
Pressure chip 3 works;Electronic switch 2 after receiving described first charge mode indication signal, short circuit institute
State positive pole USB data line and the negative pole USB data line of hand-held intelligent terminal, so that described hand-held intelligent is eventually
End identifies that current charge mode is GB charger charge mode, configures corresponding charging current value;Boosting
Chip 3 is by the Voltage Cortrol of input current to predeterminated voltage, by the USB number of described hand-held intelligent terminal
According to interface, the charging current value using described hand-held intelligent terminal to be configured is that described hand-held intelligent terminal fills
Electricity.
Optionally, the embodiment of the present invention provide expanding peripherals may also include that with described connect with door fill
Electric switch;Described power management chip, when described charge switch is in open mode, determines by described expansion
Exhibition peripheral hardware battery is the charging of described hand-held intelligent terminal.
Optionally, the structure of the expanding peripherals that the embodiment of the present invention provides also can compare Fig. 2 as shown in Figure 4
Shown in expanding peripherals, shown in Fig. 4, expanding peripherals also includes: respectively with power management chip 1 and with door 4
The trigger 6 connecting;Electronic switch 2 also can connect with the usb data interface of expanding peripherals.
Wherein, when the usb data interface external data processing equipment of described expanding peripherals, power management
Chip 1 determines that by described data processing equipment be the charging of described hand-held intelligent terminal, and determines described hand
Hold and between intelligent terminal and described data processing equipment, carry out USB data transmission, power management chip 1 to
Electronic switch 2 sends the second charge mode indication signal, controls the electric current that described data processing equipment provides
Transport to boost chip 3, and send insertion interruption indication signal to trigger trigger 6 side of output to trigger 6
Ripple;Electronic switch 2, after receiving described second charge mode indication signal, connects described hand-held intelligent
The positive pole USB data line of terminal and the positive pole USB data line of described expanding peripherals, and described hand-held intelligent
The negative pole USB data line of terminal and the negative pole USB data line of described expanding peripherals;Trigger 6 side of output
Ripple, and be to be opened into close again to the behaviour opening by control boost chip 3 being operated state with door 4
Make, so that described hand-held intelligent terminal combines the change of boost chip 3 duty and USB data line
On-state, carries out device enumeration and configures charging current value according to usb protocol;Boost chip 3 is by institute
State the Voltage Cortrol of data processing equipment input current to predeterminated voltage, by described hand-held intelligent terminal
Usb data interface, the charging current value using described hand-held intelligent terminal to configure is that described hand-held intelligent is whole
End charging;
When described expanding peripherals external power supply, it is described that power management chip 1 determines by external power supply
Hand-held intelligent terminal charge, power management chip 1 control external power supply conveying electric current to boost chip 3,
Send the first charge mode indication signal to electronic switch 2, and send insertion interruption instruction to trigger 6
Signal exports square wave to trigger trigger 6;Trigger 6 exports square wave, and by boosting with door 4 control
It is to be opened into close again to the operation opened that chip 3 is operated state, so that described hand-held intelligent terminal
In conjunction with the short circuit state of the change of boost chip 3 duty and USB data line, the corresponding charging of configuration
Current value;The Voltage Cortrol of described external power supply input current to predeterminated voltage, is passed through by boost chip 3
The usb data interface of described hand-held intelligent terminal, uses the charging current that described hand-held intelligent terminal configures
Value is the charging of described hand-held intelligent terminal.
Optionally, trigger 6 can be two-way monostable flipflop;Electronic switch 2 can be two-way list
End is double puts switch;Described boost chip is 5V boost chip.Fig. 7 shows corresponding expanding peripherals structure,
Can together reference.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses
The present invention.Multiple modifications to these embodiments will be aobvious and easy for those skilled in the art
See, generic principles defined herein can without departing from the spirit or scope of the present invention,
Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein,
And it is to fit to the wide scope consistent with principles disclosed herein and features of novelty.