CN105979422A - Mobile terminal, and earphone base control system and method thereof - Google Patents

Mobile terminal, and earphone base control system and method thereof Download PDF

Info

Publication number
CN105979422A
CN105979422A CN201610494916.6A CN201610494916A CN105979422A CN 105979422 A CN105979422 A CN 105979422A CN 201610494916 A CN201610494916 A CN 201610494916A CN 105979422 A CN105979422 A CN 105979422A
Authority
CN
China
Prior art keywords
outfan
input
mobile terminal
port
earphone base
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.)
Pending
Application number
CN201610494916.6A
Other languages
Chinese (zh)
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.)
Shanghai Chuanggong Telecom Technology Co Ltd
Original Assignee
Shanghai Chuanggong Telecom 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 Shanghai Chuanggong Telecom Technology Co Ltd filed Critical Shanghai Chuanggong Telecom Technology Co Ltd
Priority to CN201610494916.6A priority Critical patent/CN105979422A/en
Publication of CN105979422A publication Critical patent/CN105979422A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Headphones And Earphones (AREA)

Abstract

The invention discloses a mobile terminal, and an earphone base control system and method thereof. The earphone base control system comprises: a first switching unit comprises a first input end, a second input end, a first output end and a second output end; the first input end is electrically connected with the mike signal input end of the mobile terminal; the second input end is grounded; the first output end is electrically connected with a third port; the second output end is electrically connected with a fourth port; when an earphone plug is inserted into an earphone base, a voltage obtaining unit obtains a mike bias voltage value of the mobile terminal; and a control unit judges whether the mike bias voltage value is greater than a threshold value or not and controls the first switching unit to switch according to an judgement result. The first switching unit disclosed by the invention is capable of identifying that an earphone currently inserted into the earphone base is an European standard earphone or an American standard earphone according to different voltage values, and switches a switch; therefore, one mobile terminal can be simultaneously suitable for the European standard earphone and the American standard earphone; and furthermore, after being inserted, the earphone can be self-adaptively switched.

Description

