CN105530561A - Information processing method and device, earphone plug and electronic device - Google Patents

Information processing method and device, earphone plug and electronic device Download PDF

Info

Publication number
CN105530561A
CN105530561A CN201610029700.2A CN201610029700A CN105530561A CN 105530561 A CN105530561 A CN 105530561A CN 201610029700 A CN201610029700 A CN 201610029700A CN 105530561 A CN105530561 A CN 105530561A
Authority
CN
China
Prior art keywords
interface
earphone
earphone socket
mike
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.)
Granted
Application number
CN201610029700.2A
Other languages
Chinese (zh)
Other versions
CN105530561B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610029700.2A priority Critical patent/CN105530561B/en
Publication of CN105530561A publication Critical patent/CN105530561A/en
Application granted granted Critical
Publication of CN105530561B publication Critical patent/CN105530561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/46Bases; Cases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Headphones And Earphones (AREA)

Abstract

The invention discloses an information processing method and device, an earphone plug and an electronic device. The earphone plug sequentially comprises, from the head portion of the earphone plug, mike pins from the Nth mike pin to the second mike pin, a left channel pin, a right channel pin, a ground pin and a first mike pin, wherein the pins are electrically isolated by insulators, and the N is an integer larger than or equal to 2, so that noise reduction effect can be greatly improved and the advantage of small size is achieved.

Description

