CN103838343A - 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 PDF

Info

Publication number
CN103838343A
CN103838343A CN201210493095.6A CN201210493095A CN103838343A CN 103838343 A CN103838343 A CN 103838343A CN 201210493095 A CN201210493095 A CN 201210493095A CN 103838343 A CN103838343 A CN 103838343A
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.)
Granted
Application number
CN201210493095.6A
Other languages
Chinese (zh)
Other versions
CN103838343B (en
Inventor
谭海防
洪雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210493095.6A priority Critical patent/CN103838343B/en
Publication of CN103838343A publication Critical patent/CN103838343A/en
Application granted granted Critical
Publication of CN103838343B publication Critical patent/CN103838343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

The method of the current output of data-interface, electronic equipment and growth data interface
Technical field
The present invention relates to electronic technology field, relate in particular to the method for the current output of a kind of data-interface, electronic equipment and growth data interface.
Background technology
Along with the development of computer technology, data-interface starts to be widely used, and data-interface is used for external connected electronic equipment connection to computing machine.
In the prior art, specifically, data-interface has two purposes, and one can be connected and realize data transmission with external connected electronic equipment by data-interface, its two, can be used for external electronic equipment to charge by data-interface.
Present inventor is realizing in the process of the embodiment of the present application technical scheme, at least finds that there is and in technology, has following technical matters:
Due in the prior art, when data-interface is when charging to external electronic equipment, the maximum current output quantity of data-interface is less, cause by the charge time that need to expend of data-interface long, poor user experience.
For example: USB(Universal Serial Bus, USB (universal serial bus)) the corresponding maximum current output quantity of interface is 1.8A, therefore, in the time that USB interface is used for external electronic equipment charging, because the current output by USB interface is little, so cause by the charge time that need to expend of USB interface long, poor user experience.
Summary of the invention
The embodiment of the present application provides the method for the current output of a kind of data-interface, electronic equipment and growth data interface, solved in prior art, exist by the data-interface long technical matters of the time that need to expend of charging.
The embodiment of the present application provides a kind of data-interface on the one hand, is applied to an electronic equipment, and described data-interface comprises: the first pin, is connected with the first data line or the first power lead; The second pin, is connected or ground connection with the second data line; Wherein, when described data-interface is during in data-transmission mode, described the first pin is connected with described the first data line, and described the second pin is connected with described the second data line; When described data-interface is during in charge mode, described the first pin is connected with described the first power lead, described the second pin ground connection.
Preferably, described data-interface also comprises the 3rd pin, wherein: described the 3rd pin, judges that by detecting the state of described the 3rd pin described data-interface is in described data-transmission mode or described charge mode; Or described the first pin, judge that by detecting the state of described the first pin described data-interface is in described data-transmission mode or described charge mode; Or described the second pin, judge that by detecting the state of described the second pin described data-interface is in described data-transmission mode or described charge mode.
Preferably, described data-interface also comprises: the first change-over switch, is connected to described the first data line or described the first power lead by described the first change-over switch by described the first pin; The second change-over switch, is connected to described the second data line or ground connection by described the second change-over switch by described the second pin.
Preferably, described data-interface also comprises: the 4th pin, is connected with second source line; The 5th pin, grounding connection.
On the other hand, the application one embodiment provide a kind of electronic equipment, and described electronic equipment comprises: a circuit board; Data-interface in the various embodiments described above, described data-interface is connected with described circuit board.
The application one embodiment also provides a kind of method of output current of growth data interface, be applied to an electronic equipment, described electronic equipment has a data-interface, described data-interface comprises the first pin, the second pin, the 4th pin and the 5th pin, wherein, described the first pin is connected with the first data line or the first power lead, described the second pin is connected or ground connection with the second data line, described the 4th pin is connected with second source line, described the 5th pin ground connection, described method comprises: in the time that the electric current that is first magnitude of current by described the 4th pin and described the 5th pin transmission current amount is given a charging equipment, obtain the extended instruction for the current output of growth data interface, carry out described extended instruction, when described the 4th pin by described data-interface and described the 5th pin transmission current amount are the electric current of first magnitude of current, described the first pin of controlling in described data-interface is connected with described the first power lead, described the second pin ground connection, make electric current that described data-interface transmission current amount is second magnitude of current to described charging equipment, and then to make by the magnitude of current that outputs to described charging equipment of described data-interface be described first magnitude of current and described the second magnitude of current sum.
Preferably, described acquisition, for the extended instruction of the current output of growth data interface, specifically comprises: described electronic equipment obtains the extended operation for the current output of growth data interface; Based on the extended operation of the described current output for growth data interface, generate the extended instruction of the described current output for growth data interface.
Preferably, described acquisition is for the extended instruction of the current output of growth data interface, specifically comprise: in the time that described electronic equipment does not use described data-interface to carry out data transmission within the scope of the first Preset Time, generate the extended instruction of the described current output for growth data interface.
Preferably, before the described extended instruction of described execution, also comprise: detect and whether have data to transmit by described data-interface; If nothing, execution step: carry out described extended instruction, when described the 4th pin by described data-interface and described the 5th pin transmission current amount are the electric current of first magnitude of current, described the first pin of controlling in described data-interface is connected with described the first power lead, described the second pin ground connection, make electric current that described data-interface transmission current amount is second magnitude of current to described charging equipment, and then to make by the magnitude of current that outputs to described charging equipment of described data-interface be described first magnitude of current and described the second magnitude of current sum.
Preferably, described detection whether have data need to be by the transmission of described data-interface after, also comprise: in the time having detected that data need to be transmitted by described data-interface, described the first pin of controlling in described data-interface is connected with described the first data line, described the second pin is connected with described the second data line, for transmitting described data.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
In one embodiment of the invention, due in the time that the electric current that is first magnitude of current by described the 4th pin and described the 5th pin transmission current amount is given a charging equipment, obtain the extended instruction for the current output of growth data interface, carry out again described extended instruction, when described the 4th pin by described data-interface and described the 5th pin transmission current amount are the electric current of first magnitude of current, described the first pin of controlling in described data-interface is connected with described the first power lead, described the second pin ground connection, make electric current that described data-interface transmission current amount is second magnitude of current to described charging equipment, and then to make by the magnitude of current that outputs to described charging equipment of described data-interface be described first magnitude of current and described the second magnitude of current sum, can solve in prior art, exist by the data-interface long technical matters of the time that need to expend of charging, can shorten the time of charging by data-interface, improving user experiences.
Further, in the time that electronic equipment obtains the extended operation of the current output that is used for growth data interface, or when electronic equipment is not when within the scope of the first Preset Time, usage data interface carries out data transmission, generate the instruction for the current output of growth data interface, by carrying out extended instruction, the first pin of controlling in data-interface is connected with the first power lead, the second pin ground connection, making data-interface transmission current amount is that the electric current of second magnitude of current is to charging equipment, and then to make by the magnitude of current that outputs to charging equipment of data-interface be first magnitude of current and the second magnitude of current sum, can operate or directly enter according to user the charge mode that transmission current amount is first magnitude of current and the second magnitude of current sum neatly.
Further, due in the time having detected that data need to be transmitted by described data-interface, described the first pin of controlling in described data-interface is connected with described the first data line, described the second pin is connected with described the second data line, be used for transmitting data, can be neatly, in time data-interface is switched to data-transmission mode by charge mode.
Brief description of the drawings
Fig. 1 is the structural drawing of data-interface in the application one embodiment;
Fig. 2 is the structural drawing of USB interface in the application one embodiment;
Fig. 3 is the process flow diagram of the method for the current delivery amount of growth data interface in the application one embodiment.
Embodiment
The embodiment of the present application provides the method for the current output of a kind of data-interface, electronic equipment and growth data interface, solved in prior art, exist by the data-interface long technical matters of the time that need to expend of charging.
The technical scheme of one embodiment of the invention is for solving the above problems, and general thought is as follows:
By the 4th pin and the 5th pin transmission current amount be the electric current of first magnitude of current to when a charging equipment, obtain the extended instruction for the current output of growth data interface, carry out extended instruction, when the 4th pin by data-interface and the 5th pin transmission current amount are the electric current of first magnitude of current, the first pin of controlling in data-interface is connected with the first power lead, the second pin ground connection, making data-interface transmission current amount is that the electric current of second magnitude of current is to charging equipment, and then to make by the magnitude of current that outputs to charging equipment of data-interface be first magnitude of current and the second magnitude of current sum, so can solve in prior art, exist by the data-interface long technical matters of the time that need to expend of charging, can shorten the time of charging by data-interface, improving user experiences.
Data-interface in paper the embodiment of the present application, this data-interface can be applied to an electronic equipment, such as notebook computer, all-in-one, desktop computer etc.
As shown in Figure 1, data-interface 10 comprises: the first pin 101, is connected with the first data line 102 or the first power lead 103; The second pin 104, is connected i.e. ground connection with the second data line 105 or ground wire 106.
Wherein, when data-interface 10 is during in data-transmission mode, the first pin 101 is connected with the first data line 102, the second pin 104 is connected with the second data line 105, like this, can carry out data transmission by data-interface 10 and other electronic equipments that are inserted in data-interface 10.
When data-interface 10 is during in charge mode, the first pin 101 is connected with the first power lead 103, the second pin 104 is connected with ground wire 106, like this, can output current by the first pin 101 and the second pin 104, for other electronic equipments that are inserted in data-interface 10 charge.
Further, data-interface 10 can increase the 3rd pin 107 is set, judge that by detecting the state of the 3rd pin 107 data-interface 10 is in data-transmission mode or charge mode, particularly, in the time the 3rd pin 107 being detected for high level, data-interface 10 is in data-transmission mode, and in the time the 3rd pin 107 being detected for low level, data-interface 10 is in charge mode.Visible, the 3rd pin 107 arranging by increase, just can be according to the testing result of the state to the 3rd pin 107, the first pin 101 of controlling in data-interface 10 is to be connected with the first data line 102 or to be connected with the first power lead 103, the second pin 104 is be connected with the second data line 105 or be connected with ground wire 106, and then to make data-interface 10 be in data-transmission mode or charge mode.
In another embodiment of the present invention, also can judge that data-interface 10 is in data-transmission mode or charge mode by detecting the state of the first pin 101, particularly: if the first pin 101 is high level, data-interface 10 is in data-transmission mode so, if the first pin 101 is low level, data-interface 10 is in charge mode so.Visible, just can judge the pattern of data-interface 10 by the first pin 101 in data-interface 10, and do not need the pin by increasing data-interface to realize, specifically, according to the testing result of the state to the first pin 101, the first pin 101 of controlling in data-interface 10 is to be connected with the first data line 102 or to be connected with the first power lead 103, and then to make data-interface 10 be in data-transmission mode or charge mode.
In another embodiment of the present invention, can also judge that data-interface 10 is in data-transmission mode or charge mode by detecting the state of the second pin 104, particularly: if the second pin 104 is high level, data-interface 10 is in data-transmission mode so, if the second pin 104 is low level, data-interface 10 is in charge mode so.Visible, just can judge the pattern of data-interface 10 by the second pin 104 in data-interface 10, do not need the pin by increasing data-interface to realize yet, specifically, according to the testing result of the state to the second pin 104, the second pin 104 of controlling in data-interface 10 is be connected with the second data line 105 or be connected with ground wire 106, and then to make data-interface 10 be in data-transmission mode or charge mode.
Further, in the embodiment of the present application, data-interface 10 also comprises: the first change-over switch, wherein, the first change-over switch is specifically as follows the combination of a single-pole double-throw switch (SPDT), two single-pole single-throw switch (SPST)s etc., taking the first change-over switch as single-pole double-throw switch (SPDT) 108 is as example, the data-interface in the embodiment of the present application is explained in detail below.
By single-pole double-throw switch (SPDT) 108, the first pin 101 is connected to the first data line 102 or the first power lead 103, particularly: in the time of single-pole double-throw switch (SPDT) 108 and the first data line 102 conducting, the first pin 101 is connected with the first data line 102, in the time of single-pole double-throw switch (SPDT) 108 and the first power lead 103 conducting, the first pin 101 is connected with the first power lead 103.
Further, data-interface 10 also comprises: the second change-over switch, wherein the second change-over switch is specifically as follows the combination of a single-pole double-throw switch (SPDT) and two single-pole single-throw switch (SPST)s etc., taking the second change-over switch as single-pole double-throw switch (SPDT) 109 is as example, the data-interface in the embodiment of the present application is explained in detail below.
By single-pole double-throw switch (SPDT) 109, the second pin 104 is connected to the second data line 105 ground wires 106, particularly: in the time of single-pole double-throw switch (SPDT) 109 and the second data line 105 conducting, the second pin 104 is connected with the second data line 105, in the time of single-pole double-throw switch (SPDT) 109 and ground wire 106 conducting, the second pin 104 is connected with ground wire 106.
By single-pole double-throw switch (SPDT) 108 and the first data line 102 conductings, or by single-pole double-throw switch (SPDT) 108 and the first power lead 103 conductings, the first pin 101 can be connected with the first data line 102 or the first power lead 103, by single-pole double-throw switch (SPDT) 109 and the second data line 105 conductings, or by single-pole double-throw switch (SPDT) 108 and ground wire 106 conductings, the second pin 104 can be connected with the second data line 105 or ground wire 106, and then make data-interface 10 in the time of data-transmission mode, realize by single-pole double-throw switch (SPDT) 108, the first pin 101 is connected with the first data line 102, and realize by single-pole double-throw switch (SPDT) 109, the second pin 104 is connected with the second data line 105, wherein, in the time of data-transmission mode, the first pin 101 and the second pin 104 for other electronic equipment data that are inserted on data-interface 10.By above-mentioned single-pole double-throw switch (SPDT) 108 and single-pole double-throw switch (SPDT) 109, also make data-interface 10 in the time of charge mode, realize single-pole double-throw switch (SPDT) 108, the first pin 101 is connected with the first power lead 103, and realizes single-pole double-throw switch (SPDT) 109, the second pins 104 and be connected with ground wire 106, wherein, in the time of charge mode, the first pin 101 and the second pin 104 are for output current, for being inserted in other electronic equipment chargings on data-interface 10.
Further, data-interface 10 also comprises: the 4th pin 110, the four pins 110 are connected with second source line 112; The 5th pin 111 is connected with ground wire 106, the 4th pin 110 and the 5th pin 111 are with respect to the first pin 101 and the second pin 104, the 4th pin 110 is connected with second source line 112 all the time, the 5th pin 111 is connected with ground wire 106 all the time, like this, can make data-interface in the time of data-transmission mode and charge mode, for being inserted in other electronic equipment data on data-interface 10 or charging.
Further, data-interface 10 also comprises the 6th pin 101 ', the 7th pin 104 ', the 8th pin 107 ' the 9th pin 110 ' and the tenth pin 111 ', corresponding with the first pin 101, the second pin 104, the 3rd pin 107, the 4th pin 110 and the 5th pin 111 respectively, wherein, the 6th pin 101 ', the 7th pin 104 ', the 8th pin 107 ' the 9th pin 110 ' and the tenth pin 111 ' are to be externally connected other electronic equipments that are inserted in data-interface, for example USB flash disk, portable hard drive; Circuit board on the first pin 101, the second pin 104, the 3rd pin 107, the 4th pin 110 and the 5th pin 111 connecting electronic equipment.
In the present embodiment, data-interface is specifically as follows HDMI(High Definition MultimediaInterface, HDMI), fire-wire interfaces, USB interface etc., will, taking USB interface as example, the data-interface in the embodiment of the present application be explained in detail below.
As shown in Figure 2, in conventional USB interface, there is the first pin 201, the second pin 204, the 4th pin 209, the 5th pin 210, the 6th pin 201 ', the 7th pin 204 ', the 9th pin 209 ' and the tenth pin 210 ', wherein, the first pin 201, the second pin 204, the 4th pin 209, the 5th pin 210 are connected with the circuit board of electronic equipment, and the 6th pin 201 ', the 7th pin 204 ', the 8th pin 209 ' and the tenth pin 210 ' are connected with other electronic equipments that are inserted into USB interface.
The first pin 201 is connected with the first data line 202 all the time, and the second pin 204 is connected with the second data line 205 all the time, and the first pin 201 and the second pin 204 are for transmitting data.
The 4th pin 209 is connected with second source line 211 all the time, the 5th pin 210 is connected with ground wire 206 all the time, be ground connection, wherein, the 4th pin 209 and the 5th pin 210 can make USB interface in the time of data-transmission mode and charge mode, for being inserted in other electronic equipment data in USB interface or charging.
In order to make USB interface can shorten the time of charging by USB interface, improving user experiences, the first power lead 203, the first change-over switch 207 and the second change-over switch 208 in USB interface, are increased, wherein, the first change-over switch 207 and second switch 208 are 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 connected with the first data line 202 or the first power lead 203 by the first change-over switch 207; The second pin 204 in USB interface can be connected with the second data line 205 or ground wire 206 by the second change-over switch 208.Wherein, when USB interface is during in data-transmission mode, the first pin 201 is connected with the first data line 202 by the first change-over switch 207, the second pin 204 is connected with the second data line 205 by the second change-over switch 208, like this, just can carry out data transmission by USB interface and other electronic equipments that are inserted in USB interface.When USB interface is during in charge mode, the first pin 201 is connected with the first power lead 203 by the first change-over switch 207, the second pin 204 is connected with ground wire 206 by the second change-over switch 208, like this, just can output current by the first pin 201 and the second pin 204, for other electronic equipments that are inserted in USB interface charge, visible, by the scheme in the embodiment of the present application, can make the first pin 201 and the second pin 204 in USB interface both can be for having carried out data transmission with other electronic equipments that are inserted in USB interface, can be used to again other electronic equipments that are inserted in USB interface to charge.
Wherein, the first pin 201 of USB or the second pin 204 can also be used for judging that USB interface is in data-transmission mode or charge mode, that is: judge that by detecting the state of the first pin 201 or the second pin 204 USB interface is in data-transmission mode or charge mode, particularly:
In the time that the first pin 201 or the second pin 204 are high level, USB interface is in data-transmission mode, and in the time that the first pin 201 or the second pin 204 are low level, USB interface is in charge mode.Like this, in the embodiment of the present application, just can judge the pattern of USB interface by the first pin 201 in USB interface or the second pin 204, and not need the pin by increasing USB interface to realize.Specifically, that is: the mode of operation current according to USB interface, the first pin 201 of controlling in USB interface is to be connected with the first data line 202 or to be connected with the first power lead 203, and the second pin 204 is be connected with the second data line 205 or be connected with ground wire 206.
Wherein, in the embodiment of the present application, by the first change-over switch 207, the first pin 201 is connected to the first data line 202 or the first power lead 203, particularly: in the time of the first change-over switch 207 and the first data line 202 conducting, the first pin 201 is connected with the first data line 202, in the time of the first change-over switch 207 and the first power lead 203 conducting, the first pin 201 is connected with the first power lead 203.
Wherein, in the embodiment of the present application, by the second change-over switch 208, the second pin 204 is connected to the second data line 205 or ground wire 206, particularly: in the time of the second change-over switch 208 and the second data line 205 conducting, the second pin 204 is connected with the second data line 205, in the time of the second change-over switch 208 and ground wire 206 conducting, the second pin 204 is connected with ground wire 206.
Visible, by the first change-over switch 207 and the first data line 202 conductings, the first pin 201 can be connected with the first data line 202, by the first change-over switch 207 and the first power lead 203 conductings, the first pin 201 can be connected with the first power lead 203, by the second change-over switch 208 and the second data line 205 conductings, can be by the second pin 204 and the second data line 205, by the second change-over switch 208 and ground wire 206 conductings, the second pin 204 can be connected with ground wire 206, and then make USB interface in the time of data-transmission mode, realize by the first change-over switch 207, the first pin 201 is connected with the first data line 202, and realize by the second change-over switch 208, the second pin 204 is connected with the second data line 205, like this, just just can make USB interface and be inserted in other electronic equipment data in USB interface by the first pin 201 and the second pin 204, also make USB interface in the time of charge mode, realize the first change-over switch 207, the first pin 201 is connected with the first power lead 203, and realize the second change-over switch 208, the second pin 204 is connected with ground wire 206, so just realize by the first pin 201 and the second pin 204 output currents, and then for being inserted in other electronic equipment chargings in USB interface.
Another embodiment of the present invention also provides a kind of electronic equipment, please refer to Fig. 1, and Fig. 1 is the Organization Chart of the present embodiment electronic equipment.
Electronic equipment comprises: a circuit board 20, the data-interface 10 in the various embodiments described above is connected with circuit board 20.
The data-interface and the electronic equipment that provide based on a upper embodiment, the present embodiment provides a kind of method of current output of growth data interface, is applied to electronic equipment.
First, in order more to clearly demonstrate the method for growth data interface in the embodiment of the present application, continue along using an embodiment, the method is applied to notebook computer, notebook computer has USB interface, and the method for the current output to the growth data interface in the embodiment of the present application is explained in detail.
Secondly, carry out the method for growth data interface current output quantity in order better to understand usage data interface, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
Please refer to Fig. 3, the method for the current output of the growth data interface in the embodiment of the present invention comprises:
Step 301: by the 4th pin 209 and the 5th pin 210 transmission current amounts be the electric current of first magnitude of current to when a charging equipment, obtain the extended instruction for the current output of growth data interface;
Step 302: carry out extended instruction, when the 4th pin 209 by data-interface and the 5th pin 210 transmission current amounts are the electric current of first magnitude of current, the first pin 201 of controlling in data-interface is connected with the first power lead 203, the second pin 204 is connected with ground wire 206, make data-interface transmission current amount be the electric current of second magnitude of current to charging equipment, and then to make by the magnitude of current that outputs to charging equipment of data-interface be first magnitude of current and the second magnitude of current sum.
By above-mentioned steps 301, after step 302, the method for the embodiment of the present application, just can effectively solve in prior art, exist by the data-interface long technical matters of the time that need to expend of charging, can shorten the time of charging by data-interface, improve user and experience.
In order more to clearly demonstrate the implementation procedure of method of current output of the embodiment of the present application growth data interface, continue along using an embodiment, the process of the method for the current output to the growth data interface in the embodiment of the present application is explained in detail.
Please also refer to Fig. 2 and Fig. 3, in step 301, by the 4th pin 209 and the 5th pin 210 transmission current amounts be the electric current of first magnitude of current to when a charging equipment, obtain the extended instruction for the current output of growth data interface.
For example: when user charges to mobile phone by the USB interface of notebook computer, the 4th pin 209 of the USB interface of notebook computer is connected with second source line 211, the 5th pin 210 is connected with ground wire 206, now, notebook computer obtains the extended instruction for the current output of growth data interface.
In step 302, carry out extended instruction, when the 4th pin by data-interface and the 5th pin transmission current amount are the electric current of first magnitude of current, the first pin 201 of controlling in data-interface is connected with the first power lead 203, the second pin 204 and ground wire 206 ground connection, make data-interface transmission current amount be the electric current of second magnitude of current to charging equipment, and then to make by the magnitude of current that outputs to charging equipment of data-interface be first magnitude of current and the second magnitude of current sum.
For example: notebook computer is by carrying out extended instruction, in the electric current that the 4th pin 209 by USB interface and the 5th pin 210 transmission current amounts are 1.8A, the first pin 201 of controlling in USB interface is connected with the first power lead 203, the second pin 204 is connected with ground wire 206, make electric current that USB interface transmission current amount is 1.8A to mobile phone, and then to make by the magnitude of current that outputs to mobile phone of USB interface be 3.6A.
In order to operate neatly or directly import into the charge mode that output current is first magnitude of current and the second magnitude of current sum according to user, step 301 specifically comprises: electronic equipment obtains the extended operation for the current output of growth data interface, the extended operation of the current output based on for growth data interface, generate the extended instruction for the current output of growth data interface, or when electronic equipment is not when usage data interface carries out data transmission within the scope of the first Preset Time, generate the extended instruction for the current output of growth data interface.
For example: in the process of mobile phone charging, user is by the operation of a current output for growth data interface, notebook computer can obtain the extended operation for the current output of growth data interface, the extended operation of the current output based on for growth data interface, generates the extended instruction for the current output of growth data interface.
Or user is within the scope of the first Preset Time, for example, while not using USB interface to carry out data transmission in 5 minutes, notebook computer directly generates the extended instruction for the current output of growth data interface.
For make the data-interface of electronic equipment can be neatly, in time data-interface is switched to data-transmission mode by charge mode, before carrying out extended instruction, also comprise step: detect and whether have data to transmit by data-interface; When detecting while not having data to transmit by data-interface, execution step 302, in the time having detected that data need to be transmitted by data-interface, the first pin 201 of controlling in data-interface is connected with the first data line 202, the second pin 204 is connected with the second data line 205, for transmitting data.
For example: before notebook computer is carried out extended instruction, also detect and whether have data to transmit by USB interface.
In the time that user does not need notebook computer and mobile phone to carry out data transmission, notebook computer detects does not have data need to pass through USB interface, the first change-over switch 207 in USB interface and the first power lead 203 conductings, the first pin 201 in USB interface is connected to the first power lead 203, the second change-over switch 208 and ground wire 206 conductings in USB interface, the second pin 204 in USB interface is connected to ground wire 206, make the electric current that the first pin 201 and the second pin 204 transmission current amounts are 1.8A, and then to make by the magnitude of current that outputs to mobile phone of USB interface be 3.6A.
In the time that user need to obtain the data of storing in mobile phone by notebook computer, notebook computer has detected that data need to pass through USB interface, the first change-over switch 207 and the first data line 202 conductings in USB interface, the first pin 201 in USB interface is connected to the first data line 202, the second change-over switch 208 in USB interface and the second data line 205 conductings, the second pin 204 in USB interface is connected to the second data line 205, make notebook computer to carry out data transmission by USB interface and mobile phone, obtain the data of storing in mobile phone.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
In one embodiment of the invention, due in the time that the electric current that is first magnitude of current by described the 4th pin and described the 5th pin transmission current amount is given a charging equipment, obtain the extended instruction for the current output of growth data interface, carry out again described extended instruction, when the 4th pin by described data-interface and the 5th pin transmission current amount are the electric current of first magnitude of current, described the first pin of controlling in described data-interface is connected with described the first power lead, described the second pin ground connection, make electric current that described data-interface transmission current amount is second magnitude of current to described charging equipment, and then to make by the magnitude of current that outputs to described charging equipment of described data-interface be described first magnitude of current and described the second magnitude of current sum, can solve in prior art, exist by the data-interface long technical matters of the time that need to expend of charging, can shorten the time of charging by data-interface, improving user experiences.
Further, in the time that electronic equipment obtains the extended operation of the current output that is used for growth data interface, or when electronic equipment is not when within the scope of the first Preset Time, usage data interface carries out data transmission, generate the instruction for the current output of growth data interface, by carrying out extended instruction, the first pin of controlling in data-interface is connected with the first power lead, the second pin ground connection, making data-interface transmission current amount is that the electric current of second magnitude of current is to charging equipment, and then to make by the magnitude of current that outputs to charging equipment of data-interface be first magnitude of current and the second magnitude of current sum, can operate or directly enter according to user the charge mode that transmission current amount is first magnitude of current and the second magnitude of current sum neatly.
Further, due in the time having detected that data need to be transmitted by described data-interface, described the first pin of controlling in described data-interface is connected with described the first data line, described the second pin is connected with described the second data line, be used for transmitting data, can be neatly, have charge mode to switch to data-transmission mode data-interface in time.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. a data-interface, is applied to an electronic equipment, it is characterized in that, described data-interface comprises:
The first pin, is connected with the first data line or the first power lead;
The second pin, is connected or ground connection with the second data line;
Wherein, when described data-interface is during in data-transmission mode, described the first pin is connected with described the first data line, and described the second pin is connected with described the second data line;
When described data-interface is during in charge mode, described the first pin is connected with described the first power lead, described the second pin ground connection.
2. interface as claimed in claim 1, is characterized in that, described data-interface also comprises the 3rd pin, wherein:
Described the 3rd pin, judges that by detecting the state of described the 3rd pin described data-interface is in described data-transmission mode or described charge mode; Or
Described the first pin, judges that by detecting the state of described the first pin described data-interface is in described data-transmission mode or described charge mode; Or
Described the second pin, judges that by detecting the state of described the second pin described data-interface is in described data-transmission mode or described charge mode.
3. interface as claimed in claim 1, is characterized in that, described data-interface also comprises:
The first change-over switch, is connected to described the first data line or described the first power lead by described the first change-over switch by described the first pin;
The second change-over switch, is connected to described the second data line or ground connection by described the second change-over switch by described the second pin.
4. interface as claimed in claim 1, is characterized in that, described data-interface also comprises:
The 4th pin, is connected with second source line;
The 5th pin, grounding connection.
5. an electronic equipment, is characterized in that, described electronic equipment comprises:
One circuit board;
Data-interface in the arbitrary claim of claim 1-4, described data-interface is connected with described circuit board.
6. the method for the current output of a growth data interface, be applied to an electronic equipment, it is characterized in that, described electronic equipment has a data-interface, and described data-interface comprises the first pin, the second pin, the 4th pin and the 5th pin, wherein, described the first pin is connected with the first data line or the first power lead, and described the second pin is connected or ground connection with the second data line, and described the 4th pin is connected with second source line, described the 5th pin ground connection, described method comprises:
In the time that the electric current that is first magnitude of current by described the 4th pin and described the 5th pin transmission current amount is given a charging equipment, obtain the extended instruction for the current output of growth data interface;
Carry out described extended instruction, when described the 4th pin by described data-interface and described the 5th pin transmission current amount are the electric current of first magnitude of current, described the first pin of controlling in described data-interface is connected with described the first power lead, described the second pin ground connection, make electric current that described data-interface transmission current amount is second magnitude of current to described charging equipment, and then to make by the magnitude of current that outputs to described charging equipment of described data-interface be described first magnitude of current and described the second magnitude of current sum.
7. method as claimed in claim 6, is characterized in that, described acquisition, for the extended instruction of the current output of growth data interface, specifically comprises:
Described electronic equipment obtains the extended operation for the current output of growth data interface;
Based on the extended operation of the described current output for growth data interface, generate the extended instruction of the described current output for growth data interface.
8. method as claimed in claim 6, is characterized in that, described acquisition, for the extended instruction of the current output of growth data interface, specifically comprises:
In the time that described electronic equipment does not use described data-interface to carry out data transmission within the scope of the first Preset Time, generate the extended instruction of the described current output for growth data interface.
9. method as claimed in claim 6, is characterized in that, before the described extended instruction of described execution, also comprises:
Whether detect has data to transmit by described data-interface;
If nothing, execution step: carry out described extended instruction, when described the 4th pin by described data-interface and described the 5th pin transmission current amount are the electric current of first magnitude of current, described the first pin of controlling in described data-interface is connected with described the first power lead, described the second pin ground connection, make electric current that described data-interface transmission current amount is second magnitude of current to described charging equipment, and then to make by the magnitude of current that outputs to described charging equipment of described data-interface be described first magnitude of current and described the second magnitude of current sum.
10. method as claimed in claim 9, is characterized in that, described detection whether have data need to be by the transmission of described data-interface after, also comprise:
In the time having detected that data need to be transmitted by described data-interface, described the first pin of controlling in described data-interface is connected with described the first data line, and described the second pin is connected with described the second data line, for transmitting described data.
CN201210493095.6A 2012-11-27 2012-11-27 Data interface, electronic device and method for expanding current output quantity of data interface Active CN103838343B (en)

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 true CN103838343A (en) 2014-06-04
CN103838343B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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
CN108845655A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Control method of electronic device, device, control circuit and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050228934A1 (en) * 2003-04-23 2005-10-13 Fujitsu Limited USB upstream device, USB connector, and USB cable
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050228934A1 (en) * 2003-04-23 2005-10-13 Fujitsu Limited USB upstream device, USB connector, and USB cable
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

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN108845655A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Control method of electronic device, device, control circuit and electronic equipment
CN108845655B (en) * 2018-06-21 2022-03-22 Oppo广东移动通信有限公司 Electronic equipment control method and device, control circuit and electronic equipment

Also Published As

Publication number Publication date
CN103838343B (en) 2017-04-19

Similar Documents

Publication Publication Date Title
US20220285969A1 (en) Battery charging method and electronic device
CN105281398B (en) Portable equipment, CA cable assembly and USB system
CN103107575B (en) Charging method, mobile device, charging device and charging system
CN102593930B (en) Charging system of mobile terminal
CN107465227B (en) Electronic equipment and control method thereof
CN103378378B (en) A kind of charging method and device
CN105576727B (en) Method, device and system for quick charging
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN105302750A (en) Interface function configuration method and electronic equipment
CN105068959A (en) Terminal and charging method and apparatus for terminal with data exchange function
CN105934865A (en) Charge control method and apparatus, and electronic device
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN104953629A (en) Charge device
CN105576753A (en) Information processing method and electronic equipment
CN112134337A (en) Power adapter, terminal device, electronic device and charging control method thereof
CN104269709B (en) A kind of fast charging adapter and its control method, electronic equipment
CN105896639B (en) Charging control method and electronic equipment
CN105048018A (en) Charging method and device for terminal having on-the-go (OTG) function
CN104426194A (en) Charging method and charging equipment
CN110518668A (en) For the quick charging system and method for handheld device, handheld device
CN204886213U (en) General electric power transmission cable and universal serial bus cable
CN103838343A (en) Data interface, electronic device and method for expanding current output quantity of data interface
CN106200442B (en) Method and device for realizing connection control
CN206742881U (en) Has the cable arrangement of power indicator function
JP2014050228A (en) Charging converter

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