Mobile terminal and earphone base control system thereof and method
Technical field
The present invention relates to communication technique field, particularly to a kind of mobile terminal and earphone base control system thereof And method.
Background technology
At present earphone standard has American Standard and two kinds of standards of Europe superscript, Europe superscript earphone be followed successively by L channel, R channel, Mike system, ground wire.American Standard earphone is followed successively by L channel, R channel, ground wire, mike system.It is visible, Europe superscript and American Standard earphone Main Differences are had any different exactly on mike system and ground wire, and both are contrary.And mesh The line of 4 ports of the earphone base of front mobile terminal is fixing, say, that if the end of earphone base Mouth wiring meets Europe superscript earphone, then American Standard earphone cannot normally use when inserting;If the port of earphone base connects Line meets American Standard earphone, then Europe superscript earphone cannot normally use when inserting.Visible, current mobile terminal The suitability of earphone base the strongest.
Summary of the invention
The technical problem to be solved in the present invention be the earphone base of the mobile terminal in order to overcome prior art not Europe superscript earphone and the defect of American Standard earphone can be suitable for, it is provided that a kind of mobile terminal and earphone base thereof control simultaneously System and method.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of earphone base control system of mobile terminal, earphone base be provided with the first port, the second port, Three ports and the 4th port, its feature is, described earphone base control system includes:
First switch unit, described first switch unit include first input end, the second input, first Outfan and the second outfan;Described first input end is electric with Mike's signal input part of described mobile terminal Connecting, described second input end grounding, described first outfan electrically connects with described 3rd port, described Second outfan electrically connects with described 4th port;
Voltage acquisition unit, for obtaining described mobile terminal when headset plug inserts described earphone base Mike's bias voltage value;
Control unit, is used for judging whether described Mike's bias voltage value is more than first threshold, the most then Control described first input end to electrically connect with described first outfan, described second input and described second Outfan electrically connects;Electrically connect if it is not, then control described first input end with described second outfan, institute State the second input to electrically connect with described first outfan.
It is preferred that described earphone base control system also includes serial communication module and the second switch unit;
Described second switch unit includes the 3rd input, four-input terminal, the 3rd outfan, the 4th defeated Go out end, the 5th outfan and the 6th outfan;
Described 3rd input electrically connects with described first port, described four-input terminal and described second end Mouth electrical connection, described 3rd outfan electrically connects with the data receiver pin of described serial communication module, institute State the 4th outfan to electrically connect with the data transmission pin of described serial communication module, described 5th outfan Electrically connecting with the right-channel signals outfan of described mobile terminal, described 6th outfan is mobile whole with described The left channel signals outfan electrical connection of end;
When described first input end electrically connects with described second outfan, and described second input is with described During the first outfan electrical connection, described control unit is additionally operable to when the first triggering signal being detected control institute State the 3rd input and switch to electrically connect with described 4th outfan from electrically connecting with described 6th outfan, Described four-input terminal switches to be electrically connected with described 3rd outfan from electrically connecting with described 5th outfan Connect.
It is preferred that described earphone base control system also includes the 3rd switch unit, described 3rd switch unit Including the 5th input and the 7th outfan;
Described 5th input electrically connects with described 4th port, and described 7th outfan is second defeated with described Go out end electrical connection;
Described control unit is additionally operable to when described first triggering signal being detected control described 5th input End disconnects with described 7th outfan.
It is preferred that described first switch unit includes the first double-point double-throw switch, described first DPDT First moved end of switch electrically connects with described first input end, and the second moved end is electrically connected with described second input Connect, first not moved end, moved end and second all electrically connect with described first outfan, the 3rd not moved end and Four not moved end all electrically connect with described second outfan, control end pin electrically connect with described control unit;
Described control unit, for when being judged as YES, controls not moved end, described first moved end and described first Electrical connection, described second moved end with the described 3rd not moved end electrically connect;When being judged as NO, control described One moved end with the described 4th not moved end electrically connect, described second moved end with described second not moved end electrically connect.
It is preferred that described second switch unit includes the second double-point double-throw switch, described second DPDT 3rd moved end of switch electrically connects with described 3rd input, and the 4th moved end is electrically connected with described four-input terminal Connect, the 5th not moved end electrically connect with described 3rd outfan, the 6th not moved end with described 4th outfan electricity Connect, the 7th not moved end electrically connect with described 5th outfan, the 8th not moved end and described 6th outfan Electrical connection, controls end pin and electrically connects with described control unit;
Described control unit is additionally operable to when described first triggering signal being detected control described 3rd moved end From with the described 8th not moved end electrically connect switch to the described 6th not moved end electrically connect, described 4th moved end From with the described 7th not moved end electrically connect switch to the described 5th not moved end electrically connect.
It is preferred that described voltage acquisition unit is additionally operable to when described headset plug inserts described earphone base obtain Take the magnitude of voltage of described 4th port;
Described control unit is additionally operable to when the magnitude of voltage of described 4th port is more than Second Threshold detect Described first triggers signal.
The present invention also provides for a kind of mobile terminal, and its feature is, described mobile terminal includes as mentioned above The earphone base control system of mobile terminal.
The present invention also provides for the earphone base control method of a kind of mobile terminal, earphone base be provided with the first port, Second port, the 3rd port and the 4th port, its feature is, described earphone base control method include with Lower step:
First switch unit is set, described first switch unit include first input end, the second input, First outfan and the second outfan;Described first input end inputs with Mike's signal of described mobile terminal End electrical connection, described second input end grounding, described first outfan electrically connects with described 3rd port, Described second outfan electrically connects with described 4th port;
Mike's bias voltage value of described mobile terminal is obtained when headset plug inserts described earphone base;
Judge that described Mike's bias voltage value whether more than first threshold, the most then controls described first defeated Entering end to electrically connect with described first outfan, described second input electrically connects with described second outfan; Electrically connect if it is not, then control described first input end with described second outfan, described second input with Described first outfan electrical connection.
It is preferred that described earphone base control method is further comprising the steps of:
Serial communication module and the second switch unit are set;
Described second switch unit includes the 3rd input, four-input terminal, the 3rd outfan, the 4th defeated Go out end, the 5th outfan and the 6th outfan;Described 3rd input electrically connects with described first port, Described four-input terminal electrically connects with described second port, described 3rd outfan and described serial communication mould The data receiver pin electrical connection of block, described 4th outfan sends with the data of described serial communication module Pin electrically connects, and described 5th outfan electrically connects with the right-channel signals outfan of described mobile terminal, Described 6th outfan electrically connects with the left channel signals outfan of described mobile terminal;
When described first input end electrically connects with described second outfan, and described second input is with described During the first outfan electrical connection, it may be judged whether the first triggering signal detected;
When detect described first trigger signal time control described 3rd input from described 6th output End electrical connection switches to electrically connect with described 4th outfan, and described four-input terminal is from 5th defeated with described Go out to hold electrical connection to switch to described 3rd outfan to electrically connect.
It is preferred that described earphone base control method is further comprising the steps of:
Arranging the 3rd switch unit, described 3rd switch unit includes the 5th input and the 7th outfan; Described 5th input electrically connects with described 4th port, described 7th outfan and described second outfan Electrical connection;
When detecting that described first controls described 5th input and described 7th outfan when triggering signal Disconnect.
It is preferred that judge whether that the step the first triggering signal being detected includes:
The magnitude of voltage of described 4th port is obtained when described headset plug inserts described earphone base;
The first triggering signal is detected when the magnitude of voltage of described 4th port is more than Second Threshold.
The most progressive effect of the present invention is: due to the wiring difference of American Standard and Europe superscript earphone so that ear When machine transplanting of rice head inserts in earphone base, Mike's bias voltage value is different, and first switch unit of the present invention then may be used Be currently inserted into earphone base according to different magnitude of voltage identification is Europe superscript earphone or American Standard earphone, and makes The action of switching switch, thus realizing same portion mobile terminal, can be suitable for Europe superscript different with American Standard two kinds simultaneously The earphone of standard, and earphone insert after can carry out self adaptation switching.
Accompanying drawing explanation
Fig. 1 is the structural representation of the earphone base control system of the mobile terminal of the embodiment of the present invention 1.
Fig. 2 is the knot that the earphone base control system of the mobile terminal of the embodiment of the present invention 1 is in Europe superscript state Structure schematic diagram.
Fig. 3 is the knot that the earphone base control system of the mobile terminal of the embodiment of the present invention 1 is in American Standard state Structure schematic diagram.
Fig. 4 is the knot that the earphone base control system of the mobile terminal of the embodiment of the present invention 2 is in Europe superscript state Structure schematic diagram.
Fig. 5 is the knot that the earphone base control system of the mobile terminal of the embodiment of the present invention 2 is in American Standard state Structure schematic diagram.
Fig. 6 is that the earphone base control system of the mobile terminal of the embodiment of the present invention 3 is (single without the 3rd switching Unit) it is in the structural representation of ear-phone function state.
Fig. 7 is that the earphone base control system of the mobile terminal of the embodiment of the present invention 3 is (single without the 3rd switching Unit) it is in the structural representation of data-transformation facility state.
Fig. 8 be the mobile terminal of the embodiment of the present invention 3 earphone base control system in earphone base port with The connecting line construction schematic diagram of the pin of USB interface.
Fig. 9 is the earphone base control system (containing the 3rd switch unit) of the mobile terminal of the embodiment of the present invention 3 Control earphone base and be in the structural representation of data-transformation facility state.
Figure 10 is that the earphone base control system of the mobile terminal of the embodiment of the present invention 3 is (single containing the 3rd switching Unit) control earphone base and be in the structural representation of ear-phone function state.
Figure 11 is the flow chart of the earphone base control method of the mobile terminal of the embodiment of the present invention 4.
Figure 12 is the flow chart of the earphone base control method of the mobile terminal of the embodiment of the present invention 5.
Detailed description of the invention
Further illustrate the present invention below by the mode of embodiment, but the most therefore limit the present invention to Among described scope of embodiments.
Embodiment 1
Earphone base is sequentially provided with first port the 1, second port the 2, the 3rd port 3 and the 4th from the inside to the outside Port 4, when headset plug insert earphone base time, four ports of earphone base respectively with the four of headset plug Individual contact electrically connects.As it is shown in figure 1, the earphone base control system of the present embodiment includes the first switch unit 5, voltage acquisition unit 9 and control unit 10.
Concrete, such as Fig. 2-3, the first switch unit 5 include first input end the 51, second input 52, First outfan 53 and the second outfan 54.First input end 51 inputs with Mike's signal of mobile terminal End MIC electrical connection, the second input 52 ground connection, the first outfan 53 electrically connects with the 3rd port 3, Second outfan 54 electrically connects with the 4th port 4.
Voltage acquisition unit 9 for obtaining Mike's biasing of mobile terminal when headset plug inserts earphone base Magnitude of voltage.
Control unit 10 is used for judging that Mike's bias voltage value, whether more than first threshold, if so, illustrates Insert is that (four contacts of Europe superscript earphone are left channel signals input, R channel to Europe superscript earphone successively Signal input part, Mike's signal output part, earth terminal), as in figure 2 it is shown, control unit 10 then controls First input end 51 electrically connects with the first outfan 53, the second input 52 and the second outfan 54 electricity Connecting, now the first port 1 of earphone base connects with left channel signals output terminals A udio_L of mobile terminal Connecing, the second port 2 is connected with right-channel signals output terminals A udio_R, the 3rd port 3 and Mike's signal Input MIC connects, the 4th port 4 ground connection, the most now four ports of earphone base and Europe superscript ear Four contacts of machine transplanting of rice head are sequentially connected electrically, thus Europe superscript earphone inserts earphone base and can normally use;If it is not, What insertion was described is that (four contacts of American Standard earphone are left channel signals input, the right side to American Standard earphone successively Sound channel signal input, earth terminal, Mike's signal output part), as it is shown on figure 3, then control unit 10 Control first input end 51 to electrically connect with the second outfan 54, the second input 52 and the first outfan 53 electrical connections, now the first port 1 of earphone base is connected with left channel signals output terminals A udio_L, Second port 2 is connected with right-channel signals output terminals A udio_R, the 3rd port 3 ground connection, the 4th port 4 are connected with Mike signal input part MIC, the most now four ports of earphone base and American Standard headset plug Four contacts be sequentially connected electrically, thus American Standard earphone insert earphone base can normally use.
Wiring difference due to American Standard and Europe superscript earphone so that when headset plug inserts in earphone base, Mike Bias voltage value is different, and the present embodiment, according to above-mentioned principle, obtains Mike by voltage acquisition unit 9 inclined Putting magnitude of voltage, what control unit 10 then can be currently inserted into earphone base according to different magnitude of voltage identification is Europe Mark earphone or American Standard earphone, and control the first switch unit 5 switching input, the connection status of outfan, Thus realize same portion mobile terminal the most applicable Europe superscript earphone the most applicable American Standard earphone.
Embodiment 2
On the basis of embodiment 1, first switch unit 5 of the present embodiment also includes the first DPDT Switch 55, as illustrated in figures 4-5, the first double-point double-throw switch 55 include two moved ends (the first moved end 551, Second moved end 552) and four not moved end (first not moved end the 554, the 3rd, moved end 553, second motionless End 555 and the 4th not moved end 556), wherein the first moved end 551 electrically connects with first input end 51, the Two moved ends 552 electrically connect with the second input 52, first not moved end 554, moved end 553 and second equal Electrically connect with the first outfan 53, the 3rd not moved end 556, moved end 555 and the 4th all with the second output End 54 electrical connection, controls end pin SEL and electrically connects with control unit.
It should be noted that first threshold is relevant with the default conditions of earphone base, default conditions include Europe superscript State and American Standard state, can be arranged voluntarily.If arranging default conditions is Europe superscript state, first threshold is 1V Left and right;If arranging default conditions is American Standard state, first threshold is about 0.5V.
Below by the default conditions of earphone base for former to the work of earphone base control system as a example by Europe superscript state Reason illustrates: if earphone base does not has headset plug to insert, earphone base be in default conditions (now namely Europe superscript state, as shown in Figure 4).If headset plug inserts earphone base, voltage acquisition unit will obtain Mike's bias voltage value of the mobile terminal arrived sends to control unit, if control unit judges that Mike biases Magnitude of voltage is more than 1V, now can determine whether that the earphone inserted is the Europe superscript earphone (default conditions with earphone base Identical), therefore the first double-point double-throw switch is failure to actuate;If control unit judges Mike, bias voltage value is little In or equal to 1V, now can determine whether that the earphone inserted is American Standard earphone (different from default conditions), control Unit controls the first double-point double-throw switch 55 switching switch, as it is shown in figure 5, make the first moved end 551 with 4th not moved end 556 electrically connect, the second moved end 552 with second not moved end 554 electrically connect.
Below by the default conditions of earphone base for former to the work of earphone base control system as a example by American Standard state Reason illustrates: same, if earphone base does not has headset plug to insert, earphone base is in default conditions (this Time namely American Standard state, as shown in Figure 5).If headset plug to be inserted earphone base, voltage acquisition unit Mike's bias voltage value of the mobile terminal got is sent to control unit, if control unit judges wheat Gram bias voltage value more than 0.5V, now can determine whether the earphone inserted be Europe superscript earphone (with default conditions not With), control unit controls the first double-point double-throw switch 55 switching switch, as shown in Figure 4, makes first to move End 551 with first not moved end 553 electrically connect, the second moved end 552 with the 3rd not moved end 555 electrically connect; If control unit judges that Mike's bias voltage value, less than or equal to 0.5V, now can determine whether that the earphone inserted is American Standard earphone (identical with default conditions), now the first double-point double-throw switch 55 is failure to actuate.
Embodiment 3
Embodiment 3 is substantially the same manner as Example 1, and as shown in fig. 6-7, difference is, earphone base Control system also includes serial communication module (not shown) and the second switch unit.Second switching is single Unit include the 3rd input 61, four-input terminal 62, the 3rd outfan 63, the 4th outfan 64, Five outfan 65 and the 6th outfans 66;3rd input 61 electrically connects with the first port 1, and the 4th is defeated Entering end 62 to electrically connect with the second port 2, the 3rd outfan 63 draws with the data receiver of serial communication module Foot UART_RX electrically connects, and the 4th outfan 64 sends pin with the data of serial communication module UART_TX electrically connects, the 5th outfan 65 and right-channel signals output terminals A udio_R of mobile terminal Electrical connection, the 6th outfan 66 electrically connects with left channel signals output terminals A udio_L of mobile terminal.
When first input end 51 electrically connects with the second outfan 54, and the second input 52 is defeated with first When going out end 53 electrical connection, control unit is additionally operable to when the first triggering signal being detected control the 3rd input End 61 switches to electrically connect with the 4th outfan 64 from electrically connect with the 6th outfan 66, and the 4th inputs End 62 switches to electrically connect with the 3rd outfan 63, i.e. from Fig. 6 from electrically connecting with the 5th outfan 65 Shown state switches to the state shown in Fig. 7.
Sometimes mobile terminal need to be attached with computer, thus realizes data transmission between the two, example As: mobile terminal is in the development phase or in maintenance process, and software engineer needs to enter software code Row debugging.In prior art, generally in the data receiver pin sum of serial communication module of mobile terminal According to sending pin welding electric wire and by the USB (USB (universal serial bus)) of the other end of two electric wires Yu computer The data-out pin of interface and data output pins connect, to realize between mobile terminal and computer The transmission of tune-up data.Such mode is the most loaded down with trivial details, if keeping in repair mobile terminal, in addition it is also necessary to tear open Unload mobile terminal, thus work efficiency is the lowest, and easily damage mobile whole in dismounting, welding process The hardware of end.
In the present embodiment, by data wire, (one end of this data wire is headset plug, inserts mobile terminal Earphone base;The other end is USB plug, insert computer USB interface) can make mobile terminal with Computer connects, and now can debug mobile terminal, and which is mobile eventually without welding, dismounting End, and convenient and reliable, it is greatly improved the work efficiency of software engineer.
Concrete, the second switch unit in the present embodiment includes the second double-point double-throw switch 67, second pair Double-pole double throw switch 67 includes two moved ends (the 3rd moved end 672, moved end the 671, the 4th) and four not moved end (the 5th not moved end 676, not moved end 675, not moved end the 674, the 7th, moved end the 673, the 6th and the 8th), Wherein the 3rd moved end 671 electrically connects with the 3rd input 61, the 4th moved end 672 and four-input terminal 62 Electrical connection, the 5th not moved end 673 electrically connect with the 3rd outfan 63, the 6th not moved end 674 and the 4th Outfan 64 electrically connects, the 7th not moved end 675 electrically connect with the 5th outfan 65, the 8th not moved end 676 Electrically connect with the 6th outfan 66, control end pin SEL and electrically connect with control unit.
Earphone base control system to the present embodiment realizes the operation principle of software debugging function and carries out below Illustrate: first declare, it is achieved the premise of this function be the default conditions of earphone base be American Standard state, as figure Shown in 6, namely first input end 51 electrically connects with the second outfan 54, and the second input 52 and One outfan 53 electrically connects.When mobile terminal is connected with computer by data wire, namely earphone is inserted (now externally, as shown in Figure 8, the first port 1 and the second port of earphone base when head inserts earphone base 2 are connected with data-out pin D-, the data output pins D+ of USB interface 8 respectively, the 3rd port 3 ground connection, the 4th port 4 is connected with VCC pin), owing to VCC pin can export the letter of about 5V Number power supply, therefore can judge to use ear-phone function or number by the magnitude of voltage of detection the 4th port 4 According to transfer function.
Concrete, voltage acquisition unit can obtain magnitude of voltage (namely the VCC pin of the 4th port 4 Magnitude of voltage), control unit is more than Second Threshold (4.75V-5.25V scope at the magnitude of voltage of the 4th port 4 Between can arrange voluntarily) time the first triggering signal detected, and control when the first triggering signal being detected 3rd moved end 671 from the 8th not moved end 676 electrically connect switch to the 6th not moved end 674 electrically connect, 4th moved end 672 from the 7th not moved end 675 electrically connect switch to the 5th not moved end 673 electrically connect (also I.e. second double-point double-throw switch 67 switches to state shown in Fig. 7 from state shown in Fig. 6), the most internally, First port 1 of earphone base sends pin UART_TX with the data of serial communication module and is connected, and second Port 2 is connected with data receiver pin UART_RX, the 3rd port 3 ground connection, the 4th port 4 and wheat Gram signal input part MIC connects, thus can be by defeated for UART (universal asynchronous receiving-transmitting transmitter) serial ports The information that goes out sends to computer, and can receive the data that computer sends, so realize mobile terminal with Data transmission between computer.If the magnitude of voltage of the 4th port (includes two less than or equal to Second Threshold Kind of situation: insert, insert the plug of earphone without plug), control unit control the 3rd moved end 671 from 6th not moved end 674 electrical connection switch to the 8th not moved end 676 electrically connect, the 4th moved end 672 from 5th not moved end 673 electrical connection switch to the 7th not moved end 675 electrically connect (namely the second DPDT Switch 67 switches to state shown in Fig. 6 from state shown in Fig. 7).
Visible, the present embodiment can identify current earphone automatically by the magnitude of voltage of earphone base the 4th port What seat needs met is ear-phone function or UART data-transformation facility, and can carry out self application switching. Therefore, the earphone base control system of the present embodiment is possible not only to utilize earphone base to realize mobile terminal and calculating The data-transformation facility of machine, does not the most also interfere with the use of the ear-phone function of mobile terminal.
During as it has been described above, use data-transformation facility, owing to VCC pin can export the signal of about 5V Power supply, as it is shown in fig. 7, this signal power source can input to mobile terminal from Mike signal input part MIC Inside, thus have and burn out mobile terminal internal components (power management chip of mobile terminal and MIC Circuit) danger, in order to avoid above-mentioned danger, as shown in figs. 9-10, the earphone base control of the present embodiment System processed also includes that the 3rd switch unit 7, the 3rd switch unit 7 include that the 5th input 71 and the 7th is defeated Go out end 72;5th input 71 electrically connects with the 4th port 4, the 7th outfan 72 and the second outfan 54 electrical connections.If control unit detects the first triggering signal, as it is shown in figure 9, then control the 5th input End 71 disconnects with the 7th outfan 72;If being not detected by the first triggering signal, such as Figure 10 institute Showing, the 5th input 71 electrically connects with the 7th outfan 72, and now earphone base is likely not to have plug and is rubbed into, Be likely to insertion is the plug of earphone.The 3rd switch unit in the present embodiment includes the 3rd DPDT Switch, naturally it is also possible to be other kinds of switch, such as single-pole double-throw switch (SPDT), as long as switch is pressure Magnitude of voltage more than VCC pin.
The present embodiment also provides for a kind of mobile terminal, and it includes the earphone base control of mobile terminal as above System processed.Concrete, this mobile terminal can include having the mobile phone of earphone base, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), The terminal units such as vehicle-mounted computer, but it is not limited to this.This mobile terminal also includes shell, earphone control system Being arranged in shell, wherein control unit can be realized by the processor of baseband chip, voltage acquisition unit Can (functional unit in baseband chip can be used for obtaining wheat by the ACCDECT of baseband chip The magnitude of voltage of gram signal input part) unit realizes.
Embodiment 4
As shown in figure 11, the earphone base control method of the present embodiment comprises the following steps:
Step 110, arranges the first switch unit.
In step 110, the first switch unit includes first input end, the second input, the first output End and the second outfan;First input end electrically connects with Mike's signal input part of mobile terminal, and second is defeated Enter to hold ground connection, the first outfan and the electrical connection of the 3rd port, the second outfan and the electrical connection of the 4th port.
Step 120, obtains Mike's bias voltage value of mobile terminal when headset plug inserts earphone base.
Step 130, it is judged that whether Mike's bias voltage value is more than first threshold, and according to judged result control Make the first switch unit switching input, the connection status of outfan.
Concrete, in step 130, if judged result is Mike's bias voltage value is more than first threshold, Then control first input end and the electrical connection of the first outfan, the second input and the electrical connection of the second outfan; If judged result is Mike's bias voltage value is not more than first threshold, then control first input end and second defeated Go out end electrical connection, the second input and the electrical connection of the first outfan.
The earphone base control method of the present embodiment can differentiate be currently inserted into earphone base be Europe superscript earphone or American Standard earphone, and make the action of switching switch, thus realize same portion mobile terminal and can be suitable for Europe simultaneously Self adaptation switching can be carried out after marking the earphone with two kinds of different standards of American Standard, and earphone insertion.
Embodiment 5
Embodiment 5 is substantially the same manner as Example 4, and as shown in figure 12, difference is, earphone base Control method is further comprising the steps of:
Step 140, arranges serial communication module and the second switch unit.
In step 140, the second switch unit includes the 3rd input, four-input terminal, the 3rd output End, the 4th outfan, the 5th outfan and the 6th outfan;3rd input and the electrical connection of the first port, Four-input terminal and the electrical connection of the second port, the 3rd outfan and the data receiver pin of serial communication module Electrical connection, the data of the 4th outfan and serial communication module send pin and electrically connect, the 5th outfan and The right-channel signals outfan electrical connection of mobile terminal, the 6th outfan and the left channel signals of mobile terminal Outfan electrically connects.
Step 150, when first input end and the second outfan electrically connect, and the second input and first defeated When going out end electrical connection, it may be judged whether the first triggering signal detected.
Step 160, controls the second switch unit switching input, output when the first triggering signal being detected The connection status of end.
Concrete, in a step 160, if when the first triggering signal being detected, then control the 3rd input Switching to electrically connect with the 4th outfan from electrically connecting with the 6th outfan, four-input terminal is from defeated with the 5th Go out to hold electrical connection to switch to the 3rd outfan to electrically connect.
In order to protect mobile terminal, earphone base control method can also comprise the following steps:
Step 170, arranges the 3rd switch unit.
In step 170, the 3rd switch unit includes the 5th input and the 7th outfan;5th input End electrically connects with the 4th port, the 7th outfan and the electrical connection of the second outfan.
Step 180, when detecting that described first controls described 5th input and described the when triggering signal Seven outfans disconnect.
Wherein, step 150 includes:
The magnitude of voltage of the 4th port is obtained when headset plug inserts earphone base;
The first triggering signal is detected when the magnitude of voltage of the 4th port is more than Second Threshold.
Although the foregoing describing the detailed description of the invention of the present invention, but those skilled in the art should managing Solving, this is merely illustrative of, and protection scope of the present invention is defined by the appended claims.Ability The technical staff in territory, can be to these embodiments on the premise of without departing substantially from the principle of the present invention and essence Make various changes or modifications, but these changes and amendment each fall within protection scope of the present invention.

