CN107911774A - A kind of detection method of earphone call - Google Patents

A kind of detection method of earphone call Download PDF

Info

Publication number
CN107911774A
CN107911774A CN201711131104.6A CN201711131104A CN107911774A CN 107911774 A CN107911774 A CN 107911774A CN 201711131104 A CN201711131104 A CN 201711131104A CN 107911774 A CN107911774 A CN 107911774A
Authority
CN
China
Prior art keywords
earphone
call
detection method
earphone interface
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711131104.6A
Other languages
Chinese (zh)
Inventor
吕鑫
张先平
毕小强
闫蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mobiwire Mobiles Ningbo Co Ltd
Original Assignee
Mobiwire Mobiles Ningbo 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 Mobiwire Mobiles Ningbo Co Ltd filed Critical Mobiwire Mobiles Ningbo Co Ltd
Priority to CN201711131104.6A priority Critical patent/CN107911774A/en
Publication of CN107911774A publication Critical patent/CN107911774A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers

Abstract

The present invention relates to field of communication technology, more particularly to a kind of detection method of earphone call.In the present invention, if extract audio jack in earphone interface part, the interrupt signal to abandoning output can be set so that it is invalid that the terminal signaling of output is judged as, so as to not interfere with call of user when earphone interface part is extracted.

Description

A kind of detection method of earphone call
Technical field
The present invention relates to field of communication technology, more particularly to a kind of detection method of earphone call.
Background technology
It is matched with terminal device in use, user may during earphone is extracted from terminal device in earphone Will not all it extract moment, but since terminal device detects the signal of earphone extraction, and when triggering call hang-ups During interrupt signal, the possible therefore kill-call of terminal device, but user misses sometimes when earphone not yet extracts terminal completely Triggering terminal signal, so as to cause dropped calls.
The content of the invention
In view of the problems of the existing technology, a kind of detection method of earphone call is now provided.
Specific technical solution is as follows:
The detection method of a kind of earphone call a, there is provided earphone interface and inserted with the audio being adapted to the earphone interface The terminal in hole, the detection method include:
Step S1, the earphone interface are entirely insertable in the audio jack, earphone interface circuit output first voltage, place Manage device and control the earphone interface circuit conducting using the first voltage;
Step S2, establishes call, and the part earphone interface, the earphone interface circuit are extracted in the audio jack Export second voltage;
Step S3, one trigger signal of output to the earphone interface circuit, the processor according to the trigger signal and The second voltage exports an interrupt signal;
Step S4, abandons the interrupt signal to maintain to converse.
Preferably, the earphone interface includes call portion, and the grounding parts being connected with the call portion, connect with the grounding parts The R channel connect, the L channel being connected with the R channel.
Preferably, the L channel is the part for being firstly inserted into the audio jack.
Preferably, the earphone interface of 3.5 millimeters of the earphone interface.
Preferably, it is the L channel and the R channel part earphone interface to be extracted in the audio jack.
Preferably, the step S3 includes:
Step S31, the trigger signal is exported according to the operation of the break key to earphone.
Preferably, the first voltage is 0.4-1.7V.
Preferably, the second voltage is more than or equal to 1.9V.
Preferably, in the step S3, when exporting the trigger signal to the earphone interface circuit, the earphone interface Circuit output voltage is less than 0.4V.
Preferably, further included after the step S4:
Step S5, extracts all earphone interfaces, the earphone interface circuit output second in the audio jack Voltage, the processor export the interrupt signal according to the second voltage;
Step S6, abandons the interrupt signal to maintain the call.
The beneficial effect of above-mentioned technical proposal is:
In above-mentioned technical proposal, if extract audio jack in earphone interface part, it can set to abandoning output Interrupt signal so that it is invalid that the terminal signaling of output is judged as, so as to not interfere with what user extracted in earphone interface part When call.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram of the embodiment of the detection method of earphone call of the present invention.
Embodiment
It should be noted that in the case where there is no conflict, following technical proposals, can be mutually combined between technical characteristic.
The embodiment of the present invention is further described below in conjunction with the accompanying drawings:
Present embodiments provide a kind of detection method of earphone call, there is provided an earphone interface and with being fitted with earphone interface The terminal for the audio jack matched somebody with somebody, as shown in Figure 1, detection method includes:
Step S1, earphone interface are entirely insertable in audio jack, and earphone interface circuit output first voltage, processor utilizes First voltage control earphone interface circuit conducting;
Step S2, establishes call, and part earphone interface, the second electricity of earphone interface circuit output are extracted in audio jack Pressure;
Step S3, one trigger signal of output to earphone interface circuit, processor are exported according to trigger signal and second voltage One interrupt signal;
Step S4, abandons interrupt signal to maintain to converse.
In the present embodiment, earphone interface is entirely insertable among audio jack first, at this time in audio jack (Audio Jack relative displacement is produced in), this relative displacement can cause the level change of earphone interface circuit again, export first voltage.
When audio jack is extracted in earphone interface part, earphone interface circuit output second voltage, and at this moment If earphone exports trigger signal, processor can processor interrupt signal is exported according to trigger signal and second voltage, pass through Software design patterns act so that interrupt signal is invalid, can normally keep conversing.
In a preferred embodiment of the invention, earphone interface includes call portion, the grounding parts being connected with call portion, with connecing The R channel of ground portion connection, the L channel being connected with R channel.
In a preferred embodiment of the invention, L channel is the part for being firstly inserted into audio jack.
In a preferred embodiment of the invention, the earphone interface that 3.5 millimeter of earphone interface.
In a preferred embodiment of the invention, it is L channel and right sound to extract part earphone interface in audio jack Road.
In a preferred embodiment of the invention, step S3 includes:
Step S31, trigger signal is exported according to the operation of the break key to earphone.
In a preferred embodiment of the invention, first voltage 0.4-1.7V.
In a preferred embodiment of the invention, second voltage is more than or equal to 1.9V.
In a preferred embodiment of the invention, in step S3, when exporting trigger signal to earphone interface circuit, earphone connects Mouth circuit output voltage is less than 0.4V.
In a preferred embodiment of the invention, further included after step S4:
Step S5, extracts whole earphone interfaces, earphone interface circuit output second voltage, processor root in audio jack Interrupt signal is exported according to second voltage;
Step S6, abandons interrupt signal to maintain to converse.
In above-described embodiment, since the ENIT-HEADSET pins in earphone interface circuit can be responsible for earphone insertion and pull out Go out two states, the action hung up the telephone also needs to another signal pins i.e. ACCDET, real-time test earphone state;In earphone When being not inserted into, ACCDET detects 1.9V (high level), and UI display interfaces do not show earphone icon, earphone path at this time Also not transmission signal;Interrupt foot EINT-HEADSET after earphone is inserted into be triggered, while ACCDET detects that a scope is The voltage of 0.4V-1.7V, earphone path, while UI interface display earphone icons can be opened by being followed by subsequent processing device (CPU);And work as earphone On hook be pressed after ACCDET will detect low level (0V), then CPU will initiate the action hung up the telephone.User makes Wanting to extract earphone when being conversed with earphone, but only a hand is idle, then user singlehanded will slowly extract earphone, The situation of " insertion portion " just occurs during this, (hook key signal transmission is drawn due to the HSMIC on audio jack at this time Foot) and earphone on GND short circuits, CPU recognizes hook key and is pressed, and exports interrupt signal, is abandoned at this time by software design patterns Interrupt signal instructs so that call maintains.
To sum up, in above-mentioned technical proposal, if extract audio jack in earphone interface part, can set defeated to abandoning The interrupt signal gone out so that it is invalid that the terminal signaling of output is judged as, and is pulled out so as to not interfere with user in earphone interface part Call when going out.
By explanation and attached drawing, the exemplary embodiments of the specific structure of embodiment are given, it is smart based on the present invention God, can also make other conversions.Although foregoing invention proposes existing preferred embodiment, however, these contents are not intended as Limitation.
For a person skilled in the art, after reading described above, various changes and modifications undoubtedly will be evident. Therefore, appended claims should regard whole variations and modifications of the true intention and scope that cover the present invention as.Weighing Any and all scope and content of equal value, are all considered as still belonging to the intent and scope of the invention in the range of sharp claim.

