Summary of the invention
In view of this, the embodiment of the present invention provides a kind of expanding peripherals fitting method and expanding peripherals, need hand-held intelligent terminal is carried out independent charging to solve prior art, and make under expanding peripherals and hand-held intelligent terminal mated condition the problem that the hand-held intelligent terminal charging operations is comparatively loaded down with trivial details.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of expanding peripherals fitting method, based on a kind of expanding peripherals, described expanding peripherals comprises: the expanding peripherals battery; The power management chip that is connected with described expanding peripherals battery; With the electronic switch that described power management chip is connected, described electronic switch is connected with the usb data interface of described hand-held intelligent terminal under described expanding peripherals and hand-held intelligent terminal mated condition; The chip that boosts that is connected with described power management chip with described expanding peripherals battery respectively, the described chip that boosts is connected with the usb data interface of described hand-held intelligent terminal under described expanding peripherals and hand-held intelligent terminal mated condition; Join with the described chip that boosts with door; Described method comprises:
When described power management chip is determined to be described hand-held intelligent terminal charging by described expanding peripherals battery, described power management chip sends the first charge mode indicator signal to described electronic switch, the electric current that described power management chip is controlled the expanding peripherals battery inputs to the described chip that boosts, and by the described and described chip operation that boosts of gate control;
Described electronic switch is after receiving described the first charge mode indicator signal, the anodal usb data line of the described hand-held intelligent terminal of short circuit and negative pole usb data line, so that the current charge mode of described hand-held intelligent terminal identification is GB charger charge mode, configure corresponding charging current value;
The described chip that boosts is adjusted to predeterminated voltage with the voltage of input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal to configure is described hand-held intelligent terminal charging.
Wherein, described expanding peripherals also comprises: with the described charge switch that joins with door;
When described power management chip is in open mode at described charge switch, determine that by described expanding peripherals battery be described hand-held intelligent terminal charging.
Wherein, described expanding peripherals also comprises: respectively with described power management chip and trigger described and that door joins;
Described method also comprises:
When the usb data interface external data treatment facility of described expanding peripherals, described power management chip determines that by described data processing equipment be described hand-held intelligent terminal charging, reach and determine to carry out between described hand-held intelligent terminal and described data processing equipment the usb data transmission, described power management chip sends the second charge mode indicator signal to described electronic switch, the electric current that controlling described data processing equipment provides is transported to the described chip that boosts, and sends insertion interruption indicator signal to trigger described trigger output square wave to described trigger;
Described electronic switch is after receiving described the second charge mode indicator signal, be communicated with the anodal usb data line of described hand-held intelligent terminal and the anodal 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;
Described trigger output square wave, and to carry out duty by described and the described chip that boosts of gate control be to be opened into to close again to the operation of opening, so that described hand-held intelligent terminal in conjunction with the variation of the described chip operation state that boosts and the on-state of usb data line, carries out device enumeration and configures charging current value according to usb protocol;
The described chip that boosts is adjusted to predeterminated voltage with the voltage of described data processing equipment input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging.
Wherein, described expanding peripherals also comprises: respectively with described power management chip and trigger described and that door joins;
When described expanding peripherals external power supply, described power management chip determines that by external power supply be described hand-held intelligent terminal charging, described power management chip is controlled the electric current of external power supply conveying to the described chip that boosts, send the first charge mode indicator signal to described electronic switch, and send insertion interruption indicator signal to trigger described trigger output square wave to described trigger;
Described electronic switch after receiving described the first charge mode indicator signal, the anodal usb data line of the described hand-held intelligent terminal of short circuit and negative pole usb data line;
Described trigger output square wave, and to carry out duty by described and the described chip that boosts of gate control be to be opened into to close again to the operation of opening, so that described hand-held intelligent terminal configures corresponding charging current value in conjunction with the variation of the described chip operation state that boosts and the short circuit state of usb data line;
The described chip that boosts is adjusted to predeterminated voltage with the voltage of described external power supply input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging.
Wherein, described the first charge mode indicator signal is high level charge mode indicator signal; Described the second charge mode indicator signal is low level charge mode indicator signal; Described trigger is the two-way monostalbe trigger; Described electronic switch is the single-ended two switches of putting of two-way; The described chip that boosts is the 5V chip that boosts.
Wherein, described power management chip detect user indication use described expanding peripherals battery as operational order corresponding to hand-held intelligent terminal charging after, determine that by described expanding peripherals battery is the hand-held intelligent terminal charging, on described operational order and expanding peripherals, the input instruction of special function keys is corresponding; Or,
Described power management chip during lower than preset value, determines that by described expanding peripherals battery be the hand-held intelligent terminal charging at the electric weight that hand-held intelligent terminal detected.
The embodiment of the present invention also provides a kind of expanding peripherals, comprising:
The expanding peripherals battery;
The power management chip that is connected with described expanding peripherals battery;
With the electronic switch that described power management chip is connected, described electronic switch is connected with the usb data interface of described hand-held intelligent terminal under described expanding peripherals and hand-held intelligent terminal mated condition;
The chip that boosts that is connected with described power management chip with described expanding peripherals battery respectively, the described chip that boosts is connected with the usb data interface of described hand-held intelligent terminal under described expanding peripherals and hand-held intelligent terminal mated condition;
Join with the described chip that boosts with door;
Wherein, when described power management chip is determined to be described hand-held intelligent terminal charging by described expanding peripherals battery, described power management chip sends the first charge mode indicator signal to described electronic switch, the electric current that described power management chip is controlled the expanding peripherals battery inputs to the described chip that boosts, and by the described and described chip operation that boosts of gate control; Described electronic switch is after receiving described the first charge mode indicator signal, the anodal usb data line of the described hand-held intelligent terminal of short circuit and negative pole usb data line, so that the current charge mode of described hand-held intelligent terminal identification is GB charger charge mode, configure corresponding charging current value; The described chip that boosts is adjusted to predeterminated voltage with the voltage of input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal to configure is described hand-held intelligent terminal charging.
Wherein, described expanding peripherals also comprises: with the described charge switch that joins with door; When described power management chip is in open mode at described charge switch, determine that by described expanding peripherals battery be described hand-held intelligent terminal charging.
Wherein, described expanding peripherals also comprises: respectively with described power management chip and trigger described and that door joins;
Wherein, when the usb data interface external data treatment facility of described expanding peripherals, described power management chip determines that by described data processing equipment be described hand-held intelligent terminal charging, reach and determine to carry out between described hand-held intelligent terminal and described data processing equipment the usb data transmission, described power management chip sends the second charge mode indicator signal to described electronic switch, the electric current that controlling described data processing equipment provides is transported to the described chip that boosts, and sends insertion interruption indicator signal to trigger described trigger output square wave to described trigger; Described electronic switch is after receiving described the second charge mode indicator signal, be communicated with the anodal usb data line of described hand-held intelligent terminal and the anodal 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; Described trigger output square wave, and to carry out duty by described and the described chip that boosts of gate control be to be opened into to close again to the operation of opening, so that described hand-held intelligent terminal in conjunction with the variation of the described chip operation state that boosts and the on-state of usb data line, carries out device enumeration and configures charging current value according to usb protocol; The described chip that boosts is adjusted to predeterminated voltage with the voltage of described data processing equipment input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging;
When described expanding peripherals external power supply, described power management chip determines that by external power supply be described hand-held intelligent terminal charging, described power management chip is controlled the electric current of external power supply conveying to the described chip that boosts, send the first charge mode indicator signal to described electronic switch, and send insertion interruption indicator signal to trigger described trigger output square wave to described trigger; Described trigger output square wave, and to carry out duty by described and the described chip that boosts of gate control be to be opened into to close again to the operation of opening, so that described hand-held intelligent terminal configures corresponding charging current value in conjunction with the variation of the described chip operation state that boosts and the short circuit state of usb data line; The described chip that boosts is adjusted to predeterminated voltage with the voltage of described external power supply input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging.
Wherein, described the first charge mode indicator signal is high level charge mode indicator signal; Described the second charge mode indicator signal is low level charge mode indicator signal; Described trigger is the two-way monostalbe trigger; Described electronic switch is the single-ended two switches of putting of two-way; The described chip that boosts is the 5V chip that boosts.
Based on technique scheme, the expanding peripherals fitting method that the embodiment of the present invention provides passes through power management chip, electronic switch, with door, the boost effect of cooperatively interacting of chip, can under the mated condition of expanding peripherals and hand-held intelligent terminal, adopt the expanding peripherals battery that hand-held intelligent terminal is charged; The embodiment of the present invention has solved prior art and has needed hand-held intelligent terminal is carried out independent charging, and make under the mated condition of expanding peripherals and hand-held intelligent terminal, the problem that the charging operations of hand-held intelligent terminal is comparatively loaded down with trivial details, realized under expanding peripherals and hand-held intelligent terminal mated condition, to the charging operations of hand-held intelligent terminal, it is more convenient to make for the charging of hand-held intelligent terminal.
Embodiment
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The process flow diagram of the expanding peripherals fitting method that Fig. 1 provides for the embodiment of the present invention, method shown in Figure 1 need to be based on the expanding peripherals structure after a kind of the improvement, with reference to Fig. 2, the structured flowchart of the expanding peripherals that Fig. 2 provides for the embodiment of the present invention, this expanding peripherals can comprise:
Power management chip 1, electronic switch 2, the chip 3 that boosts, with door 4, expanding peripherals battery 5.As shown in Figure 2, power management chip 1 is connected with expanding peripherals battery 5 with electronic switch 2 respectively; Electronic switch 2 is connected with the usb data interface 01 of hand-held intelligent terminal under expanding peripherals and hand-held intelligent terminal mated condition; The chip 3 that boosts is connected with expanding peripherals battery 5 respectively with door 4, boosts chip 3 under expanding peripherals and hand-held intelligent terminal mated condition, is connected with the usb data interface 01 of hand-held intelligent terminal.
In conjunction with illustrated in figures 1 and 2, the expanding peripherals fitting method that the embodiment of the present invention provides can comprise:
Step S100, when described power management chip is determined to be described hand-held intelligent terminal charging by described expanding peripherals battery, described power management chip sends the first charge mode indicator signal to described electronic switch, the electric current that described power management chip is controlled the expanding peripherals battery inputs to the described chip that boosts, and by the described and described chip operation that boosts of gate control;
Optionally, power management chip 1 is determined: power management chip 1 detect user's indication use expanding peripherals battery 5 for operational order corresponding to hand-held intelligent terminal charging after, determining to pass through expanding peripherals battery 5 is that hand-held intelligent terminal charges; This operational order can be corresponding with the input instruction of a certain special function keys on expanding peripherals, as virtual key or physical button can be set on expanding peripherals, when detecting this virtual key or physical button and be pressed, power management chip 1 after corresponding instruction, determines to charge for hand-held intelligent terminal by expanding peripherals battery 5.Optionally, charge switch can be set on expanding peripherals, with this charge switch with join with door 4, when power management chip 1 is detecting this charge switch and is in open mode, can determine to be described hand-held intelligent terminal charging by expanding peripherals battery 5.
Obviously, power management chip 1 is determined: power management chip 1 during lower than a certain preset value, determines by expanding peripherals battery 5 to be that hand-held intelligent terminal charges at the electric weight that hand-held intelligent terminal detected; Or the electric weight that power management chip 1 detects expanding peripherals battery 5 is determined to charge for hand-held intelligent terminal by expanding peripherals battery 5 during higher than a certain preset value; Simultaneously power management chip 1 electric weight that expanding peripherals battery 5 detected when setting low electric weight, also can send instruction and stop hand-held intelligent terminal is charged.The visual concrete operating position of the embodiment of the present invention, corresponding condition is set, when under the mated condition of expanding peripherals and hand-held intelligent terminal, power management chip 1 detects the current device situation when satisfying this condition, determines to charge for hand-held intelligent terminal by expanding peripherals battery 5.It should be noted that the embodiment of the present invention does not limit the setting of this condition.
Optionally, power management chip 1 can pass through charge circuit 1 shown in Figure 2, controls 5 discharges of expanding peripherals battery to the chip 3 that boosts.
Optionally, can by transmitting the charging enable signals with door 4 to the chip 3 that boosts, work thereby control the chip 3 that boosts.
Step S110, described electronic switch are after receiving described the first charge mode indicator signal, the anodal usb data line of the described hand-held intelligent terminal of short circuit and negative pole usb data line, so that the current charge mode of described hand-held intelligent terminal identification is GB charger charge mode, configure corresponding charging current value;
Optionally, owing to not relating to data transmission by expanding peripherals battery 5 for the hand-held intelligent terminal charging, therefore electronic switch 2 is after receiving the first charge mode indicator signal, but the anodal usb data line of short circuit hand-held intelligent terminal and negative pole usb data line, thereby make hand-held intelligent terminal when the short circuit state of usb data line being detected, identifying current charge mode is GB charger charge mode, and the expanding peripherals battery is considered as the GB charger, configures corresponding charging current value.
Step S120, the described chip that boosts are adjusted to predeterminated voltage with the voltage of input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal to configure is described hand-held intelligent terminal charging.
The embodiment of the present invention is that the current direction of hand-held intelligent terminal charging is: electric current enters by charge circuit 1 chip 3 that boosts, and the chip 3 that boosts flows into output current by USB interface the battery of hand-held intelligent terminal.
The expanding peripherals fitting method that the embodiment of the present invention provides passes through power management chip, electronic switch, with door, the effect of cooperatively interacting of the chip that boosts, can under the mated condition of expanding peripherals and hand-held intelligent terminal, adopt the expanding peripherals battery that hand-held intelligent terminal is charged; The embodiment of the present invention has solved prior art and has needed hand-held intelligent terminal is carried out independent charging, and make under the mated condition of expanding peripherals and hand-held intelligent terminal, the problem that the charging operations of hand-held intelligent terminal is comparatively loaded down with trivial details, realized under expanding peripherals and hand-held intelligent terminal mated condition, to the charging operations of hand-held intelligent terminal, it is more convenient to make for the charging of hand-held intelligent terminal.
Optionally, electronic switch 2 can be the single-ended two switches of putting of two-way; The chip 3 that boosts can be the 5V chip that boosts; The first charge mode indicator signal can be high level charge mode indicator signal.
The expanding peripherals that the embodiment of the present invention provides can use the battery of expanding peripherals self that hand-held intelligent terminal is charged, and also can adopt the external power supply of expanding peripherals that hand-held intelligent terminal is charged.Hereinafter will be described in detail.
Another process flow diagram of the expanding peripherals fitting method that Fig. 3 provides for the embodiment of the present invention, method shown in Figure 3 need to be based on expanding peripherals structure shown in Figure 4; Another structured flowchart of the expanding peripherals that Fig. 4 provides for the embodiment of the present invention, in conjunction with Fig. 2 and shown in Figure 4, expanding peripherals shown in Figure 4 also comprises: respectively with power management chip 1 and the trigger 6 that joins with door 4; Obviously, expanding peripherals shown in Figure 4 also can comprise: with the charge switch that joins with door 4.
In conjunction with Fig. 3 and shown in Figure 4, expanding peripherals fitting method shown in Figure 3 can comprise:
Step S200, when described expanding peripherals external power supply, described power management chip determines that by external power supply be described hand-held intelligent terminal charging, described power management chip is controlled the electric current of external power supply conveying to the described chip that boosts, send the first charge mode indicator signal to described electronic switch, and send insertion interruption indicator signal to trigger described trigger output square wave to described trigger;
When the data line of expanding peripherals inserted and extracts, inserting the interruption indicator signal all can have corresponding variation, and consequent rising edge and negative edge all can trigger trigger 6 output square waves; Power management chip 1 will generate and insert interrupt indicator signal when the data line external power supply of expanding peripherals being detected, and should insert the interruption indicator signal and be sent to trigger 6, thereby make trigger 6 export square waves.
Optionally, power management chip can pass through charge circuit 2 shown in Figure 4, controls the electric current of external power supply conveying to the chip 3 that boosts.
Step S210, described electronic switch after receiving described the first charge mode indicator signal, the anodal usb data line of the described hand-held intelligent terminal of short circuit and negative pole usb data line;
Owing to being that hand-held intelligent terminal charging does not relate to data transmission by external power supply, so electronic switch 2 is after receiving the first charge mode indicator signal, but the anodal usb data line of short circuit hand-held intelligent terminal and negative pole usb data line.
Step S220, described trigger output square wave, and to carry out duty by described and the described chip that boosts of gate control be to be opened into to close again to the operation of opening, so that described hand-held intelligent terminal configures corresponding charging current value in conjunction with the variation of the described chip operation state that boosts and the short circuit state of usb data line;
The square wave of trigger 6 output through with door 4 after, still export consistent square wave with door 4, after this square wave enters the chip 3 that boosts, with the control chip 3 Open-closure-unlatchings of boosting; Take the chip 3 that boosts as 5V boosts chip as example, boost chip 3 with the control of the square wave of door 4 output under, the chip 3 that boosts will be exported the voltage of 5V-0V-5V.After hand-held intelligent terminal changes the short circuit state of (switchings of the chip 3 duty Open-closure-unlatchings of boosting) and USB interface in the duty that the chip 3 that boosts detected, to determine the current GB charger charge mode that is, external power supply is considered as the GB charger, and configures corresponding charging current value.
Optionally, the square wave of trigger output can be the change in voltage square-wave signal, and when the chip 3 that boosts boosted chip for 5V, the square wave of trigger 6 outputs can be as shown in Figure 5.
Step S230, the described chip that boosts are adjusted to predeterminated voltage with the voltage of described external power supply input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging.
The current direction that the embodiment of the present invention is provided as the hand-held intelligent terminal charging is: electric current enters by charge circuit 2 chip 3 that boosts, and the chip 3 that boosts flows into output current by USB interface the battery of hand-held intelligent terminal.
Optionally, trigger 6 can be the two-way monostalbe trigger.
The expanding peripherals fitting method that the embodiment of the present invention provides also can be when expanding peripherals external data treatment facility (as PC), the electric current that provides by data processing equipment is the hand-held intelligent terminal charging, and carries out the data transmission between data treatment facility and hand-held intelligent terminal.Fig. 6 shows the process flow diagram of corresponding expanding peripherals fitting method, method shown in Figure 6 can be based on expanding peripherals structure shown in Figure 4, it should be noted that in the application of method shown in Figure 6, the electronic switch 2 of expanding peripherals shown in Figure 4 also joins with the usb data interface of expanding peripherals.
In conjunction with Fig. 4 and Fig. 6, the expanding peripherals fitting method that the embodiment of the present invention provides can comprise:
Step S300, when the usb data interface external data treatment facility of described expanding peripherals, described power management chip determines that by described data processing equipment be described hand-held intelligent terminal charging, reach and determine to carry out between described hand-held intelligent terminal and described data processing equipment the usb data transmission, described power management chip sends the second charge mode indicator signal to described electronic switch, control electric current that described data processing equipment provides to the described chip that boosts, and send insertion interruption indicator signal to described trigger, to trigger described trigger output square wave;
When the usb data interface external data treatment facility of expanding peripherals, can determine that external data processing equipment both carried out charging operations to hand-held intelligent terminal, carry out data interaction with hand-held intelligent terminal again.When the data line data inserting treatment facility of expanding peripherals, insert the interruption indicator signal corresponding the variation will occur, power management chip 1 will be exported to insert and interrupt indicator signal to trigger 6, send the second charge mode indicator signal to electronic switch 2 simultaneously, and the electric current that data processing equipment provides according to usb protocol is transported to the chip 3 that boosts.
Optionally, the second charge mode indicator signal is the signal opposite with the signal type of the first charge mode indicator signal, when the first charge mode indicator signal was high level charge mode indicator signal, the second charge mode indicator signal can be low level charge mode indicator signal; Obviously, when the first charge mode indicator signal was low level charge mode indicator signal, the second charge mode indicator signal can be high level charge mode indicator signal.
Step S310, described electronic switch are after receiving described the second charge mode indicator signal, be communicated with the anodal usb data line of described hand-held intelligent terminal and the anodal 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 treatment facility, need to carry out the transmission of data between data processing equipment and hand-held intelligent terminal, therefore electronic switch 2 will connect the USB interface of expanding peripherals and hand-held intelligent terminal, so as hand-held intelligent terminal by expanding peripherals the usb data interface and data processing equipment carry out data alternately.
Optionally, power management chip 1 electric current that can adopt charge circuit 2 that data processing equipment is provided inputs to the chip 3 that boosts.
Step S320, described trigger output square wave, and to carry out duty by described and the described chip that boosts of gate control be to be opened into to close again to the operation of opening, so that described hand-held intelligent terminal in conjunction with the variation of the described chip operation state that boosts and the on-state of usb data line, carries out device enumeration and configures charging current value according to usb protocol;
Hand-held intelligent terminal is in the variation that chip 3 duties of boosting detected, and when reaching the on-state of usb data line, hand-held intelligent terminal will be determined and can charge simultaneously and data transfer operation; Hand-held intelligent terminal will re-start device enumeration, with the usb data interface by joining with expanding peripherals, carry out the mutual of data with data processing equipment; While is because data processing equipment is according to usb protocol, hand-held intelligent terminal to be charged, so hand-held intelligent terminal will be according to the current value of usb protocol configuration charging.
Step S330, the described chip that boosts are adjusted to predeterminated voltage with the voltage of described data processing equipment input current, by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging.
The current direction that the embodiment of the present invention is provided as the hand-held intelligent terminal charging is: the electric current that data processing equipment provides enters by charge circuit 2 chip 3 that boosts, and the chip 3 that boosts flows into output current by USB interface the battery of hand-held intelligent terminal.
It should be noted that Fig. 1, Fig. 3 and expanding peripherals fitting method shown in Figure 6 be expanding peripherals under different applicable cases, the different fit system that adopts can make up between different fit systems mutually.
The embodiment of the present invention also provides a kind of expanding peripherals, and the structure of this expanding peripherals can with reference to shown in Figure 2, comprise: expanding peripherals battery 5; The power management chip 1 that is connected with expanding peripherals battery 5; The electronic switch 2 that is connected with power management chip 1, electronic switch 2 are connected with the usb data interface of described hand-held intelligent terminal under described expanding peripherals and hand-held intelligent terminal mated condition; The chip 3 that boosts that is connected with power management chip 1 with expanding peripherals battery 5 respectively boosts chip 3 under described expanding peripherals and hand-held intelligent terminal mated condition, is connected with the usb data interface of described hand-held intelligent terminal; With the chip 3 that boosts that join with door 4.
Wherein, when power management chip 1 is determined to be described hand-held intelligent terminal charging by described expanding peripherals battery, power management chip 1 sends the first charge mode indicator signal to electronic switch 2, the electric current that power management chip 1 is controlled expanding peripherals battery 5 inputs to the chip 3 that boosts, and by controlling with door 4 chip 3 work of boosting; Electronic switch 2 is after receiving described the first charge mode indicator signal, the anodal usb data line of the described hand-held intelligent terminal of short circuit and negative pole usb data line, so that the current charge mode of described hand-held intelligent terminal identification is GB charger charge mode, configure corresponding charging current value; The chip 3 that boosts is adjusted to predeterminated voltage with the voltage of input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal to configure is described hand-held intelligent terminal charging.
Optionally, the expanding peripherals that provides of the embodiment of the present invention also can comprise: with a described charge switch that joins with door; When described power management chip is in open mode at described charge switch, determine that by described expanding peripherals battery be described hand-held intelligent terminal charging.
Optionally, the structure of the expanding peripherals that the embodiment of the present invention provides also can be compared expanding peripherals shown in Figure 2 as shown in Figure 4, and expanding peripherals shown in Figure 4 also comprises: respectively with power management chip 1 and the trigger 6 that joins with door 4; Electronic switch 2 also can join with the usb data interface of expanding peripherals.
Wherein, when the usb data interface external data treatment facility of described expanding peripherals, power management chip 1 determines that by described data processing equipment be described hand-held intelligent terminal charging, reach and determine to carry out between described hand-held intelligent terminal and described data processing equipment the usb data transmission, power management chip 1 sends the second charge mode indicator signal to electronic switch 2, the electric current that controlling described data processing equipment provides is transported to the chip 3 that boosts, and sends insertion interruption indicator signal to trigger trigger 6 output square waves to trigger 6; Electronic switch 2 is after receiving described the second charge mode indicator signal, be communicated with the anodal usb data line of described hand-held intelligent terminal and the anodal 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; Trigger 6 output square waves, and to carry out duty be to be opened into to close again to the operation of opening by controlling with door 4 chip 3 that boosts, so that described hand-held intelligent terminal in conjunction with boosting the variation of chip 3 duties and the on-state of usb data line, carries out device enumeration and configures charging current value according to usb protocol; The chip 3 that boosts is adjusted to predeterminated voltage with the voltage of described data processing equipment input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging;
When described expanding peripherals external power supply, power management chip 1 determines that by external power supply be described hand-held intelligent terminal charging, power management chip 1 is controlled the electric current of external power supply conveying to the chip 3 that boosts, send the first charge mode indicator signal to electronic switch 2, and send insertion interruption indicator signal to trigger trigger 6 output square waves to trigger 6; Trigger 6 output square waves, and to carry out duty be to be opened into to close again to the operation of opening by controlling with door 4 chip 3 that boosts, so that described hand-held intelligent terminal configures corresponding charging current value in conjunction with boosting the variation of chip 3 duties and the short circuit state of usb data line; The chip 3 that boosts is adjusted to predeterminated voltage with the voltage of described external power supply input current, and by the usb data interface of described hand-held intelligent terminal, the charging current value that adopts described hand-held intelligent terminal configuration is described hand-held intelligent terminal charging.
Optionally, trigger 6 can be the two-way monostalbe trigger; Electronic switch 2 can be the single-ended two switches of putting of two-way; The described chip that boosts is the 5V chip that boosts.Fig. 7 shows corresponding expanding peripherals structure, together reference.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.