Claims (11)

1. an earphone base control system for mobile terminal, earphone base be provided with the first port, the second port, 3rd port and the 4th port, it is characterised in that described earphone base control system includes:
First switch unit, described first switch unit include first input end, the second input, first Outfan and the second outfan;Described first input end is electric with Mike's signal input part of described mobile terminal Connecting, described second input end grounding, described first outfan electrically connects with described 3rd port, described Second outfan electrically connects with described 4th port;
Voltage acquisition unit, for obtaining described mobile terminal when headset plug inserts described earphone base Mike's bias voltage value;
Control unit, is used for judging whether described Mike's bias voltage value is more than first threshold, the most then Control described first input end to electrically connect with described first outfan, described second input and described second Outfan electrically connects;Electrically connect if it is not, then control described first input end with described second outfan, institute State the second input to electrically connect with described first outfan.
2. the earphone base control system of mobile terminal as claimed in claim 1, it is characterised in that institute State earphone base control system and also include serial communication module and the second switch unit;
Described second switch unit includes the 3rd input, four-input terminal, the 3rd outfan, the 4th defeated Go out end, the 5th outfan and the 6th outfan;
Described 3rd input electrically connects with described first port, described four-input terminal and described second end Mouth electrical connection, described 3rd outfan electrically connects with the data receiver pin of described serial communication module, institute State the 4th outfan to electrically connect with the data transmission pin of described serial communication module, described 5th outfan Electrically connecting with the right-channel signals outfan of described mobile terminal, described 6th outfan is mobile whole with described The left channel signals outfan electrical connection of end;
When described first input end electrically connects with described second outfan, and described second input is with described During the first outfan electrical connection, described control unit is additionally operable to when the first triggering signal being detected control institute State the 3rd input and switch to electrically connect with described 4th outfan from electrically connecting with described 6th outfan, Described four-input terminal switches to be electrically connected with described 3rd outfan from electrically connecting with described 5th outfan Connect.
3. the earphone base control system of mobile terminal as claimed in claim 2, it is characterised in that institute State earphone base control system and also include that the 3rd switch unit, described 3rd switch unit include the 5th input With the 7th outfan;
Described 5th input electrically connects with described 4th port, and described 7th outfan is second defeated with described Go out end electrical connection;
Described control unit is additionally operable to when described first triggering signal being detected control described 5th input End disconnects with described 7th outfan.
4. the earphone base control system of mobile terminal as claimed in claim 1, it is characterised in that institute State the first switch unit and include the first double-point double-throw switch, the first moved end of described first double-point double-throw switch Electrically connecting with described first input end, the second moved end electrically connects with described second input, the first not moved end With second not moved end all electrically connect with described first outfan, the 3rd not moved end, moved end and the 4th is not all and institute State the second outfan electrical connection, control end pin and electrically connect with described control unit;
Described control unit, for when being judged as YES, controls not moved end, described first moved end and described first Electrical connection, described second moved end with the described 3rd not moved end electrically connect;When being judged as NO, control described One moved end with the described 4th not moved end electrically connect, described second moved end with described second not moved end electrically connect.
5. the earphone base control system of mobile terminal as claimed in claim 2, it is characterised in that institute State the second switch unit and include the second double-point double-throw switch, the 3rd moved end of described second double-point double-throw switch Electrically connecting with described 3rd input, the 4th moved end electrically connects with described four-input terminal, the 5th not moved end Electrically connect with described 3rd outfan, the 6th not moved end electrically connect with described 4th outfan, the 7th is motionless End electrically connect with described 5th outfan, the 8th not moved end electrically connect with described 6th outfan, control end Pin electrically connects with described control unit;
Described control unit is additionally operable to when described first triggering signal being detected control described 3rd moved end From with the described 8th not moved end electrically connect switch to the described 6th not moved end electrically connect, described 4th moved end From with the described 7th not moved end electrically connect switch to the described 5th not moved end electrically connect.
6. the earphone base control system of mobile terminal as claimed in claim 2 or claim 3, it is characterised in that
It is described that described voltage acquisition unit is additionally operable to the acquisition when described headset plug inserts described earphone base The magnitude of voltage of the 4th port;
Described control unit is additionally operable to when the magnitude of voltage of described 4th port is more than Second Threshold detect Described first triggers signal.
7. a mobile terminal, it is characterised in that described mobile terminal includes as in claim 1-6 The earphone base control system of the mobile terminal described in any one.
8. an earphone base control method for mobile terminal, earphone base be provided with the first port, the second port, 3rd port and the 4th port, it is characterised in that described earphone base control method comprises the following steps:
First switch unit is set, described first switch unit include first input end, the second input, First outfan and the second outfan;Described first input end inputs with Mike's signal of described mobile terminal End electrical connection, described second input end grounding, described first outfan electrically connects with described 3rd port, Described second outfan electrically connects with described 4th port;
Mike's bias voltage value of described mobile terminal is obtained when headset plug inserts described earphone base;
Judge that described Mike's bias voltage value whether more than first threshold, the most then controls described first defeated Entering end to electrically connect with described first outfan, described second input electrically connects with described second outfan; Electrically connect if it is not, then control described first input end with described second outfan, described second input with Described first outfan electrical connection.
9. the earphone base control method of mobile terminal as claimed in claim 8, it is characterised in that institute State earphone base control method further comprising the steps of:
Serial communication module and the second switch unit are set;
Described second switch unit includes the 3rd input, four-input terminal, the 3rd outfan, the 4th defeated Go out end, the 5th outfan and the 6th outfan;Described 3rd input electrically connects with described first port, Described four-input terminal electrically connects with described second port, described 3rd outfan and described serial communication mould The data receiver pin electrical connection of block, described 4th outfan sends with the data of described serial communication module Pin electrically connects, and described 5th outfan electrically connects with the right-channel signals outfan of described mobile terminal, Described 6th outfan electrically connects with the left channel signals outfan of described mobile terminal;
When described first input end electrically connects with described second outfan, and described second input is with described During the first outfan electrical connection, it may be judged whether the first triggering signal detected;
When detect described first trigger signal time control described 3rd input from described 6th output End electrical connection switches to electrically connect with described 4th outfan, and described four-input terminal is from 5th defeated with described Go out to hold electrical connection to switch to described 3rd outfan to electrically connect.
10. the earphone base control method of mobile terminal as claimed in claim 9, it is characterised in that institute State earphone base control method further comprising the steps of:
Arranging the 3rd switch unit, described 3rd switch unit includes the 5th input and the 7th outfan; Described 5th input electrically connects with described 4th port, described 7th outfan and described second outfan Electrical connection;
When detecting that described first controls described 5th input and described 7th outfan when triggering signal Disconnect.
The earphone base control method of 11. mobile terminals as described in claim 9 or 10, its feature exists In, it may be judged whether detect that the step of the first triggering signal includes:
The magnitude of voltage of described 4th port is obtained when described headset plug inserts described earphone base;
The first triggering signal is detected when the magnitude of voltage of described 4th port is more than Second Threshold.
CN201610494916.6A 2016-06-29 2016-06-29 Mobile terminal, and earphone base control system and method thereof Pending CN105979422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610494916.6A CN105979422A (en) 2016-06-29 2016-06-29 Mobile terminal, and earphone base control system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610494916.6A CN105979422A (en) 2016-06-29 2016-06-29 Mobile terminal, and earphone base control system and method thereof

