CN104393459B - Interface circuit, interface switching method and electronic equipment - Google Patents

Interface circuit, interface switching method and electronic equipment Download PDF

Info

Publication number
CN104393459B
CN104393459B CN201410584723.0A CN201410584723A CN104393459B CN 104393459 B CN104393459 B CN 104393459B CN 201410584723 A CN201410584723 A CN 201410584723A CN 104393459 B CN104393459 B CN 104393459B
Authority
CN
China
Prior art keywords
interface
terminal
usb
electrical connected
earphone
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
Application number
CN201410584723.0A
Other languages
Chinese (zh)
Other versions
CN104393459A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201410584723.0A priority Critical patent/CN104393459B/en
Publication of CN104393459A publication Critical patent/CN104393459A/en
Application granted granted Critical
Publication of CN104393459B publication Critical patent/CN104393459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of interface circuit, interface switching method and electronic equipment, belong to electronic circuit field.Interface circuit includes:Earphone interface;The audio frequency processing circuit being electrical connected with earphone interface;The USB process circuits being electrical connected with earphone interface;The power supply circuit being electrical connected by one in selecting switch and both audio frequency processing circuit and USB process circuits.The present invention is by controlling power supply circuit to be connected or be connected with USB process circuits with audio frequency processing circuit;Solve because mobile terminal is towards lightening development, insufficient space is to set more physical interface, and different physical interfaces need to connect different data wires, using process it is relatively complicated and not convenient enough the problem of;The effect of COBBAIF and USB interface sharing earphone interface has been reached, the switching of audio connection status and USB connection status is realized.

Description

Interface circuit, interface switching method and electronic equipment
Technical field
The present invention relates to electronic circuit field, more particularly to a kind of interface circuit, interface switching method and electronic equipment.
Background technology
In the mobile terminal for supporting multimedia, it usually needs set various physical interfaces to be used for and other equipment phase Connection.
COBBAIF and USB (Universal Serial Bus, USB) are most commonly used that in the prior art Interface.COBBAIF is used for exports audio signal, generally accesses earphone;USB interface is used to charge or carry out data transmission, generally Couple in adapter or other equipment.The different function of each distinct interface correspondence in mobile terminal.
During the present invention is realized, inventor has found that prior art at least has problems with:
Because mobile terminal is towards lightening development, insufficient space is to set more physical interface, and different physical interfaces Need to connect different data wires, it is relatively complicated and not convenient enough using process.
The content of the invention
In order to solve the insufficient space of mobile terminal to set more physical interface, the use process of each physical interface Relatively complicated and not convenient enough the problem of, set the embodiments of the invention provide a kind of interface circuit, interface switching method and electronics It is standby.The technical scheme is as follows:
First aspect according to embodiments of the present invention includes there is provided a kind of interface circuit, the interface circuit:
Earphone interface;The earphone interface includes L channel terminal, R channel terminal, microphone terminal and ground terminal;
The audio frequency processing circuit being electrical connected with the earphone interface;
The USB process circuits being electrical connected with the earphone interface;
It is electrical connected by one in selecting switch and both the audio frequency processing circuit and the USB process circuits Power supply circuit, the selecting switch is to include two moved ends, the SPDT switch of not moved end and control end;
The processor being electrical connected with the earphone interface;
The power supply terminal of the microphone terminal of the earphone interface and the USB process circuits is electrical connected, the earphone The ground terminal of the ground terminal of interface and the USB process circuits is electrical connected;
A moved end and the audio frequency processing circuit of the selecting switch are electrical connected;
Another moved end of the selecting switch is electrical connected with the USB process circuits;
The not moved end of the selecting switch is electrical connected with the power supply circuit;
The control end of the selecting switch is electrical connected with the processor;
If the microphone terminal that the processor is used for the earphone interface is high level, whether the processor is detected The charging indication signal of charging chip transmission is received, the charging chip is located in the USB process circuits;
If the processor receives the charging indication signal, it is determined that the Interface status is the USB connections shape State.
Second aspect according to embodiments of the present invention includes there is provided a kind of interface switching method, methods described:
The Interface status of the earphone interface is detected, the Interface status includes audio connection status and USB connection status In one kind;
If the Interface status is audio connection status, the first control signal, described the are sent to the selecting switch One control signal is used to control the selecting switch to connect the power supply circuit and the audio frequency processing circuit;
If the Interface status is USB connection status, the second control signal, described second are sent to the selecting switch Control signal is used to control the selecting switch to connect the power supply circuit and the USB process circuits;
Wherein, the Interface status of the detection earphone interface, including:
If the microphone terminal of the earphone interface is high level, detect whether the processor receives charging chip The charging indication signal of transmission, the charging chip is located in the USB process circuits;
If the processor receives the charging indication signal, it is determined that the Interface status is the USB connections shape State;
Wherein, the selecting switch is to include two moved ends, the SPDT of not moved end and a control end Switch.
The third aspect according to embodiments of the present invention is there is provided a kind of electronic equipment, and the electronic equipment includes such as first Interface circuit described in aspect.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By using earphone interface simultaneously as COBBAIF and USB interface, while according to the Interface status of earphone interface Control power supply circuit is selectively connected with audio frequency processing circuit or USB process circuits;Solve the insufficient space of mobile terminal To set more physical interface, the problem of use process of each physical interface is relatively complicated and not convenient enough;Sound is reached The effect of frequency interface and USB interface sharing earphone interface, realizes the switching of audio connection status and USB connection status.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the circuit diagram for the interface circuit that one embodiment of the invention is provided;
Fig. 2 is the circuit diagram for the interface circuit that another embodiment of the present invention is provided;
Fig. 3 is the method flow diagram for the interface switching method that one embodiment of the invention is provided;
Fig. 4 is the method flow diagram for the interface switching method that another embodiment of the present invention is provided;
Fig. 5 is the block diagram for the interface change-over device that one embodiment of the invention is provided;
Fig. 6 is the block diagram for the interface change-over device that another embodiment of the present invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is refer to, the circuit diagram of the interface circuit provided it illustrates one embodiment of the invention.Interface electricity Road includes:Earphone interface 110, audio frequency processing circuit 120, USB process circuits 130, selecting switch 140 and power supply circuit 150.
Earphone interface 110 generally includes four terminals, respectively L channel terminal 111, R channel terminal 112, ground terminal Son 113 and microphone terminal 114.The difference of professional standard according to referenced by earphone socket 110, the arrangement of this four terminals is suitable Sequence may be slightly different.
Audio frequency processing circuit 120 is electrical connected with earphone interface 110.
Audio frequency processing circuit 120 includes four terminals, respectively L channel terminal 121, R channel terminal 122, ground wire Terminal 123 and microphone terminal 124.Wherein, in the L channel terminal 121 in audio frequency processing circuit 120 and earphone interface 110 L channel terminal 111 is electrical connected;R channel terminal 122 in audio frequency processing circuit 120 and the R channel in earphone interface 110 Terminal 112 is electrical connected;Ground wire terminal 123 in audio frequency processing circuit 120 and the electricity of ground wire terminal 113 in earphone interface 110 Property be connected;Microphone terminal 124 in audio frequency processing circuit 120 and the electrical phase of microphone terminal 114 in earphone interface 110 Even.
USB process circuits 130 are electrical connected with earphone interface 110.
USB process circuits 130 include four terminals, respectively data plus end DATA+, data negative terminal DATA-, Line terminals GND and power supply terminal VCC.Wherein, in the data plus end DATA+ in USB process circuits 130 and earphone interface 110 L channel terminal 111 be electrical connected;Data negative terminal DATA- in USB process circuits 130 and the right side in earphone interface 110 Sound channel terminal 112 is electrical connected;Ground wire terminal GND in USB process circuits 130 and the ground wire terminal 113 in earphone interface 110 It is electrical connected;Power supply terminal VCC in USB process circuits 130 is electrical connected with the microphone terminal 114 in earphone interface 110.
Power supply circuit 150 by selecting switch 140 respectively with audio frequency processing circuit 130 and the electrical phase of USB process circuits 150 Even.
Selecting switch 140 be include two moved ends, one not moved end 143 and control end 144 SPDT switch;
The not moved end 143 that power supply circuit 150 is switched with SPDT is electrical connected;
One moved end 141 of SPDT switch is electrical connected with audio frequency processing circuit 120;
Another moved end 142 and USB process circuit 130 of SPDT switch is electrical connected.
In summary, the interface circuit that the present embodiment is provided, COBBAIF and USB are used as by using earphone interface simultaneously Interface, while controlling power supply circuit and audio frequency processing circuit or USB process circuits selectivity according to the Interface status of earphone interface Ground is connected;The insufficient space of mobile terminal is solved to set more physical interface, the use process of each physical interface compared with For it is cumbersome and not convenient enough the problem of;The effect of COBBAIF and USB interface sharing earphone interface has been reached, audio company is realized Connect the switching of state and USB connection status.
It should be noted that in each embodiment of the invention, so that the standard of earphone interface is international standard as an example, the ear Four terminals of machine interface are set gradually as L channel terminal, R channel terminal, ground wire terminal and microphone terminal.
It should be added that, data plus end DATA+ in USB process circuits 130 can with earphone interface 110 L channel terminal 111 be electrical connected, now in the data negative terminal DATA- in USB process circuits 130 and earphone interface 110 R channel terminal 112 be electrical connected;Data plus end DATA+ in USB process circuits 130 can with earphone interface 110 R channel terminal 112 be electrical connected, now in the data negative terminal DATA- in USB process circuits 130 and earphone interface 110 L channel terminal 111 be electrical connected.In each embodiment of the invention, with the data plus end in USB process circuits 130 DATA+ is electrical connected with the L channel terminal 111 in earphone interface 110;Data negative terminal DATA- in USB process circuits 130 It is illustrated exemplified by being electrical connected with the R channel terminal 112 in earphone interface 110.
Fig. 2 is refer to, the circuit diagram of the interface circuit provided it illustrates another embodiment of the present invention.The interface Circuit includes:Earphone interface 210, audio frequency processing circuit 220, USB process circuits 230, selecting switch 240, the and of power supply circuit 250 Processor 260.
Earphone interface 210 generally includes four terminals, respectively ground wire terminal 211, microphone terminal 212, R channel end Son 213 and L channel terminal 214.
Audio frequency processing circuit 220 is electrical connected with earphone interface 210.
Audio frequency processing circuit 220 includes four terminals, respectively L channel terminal 221, R channel terminal 222, ground wire Terminal 223 and microphone terminal 224.Wherein, in the L channel terminal 221 in audio frequency processing circuit 220 and earphone interface 210 L channel terminal 211 is electrical connected;R channel terminal 222 in audio frequency processing circuit 220 and the R channel in earphone interface 210 Terminal 212 is electrical connected;Ground wire terminal 223 in audio frequency processing circuit 220 and the electricity of ground wire terminal 213 in earphone interface 210 Property be connected;Microphone terminal 224 in audio frequency processing circuit 220 and the electrical phase of microphone terminal 214 in earphone interface 210 Even.
USB process circuits 230 are electrical connected with earphone interface 210.
USB process circuits 230 include four terminals, respectively data minus (DATA-) terminal 231, data just (DATA+) Terminal 232, ground wire (GND) terminal 233 and power supply (VCC) terminal 234.Wherein, the DATA- terminals in USB process circuits 230 231 are electrical connected with the L channel terminal 211 in earphone interface 210;DATA+ terminals 232 and ear in USB process circuits 230 R channel terminal 212 in machine interface 210 is electrical connected;GND terminal 233 and earphone interface 210 in USB process circuits 230 In ground wire terminal 213 be electrical connected;VCC terminal 234 in USB process circuits 230 and the microphone end in earphone interface 210 Son 214 is electrical connected.
Power supply circuit 250 by selecting switch 240 respectively with audio frequency processing circuit 230 and the electrical phase of USB process circuits 250 Even.
Selecting switch 240 be include two moved ends, one not moved end 243 and control end 244 SPDT switch;
The not moved end 243 that power supply circuit 250 is switched with SPDT is electrical connected;
One moved end 241 of SPDT switch is electrical connected with audio frequency processing circuit 220;
Another moved end 242 and USB process circuit 230 of SPDT switch is electrical connected;
The control end 244 of SPDT switch is electrical connected with processor 260.
Earphone interface 210 is electrical connected with processor 260.
The microphone terminal 212 and ground terminal 211 of processor 260 and earphone interface 210 are electrical connected respectively.
In summary, the interface circuit that the present embodiment is provided, COBBAIF and USB are used as by using earphone interface simultaneously Interface, while controlling power supply circuit and audio frequency processing circuit or USB process circuits selectivity according to the Interface status of earphone interface Ground is connected;The insufficient space of mobile terminal is solved to set more physical interface, the use process of each physical interface compared with For it is cumbersome and not convenient enough the problem of;The effect of COBBAIF and USB interface sharing earphone interface has been reached, audio company is realized Connect the switching of state and USB connection status.
Fig. 3 is refer to, the method flow diagram of the interface switching method provided it illustrates one embodiment of the invention.With this Interface switching method is used to be illustrated in the processor in the circuit diagram shown in Fig. 1.The interface switching method, bag Include:
Step 302, the Interface status of test earphone interface, the Interface status includes audio connection status and USB connection shapes One kind in state;
Step 304, if the Interface status is audio connection status, the first control signal is sent to selecting switch, this One control signal is used for control selections and switched power supply circuit and audio frequency processing circuit connection;
Step 306, if the Interface status is USB connection status, the second control signal is sent to selecting switch, this second Control signal is used for control selections and switched power supply circuit and the connection of USB process circuits.
In summary, the interface switching method that the present embodiment is provided, COBBAIF is used as by using earphone interface simultaneously And USB interface, while controlling power supply circuit to be selected with audio frequency processing circuit or USB process circuits according to the Interface status of earphone interface Connect to selecting property;The insufficient space of mobile terminal is solved to set more physical interface, the use of each physical interface The problem of journey is relatively complicated and not convenient enough;The effect of COBBAIF and USB interface sharing earphone interface has been reached, sound is realized The switching of frequency connection status and USB connection status.
Fig. 4 is refer to, the method flow diagram of the interface switching method provided it illustrates one embodiment of the invention.With this Interface switching method is used to be illustrated in the processor in the circuit diagram shown in Fig. 1.The interface switching method, bag Include:
Step 402, the Interface status of test earphone interface, the Interface status includes audio connection status and USB connection shapes One kind in state;
The Interface status of processor test earphone interface, the Interface status includes audio connection status and USB connection status In one kind.
The step 402 can include following sub-step:
First, whether the microphone terminal of test earphone interface is low level;
Whether the microphone terminal of processor test earphone interface is low level.
If the 2, the microphone terminal of earphone interface is low level, it is determined that Interface status is audio connection status.
Due under audio connection status, being provided with pull-up resistor, therefore, if detecting the microphone terminal of earphone interface For low level, then processor determines that the Interface status is audio connection status.
The step 402 can also include following sub-step:
If the 3, the microphone terminal of earphone interface is high level, whether measurement processor receives charging chip transmission Charging indication signal, charging chip be located at USB process circuits in;
Due to only under audio connection status, being provided with pull-up resistor, therefore, under non-audio connection status, processor The microphone terminal of test earphone interface is high level.It is respectively only to fill due under USB connection status, there is both of which Power mode and charging and data-transmission mode.In embodiments of the present invention, both patterns are not differentiated, because both of which is produced Raw charging effect, therefore, whether measurement processor receives the charging indication signal of charging chip transmission, and the charging chip is located at In USB process circuits.
If the 4, processor receives charging indication signal, it is determined that Interface status is USB connection status.
If processor receives charging indication signal, illustrate between the VCC terminal and GND terminal in USB process circuits 5V voltage difference is generated, therefore, processor determines that the Interface status is USB connection status.
If the microphone terminal in processor test earphone interface is high level, and does not receive charging indication signal, then Processor determines that the Interface status is connectionless state.
Step 404, if the Interface status is audio connection status, the first control signal is sent to selecting switch, this One control signal is used for control selections and switched power supply circuit and audio frequency processing circuit connection;
If the Interface status is audio connection status, processor sends the first control signal to selecting switch, and this first Control signal is used for control selections and switched power supply circuit and audio frequency processing circuit connection.
Step 406, if the Interface status is USB connection status, the second control signal is sent to selecting switch, this second Control signal is used for control selections and switched power supply circuit and the connection of USB process circuits.
If the Interface status is USB connection status, processor sends the second control signal to selecting switch, second control Signal processed is used for control selections and switched power supply circuit and the connection of USB process circuits.
In summary, the interface switching method that the present embodiment is provided, COBBAIF is used as by using earphone interface simultaneously And USB interface, while controlling power supply circuit to be selected with audio frequency processing circuit or USB process circuits according to the Interface status of earphone interface Connect to selecting property;The insufficient space of mobile terminal is solved to set more physical interface, the use of each physical interface The problem of journey is relatively complicated and not convenient enough;The effect of COBBAIF and USB interface sharing earphone interface has been reached, sound is realized The switching of frequency connection status and USB connection status.
Fig. 5 is refer to, the block diagram of the interface change-over device provided it illustrates one embodiment of the invention.With this Interface change-over device is used to be illustrated in the processor in the circuit diagram shown in Fig. 1.The interface change-over device, bag Include:
Interface detection module 520, for the Interface status of test earphone interface, the Interface status includes audio connection status With one kind in USB connection status;
First control module 540, if being audio connection status for the Interface status, sending first to selecting switch controls Signal processed, first control signal is used for control selections and switched power supply circuit and audio frequency processing circuit connection;
Second control module 560, if being USB connection status for the Interface status, sending second to selecting switch controls Signal processed, second control signal is used for control selections and switched power supply circuit and the connection of USB process circuits.
In summary, the interface change-over device that the present embodiment is provided, COBBAIF is used as by using earphone interface simultaneously And USB interface, while controlling power supply circuit to be selected with audio frequency processing circuit or USB process circuits according to the Interface status of earphone interface Connect to selecting property;The insufficient space of mobile terminal is solved to set more physical interface, the use of each physical interface The problem of journey is relatively complicated and not convenient enough;The effect of COBBAIF and USB interface sharing earphone interface has been reached, sound is realized The switching of frequency connection status and USB connection status.
Fig. 6 is refer to, the block diagram of the interface change-over device provided it illustrates one embodiment of the invention.With this Interface change-over device is used to be illustrated in the processor in the circuit diagram shown in Fig. 1.The interface change-over device, bag Include:
Interface detection module 620, for the Interface status of test earphone interface, the Interface status includes audio connection status With one kind in USB connection status;
First control module 640, if being audio connection status for the Interface status, sending first to selecting switch controls Signal processed, first control signal is used for control selections and switched power supply circuit and audio frequency processing circuit connection;
Second control module 660, if being USB connection status for the Interface status, sending second to selecting switch controls Signal processed, second control signal is used for control selections and switched power supply circuit and the connection of USB process circuits.
Alternatively, the interface detection module 620, including:
First detection unit 621, whether the microphone terminal for test earphone interface is low level;
First determining unit 622, for when the microphone terminal of earphone interface is low level, it to be sound to determine Interface status Frequency connection status.
Alternatively, the interface detection module 620, in addition to:
Second detection unit 623, for when the microphone terminal of earphone interface is high level, whether measurement processor to connect The charging indication signal of charging chip transmission is received, charging chip is located in USB process circuits;
Second determining unit 624, for when processor receives charging indication signal, determining that Interface status connects for USB Connect state.
In summary, the interface change-over device that the present embodiment is provided, COBBAIF is used as by using earphone interface simultaneously And USB interface, while controlling power supply circuit to be selected with audio frequency processing circuit or USB process circuits according to the Interface status of earphone interface Connect to selecting property;The insufficient space of mobile terminal is solved to set more physical interface, the use of each physical interface The problem of journey is relatively complicated and not convenient enough;The effect of COBBAIF and USB interface sharing earphone interface has been reached, sound is realized The switching of frequency connection status and USB connection status.
It should be noted that:The device for the interface switching that above-described embodiment is provided is in switching interface, only with above-mentioned each work( The division progress of energy module is for example, in practical application, as needed can distribute above-mentioned functions by different functions Module is completed, i.e., the internal structure of equipment is divided into different functional modules, described above all or part of to complete Function.In addition, the interface change-over device that above-described embodiment is provided belongs to same design with interface switching method embodiment, its is specific Implementation process refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (7)

1. a kind of interface circuit, it is characterised in that the interface circuit includes:
Earphone interface;The earphone interface includes L channel terminal, R channel terminal, microphone terminal and ground terminal;
The audio frequency processing circuit being electrical connected with the earphone interface;
The general-purpose serial bus USB process circuit being electrical connected with the earphone interface;
The power supply being electrical connected by one in selecting switch and both the audio frequency processing circuit and the USB process circuits Circuit, the selecting switch is to include two moved ends, the SPDT switch of not moved end and control end;
The processor being electrical connected with the earphone interface;
The power supply terminal of the microphone terminal of the earphone interface and the USB process circuits is electrical connected, the earphone interface The ground terminal of ground terminal and the USB process circuits be electrical connected;
A moved end and the audio frequency processing circuit of the selecting switch are electrical connected;
Another moved end of the selecting switch is electrical connected with the USB process circuits;
The not moved end of the selecting switch is electrical connected with the power supply circuit;
The control end of the selecting switch is electrical connected with the processor;
If the microphone terminal that the processor is used for the earphone interface is high level, detect whether the processor receives The charging indication signal sent to charging chip, the charging chip is located in the USB process circuits;
If the processor receives the charging indication signal, it is determined that the Interface status is the USB connection status.
2. interface circuit according to claim 1, it is characterised in that the processor and the microphone terminal and described Ground terminal is respectively connected with.
3. interface circuit according to claim 2, it is characterised in that
The L channel terminal of the earphone interface is electrical connected with the L channel terminal of the audio frequency processing circuit, the earphone connects The R channel terminal of mouth is electrical connected with the R channel terminal of the audio frequency processing circuit, the microphone terminal of the earphone interface Be electrical connected with the microphone terminal of the audio frequency processing circuit, the ground terminal of the earphone interface and the audio frequency process electricity The ground terminal on road is electrical connected.
4. interface circuit according to claim 2, it is characterised in that
The data plus end of the L channel terminal of the earphone interface and the USB process circuits is electrical connected, the earphone connects The data negative terminal of the R channel terminal and the USB process circuits of mouth is electrical connected;
Or,
The data negative terminal of the L channel terminal of the earphone interface and the USB process circuits is electrical connected, the earphone connects The data plus end of the R channel terminal and the USB process circuits of mouth is electrical connected.
5. a kind of interface switching method, it is characterised in that the processing for the interface circuit as described in Claims 1-4 is any In device, methods described includes:
The Interface status of the earphone interface is detected, the Interface status is included in audio connection status and USB connection status It is a kind of;
If the Interface status is audio connection status, the first control signal, first control are sent to the selecting switch Signal processed is used to control the selecting switch to connect the power supply circuit and the audio frequency processing circuit;
If the Interface status is USB connection status, the second control signal, second control are sent to the selecting switch Signal is used to control the selecting switch to connect the power supply circuit and the USB process circuits;
Wherein, the Interface status of the detection earphone interface, including:
If the microphone terminal of the earphone interface is high level, detect whether the processor receives charging chip transmission Charging indication signal, the charging chip be located at the USB process circuits in;
If the processor receives the charging indication signal, it is determined that the Interface status is the USB connection status;
Wherein, the selecting switch is to include two moved ends, the SPDT switch of not moved end and control end.
6. method according to claim 5, it is characterised in that the Interface status of the detection earphone interface, is also wrapped Include:
Whether the microphone terminal for detecting the earphone interface is low level;
If the microphone terminal of the earphone interface is low level, it is determined that the Interface status is the audio connection status.
7. a kind of electronic equipment, it is characterised in that the electronic equipment includes the interface electricity as described in Claims 1-4 is any Road.
CN201410584723.0A 2014-10-27 2014-10-27 Interface circuit, interface switching method and electronic equipment Active CN104393459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410584723.0A CN104393459B (en) 2014-10-27 2014-10-27 Interface circuit, interface switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410584723.0A CN104393459B (en) 2014-10-27 2014-10-27 Interface circuit, interface switching method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104393459A CN104393459A (en) 2015-03-04
CN104393459B true CN104393459B (en) 2017-09-05

Family

ID=52611315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410584723.0A Active CN104393459B (en) 2014-10-27 2014-10-27 Interface circuit, interface switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104393459B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554604A (en) * 2015-12-08 2016-05-04 潍坊歌尔电子有限公司 Headset interface conversion device and electronic equipment
CN105656137B (en) * 2016-02-29 2018-07-27 宇龙计算机通信科技(深圳)有限公司 Charging method, circuit and the system and mobile terminal of mobile terminal
CN112864729A (en) * 2019-11-27 2021-05-28 上海毅信贸易有限公司 Earphone charging data line with switching function

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201590889U (en) * 2009-12-25 2010-09-22 歌尔声学股份有限公司 Stereosonic bluetooth headset
CN201758439U (en) * 2010-07-23 2011-03-09 惠州Tcl移动通信有限公司 Micro-USB interface device shared by earphones and USB
CN101917497B (en) * 2010-07-23 2014-04-16 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface
CN101931674B (en) * 2010-09-01 2014-04-16 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN101951421B (en) * 2010-09-20 2013-06-12 深圳桑菲消费通信有限公司 Expansion use method for cell phone earphone interface
CN102082846B (en) * 2010-12-02 2014-01-15 惠州Tcl移动通信有限公司 Terminal equipment with plurality of externally arranged shared interfaces
CN202444597U (en) * 2011-11-09 2012-09-19 广东欧珀移动通信有限公司 Earphone public Micro USB interface circuit
CN203596863U (en) * 2013-11-04 2014-05-14 深圳Tcl新技术有限公司 Circuit and television reusing audio input and output terminals

Also Published As

Publication number Publication date
CN104393459A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
US9128691B2 (en) Method and terminal for selecting internal circuit according to USB interface status
CN201359725Y (en) USB interface circuit and portable hand-held device provided with the circuit
CN104035357B (en) Headset, charging and OTG equipment circuit design based on USB socket
CN100495377C (en) Method for inspecting type of connected peripheral apparatus and terminal interface
CN101102119B (en) A charging detection circuit of appliance device and charging detection method
US20130101132A1 (en) Method and Device for Earphone and USB to Share Micro-USB Interface
CN105848028B (en) Earphone for charging for audio frequency apparatus and be audio frequency apparatus charging method
WO2021135687A1 (en) Electronic device and accessory having both quick charging function and audio transmission function
CN103078224B (en) Connecting line, control method, control circuit and electronic equipment
CN104393459B (en) Interface circuit, interface switching method and electronic equipment
CN102395069A (en) Method for being compatible with earphones with different plug types, apparatus and terminal equipment
CN201075704Y (en) Detection circuit of electrical equipment and mobile phone having the circuit
CN106465005A (en) Earphone type identification method, apparatus and terminal device
WO2020048298A1 (en) Audio signal processing method and apparatus
CN206353652U (en) USB transmission line, mobile terminal
CN106374309A (en) USB transmission line, mobile terminal and USB charging method
CN101626412A (en) Mobile terminal circuit with multifunctional earphone socket and implementation method thereof
CN107885688B (en) Signal switching method and device
CA2875380C (en) Method, system and device for audio data tranmission, and electronic signature tool
EP3690633B1 (en) Signal transmission circuit, signal transmission method and intelligent terminal
CN203734838U (en) Earphone plugging detection apparatus
CN104701933A (en) OTG selective charging circuit and portable loudspeaker box
CN203368124U (en) Power source switching circuit and Dock device
CN101917659A (en) Detection device, method and mobile terminal of earphone circuit
CN205666925U (en) A earphone for being audio equipment charges

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20170222

Address after: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 213161 Jiangsu Province, Changzhou city Wujin district north of the city and Zhongzhi 328 floor

Applicant before: CHANGZHOU HEARING WORKSHOP INTELLIGENT TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Patentee after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Patentee before: Guangzhou KuGou Networks Co., Ltd.

CP02 Change in the address of a patent holder