A kind of information processing method and device, headset plug, electronic equipment
Technical field
The present invention relates to electronic technology, particularly relate to a kind of information processing method and device, headset plug, electronic equipment.
Background technology
Earphone and Mike are the daily two kinds of relatively more conventional audio-visual devices of people, wherein can be divided into the plug of 2.5 millimeters (mm), 3.5mm and 6.35mm according to diameter dimension for the plug of earphone and Mike, wherein the plug portion of 2.5mm is used for mobile phone and music player (MP3), the plug of 3.5mm general for mobile phone, panel computer, desktop PC, notebook computer; The plug of 6.35mm is used for professional sound equipment, earphone and Mike.Plug for earphone and Mike can be divided into 2 segmentations, 3 segmentations and 4 segmentations according to the function realized, and wherein the plug of 2 segmentations is used for realizing monophony, and the plug of 3 segmentations comprises L channel section, R channel section and ground section, stereo for realizing; The plug of 4 segmentations comprises L channel section, R channel section, Mike's section and ground section, for realizing stereo and Mike; The plug of visible 4 segmentations is actually a kind of design united two into one by the plug of headset plug and Mike, correspondingly, also can there is a kind of design Mike and earphone being shared same jack (comboaudiojack) on an electronic device.
At present more electronic equipment such as integral computer (AllInOne, AIO) or notebook computer (Notebook), mobile phone all adopts microphone and earphone to share the design in same hole.The earphone interface of existing electronic equipment generally uses three/tetra-sections of earphone interfaces, and along with the development of technology, ear-phone function starts to expand gradually and presents diversified situation, and existing earphone interface can not meet the demands.Such as at present very common active noise reduction earphone, due to the restriction of earphone interface, to be mostly placed in noise reduction module among earphone and to need to provide power supply, this cause earphone volume large, carry inconvenience.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of information processing method and device, headset plug, electronic equipment for solving in prior art at least one problem of existing, greatly can promote noise reduction and have the little advantage of volume.
The technical scheme of the embodiment of the present invention is achieved in that
First aspect, the embodiment of the present invention provides a kind of headset plug, and described headset plug comprises:
Be followed successively by N Mike pin to the second Mike pin, L channel pin, R channel pin, ground pin and first Mike's pin from the head of described headset plug, between described pin, adopt insulant to make electrical isolation, wherein N be more than or equal to 2 integer.
Second aspect, the embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment comprises earphone socket, and described earphone socket comprises:
Described earphone socket comprises N microphone interface to the second microphone interface, left channel interface, right channel interface, ground interface and the first microphone interface successively, adopts insulant to make electrical isolation between described interface, wherein N be more than or equal to 2 integer;
Described earphone socket also comprise be symmetrical set with described left channel interface first detect that interface and described S microphone interface be symmetrical set second detect interface, wherein said first detects interface plugs event mechanical detection for three sections or four-section type headset, described second detects the mechanical detection of interface for the headset plugging event of headset plug according to claim 1, and described S microphone interface comprises the second microphone interface any one microphone interface to N microphone interface.
The third aspect, the embodiment of the present invention provides a kind of information processing method, and described method comprises:
Whether first of Test earphone socket detects interface has interrupt signal to produce;
Have interrupt signal to produce if described first detects interface, detect the level that described first detects interface, the described first left channel interface detected on interface and described earphone socket is symmetrical set;
Judge whether the described first level detecting interface meets the first condition preset;
If described first detects the level of interface and meet described first condition, detect the level that second detects interface, the described second entrance detecting earphone socket described in interface distance detects the illustrate entrance of described earphone socket of interface than described first far away;
Judge whether the described second level detecting interface meets the second condition preset;
If the described second level detecting interface meets described second condition, then determine that the earphone that described earphone socket inserts comprises plural Mike.
Fourth aspect, the embodiment of the present invention provides a kind of information processor, and described device comprises the first detecting unit, the second detecting unit, the first judging unit, the 3rd detecting unit, the second judging unit and the first determining unit, wherein
First detecting unit, whether detect interface for first of Test earphone socket has interrupt signal to produce;
Second detecting unit, have interrupt signal to produce if detect interface for described first, detect the level that described first detects interface, the described first left channel interface detected on interface and described earphone socket is symmetrical set;
First judging unit, for judging whether the described first level detecting interface meets the first condition preset;
3rd detecting unit, if meet described first condition for the described first level detecting interface, detect second and detect the level of interface, the described second entrance detecting earphone socket described in interface distance detects the illustrate entrance of described earphone socket of interface than described first far away;
Second judging unit, for judging whether the described second level detecting interface meets the second condition preset;
First determining unit, if meet described second condition for the described second level detecting interface, then determines that the earphone that described earphone socket inserts comprises plural Mike.
The embodiment of the present invention provides a kind of information processing method and device, headset plug, electronic equipment, wherein, described headset plug comprises: be followed successively by N Mike pin to the second Mike pin, L channel pin, R channel pin, ground pin and first Mike's pin from the head of described headset plug, adopt insulant to make electrical isolation between described pin, wherein N be more than or equal to 2 integer; So, greatly can promote noise reduction and there is the little advantage of volume.
Accompanying drawing explanation
Fig. 1 is the composition structural representation of 3 segmentation plugs in correlation technique;
Fig. 2 is the composition structural representation one of 4 segmentation plugs in correlation technique;
Fig. 3 is the composition structural representation two of 4 segmentation plugs in correlation technique;
Fig. 4 is the electrical block diagram about plug on mainboard in electronic equipment in correlation technique;
Fig. 5 is the composition structural representation of the embodiment of the present invention one headset plug;
Fig. 6 is the composition structural representation of the embodiment of the present invention two earphone socket;
Fig. 7 is the composition structural representation of the embodiment of the present invention two electronic equipment;
Fig. 8 is the composition structural representation of the embodiment of the present invention two headset detection module;
Fig. 9 is the realization flow schematic diagram of the embodiment of the present invention three information processing method;
Figure 10 is the composition structural representation of the embodiment of the present invention four information processor;
Figure 11 is the composition structural representation of the embodiment of the present invention five or seven segmentation headset plug;
Figure 12 is the composition structural representation of the embodiment of the present invention five or seven segmentation earphone socket;
Figure 13 is the realization flow schematic diagram of the embodiment of the present invention five headset plugging measuring ability.
Embodiment
First learn about several plug below, Fig. 1 is the composition structural representation of 3 segmentation plugs in correlation technique, as shown in Figure 1,3 segmentation plugs have 3 lines, be respectively L channel line, R channel line and earth connection, plug there are three metal contacts (i.e. pin), L channel (L is followed successively by from the head of plug, Left) pin (pin), R channel (R, Right) pin and ground connection (G, Ground) pin, adopts insulant to make electrical isolation between metal contact.Fig. 2 is the composition structural representation one of 4 segmentation plugs in correlation technique, as shown in Figure 2,4 segmentation plugs have 4 lines, be respectively L channel line, R channel line, earth connection and Mike's line, 4 segmentation plugs there are four pins, are followed successively by L channel pin, R channel pin, ground pin and Mike's pin from the head of plug.Fig. 3 is the composition structural representation two of 4 segmentation plugs in correlation technique, and as shown in Figure 3,4 segmentation plugs are followed successively by L channel pin, R channel pin, Mike's pin and ground pin from the head of plug.
As can be seen from Fig. 1 to Fig. 3, the difference of 4 segmentation plugs and 3 segmentation plugs is: a 4 segmentation plugs Mike pin more than 3 segmentation plugs, 4 segmentation plugs are actually a kind of plug that a kind of earphone and Mike unite two into one, in fact, although 4 segmentation plugs have ground pin and Mike's pin, in the circuit design of reality, ground pin and Mike's pin two pins are all unsettled (floating).Plug shown in Fig. 2 and Fig. 3 has difference in the structure of latter two sections, and wherein, the plug shown in Fig. 2 is called as i version plug, and as the plug on i version earphone, the plug shown in Fig. 3 is called as n version plug, as the plug on n version earphone.
In prior art, the socket on electronic equipment goes for the plug of 3 segmentations, also goes for the plug of 4 segmentations.Fig. 4 is the electrical block diagram about plug on mainboard in electronic equipment in correlation technique, as shown in Figure 4, in circuit with symbol R start components and parts for resistance, the numbering of such as R69, R numeral resistance below; The components and parts started with symbol Q are for Metal-Oxide Semiconductor field-effect transistor, (being called for short metal-oxide half field effect transistor, Metal-Oxide-SemiconductorField-EffectTransistor, MOSFET) pipe, as Q4A2N7001, wherein 4A2N7001 is the numbering of electric capacity; The components and parts started with symbol C are for electric capacity, and as CD13, wherein D13 represents the numbering of electric capacity, with symbol " represent signal, such as SLEEVE signal and RING2 signal.In Fig. 4 with NC symbol after components and parts, or not the powering on of NI symbol, namely these components and parts are circuit reserved location; So with 3.3V system power supply (+3.3VSYS, wherein SYS represents system power supply, wherein 3.3V refers to the voltage of system power supply) be not access in this part circuit of connecting, that is, the circuit be connected with+3.3VSYS is closed condition (off), therefore, no matter electronic equipment is start or shutdown, and the circuit be connected with+3.3VSYS all cannot work.
When electronic equipment is in normal operating state, after active audio amplifier is normally connected with electronic equipment (electronic equipment is main frame for audio amplifier), under the open state of electronic equipment, HAD_RESET is high level, Q4B2N7002 is in open mode, label be 43 Q4A2N7002 mod sum label be 44 Q4A12N7002 be in cut-off state, sound card chip (CODEC on electronic equipment, COder-DECoder chip) can normally work, particularly, sound card chip will identify that the plug inserted in jack is 3 segmentation plugs or 4 segmentation plugs.
If what insert in jack is 3 segmentation plugs, so the ground pin of 3 segmentation plugs is by the SLEEVE signal that corresponds in Fig. 4 and/or RING2 signal, and at this moment, sound card chip will by SLEEVE signal 41 and/or RING2 signal 42 ground connection; Specifically, when the SLEEVE corresponded in Fig. 4 is believed No. 41 by the ground pin of 3 segmentation plugs, sound card chip will by SLEEVE signal 41 ground connection, or simultaneously by SLEEVE signal 41 and RING2 signal 42 ground connection; When 3 segmentation plugs ground pin by correspond in Fig. 4 RING2 signal 42 time, sound card chip will by RING2 signal 42 ground connection, or simultaneously by RING2 signal 41 and SLEEVE signal 42 ground connection, so, audio amplifier and electronic equipment do not have common ground, thus electronic equipment just can realize the stereophonic effect of 3 segmentation plugs.
If 4 segmentation plugs, sound card chip also can identify that the plug inserted in jack is 4 segmentation plugs of i version or 4 segmentation plugs of n version, because latter two sections of i version plug is different with latter two sections of n version plug, at this moment, sound card can by inner switching circuit by SLEEVE signal or RING2 signal ground, correspondingly, another signal (SLEEVE signal and RING2 signal) can be done Mike by sound card in addition.
Existing earphone interface can not meet the demands.Such as at present very common active noise reduction earphone, due to the restriction of earphone interface, to be mostly placed in noise reduction module among earphone and to need to provide power supply, this cause earphone volume large, carry inconvenience.
Below in conjunction with the drawings and specific embodiments, the technical solution of the present invention is further elaborated.
Embodiment one
Based on aforesaid problem, the embodiment of the present invention first provides a kind of earphone, and described earphone at least comprises two Mike's pins; Fig. 5 is the composition structural representation of the embodiment of the present invention one headset plug, and as shown in Figure 5, described earphone comprises earphone cord and headset plug, and wherein headset plug comprises:
N Mike pin (MN) is followed successively by second Mike's pin (M2), L channel pin (L), R channel pin (R), ground pin (G) and first Mike's pin (M1) from the head of described headset plug, adopt insulant to make electrical isolation between described pin, wherein N be more than or equal to 2 integer.
The head of described headset plug refers to the one end (as shown in Figure 5, being generally one end of tip) away from earphone cord, and on the contrary, one end of frames connecting with headphone line can be called the root of headset plug.
Embodiment two
Based on aforesaid embodiment, the embodiment of the present invention reoffers a kind of earphone socket, and described earphone socket at least comprises two microphone interface; Fig. 6 is the composition structural representation of the embodiment of the present invention two earphone socket, and as shown in Figure 6, this earphone socket comprises:
Comprise the N microphone interface (MN) that matches with N Mike pin successively to the second microphone interface (M2), left channel interface (L), right channel interface (R), ground interface (G) and the first microphone interface (M1) that match with second Mike's pin, adopt insulant to make electrical isolation between described interface, wherein N be more than or equal to 2 integer.
See Fig. 6, described earphone socket also comprise be symmetrical set with described left channel interface first detect interface (DET1, Detection1) and described S microphone interface (MN) be symmetrical set second detect interface (DET2, Detection2), wherein said DET1 is used for the mechanical detection of three sections or four-section type headset plug event, described DET2 is used for the mechanical detection of the headset plugging event of the headset plug described in embodiment one, and described S microphone interface comprises the second microphone interface any one microphone interface to N microphone interface.Such as, if when earphone socket comprises two microphone interface, so N=2, then DET2 and the second microphone interface are symmetrical set; If when earphone socket comprises three microphone interface, so N=3, then DET2 can be symmetrical set with the second microphone interface, and DET2 also can be symmetrical set with the second microphone interface; If when earphone socket comprises four microphone interface, so N=4, then DET2 can be symmetrical set with the second microphone interface, and DET2 also can be symmetrical set with the 3rd microphone interface, and DET2 can also be symmetrical set (shown in Figure 12) with the 4th microphone interface.
Based on the embodiment shown in aforesaid Fig. 6, the embodiment of the present invention reoffers a kind of electronic equipment, described electronic equipment comprises the earphone socket shown in Fig. 6, in the process of specific implementation, described electronic equipment can comprise broadcast receiver, notebook computer, desktop computer, mobile phone, panel computer, music player (as MP3), personal digital assistant (PDA), navigator etc.
In the embodiment of the present invention, interface such as microphone interface is for earphone socket, and pin such as Mike's pin is for headset plug, and the interface wherein on earphone socket is also called pin.
Fig. 7 is the composition structural representation of the embodiment of the present invention two electronic equipment, and as shown in Figure 7, described electronic equipment comprises earphone socket, headset detection module, audio processing modules and function selecting module, wherein:
Described headset detection module at least comprises first end and the second end, and the first end of wherein said headset detection module is connected with each interface of described earphone socket, and the second end of described headset detection module is connected with audio processing modules, wherein:
Described headset detection module is at least for one of following functions: for provide for earphone Mike bias voltage, for complete headset plugging logic detection and for the transfer of data between audio processing modules and earphone socket;
Described audio processing modules, the audio frequency for receiving Mike carries out modulus process and exports earphone socket to after carrying out digital-to-analogue process to the audio frequency on electronic equipment;
Here, as shown in Figure 8, described headset detection module comprises bias voltage (BIAS, biased) submodule, variable connector submodule and supplied for electronic module, wherein:
Described variable connector submodule comprises four ends, the first end of described variable connector submodule is used for each interface of engaging lug support, second end of described variable connector submodule is for connecting BIAS submodule, 3rd end of described variable connector submodule is for connecting supplied for electronic module, and the 4th end of described variable connector submodule is for connecting audio processing modules or the function selecting module of electronic equipment;
Described BIAS submodule, for being provided for the bias voltage ensureing Mike's work for each microphone interface;
Described supplied for electronic module, for providing drive current for each microphone interface;
Described function selecting module, at least for transfer of data.
Described function selecting module, opens or closes the 4th end of the second end of described variable connector submodule, the 3rd end of described variable connector submodule or described variable connector submodule for the variable connector controlled in described variable connector submodule.
In the embodiment of the present invention, the function class that described variable connector submodule realizes is similar to the function of single pole multiple throw, if headset detection module comprises two functions, the function class that then variable connector submodule realizes is similar to the function of single-pole double-throw switch (SPDT), as previously mentioned, the headset detection module of the embodiment of the present invention can realize three functions, the function class that then variable connector submodule realizes is similar to the function of SP3T switch, as shown in Figure 8, M1 can be communicated to BIAS submodule by variable connector submodule, or be communicated to other modules of terminal or be communicated to supplied for electronic module.
As shown in Figure 8, the first end of headset detection module is connected with each interface of earphone base, and the second end of headset detection module is connected with audio processing modules, mainly completes Mike (MIC) path selection function and headset plugging measuring ability, wherein:
(1) MIC path selection function, each MIC path has three kinds of functions: connect MIC, power supply and transfer of data.The function of each MIC path switches by the variable connector realization in variable connector submodule, and concrete on off state is controlled by the function selecting module of processor (such as central processing unit (CPU, CentralProcessingUnit)).Under connection MIC function, bias voltage be provided to ensure the normal work of MIC for MIC, now BIAS submodule is connected to path by variable connector submodule; Under function of supplying power, larger drive current to be provided for the accessory on earphone, now variable connector submodule by supplied for electronic model calling to path; Under data-transformation facility, variable connector submodule will disconnect BIAS submodule and supplied for electronic module, and direct-connected other modules to electronic equipment of MIC path, as function selecting module.
(2) headset plugging measuring ability
Headset detection inside modules altogether can simultaneously for each road MIC provides bias voltage.Earphone is extracted and is detected than being easier to, and the interruption directly produced by earphone base DET1 interface is judged.
In the embodiment of the present invention, headset detection module is in the process of specific implementation, and MIC path selects module can adopt hardware to realize, circuit is such as adopted to realize, and headset plugging measuring ability can adopt software to realize, specifically, the processor in electronic equipment can be adopted realize.
Embodiment three
Based on aforesaid embodiment, the embodiment of the present invention provides a kind of information processing method, be applied to electronic equipment, the function that this information processing method realizes can be realized by the processor caller code in electronic equipment, certain program code can be kept in computer-readable storage medium, visible, this electronic equipment at least comprises processor and storage medium.
Fig. 9 is the realization flow schematic diagram of the embodiment of the present invention three information processing method, and as shown in Figure 9, the method comprises:
Step S901, whether first of Test earphone socket detects interface has interrupt signal to produce;
Step S902, if described first detection interface has interrupt signal to produce, detect the level that described first detects interface, the described first left channel interface detected on interface and described earphone socket is symmetrical set;
Step S903, judges whether the described first level detecting interface meets the first condition preset;
Here, described first condition is high level or low level, and such as high level represents that earphone inserts, and low level represents do not have earphone to insert; On the contrary, low level represents that earphone inserts, and high level represents do not have earphone to insert.
Step S904, if described first detects the level of interface and meet described first condition, detects the level that second detects interface, and the described second entrance detecting earphone socket described in interface distance detects the illustrate entrance of described earphone socket of interface than described first far away;
Step S905, judges whether the described second level detecting interface meets the second condition preset;
Here, described second condition and described first condition similar, described second condition can be high level or low level, and such as high level represents that earphone inserts, and low level represents do not have earphone to insert; On the contrary, low level represents that earphone inserts, and high level represents do not have earphone to insert.
Step S906, if the described second level detecting interface meets described second condition, then determines that the earphone that described earphone socket inserts comprises plural Mike.
In the embodiment of the present invention, described method also comprises:
If the described first level detecting interface does not meet the first condition preset, then determine in described earphone socket, have earphone to be transferred to; If or the described second level detecting interface meets described second condition, determines that the earphone that described earphone socket inserts is three sections or four sections of earphones.
In the embodiment of the present invention, described method also comprises:
Step S911, for the first microphone interface of described earphone socket or the second microphone interface to each microphone interface of N microphone interface provides bias voltage;
Step S912, detects the voltage of microphone interface described in each;
Step S913, judge that whether the voltage of microphone interface described in each meet preset pre-conditioned, obtain judged result, described pre-conditioned and described bias voltage is relevant;
Here, described pre-conditioned can be voltage threshold, this voltage threshold can equal bias voltage, at this moment, the pre-conditioned voltage being microphone interface is greater than bias voltage, judges that the voltage of microphone interface is greater than bias voltage, when being, then meet pre-conditioned, otherwise, then do not meet pre-conditioned; Certain pre-conditioned can also be relevant to the threshold range of bias voltage, at this moment, pre-conditionedly to be, the voltage of microphone interface is in the threshold range of bias voltage, judge that the voltage of microphone interface is whether in the threshold range of bias voltage, when being, then meets pre-conditioned, otherwise, then do not meet pre-conditioned.
Step S914, determines the connection status of microphone interface described in each according to described judged result.
In the embodiment of the present invention, determine the connection status of microphone interface described in each according to described judged result, comprising: to show that the voltage of described microphone interface meets described pre-conditioned when described judged result, then described microphone interface has Mike's pin of earphone to connect; When described judged result, to show that the voltage of described microphone interface does not meet described pre-conditioned, then whether described microphone interface has Mike's pin of earphone to connect;
If described microphone interface has Mike's pin of earphone to connect, then the first microphone interface on earphone socket is connected to noise reduction module, described noise reduction module carries out noise reduction to the sound that the first microphone interface inputs.
Embodiment four
Based on aforesaid embodiment, the embodiment of the present invention provides a kind of information processor, each unit included by this device, can be realized by the processor in electronic equipment; Certainly also realize by concrete logical circuit; In the process of specific embodiment, processor can be central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc.
Figure 10 is the composition structural representation of the embodiment of the present invention four information processor, as shown in Figure 10, this device 1000 comprises the first detecting unit 1001, second detecting unit 1002, first judging unit 1003, the 3rd detecting unit 1004, second judging unit 1005 and the first determining unit 1006, wherein
First detecting unit 1001, whether detect interface for first of Test earphone socket has interrupt signal to produce;
Second detecting unit 1002, have interrupt signal to produce if detect interface for described first, detect the level that described first detects interface, the described first left channel interface detected on interface and described earphone socket is symmetrical set;
First judging unit 1003, for judging whether the described first level detecting interface meets the first condition preset;
3rd detecting unit 1004, if meet described first condition for the described first level detecting interface, detect second and detect the level of interface, the described second entrance detecting earphone socket described in interface distance detects the illustrate entrance of described earphone socket of interface than described first far away;
Second judging unit 1005, for judging whether the described second level detecting interface meets the second condition preset;
First determining unit 1006, if meet described second condition for the described second level detecting interface, then determines that the earphone that described earphone socket inserts comprises plural Mike.
In the embodiment of the present invention, described first determining unit, if the level also detecting interface for described first does not meet the first condition preset, then determines have earphone to be transferred in described earphone socket; If or the described second level detecting interface meets described second condition, determines that the earphone that described earphone socket inserts is three sections or four sections of earphones.
In the embodiment of the present invention, described device also comprises providing unit, the 4th detecting unit, the 3rd judging unit and the second determining unit, wherein:
Providing unit, for providing bias voltage for the first microphone interface of described earphone socket or the second microphone interface to each microphone interface of N microphone interface;
4th detecting unit, for detecting the voltage of microphone interface described in each;
3rd judging unit, for judging that whether the voltage of microphone interface described in each meet preset pre-conditioned, obtain judged result, described pre-conditioned and described bias voltage is relevant;
Second determining unit, for determining the connection status of microphone interface described in each according to described judged result.
In the embodiment of the present invention, described second determining unit, described pre-conditioned for showing that the voltage of described microphone interface meets when described judged result, then determine that described microphone interface has Mike's pin of earphone to connect; When described judged result, to show that the voltage of described microphone interface does not meet described pre-conditioned, then determine whether described microphone interface has Mike's pin of earphone to connect;
Described device also comprises: linkage unit, if having Mike's pin of earphone to connect for described microphone interface, then the first microphone interface on earphone socket is connected to noise reduction module, described noise reduction module carries out noise reduction to the sound that the first microphone interface inputs.
Embodiment five
Equal 4 for N to be below described, when N equals 4, the embodiment of the present invention will provide a kind of seven segmentation earphones, this seven segmentations earphone is divided into seven sections, Figure 11 is the composition structural representation of the embodiment of the present invention five or seven segmentation headset plug, as shown in figure 11, be followed successively by the 4th Mike's pin (M4) to second Mike's pin (M2), L channel pin (L), R channel pin (R), ground pin (G) and first Mike's pin (M1) from the head of described headset plug, between described pin, adopt insulant to make electrical isolation.
Correspondingly, match with seven segmentation earphones, also provide a kind of earphone socket, earphone socket at least comprises seven interfaces be connected with seven sections of pins, for completing the physical connection of earphone with electronic equipment, and three, four sections of headset plugs of earphone socket compatible conventional.Figure 12 is the composition structural representation of the embodiment of the present invention five or seven segmentation earphone socket, as shown in figure 12, in order to compatible conventional three sections/tetra-sections earphones, headset plug and socket front four sections identical with the definition of conventional earphone interfaces, after three sections be three MIC interfaces of increase.Each interface is followed successively by: Mike 1 (M1), (G), R channel (R), L channel (L), Mike 2 (M2), Mike 3 (M3), Mike 4 (M4).
Interface DET1 wherein on earphone base is used for the mechanical detection of three/tetra-sections of headset plugging events, is as good as with regular headset seat, and DET2 is used for the mechanical detection of auxiliary seven segmentation headset plugging events.
Based on aforesaid Figure 11 and Figure 12, the embodiment of the present invention provides a kind of electronic equipment, electronic equipment described in described electronic equipment comprises aforesaid earphone socket, headset detection module, audio processing modules and function selecting module for mating seven segmentation earphones, wherein:
Headset detection module, for providing bias voltage for earphone MIC, completing the logic detection of headset plugging, and having variable connector, can select different functions for MIC path.The first end of headset detection module is connected with each interface of earphone socket, and the second end of headset detection module is connected with audio processing modules.Carry out the transfer of data between audio processing modules and earphone by data wire, audio processing modules sends instruction by control bus to headset detection module and controls accordingly.
Here, headset detection module has headset plugging measuring ability, and headset plugging measuring ability can adopt the flow process shown in Figure 13, and this flow process comprises:
Step S131, whether does DET1 produce interrupt signal?
Step S132, when there being interrupt signal to produce, having judged whether that earphone inserts, if do not have earphone to insert, having entered step S133, otherwise, enter step S134;
Here, judged whether that earphone inserts, having comprised: whether the level detecting DET1 has met first condition, when meeting, then has earphone to insert; If do not met, then earphone is not had to insert;
Step S133, reports dial-out event;
Step S134, judges whether the level of DET2 meets the second condition preset;
If do not met, being then that four sections of conventional earphones insert, if met, is then that seven segmentation earphones insert;
Step S135, is switched to and connects MIC function;
Step S136, detects MIC state;
Step S137, reports insertion event.
In the embodiment of the present invention, producing interruption judgement by the DET1 interface on earphone socket has conventional three/tetra-sections of earphones to insert; If regular headset, then proceed three/tetra-sections and detect and American-European mark detection, be as good as with prior art.If seven segmentation earphones detected, then variable connector submodule first selects MIC linkage function, for 4 road MIC provide bias voltage, detects the connection state of MIC.For M1, be under the state do not inserted at earphone, the dividing potential drop V1 of M1 should equal its bias voltage; After earphone inserts, BIAS, M1, G form loop, and V1 diminishes.Utilize this principle to detect and detect each MIC loop respectively, and preserve the state of its correspondence.
Function selecting module, has 4 MIC paths for described interface, but is not can only be used for connecting MIC.All MIC paths all have three kinds of functions: connect MIC, power supply and transfer of data.Function selecting module essence is a software, such as when adopting Android system, function selecting module can adopt kitchen table installation kit (APK) to realize, and user can carry out functional configuration with the earphone of adaptive specific function by visualization interface to each MIC path.
Seven segmentation earphone interfaces of the embodiment of the present invention are mainly used in the active noise reduction earphone that use 4 MIC carry out feeding back, but are not limited in this.4 MIC paths in described interface are described above, can carry out function and select with the seven segmentation earphones adapting to different functions.Be exemplified below: 1) use Part way to carry out noise reduction: the MIC number of some active noise reduction earphone is less than 4, and now can detect MIC used by above-mentioned headset detection flow process, all the other MIC can leave unused.2) stereophonic recording of multichannel.3) transfer of data of other intelligent earphones, as having the earphone of heart rate detecting function, the MIC passage that these can be utilized unnecessary carries out transfer of data, and without the need to carrying out multiplexing with main MIC.
Make user that UI interface can be used to be configured MIC interface function by adding interface at audio frequency ccf layer.Described function selecting module can be an APK, and user according to the service condition configuration MIC interface function of self, and can arrange a default configuration scheme.After detecting that seven segmentation earphones insert, the situation (whether having MIC to access) of each MIC path is saved to headset detection module, then function selecting module sends order to headset detection module, read MIC situation, if meet default configuration, then directly use by default configuration, if do not meet, then point out user carry out MIC via configuration according to concrete earphone and open configuration interface.
As can be seen from the above embodiments, the embodiment of the present invention can compatible three sections common/four-section type headset, and add 3 MIC interfaces on its basis, available MIC interface is made to increase to four, the more existing earphone of the earphone of this interface is used to have following advantage: 1) for active noise reduction earphone, noise reduction module can be placed in the electronic equipment at CPU place, reduce earphone volume; 2) for active noise reduction earphone, multichannel MIC provides feedback signal, improves noise reduction greatly; 3) multichannel MIC interface can carry out function switching, is respectively used to connect MIC, power supply and transfer of data, is convenient to the expansion of ear-phone function.
Here it is to be noted: the description of above device embodiment is similar with the description of said method embodiment, has the beneficial effect that same embodiment of the method is similar, does not therefore repeat.For the ins and outs do not disclosed in apparatus of the present invention embodiment, please refer to the description of the inventive method embodiment and understand, for saving length, therefore repeating no more.
Should be understood that during specification in the whole text that " embodiment " or " embodiment " mentioned means that the special characteristic relevant with embodiment, structure or characteristic comprise at least one embodiment of the present invention.Therefore, " in one embodiment " or " in one embodiment " that occur everywhere at whole specification does not necessarily refer to identical embodiment.In addition, these specific feature, structure or characteristics can combine in one or more embodiments in any suitable manner.Should understand, in various embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location; Both can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, read-only memory (ReadOnlyMemory, ROM), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, ROM, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. a headset plug, is characterized in that, described headset plug comprises:
Be followed successively by N Mike pin to the second Mike pin, L channel pin, R channel pin, ground pin and first Mike's pin from the head of described headset plug, between described pin, adopt insulant to make electrical isolation, wherein N be more than or equal to 2 integer.
2. an electronic equipment, is characterized in that, described electronic equipment comprises earphone socket, and described earphone socket comprises:
Described earphone socket comprises N microphone interface to the second microphone interface, left channel interface, right channel interface, ground interface and the first microphone interface successively, adopts insulant to make electrical isolation between described interface, wherein N be more than or equal to 2 integer;
Described earphone socket also comprise be symmetrical set with described left channel interface first detect that interface and described S microphone interface be symmetrical set second detect interface, wherein said first detects interface plugs event mechanical detection for three sections or four-section type headset, described second detects the mechanical detection of interface for the headset plugging event of headset plug according to claim 1, and described S microphone interface comprises the second microphone interface any one microphone interface to N microphone interface.
3. electronic equipment according to claim 2, is characterized in that, described electronic equipment also comprises headset detection module and audio processing modules, wherein:
Described headset detection module at least comprises first end and the second end, and the first end of wherein said headset detection module is connected with each interface of described earphone socket, and the second end of described headset detection module is connected with audio processing modules, wherein
Described headset detection module is at least for one of following functions: for provide for earphone Mike bias voltage, for complete headset plugging logic detection and for the transfer of data between audio processing modules and earphone socket;
Described audio processing modules, the audio frequency for receiving Mike carries out modulus process and exports earphone socket to after carrying out digital-to-analogue process to the audio frequency on electronic equipment.
4. electronic equipment according to claim 3, is characterized in that, described headset detection module comprises bias voltage submodule, variable connector submodule and supplied for electronic module, wherein:
Described variable connector submodule comprises four ends, the first end of described variable connector submodule is used for each interface of engaging lug support, second end of described variable connector submodule is for connecting bias voltage submodule, 3rd end of described variable connector submodule is for connecting supplied for electronic module, and the 4th end of described variable connector submodule is for connecting audio processing modules or the function selecting module of electronic equipment;
Described bias voltage submodule, for being provided for the bias voltage ensureing Mike's work for each microphone interface;
Described supplied for electronic module, for providing drive current for each microphone interface;
Described function selecting module, at least for transfer of data.
5. electronic equipment according to claim 4, is characterized in that, described function selecting module, opens or closes the second end of described variable connector submodule, the 3rd end or the 4th end for the variable connector controlled in described variable connector submodule.
6. an information processing method, is characterized in that, described method comprises:
Whether first of Test earphone socket detects interface has interrupt signal to produce;
Have interrupt signal to produce if described first detects interface, detect the level that described first detects interface, the described first left channel interface detected on interface and described earphone socket is symmetrical set;
Judge whether the described first level detecting interface meets the first condition preset;
If described first detects the level of interface and meet described first condition, detect the level that second detects interface, the described second entrance detecting earphone socket described in interface distance detects the illustrate entrance of described earphone socket of interface than described first far away;
Judge whether the described second level detecting interface meets the second condition preset;
If the described second level detecting interface meets described second condition, then determine that the earphone that described earphone socket inserts comprises plural Mike.
7. method according to claim 6, is characterized in that, described method also comprises:
If the described first level detecting interface does not meet the first condition preset, then determine in described earphone socket, have earphone to be transferred to; If or the described second level detecting interface meets described second condition, determines that the earphone that described earphone socket inserts is three sections or four sections of earphones.
8. method according to claim 6, is characterized in that, described method also comprises:
For the first microphone interface of described earphone socket or the second microphone interface to each microphone interface of N microphone interface provides bias voltage;
Detect the voltage of microphone interface described in each;
Judge that whether the voltage of microphone interface described in each meet preset pre-conditioned, obtain judged result, described pre-conditioned and described bias voltage is relevant;
The connection status of microphone interface described in each is determined according to described judged result.
9. method according to claim 8, is characterized in that, determines the connection status of microphone interface described in each, comprising according to described judged result:
When described judged result, to show that the voltage of described microphone interface meets described pre-conditioned, then determine that described microphone interface has Mike's pin of earphone to connect;
When described judged result, to show that the voltage of described microphone interface does not meet described pre-conditioned, then determine whether described microphone interface has Mike's pin of earphone to connect;
If described microphone interface has Mike's pin of earphone to connect, then the first microphone interface on earphone socket is connected to noise reduction module, described noise reduction module carries out noise reduction to the sound that the first microphone interface inputs.
10. an information processor, it is characterized in that, described device comprises the first detecting unit, the second detecting unit, the first judging unit, the 3rd detecting unit, the second judging unit and the first determining unit, wherein: the first detecting unit, whether detect interface for first of Test earphone socket has interrupt signal to produce;
Second detecting unit, have interrupt signal to produce if detect interface for described first, detect the level that described first detects interface, the described first left channel interface detected on interface and described earphone socket is symmetrical set;
First judging unit, for judging whether the described first level detecting interface meets the first condition preset;
3rd detecting unit, if meet described first condition for the described first level detecting interface, detect second and detect the level of interface, the described second entrance detecting earphone socket described in interface distance detects the illustrate entrance of described earphone socket of interface than described first far away;
Second judging unit, for judging whether the described second level detecting interface meets the second condition preset;
First determining unit, if meet described second condition for the described second level detecting interface, then determines that the earphone that described earphone socket inserts comprises plural Mike.
CN201610029700.2A 2016-01-15 2016-01-15 A kind of information processing method and device, headset plug, electronic equipment Active CN105530561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610029700.2A CN105530561B (en) 2016-01-15 2016-01-15 A kind of information processing method and device, headset plug, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610029700.2A CN105530561B (en) 2016-01-15 2016-01-15 A kind of information processing method and device, headset plug, electronic equipment

