CN103838343B - Data interface, electronic device and method for expanding current output quantity of data interface - Google Patents
Data interface, electronic device and method for expanding current output quantity of data interface Download PDFInfo
- Publication number
- CN103838343B CN103838343B CN201210493095.6A CN201210493095A CN103838343B CN 103838343 B CN103838343 B CN 103838343B CN 201210493095 A CN201210493095 A CN 201210493095A CN 103838343 B CN103838343 B CN 103838343B
- Authority
- CN
- China
- Prior art keywords
- data
- pin
- interface
- current
- magnitude
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a data interface, an electronic device and a method for expanding current output quantity of the data interface. The method comprises the steps of acquiring an expansion instruction for expanding the current output quantity of the data interface when current with a first magnitude of current is transmitted to a device to be charged through a fourth pin and a fifth pin; executing the instruction; controlling a first pin in the data interface to be connected with a first power cord and a second pin to be connected with the ground while transmitting the current with the first magnitude of current through the fourth pin and the fifth pin in the data interface to enable the data interface to transmit current with a second magnitude of current to the device to be charged. Therefore, the magnitude of current output to the device to be charged through the data interface is the sum of the first magnitude of current and the second magnitude of current, time spent in performing charging through the data interface can be shortened, and user experience is improved.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of data-interface, electronic equipment and growth data interface
The method of current output.
Background technology
With the continuous development of computer technology, data-interface starts to widely use, and data-interface is for by external connected electronic
Equipment is connected to computer.
In the prior art, specifically, data-interface have two purposes, first, can by data-interface with it is outer
Connect electronic equipment and be attached and realize data transfer, second, can be by data-interface for filling to external electronic equipment
Electricity.
Present inventor is present such as during prior art is sent out during the embodiment of the present application technical scheme is realized, at least
Lower technical problem:
As in the prior art, when data-interface is for being charged to external electronic equipment, data-interface is most
High-current output amount is less, causes the time by data-interface charging needs consuming long, poor user experience.
For example:Maximum current output corresponding to USB (Universal Serial Bus, USB (universal serial bus)) interface
For 1.8A, therefore, when USB interface is for charging to external electronic equipment, because little by the current output of USB interface,
So cause the time by USB interface charging needs consuming long, poor user experience.
The content of the invention
The embodiment of the present application provides a kind of side of the current output of data-interface, electronic equipment and growth data interface
Method, solving to charge by data-interface present in prior art needs the technical problem of the time length for expending.
On the one hand the embodiment of the present application provides a kind of data-interface, is applied to an electronic equipment, the data-interface bag
Include:First pin, is connected with the first data wire or the first power line;Second pin, is connected or is grounded with the second data wire;4th
Pin, is connected with second source line;5th pin, grounding connection, and the 4th pin can be transmitted with the 5th pin
The magnitude of current is the electric current of first magnitude of current;Wherein, when the data-interface be in data-transmission mode when, first pin with
The first data wire connection, the second pin are connected with second data wire;When the data-interface is in charging mould
During formula, first pin is connected with first power line, and the second pin ground connection, the data-interface transmit the magnitude of current
For the electric current of second magnitude of current, and the output current of the data-interface is first magnitude of current and second magnitude of current
Sum.
Preferably, the data-interface also includes the 3rd pin, wherein:3rd pin, by detection the described 3rd
Data-interface described in the condition adjudgement of pin is in the data-transmission mode or the charge mode;Or described first draw
Foot is in the data-transmission mode by data-interface described in detecting the condition adjudgement of first pin or described is filled
Power mode;Or the second pin, it is in the number by data-interface described in the condition adjudgement of the detection second pin
According to transmission mode or the charge mode.
Preferably, the data-interface also includes:First switching switch, is switched described first by the described first switching
Pin is connected to first data wire or first power line;Second switching switch, will by the described second switching switch
The second pin is connected to second data wire or ground connection.
On the other hand, one embodiment of the application provides a kind of electronic equipment, and the electronic equipment includes:One circuit board;
Data-interface in the various embodiments described above, the data-interface are connected with the circuit board.
One embodiment of the application additionally provides a kind of method of the output current of growth data interface, is applied to an electronics
Equipment, the electronic equipment have a data-interface, the data-interface comprising the first pin, second pin, the 4th pin and
5th pin, wherein, first pin is connected with the first data wire or the first power line, the second pin and the second data
Line connects or is grounded, and the 4th pin is connected with second source line, and the 5th pin ground connection, methods described include:Logical
When crossing the 4th pin and the 5th pin and transmitting electric current that the magnitude of current is first magnitude of current to a charging equipment, obtain
For the extended instruction of the current output of growth data interface;The extended instruction is performed, in by the data-interface
The 4th pin and the 5th pin transmission magnitude of current while be the electric current of first magnitude of current, control the data and connect
First pin in mouthful is connected with first power line, the second pin ground connection so that the data-interface transmission
The magnitude of current be the electric current of second magnitude of current to the charging equipment, and then cause by the output of the data-interface to described
The magnitude of current of charging equipment is first magnitude of current and second magnitude of current sum.
Preferably, the extended instruction for obtaining the current output for growth data interface, specifically includes:The electricity
Sub- equipment obtains the extended operation of the current output for growth data interface;Based on the electricity for growth data interface
The extended operation of flow throughputs, generates the extended instruction of the current output for growth data interface.
Preferably, the extended instruction for obtaining the current output for growth data interface, specifically includes:When described
Electronic equipment is not used the data-interface in the first preset time range when carrying out data transmission, and generates described for extending
The extended instruction of the current output of data-interface.
Preferably, also including before the execution extended instruction:Detect whether that data are needed by the number
Transmit according to interface;If nothing, execution step:The extended instruction is performed, the 4th pin in by the data-interface
While being the electric current of first magnitude of current with the 5th pin transmission magnitude of current, described first in the data-interface is controlled
Pin is connected with first power line, the second pin ground connection so that the data-interface transmission magnitude of current is second electric
The electric current of flow gives the charging equipment, and then causes the electricity by the output of the data-interface to the charging equipment
Flow is first magnitude of current and second magnitude of current sum.
Preferably, it is described detected whether data need by the data-interface transmit after, also include:Work as detection
When there are data to need to transmit by the data-interface, first pin and described first in the data-interface is controlled
Data wire connects, and the second pin is connected with second data wire, for transmitting the data.
One or more technical schemes provided in the embodiment of the present application, at least have the following technical effect that or advantage:
In one embodiment of the invention, due to being first the magnitude of current is transmitted by the 4th pin and the 5th pin
When the electric current of the magnitude of current gives a charging equipment, the extended instruction of the current output for growth data interface is obtained, then is held
The row extended instruction, the 4th pin in by the data-interface and the 5th pin transmit the magnitude of current for the
While the electric current of one magnitude of current, first pin controlled in the data-interface is connected with first power line, institute
State second pin ground connection so that the data-interface transmission magnitude of current be the electric current of second magnitude of current to the charging equipment,
And then cause by the magnitude of current of the output of the data-interface to the charging equipment to be first magnitude of current and described
Second magnitude of current sum, can solve the problem that to charge by data-interface present in prior art needs the technology of the time length for expending
Problem, can shorten the time charged by data-interface, improve Consumer's Experience.
Further, when electronic equipment obtains the extended operation for the current output of growth data interface, or when electricity
Sub- equipment is not used data-interface in the first preset time range when carrying out data transmission, and generates for growth data interface
The instruction of current output, by performing extended instruction, the first pin in control data interface is connected with the first power line, the
Two pins be grounded so that data-interface transmission the magnitude of current be the electric current of second magnitude of current to charging equipment, and then cause pass through
The output of data-interface to the magnitude of current of charging equipment be first magnitude of current and the second magnitude of current sum, being capable of neatly basis
User operation is directly entered the charge mode that the transmission magnitude of current is first magnitude of current and the second magnitude of current sum.
Further, due to when having detected data and needing to transmit by the data-interface, controlling the data-interface
In first pin be connected with first data wire, the second pin is connected with second data wire, for passing
Data-interface can be switched to data-transmission mode by charge mode neatly, in time by transmission of data.
Description of the drawings
Fig. 1 is the structure chart of data-interface in one embodiment of the application;
Fig. 2 is the structure chart of USB interface in one embodiment of the application;
Fig. 3 is the flow chart of the method for the electric current transmission quantity of growth data interface in one embodiment of the application.
Specific embodiment
The embodiment of the present application provides a kind of side of the current output of data-interface, electronic equipment and growth data interface
Method, solving to charge by data-interface present in prior art needs the technical problem of the time length for expending.
The technical scheme of one embodiment of the invention is to solve the problems, such as above-mentioned, and general thought is as follows:
When electric current that the magnitude of current is first magnitude of current is transmitted to a charging equipment by the 4th pin and the 5th pin,
Obtain the extended instruction of the current output for growth data interface;Extended instruction is performed, by the in data-interface
Four pins and the 5th pin transmission magnitude of current be while be the electric current of first magnitude of current, the first pin in control data interface with
First power line connects, second pin ground connection so that the data-interface transmission magnitude of current is the electric current of second magnitude of current to be charged
Equipment, so cause by the magnitude of current of the output of data-interface to charging equipment be first magnitude of current and second magnitude of current it
With, it is possible to solve prior art present in by data-interface charge need consuming time length technical problem, energy
It is enough to shorten the time charged by data-interface, improve Consumer's Experience.
The data-interface in the embodiment of the present application is introduced first, and the data-interface can apply to an electronic equipment, for example
Notebook computer, all-in-one, desktop computer etc..
As shown in figure 1, data-interface 10 includes:First pin 101, is connected with the first data wire 102 or the first power line 103
Connect;Second pin 104, is connected with the second data wire 105 or ground wire 106, that is, is grounded.
Wherein, when data-interface 10 is in data-transmission mode, the first pin 101 is connected with the first data wire 102,
Second pin 104 is connected with the second data wire 105, as such, it is possible to pass through data-interface 10 and be inserted in data-interface in 10
Other electronic equipments carry out data transmission.
When data-interface 10 is in charge mode, the first pin 101 is connected with the first power line 103, second is drawn
Foot 104 is connected with ground wire 106, so, by the first pin 101 and second pin 104 can output current, to be inserted in data
Other electronic equipments in interface 10 are charged.
Further, data-interface 10 can increase the 3rd pin 107 of setting, be sentenced by the state for detecting the 3rd pin 107
It, in data-transmission mode or charge mode, specifically, is high level when the 3rd pin 107 is detected that disconnected data-interface 10 is
When, then data-interface 10 is in data-transmission mode, when it is low level to detect the 3rd pin 107, then at data-interface 10
In charge mode.It can be seen that, by increasing the 3rd pin 107 for arranging, it is possible to according to the detection of the state to the 3rd pin 107
As a result, the first pin 101 in control data interface 10 is to be connected with the first data wire 102 or connect with the first power line 103
Connect, second pin 104 is to be connected with the second data wire 105 or be connected with ground wire 106, and then makes data-interface 10 be in number
According to transmission mode or charge mode.
In another embodiment of the invention, it is also possible to by the condition adjudgement data-interface 10 for detecting the first pin 101
It is in data-transmission mode or charge mode, specifically:If the first pin 101 is high level, then at data-interface 10
In data-transmission mode, if the first pin 101 is low level, then data-interface 10 is in charge mode.It can be seen that, by data
The first pin 101 in interface 10 just can interpolate that the pattern of data-interface 10, without by increasing drawing for data-interface
Foot realizing, specifically, i.e., the testing result according to the state to the first pin 101, first in control data interface 10
Pin 101 is to be connected with the first data wire 102 or be connected with the first power line 103, and then makes data-interface 10 be in number
According to transmission mode or charge mode.
In another embodiment of the invention, can also pass through to detect the condition adjudgement data-interface 10 of second pin 104
It is in data-transmission mode or charge mode, specifically:If second pin 104 is high level, then at data-interface 10
In data-transmission mode, if second pin 104 is low level, then data-interface 10 is in charge mode.It can be seen that, by data
Second pin 104 in interface 10 just can interpolate that the pattern of data-interface 10, it is not required that by increasing drawing for data-interface
Foot realizing, specifically, i.e., the testing result according to the state to second pin 104, second in control data interface 10
Pin 104 is to be connected with the second data wire 105 or be connected with ground wire 106, and then makes data-interface 10 be in data transfer
Pattern or charge mode.
Further, in the embodiment of the present application, data-interface 10 also includes:First switching switch, wherein, the first switching is opened
Pass is specifically as follows a single-pole double-throw switch (SPDT), combination of two single-pole single-throw switch (SPST)s etc., below with the first switching switch as list
As a example by double-pole double throw switch 108, the data-interface in the embodiment of the present application is explained in detail.
First pin 101 is connected to by the first data wire 102 or the first power line 103 by single-pole double-throw switch (SPDT) 108, is had
Body ground:When single-pole double-throw switch (SPDT) 108 and the first data wire 102 are turned on, the first pin 101 is connected with the first data wire 102, when
When single-pole double-throw switch (SPDT) 108 and the first power line 103 are turned on, the first pin 101 is connected with the first power line 103.
Further, data-interface 10 also includes:Second switching switch, wherein the second switching switch is specifically as follows a list
Combination of double-pole double throw switch and two single-pole single-throw switch (SPST)s etc., below so that the second switching switch is for single-pole double-throw switch (SPDT) 109 as an example,
Data-interface in the embodiment of the present application is explained in detail.
Second pin 104 is connected to by 105 ground wire 106 of the second data wire by single-pole double-throw switch (SPDT) 109, specifically:When
When single-pole double-throw switch (SPDT) 109 and the second data wire 105 are turned on, second pin 104 is connected with the second data wire 105, when hilted broadsword pair
When throw switch 109 is turned on ground wire 106, second pin 104 is connected with ground wire 106.
Turned on the first data wire 102 by single-pole double-throw switch (SPDT) 108, or it is electric with first by single-pole double-throw switch (SPDT) 108
Source line 103 is turned on, and can be connected the first pin 101 with the first data wire 102 or the first power line 103, by single-pole double throw
Switch 109 is turned on the second data wire 105, or is turned on ground wire 106 by single-pole double-throw switch (SPDT) 108, can be by second pin
104 are connected with the second data wire 105 or ground wire 106, and then cause data-interface 10 in data-transmission mode, are realized by single
Double-pole double throw switch 108, the first pin 101 are connected with the first data wire 102, and are realized by single-pole double-throw switch (SPDT) 109, second
Pin 104 is connected with the second data wire 105, wherein, in data-transmission mode, the first pin 101 is used for second pin 104
With other electronic equipment data being inserted on data-interface 10.It is double by above-mentioned single-pole double-throw switch (SPDT) 108 and hilted broadsword
Throw switch 109, also so that data-interface 10 is in charge mode, realizes single-pole double-throw switch (SPDT) 108, the first pin 101 and first
Power line 103 connects, and realizes single-pole double-throw switch (SPDT) 109, and second pin 104 is connected with ground wire 106, wherein, in charging mould
During formula, the first pin 101 is used for output current with second pin 104, for other electronic equipments being inserted on data-interface 10
Charge.
Further, data-interface 10 also includes:4th pin 110, the 4th pin 110 are connected with second source line 112;The
Five pins 111 are connected with ground wire 106, and the 4th pin 110 and the 5th pin 111 are relative to the first pin 101 and second pin 104
For, the 4th pin 110 is connected with second source line 112 all the time, and the 5th pin 111 is connected with ground wire 106 all the time, so, energy
When enough making data-interface be in data-transmission mode and charge mode, other electronic equipments to be inserted on data-interface 10 are passed
Transmission of data is charged.
Further, data-interface 10 also includes the 6th pin 101 ', the 7th pin 104 ', the 9th pin of the 8th pin 107 '
110 ' and the tenth pin 111 ', respectively with the first pin 101, second pin 104, the 3rd pin 107, the 4th pin 110 and
Five pins, 111 correspondence, wherein, the 6th pin 101 ', the 7th pin 104 ', the 9th pin 110 ' of the 8th pin 107 ' and the tenth draw
Foot 111 ' is other electronic equipments that external connection is inserted in data-interface, such as USB flash disk, portable hard drive;First pin 101,
Circuit board on second pin 104, the 3rd pin 107, the 4th pin 110 and the 5th pin 111 connection electronic equipment.
In the present embodiment, data-interface is specifically as follows HDMI (High Definition Multimedia
Interface, HDMI), fire-wire interfaces, USB interface etc., below will be by taking USB interface as an example, to the application reality
The data-interface applied in example is explained in detail.
As shown in Fig. 2 in the USB interface of routine, with the first pin 201, second pin 204, the 4th pin 209,
Five pins 210, the 6th pin 201 ', the 7th pin 204 ', the 9th pin 209 ' and the tenth pin 210 ', wherein, the first pin
201st, second pin 204, the 4th pin 209, the 5th pin 210 are connected with the circuit board of electronic equipment, the 6th pin 201 ',
Seven pins 204 ', the 8th pin 209 ' and the tenth pin 210 ' are connected with other electronic equipments for being inserted into USB interface.
First pin 201 is connected with the first data wire 202 all the time, and second pin 204 is connected with the second data wire 205 all the time
Connect, the first pin 201 and second pin 204 are used for transmission data.
4th pin 209 is connected with second source line 211 all the time, and the 5th pin 210 is connected with ground wire 206 all the time, that is, connect
Ground, wherein, when the 4th pin 209 and the 5th pin 210 can make USB interface be in data-transmission mode and charge mode, it is
Other electronic equipment data for being inserted in USB interface are charged.
In order that USB interface can shorten the time charged by USB interface, Consumer's Experience is improved, increased in USB interface
The first power line 203, first has been added to switch switch 207 and the second switching switch 208, wherein, the first switching switch 207 and second
Switch 208 is specifically as follows the combination of a single-pole double-throw switch (SPDT) or two single-pole single-throw switch (SPST)s.
The first pin 201 in USB interface can be electric with the first data wire 202 or the first by the first switching switch 207
Source line 203 connects;Second pin 204 in USB interface can be with the second data wire 205 or ground by the second switching switch 208
Line 206 connects.Wherein, when USB interface is in data-transmission mode, the first pin 201 is by the first switching switch 207 and the
One data wire 202 connects, and second pin 204 is connected with the second data wire 205 by the second switching switch 208, in this manner it is possible to
Carried out data transmission with other electronic equipments being inserted in USB interface by USB interface.When USB interface is in charge mode
When, the first pin 201 is connected with the first power line 203 by the first switching switch 207, and second pin 204 is by the second switching
Switch 208 is connected with ground wire 206, so, by the first pin 201 and second pin 204 just can output current, to be inserted in
Other electronic equipments in USB interface are charged, it is seen then that by the scheme in the embodiment of the present application, in can making USB interface
First pin 201 both can be used for carrying out data biography with other electronic equipments being inserted in USB interface with second pin 204
Defeated, other electronic equipments that may be used for again being inserted in USB interface are charged.
Wherein, first pin 201 or second pin 204 of USB can be also used for judging that USB interface is in data transfer
Pattern or charge mode, i.e.,:By detecting that the condition adjudgement USB interface of the first pin 201 or second pin 204 is in number
According to transmission mode or charge mode, specifically:
When the first pin 201 or second pin 204 are high level, then USB interface is in data-transmission mode, when first
When pin 201 or second pin 204 are low level, then USB interface is in charge mode.So, in the embodiment of the present application, lead to
The first pin 201 crossed in USB interface or second pin 204 just can interpolate that the pattern of USB interface, without by increasing
The pin of USB interface is realizing.Specifically, i.e.,:According to the current mode of operation of USB interface, first in USB interface is controlled
Pin 201 is to be connected with the first data wire 202 or be connected with the first power line 203, and second pin 204 is and the second data wire
205 connections are still connected with ground wire 206.
Wherein, in the embodiment of the present application, 207 are switched by the first switching and the first pin 201 is connected to into the first data
Line 202 or the first power line 203, specifically:When the first switching switch 207 and the first data wire 202 are turned on, the first pin
201 are connected with the first data wire 202, when the first switching switch 207 is with the conducting of the first power line 203, the first pin 201 and the
One power line 203 connects.
Wherein, in the embodiment of the present application, 208 are switched by the second switching and second pin 204 is connected to into the second data
Line 205 or ground wire 206, specifically:When the second switching switch 208 is with the conducting of the second data wire 205, second pin 204 and the
Two data wires 205 connect, and when the second switching switch 208 is turned on ground wire 206, second pin 204 is connected with ground wire 206.
It can be seen that, 207 are switched by the first switching turn on the first data wire 202, can be by the first pin 201 and the first number
Connect according to line 202;Switched by the first switching and 207 turned on the first power line 203, can will be the first pin 201 electric with first
Source line 203 connects, and switchs 208 by the second switching and turns on the second data wire 205, can be by second pin 204 and the second number
According to line 205;208 are switched by the second switching to turn on ground wire 206, second pin 204 can be connected with ground wire 206, and then
So that USB interface is in data-transmission mode, realize by the first switching switch 207, the first pin 201 and the first data wire
202 connections, and realize that second pin 204 is connected with the second data wire 205 by the second switching switch 208, it is so, just logical
Crossing the first pin 201 just can make USB interface and other electronic equipment numbers being inserted in USB interface with second pin 204
According to, also so that USB interface is in charge mode, the first switching switch 207 is realized, the first pin 201 is connected with the first power line 203
Connect, and realize the second switching switch 208, second pin 204 is connected with ground wire 206, is so achieved that by the first pin
201 are charged with 204 output current of second pin, and then other electronic equipments to be inserted in USB interface.
Another embodiment of the present invention also provides a kind of electronic equipment, refer to Fig. 1, and Fig. 1 is the present embodiment electronic equipment
Organization Chart.
Electronic equipment includes:One circuit board 20, the data-interface 10 in the various embodiments described above are connected with circuit board 20.
The data-interface provided based on a upper embodiment and electronic equipment, the present embodiment provide a kind of growth data interface
The method of current output, is applied to electronic equipment.
First, for the method for becoming apparent from illustrating growth data interface in the embodiment of the present application, continue edge and use an enforcement
Example, the method are applied to notebook computer, and notebook computer has USB interface, and the growth data in the embodiment of the present application is connect
The method of the current output of mouth is explained in detail.
Secondly, for the method for being better understood from being extended data-interface current output using data-interface, below
Above-mentioned technical proposal will be described in detail with reference to Figure of description and specific embodiment.
Fig. 3 is refer to, the method for the current output of the growth data interface in the embodiment of the present invention includes:
Step 301:By the 4th pin 209 and the 5th pin 210 transmit electric current that the magnitude of current is first magnitude of current to
During one charging equipment, the extended instruction of the current output for growth data interface is obtained;
Step 302:Extended instruction is performed, the 4th pin 209 and the 5th pin 210 in by data-interface transmits electricity
While flow is the electric current of first magnitude of current, the first pin 201 in control data interface is connected with the first power line 203,
Second pin 204 is connected with ground wire 206 so that the data-interface transmission magnitude of current is that the electric current of second magnitude of current is set to be charged
It is standby, so cause by the magnitude of current of the output of data-interface to charging equipment be first magnitude of current and second magnitude of current it
With.
By above-mentioned steps 301, after step 302, the method for the embodiment of the present application, it becomes possible to efficiently solve existing
Being charged by data-interface present in technology needs the technical problem of the time length for expending, and can shorten and be filled by data-interface
The time of electricity, improve Consumer's Experience.
In order to the method for becoming apparent from the current output for illustrating the embodiment of the present application growth data interface realizes process, after
An embodiment is used on continuous edge, makees detailed to the process of the method for the current output of the growth data interface in the embodiment of the present application
Description.
Fig. 2 and Fig. 3 is please also refer to, in step 301, electric current is being transmitted by the 4th pin 209 and the 5th pin 210
When the electric current for first magnitude of current is measured to a charging equipment, obtain the extension for the current output of growth data interface and refer to
Order.
For example:When user is charged to mobile phone by the USB interface of notebook computer, the USB interface of notebook computer
The 4th pin 209 be connected with second source line 211, the 5th pin 210 is connected with ground wire 206, now, notebook computer obtain
For the extended instruction of the current output of growth data interface.
In step 302, extended instruction is performed, the 4th pin and the 5th pin in by data-interface transmits electric current
While measuring the electric current for first magnitude of current, the first pin 201 in control data interface is connected with the first power line 203, the
Two pins 204 are grounded with ground wire 206 so that data-interface transmission the magnitude of current be the electric current of second magnitude of current to charging equipment,
And then cause by the magnitude of current of the output of data-interface to charging equipment to be first magnitude of current and the second magnitude of current sum.
For example:By performing extended instruction, the 4th pin 209 in by USB interface draws notebook computer with the 5th
While the transmission magnitude of current of foot 210 is the electric current of 1.8A, the first pin 201 controlled in USB interface is connected with the first power line 203
Connect, second pin 204 is connected with ground wire 206 so that USB interface transmits electric current of the magnitude of current for 1.8A to mobile phone, and then causes
The magnitude of current by the output of USB interface to mobile phone is 3.6A.
In order to being neatly first magnitude of current and the second electric current according to user operation or directly incoming output current
The charge mode of amount sum, step 301 are specifically included:Electronic equipment obtains the expansion of the current output for growth data interface
Exhibition operation, based on the extended operation of the current output for growth data interface, generates the electric current for growth data interface
The extended instruction of output, or carry out data transmission when electronic equipment is not used data-interface in the first preset time range
When, generate the extended instruction of the current output for growth data interface.
For example:During mobile phone charges, operation of the user by a current output for being used for growth data interface,
Notebook computer is obtained in that the extended operation of the current output for growth data interface, based on for growth data interface
Current output extended operation, generate the extended instruction of the current output for growth data interface.
Or user is in the first preset time range, such as when in 5 minutes, unused USB interface carries out data transmission, pen
Remember that this computer directly generates the extended instruction of the current output for growth data interface.
In order that data-interface can be switched to number by charge mode neatly, in time by the data-interface of electronic equipment
According to transmission mode, before extended instruction is performed, also including step:Detect whether that data need to transmit by data-interface;
When detecting no data and needing to transmit by data-interface, execution step 302 is needed by data when data have been detected
When interface is transmitted, the first pin 201 in control data interface is connected with the first data wire 202, and second pin 204 and second is counted
Connect according to line 205, for transmission data.
For example:Before notebook computer performs extended instruction, also detect whether that data need to pass by USB interface
It is defeated.
When user does not need notebook computer to carry out data transmission with mobile phone, notebook computer detects no data and needs
USB interface to be passed through, then the first switching switch in USB interface 207 turn on the first power line 203, by the in USB interface
One pin 201 is connected to the first power line 203, and the second switching switch 208 in USB interface is turned on ground wire 206, and USB is connect
Second pin 204 in mouthful is connected to ground wire 206, makes the first pin 201 transmit electricity of the magnitude of current for 1.8A with second pin 204
Stream, and then cause by the magnitude of current of the output of USB interface to mobile phone to be 3.6A.
When user needs to obtain the data stored in mobile phone by notebook computer, notebook computer has detected data
Need by USB interface, then in USB interface, the first switching switch 207 is turned on the first data wire 202, by the in USB interface
One pin 201 is connected to the first data wire 202, and the second switching switch 208 in USB interface is turned on the second data wire 205, will
Second pin 204 in USB interface is connected to the second data wire 205 so that notebook computer can pass through USB interface and mobile phone
Carry out data transmission, the data stored in obtaining mobile phone.
One or more technical schemes provided in the embodiment of the present application, at least have the following technical effect that or advantage:
In one embodiment of the invention, due to being first the magnitude of current is transmitted by the 4th pin and the 5th pin
When the electric current of the magnitude of current gives a charging equipment, the extended instruction of the current output for growth data interface is obtained, then is held
The row extended instruction, it is first magnitude of current that the 4th pin and the 5th pin in by the data-interface transmits the magnitude of current
Electric current while, first pin controlled in the data-interface is connected with first power line, and described second draws
Foot is grounded so that the data-interface transmission magnitude of current be the electric current of second magnitude of current to the charging equipment, and then cause
The magnitude of current by the output of the data-interface to the charging equipment is first magnitude of current and second electric current
Amount sum, can solve the problem that to charge by data-interface present in prior art needs the technical problem of the time length for expending, energy
It is enough to shorten the time charged by data-interface, improve Consumer's Experience.
Further, when electronic equipment obtains the extended operation for the current output of growth data interface, or when electricity
Sub- equipment is not used data-interface in the first preset time range when carrying out data transmission, and generates for growth data interface
The instruction of current output, by performing extended instruction, the first pin in control data interface is connected with the first power line, the
Two pins be grounded so that data-interface transmission the magnitude of current be the electric current of second magnitude of current to charging equipment, and then cause pass through
The output of data-interface to the magnitude of current of charging equipment be first magnitude of current and the second magnitude of current sum, being capable of neatly basis
User operation is directly entered the charge mode that the transmission magnitude of current is first magnitude of current and the second magnitude of current sum.
Further, due to when having detected data and needing to transmit by the data-interface, controlling the data-interface
In first pin be connected with first data wire, the second pin is connected with second data wire, for passing
Data-interface can be had charge mode to switch to data-transmission mode neatly, in time by transmission of data.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention
God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (9)
1. a kind of data-interface, is applied to an electronic equipment, it is characterised in that the data-interface includes:
First pin, is connected with the first data wire or the first power line;
Second pin, is connected or is grounded with the second data wire;
4th pin, is connected with second source line;
5th pin, grounding connection, and the 4th pin transmit the electricity that the magnitude of current is first magnitude of current with the 5th pin
Stream;
Wherein, when the data-interface is in data-transmission mode, first pin is connected with first data wire, institute
State second pin to be connected with second data wire;
When the data-interface is in charge mode, first pin is connected with first power line, and described second draws
Foot is grounded, and the data-interface transmits the electric current that the magnitude of current is second magnitude of current, and the output current of the data-interface is
First magnitude of current and second magnitude of current sum.
2. interface as claimed in claim 1, it is characterised in that the data-interface also includes the 3rd pin, wherein:
3rd pin, is in the data transfer by data-interface described in the condition adjudgement of detection the 3rd pin
Pattern or the charge mode;Or
First pin, is in the data transfer by data-interface described in the condition adjudgement of detection first pin
Pattern or the charge mode;Or
The second pin, is in the data transfer by data-interface described in the condition adjudgement of the detection second pin
Pattern or the charge mode.
3. interface as claimed in claim 1, it is characterised in that the data-interface also includes:
First pin is connected to first data wire or described by the described first switching switch by the first switching switch
First power line;
The second pin is connected to second data wire by the described second switching switch or is connect by the second switching switch
Ground.
4. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
One circuit board;
Data-interface in the arbitrary claim of claim 1-3, the data-interface are connected with the circuit board.
5. a kind of method of the current output of growth data interface, is applied to an electronic equipment, it is characterised in that the electronics
Equipment has a data-interface, and the data-interface includes the first pin, second pin, the 4th pin and the 5th pin, wherein,
First pin is connected with the first data wire or the first power line, and the second pin is connected or is grounded with the second data wire,
4th pin is connected with second source line, and the 5th pin ground connection, methods described include:
To be charged set to one electric current that the magnitude of current is first magnitude of current is transmitted by the 4th pin and the 5th pin
When standby, the extended instruction of the current output for growth data interface is obtained;
The extended instruction is performed, the 4th pin in by the data-interface transmits electric current with the 5th pin
While measuring the electric current for first magnitude of current, first pin controlled in the data-interface is connected with first power line
Connect, the second pin ground connection so that the data-interface transmission magnitude of current is the electric current of second magnitude of current to described to be charged
Equipment, so cause by the data-interface output to the charging equipment the magnitude of current be first magnitude of current and
Second magnitude of current sum.
6. method as claimed in claim 5, it is characterised in that the acquisition is used for the current output of growth data interface
Extended instruction, specifically includes:
The electronic equipment obtains the extended operation of the current output for growth data interface;
Based on the extended operation of the current output for growth data interface, generate described for growth data interface
The extended instruction of current output.
7. method as claimed in claim 5, it is characterised in that the acquisition is used for the current output of growth data interface
Extended instruction, specifically includes:
When the electronic equipment is not used the data-interface in the first preset time range to carry out data transmission, institute is generated
State the extended instruction of the current output for growth data interface.
8. method as claimed in claim 5, it is characterised in that it is described perform the extended instruction before also include:
Detect whether that data need to transmit by the data-interface;
If nothing, execution step:The extended instruction is performed, by the 4th pin in the data-interface and described the
While the five pins transmission magnitude of current is the electric current of first magnitude of current, first pin in the data-interface and institute are controlled
State the connection of the first power line, the second pin ground connection so that the data-interface transmission magnitude of current is the electricity of second magnitude of current
Flow to the charging equipment, and then cause the magnitude of current that the charging equipment is arrived by the output of the data-interface to be institute
State first magnitude of current and second magnitude of current sum.
9. method as claimed in claim 8, it is characterised in that detected whether that data need to connect by the data described
After port transmission, also include:
When having detected data and needing to transmit by the data-interface, first pin in the data-interface is controlled
It is connected with first data wire, the second pin is connected with second data wire, for transmitting the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210493095.6A CN103838343B (en) | 2012-11-27 | 2012-11-27 | Data interface, electronic device and method for expanding current output quantity of data interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210493095.6A CN103838343B (en) | 2012-11-27 | 2012-11-27 | Data interface, electronic device and method for expanding current output quantity of data interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103838343A CN103838343A (en) | 2014-06-04 |
CN103838343B true CN103838343B (en) | 2017-04-19 |
Family
ID=50801952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210493095.6A Active CN103838343B (en) | 2012-11-27 | 2012-11-27 | Data interface, electronic device and method for expanding current output quantity of data interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103838343B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106959740A (en) * | 2017-03-21 | 2017-07-18 | 联想(北京)有限公司 | A kind of electronic equipment control method and electronic equipment |
CN108845655B (en) * | 2018-06-21 | 2022-03-22 | Oppo广东移动通信有限公司 | Electronic equipment control method and device, control circuit and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383627A (en) * | 2007-09-04 | 2009-03-11 | 大唐移动通信设备有限公司 | Device and method for terminal charger charging, USB charging and data communication |
CN101882736A (en) * | 2009-05-08 | 2010-11-10 | 英华达(上海)电子有限公司 | Data transmission switching device for mobile terminal |
CN202196398U (en) * | 2011-07-13 | 2012-04-18 | 青岛海信移动通信技术股份有限公司 | Power supply managing circuit of charging/ communication multiplex interface and digital electronic product |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2004095250A1 (en) * | 2003-04-23 | 2006-07-13 | 富士通株式会社 | USB upstream device, USB connector, and USB cable |
-
2012
- 2012-11-27 CN CN201210493095.6A patent/CN103838343B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383627A (en) * | 2007-09-04 | 2009-03-11 | 大唐移动通信设备有限公司 | Device and method for terminal charger charging, USB charging and data communication |
CN101882736A (en) * | 2009-05-08 | 2010-11-10 | 英华达(上海)电子有限公司 | Data transmission switching device for mobile terminal |
CN202196398U (en) * | 2011-07-13 | 2012-04-18 | 青岛海信移动通信技术股份有限公司 | Power supply managing circuit of charging/ communication multiplex interface and digital electronic product |
Also Published As
Publication number | Publication date |
---|---|
CN103838343A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9727518B2 (en) | Communication control pins in a dual row connector | |
JP6328795B2 (en) | Baseband PD communication via USB standard A connector | |
CN105281398B (en) | Portable equipment, CA cable assembly and USB system | |
CN106716389B (en) | Method for fast USB charging, electronic device and charger device | |
CN105896655B (en) | Method for charging for electronic equipment and electronic equipment | |
CN105934865B (en) | Control the method and apparatus and electronic equipment of charging | |
EP2860638B1 (en) | Serial communication over communication control pin | |
CN107707000B (en) | OTG power supply and wireless charging compatible circuit, related method and terminal equipment | |
CN103106167A (en) | Universal Serial Bus (USB) equipment and control method thereof | |
CN104272216A (en) | Electronic device and control method therefor | |
CN107516919B (en) | A kind of charging method and charger | |
CN102593930B (en) | Charging system of mobile terminal | |
CN109494822B (en) | Terminal equipment, charger, charging system and charging method | |
CN105762883B (en) | Method and electronic equipment for charging for electronic equipment | |
CN108228509A (en) | A kind of USB interface switching device and electronic equipment | |
CN110492575A (en) | For the quick charging system and method for handheld device, handheld device | |
CN110518668A (en) | For the quick charging system and method for handheld device, handheld device | |
CN106597143A (en) | Test device and test method | |
CN103838343B (en) | Data interface, electronic device and method for expanding current output quantity of data interface | |
CN106451628A (en) | OTG charging control circuit and charging control method | |
CN102761624B (en) | Method and device for debugging Internet access out of panel | |
CN206742881U (en) | Has the cable arrangement of power indicator function | |
CN104393459A (en) | Interface circuit, interface switching method and electronic device | |
CN205486071U (en) | Hand -held device | |
CN104182189A (en) | Electronic equipment and information-processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |