CN105828229B - A kind of earphone, terminal and earphone detecting method - Google Patents
A kind of earphone, terminal and earphone detecting method Download PDFInfo
- Publication number
- CN105828229B CN105828229B CN201510548936.2A CN201510548936A CN105828229B CN 105828229 B CN105828229 B CN 105828229B CN 201510548936 A CN201510548936 A CN 201510548936A CN 105828229 B CN105828229 B CN 105828229B
- Authority
- CN
- China
- Prior art keywords
- earphone
- terminal
- notification signal
- port
- headset
- 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
Landscapes
- Headphones And Earphones (AREA)
Abstract
The present invention provides a kind of earphone, terminal and earphone detecting method.Earphone includes: headset plug;Communication chip, the terminal for accessing to the headset plug send notification signal, make the terminal according to the notification signal, the voice frequency link of the terminal is switched to headset link;The supply port and communication port for being arranged on the headset plug and connecting with the communication chip, the communication port are located at the terminal region of the headset plug;Wherein, the terminal is communication chip power supply by the supply port, and receives the notification signal that the communication chip is sent by the communication port.The solution of the present invention can make earphone that can quickly export sound after being inserted into terminal, and not generate current noise during insertion.
Description
Technical field
The present invention relates to audio area, especially a kind of earphone, terminal and earphone detecting method.
Background technique
With the improvement of living standards, user listens to audio file using electronic product, also start to pursue comfort.
In the prior art, terminal determines whether that earphone is inserted by detection monolithic.When headset plug touches ear
When detection elastic slice in machine transplanting of rice seat, detection elastic slice will generate interrupt signal, and terminal cuts voice frequency link according to the interrupt signal
Headset link is shifted to, earphone is made to export sound.In traditional earphone socket, it is close that detection elastic slice is generally located on earphone socket
The side of opening.In half before headset plug is just inserted into, headset link is just had been switched on, and cause allows users to hear friction institute
The current sound of generation.
There are two ways to solving at present, one is the bosoms that will test elastic slice earphone socket is arranged in, when earphone is inserted
After head is fully inserted into, earphone access can be just opened, but this method is easy to happen earphone poor contact, the sound of earphone is caused to export
It is unstable;It is another then headset plug contact detection elastic slice after, first delay a period of time, be then turned on earphone access later, though
Right this method does not need the position of change detection monolithic, if but user's quick insertion earphone, earphone can not be at once defeated
Sound out.
For this purpose, currently needing a kind of to overcome disadvantages mentioned above technical solution.
Summary of the invention
The object of the present invention is to provide one kind can make earphone that can quickly export sound after being inserted into terminal, and is being inserted into
The technical solution of current noise is not generated in the process.
In order to realize the above technical effect, the embodiment of the present invention provides a kind of earphone, comprising:
Headset plug;
Communication chip, the terminal for accessing to the headset plug send notification signal, make the terminal according to
The voice frequency link of the terminal is switched to headset link by notification signal;
The supply port and communication port for being arranged on the headset plug and being connect with the communication chip, it is described logical
Letter port is located at the terminal region of the headset plug;
Wherein, the terminal can the excessively described supply port be communication chip power supply, and connect by the communication port
Receive the notification signal that the communication chip is sent.
In addition, another aspect of the present invention also provides a kind of terminal, comprising:
Power supply module, the communication chip for the earphone to accessed terminal are powered;The supply port of the communication chip
It is arranged on the headset plug of the earphone;
Receiving module, for receiving a notification signal;The notification signal is the communication chip by being arranged described
Transmitted by communication port on headset plug, the communication port is located at the terminal region of the headset plug;
Switching module, for according to the notification signal, voice frequency link to be switched to headset link.
In addition, another aspect of the present invention also provides a kind of earphone detecting method, comprising:
Communication chip power supply to the earphone of accessed terminal, the supply port of the communication chip are arranged in the earphone
Headset plug on;
Receive a notification signal;The notification signal is that the communication chip is logical on the headset plug by being arranged in
Believe that the communication port is located at the terminal region of the headset plug transmitted by port;
According to the notification signal, voice frequency link is switched to headset link.
The advantageous effects of the above technical solutions of the present invention are as follows:
The solution of the present invention can make earphone by communication chip, open headset link with active mode notice terminal.Cause
Even user's quick insertion earphone, earphone can also export rapidly sound for this.Further, since communication port setting is inserted in earphone
Near the end of head, therefore only when headset plug is almost fully inserted into terminal, communication chip can just send to terminal and notify
Signal makes terminal open headset link, so as to avoid the current noise generated in insertion process.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of earphone of the invention;
Fig. 2 and Fig. 3 is respectively the structural schematic diagram that earphone of the invention is directed to different implementations;
Fig. 4 is the step schematic diagram of earphone detecting method of the invention;
Fig. 5 is the flow diagram of earphone detecting method of the invention in practical applications;
Fig. 6 is the structural schematic diagram of terminal of the invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool
Body embodiment is described in detail.
In view of the prior art, noise is not generated when the present invention is capable of providing a kind of insertion, and being capable of quick output sound
The earphone of sound, as shown in Figure 1, earphone of the invention includes:
Headset plug 1 and communication chip 2;
The terminal transmission notification signal that communication chip 2 is used to access to headset plug 1, makes the terminal according to notification signal,
The voice frequency link of the terminal is switched into headset link;
Wherein, the supply port 11 and communication port 12 connecting with communication chip 2, communication ends are provided on headset plug 1
Positioned at the terminal region of headset plug 1, (terminal region is headset plug during access terminal to mouth 12, is finally entered
Region);The terminal that headset plug 1 accesses is the power supply of communication chip 2 according to above-mentioned supply port 11, and is connect by communication port 12
Receive notification signal transmitted by communication chip 2.
The earphone of the present embodiment opens headset link by communication chip, with active mode notice terminal.So even being
User's quick insertion earphone, earphone can also export rapidly sound.Further, since the end of headset plug is arranged in communication port
Near, therefore only when headset plug is almost fully inserted into terminal, communication chip just can send notification signal to terminal, make end
Headset link is opened at end, so as to avoid the current noise generated in insertion process.
Below with reference to several implementations, describe in detail to supply port and communication port.
Implementation one
Assuming that this implementation is first is that the traditional earphone with Mike's function.As shown in Fig. 2, the headset plug of the earphone
4 port organizations that market is standardized, i.e., the end from the top of headset plug to headset plug be successively L channel port L,
Right channel port R, Mike port MIC and grounding ports G.In order to adapt to the standard of current headset plug, existing 4 should be selected
A port is multiplexed supply port and communication port.By above it is recognised that the communication ends of communication chip 2 should be leaned on as far as possible
The end of nearly headset plug, but the end of headset plug is ground terminal G, and ground terminal G needs to keep low potential, can not receive electric current
And send signal.Therefore, for this situation, Mike port MIC multiplexed communications port is allowed communication chip 2 can by the present invention
Notification signal is sent to terminal by the port MIC.And supply port then can be with L channel port L, right channel port R and wheat
Any one multiplexing in gram port MIC.
By foregoing description it is recognised that this implementation one is compared to traditional headset plug with Mike's function,
Although having had more feeder ear and communication ends, feeder ear and communication ends have been multiplexed existing port, with will not change 4 ports
Normal structure, therefore there is very high applicability and practical value.
Implementation two
Assuming that this implementation is second is that traditional earphone without Mike's function.As shown in figure 3, the earphone of the earphone is inserted
Head is 3 port organizations that market is standardized, i.e. the end from the top of headset plug to headset plug is successively L channel port
L, right channel port R and grounding ports G.By above it is recognised that since grounding ports G cannot function as supply port and lead to
Believe port, therefore the communication port of communication chip is multiplexed by this implementation two together with the R of right channel port, and feeder ear then may be used
To be multiplexed with any one in L channel end L, right channel end R.
As implementation, the headset plug structure traditional without change of this implementation two.
Certainly, in order to guarantee that terminal has certain identity to notification signal, the present invention can be believed using continuous pulse
Number be used as notification signal.Once being sent out when then can directly confirm earphone insertion after terminal receives the pulse signal of correct timing
It send.
In addition, the present invention, which also can use the terminal signaling in existing terminal as communication chip, sends notification signal
Trigger condition.It after headset plug access terminal, is in contact, is detected on elastic slice with the detection elastic slice of terminal earphone socket
Break signal reaches communication chip by the communication port on headset plug, and communication chip regenerates notification signal, opens terminal
Headset link.It is inevitable to successfully pass communication port after communication chip is successfully received interrupt signal by communication port
Notification signal is sent to terminal.
It is earphone provided by the present invention above, corresponding terminal side, the present invention also provides one kind can be applicable in this
The detection method of earphone, as shown in Figure 4, comprising:
Step 41, it powers to the communication chip of the earphone of accessed terminal;
Wherein, the supply port of communication chip is arranged on the headset plug of earphone;I.e. after headset plug access terminal,
Communication chip starts to start.
Step 42, a notification signal is received;The notification signal is above-mentioned communication chip by being arranged on headset plug
Transmitted by communication port, wherein communication port is located at the terminal region of headset plug;
Since communication port has been arranged near the end of headset plug, only it is almost completely inserted into headset plug
When to terminal, can just export sound, thus eliminate in insertion process because electric current it is unstable caused by noise.
Step 43, according to above-mentioned notification signal, voice frequency link is switched to headset link.
Since method of the invention is to open headset link by earphone come proactive notification terminal, so even being that user is quick
It is inserted into earphone, earphone can also be allowed to export sound at once.
Certainly, when executing above-mentioned steps 43, need terminal that can identify that notification signal is sent by earphone.Therefore, originally
Inventive embodiments can set continuous pulse signal for the notification signal that earphone is sent in advance.Terminal receive it is a certain
After notification signal, needs to compare the notification signal with the continuous pulse signal set in advance, judge the notice
Whether signal is from earphone of the invention;
If notification signal is the continuous pulse signal set in advance, earphone accessed terminal can determine, at this time
Voice frequency link is directly switched to headset link.
If notification signal is not the continuous pulse signal set in advance, the notification signal can not be affirmed just completely
It is not transmitted by the earphone of other nonrecognition, therefore need to also be such according to existing earphone detecting method, by terminal according to inspection
The interrupt signal for surveying elastic slice triggering, to have detected whether earphone access, and when having detected earphone access, voice frequency link is cut
It is changed to headset link.Certainly, in this during, a period of time that should be delayed is then turned on headset link, exports and be inserted into avoid earphone
Generated current noise in the process.
It describes in detail below with reference to practical application to method of the invention.
As shown in figure 5, terminal passes through the supply port on headset plug after the earphone socket of headset plug insertion terminal
It powers for the communication chip of earphone.
In above-mentioned insertion process, the detection elastic slice of terminal earphone socket generates interrupt signal after contacting with headset plug,
The interrupt signal is sent to communication chip from the communication ends of headset plug.
Communication chip sends notification signal to terminal after receiving terminal signaling, through the communication port of headset plug.
In this practical application, illustratively using 5 continuous pulse signals as notification signal, when terminal is properly received
To after this 5 times continuous pulse signals, voice frequency link is switched into headset link, so that earphone be made to export sound.
If terminal is not properly received 5 continuous pulse signals, executes and normally identify that earphone connects in the prior art
The method entered is delayed 1-2 seconds that is, after triggering interrupt signal, then actively to earphone access has been detected whether, if having detected ear
After machine access, voice frequency link is switched to headset link.
It needs exist for being described, the present invention does not carry out the earphone socket in terminal any improvement, therefore
Even for the earphone that cannot send notification signal, the embodiment of the present invention also can detect earphone by existing method
Insertion.
In conclusion earphone detecting method of the invention establishes the communication mechanism between earphone and terminal, i.e. earphone exists
When being almost completely inserted into terminal, just meeting proactive notification terminal opens headset link, exports current noise so as to avoid earphone,
Terminal can be improved again to the detection speed of earphone.
In addition, the present invention also provides a kind of terminals, as shown in Figure 6, comprising:
Power supply module 61, the communication chip for the earphone to accessed terminal are powered;The supply port of the communication chip
It is arranged on the headset plug of earphone;
Receiving module 62, for receiving a notification signal;The notification signal is communication chip by being arranged in headset plug
On communication port transmitted by, which is located at the terminal region of headset plug;
Switching module 63, for according to above-mentioned notification signal, voice frequency link to be switched to headset link.
Terminal of the invention can quickly open earphone chain after receiving the notification signal from earphone active transmission
Road, to allow earphone that can export sound at once.
Wherein, above-mentioned switching module specifically includes:
Judging submodule, for comparing notification signal and a preset continuous pulse signal, judgement is put up a notice
Whether signal is correct;
If voice frequency link is switched to headset link correct for notification signal by the first switching submodule;
If second switching submodule has detected whether earphone access terminal, and detecting incorrect for notification signal
To when earphone access, voice frequency link is switched to headset link.
Wherein, terminal of the invention further include:
Sending module, for sending an interrupt signal to earphone, enabling earphone before receiving module receives notification signal
It is enough that notification signal is generated according to interrupt signal.
It should be noted that terminal of the invention is the equipment using above-mentioned earphone detecting method, the institute of the detection method
There is embodiment to be suitable for the invention terminal, and can reach the same or similar beneficial effect.
In addition, module can use software realization, in the embodiment of the present invention to be executed by various types of processors.It lifts
For example, the executable code module of a mark may include the one or more physics or logical block of computer instruction.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (7)
1. a kind of earphone, including headset plug, which is characterized in that the earphone further include:
Communication chip, the terminal for accessing to the headset plug send notification signal, make the terminal according to the notice
The voice frequency link of the terminal is switched to headset link by signal;
The supply port and communication port for being arranged on the headset plug and being connect with the communication chip, the communication ends
Mouth is located at the terminal region of the headset plug;
Wherein, the terminal is communication chip power supply by the supply port, and receives institute by the communication port
State the notification signal of communication chip transmission;
The communication chip is also used to receive the interrupt signal of the terminal by the communication port, and is receiving in described
After break signal, the notification signal is sent to the terminal by the communication port.
2. earphone according to claim 1, which is characterized in that
The headset plug further includes the port MIC, L channel port, right channel port and ground wire port, and the port MIC is multiple
With for the communication port;Or
The headset plug further includes L channel port, right channel port and ground wire port, and the right channel multiplexed port is
The communication port.
3. a kind of terminal characterized by comprising
Power supply module, the communication chip for the earphone to accessed terminal are powered;The supply port of the communication chip is arranged
On the headset plug of the earphone;
Receiving module, for receiving a notification signal;The notification signal is the communication chip by being arranged in the earphone
Transmitted by communication port on plug, the communication port is located at the terminal region of the headset plug;
Switching module, for according to the notification signal, voice frequency link to be switched to headset link;
Sending module, for sending an interrupt signal to the earphone, making before the receiving module receives the notification signal
It obtains the earphone and the notification signal is generated according to the interrupt signal.
4. terminal according to claim 3, which is characterized in that
The switching module includes:
Judging submodule is judged described for comparing the notification signal and a preset continuous pulse signal
Whether notification signal is correct;
Voice frequency link is switched to headset link if correct for the notification signal by the first switching submodule;
Second switching submodule has detected whether that earphone accesses the terminal if incorrect for the notification signal, and
When detecting earphone access, voice frequency link is switched to headset link.
5. a kind of earphone detecting method characterized by comprising
The ear of the earphone is arranged in communication chip power supply to the earphone of accessed terminal, the supply port of the communication chip
On machine transplanting of rice head;
Receive a notification signal;The notification signal is that the communication chip passes through the communication ends being arranged on the headset plug
Transmitted by mouthful, the communication port is located at the terminal region of the headset plug;
According to the notification signal, voice frequency link is switched to headset link;
Further include:
Before receiving the notification signal, an interrupt signal is sent to the earphone, so that the earphone is believed according to the interruption
Number generate the notification signal.
6. earphone detecting method according to claim 5, which is characterized in that further include:
According to the notification signal, voice frequency link is switched to headset link, comprising:
The notification signal and a preset continuous pulse signal are compared, judge the notification signal whether just
Really;
If the notification signal is correct, voice frequency link is switched to headset link;
If the notification signal is incorrect, detect whether that earphone accesses the terminal, and detecting the earphone access
When, voice frequency link is switched to headset link.
7. earphone detecting method according to claim 6, which is characterized in that
If the notification signal is incorrect, detect whether that earphone accesses the terminal, comprising:
If the notification signal is incorrect, start timing, and after timing is more than a preset time period, detects whether insertion
The earphone of the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510548936.2A CN105828229B (en) | 2015-08-28 | 2015-08-28 | A kind of earphone, terminal and earphone detecting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510548936.2A CN105828229B (en) | 2015-08-28 | 2015-08-28 | A kind of earphone, terminal and earphone detecting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105828229A CN105828229A (en) | 2016-08-03 |
CN105828229B true CN105828229B (en) | 2019-02-15 |
Family
ID=56514988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510548936.2A Active CN105828229B (en) | 2015-08-28 | 2015-08-28 | A kind of earphone, terminal and earphone detecting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105828229B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4572945B2 (en) * | 2008-03-28 | 2010-11-04 | ソニー株式会社 | Headphone device, signal processing device, and signal processing method |
CN102480563B (en) * | 2010-11-30 | 2014-07-02 | 比亚迪股份有限公司 | Control method and device in process of inserting earphone into earphone socket |
CN202004847U (en) * | 2011-04-22 | 2011-10-05 | 深圳市隆宇世纪科技有限公司 | Mobile phone capable of controlling music playing and pausing through earphone key |
CN204598254U (en) * | 2015-04-23 | 2015-08-26 | 中国石油大学(华东) | A kind of Novel earphone |
-
2015
- 2015-08-28 CN CN201510548936.2A patent/CN105828229B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105828229A (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8031878B2 (en) | Electronic interfacing with a head-mounted device | |
US9351076B2 (en) | Audio and video signal transmission interface apparatus and method thereof | |
CN109391731A (en) | Wireless device | |
CN102915751A (en) | Method for automatically regulating sound volume and terminal equipment thereof | |
US20130101132A1 (en) | Method and Device for Earphone and USB to Share Micro-USB Interface | |
CN101431708A (en) | Terminal and method for recognizing headphone type | |
EP2637390A1 (en) | Method and device for automatically adjusting sound volume | |
CN112055349B (en) | Wireless communication method and Bluetooth device | |
CN201674041U (en) | Audio socket connector with plug detecting function | |
US8750535B2 (en) | Communications headset power provision | |
CN104093114B (en) | A kind of detection means of earphone keystroke, detecting system and detection method | |
JP2002152365A (en) | Moving terminal equipment and head set | |
CN101938546A (en) | Earphone microphone detection method based on mobile phone and mobile phone | |
CN201750528U (en) | Audio processing device | |
CN106843802B (en) | Circuit for automatically identifying earphone interfaces of various standard mobile phones | |
CN105828229B (en) | A kind of earphone, terminal and earphone detecting method | |
CN105120390A (en) | Headphone socket, headphone plug and electronic device | |
CN101945172A (en) | Mobile phone-based earphone recognition calling method and mobile phone | |
CN107635171A (en) | A kind of circuit for improving earphone compatible | |
EP2770748B1 (en) | Apparatus, systems and methods for detecting insertion or removal of an audio accessory from an electronic device | |
CN206506670U (en) | The bluetooth earphone of wired connection can be achieved | |
TWI628962B (en) | Earphone and audio play system employing the same and method for controlling the audio play system | |
WO2019184982A1 (en) | Method and circuit for transmitting signal | |
US20100303214A1 (en) | One-way voice detection voicemail | |
CN105677603B (en) | A kind of method, apparatus and mobile terminal for identifying self-shooting bar |
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 |