Movatterモバイル変換


[0]ホーム

URL:


CN103118191B - 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
CN103118191B
CN103118191BCN201310031429.2ACN201310031429ACN103118191BCN 103118191 BCN103118191 BCN 103118191BCN 201310031429 ACN201310031429 ACN 201310031429ACN 103118191 BCN103118191 BCN 103118191B
Authority
CN
China
Prior art keywords
earphone
iphone
voltage
volume
microphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310031429.2A
Other languages
Chinese (zh)
Other versions
CN103118191A (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 LtdfiledCriticalTCL Communication Ningbo Ltd
Priority to CN201310031429.2ApriorityCriticalpatent/CN103118191B/en
Publication of CN103118191ApublicationCriticalpatent/CN103118191A/en
Application grantedgrantedCritical
Publication of CN103118191BpublicationCriticalpatent/CN103118191B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明公开了一种iPhone线控耳机的使用控制方法及其移动终端,方法包括检测是否有带麦克风的耳机插入,判断该耳机的麦克风通路是否为开路状态;控制iPhone线控耳机的麦克风的电压大小、以及耳机检测电路的配置脚的输入/输出状态使iPhone线控耳机进入通话模式或音乐模式;在通话模式iPhone线控耳机的左/右声道、麦克风、HOOK键进入工作状态;HOOK键控制移动终端接听/挂断电话,麦克风正常工作;在音乐模式iPhone线控耳机的左/右声道、音量+键/音量—键、HOOK键进入工作状态;HOOK键控制移动终端播放/暂停音乐;使iPhone线控耳机可以被非iPhone移动终端识别且其功能键能工作。

The invention discloses a use control method of an iPhone wire-controlled earphone and a mobile terminal thereof. The method includes detecting whether an earphone with a microphone is inserted, judging whether the microphone channel of the earphone is in an open state, and controlling the voltage of the microphone of the iPhone wire-controlled earphone The size, and the input/output status of the configuration pin of the earphone detection circuit make the iPhone wire-controlled headset enter the call mode or music mode; in the call mode, the left/right channel, microphone, and HOOK button of the iPhone wire-controlled headset enter the working state; the HOOK button Control the mobile terminal to answer/hang up the call, and the microphone works normally; in the music mode, the left/right channel, volume + key/volume - key, and HOOK key of the iPhone wire-controlled headset enter the working state; the HOOK key controls the mobile terminal to play/pause music ; Make the iPhone wire-controlled headset be recognized by non-iPhone mobile terminals and its function keys can work.

Description

Translated fromChinese
一种iPhone线控耳机的使用控制方法及其移动终端A method for controlling the use of an iPhone wire-controlled earphone and its mobile terminal

技术领域technical field

本发明涉及移动终端应用领域,尤其涉及的是一种iPhone线控耳机的使用控制方法及其移动终端。The invention relates to the application field of mobile terminals, in particular to a method for controlling the use of an iPhone wire-controlled earphone and a mobile terminal thereof.

背景技术Background technique

iphone手机由于其功能多、智能化程度高、使用方便,受到越来越多用户购买使用。每款iPhone手机都配备有其专用的配件,如iPhone线控耳机、贴膜、外壳保护套等。Because of its many functions, high degree of intelligence, and ease of use, the iphone is purchased and used by more and more users. Each iPhone is equipped with its own special accessories, such as iPhone wire-controlled earphones, film, shell protective cover and so on.

现有技术中判断耳机是否插入主要是判断检测脚DET的电压高低,请同时参阅图1和图2,图1为现有技术耳机检测电路图,连接关系如图1所示,其中耳机检测电路10的第6脚为一弹片,其通过一上拉电阻R1连接电源脚VS;电阻R1的阻值为1M。当耳机(图中仅示出耳机的插头部分)未插入时,移动终端给耳机检测电路10的电源脚VS提供1.8V的电压VVS,由于耳机检测电路10的第6脚悬空,则检测脚DET上的电压也为1.8V。此时移动终端检测到检测脚DET的电压为高电平,判定耳机未插入。当耳机插入时,耳机的麦克风、接地端、右声道、左声道分别对应与耳机检测电路10的第1脚、第2脚、第3脚、第4脚连接,耳机的左声道还与耳机检测电路的第5脚连接;耳机检测电路10的第1脚、第3脚、第4脚分别对应连接移动终端的MIC(麦克风)端(包括MIC+、MIC—)、R(右声道)、L(左声道)传输相应的音频信号。由于耳机的插入使弹片与第5脚接触,相当于耳机检测电路10的第6脚和其第4脚均与耳机的左声道连接。由于该左声道的阻抗RL为32欧姆,相当于将该第6脚接地,则检测脚DET上的电压                                                ,此时移动终端检测到检测脚DET的电压为低电平,判定耳机插入。In the prior art, judging whether the earphone is inserted is mainly to judge the voltage level of the detection pin DET, please refer to Fig. 1 and Fig. 2 at the same time, Fig. 1 is the prior art earphone detection circuit diagram, the connection relationship is shown in Fig. The 6th pin is a shrapnel, which is connected to the power supply pin VS through a pull-up resistor R1; the resistance value of the resistor R1 is 1M. When the earphone (only the plug part of the earphone is shown in the figure) is not inserted, the mobile terminal provides a voltage VVS of 1.8V to the power supply pin VS of the earphone detection circuit 10. Since the sixth pin of the earphone detection circuit 10 is suspended, the detection pin The voltage on DET is also 1.8V. At this time, the mobile terminal detects that the voltage of the detection pin DET is at a high level, and determines that the earphone is not inserted. When the earphone was plugged in, the microphone, the ground terminal, the right sound channel, and the left sound channel of the earphone were respectively connected to the first pin, the second pin, the third pin, and the fourth pin of the earphone detection circuit 10, and the left sound channel of the earphone was also connected. Connect with the 5th pin of the earphone detection circuit; the 1st pin, the 3rd pin, and the 4th pin of the earphone detection circuit 10 are respectively connected to the MIC (microphone) terminal (including MIC+, MIC-), R (right channel ), L (left channel) to transmit the corresponding audio signal. Due to the insertion of the earphone, the shrapnel contacts the fifth pin, which means that both the sixth pin and the fourth pin of the earphone detection circuit 10 are connected to the left sound channel of the earphone. Since the impedanceRL of the left channel is 32 ohms, it is equivalent to grounding the 6th pin, then the voltage on the detection pin DET At this time, the mobile terminal detects that the voltage of the detection pin DET is at a low level, and determines that the earphone is inserted.

移动终端(包括iphone手机)的耳机检测电路10基本相似,然而iPhone线控耳机仅适配iphone手机,在其他移动终端上不能检测出iPhone线控耳机是否插入、或插入后部分按键不能使用。这是因为在iPhone线控耳机内设置有一专用的IC。该IC与iPhone线控耳机的麦克风(MIC)串联,可根据对iPhone线控耳机的音量+键、音量—键、HOOK键等操作产生不同的信号、发送至iPhone手机中进行判别,从而实现相应的音量增加、音量减小、功能切换。该IC的存在使iPhone线控耳机的麦克风通路上的电阻值为3.97M,而一般的普通耳机在麦克风通路上的电阻值为0.7K~2.2K。如果将iPhone线控耳机插入其他移动终端,则麦克风通路上接近4M的大电阻相当于开路,使iPhone线控耳机的麦克风通路断开导致其无法使用。这就是为何有的iPhone线控耳机只能在于其配套的iPhone手机上使用,而不能兼容其他类型的手机。有的移动终端插入iPhone线控耳机时可能会检测到iPhone线控耳机已插入,但是却不能使用iPhone线控耳机的相应功能;有的移动终端可以识别iPhone线控耳机并用来听音乐,但iPhone线控耳机的音量+键、音量—键却不能使用。这些问题都是所述专用的IC导致的,这样大大减小了iPhone线控耳机的兼容性,给用户的使用带来了不便,降低了用户的体验度。The earphone detection circuit 10 of mobile terminals (including iphones) is basically similar. However, the iPhone wire-controlled earphones are only compatible with iphones. Other mobile terminals cannot detect whether the iPhone wire-controlled earphones are plugged in, or some buttons cannot be used after being inserted. This is because a dedicated IC is provided in the iPhone wire-controlled earphone. The IC is connected in series with the microphone (MIC) of the iPhone wire-controlled headset, and can generate different signals according to the volume + button, volume-key, HOOK button, etc. of the iPhone wire-controlled headset, and send them to the iPhone for identification, thereby realizing the corresponding volume up, volume down, function switching. The existence of this IC makes the resistance value of the microphone path of the iPhone wire-controlled earphone 3.97M, while the resistance value of the ordinary earphone on the microphone path is 0.7K~2.2K. If the iPhone wire-controlled headset is plugged into other mobile terminals, the large resistance close to 4M on the microphone path is equivalent to an open circuit, which will disconnect the microphone path of the iPhone wire-controlled headset and make it unusable. This is why some iPhone wire-controlled earphones can only be used on its matching iPhone, but not compatible with other types of mobile phones. Some mobile terminals may detect that the iPhone wire-controlled headset is plugged in when the iPhone wire-controlled headset is plugged in, but the corresponding functions of the iPhone wire-controlled headset cannot be used; some mobile terminals can recognize the iPhone wire-controlled headset and use it to listen to music, but the iPhone The volume + key and volume - key of the wire-controlled earphones cannot be used. These problems are all caused by the dedicated IC, which greatly reduces the compatibility of the iPhone wire-controlled earphones, brings inconvenience to the use of the user, and reduces the experience of the user.

因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.

发明内容Contents of the invention

本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种iPhone线控耳机的使用控制方法及其移动终端,旨在解决现有的iPhone线控耳机插入移动终端后无法正常使用其相应功能、iPhone线控耳机兼容性较差的问题。The technical problem to be solved by the present invention is to provide a method for controlling the use of an iPhone wire-controlled earphone and its mobile terminal, aiming at solving the problem that the existing iPhone wire-controlled earphone cannot be used normally after being inserted into the mobile terminal. Its corresponding functions and poor compatibility of iPhone wire-controlled earphones.

本发明解决技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve technical problems is as follows:

一种iPhone线控耳机的使用控制方法,其包括以下步骤:A method for controlling the use of an iPhone wire-controlled earphone, comprising the following steps:

A、移动终端检测插入的耳机是否带麦克风,当移动终端检测到带麦克风的耳机插入时,判断耳机的麦克风通路是否为开路状态;A. The mobile terminal detects whether the inserted earphone has a microphone, and when the mobile terminal detects that the earphone with the microphone is inserted, it judges whether the microphone path of the earphone is in an open state;

B、当判断插入的耳机的麦克风通路为开路状态时,识别插入的耳机为iPhone线控耳机,移动终端根据输入的操作指令控制所述iPhone线控耳机的麦克风上的电压大小、以及移动终端的耳机检测电路的配置脚的输入/输出状态使iPhone线控耳机进入通话模式或音乐模式;B. When it is judged that the microphone path of the inserted earphone is in an open state, the inserted earphone is identified as an iPhone wire-controlled earphone, and the mobile terminal controls the voltage on the microphone of the iPhone wire-controlled earphone and the voltage of the mobile terminal according to the input operation instruction. The input/output state of the configuration pin of the earphone detection circuit makes the iPhone wire-controlled earphone enter the call mode or music mode;

C、当iPhone线控耳机进入通话模式后,控制iPhone线控耳机的左/右声道、麦克风、HOOK键进入工作状态;HOOK键控制移动终端接听/挂断电话,麦克风正常工作;C. When the iPhone wire-controlled headset enters the call mode, control the left/right channel, microphone, and HOOK button of the iPhone wire-controlled headset to enter the working state; the HOOK button controls the mobile terminal to answer/hang up the call, and the microphone works normally;

D、当iPhone线控耳机进入音乐模式后,移动终端检测到音量+键/音量—键,并控制iPhone线控耳机的左/右声道、音量+键/音量—键、HOOK键进入工作状态;HOOK键控制移动终端播放/暂停音乐。D. When the iPhone wire-controlled headset enters the music mode, the mobile terminal detects the volume + key/volume-key, and controls the left/right channel, volume + key/volume-key, and HOOK key of the iPhone wire-controlled headset to enter the working state ;HOOK key to control the mobile terminal to play/pause music.

所述的iPhone线控耳机使用控制方法,其中,所述步骤B中,移动终端控制iPhone线控耳机进入通话模式的步骤具体包括:The method for using the iPhone wire-controlled earphone, wherein, in the step B, the step of the mobile terminal controlling the iPhone wire-controlled earphone to enter the call mode specifically includes:

B1、移动终端从耳机检测电路的基准电压脚输入第一电压,将耳机检测电路的配置脚设置为输出状态、并根据第一电压生成第二电压加载至iPhone线控耳机的麦克风上,激活打开iPhone线控耳机的麦克风通路,iPhone线控耳机的麦克风能正常工作;B1. The mobile terminal inputs the first voltage from the reference voltage pin of the earphone detection circuit, sets the configuration pin of the earphone detection circuit to the output state, and generates a second voltage according to the first voltage and loads it on the microphone of the iPhone wire-controlled earphone, activates and opens The microphone path of the iPhone wire-controlled headset, the microphone of the iPhone wire-controlled headset can work normally;

B2、继续输入第一电压并判断预定时间是否达到,预定时间达到后将所述配置脚设置为输入状态,保持iPhone线控耳机的麦克风当前的状态。B2. Continue to input the first voltage and judge whether the predetermined time is reached. After the predetermined time is reached, set the configuration pin to the input state, and keep the current state of the microphone of the iPhone wire-controlled earphone.

所述的iPhone线控耳机使用控制方法,其中,所述步骤B中,移动终端控制iPhone线控耳机进入音乐模式具体包括:The use control method of the iPhone wire-controlled earphone, wherein, in the step B, the mobile terminal controls the iPhone wire-controlled earphone to enter the music mode specifically includes:

B11、移动终端将耳机检测电路的配置脚设置为输入状态;B11, the mobile terminal sets the configuration pin of the earphone detection circuit to the input state;

B22、判断预定时间是否达到,当预定时间达到后从耳机检测电路的基准电压脚输入第一电压并加载至iPhone线控耳机的麦克风上。B22. Determine whether the preset time is reached. When the preset time is reached, input the first voltage from the reference voltage pin of the earphone detection circuit and load it to the microphone of the iPhone wire-controlled earphone.

所述的iPhone线控耳机使用控制方法,其中,在iPhone线控耳机进入通话模式的过程中,当误按下HOOK键时, iPhone线控耳机的麦克风上的电压变为0V,所述配置脚保持输入状态;当移动终端检测到配置脚上的低电平时重复步骤B1、B2,再次进入通话模式使iPhone线控耳机的麦克风正常工作。The use control method of the iPhone wire-controlled earphone, wherein, when the iPhone wire-controlled earphone enters the call mode, when the HOOK button is accidentally pressed, the voltage on the microphone of the iPhone wire-controlled earphone becomes 0V, and the configuration pin Keep the input state; when the mobile terminal detects the low level on the configuration pin, repeat steps B1 and B2, and enter the call mode again to make the microphone of the iPhone wire-controlled headset work normally.

所述的iPhone线控耳机使用控制方法,其中,在所述步骤D中,当按下音量+键或音量—键时、移动终端相应地在所述配置脚上检测到一音量电压并进行判断;当所述音量电压在第一音量电压范围内时,判断该音量电压为上音量电压、执行音量+键的功能增加音量;当所述音量电压在第二音量电压范围内时,判断该音量电压为下音量电压、执行音量—键的功能减小音量;所述上音量电压比下音量电压大。The method for controlling the use of the iPhone wire-controlled earphone, wherein, in the step D, when the volume + key or the volume - key is pressed, the mobile terminal detects a volume voltage on the configuration pin correspondingly and makes a judgment ; When the volume voltage is within the first volume voltage range, determine that the volume voltage is the upper volume voltage, and perform the function of the volume + key to increase the volume; when the volume voltage is within the second volume voltage range, determine the volume The voltage is the lower volume voltage, which performs the function of the volume-key to reduce the volume; the upper volume voltage is larger than the lower volume voltage.

所述的iPhone线控耳机使用控制方法,其中,所述第一音量电压范围的最小值比第二音量电压范围的最小值大100mV;所述第一音量电压范围的最大值比第二音量电压范围的最大值大100mV;所述上音量电压比下音量电压大100mV。The iPhone wire-controlled earphone use control method, wherein, the minimum value of the first volume voltage range is 100mV greater than the minimum value of the second volume voltage range; the maximum value of the first volume voltage range is greater than the second volume voltage The maximum value of the range is 100mV greater; the upper volume voltage is 100mV greater than the lower volume voltage.

所述的iPhone线控耳机使用控制方法,其中,所述第一电压为1.8V,所述第二电压为2.6V。In the method for controlling the use of the iPhone wire-controlled earphone, the first voltage is 1.8V, and the second voltage is 2.6V.

所述的iPhone线控耳机使用控制方法,其中,所述预定时间为10mS。In the method for controlling the use of the iPhone wire-controlled earphone, the predetermined time is 10 mS.

所述的iPhone线控耳机使用控制方法,其中,所述第一音量电压范围是1.4V~1.5V,所述第二音量电压范围是1.3V~1.4V。In the method for controlling the use of iPhone wire-controlled earphones, the first volume voltage range is 1.4V~1.5V, and the second volume voltage range is 1.3V~1.4V.

一种移动终端,其包括:A mobile terminal, comprising:

耳机检测电路;Headphone detection circuit;

电压模块,用于对耳机检测电路的基准电压脚提供第一电压,设置第一音量电压范围和第二音量电压范围;The voltage module is used to provide the first voltage to the reference voltage pin of the earphone detection circuit, and set the first volume voltage range and the second volume voltage range;

状态设置模块,用于将耳机检测电路的配置脚设置为输入状态或输出状态;The state setting module is used to set the configuration pin of the earphone detection circuit as an input state or an output state;

定时器,用于设定预定时间;A timer for setting a predetermined time;

判断模块,用于判断预定时间是否达到;判断耳机的麦克风通路是否为开路状态;以及将耳机检测电路的配置脚上检测到的音量电压与第一音量电压范围和第二音量电压范围进行比较,判断音量电压的类型;The judging module is used to judge whether the predetermined time is reached; judge whether the microphone channel of the earphone is in an open state; and compare the volume voltage detected on the configuration pin of the earphone detection circuit with the first volume voltage range and the second volume voltage range, Determine the type of volume voltage;

检测模块,用于检测插入的耳机是否带麦克风、检测耳机检测电路的各个引脚的电压并输出;The detection module is used to detect whether the inserted earphone has a microphone, detect and output the voltage of each pin of the earphone detection circuit;

所述电压模块、检测模块、状态设置模块分别连接耳机检测电路,所述电压模块、检测模块、状态设置模块、定时器分别连接判断模块。The voltage module, the detection module, and the state setting module are respectively connected to the earphone detection circuit, and the voltage module, the detection module, the state setting module, and the timer are respectively connected to the judgment module.

本发明所提供的iPhone线控耳机使用控制方法,当移动终端判断插入的耳机为iPhone线控耳机时,根据输入的操作指令相应地控制iPhone线控耳机的麦克风上的电压大小、以及移动终端的耳机检测电路的配置脚的输入/输出状态,使iPhone线控耳机进入通话模式或音乐模式;在通话模式下控制iPhone线控耳机的左/右声道、麦克风、HOOK键进入工作状态;HOOK键控制移动终端接听/挂断电话,麦克风正常工作;在音乐模式下移动终端能检测到音量+键/音量—键,并控制iPhone线控耳机的左/右声道、音量+键/音量—键、HOOK键进入工作状态;HOOK键控制移动终端播放/暂停音乐,其控制方法简单,提高了iPhone线控耳机的兼容性。In the method for controlling the use of the iPhone wire-controlled earphone provided by the present invention, when the mobile terminal judges that the inserted earphone is the iPhone wire-controlled earphone, it controls the voltage on the microphone of the iPhone wire-controlled earphone and the voltage of the mobile terminal accordingly according to the input operation instruction. The input/output state of the configuration pin of the earphone detection circuit makes the iPhone wire-controlled headset enter the call mode or music mode; in the call mode, control the left/right channel, microphone, and HOOK button of the iPhone wire-controlled headset to enter the working state; the HOOK button Control the mobile terminal to answer/hang up the call, and the microphone works normally; in the music mode, the mobile terminal can detect the volume + key/volume-key, and control the left/right channel, volume + key/volume-key of the iPhone wired earphone , The HOOK key enters the working state; the HOOK key controls the mobile terminal to play/pause music, the control method is simple, and the compatibility of the iPhone wire-controlled headset is improved.

附图说明Description of drawings

图1是现有技术耳机检测电路图。FIG. 1 is a circuit diagram of an earphone detection circuit in the prior art.

图2是图1中耳机的插头引脚示意图。FIG. 2 is a schematic diagram of plug pins of the earphone in FIG. 1 .

图3是本发明提供的iPhone线控耳机使用控制方法流程图。Fig. 3 is a flow chart of the method for controlling the use of the iPhone wire-controlled earphone provided by the present invention.

图4是本发明提供的移动终端的结构示意图。Fig. 4 is a schematic structural diagram of a mobile terminal provided by the present invention.

具体实施方式Detailed ways

基于现有的iPhone线控耳机内设置的专用的IC增大了其麦克风通路上的电阻值,使iPhone线控耳机不能兼容除iPhone产品外的其他移动终端,或者插入其他移动终端时其功能不能完全实现的问题。本发明通过实际测试得知,当一个大于2.5V的电压加载到iPhone线控耳机的麦克风上后,其麦克风通路上的大电阻值就会相应地变成1.2K,在普通耳机对应的电阻值范围内,此时可激活该IC,相当于打开iPhone线控耳机的麦克风通路使麦克风能正常工作,进而iPhone线控耳机插入其他的移动终端后其麦克风就能使用。经过试验得出,先对iPhone线控耳机的麦克风加载大于2.5V的电压,保持一段时间后只要保证该麦克风上的电压大于1.5V即可使麦克风保持正常工作。基于上述的思路,本发明提供一种iPhone线控耳机的使用控制方法及其移动终端,在采用现有的耳机检测电路的基础上,通过移动终端控制耳机检测电路中的一些引脚的电压及其输入输出状态,即可解决移动终端无法兼容iPhone线控耳机的问题,且插入后iPhone线控耳机上的所有功能按键都能实现其对应的功能。为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。Based on the special IC set in the existing iPhone wire-controlled earphones, the resistance value on the microphone path is increased, so that the iPhone wire-controlled earphones cannot be compatible with other mobile terminals except iPhone products, or their functions cannot be inserted into other mobile terminals. fully realized problem. The present invention has learned through actual tests that when a voltage greater than 2.5V is applied to the microphone of the iPhone wire-controlled earphone, the large resistance value on the microphone path will correspondingly become 1.2K, and the resistance value corresponding to the ordinary earphone Within the range, the IC can be activated at this time, which is equivalent to opening the microphone channel of the iPhone wire-controlled headset so that the microphone can work normally, and then the microphone of the iPhone wire-controlled headset can be used after being inserted into other mobile terminals. After testing, it is found that the microphone of the iPhone wire-controlled headset is first loaded with a voltage greater than 2.5V, and after a period of time, as long as the voltage on the microphone is greater than 1.5V, the microphone can keep working normally. Based on the above ideas, the present invention provides a method for controlling the use of an iPhone wire-controlled earphone and its mobile terminal. On the basis of using the existing earphone detection circuit, the mobile terminal controls the voltage and voltage of some pins in the earphone detection circuit. Its input and output status can solve the problem that the mobile terminal cannot be compatible with the iPhone wire-controlled headset, and all the function buttons on the iPhone wire-controlled headset can realize their corresponding functions after being inserted. In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

请同时参阅图1、图2和图3,本发明结合图1所示的耳机检测电路10和图2所示的耳机的插头引脚示意图的基础上,改变移动终端对耳机检测电路10的控制方法,来提高iPhone线控耳机与移动终端的兼容性、使iPhone线控耳机上的功能按键都能正常使用的目的。需要注意的是,本发明中提及的移动终端指的是非iPhone产品的其他移动终端。由于iPhone线控耳机与图2中耳机的插头引脚一样,在下面阐述本实施例时,所述iPhone线控耳机即是图1和图2中所示的耳机。图3为本发明提供的iPhone线控耳机使用控制方法流程图,其包括以下步骤:Please refer to Fig. 1, Fig. 2 and Fig. 3 at the same time, on the basis of the plug pin schematic diagram of the earphone detection circuit 10 shown in Fig. 1 and the earphone shown in Fig. 2, the present invention changes the control of the mobile terminal to the earphone detection circuit 10 The purpose of this method is to improve the compatibility between the iPhone wire-controlled earphone and the mobile terminal, and to enable the function keys on the iPhone wire-controlled earphone to be used normally. It should be noted that the mobile terminal mentioned in the present invention refers to other mobile terminals that are not iPhone products. Since the plug pins of the iPhone wire-controlled earphone are the same as those of the earphone in FIG. 2 , when the present embodiment is described below, the iPhone wire-controlled earphone is the earphone shown in FIG. 1 and FIG. 2 . Fig. 3 is the flow chart of the method for controlling the use of iPhone wire-controlled earphones provided by the present invention, which includes the following steps:

步骤S10、移动终端检测插入的耳机是否带麦克风,当移动终端检测到带麦克风的耳机插入时,判断耳机的麦克风通路是否为开路状态。Step S10, the mobile terminal detects whether the inserted earphone has a microphone, and when the mobile terminal detects that the earphone with a microphone is plugged in, it determines whether the microphone channel of the earphone is in an open state.

移动终端检测耳机是否插入与背景技术中的方式相同,在此不作赘述。The mobile terminal detects whether the earphone is inserted in the same manner as in the background art, and details are not described here.

本步骤用于识别插入的耳机是否为iPhone线控耳机。由于有的耳机不带麦克风,当耳机插入时移动终端需要先判断插入的耳机是否带麦克风。不带麦克风的耳机插头没有图2中的麦克风触点,则耳机检测电路的第1脚检测的信号可能是地,即所述第1脚上的电压为0V。普通的耳机会在所述第1脚上检测到一电压值。判断所述第1脚上的电压即可识别是否为带麦克风的耳机插入。由于目前只有iPhone线控耳机的麦克风通路具有大电阻导致其开路的特性,接着需继续判断麦克风通路是否为开路状态、即所述第1脚是否悬空来识别插入的耳机是普通的耳机还是iPhone线控耳机。This step is used to identify whether the inserted earphone is an iPhone wire-controlled earphone. Since some earphones do not have a microphone, when the earphone is inserted, the mobile terminal needs to first determine whether the inserted earphone has a microphone. The earphone plug without a microphone does not have the microphone contact in Figure 2, so the signal detected by the first pin of the earphone detection circuit may be ground, that is, the voltage on the first pin is 0V. Ordinary earphones will detect a voltage value on the first pin. Judging the voltage on the first pin can identify whether the earphone with microphone is plugged in. Since only the microphone channel of the iPhone wire-controlled earphone has the characteristics of a large resistance leading to its open circuit, it is necessary to continue to judge whether the microphone channel is open, that is, whether the first pin is suspended to identify whether the inserted earphone is an ordinary earphone or an iPhone cable. control headphones.

步骤S20、当判断插入的耳机的麦克风通路为开路状态时,识别插入的耳机为iPhone线控耳机,移动终端根据输入的操作指令控制所述iPhone线控耳机的麦克风上的电压大小、以及移动终端的耳机检测电路的配置脚的输入/输出状态使iPhone线控耳机进入通话模式或音乐模式Step S20, when it is judged that the microphone channel of the inserted earphone is in an open state, identify the inserted earphone as an iPhone wire-controlled earphone, and the mobile terminal controls the voltage on the microphone of the iPhone wire-controlled earphone according to the input operation instruction, and the mobile terminal The input/output state of the configuration pin of the earphone detection circuit makes the iPhone wire-controlled earphone enter the call mode or music mode

当麦克风通路不是开路状态则为普通耳机,其使用方法和工作原理为现有技术。本发明主要是对iPhone线控耳机的使用控制方法进行改进,对普通耳机不作阐述。当耳机未插入时,移动终端的音频通路默认为免提模式,由移动终端上的喇叭发出声音,麦克风采集用户的语音;当耳机插入时,移动终端的音频通路切换为耳机模式,由耳机的左/右耳、即左/右声道发出声音,麦克风采集用户的语音。When the microphone channel is not in an open state, it is an ordinary earphone, and its use method and working principle are prior art. The invention mainly improves the use control method of the iPhone wire-controlled earphone, and does not elaborate on the common earphone. When the earphone is not inserted, the audio path of the mobile terminal defaults to the hands-free mode, and the speaker on the mobile terminal emits sound, and the microphone collects the user's voice; when the earphone is plugged in, the audio path of the mobile terminal switches to the earphone mode, and the earphone The left/right ear, that is, the left/right channel emits sound, and the microphone collects the user's voice.

当识别插入的是iPhone线控耳机后,用户可进行通话或听音乐、广播等,不同的情况iPhone线控耳机的按键功能不同,为此本发明将插入后的iPhone线控耳机分为通话模式和音乐模式。在通话模式下iPhone线控耳机用于拨打或接听电话,需要使用到iPhone线控耳机的左/右声道、麦克风、HOOK键;音量+键、音量—键在通话时不需要使用。在音乐模式下iPhone线控耳机用于播放音乐、听广播、收音等,需要使用到iPhone线控耳机的左/右声道、音量+键、音量—键、HOOK键;麦克风在听音乐时不需要使用。在具体实施时,若用户需要接听或拨打电话,移动终端默认接听键/拨号键被按下(按键式移动终端)或点击(触摸屏式)即为进入通话模式;通话结束键被按下或点击则认为退出通话模式,进入音乐模式。若用户需要听音乐或广播,移动终端默认音乐播放器图标或广播图标被按下即为进入音乐模式;退出音乐播放或广播后默认为保持音乐模式。移动终端没有进入通话状态时,不需要使用iPhone线控耳机的麦克风,因此设置iPhone线控耳机在正常使用或听歌时处于音乐模式。其中,HOOK键为功能切换键,在不同模式下能实现在两种状态之间的切换。例如,当iPhone线控耳机在听歌时(音乐模式)收到来电显示,按一下HOOK键可使音乐暂停,用户按下接听键后自动切换为通话模式,激活iPhone线控耳机的麦克风,用户即可进行正常的通话。本步骤中,移动终端根据输入的操作指令(即上述的接听键/拨号键被按下、音乐播放器图标或广播图标被按下等),在所述iPhone线控耳机的麦克风上的加载不同的电压、以及调整耳机检测电路的配置脚的输入/输出状态即能使iPhone线控耳机进入通话模式或音乐模式。其中,移动终端控制iPhone线控耳机进入通话模式的步骤具体包括:After identifying the inserted iPhone wire-controlled earphone, the user can make a call or listen to music, broadcast, etc. In different situations, the button functions of the iPhone wire-controlled earphone are different. Therefore, the present invention divides the inserted iPhone wire-controlled earphone into a call mode. and music mode. In the call mode, the iPhone wire-controlled headset is used to make or receive calls, and the left/right channel, microphone, and HOOK button of the iPhone wire-controlled headset need to be used; the volume + button and volume - button do not need to be used during a call. In the music mode, the iPhone wire-controlled earphone is used to play music, listen to the radio, radio, etc., and needs to use the left/right channel, volume + key, volume-key, and HOOK key of the iPhone wire-controlled earphone; the microphone does not work when listening to music. Need to use. In actual implementation, if the user needs to answer or make a call, the default answer key/dial key of the mobile terminal is pressed (button type mobile terminal) or clicked (touch screen type) to enter the call mode; the call end key is pressed or clicked Then it is considered to exit the call mode and enter the music mode. If the user needs to listen to music or radio, the mobile terminal defaults to the music player icon or radio icon being pressed to enter the music mode; after exiting the music player or radio, the default is to keep the music mode. When the mobile terminal is not in the call state, it is not necessary to use the microphone of the iPhone wire-controlled headset, so the iPhone wire-controlled headset is set to be in the music mode when it is in normal use or listening to music. Among them, the HOOK key is a function switching key, which can switch between two states in different modes. For example, when the iPhone wire-controlled headset is listening to music (music mode) and receives a caller ID, press the HOOK button to pause the music. After the user presses the answer button, it will automatically switch to the call mode and activate the microphone of the iPhone wire-controlled headset. You can make a normal call. In this step, according to the input operation instruction (that is, the above-mentioned answer button/dial button is pressed, the music player icon or broadcast icon is pressed, etc.), the mobile terminal loads differently on the microphone of the iPhone wire-controlled headset. The voltage and the input/output state of the configuration pin of the earphone detection circuit can be adjusted to make the iPhone wire-controlled earphone enter the call mode or the music mode. Wherein, the steps for the mobile terminal to control the iPhone wire-controlled headset to enter the call mode specifically include:

1、移动终端从耳机检测电路的基准电压脚输入第一电压,将耳机检测电路的配置脚设置为输出状态、并根据第一电压生成第二电压加载至iPhone线控耳机的麦克风上,激活打开iPhone线控耳机的麦克风通路,iPhone线控耳机的麦克风能正常工作。1. The mobile terminal inputs the first voltage from the reference voltage pin of the earphone detection circuit, sets the configuration pin of the earphone detection circuit to the output state, and generates a second voltage based on the first voltage and loads it on the microphone of the iPhone wire-controlled earphone, and activates it. The microphone path of the iPhone wire-controlled headset, the microphone of the iPhone wire-controlled headset can work normally.

2、继续输入第一电压并判断预定时间是否达到,预定时间达到后将配置脚设置为输入状态,保持iPhone线控耳机的麦克风当前的状态。2. Continue to input the first voltage and judge whether the predetermined time is reached. After the predetermined time is reached, set the configuration pin to the input state to maintain the current state of the microphone of the iPhone wire-controlled headset.

本实施例中,设置所述第一电压为1.8V,所述第二电压为2.6V,所述预定时间为10mS,这些数值是根据多次理论推算和实际测试得到的较佳值。根据图1的电路可知,移动终端对基准电压脚BIAS提供1.8V的第一电压后,将配置脚MB_IN设置为输出状态,其输出2.6V的第二电压。由于配置脚MB_IN与iPhone线控耳机的麦克风连接,相当于将2.6V的电压加载到iPhone线控耳机的麦克风上。如果是一般的耳机,麦克风上的电压大小对其无影响,都能正常工作;如果是iPhone线控耳机,则其麦克风通路上的电阻值变小,麦克风通路被激活打开使麦克风能正常工作。根据实际测试得出,iPhone线控耳机的麦克风上的2.6V的电压需要保持10ms后才能使麦克风完全被激活,之后该麦克风上的电压保持1.5V以上即可使其保持正常的工作状态。在步骤2中判断10ms的预定时间是否达到。iPhone线控耳机的麦克风上保持2.6V的电压达10ms后,将配置脚MB_IN转换为输入状态,此时iPhone线控耳机的麦克风上的电压等于基准电压脚BIAS输入的1.8V的第一电压。需要注意的是,配置脚MB_IN被设置为输出状态时,其稳定输出2.6V的电压;当其被设置为输入时,配置脚MB_IN上的电压与基准电压脚BIAS上的电压相等。In this embodiment, the first voltage is set to 1.8V, the second voltage is set to 2.6V, and the predetermined time is set to 10mS. These values are optimal values obtained based on multiple theoretical calculations and actual tests. According to the circuit in FIG. 1 , after the mobile terminal provides the first voltage of 1.8V to the reference voltage pin BIAS, the configuration pin MB_IN is set to an output state, which outputs a second voltage of 2.6V. Since the configuration pin MB_IN is connected to the microphone of the iPhone wire-controlled headset, it is equivalent to loading a voltage of 2.6V to the microphone of the iPhone wire-controlled headset. If it is an ordinary earphone, the voltage on the microphone has no effect on it, and it can work normally; if it is an iPhone wire-controlled earphone, the resistance value on the microphone path becomes smaller, and the microphone path is activated to make the microphone work normally. According to the actual test, the 2.6V voltage on the microphone of the iPhone wire-controlled headset needs to be maintained for 10ms before the microphone can be fully activated, and then the voltage on the microphone can be kept above 1.5V to maintain a normal working state. In step 2, it is judged whether the predetermined time of 10 ms has been reached. After keeping the voltage of 2.6V on the microphone of the iPhone wire-controlled headset for 10ms, switch the configuration pin MB_IN to the input state. At this time, the voltage on the microphone of the iPhone wire-controlled headset is equal to the first voltage of 1.8V input by the reference voltage pin BIAS. It should be noted that when the configuration pin MB_IN is set as an output state, it can stably output a voltage of 2.6V; when it is set as an input, the voltage on the configuration pin MB_IN is equal to the voltage on the reference voltage pin BIAS.

若在iPhone线控耳机进入通话模式的过程中,用户误按下HOOK键,会使iPhone线控耳机的麦克风上的电压变为0V。此时所述配置脚MB_IN保持输入状态,当移动终端检测到配置脚MB_IN上的0V低电平,此时移动终端会重复上述步骤1、2,再次进入通话模式来使iPhone线控耳机的麦克风能正常工作。If the user accidentally presses the HOOK button when the iPhone wire-controlled headset enters the call mode, the voltage on the microphone of the iPhone wire-controlled headset will become 0V. At this time, the configuration pin MB_IN remains in the input state. When the mobile terminal detects the 0V low level on the configuration pin MB_IN, the mobile terminal will repeat the above steps 1 and 2, and enter the call mode again to make the microphone of the iPhone wire-controlled headset works fine.

在激活状态下,用户处于通话状态,通过iPhone线控耳机的左/右声道获取对方的声音,通过被激活的麦克风获取用户的语音,通话完毕后按下通话结束键即可切换为音乐模式。In the activated state, the user is in a call state, and the other party's voice is obtained through the left/right channel of the iPhone wire-controlled headset, and the user's voice is obtained through the activated microphone. After the call is completed, press the call end button to switch to the music mode .

在步骤S20中控制iPhone线控耳机进入音乐模式的步骤具体包括:In step S20, the steps of controlling the iPhone wire-controlled earphone to enter the music mode specifically include:

11、移动终端将耳机检测电路的配置脚设置为输入状态。11. The mobile terminal sets the configuration pin of the earphone detection circuit to an input state.

22、判断预定时间是否达到,当预定时间达到后从耳机检测电路的基准电压脚输入第一电压并加载至iPhone线控耳机的麦克风上。22. Judging whether the predetermined time is reached, when the predetermined time is reached, input the first voltage from the reference voltage pin of the earphone detection circuit and load it to the microphone of the iPhone wire-controlled earphone.

上述步骤中,移动终端不再对基准电压脚BIAS输入任何电压,相当于此时基准电压脚BIAS上的电压为0V。虽然配置脚MB_IN被设置为输入状态,但移动终端也没有对其输入任何电压,所以配置脚MB_IN上的电压也为0V。10mS的预定时间达到后,移动终端对基准电压脚BIAS输入1.8V的第一电压,此时iPhone线控耳机麦克风上的电压也为1.8V,没有大于2.5V,不会激活iPhone线控耳机的麦克风。In the above steps, the mobile terminal no longer inputs any voltage to the reference voltage pin BIAS, which means that the voltage on the reference voltage pin BIAS is 0V at this time. Although the configuration pin MB_IN is set as an input state, the mobile terminal does not input any voltage to it, so the voltage on the configuration pin MB_IN is also 0V. After the predetermined time of 10mS is reached, the mobile terminal inputs the first voltage of 1.8V to the reference voltage pin BIAS. At this time, the voltage on the iPhone wire-controlled earphone microphone is also 1.8V, which is not greater than 2.5V, and the iPhone wire-controlled earphone will not be activated. microphone.

S30、当iPhone线控耳机进入通话模式后,控制iPhone线控耳机的左/右声道、麦克风、HOOK键进入工作状态;HOOK键控制移动终端接听/挂断电话,麦克风正常工作。S30. After the iPhone wire-controlled headset enters the call mode, control the left/right channel, microphone, and HOOK button of the iPhone wire-controlled headset to enter the working state; the HOOK button controls the mobile terminal to answer/hang up the call, and the microphone works normally.

进入通话模式后移动终端即可进行正常的通话。若按下音量+键或音量—键,由于配置脚MB_IN连接的部分电路被iPhone线控耳机的麦克风嵌位,导致音量+键或音量—键按下后配置脚MB_IN的电压无变化,这样移动终端就不能判断音量+键或音量—键是否按下,所以在通话模式中音量+键或音量—键是不能工作的。After entering the call mode, the mobile terminal can carry out normal calls. If the volume + key or volume - key is pressed, the voltage of the configuration pin MB_IN does not change after the volume + key or volume - key is pressed because the part of the circuit connected to the configuration pin MB_IN is embedded by the microphone of the iPhone wire-controlled headset, so the movement The terminal cannot judge whether the volume + key or the volume - key is pressed, so the volume + key or the volume - key cannot work in the call mode.

HOOK键主要用于控制移动终端接听/挂断电话。当用户听完电话后可按下HOOK键挂断电话,此时iPhone线控耳机仍保持在通话模式。若有来点显示,则按下HOOK键即可接听电话;通过麦克风和左/右声道即可实现通话。The HOOK key is mainly used to control the mobile terminal to answer/hang up the call. After the user finishes listening to the call, he can press the HOOK button to hang up the call, and the iPhone wire-controlled earphone remains in the call mode at this moment. If there is an incoming point display, press the HOOK button to answer the call; the call can be realized through the microphone and the left/right channel.

S40、当iPhone线控耳机进入音乐模式后,移动终端检测到音量+键/音量—键,并控制iPhone线控耳机的左/右声道、音量+键、音量—键、HOOK键进入工作状态;HOOK键控制移动终端播放/暂停音乐。S40. When the iPhone wire-controlled headset enters the music mode, the mobile terminal detects the volume + key/volume-key, and controls the left/right channel, volume + key, volume-key, and HOOK key of the iPhone wire-controlled headset to enter the working state ;HOOK key to control the mobile terminal to play/pause music.

在音乐模式下,当按下音量+键或音量—键时、移动终端相应地在配置脚MB_IN上检测到一音量电压并进行判断;当所述音量电压在第一音量电压范围内时,判断该音量电压为上音量电压、执行音量+键的功能增加音量;当所述音量电压在第二音量电压范围内时,判断该音量电压为下音量电压、执行音量—键的功能减小音量;所述上音量电压比下音量电压大。其中,所述第一音量电压范围的最小值比第二音量电压范围的最小值大100mV;所述第一音量电压范围的最大值比第二音量电压范围的最大值大100mV;所述上音量电压比下音量电压大100mV。在具体实施时,所述第一音量电压范围是1.4V~1.5V,所述第二音量电压范围是1.3V~1.4V。上音量电压若为1.44V,则下音量电压为1.34V。本实施例中,由于将配置脚MB_IN设置为输入状态,移动终端输入的数字信号转换为模拟电压输入至配置脚MB_IN时,采用10bit的ADC(模数转换器),所以可检测到的电压精度为1.8V/210=1.8V/1024=1.76mV。也就是说,上音量电压与下音量电压之间相差1.76mV以上都能区分开来。In the music mode, when the volume + key or the volume - key is pressed, the mobile terminal detects a volume voltage on the configuration pin MB_IN and judges accordingly; when the volume voltage is within the first volume voltage range, judges The volume voltage is an upper volume voltage, and the volume + key is executed to increase the volume; when the volume voltage is within the second volume voltage range, it is judged that the volume voltage is a lower volume voltage, and the volume - key is executed to reduce the volume; The upper volume voltage is greater than the lower volume voltage. Wherein, the minimum value of the first volume voltage range is 100mV greater than the minimum value of the second volume voltage range; the maximum value of the first volume voltage range is 100mV greater than the maximum value of the second volume voltage range; the upper volume The voltage is 100mV greater than the lower volume voltage. During specific implementation, the first volume voltage range is 1.4V~1.5V, and the second volume voltage range is 1.3V~1.4V. If the upper volume voltage is 1.44V, then the lower volume voltage is 1.34V. In this embodiment, since the configuration pin MB_IN is set to the input state, when the digital signal input by the mobile terminal is converted into an analog voltage input to the configuration pin MB_IN, a 10-bit ADC (analog-to-digital converter) is used, so the voltage accuracy that can be detected It is 1.8V/210 =1.8V/1024=1.76mV. That is to say, the difference between the upper volume voltage and the lower volume voltage can be distinguished by more than 1.76mV.

在音乐模式下,iPhone线控耳机的麦克风不能使用,HOOK键可以控制移动终端播放/暂停音乐。若用户当前处于音乐模式在听音乐,突然有来电显示,则可通过按下HOOK键使音乐暂停,按下接听键后使iPhone线控耳机进入通话模式开始通话。当通话结束后可按通话结束键退出通话模式,此时移动终端的显示屏上会还原音乐暂停的界面,再按下HOOK键即可再次播放。若听音乐时用户需暂停播放,按下HOOK键即可,当需要播放时再按一下HOOK键又继续播放。在听音乐或广播时,可通过调节音量+键/音量—键来控制音量的大小。In the music mode, the microphone of the iPhone wire-controlled headset cannot be used, and the HOOK button can control the mobile terminal to play/pause music. If the user is currently listening to music in the music mode, and there is a caller ID suddenly, the music can be paused by pressing the HOOK button, and the iPhone line-controlled headset enters the call mode to start talking after pressing the answer button. After the call is over, the call end key can be pressed to exit the call mode. At this time, the display screen of the mobile terminal will restore the music pause interface, and then press the HOOK key to play again. If the user needs to pause the playback while listening to music, just press the HOOK button, and press the HOOK button again when it needs to play to continue playing. When listening to music or radio, the volume can be controlled by adjusting the volume + key/volume - key.

基于上述iPhone线控耳机使用控制方法,本发明还提供了一种移动终端,如图4所示,所示移动终端包括:耳机检测电路10、状态设置模块20、电压模块30、检测模块40、判断模块50以及定时器60。所述耳机检测电路10的内部电路如图1所示,通过其内部电路在耳机是否插入时将其检测脚上的电压拉高或拉低进行识别,其为现有技术,本发明对其连接关系和工作原理不作详述。检测模块40与耳机检测电路10连接,用于检测插入的耳机是否带麦克风、以及检测耳机检测电路的各个引脚的电压并输出至相应模块中。电压模块30与耳机检测电路10连接,用于对耳机检测电路10的基准电压脚提供第一电压,还设置第一音量电压范围和第二音量电压范围。判断模块50通过状态设置模块20连接耳机检测电路10、其还连接电压模块30、检测模块40以及定时器60,其用于判断耳机的麦克风通路是否为开路状态;判断当定时器60设定的预定时间达到时控制状态设置模块20将耳机检测电路10的配置脚设置为输入状态或输出状态;还用于将检测模块40检测到的耳机检测电路10的配置脚上的音量电压与第一音量电压范围和第二音量电压范围进行比较,判断音量电压的类型是属于上音量电压还是下音量电压。耳机检测电路10由电压模块30和状态设置模块20控制,对其相应引脚输入不同的电压、设置输入/输出状态,即可控制iPhone线控耳机进入通话模式或音乐模式。Based on the above method for controlling the use of iPhone wire-controlled earphones, the present invention also provides a mobile terminal, as shown in FIG. Judgment module 50 and timer 60. The internal circuit of described earphone detection circuit 10 is as shown in Figure 1, by its internal circuit when earphone is inserted, the voltage on its detection pin is pulled up or pulled down to identify, and it is prior art, and the present invention connects it Relationships and working principles are not described in detail. The detection module 40 is connected with the earphone detection circuit 10, and is used for detecting whether the inserted earphone has a microphone, and detecting the voltage of each pin of the earphone detection circuit and outputting it to the corresponding module. The voltage module 30 is connected with the earphone detection circuit 10, and is used for providing the first voltage to the reference voltage pin of the earphone detection circuit 10, and setting the first volume voltage range and the second volume voltage range. Judgment module 50 connects earphone detection circuit 10 by state setting module 20, and it also connects voltage module 30, detection module 40 and timer 60, and it is used to judge whether the microphone path of earphone is open circuit state; When the predetermined time arrives, the control state setting module 20 sets the configuration pin of the earphone detection circuit 10 to an input state or an output state; The voltage range is compared with the second volume voltage range to determine whether the type of the volume voltage belongs to the upper volume voltage or the lower volume voltage. The earphone detection circuit 10 is controlled by the voltage module 30 and the state setting module 20, inputting different voltages to its corresponding pins and setting the input/output state can control the iPhone wire-controlled earphone to enter the call mode or the music mode.

本发明提供的移动终端包括且不限于手机、平板电脑。The mobile terminal provided by the present invention includes and is not limited to a mobile phone and a tablet computer.

应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples, and those skilled in the art can make improvements or transformations according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.

Claims (7)

CN201310031429.2A2013-01-282013-01-28Using control method and mobile terminal for iPhone wire control earphoneActiveCN103118191B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310031429.2ACN103118191B (en)2013-01-282013-01-28Using control method and mobile terminal for iPhone wire control earphone

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310031429.2ACN103118191B (en)2013-01-282013-01-28Using control method and mobile terminal for iPhone wire control earphone

Publications (2)

Publication NumberPublication Date
CN103118191A CN103118191A (en)2013-05-22
CN103118191Btrue CN103118191B (en)2015-01-21

Family

ID=48416461

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310031429.2AActiveCN103118191B (en)2013-01-282013-01-28Using control method and mobile terminal for iPhone wire control earphone

Country Status (1)

CountryLink
CN (1)CN103118191B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104080026B (en)*2013-03-252018-03-23联想(北京)有限公司 An information processing method and a wire-controlled earphone
CN103345403B (en)*2013-06-082017-10-03广东欧珀移动通信有限公司A kind of method played by earphone deep layer secondary control sound and terminal device
CN104579210A (en)*2015-01-162015-04-29深圳联华集成电路有限公司Wire headphone volume control circuit for intelligent mobile phone
CN104821981B (en)*2015-03-132017-11-07惠州Tcl移动通信有限公司A kind of detection method of earphone operation
CN104899001A (en)*2015-05-272015-09-09深圳市金立通信设备有限公司Line control earphone compatible method and terminal
CN105979416B (en)2016-05-302019-01-18歌尔股份有限公司A kind of line control earphone
CN105979423B (en)*2016-06-282022-04-12青岛歌尔声学科技有限公司Mute circuit and method of microphone on earphone
CN106325805A (en)*2016-08-172017-01-11北京小米移动软件有限公司Audio playing method and audio playing device
CN108784635A (en)*2018-07-172018-11-13重庆金山医疗器械有限公司A kind of endoscopic system and method that light source is automatically closed
CN109831714B (en)*2019-01-162020-08-25Oppo广东移动通信有限公司 Method, device and electronic device for recognizing button of earphone
US11322131B2 (en)*2020-01-302022-05-03Cirrus Logic, Inc.Systems and methods for on ear detection of headsets
CN114446261B (en)*2020-10-302023-12-01高创(苏州)电子有限公司 Method and related devices for controlling display using wire-controlled earphones
CN113242487B (en)*2021-05-112022-12-02深圳市中科蓝讯科技股份有限公司Line control method, line control device, adapter and line control system
CN117014760A (en)*2023-09-052023-11-07深圳市广和通无线股份有限公司Earphone drive-by-wire signal identification method, device, equipment and audio playing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101184284A (en)*2007-11-202008-05-21东莞欧珀移动通信有限公司 Control method for judging the type of earphone plugged in by mobile phone
CN201536413U (en)*2009-10-192010-07-28青岛海信移动通信技术股份有限公司Headphone
CN102510550A (en)*2011-11-152012-06-20深圳市中兴移动通信有限公司Method for distinguishing three-segment earphone and four-segment earphone on wireless terminal
CN202455500U (en)*2011-12-222012-09-26深圳市朵唯志远科技有限公司General multi-functional headphone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8588455B2 (en)*2011-03-082013-11-19William DallasApparatus and method for preventing tangling for wired earphones
US8666219B2 (en)*2011-04-182014-03-04Randall Edward WrightTelephone call recording interface cable assembly for smartphones

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101184284A (en)*2007-11-202008-05-21东莞欧珀移动通信有限公司 Control method for judging the type of earphone plugged in by mobile phone
CN201536413U (en)*2009-10-192010-07-28青岛海信移动通信技术股份有限公司Headphone
CN102510550A (en)*2011-11-152012-06-20深圳市中兴移动通信有限公司Method for distinguishing three-segment earphone and four-segment earphone on wireless terminal
CN202455500U (en)*2011-12-222012-09-26深圳市朵唯志远科技有限公司General multi-functional headphone

Also Published As

Publication numberPublication date
CN103118191A (en)2013-05-22

Similar Documents

PublicationPublication DateTitle
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
US9680980B2 (en)Electronic device accessory
CN201928419U (en)Earphone and mobile communication terminal provided with same
US10630826B2 (en)Information processing device
EP2299669B1 (en)Electronic device and system and method thereof for identifying electronic accessory and controlling electronic device
CN101924835B (en)Mobile telephone communication method and mobile telephone
CN201509235U (en)Headphone detection circuit of mobile terminal and mobile terminal thereof
CN101938546A (en)Earphone microphone detection method based on mobile phone and mobile phone
CN101917497A (en) Method and device for sharing Micro-USB interface with earphone and USB
CN102769810B (en)A kind of mobile terminal preventing call misoperation
JP2013066149A (en)Portable terminal, earphone identification program, and earphone identification method
CN107770662B (en)Automatic charging and switching circuit
CN104093114B (en)A kind of detection means of earphone keystroke, detecting system and detection method
EP3133834B1 (en)Method, apparatus and system for supplying power to active noise cancelling earphone
CN103997704B (en)Audio playing apparatus and Baffle Box of Bluetooth
CN102196076A (en)Earphone drive-by-wire circuit of mobile phone and drive-by-wire method
CN101945172A (en)Mobile phone-based earphone recognition calling method and mobile phone
CN105516844A (en)Earphone device, electronic device provided with earphone device, and control method thereof
CN104754098A (en)Volume adjusting method and system for single-key earphone
CN105811515A (en)Method and system for charging universal serial bus Bluetooth headset through mobile terminal
WO2018201943A1 (en)Device control method, device and system
CN105323385A (en)Mobile terminal-based method and system for switching microphone during communication process
CN102026419B (en) Electronic device and system and method for identifying electronic accessories and controlling electronic device
EP2645741A1 (en)Corded audio device with wireless data exchange

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
TR01Transfer of patent right
TR01Transfer 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.


[8]ページ先頭

©2009-2025 Movatter.jp