Claims (10)

1. a kind of detection method of earphone call a, it is characterised in that earphone interface is provided and is had and is fitted with the earphone interface The terminal for the audio jack matched somebody with somebody, the detection method include:
Step S1, the earphone interface are entirely insertable in the audio jack, earphone interface circuit output first voltage, processor The earphone interface circuit conducting is controlled using the first voltage;
Step S2, establishes call, and the part earphone interface, the earphone interface circuit output are extracted in the audio jack Second voltage;
Step S3, one trigger signal of output is to the earphone interface circuit, and the processor is according to the trigger signal and described Second voltage exports an interrupt signal;
Step S4, abandons the interrupt signal to maintain the call.
2. the detection method of earphone call according to claim 1, it is characterised in that the earphone interface includes call Portion, the grounding parts being connected with the call portion, the R channel being connected with the grounding parts, the left sound being connected with the R channel Road.
3. the detection method of earphone call according to claim 2, it is characterised in that the L channel is is firstly inserted into State the part of audio jack.
4. the detection method of earphone call according to claim 1, it is characterised in that 3.5 millimeters of the earphone interface Earphone interface.
5. the detection method of earphone call according to claim 2, it is characterised in that the extraction portion in the audio jack It is the L channel and the R channel to divide the earphone interface.
6. the detection method of earphone call according to claim 1, it is characterised in that the step S3 includes:
Step S31, the trigger signal is exported according to the operation of the break key to earphone.
7. the detection method of earphone call according to claim 1, it is characterised in that the first voltage is 0.4- 1.7V。
8. the detection method of earphone according to claim 1 call, it is characterised in that the second voltage be more than or equal to 1.9V。
9. the detection method of earphone call according to claim 1, it is characterised in that in the step S3, described in output During trigger signal to the earphone interface circuit, the earphone interface circuit output voltage is less than 0.4V.
10. the detection method of earphone call according to claim 1, it is characterised in that further included after the step S4:
Step S5, extracts all earphone interfaces in the audio jack, and the earphone interface circuit exports second voltage, The processor exports the interrupt signal according to the second voltage;
Step S6, abandons the interrupt signal to maintain the call.
CN201711131104.6A 2017-11-15 2017-11-15 A kind of detection method of earphone call Pending CN107911774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711131104.6A CN107911774A (en) 2017-11-15 2017-11-15 A kind of detection method of earphone call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711131104.6A CN107911774A (en) 2017-11-15 2017-11-15 A kind of detection method of earphone call

