CN103118191A - Using control method and mobile terminal for iPhone wire control earphone - Google Patents

Using control method and mobile terminal for iPhone wire control earphone Download PDF

Info

Publication number
CN103118191A
CN103118191A CN2013100314292A CN201310031429A CN103118191A CN 103118191 A CN103118191 A CN 103118191A CN 2013100314292 A CN2013100314292 A CN 2013100314292A CN 201310031429 A CN201310031429 A CN 201310031429A CN 103118191 A CN103118191 A CN 103118191A
Authority
CN
China
Prior art keywords
earphone
voltage
volume
line control
iphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100314292A
Other languages
Chinese (zh)
Other versions
CN103118191B (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.)
Weihai high tech Park Operation Management Co.,Ltd.
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201310031429.2A priority Critical patent/CN103118191B/en
Publication of CN103118191A publication Critical patent/CN103118191A/en
Application granted granted Critical
Publication of CN103118191B publication Critical patent/CN103118191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a using control method and a mobile terminal for an iPhone wire control earphone. The method includes: detecting whether an earphone with a microphone is inserted or not, and judging whether a microphone channel of the earphone is in an open circuit state or not; controlling voltage of a microphone of the iPhone wire control earphone and input/output states of a configuration pin of an earphone detecting circuit to enable the iPhone wire control earphone to enter a talk mode or a music mode; enabling a left sound channel/right sound channel, the microphone and a HOOK button of the iPhone wire control earphone in the talk mode to enter working states; controlling the mobile terminal to answer/hang up calls by the HOOK button, and enabling the microphone to normally work; enabling the left sound channel/right sound channel, a volume+button/volume-button and the HOOK button of the iPhone wire control earphone to enter working states in the music mode; controlling the mobile terminal to play/pause music by the HOOK button; and enabling the iPhone wire control earphone to be capable of being recognized by non-iPhone mobile terminals and functional buttons of the iPhone wire control earphone to be capable of working.

Description