Publications (2)

Publication Number Publication Date
CN105530561A true CN105530561A (en) 2016-04-27
CN105530561B CN105530561B (en) 2019-03-19

Family

ID=55772489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610029700.2A Active CN105530561B (en) 2016-01-15 2016-01-15 A kind of information processing method and device, headset plug, electronic equipment

Country Status (1)

Country Link
CN (1) CN105530561B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106252935A (en) * 2016-07-29 2016-12-21 维沃移动通信有限公司 A kind of headset plug, earphone socket and electronic equipment
WO2017197743A1 (en) * 2016-05-16 2017-11-23 中兴通讯股份有限公司 Earphone plug, earphone, earphone socket, and terminal
WO2017210983A1 (en) * 2016-06-08 2017-12-14 中兴通讯股份有限公司 Earpiece circuit and terminal apparatus
CN108810751A (en) * 2018-07-26 2018-11-13 合肥联宝信息技术有限公司 A kind of circuit and electronic equipment of electronic components for identification
CN109713511A (en) * 2019-02-11 2019-05-03 Oppo广东移动通信有限公司 Detection circuit, earphone socket, method and mobile terminal
CN112866865A (en) * 2021-03-15 2021-05-28 北京小鸟科技股份有限公司 Multi-section type earphone self-adaptive switching system, method and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2653799Y (en) * 2003-08-05 2004-11-03 杨柯 Wire control earphone for mobile phone
CN101159991A (en) * 2006-10-03 2008-04-09 索尼株式会社 Audio equipment
CN201975649U (en) * 2008-08-19 2011-09-14 Ex想士电子有限公司 Multi-electrode single-head plug and multi-electrode single-head socket
US20150244116A1 (en) * 2014-02-24 2015-08-27 Oleg Los Forward and backward compatible 5 pole audio plug and jack syste
CN105120390A (en) * 2015-08-31 2015-12-02 努比亚技术有限公司 Headphone socket, headphone plug and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2653799Y (en) * 2003-08-05 2004-11-03 杨柯 Wire control earphone for mobile phone
CN101159991A (en) * 2006-10-03 2008-04-09 索尼株式会社 Audio equipment
CN201975649U (en) * 2008-08-19 2011-09-14 Ex想士电子有限公司 Multi-electrode single-head plug and multi-electrode single-head socket
US20150244116A1 (en) * 2014-02-24 2015-08-27 Oleg Los Forward and backward compatible 5 pole audio plug and jack syste
CN105120390A (en) * 2015-08-31 2015-12-02 努比亚技术有限公司 Headphone socket, headphone plug and electronic device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017197743A1 (en) * 2016-05-16 2017-11-23 中兴通讯股份有限公司 Earphone plug, earphone, earphone socket, and terminal
WO2017210983A1 (en) * 2016-06-08 2017-12-14 中兴通讯股份有限公司 Earpiece circuit and terminal apparatus
CN106252935A (en) * 2016-07-29 2016-12-21 维沃移动通信有限公司 A kind of headset plug, earphone socket and electronic equipment
CN106252935B (en) * 2016-07-29 2018-12-04 维沃移动通信有限公司 A kind of headset plug, earphone socket and electronic equipment
CN108810751A (en) * 2018-07-26 2018-11-13 合肥联宝信息技术有限公司 A kind of circuit and electronic equipment of electronic components for identification
CN108810751B (en) * 2018-07-26 2021-06-08 合肥联宝信息技术有限公司 Circuit for identifying electronic accessory and electronic equipment
CN109713511A (en) * 2019-02-11 2019-05-03 Oppo广东移动通信有限公司 Detection circuit, earphone socket, method and mobile terminal
CN112866865A (en) * 2021-03-15 2021-05-28 北京小鸟科技股份有限公司 Multi-section type earphone self-adaptive switching system, method and equipment
CN112866865B (en) * 2021-03-15 2021-12-21 北京小鸟科技股份有限公司 Multi-section type earphone self-adaptive switching system, method and equipment