Publications (1)

Publication Number Publication Date
CN107911774A true CN107911774A (en) 2018-04-13

Family

ID=61844215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711131104.6A Pending CN107911774A (en) 2017-11-15 2017-11-15 A kind of detection method of earphone call

Country Status (1)

Country Link
CN (1) CN107911774A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343334A (en) * 2020-02-13 2020-06-26 惠州Tcl移动通信有限公司 Event processing method and device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778319A (en) * 2009-12-11 2010-07-14 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection
JP2010177773A (en) * 2009-01-27 2010-08-12 Kyocera Corp Electronic device, and earphone detection method
CN101841599A (en) * 2010-04-07 2010-09-22 惠州Tcl移动通信有限公司 Method and mobile phone for preventing mistaken hanging up in conversation of mobile phone
CN102769810A (en) * 2012-07-25 2012-11-07 惠州Tcl移动通信有限公司 Mobile terminal with a calling misoperation preventive function
CN104735570A (en) * 2013-12-18 2015-06-24 展讯通信(上海)有限公司 Circuit for providing interface voltage to earphone interface circuit and earphone circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010177773A (en) * 2009-01-27 2010-08-12 Kyocera Corp Electronic device, and earphone detection method
CN101778319A (en) * 2009-12-11 2010-07-14 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection
CN101841599A (en) * 2010-04-07 2010-09-22 惠州Tcl移动通信有限公司 Method and mobile phone for preventing mistaken hanging up in conversation of mobile phone
CN102769810A (en) * 2012-07-25 2012-11-07 惠州Tcl移动通信有限公司 Mobile terminal with a calling misoperation preventive function
CN104735570A (en) * 2013-12-18 2015-06-24 展讯通信(上海)有限公司 Circuit for providing interface voltage to earphone interface circuit and earphone circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343334A (en) * 2020-02-13 2020-06-26 惠州Tcl移动通信有限公司 Event processing method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
US9414147B2 (en) Method and device for earphone and USB to share micro-USB interface
CN209627625U (en) A kind of charging bluetooth earphone box, bluetooth headset and its data transmission system
CN100442892C (en) Method for preventing mobile terminal earphone keystroke mis-operation and mobile terminal
CN102223439B (en) Electronic equipment with USB interface and USB communication starting method thereof
CN103412719A (en) Method and device for preventing touch screen terminal from misoperation
CN102769810B (en) A kind of mobile terminal preventing call misoperation
CN105487899A (en) Headphone wearing state reporting method and system and headphone
CN110018976A (en) USB main equipment responds USB from device, method and relevant device
CN101841599A (en) Method and mobile phone for preventing mistaken hanging up in conversation of mobile phone
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN109672950A (en) A kind of power-saving circuit and electricity saving method based on Type-C earphone
CN106873849A (en) A kind of fingerprint detection method, device and a kind of mobile terminal
CN105472496A (en) Bluetooth earphone and automatic on-off method thereof
CN110213686A (en) A kind of detection method and terminal of earphone socket
CN105224223A (en) Photographic method and terminal
CN104093114B (en) A kind of detection means of earphone keystroke, detecting system and detection method
CN107911774A (en) A kind of detection method of earphone call
CN105550005B (en) Method for debugging and upgrading through USB port
CN202737160U (en) Novel earphone socket
CN104836290B (en) The detection method and detecting system that a kind of Mobile terminal charger insertion is extracted
CN106502557A (en) A kind of split screen transmits the method and device of file
CN201307924Y (en) Earphone detecting circuit and terminal device using earphone detecting device
CN104821981B (en) A kind of detection method of earphone operation
CN105512067B (en) A kind of mobile terminal and its port multiplexing circuit and method
CN105721696B (en) Mobile terminal information input method and device and mobile terminal

Legal Events

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

Application publication date: 20180413

RJ01 Rejection of invention patent application after publication