A kind of use control method and mobile terminal thereof of iPhone line control earphone
Technical field
The present invention relates to the mobile terminal application, in particular a kind of use control method and mobile terminal thereof of iPhone line control earphone.
Background technology
The iphone mobile phone is many due to its function, intelligent degree is high, easy to use, is subject to more and more users and buys use.Every money iPhone mobile phone all is equipped with its special-purpose accessory, as iPhone line control earphone, pad pasting, outer casing protective sleeve etc.
Judge in prior art that whether earphone inserts is mainly the voltage height that judgement detects pin DET, please consult simultaneously Fig. 1 and Fig. 2, Fig. 1 is prior art earphone detection circuit figure, annexation as shown in Figure 1, wherein the 6th pin of earphone detection circuit 10 is a shell fragment, and it connects supply pin VS by a pull-up resistor R1; The resistance of resistance R 1 is 1M.When not inserting, mobile terminal provides the voltage V of 1.8V to the supply pin VS of earphone detection circuit 10 when earphone (plug portion of earphone only is shown in figure) VS, because the 6th pin of earphone detection circuit 10 is unsettled, the voltage that detects on pin DET also is 1.8V.This moment mobile terminal the voltage that detects pin DET to be detected be high level, judge that earphone does not insert.When earphone inserted, the microphone of earphone, earth terminal, R channel, L channel are corresponding respectively to be connected with the 1st pin, the 2nd pin, the 3rd pin, the 4th pin of earphone detection circuit 10, and the L channel of earphone also is connected with the 5th pin of earphone detection circuit; The 1st pin of earphone detection circuit 10, the 3rd pin, the 4th pin are connected respectively the MIC(microphone of mobile terminal) end (comprise MIC+, MIC-), R(R channel), the L(L channel) transmit corresponding audio signal.Because the insertion of earphone makes shell fragment contact with the 5th pin, the 6th pin that is equivalent to earphone detection circuit 10 is connected pin and all is connected with the L channel of earphone with Qi Di.Impedance R due to this L channel LBe 32 ohm, be equivalent to the 6th pin ground connection is detected the voltage on pin DET
Figure 644741DEST_PATH_IMAGE001
, this moment mobile terminal the voltage that detects pin DET to be detected be low level, judge that earphone inserts.
The earphone detection circuit 10 of mobile terminal (comprising the iphone mobile phone) is substantially similar, yet the iPhone line control earphone is adaptive iphone mobile phone only, can not detect the iPhone line control earphone and whether insert or insert the rear section button and can not use on other mobile terminals.This is because be provided with the IC of a special use in the iPhone line control earphone.This IC connects with the microphone (MIC) of iPhone line control earphone, can be according to the operations such as the volume+key of iPhone line control earphone, volume-key, HOOK key be produced different signals, are sent to and differentiate in the iPhone mobile phone, thus realize that corresponding volume increases, volume reduces, function is switched.It is 3.97M that the existence of this IC makes the resistance value on the microphone path of iPhone line control earphone, and the resistance value of general common headphones on the microphone path is 0.7K ~ 2.2K.If the iPhone line control earphone is inserted other mobile terminals, on the microphone path, the large resistance near 4M is equivalent to open circuit, makes the microphone path disconnection of iPhone line control earphone cause it to use.The iPhone line control earphone why Here it is has can only be to use on its supporting iPhone mobile phone, and mobile phone that can not compatible other types.Some mobile terminals may detect the iPhone line control earphone when inserting the iPhone line control earphone and insert, but but can not use the corresponding function of iPhone line control earphone; Some mobile terminals can be identified the iPhone line control earphone and be used for listening to the music, but the volume+key of iPhone line control earphone, volume-key can not use.These problems are all that the IC of described special use causes, and have so greatly reduced the compatibility of iPhone line control earphone, have brought inconvenience for user's use, have reduced user's Experience Degree.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, defects for prior art, a kind of use control method and mobile terminal thereof of iPhone line control earphone are provided, are intended to solve and normally use its corresponding function, the compatible relatively poor problem of iPhone line control earphone after existing iPhone line control earphone inserts mobile terminal.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of use control method of iPhone line control earphone, it comprises the following steps:
A, mobile terminal detect the earphone that inserts and whether are with microphone, when mobile terminal detects earphone with microphone and inserts, judge whether the microphone path of earphone is open-circuit condition;
When the microphone path of B, the earphone that inserts when judgement is open-circuit condition, the earphone that identification is inserted is the iPhone line control earphone, and mobile terminal makes the iPhone line control earphone enter call mode or music pattern according to the I/O state of the configuration pin of the earphone detection circuit of the voltage swing on the microphone of the described iPhone line control earphone of operational order control of input and mobile terminal;
C, after the iPhone line control earphone enters call mode, left/right sound channel, microphone, the HOOK key of controlling the iPhone line control earphone enter operating state; HOOK key control mobile terminal receiving/hang-up phone, the microphone normal operation;
D, after the iPhone line control earphone enters music pattern, mobile terminal detects volume+key/volume-key, and left/right sound channel, volume+key/volume-key, the HOOK key of controlling the iPhone line control earphone enter operating state; HOOK key control mobile terminal playing/time-out music.
Described iPhone line control earphone uses control method, and wherein, in described step B, the step that mobile terminal control iPhone line control earphone enters call mode specifically comprises:
B1, mobile terminal are inputted the first voltage from the reference voltage pin of earphone detection circuit, the configuration pin of earphone detection circuit is set to output state and generates second voltage according to the first voltage be loaded on the microphone of iPhone line control earphone, the microphone path of iPhone line control earphone is opened in activation, Mike's wind energy normal operation of iPhone line control earphone;
B2, continue input the first voltage and judge whether the scheduled time reach, after the scheduled time reaches, described configuration pin is set to input state, keeps the current state of microphone of iPhone line control earphone.
Described iPhone line control earphone uses control method, and wherein, in described step B, mobile terminal control iPhone line control earphone enters music pattern and specifically comprises:
The configuration pin of B11, mobile terminal earphone detection circuit is set to input state;
B22, judge whether the scheduled time reach, after the scheduled time reaches from reference voltage pin input first voltage of earphone detection circuit and be loaded on the microphone of iPhone line control earphone.
Described iPhone line control earphone uses control method, wherein, enters in the process of call mode at the iPhone line control earphone, and when mistake was pressed the HOOK key, the voltage on the microphone of iPhone line control earphone became 0V, and described configuration pin keeps input state; Repeating step B1, B2 when mobile terminal detects the low level that configures on pin enter the microphone normal operation that call mode makes the iPhone line control earphone again.
Described iPhone line control earphone uses control method, wherein, and in described step D, when pressing volume+key or volume-key, mobile terminal correspondingly detects a volume voltage and judge on described configuration pin; When described volume voltage is in the first volume voltage range, judge that this volume voltage is that upper volume voltage, the function of carrying out volume+key increase volume; When described volume voltage is in the second volume voltage range, judge that this volume voltage is that lower volume voltage, the function of carrying out volume-key reduce volume; Under described upper volume voltage ratio, volume voltage is large.
Described iPhone line control earphone uses control method, and wherein, the minimum value of described the first volume voltage range is than the large 100mV of minimum value of the second volume voltage range; The maximum of described the first volume voltage range is than the large 100mV of maximum of the second volume voltage range; The large 100mV of volume voltage under described upper volume voltage ratio.
Described iPhone line control earphone uses control method, and wherein, described the first voltage is 1.8V, and described second voltage is 2.6V.
Described iPhone line control earphone uses control method, and wherein, the described scheduled time is 10mS.
Described iPhone line control earphone uses control method, and wherein, described the first volume voltage range is 1.4V ~ 1.5V, and described the second volume voltage range is 1.3V ~ 1.4V.
A kind of mobile terminal, it comprises:
Earphone detection circuit;
Voltage module is used for providing the first voltage to the reference voltage pin of earphone detection circuit, and the first volume voltage range and the second volume voltage range are set;
State setting module, the configuration pin that is used for earphone detection circuit is set to input state or output state;
Timer is used for setting the scheduled time;
Judge module is used for judging whether the scheduled time reaches; Whether the microphone path that judges earphone is open-circuit condition; And the volume voltage that detects on the configuration pin with earphone detection circuit and the first volume voltage range and the second volume voltage range compare, the type of judgement volume voltage;
Detection module, for detection of the earphone that inserts whether with voltage and the output of each pin of microphone, Test earphone testing circuit;
Described voltage module, detection module, state setting module be the frames connecting with headphone testing circuit respectively, and described voltage module, detection module, state setting module, timer be the connection judgment module respectively.
IPhone line control earphone provided by the present invention uses control method, when the earphone of mobile terminal judgement insertion is the iPhone line control earphone, correspondingly control the I/O state of configuration pin of the earphone detection circuit of voltage swing on the microphone of iPhone line control earphone and mobile terminal according to the operational order of input, make the iPhone line control earphone enter call mode or music pattern; Left/right sound channel, microphone, the HOOK key of controlling the iPhone line control earphone under call mode enter operating state; HOOK key control mobile terminal receiving/hang-up phone, the microphone normal operation; Mobile terminal can detect volume+key/volume-key under music pattern, and left/right sound channel, volume+key/volume-key, the HOOK key of control iPhone line control earphone enter operating state; HOOK key control mobile terminal playing/time-out music, its control method is simple, has improved the compatibility of iPhone line control earphone.
Description of drawings
Fig. 1 is prior art earphone detection circuit figure.
Fig. 2 is the plug pin schematic diagram of earphone in Fig. 1.
Fig. 3 is that iPhone line control earphone provided by the invention uses the control method flow chart.
Fig. 4 is the structural representation of mobile terminal provided by the invention.
Embodiment
Increased resistance value on its microphone path based on the IC of the special use that arranges in existing iPhone line control earphone, make the iPhone line control earphone can not compatible other mobile terminals except the iPhone product, the problem that when perhaps inserting other mobile terminals, its function can not realize fully.The present invention tests by reality and learns, when one greater than after the voltage-drop loading of 2.5V is to the microphone of iPhone line control earphone, large resistance value on its microphone path will correspondingly become 1.2K, in resistance value scope corresponding to common headphones, can activate this IC this moment, the microphone path that is equivalent to open the iPhone line control earphone makes the normal operation of Mike's wind energy, so the iPhone line control earphone insert other mobile terminal after its microphone just can use.Draw through overtesting, first the microphone of iPhone line control earphone loaded voltage greater than 2.5V, after keeping a period of time as long as guarantee that the voltage on this microphone can make microphone keep normal operation greater than 1.5V.Based on above-mentioned thinking, the invention provides a kind of use control method and mobile terminal thereof of iPhone line control earphone, on the basis of adopting existing earphone detection circuit, control voltage and the input/output state thereof of some pins in earphone detection circuit by mobile terminal, can solve the problem that mobile terminal can't compatible iPhone line control earphone, and after inserting, all functions button on the iPhone line control earphone can be realized the function that it is corresponding.For making purpose of the present invention, technical scheme and advantage clearer, clear and definite, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Please consult simultaneously Fig. 1, Fig. 2 and Fig. 3, on the basis of the present invention in conjunction with the plug pin schematic diagram of earphone detection circuit shown in Figure 1 10 and earphone shown in Figure 2, change mobile terminal to the control method of earphone detection circuit 10, improve the compatibility of iPhone line control earphone and mobile terminal, the purpose that the function button on the iPhone line control earphone can normally be used.It should be noted that the mobile terminal of mentioning in the present invention refers to other mobile terminals of non-iPhone product.Because the iPhone line control earphone is the same with the plug pin of earphone in Fig. 2, when setting forth the present embodiment below, described iPhone line control earphone is namely the earphone shown in Fig. 1 and Fig. 2.Fig. 3 is that iPhone line control earphone provided by the invention uses the control method flow chart, and it comprises the following steps:
Step S10, mobile terminal detect the earphone that inserts and whether are with microphone, when mobile terminal detects earphone with microphone and inserts, judge whether the microphone path of earphone is open-circuit condition.
Whether the mobile terminal Test earphone inserts identical with mode in background technology, and therefore not to repeat here.
Whether the earphone that this step is used for the identification insertion is the iPhone line control earphone.Because the earphone that has is not with microphone, whether the earphone that mobile terminal needs first judgement to insert when earphone inserts is with microphone.There is no microphone contact in Fig. 2 with the headset plug of microphone, the signal that detects of the 1st pin of earphone detection circuit may be ground, and namely the voltage on described the 1st pin is 0V.Common earphone can detect a magnitude of voltage on described the 1st pin.Judge that voltage on described the 1st pin can identify that to be whether earphone with microphone insert.Because the microphone path that only has at present the iPhone line control earphone has the characteristic that large resistance causes its open circuit, then need to continue to judge whether the microphone path is open-circuit condition, be that whether the unsettled earphone of identifying insertion is common earphone or iPhone line control earphone to described the 1st pin.
When the microphone path of step S20, the earphone that inserts when judgement is open-circuit condition, the earphone that identification is inserted is the iPhone line control earphone, and mobile terminal makes the iPhone line control earphone enter call mode or music pattern according to the I/O state of the configuration pin of the earphone detection circuit of the voltage swing on the microphone of the described iPhone line control earphone of operational order control of input and mobile terminal
When the microphone path be not open-circuit condition for common headphones, its using method and operation principle are prior art.The present invention improves the use control method of iPhone line control earphone, and common headphones is not set forth.When earphone did not insert, the voice-frequency channel of mobile terminal was defaulted as hands-free mode, was sounded by the loudspeaker on mobile terminal, and microphone gathers user's voice; When earphone inserted, the voice-frequency channel of mobile terminal switched to headset mode, and by the left/right ear of earphone, be that the left/right sound channel is sounded, microphone gathers user's voice.
When identification insert be the iPhone line control earphone after, the user can converse or listen to the music, broadcasting etc., the keypress function of different situation iPhone line control earphones is different, the iPhone line control earphone after the present invention will insert for this reason is divided into call mode and music pattern.The iPhone line control earphone is used for dialing or receiving calls under call mode, need to use left/right sound channel, microphone, the HOOK key of iPhone line control earphone; Volume+key, volume-key do not need to use when conversation.Under music pattern the iPhone line control earphone be used for to play music, listen to the radio programme, radio reception etc., need to use left/right sound channel, volume+key, volume-key, the HOOK key of iPhone line control earphone; Microphone does not need to use when listening to the music.In the specific implementation, if the user need to answer or call, mobile terminal acquiescence Answer Key/dial key is pressed (key-type mobile terminal) or clicks (touch-screen type) and is and enters call mode; The end of conversation key is pressed or clicks and thinks and withdraw from call mode, enters music pattern.If the user need to listen to the music or broadcast, mobile terminal acquiescence music player icon or broadcasting icon are pressed to be and enter music pattern; Be defaulted as the maintenance music pattern after withdrawing from music or broadcasting.When mobile terminal does not enter talking state, do not need to use the microphone of iPhone line control earphone, be in music pattern when therefore the iPhone line control earphone being set in normal use or listening song.Wherein, the HOOK key is the function switch key, can realize the switching between two states under different mode.For example, receive caller identification when iPhone line control earphone (music pattern) when listening song, click the HOOK key music is suspended, the user automatically switches to call mode after pressing Answer Key, activate the microphone of iPhone line control earphone, the user can converse normally.In this step, mobile terminal is according to the operational order of input (be that above-mentioned Answer Key/dial key is pressed, music player icon or broadcasting icon are pressed etc.), and the voltage that the loading on the microphone of described iPhone line control earphone is different and the I/O state of adjusting the configuration pin of earphone detection circuit can make the iPhone line control earphone enter call mode or music pattern.Wherein, mobile terminal is controlled the step that the iPhone line control earphone enters call mode and is specifically comprised:
1, mobile terminal is from reference voltage pin input first voltage of earphone detection circuit, the configuration pin of earphone detection circuit is set to output state and generates second voltage according to the first voltage be loaded on the microphone of iPhone line control earphone, the microphone path of iPhone line control earphone is opened in activation, Mike's wind energy normal operation of iPhone line control earphone.
2, continue input the first voltage and judge whether the scheduled time reach, configure pin after the scheduled time reaches and be set to input state, the current state of microphone of maintenance iPhone line control earphone.
In the present embodiment, it is 1.8V that described the first voltage is set, and described second voltage is 2.6V, and the described scheduled time is 10mS, and these numerical value are according to repeatedly theoretical calculate and reality are tested the preferred values that obtains.According to the circuit of Fig. 1 as can be known, mobile terminal configures pin MB_IN and is set to output state after providing the first voltage of 1.8V to reference voltage pin BIAS, the second voltage of its output 2.6V.Pin MB_IN is connected with the microphone of iPhone line control earphone due to configuration, is equivalent to voltage-drop loading with 2.6V to the microphone of iPhone line control earphone.If general earphone, the voltage swing on microphone, can work without impact on it; If the iPhone line control earphone, the resistance value on its microphone path diminishes, and the microphone path is activated to open and makes the normal operation of Mike's wind energy.Test draws according to reality, and the voltage of the 2.6V on the microphone of iPhone line control earphone need to keep after 10ms, microphone being activated fully, and the voltage on this microphone keeps can making more than 1.5V it to keep normal operating state afterwards.Whether the scheduled time that judges 10ms in step 2 reaches.After on the microphone of iPhone line control earphone, the voltage of maintenance 2.6V reaches 10ms, will configure pin MB_IN and be converted to input state, the voltage on the microphone of iPhone line control earphone equals the first voltage of the 1.8V of reference voltage pin BIAS input at this moment.It should be noted that when configuration pin MB_IN is set to output state the voltage of its stable output 2.6V; When it was set to input, the voltage on configuration pin MB_IN equated with the voltage on reference voltage pin BIAS.
If enter in the process of call mode at the iPhone line control earphone, user mistake is pressed the HOOK key, can make the voltage on the microphone of iPhone line control earphone become 0V.This moment, described configuration pin MB_IN kept input state, the 0V low level that configures on pin MB_IN detected when mobile terminal, and this moment, mobile terminal can repeat above-mentioned steps 1,2, again entered Mike's wind energy normal operation that call mode makes the iPhone line control earphone.
Under state of activation, the user is in talking state, obtains the other side's sound by the left/right sound channel of iPhone line control earphone, obtains user's voice by the microphone that is activated, and after talk-through, the press-to-talk end key can switch to music pattern.
Controlling the step that the iPhone line control earphone enters music pattern in step S20 specifically comprises:
11, the configuration pin of mobile terminal earphone detection circuit is set to input state.
22, judge whether the scheduled time reach, after the scheduled time reaches from reference voltage pin input first voltage of earphone detection circuit and be loaded on the microphone of iPhone line control earphone.
In above-mentioned steps, no longer to any voltage of reference voltage pin BIAS input, the voltage that is equivalent on reference voltage pin BIAS this moment is 0V to mobile terminal.Although configuration pin MB_IN is set to input state, mobile terminal is not also to any voltage of its input, so the voltage on configuration pin MB_IN is also 0V.After the scheduled time of 10mS reaches, first voltage of mobile terminal to reference voltage pin BIAS input 1.8V, the voltage on iPhone line control earphone microphone is also 1.8V at this moment, not greater than 2.5V, can not activate the microphone of iPhone line control earphone.
S30, after the iPhone line control earphone enters call mode, left/right sound channel, microphone, the HOOK key of controlling the iPhone line control earphone enter operating state; HOOK key control mobile terminal receiving/hang-up phone, the microphone normal operation.
After entering call mode, mobile terminal can be conversed normally.If press volume+key or volume-key, because the partial circuit that configuration pin MB_IN connects is clamped by the microphone of iPhone line control earphone, cause volume+key or volume-key to press the voltage of rear configuration pin MB_IN unchanged, mobile terminal just can not judge whether volume+key or volume-key are pressed like this, so volume+key or volume-key are inoperable in call mode.
The HOOK key is mainly used in controlling mobile terminal receiving/hang-up phone.Can press the HOOK key and hang up the telephone after the user hears out phone, this moment, the iPhone line control earphone still remained on call mode.If give me a little demonstration, pressing the HOOK key can receive calls; Can realize conversation by microphone and left/right sound channel.
S40, after the iPhone line control earphone enters music pattern, mobile terminal detects volume+key/volume-key, and left/right sound channel, volume+key, volume-key, the HOOK key of controlling the iPhone line control earphone enter operating state; HOOK key control mobile terminal playing/time-out music.
Under music pattern, when pressing volume+key or volume-key, mobile terminal correspondingly detects a volume voltage and judge on configuration pin MB_IN; When described volume voltage is in the first volume voltage range, judge that this volume voltage is that upper volume voltage, the function of carrying out volume+key increase volume; When described volume voltage is in the second volume voltage range, judge that this volume voltage is that lower volume voltage, the function of carrying out volume-key reduce volume; Under described upper volume voltage ratio, volume voltage is large.Wherein, the minimum value of described the first volume voltage range is than the large 100mV of minimum value of the second volume voltage range; The maximum of described the first volume voltage range is than the large 100mV of maximum of the second volume voltage range; The large 100mV of volume voltage under described upper volume voltage ratio.In the specific implementation, described the first volume voltage range is 1.4V ~ 1.5V, and described the second volume voltage range is 1.3V ~ 1.4V.If upper volume voltage 1.44V, descending volume voltage is 1.34V.In the present embodiment, be set to input state owing to configuring pin MB_IN, the digital signal of mobile terminal input is converted to aanalogvoltage and inputs to when configuring pin MB_IN, adopts the ADC(analog to digital converter of 10bit), so the voltage accuracy that can detect is 1.8V/2 10=1.8V/1024=1.76mV.That is to say, differ more than 1.76mV and can make a distinction between upper volume voltage and lower volume voltage.
Under music pattern, the microphone of iPhone line control earphone can not use, and the HOOK key can be controlled mobile terminal playing/time-out music.If the current music pattern that is in of user is being listened to the music, caller identification is arranged suddenly, can music be suspended by pressing the HOOK key, press and make the iPhone line control earphone enter call mode after Answer Key to begin conversation.Can press the end of conversation key and withdraw from call mode after end of conversation, the interface that the music of can reducing on the display screen of mobile terminal is at this moment suspended, then press the HOOK key and can again play.If when listening to the music, the user need suspend broadcast, press the HOOK key and get final product, click again the HOOK key and continue again to play when needs are play.When listening to the music or broadcast, can control by regulating volume+key/volume-key the size of volume.
Use control method based on above-mentioned iPhone line control earphone, the present invention also provides a kind of mobile terminal, as shown in Figure 4, shown in, mobile terminal comprises: earphone detection circuit 10, state setting module 20, voltage module 30, detection module 40, judge module 50 and timer 60.The internal circuit of described earphone detection circuit 10 is drawn high the voltage on its detection pin or drag down when whether earphone inserts by its internal circuit and identify as shown in Figure 1, and it is prior art, and the present invention is not described further its annexation and operation principle.Detection module 40 is connected with earphone detection circuit 10, for detection of the earphone that inserts whether with the voltage of each pin of microphone and Test earphone testing circuit and export in corresponding module.Voltage module 30 is connected with earphone detection circuit 10, and being used for provides the first voltage to the reference voltage pin of earphone detection circuit 10, and the first volume voltage range and the second volume voltage range also are set.Judge module 50 by state setting module 20 frames connecting with headphone testing circuits 10, it also connects voltage module 30, detection module 40 and timer 60, it is used for judging whether the microphone path of earphone is open-circuit condition; State setting module 20 earphone detection circuits 10 are controlled in judgement when the scheduled time that timer 60 is set reaches configuration pin is set to input state or output state; The volume voltage that also is used on the configuration pin of earphone detection circuit 10 that detection module 40 is detected compares with the first volume voltage range and the second volume voltage range, and the type of judgement volume voltage belongs to volume voltage or time volume voltage.Earphone detection circuit 10 is controlled by voltage module 30 and state setting module 20, and its respective pins is inputted different voltage, the I/O state is set, and can control the iPhone line control earphone and enter call mode or music pattern.
Mobile terminal provided by the invention comprises and is not limited to mobile phone, panel computer.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or conversion, and all these improve and conversion all should belong to the protection range of claims of the present invention.

Claims (10)

1. the use control method of an iPhone line control earphone, is characterized in that, comprises the following steps:
A, mobile terminal detect the earphone that inserts and whether are with microphone, when mobile terminal detects earphone with microphone and inserts, judge whether the microphone path of earphone is open-circuit condition;
When the microphone path of B, the earphone that inserts when judgement is open-circuit condition, the earphone that identification is inserted is the iPhone line control earphone, and mobile terminal makes the iPhone line control earphone enter call mode or music pattern according to the I/O state of the configuration pin of the earphone detection circuit of the voltage swing on the microphone of the described iPhone line control earphone of operational order control of input and mobile terminal;
C, after the iPhone line control earphone enters call mode, left/right sound channel, microphone, the HOOK key of controlling the iPhone line control earphone enter operating state; HOOK key control mobile terminal receiving/hang-up phone, the microphone normal operation;
D, after the iPhone line control earphone enters music pattern, mobile terminal detects volume+key/volume-key, and left/right sound channel, volume+key/volume-key, the HOOK key of controlling the iPhone line control earphone enter operating state; HOOK key control mobile terminal playing/time-out music.
2. iPhone line control earphone according to claim 1 uses control method, it is characterized in that, in described step B, the step that mobile terminal control iPhone line control earphone enters call mode specifically comprises:
B1, mobile terminal are inputted the first voltage from the reference voltage pin of earphone detection circuit, the configuration pin of earphone detection circuit is set to output state and generates second voltage according to the first voltage be loaded on the microphone of iPhone line control earphone, the microphone path of iPhone line control earphone is opened in activation, Mike's wind energy normal operation of iPhone line control earphone;
B2, continue input the first voltage and judge whether the scheduled time reach, after the scheduled time reaches, described configuration pin is set to input state, keeps the current state of microphone of iPhone line control earphone.
3. iPhone line control earphone according to claim 1 uses control method, it is characterized in that, in described step B, mobile terminal control iPhone line control earphone enters music pattern and specifically comprises:
The configuration pin of B11, mobile terminal earphone detection circuit is set to input state;
B22, judge whether the scheduled time reach, after the scheduled time reaches from reference voltage pin input first voltage of earphone detection circuit and be loaded on the microphone of iPhone line control earphone.
4. iPhone line control earphone according to claim 2 uses control method, it is characterized in that, enter in the process of call mode at the iPhone line control earphone, when mistake is pressed the HOOK key, voltage on the microphone of iPhone line control earphone becomes 0V, and described configuration pin keeps input state; Repeating step B1, B2 when mobile terminal detects the low level that configures on pin enter the microphone normal operation that call mode makes the iPhone line control earphone again.
5. iPhone line control earphone according to claim 1 uses control method, it is characterized in that, in described step D, when pressing volume+key or volume-key, mobile terminal correspondingly detects a volume voltage and judge on described configuration pin; When described volume voltage is in the first volume voltage range, judge that this volume voltage is that upper volume voltage, the function of carrying out volume+key increase volume; When described volume voltage is in the second volume voltage range, judge that this volume voltage is that lower volume voltage, the function of carrying out volume-key reduce volume; Under described upper volume voltage ratio, volume voltage is large.
6. iPhone line control earphone according to claim 5 uses control method, it is characterized in that, the minimum value of described the first volume voltage range is than the large 100mV of minimum value of the second volume voltage range; The maximum of described the first volume voltage range is than the large 100mV of maximum of the second volume voltage range; The large 100mV of volume voltage under described upper volume voltage ratio.
7. iPhone line control earphone according to claim 2 uses control method, it is characterized in that,
Described the first voltage is 1.8V, and described second voltage is 2.6V.
8. iPhone line control earphone according to claim 3 uses control method, it is characterized in that,
The described scheduled time is 10mS.
9. iPhone line control earphone according to claim 6 uses control method, it is characterized in that, described the first volume voltage range is 1.4V ~ 1.5V, and described the second volume voltage range is 1.3V ~ 1.4V.
10. a mobile terminal, is characterized in that, comprising:
Earphone detection circuit;
Voltage module is used for providing the first voltage to the reference voltage pin of earphone detection circuit, and the first volume voltage range and the second volume voltage range are set;
State setting module, the configuration pin that is used for earphone detection circuit is set to input state or output state;
Timer is used for setting the scheduled time;
Judge module is used for judging whether the scheduled time reaches; Whether the microphone path that judges earphone is open-circuit condition; And the volume voltage that detects on the configuration pin with earphone detection circuit and the first volume voltage range and the second volume voltage range compare, the type of judgement volume voltage;
Detection module, for detection of the earphone that inserts whether with voltage and the output of each pin of microphone, Test earphone testing circuit;
Described voltage module, detection module, state setting module be the frames connecting with headphone testing circuit respectively, and described voltage module, detection module, state setting module, timer be the connection judgment module respectively.
CN201310031429.2A 2013-01-28 2013-01-28 Using control method and mobile terminal for iPhone wire control earphone Active CN103118191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310031429.2A CN103118191B (en) 2013-01-28 2013-01-28 Using control method and mobile terminal for iPhone wire control earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310031429.2A CN103118191B (en) 2013-01-28 2013-01-28 Using control method and mobile terminal for iPhone wire control earphone

