CN105430549A - Device and method for preventing insertion wrong operation of earphone - Google Patents

Device and method for preventing insertion wrong operation of earphone Download PDF

Info

Publication number
CN105430549A
CN105430549A CN201510923427.3A CN201510923427A CN105430549A CN 105430549 A CN105430549 A CN 105430549A CN 201510923427 A CN201510923427 A CN 201510923427A CN 105430549 A CN105430549 A CN 105430549A
Authority
CN
China
Prior art keywords
voltage
pin
earphone
detects
low level
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
CN201510923427.3A
Other languages
Chinese (zh)
Other versions
CN105430549B (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.)
Shenzhen Huashengjie Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510923427.3A priority Critical patent/CN105430549B/en
Publication of CN105430549A publication Critical patent/CN105430549A/en
Application granted granted Critical
Publication of CN105430549B publication Critical patent/CN105430549B/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/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Abstract

The invention discloses a device and a method for preventing insertion wrong operation of an earphone. The device comprises an earphone socket, a first voltage division circuit, a second voltage division circuit and a CPU (Central Processing Unit); when the earphone is inserted into the earphone socket, the first voltage division circuit performs voltage division for a first power supply voltage, and the second voltage division circuit performs voltage division for a second power supply voltage; the CPU detects a first detecting voltage on a microphone pin of the earphone socket and a second detecting voltage on a left channel pin and carries out answering or hanging-up operation when the first detecting voltage and the second detecting voltage are successively judged at a low electric level. As the second detecting voltage on the left channel pin is added as a further judging condition, and the answering or hanging-up operation is carried out when the first detecting voltage is firstly judged at the low electric level and then the second detecting voltage is obtained and judged also at the low electric level. Wrong detection and wrong operation caused by incomplete insertion of the earphone are solved, a mobile terminal can carry out a correct response, and the accuracy of earphone insertion detection is improved.

Description

A kind of device and method preventing earphone from inserting misoperation
Technical field
The present invention relates to mobile terminal application, in particular a kind of device and method preventing earphone from inserting misoperation.
Background technology
Most of mobile phone is all realized by the voltage at Test earphone microphone mic two ends to the detection of earphone keystroke.Testing circuit as shown in Figure 1.After earphone inserts mobile phone completely, Mike's shell fragment M1 of earphone socket J1, shell fragment GND1, L channel shell fragment L1, R channel shell fragment R1 one end contact with the M pin of headset plug P, G pin, L pin, R pin respectively, Mike's shell fragment M1, shell fragment GND1, L channel shell fragment L1, R channel shell fragment R1 the other end be connected with the M0 pin of CPU, GND0 pin, L0 pin, R0 pin respectively.Power supply is by the D0 pin (detection pin) of Mike's shell fragment M1 and CPU of frames connecting with headphone socket J1 after a bleeder circuit.This D0 pin is connected with the positive pole of the Mike mic of earphone internal circuit C by Mike's shell fragment M1 of earphone socket J1, the M pin of headset plug P successively.The positive pole of the Mike mic of the M pin frames connecting with headphone internal circuit of headset plug P, the negative pole of Mike mic, left ear L, auris dextra R in the G pin frames connecting with headphone internal circuit C of headset plug P, the L pin of headset plug P connects the positive pole of left ear L, and the R pin of headset plug P connects the positive pole of auris dextra R.
When button S is pressed, Mike mic is by switch S short circuit, and the voltage at Mike mic two ends is dragged down, and correspondingly makes D0 pin low-voltage be detected, after CPU reads low-voltage, thinks and has button to press, and exercises operation of answering accordingly or hang up the telephone.
When earphone starts to insert, but when plug does not insert socket completely, 4 shell fragments of earphone socket J1 do not have entirely true correspondence to contact with 4 pin pin of headset plug P, according to insertion sequence, usually can occur following three kinds of situations successively:
One is that headset plug just inserts sub-fraction, as shown in Figure 2.Now Mike's shell fragment M1 of earphone socket J1 contacts with the L pin of headset plug; Other three shell fragments (GND1, R1, L1) all do not contact with headset plug P, and all unsettled, equivalent electric circuit as shown in Figure 3.From this equivalent electric circuit, because circuit disconnects at earphone left ear L place, it is infinite that the D0 pin of CPU is in impedance, and detecting voltage is high level close to power supply, do not meet button testing conditions, therefore mobile phone is without operation.
Two is that headset plug continues to insert, and inserts a part, as shown in Figure 4 than situation more than.Now Mike's shell fragment M1 of earphone socket J1 contacts with L pin with the R pin of headset plug P respectively with ground shell fragment GND1; Other two shell fragments (R1, L1) all do not contact with headset plug P, and all unsettled, equivalent electric circuit as shown in Figure 5.From this equivalent electric circuit, the GND0 pin (i.e. mobile phone ground) of the auris dextra R of power supply, bleeder circuit, earphone, left ear L and CPU forms primary Ioops.What D0 pin detected is the overall presure drop at ear two ends, earphone left and right.According to mobile phone conventional design, the equiva lent impedance normally kilo-ohm rank of bleeder circuit, and earphone left and right ear equiva lent impedance only tens Europe, be generally 32 Europe or 64 Europe, therefore D0 pin detects a low-voltage, software has been mistaken for button and has pressed.
Three is that headset plug continues to insert, than situation two many insertion parts again, as shown in Figure 6.Now Mike's shell fragment M1 of earphone socket J1, ground shell fragment GND1 and R channel shell fragment R1 respectively with the G pin of headset plug P, R pin contacts with L pin; Only surplus L channel shell fragment L1 does not contact headset plug P, and unsettled, equivalent electric circuit as shown in Figure 7.From this equivalent electric circuit, power supply, bleeder circuit, the GND0 pin of earphone auris dextra R and mobile phone CPU forms primary Ioops.What D0 pin detected is the pressure drop at earphone auris dextra two ends.According to mobile phone conventional design, the equiva lent impedance normally kilo-ohm rank of bleeder circuit, and earphone auris dextra equiva lent impedance only tens Europe, be generally 16 Europe or 32 Europe, therefore D0 pin detects a low-voltage, software has been mistaken for button and has pressed.
From the analysis of above-mentioned three kinds of situations, when headset plug does not insert completely, earphone socket and headset plug each pin pin can not completely just to upper, as situation two, three can cause the voltage of test point to be dragged down, make software be mistaken for button to press, if now user is just in time in incoming call or call, then mobile phone meeting auto-pickup or on-hook, this causes worry and embarrassment for no reason to user, experiences very poor.Visible, there is certain drawback in regular headset button detection scheme, has misoperation and occur.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provides a kind of device and method preventing earphone from inserting misoperation, is intended to solve the problem occurring misoperation when existing earphone does not insert completely.
The technical scheme that technical solution problem of the present invention adopts is as follows:
Prevent earphone from inserting a device for misoperation, comprise the earphone socket for plugged earphone, it also comprises:
First bleeder circuit, for the first source voltage;
Second bleeder circuit, for second source voltage;
CPU, on Mike's pin of Test earphone socket first detects second on voltage and L channel pin detects voltage, judge described first detect voltage, second detect voltage successively for low level time, perform and to answer or on-hook operates;
The input of described first bleeder circuit connects the first power end, and Mike's pin of output frames connecting with headphone socket of the first bleeder circuit, the Mike of CPU detect first of pin and CPU and detect pin; The input of described second bleeder circuit connects second source end, the L channel pin of the output frames connecting with headphone socket of the second bleeder circuit, the L channel of CPU detect pin and second detect pin; The R channel pin of described earphone socket connects the R channel detection pin of CPU, the lower margin of the grounding leg frames connecting with headphone socket of CPU and ground.
The described earphone that prevents inserts in the device of misoperation, and described CPU comprises:
First detecting unit, detects first in real time and detects the first detection voltage on pin and be transferred to trigger element;
Trigger element, exports trigger impulse to the second detecting unit when judging that the first detection voltage is low level;
Second detecting unit, obtains second on the second detection pin and detects voltage, and be transferred to judging unit when receiving trigger impulse;
Judging unit, judge second detect voltage whether be low level: be think and have button to press, perform answer or on-hook operation; Otherwise inoperation.
The described earphone that prevents inserts in the device of misoperation, and the resistance level of described first bleeder circuit, the second bleeder circuit is a kilo-ohm rank.
Prevent earphone from inserting a method for misoperation, it comprises:
When A, earphone plugged earphone socket, the first bleeder circuit is to the first source voltage, and the second bleeder circuit is to second source voltage;
On Mike's pin of B, CPU Test earphone socket first detects second on voltage and L channel pin and detects voltage, judge described first detect voltage, second detect voltage successively for low level time, perform and to answer or on-hook operates.
The described earphone that prevents inserts in the method for misoperation, and described step B specifically comprises:
B1, the first detecting unit detect first on the first detection pin in real time and detect voltage and be transferred to trigger element;
B2, trigger element export trigger impulse to the second detecting unit when judging that the first detection voltage is low level;
B3, the second detecting unit obtain the second detection voltage on the second detection pin when receiving trigger impulse, and are transferred to judging unit;
B4, judging unit judge that second detects whether voltage is low level: be, perform and answer or on-hook operation; Otherwise continue to judge to receive next time second detects whether voltage is low level.
The described earphone that prevents inserts in the method for misoperation, and described step B2 also comprises: if trigger element judges that first detects voltage not as low level, then do not send trigger impulse; Continue to judge to receive next time first detects whether voltage is low level.
Compared to prior art, the device and method preventing earphone from inserting misoperation provided by the invention, during earphone plugged earphone socket, the first bleeder circuit is to the first source voltage, and the second bleeder circuit is to second source voltage; On Mike's pin of CPU Test earphone socket first detects second on voltage and L channel pin and detects voltage, judge described first detect voltage, second detect voltage successively for low level time, perform and to answer or on-hook operates; Detect voltage as further Rule of judgment by increasing by second on L channel pin, first judge first detect voltage be after low level, obtain the second detection voltage again and judge also low level time, perform and to answer or on-hook operates; Solve because earphone does not insert the error detection and misoperation brought completely, make mobile terminal perform correct response, improve earphone and insert the accuracy detected.
Accompanying drawing explanation
Fig. 1 is that existing earphone keystroke detects schematic diagram.
Fig. 2 is that the button of the embodiment one that existing earphone does not insert completely detects schematic diagram.
Fig. 3 is the equivalent circuit diagram of the embodiment one that existing earphone does not insert completely.
Fig. 4 is that the button of the embodiment two that existing earphone does not insert completely detects schematic diagram.
Fig. 5 is the equivalent circuit diagram of the embodiment two that existing earphone does not insert completely.
The button of the embodiment three that the existing earphone of Fig. 6 does not insert completely detects schematic diagram.
Fig. 7 is the equivalent circuit diagram of the embodiment three that existing earphone does not insert completely.
Fig. 8 is the device schematic diagram preventing earphone from inserting misoperation provided by the invention.
Fig. 9 is the method flow diagram preventing earphone from inserting misoperation provided by the invention.
Embodiment
The invention provides a kind of device and method preventing earphone from inserting misoperation, for making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The present invention is on the basis of existing earphone keystroke detection scheme, set up the voltage detecting function to earphone left ear L two ends, and Rule of judgment is judged to be improved to dual judgement by unique D0 pin (detection pin), namely except judging whether the voltage that earphone mic holds meets except insertion condition, earphone left ear L both end voltage also needs to judge whether satisfied insertion condition, when only having these two voltages all to meet insertion condition, just think and have button to press.Refer to Fig. 8, the described device preventing earphone from inserting misoperation comprises earphone socket 100, first bleeder circuit 200, second bleeder circuit 300 and CPU400, the input of described first bleeder circuit 200 connects the first power end P0, and the Mike of Mike's pin M1, CPU400 of the output frames connecting with headphone socket 100 of the first bleeder circuit 200 detects first of pin M0 and CPU400 and detects pin D0; The input of described second bleeder circuit 300 connects second source end P1, and the L channel of L channel pin L1, CPU400 of the output frames connecting with headphone socket 100 of the second bleeder circuit 300 detects second of pin L0 and CPU400 and detects pin D1; The R channel pin R1 of described earphone socket 100 connects the R channel detection pin R0 of CPU400, the lower margin GND1 of the grounding leg GND0 frames connecting with headphone socket 100 of CPU400 and ground.
Described earphone socket 100 is for plugged earphone.First bleeder circuit 200 is for the first supply voltage V0 dividing potential drop.Second bleeder circuit 300 is for second source voltage V1 dividing potential drop.On Mike's pin M1 of CPU400 Test earphone socket 100 first detects second on voltage and L channel pin L1 and detects voltage, judge described first detect voltage, second detect voltage successively for low level time, perform and to answer or on-hook operates.Detecting voltage as further Rule of judgment by increasing by second on L channel pin L1 like this, can avoid, because earphone does not insert the error detection and misoperation brought completely, making mobile terminal perform correct response, improve earphone and insert the accuracy detected.
In the present embodiment, above-mentioned bleeder circuit can adopt electric resistance partial pressure mode, and namely bleeder circuit comprises a resistance, and one end (i.e. the input of bleeder circuit) of resistance connects corresponding power end; The other end of resistance and the output of bleeder circuit, respectively frames connecting with headphone socket 100 and pin corresponding to CPU400.During concrete enforcement, described bleeder circuit can also have multiple circuit structure, is not construed as limiting this herein.
In the present embodiment, described first detects voltage, second detects voltage and adopts successively judgment mode, namely when to detect voltage be low level in judgement first, then judges whether the second detection voltage is low level.Then described CPU400 comprises the first detecting unit 401, second detecting unit 402, trigger element 403 and judging unit 404.Described first detecting unit 401, trigger element 403, second detecting unit 402, judging unit 404 connect successively.
Described first detecting unit 401 connects first of CPU400 and detects pin D0, that is to say Mike's pin M1 of earphone socket 100 for detecting the first detection pin D0(in real time) on first detect voltage and be transferred to trigger element 403.
Trigger impulse be exported to the second detecting unit 402 when described trigger element 403 judges that the first detection voltage is low level; If the first detection voltage is not low level, does not trigger, do not send trigger impulse; Continue to judge to receive next time first detects whether voltage is low level.
Just obtain second when described second detecting unit 402 receives trigger impulse to detect pin D1(and that is to say L channel pin L1) on second detect voltage, and be transferred to judging unit 404.
Described judging unit 404 judges whether the second detection voltage is low level: be think and have button to press, and performs and answers or on-hook operation; Otherwise do not perform and answer or on-hook operation, continue to judge to receive next time second detects whether voltage is low level.
Please again consult Fig. 1, Fig. 2, Fig. 4, Fig. 6, to Fig. 8, the present embodiment sets forth the above-mentioned operation principle preventing earphone from inserting the device of misoperation respectively with four of earphone insertion sequence kinds of situations (can not insert situation completely with reference to the insertion completely of figure 1 and Fig. 2, Fig. 4, Fig. 6 three kinds).
Situation one, user start plugged earphone, and headset plug just inserts sub-fraction, can with reference to figure 2, and now Mike's pin M1 of earphone socket 100 contacts with the L pin of headset plug; Other three pin (GND1, R1, L1) of earphone socket 100 all do not contact with headset plug, all unsettled.
Now the first detection pin D0 of CPU400 detects high level.The L channel pin L1 of earphone socket 100 is unsettled, then the second detection pin D1 detects high level.
First of high level on the first detection pin D0 that first detecting unit 401 obtains detects voltage and is transferred to trigger element 403.Trigger element 403 judges that the first detection voltage is not as low level then triggers, no-output.Second detecting unit 402 does not receive trigger impulse, does not read the voltage on the second detection pin D1.Judging unit 404 does not receive the second detection voltage, can not judge, without operation.
Situation two, user continue plugged earphone, please refer to Fig. 4, and now Mike's pin M1 of earphone socket 100 contacts with L pin with the R pin of headset plug respectively with lower margin GND1; Other two pin (R1, L1) of earphone socket 100 all do not contact with headset plug, all unsettled.
Now, the first detection pin D0 of CPU400 detects low level.The L channel pin L1 of earphone socket 100 is unsettled, then the second detection pin D1 detects high level.
On the first detection pin D0 that first detecting unit 401 obtains, low level first detects voltage and is transferred to trigger element 403.Trigger element 403 judges that the first detection voltage is low level, triggers, and exports trigger impulse to the second detecting unit 402.After second detecting unit 402 receives trigger impulse, read the second detection voltage that second detects the high level on pin D1.Judging unit 404 judges that the second detection voltage is not low level (now as high level), thinks to press without button, does not perform and answers or on-hook operation, detects voltage resets second and waits for and judge the second next detection voltage.
Situation three, user continue plugged earphone, please refer to Fig. 6, now Mike's pin M1 of earphone socket 100, lower margin GND1 and R channel pin R1 respectively with the G pin of headset plug, R pin contacts with L pin; Only surplus L channel pin L1 does not contact headset plug, unsettled.
Now the first detection pin D0 of CPU400 detects low level.The L channel pin L1 of earphone socket 100 is unsettled, then the second detection pin D1 detects high level.
First detecting unit 401 reads low level first on the first detection pin D0 and detects voltage and be transferred to trigger element 403.Trigger element 403 judges that the first detection voltage is low level, triggers, and exports trigger impulse to the second detecting unit 402.After second detecting unit 402 receives trigger impulse, read the second detection voltage that second detects the high level on pin D1.Judging unit 404 judges that the second detection voltage is not low level (now as high level), thinks to press without button, does not perform and answers or on-hook operation, detects voltage resets second and waits for and judge the second next detection voltage.
Situation four user continues plugged earphone, until insert completely, and can with reference to figure 1.Now Mike's pin M1, the lower margin GND1 of earphone socket 100, L channel pin L1, R channel pin R1 contact with the M pin of headset plug, G pin, L pin, R pin respectively.
When fully inserted, the first detection pin D0 detects low level.Due to the resistance normally kilo-ohm rank of two bleeder circuits, and the equivalent resistance of the left ear L of earphone is generally 16 Europe or 32 Europe, therefore the second detection pin D1 detects low level.First detecting unit 401 reads low level first on the first detection pin D0 and detects voltage and be transferred to trigger element 403.Trigger element 403 judges that the first detection voltage is low level, triggers, and exports trigger impulse to the second detecting unit 402.After second detecting unit 402 receives trigger impulse, read low level second on the second detection pin D1 and detect voltage.Judging unit 404 judges that the second detection voltage is low level, thinks and has button to press, and performs and answers or on-hook operation.
Insert the device of misoperation based on the above-mentioned earphone that prevents, the present invention also provides a kind of method preventing earphone from inserting misoperation, as shown in Figure 9, described in prevent earphone from inserting misoperation method comprise:
When S100, earphone plugged earphone socket, the first bleeder circuit is to the first source voltage, and the second bleeder circuit is to second source voltage;
On Mike's pin of S200, CPU Test earphone socket first detects second on voltage and L channel pin and detects voltage, judge described first detect voltage, second detect voltage successively for low level time, perform and to answer or on-hook operates.
Wherein, described step S200 specifically comprises:
Step 201, the first detecting unit detect first on the first detection pin in real time and detect voltage and be transferred to trigger element;
Step 202, trigger element export trigger impulse to the second detecting unit when judging that the first detection voltage is low level.If the first detection voltage is not low level, do not send trigger impulse, whether the first detection voltage continuing to judge to receive next time is low level.
Step 203, the second detecting unit obtain the second detection voltage on the second detection pin when receiving trigger impulse, and are transferred to judging unit.
Step 204, judging unit judge that second detects whether voltage is low level: be, perform and answer or on-hook operation; Otherwise continue to judge to receive next time second detects whether voltage is low level.
The device preventing earphone from inserting misoperation provided by the invention is applicable to the mobile terminal of all use earphones.Detect voltage as further Rule of judgment by increasing by second on L channel pin, first judge first detect voltage be after low level, obtain the second detection voltage again and judge also low level time, perform and to answer or on-hook operates; Solve because earphone does not insert the error detection and misoperation brought completely, make mobile terminal perform correct response, improve earphone and insert the accuracy detected.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.

Claims (6)

1. prevent earphone from inserting a device for misoperation, comprise the earphone socket for plugged earphone, it is characterized in that, also comprise:
First bleeder circuit, for the first source voltage;
Second bleeder circuit, for second source voltage;
CPU, on Mike's pin of Test earphone socket first detects second on voltage and L channel pin detects voltage, judge described first detect voltage, second detect voltage successively for low level time, perform and to answer or on-hook operates;
The input of described first bleeder circuit connects the first power end, and Mike's pin of output frames connecting with headphone socket of the first bleeder circuit, the Mike of CPU detect first of pin and CPU and detect pin; The input of described second bleeder circuit connects second source end, the L channel pin of the output frames connecting with headphone socket of the second bleeder circuit, the L channel of CPU detect pin and second detect pin; The R channel pin of described earphone socket connects the R channel detection pin of CPU, the lower margin of the grounding leg frames connecting with headphone socket of CPU and ground.
2. the device preventing earphone from inserting misoperation according to claim 1, it is characterized in that, described CPU comprises:
First detecting unit, detects first in real time and detects the first detection voltage on pin and be transferred to trigger element;
Trigger element, exports trigger impulse to the second detecting unit when judging that the first detection voltage is low level;
Second detecting unit, obtains second on the second detection pin and detects voltage, and be transferred to judging unit when receiving trigger impulse;
Judging unit, judge second detect voltage whether be low level: be think and have button to press, perform answer or on-hook operation; Otherwise inoperation.
3. the device preventing earphone from inserting misoperation according to claim 1, it is characterized in that, the resistance level of described first bleeder circuit, the second bleeder circuit is a kilo-ohm rank.
4. prevent earphone from inserting a method for misoperation, it is characterized in that, comprising:
When A, earphone plugged earphone socket, the first bleeder circuit is to the first source voltage, and the second bleeder circuit is to second source voltage;
On Mike's pin of B, CPU Test earphone socket first detects second on voltage and L channel pin and detects voltage, judge described first detect voltage, second detect voltage successively for low level time, perform and to answer or on-hook operates.
5. the method preventing earphone from inserting misoperation according to claim 3, it is characterized in that, described step B specifically comprises:
B1, the first detecting unit detect first on the first detection pin in real time and detect voltage and be transferred to trigger element;
B2, trigger element export trigger impulse to the second detecting unit when judging that the first detection voltage is low level;
B3, the second detecting unit obtain the second detection voltage on the second detection pin when receiving trigger impulse, and are transferred to judging unit;
B4, judging unit judge that second detects whether voltage is low level: be, perform and answer or on-hook operation; Otherwise continue to judge to receive next time second detects whether voltage is low level.
6. the method preventing earphone from inserting misoperation according to claim 3, it is characterized in that, described step B2 also comprises: if trigger element judges that first detects voltage not as low level, then do not send trigger impulse; Continue to judge to receive next time first detects whether voltage is low level.
CN201510923427.3A 2015-12-14 2015-12-14 A kind of device and method preventing earphone insertion maloperation Active CN105430549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510923427.3A CN105430549B (en) 2015-12-14 2015-12-14 A kind of device and method preventing earphone insertion maloperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510923427.3A CN105430549B (en) 2015-12-14 2015-12-14 A kind of device and method preventing earphone insertion maloperation

Publications (2)

Publication Number Publication Date
CN105430549A true CN105430549A (en) 2016-03-23
CN105430549B CN105430549B (en) 2019-06-04

Family

ID=55508430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510923427.3A Active CN105430549B (en) 2015-12-14 2015-12-14 A kind of device and method preventing earphone insertion maloperation

Country Status (1)

Country Link
CN (1) CN105430549B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209543A (en) * 2019-05-28 2019-09-06 维沃移动通信有限公司 A kind of detection method and terminal of earphone socket

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002209005A (en) * 2001-01-10 2002-07-26 Casio Comput Co Ltd Earphone microphone detector and earphone microphone detection method
CN102480563A (en) * 2010-11-30 2012-05-30 比亚迪股份有限公司 Control method and device in process of inserting earphone into earphone socket
CN103067601A (en) * 2013-01-15 2013-04-24 Tcl通讯(宁波)有限公司 Mobile terminal and detecting method of earphone inserting state thereof
US20130142350A1 (en) * 2011-12-06 2013-06-06 Christian Larsen Multi-standard headset support with integrated ground switching
CN104093114A (en) * 2014-07-22 2014-10-08 Tcl通讯(宁波)有限公司 Detection device, system and method for headset buttons

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002209005A (en) * 2001-01-10 2002-07-26 Casio Comput Co Ltd Earphone microphone detector and earphone microphone detection method
CN102480563A (en) * 2010-11-30 2012-05-30 比亚迪股份有限公司 Control method and device in process of inserting earphone into earphone socket
US20130142350A1 (en) * 2011-12-06 2013-06-06 Christian Larsen Multi-standard headset support with integrated ground switching
CN103067601A (en) * 2013-01-15 2013-04-24 Tcl通讯(宁波)有限公司 Mobile terminal and detecting method of earphone inserting state thereof
CN104093114A (en) * 2014-07-22 2014-10-08 Tcl通讯(宁波)有限公司 Detection device, system and method for headset buttons

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209543A (en) * 2019-05-28 2019-09-06 维沃移动通信有限公司 A kind of detection method and terminal of earphone socket

Also Published As

Publication number Publication date
CN105430549B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN203466944U (en) Self configuration device
US8798285B2 (en) Electronic device and method thereof for identifying electronic accessory
CN201509235U (en) Headphone detection circuit of mobile terminal and mobile terminal thereof
CN102769810B (en) A kind of mobile terminal preventing call misoperation
CN101431708A (en) Terminal and method for recognizing headphone type
WO2019206317A1 (en) Charging device, usb cable and charging system
CN101841753A (en) Drive-by-wire earphone for portable electronic equipment and method for realizing drive-by-wire
CN101022278B (en) Terminal equipment, connector, charger and charging method
CN102480563B (en) Control method and device in process of inserting earphone into earphone socket
CN104093114B (en) A kind of detection means of earphone keystroke, detecting system and detection method
US11316308B2 (en) Adapter, multi-device detection system and detection method thereof
CN110891225B (en) Audio signal processing method, device, equipment and storage medium
CN203933930U (en) Earphone interface circuit and portable electron device
CN101938546A (en) Earphone microphone detection method based on mobile phone and mobile phone
CN201075704Y (en) Detection circuit of electrical equipment and mobile phone having the circuit
CN204697248U (en) A kind of mobile terminal device and earphone base thereof
CN104735591A (en) Audio interface adaptation circuit and electronic device
CN101945172A (en) Mobile phone-based earphone recognition calling method and mobile phone
CN209963815U (en) Charging adapter
CN105430549A (en) Device and method for preventing insertion wrong operation of earphone
CN107706977B (en) Charging current detection method and charging device
CN103904488A (en) Headphone socket
US11496847B1 (en) State detection device for use in an audio interface
CN105979423B (en) Mute circuit and method of microphone on earphone
CN108879804A (en) A kind of earphone automatic charge device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230620

Address after: 718, Building A, Huafeng Internet Creative Park, No. 107 Gonghe Industrial Road, Gongle Community, Xixiang Street, Bao'an District, Shenzhen, Guangdong Province, 518000

Patentee after: Shenzhen Huashengjie Technology Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.