Publications (1)

Publication Number Publication Date
CN105979422A true CN105979422A (en) 2016-09-28

Family

ID=57020853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610494916.6A Pending CN105979422A (en) 2016-06-29 2016-06-29 Mobile terminal, and earphone base control system and method thereof

Country Status (1)

Country Link
CN (1) CN105979422A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109075811A (en) * 2016-03-24 2018-12-21 高通股份有限公司 Mobile device with a variety of communication capacities
CN111314817A (en) * 2020-02-28 2020-06-19 Oppo广东移动通信有限公司 Switching control circuit, terminal equipment and switching control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752682A (en) * 2012-06-29 2012-10-24 歌尔声学股份有限公司 Bluetooth earphone with multiplexing of USB (Universal Serial Bus) interface
CN202759419U (en) * 2012-06-14 2013-02-27 天地融科技股份有限公司 Audio interface self-adapting device and electronic signature tool
WO2013107272A1 (en) * 2012-01-20 2013-07-25 天地融科技股份有限公司 Apparatus for detecting the type of an audio interface
CN103391495A (en) * 2013-07-01 2013-11-13 上海摩软通讯技术有限公司 Automatic earphone adaptation circuit and adaptation method thereof
CN104349246A (en) * 2013-08-06 2015-02-11 快捷半导体(苏州)有限公司 Audio jack system
CN104936055A (en) * 2015-04-30 2015-09-23 上海锐鸿通信技术有限公司 Terminal with earphone interface and earphone interface adaptive method
CN105049998A (en) * 2015-07-07 2015-11-11 北京医康世纪科技有限公司 Audio communication device
CN105338445A (en) * 2014-06-26 2016-02-17 展讯通信(上海)有限公司 Signal transmission device, method and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013107272A1 (en) * 2012-01-20 2013-07-25 天地融科技股份有限公司 Apparatus for detecting the type of an audio interface
CN202759419U (en) * 2012-06-14 2013-02-27 天地融科技股份有限公司 Audio interface self-adapting device and electronic signature tool
CN102752682A (en) * 2012-06-29 2012-10-24 歌尔声学股份有限公司 Bluetooth earphone with multiplexing of USB (Universal Serial Bus) interface
CN103391495A (en) * 2013-07-01 2013-11-13 上海摩软通讯技术有限公司 Automatic earphone adaptation circuit and adaptation method thereof
CN104349246A (en) * 2013-08-06 2015-02-11 快捷半导体(苏州)有限公司 Audio jack system
CN105338445A (en) * 2014-06-26 2016-02-17 展讯通信(上海)有限公司 Signal transmission device, method and mobile terminal
CN104936055A (en) * 2015-04-30 2015-09-23 上海锐鸿通信技术有限公司 Terminal with earphone interface and earphone interface adaptive method
CN105049998A (en) * 2015-07-07 2015-11-11 北京医康世纪科技有限公司 Audio communication device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109075811A (en) * 2016-03-24 2018-12-21 高通股份有限公司 Mobile device with a variety of communication capacities
CN111314817A (en) * 2020-02-28 2020-06-19 Oppo广东移动通信有限公司 Switching control circuit, terminal equipment and switching control method