Publications (2)

Publication Number Publication Date
CN103118191A true CN103118191A (en) 2013-05-22
CN103118191B CN103118191B (en) 2015-01-21

Family

ID=48416461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310031429.2A Active CN103118191B (en) 2013-01-28 2013-01-28 Using control method and mobile terminal for iPhone wire control earphone

Country Status (1)

Country Link
CN (1) CN103118191B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345403A (en) * 2013-06-08 2013-10-09 广东欧珀移动通信有限公司 Method and terminal device for deeply controlling sound playing through earphones
CN104080026A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Method of information processing and line control earphone
CN104579210A (en) * 2015-01-16 2015-04-29 深圳联华集成电路有限公司 Wire headphone volume control circuit for intelligent mobile phone
CN104821981A (en) * 2015-03-13 2015-08-05 惠州Tcl移动通信有限公司 Detection method for earphone operation
CN104899001A (en) * 2015-05-27 2015-09-09 深圳市金立通信设备有限公司 Line control earphone compatible method and terminal
CN105979423A (en) * 2016-06-28 2016-09-28 青岛歌尔声学科技有限公司 Mute circuit of microphone on earphone, and method
CN106325805A (en) * 2016-08-17 2017-01-11 北京小米移动软件有限公司 Audio playing method and audio playing device
WO2017206481A1 (en) * 2016-05-30 2017-12-07 歌尔股份有限公司 Drive-by-wire headphones
CN108784635A (en) * 2018-07-17 2018-11-13 重庆金山医疗器械有限公司 A kind of endoscopic system and method that light source is automatically closed
CN109831714A (en) * 2019-01-16 2019-05-31 Oppo广东移动通信有限公司 Identify the method, apparatus and electronic equipment of earphone keystroke
CN113242487A (en) * 2021-05-11 2021-08-10 深圳市中科蓝讯科技股份有限公司 Line control method, line control device, adapter and line control system
CN114446261A (en) * 2020-10-30 2022-05-06 高创(苏州)电子有限公司 Method for controlling display by wire control earphone and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184284A (en) * 2007-11-20 2008-05-21 东莞欧珀移动通信有限公司 Control method for judging insertion type of earphone by mobile phone
CN201536413U (en) * 2009-10-19 2010-07-28 青岛海信移动通信技术股份有限公司 Headphone
CN102510550A (en) * 2011-11-15 2012-06-20 深圳市中兴移动通信有限公司 Method for distinguishing three-segment earphone and four-segment earphone on wireless terminal
US20120230533A1 (en) * 2011-03-08 2012-09-13 William Dallas Apparatus and Method for Preventing Tangling for Wired Earphones
CN202455500U (en) * 2011-12-22 2012-09-26 深圳市朵唯志远科技有限公司 General multi-functional headphone
US20120264485A1 (en) * 2011-04-18 2012-10-18 Randall Edward Wright Telephone call recording interface cable assembly for smartphones

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184284A (en) * 2007-11-20 2008-05-21 东莞欧珀移动通信有限公司 Control method for judging insertion type of earphone by mobile phone
CN201536413U (en) * 2009-10-19 2010-07-28 青岛海信移动通信技术股份有限公司 Headphone
US20120230533A1 (en) * 2011-03-08 2012-09-13 William Dallas Apparatus and Method for Preventing Tangling for Wired Earphones
US20120264485A1 (en) * 2011-04-18 2012-10-18 Randall Edward Wright Telephone call recording interface cable assembly for smartphones
CN102510550A (en) * 2011-11-15 2012-06-20 深圳市中兴移动通信有限公司 Method for distinguishing three-segment earphone and four-segment earphone on wireless terminal
CN202455500U (en) * 2011-12-22 2012-09-26 深圳市朵唯志远科技有限公司 General multi-functional headphone

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104080026A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Method of information processing and line control earphone
CN103345403B (en) * 2013-06-08 2017-10-03 广东欧珀移动通信有限公司 A kind of method played by earphone deep layer secondary control sound and terminal device
CN103345403A (en) * 2013-06-08 2013-10-09 广东欧珀移动通信有限公司 Method and terminal device for deeply controlling sound playing through earphones
CN104579210A (en) * 2015-01-16 2015-04-29 深圳联华集成电路有限公司 Wire headphone volume control circuit for intelligent mobile phone
CN104821981A (en) * 2015-03-13 2015-08-05 惠州Tcl移动通信有限公司 Detection method for earphone operation
CN104821981B (en) * 2015-03-13 2017-11-07 惠州Tcl移动通信有限公司 A kind of detection method of earphone operation
CN104899001A (en) * 2015-05-27 2015-09-09 深圳市金立通信设备有限公司 Line control earphone compatible method and terminal
WO2017206481A1 (en) * 2016-05-30 2017-12-07 歌尔股份有限公司 Drive-by-wire headphones
US10516932B2 (en) 2016-05-30 2019-12-24 Goertek Inc. Wire control earphone
CN105979423A (en) * 2016-06-28 2016-09-28 青岛歌尔声学科技有限公司 Mute circuit of microphone on earphone, and method
CN105979423B (en) * 2016-06-28 2022-04-12 青岛歌尔声学科技有限公司 Mute circuit and method of microphone on earphone
CN106325805A (en) * 2016-08-17 2017-01-11 北京小米移动软件有限公司 Audio playing method and audio playing device
CN108784635A (en) * 2018-07-17 2018-11-13 重庆金山医疗器械有限公司 A kind of endoscopic system and method that light source is automatically closed
CN109831714A (en) * 2019-01-16 2019-05-31 Oppo广东移动通信有限公司 Identify the method, apparatus and electronic equipment of earphone keystroke
CN109831714B (en) * 2019-01-16 2020-08-25 Oppo广东移动通信有限公司 Method and device for identifying earphone keys and electronic equipment
CN114446261A (en) * 2020-10-30 2022-05-06 高创(苏州)电子有限公司 Method for controlling display by wire control earphone and related device
CN114446261B (en) * 2020-10-30 2023-12-01 高创(苏州)电子有限公司 Method for controlling display by using earphone by wire and related device
CN113242487A (en) * 2021-05-11 2021-08-10 深圳市中科蓝讯科技股份有限公司 Line control method, line control device, adapter and line control system

Also Published As

Publication number Publication date
CN103118191B (en) 2015-01-21

Similar Documents

Publication Publication Date Title
CN103118191B (en) Using control method and mobile terminal for iPhone wire control earphone
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
CN201928419U (en) Earphone and mobile communication terminal provided with same
CN201204638Y (en) System and single-pin plug
CN101924835B (en) Mobile telephone communication method and mobile telephone
KR101790042B1 (en) Earphone system And Portable Device supporting the same, and Operation Method of Earphone based on the same
CN101917497A (en) Method and device for earphone and USB to share micro-USB interface
US10630826B2 (en) Information processing device
CN101938546A (en) Earphone microphone detection method based on mobile phone and mobile phone
CN201509235U (en) Headphone detection circuit of mobile terminal and mobile terminal thereof
CN101686282A (en) Portable device including earphone circuit and operation method using the same
CN102821195A (en) Terminal and multi-audio-frequency output method
CN201142743Y (en) Headphone interface circuit and mobile phone with the same
CN107770663B (en) In-ear wireless earphone and realization method for automatic charging and switching on/off of in-ear wireless earphone
CN107959903A (en) Audio output switching method, feedback earphone wearing state method, apparatus and earphone
KR20090055359A (en) Compatible circuit and method for 4 pole earphone and 5 pole earphone, and potable device using the same
CN101841753A (en) Drive-by-wire earphone for portable electronic equipment and method for realizing drive-by-wire
CN105487899A (en) Headphone wearing state reporting method and system and headphone
CN101739374A (en) Signal transmission path selecting circuit and electronic device applying same
CN103260124A (en) Audio testing method and system of mobile terminal
CN107770662B (en) Automatic charging and switching circuit
CN102769810A (en) Mobile terminal with a calling misoperation preventive function
CN103200311A (en) Control method and control device of communication terminal conversation audio passage and communication terminal
KR20140129863A (en) Method and apparatus for controlling an input of sound
CN102938819A (en) Mobile terminal music control system and 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211123

Address after: 264200 No. 220, Keji Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province

Patentee after: Weihai high tech Park Operation Management Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.