Also Published As

Publication number Publication date
CN105530561B (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN105530561A (en) Information processing method and device, earphone plug and electronic device
CN203466944U (en) Self configuration device
KR101946486B1 (en) Ear-phone Operation System and Ear-phone Operating Method, and Portable Device supporting the same
EP2645737B1 (en) Apparatus and method for interfacing earphone
US9219476B2 (en) Electronic device interface switching system
JP4406612B2 (en) General-purpose audio jacks and plugs
CN102404665B (en) A kind of earphone interface adaptive circuit
CN101841753A (en) Drive-by-wire earphone for portable electronic equipment and method for realizing drive-by-wire
CN103686531A (en) Earphone connection interface, terminal including the same, and method of operating terminal
CN202503656U (en) Device used for earphone microphone line sequence changing-over, and mobile terminal thereof
CN101739374A (en) Signal transmission path selecting circuit and electronic device applying same
US20150117663A1 (en) Audio codec with audio jack detection function and audio jack detection method
CN105933823A (en) Backward compatible system and method for using 4P audio jack to provide power and signal to headset with active noise cancellation
CN110891225A (en) Audio signal processing method, device, equipment and storage medium
CN104735591A (en) Audio interface adaptation circuit and electronic device
CN103414984A (en) System for eliminating explosion sound of earphones
CN104811866B (en) A kind of mobile terminal and its control method
CN207995366U (en) A kind of earphone compatible circuit and electric terminal
CN104581515A (en) Audio playing device and method as well as mobile terminal
CN111314817B (en) Switching control circuit, terminal equipment and switching control method
CN210157357U (en) Earphone interface module with multiplexing serial port function and mobile terminal
JP2017529734A (en) Mobile terminal
WO2009056917A1 (en) Split connector system and method
CN104105046A (en) Detection circuit
US20220386050A1 (en) State detection device for use in an audio interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant