CN101778319B - Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection - Google Patents
Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection Download PDFInfo
- Publication number
- CN101778319B CN101778319B CN200910188779.3A CN200910188779A CN101778319B CN 101778319 B CN101778319 B CN 101778319B CN 200910188779 A CN200910188779 A CN 200910188779A CN 101778319 B CN101778319 B CN 101778319B
- Authority
- CN
- China
- Prior art keywords
- earphone
- earphone socket
- keystroke
- headset plug
- channel end
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention is applicable to field of mobile terminals, and provides a method, a system and a mobile terminal for preventing the misjudgment of the earphone keystroke detection. In the invention, the mobile terminal can judge the operation on earphone keystrokes only when the mobile terminal confirms that the terminal of an earphone plug is completely inserted in an earphone receptacle and the voice frequency channel end of the earphone receptacle is grounded, thereby avoiding the phenomenon that the control operation corresponding to the keystroke is performed by mistake due to the wrongly-detected operation on the earphone keystroke by the mobile terminal while the earphone keystroke is not operated in fact, and further facilitating the operation of users.
Description
Technical field
The invention belongs to field of mobile terminals, relate in particular to a kind of method, system and mobile terminal that prevents earphone keystroke detection erroneous judgement.
Background technology
Earphone is as the important accessory of mobile terminal, be widely used in the middle of daily life, earphone can be divided into two kinds of syllogic and four-part forms according to plug, four-part form earphone can support to send words function, Fig. 1 shows the structure of existing headset plug and earphone socket, headset plug comprises most advanced and sophisticated 1, in first, encircle 2, in second, encircle 3 and end 4, and earphone socket comprises L channel end 10, R channel end 20, voice-grade channel end 30 and ground end 40, wherein, when headset plug is inserted into after earphone socket completely, most advanced and sophisticated 1 connects L channel end 10, in first, encircle 2 and connect R channel end 20, in second, encircle 3 and connect voice-grade channel end 30 and end 4 earth terminals 40.
When earphone keystroke is operated, voice-grade channel end 30 is by button ground connection, and mobile terminal judges that by the level detecting on voice-grade channel end 30 which button is operated, thereby carries out the control operation that this button is corresponding.But, in the process of headset plug plugged earphone socket and headset plug not completely during plugged earphone socket, all may occur headset plug second in encircle 3 ground end 40 and the voice-grade channel ends 30 that simultaneously connect earphone socket, voice-grade channel end 30 ground connection like this, mobile terminal flase drop measures earphone keystroke and is operated, thereby carry out the control operation that this button is corresponding by mistake, make troubles to user's use.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of and prevents that earphone keystroke from detecting the method for erroneous judgement, is intended to solve existing mobile terminal and exists flase drop to measure earphone keystroke to be operated, thereby carry out the problem of the control operation that this button is corresponding by mistake.
The embodiment of the present invention is achieved in that a kind of method that prevents earphone keystroke detection erroneous judgement, and described method comprises the steps:
Confirm the complete plugged earphone socket of end of headset plug;
Confirm the voice-grade channel end ground connection of described earphone socket;
Judge that earphone keystroke is operated;
According to the level of the voice-grade channel end of described earphone socket, determine described operated earphone keystroke, and carry out the control operation that described earphone keystroke is corresponding;
The step order of the voice-grade channel end ground connection of the complete plugged earphone socket of end of described confirmation headset plug and the described earphone socket of confirmation can be exchanged.
Another object of the embodiment of the present invention is to provide a kind of and prevents that earphone keystroke from detecting the system of erroneous judgement, and described system comprises:
Insert state detection unit, for detection of the complete plugged earphone socket of end of confirming headset plug, generate and insert state confirmation signal;
Voice-grade channel end ground connection detecting unit, for detection of the voice-grade channel end ground connection of confirming earphone socket, generates voice-grade channel end ground connection confirmation signal;
Judging unit, for according to described insertion state confirmation signal and voice-grade channel end ground connection confirmation signal, judges that earphone keystroke is operated; And
Performance element, for according to the level of the voice-grade channel end of described earphone socket, determines described operated earphone keystroke, carries out the control operation that described earphone keystroke is corresponding.
Another object of the embodiment of the present invention is to provide a kind of mobile terminal, and described mobile terminal comprises that the above-mentioned earphone keystroke that prevents detects the system of erroneous judgement.
In embodiments of the present invention, mobile terminal is only when confirming the complete plugged earphone socket of end of headset plug and confirming the voice-grade channel end ground connection of earphone socket, just can judge that earphone keystroke is operated, avoided earphone keystroke reality not operated, and mobile terminal flase drop measures that earphone keystroke is operated and the phenomenon of carrying out the control operation that this button is corresponding occurs by mistake, bring a lot of facilities to user's use.
Accompanying drawing explanation
Fig. 1 is the structure chart of existing headset plug and earphone socket;
Fig. 2 is that the earphone keystroke that prevents that the embodiment of the present invention provides detects the flow chart of the method for erroneous judgement;
Fig. 3 is that the earphone keystroke that prevents that the embodiment of the present invention provides detects the structure chart of the system of erroneous judgement.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The earphone keystroke that prevents that Fig. 2 shows the embodiment of the present invention to be provided detects the method for erroneous judgement, for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
Described method comprises the steps:
In step S1, confirm the complete plugged earphone socket of end of headset plug;
This step specifically comprises:
Judge whether the L channel end of earphone socket connects the tip of headset plug, if so, confirm the complete plugged earphone socket of end of headset plug.
Wherein, whether the tip whether the L channel end that judges earphone socket connects headset plug can there is low level by the L channel end that judges earphone socket, if low level appears in the L channel end of earphone socket, judge the tip of the L channel termination headset plug of earphone socket.
In step S2, confirm the voice-grade channel end ground connection of earphone socket;
In step S3, judge that earphone keystroke is operated;
In step S4, according to the level of the voice-grade channel end of earphone socket, determine operated earphone keystroke, carry out control operation corresponding to earphone keystroke.
Wherein, the order of step S1 and step S2 can be exchanged.
Said method also comprises the steps:
Confirm the incomplete plugged earphone socket of end of headset plug, and confirm the voice-grade channel end ground connection of earphone socket, judge that earphone keystroke is not operated, not executive control operation.
The earphone keystroke that prevents that Fig. 3 shows the embodiment of the present invention to be provided detects the structure of the system of erroneous judgement, for convenience of explanation, only shows the part relevant to the embodiment of the present invention.
The system that prevents earphone keystroke detection erroneous judgement comprises insertion state detection unit 100, voice-grade channel end ground connection detecting unit 200, judging unit 300 and performance element 400.
Insert state detection unit 100 for detection of the complete plugged earphone socket of end of confirming headset plug, generate and insert state confirmation signal;
As one embodiment of the invention, insert state detection unit 100 and comprise L channel end detection module 101.
L channel end detection module 101 detects the tip of the L channel termination headset plug of earphone socket for basis, confirm the complete plugged earphone socket of end of headset plug.
Voice-grade channel end ground connection detecting unit 200, for detection of the voice-grade channel end ground connection of confirming earphone socket, generates voice-grade channel end ground connection confirmation signal;
Judging unit 300, for according to inserting state confirmation signal and voice-grade channel end ground connection confirmation signal, judges that earphone keystroke is operated;
The embodiment of the present invention also provides a kind of mobile terminal, comprises that the above-mentioned earphone keystroke that prevents detects the system of erroneous judgement.
One of ordinary skill in the art will appreciate that: the step or the part steps that realize said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in computer read/write memory medium, this program is when carrying out, execution comprises the step of said method embodiment, and aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
In embodiments of the present invention, mobile terminal is only when confirming the complete plugged earphone socket of end of headset plug and confirming the voice-grade channel end ground connection of earphone socket, just can judge that earphone keystroke is operated, avoided earphone keystroke reality not operated, and mobile terminal flase drop measures that earphone keystroke is operated and the phenomenon of carrying out the control operation that this button is corresponding occurs by mistake, bring a lot of facilities to user's use.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.
Claims (7)
1. prevent that earphone keystroke from detecting a method for erroneous judgement, it is characterized in that, described method comprises the steps:
Confirm the complete plugged earphone socket of end of headset plug;
Confirm the voice-grade channel end ground connection of described earphone socket;
Judge that earphone keystroke is operated;
According to the level of the voice-grade channel end of described earphone socket, determine described operated earphone keystroke, and carry out the control operation that described earphone keystroke is corresponding;
The step order of the voice-grade channel end ground connection of the complete plugged earphone socket of end of described confirmation headset plug and the described earphone socket of confirmation can be exchanged.
2. the method for claim 1, is characterized in that, the step of the complete plugged earphone socket of end of described confirmation headset plug specifically comprises:
Judge whether the L channel end of described earphone socket connects the tip of described headset plug, if so, confirm the complete plugged earphone socket of end of headset plug.
3. method as claimed in claim 2, is characterized in that, describedly judges whether the L channel end of earphone socket connects the tip of described headset plug, if so, confirms that the step of the complete plugged earphone socket of end of headset plug specifically comprises:
Whether the L channel end that judges earphone socket there is low level, if so, confirms the complete plugged earphone socket of end of headset plug.
4. the method for claim 1, is characterized in that, described method also comprises the steps:
Confirm the incomplete plugged earphone socket of end of headset plug, and confirm the voice-grade channel end ground connection of described earphone socket, judge that described earphone keystroke is not operated, not executive control operation.
5. prevent that earphone keystroke from detecting a system for erroneous judgement, it is characterized in that, described system comprises:
Insert state detection unit, for detection of the complete plugged earphone socket of end of confirming headset plug, generate and insert state confirmation signal;
Voice-grade channel end ground connection detecting unit, for detection of the voice-grade channel end ground connection of confirming earphone socket, generates voice-grade channel end ground connection confirmation signal;
Judging unit, for according to described insertion state confirmation signal and voice-grade channel end ground connection confirmation signal, judges that earphone keystroke is operated; And
Performance element, for according to the level of the voice-grade channel end of described earphone socket, determines described operated earphone keystroke, carries out the control operation that described earphone keystroke is corresponding.
6. system as claimed in claim 5, is characterized in that, described insertion state detection unit comprises:
L channel end detection module, for according to the tip that headset plug described in the L channel termination of described earphone socket detected, confirms the complete plugged earphone socket of end of headset plug.
7. a mobile terminal, is characterized in that, described mobile terminal comprises that the earphone keystroke that prevents as described in claim 5-6 any one detects the system of erroneous judgement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910188779.3A CN101778319B (en) | 2009-12-11 | 2009-12-11 | Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910188779.3A CN101778319B (en) | 2009-12-11 | 2009-12-11 | Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101778319A CN101778319A (en) | 2010-07-14 |
CN101778319B true CN101778319B (en) | 2014-05-07 |
Family
ID=42514609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910188779.3A Active CN101778319B (en) | 2009-12-11 | 2009-12-11 | Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101778319B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148897B (en) * | 2010-12-09 | 2015-06-24 | 中兴通讯股份有限公司 | Earphone detection method and multi-mode terminal |
KR101267047B1 (en) * | 2012-03-30 | 2013-05-24 | 삼성전자주식회사 | Apparatus and method for detecting earphone |
KR101946486B1 (en) * | 2012-08-23 | 2019-04-26 | 삼성전자 주식회사 | Ear-phone Operation System and Ear-phone Operating Method, and Portable Device supporting the same |
CN105792069B (en) * | 2014-12-26 | 2019-04-16 | 联芯科技有限公司 | A kind of earphone base interface circuit |
CN106027783A (en) * | 2016-05-20 | 2016-10-12 | 深圳市金立通信设备有限公司 | Earphone key operation control method and terminal |
CN107911774A (en) * | 2017-11-15 | 2018-04-13 | 宁波麦博韦尔移动电话有限公司 | A kind of detection method of earphone call |
CN107995372B (en) * | 2017-12-25 | 2020-04-07 | 维沃移动通信有限公司 | False touch grounding identification processing method and circuit and mobile terminal |
CN109831714B (en) * | 2019-01-16 | 2020-08-25 | Oppo广东移动通信有限公司 | Method and device for identifying earphone keys and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1867133A (en) * | 2006-03-08 | 2006-11-22 | 华为技术有限公司 | Method for preventing mobile terminal earphone keystroke mis-operation and mobile terminal |
CN101308187A (en) * | 2008-06-27 | 2008-11-19 | 深圳华为通信技术有限公司 | Method and terminal for detecting earphones plug inserting to position |
-
2009
- 2009-12-11 CN CN200910188779.3A patent/CN101778319B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1867133A (en) * | 2006-03-08 | 2006-11-22 | 华为技术有限公司 | Method for preventing mobile terminal earphone keystroke mis-operation and mobile terminal |
CN101308187A (en) * | 2008-06-27 | 2008-11-19 | 深圳华为通信技术有限公司 | Method and terminal for detecting earphones plug inserting to position |
Also Published As
Publication number | Publication date |
---|---|
CN101778319A (en) | 2010-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101778319B (en) | Method, system and mobile terminal for preventing misjudgment of earphone keystroke detection | |
CN102404666B (en) | Audio connector detection device and method | |
CN103581787B (en) | The method of self-configuration device and operation electronic equipment | |
US7415563B1 (en) | Method and system for allowing a media player to determine if it supports the capabilities of an accessory | |
US7529870B1 (en) | Communication between an accessory and a media player with multiple lingoes | |
CN100578482C (en) | USB equipment detection circuit | |
US20090204244A1 (en) | Communication between an accessory and a media player with multiple protocol versions | |
CN103686534A (en) | Method and apparatus for detecting insertion of external audio outputting device in electronic device | |
US20100115147A1 (en) | Apparatus and method for controlling usb switching circuit in portable terminal | |
CN101398459A (en) | Method and device for identifying charger type | |
US20100312932A1 (en) | Media player communication with an accessory using a display remote lingo | |
CN101421742B (en) | Mobile radio terminal having a multiple form factor memory card reader | |
CN103905955A (en) | Method and apparatus for detecting insertion of earphones, and interface circuit | |
CN102682830B (en) | Mobile terminal and write-protection method for memory card in mobile terminal | |
CN102341971A (en) | Systems and methods for providing protection circuitry to selectively handle multiple cable-types through the same port | |
CN104602154A (en) | Full impedance headset output method, device and terminal | |
CN108738000A (en) | Based on Android(Android)The bluetooth adaptation method and terminal device of system | |
WO2016184049A1 (en) | Method and device for detecting network port insertion, terminal and storage medium | |
JP2007213557A5 (en) | ||
CN102710816A (en) | Mobile terminal, memory cassette and write protection method for memory card in mobile terminal | |
CN103095913B (en) | Dialing method and electronic device | |
CN102404679B (en) | Headset detection circuit and electronic equipment | |
CN101753719B (en) | Method, system and mobile terminal for realizing hand-free call of mobile terminal headset | |
CN103874006A (en) | Fault detection method and electronic device | |
CN203084823U (en) | Card reader capable of automatically identifying polarity of mobile 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190517 Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703 Patentee after: Shenzhen acoustic Cmi Holdings Ltd Address before: 518057 High-tech Industrial Park, Nanshan District, Shenzhen City, Guangdong Province, No. 2 Cool Information Port, Mengxi Road (Building 1) Patentee before: Yulong Computer and Communication Sci. & Tech. (Shenzhen) Co., Ltd. |