Similar Documents

Publication Publication Date Title
CN108666826B (en) Adapter, terminal equipment and adapter system
JP4440230B2 (en) Portable terminal having multi-function socket, communication method using multi-function socket, multi-function socket adapter and communication system using multi-function socket
US7863906B2 (en) Systems and methods for determining the configuration of electronic connections
CN106104506B (en) For entering the method, apparatus and computer program product of attachment joint mode in USB c-type interface
CN100495377C (en) Method for inspecting type of connected peripheral apparatus and terminal interface
CN104023294B (en) Interface duplex device and pinboard in terminal
US8756358B2 (en) Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal
CN101951421B (en) Expansion use method for cell phone earphone interface
US20130101132A1 (en) Method and Device for Earphone and USB to Share Micro-USB Interface
CN101931674A (en) Method and device for sharing Micro-USB interface
CN102082846B (en) Terminal equipment with plurality of externally arranged shared interfaces
CN103716734A (en) Apparatus and method for detecting insertion of headset into mobile station
CN103078224B (en) Connecting line, control method, control circuit and electronic equipment
CN103888873B (en) Electronic installation, UART output systems and method
CN101022278A (en) Terminal equipment, connector, charger and charging method
CN105933823A (en) Backward compatible system and method for using 4P audio jack to provide power and signal to headset with active noise cancellation
CN104093114B (en) A kind of detection means of earphone keystroke, detecting system and detection method
CN201919041U (en) Terminal equipment with plurality of peripheral sharing interfaces
US20180011809A9 (en) Mobile device and method for reading uart data
TWI662821B (en) System and method for testing a radio frequency transceiver by controlling test flow via an induced interrupt
CN105979422A (en) Mobile terminal, and earphone base control system and method thereof
CN104459376B (en) A kind of interface circuit and peripherals detecting method, outer sensor based on the circuit
CN107612571A (en) Terminal and its control circuit of multipurpose Kato, prevent SIM card from burning the method for card
CN104581527B (en) A kind of interface circuit and peripherals detecting method, outer sensor based on the circuit
CN104599672A (en) Audio encoder/decoder with audio insertion-connection detection capacity and audio insertion-connection detecting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160928

RJ01 Rejection of invention patent application after publication