Summary of the invention
It is an object of the present invention to provide a kind of simple and easy wearing state method for reporting for earphone.
According to the first aspect of the invention, a kind of wearing state method for reporting for earphone is provided comprising:
It whether there is corresponding talking state after determining wearing event occur, on the tone frequency channel wire of test earphone or listen sound-like
The audio signal of state, if so, then ignoring the wearing event;If not, so that starting is pressed in the microphone lines acquisition of earphone
The mode of the corresponding voltage of Pause key wears event to described in corresponding mobile terminal reporting;
Determine occur taking event after, on the tone frequency channel wire of test earphone whether there is the audio signal, if so, then with
The mode for making the microphone lines acquisition of earphone press the corresponding voltage of starting Pause key is plucked to described in corresponding mobile terminal reporting
Lower event;If not, taking event described in ignoring.
Preferably, the corresponding voltage of starting Pause key is pressed in the microphone lines acquisition for making earphone specifically:
It controls the switching tube being connected between microphone lines and ground wire to be connected, extremely by the voltage pull-down of the microphone lines
Voltage corresponding with starting Pause key is pressed is consistent.
Preferably, the method also includes:
Every time to after taking event described in corresponding mobile terminal reporting, the sound of delay setting time test earphone again
It whether there is the audio signal on frequency line, if so, then again so that starting Pause key is pressed in the microphone lines acquisition of earphone
The mode of corresponding voltage takes event to described in corresponding mobile terminal reporting, sets until the detection number of audio signal reaches
There is no until the audio signal on the tone frequency channel wire of fixed detection maximum number of times or earphone.
Preferably, with the presence or absence of corresponding talking state or the audio of audition state on the tone frequency channel wire of the test earphone
Signal includes:
Obtain the voltage on the tone frequency channel wire of earphone;
Judge the voltage whether be more than setting voltage threshold, in this way, it is determined that there are the sounds on the tone frequency channel wire
Frequency signal;The audio signal is not present on the tone frequency channel wire if not, determining.
A second object of the present invention is to provide a kind of wearing states that can be realized wearing state method for reporting of the present invention
Reporting system.
According to the second aspect of the invention, a kind of wearing state reporting system for earphone is provided comprising:
Enabled module, for conversing on the tone frequency channel wire of test earphone with the presence or absence of corresponding after determining wearing event occur
The audio signal of state or audition state, if so, then ignoring the wearing event, if not, the first enable signal of output;And
For whether there is the audio signal on the tone frequency channel wire of test earphone after determining to occur taking event, if so, then exporting the
Two enable signals, if not, taking event described in ignoring;And
Reporting module, for after receiving first enable signal, so that the microphone lines of earphone are pressed
The mode of the corresponding voltage of starting Pause key wears event to described in corresponding mobile terminal reporting;And for receive it is described
After second enable signal, so that the microphone lines of earphone, which obtain, presses the mode of the corresponding voltage of starting Pause key to corresponding
Event is worn described in mobile terminal reporting.
Preferably, the reporting module is specifically used for the switching tube being connected between microphone lines and ground wire by control
The mode of conducting makes the microphone lines acquisition of earphone press the corresponding voltage of starting Pause key.
Preferably, the enabled module is also used in the reporting module every time to described in corresponding mobile terminal reporting
After taking event, delay setting time whether there is the audio signal on the tone frequency channel wire of test earphone again, if so, then again
Second enable signal is exported to the reporting module, until the detection number of audio signal reaches on the detection number of setting
There is no until the audio signal on the tone frequency channel wire of limit or earphone.
Preferably, the enabled module is specifically used for according to the voltage on the tone frequency channel wire of earphone, the audio of test earphone
It whether there is the audio signal on line, wherein if the voltage is more than the voltage threshold of setting, it is determined that the tone frequency channel wire
On there are the audio signals, otherwise determine on the tone frequency channel wire there is no the audio signal.
Third object of the present invention is to provide a kind of earphones that can be realized wearing state report.
According to the third aspect of the invention we, a kind of earphone is provided comprising:
Headset plug, the headset plug have L channel line, right channel line, microphone lines and ground wire;
The anode of left otaphone, the left otaphone is connect with the L channel line, the cathode of the left otaphone and institute
State ground wire connection;
The anode of auris dextra earpiece, the auris dextra earpiece is connect with the right channel line, the cathode of the auris dextra earpiece and institute
State ground wire connection;
Whether wearing state detection system, wearing event for determining whether to occur corresponding to the earpiece and correspond to
The earpiece takes event;And
Wearing state reporting system, for executing wearing state method for reporting of the present invention.
Preferably, the line control earphone further includes the switching tube being connected between the microphone lines and the ground wire,
By make the wearing state reporting system by way of controlling the switching tube conducting, make the microphone lines acquisition of earphone by
The corresponding voltage of lower starting Pause key.
It was found by the inventors of the present invention that in the prior art, there are wearing state method for reporting to be difficult to for 3.5mm line control earphone
The problem of realization.Therefore, the technical assignment or the technical problem to be solved is that those skilled in the art that the present invention to be realized
It is that member never expects or it is not expected that, therefore the present invention is a kind of new technical solution.
A beneficial effect of the invention is that wearing state method for reporting, system and earphone of the invention pass through simulation
The mode for pressing starting Pause key reports wearing event and takes event, and then obtains so that corresponding mobile terminal is according to pendant
It wears event and takes event and open and/or stop related application, to improve the purpose of user experience, method of the invention is simply easy
Row, and any modification is carried out without the driving to mobile terminal side, suitability is very high.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its
Advantage will become apparent.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having
Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention
And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
The present invention provides to solve the problems, such as that the wearing state method for reporting for 3.5mm line control earphone is difficult to realize
A kind of wearing state method for reporting for earphone, this method are so that starting Pause key is pressed in the microphone lines acquisition of earphone
The mode of corresponding voltage wears event to corresponding mobile terminal reporting and takes event, i.e., presses line control earphone by simulation
Starting Pause key mode to corresponding mobile terminal reporting event, and then by the voltage pull-down of microphone lines to opening with pressing
Consistent voltage when dynamic Pause key, in this way, starting pause since mobile terminal is detected in the voltage change according to microphone lines
When key is pressed, starting or pausing operation will be executed, that is, starts respective application when applying inactive, using pause when having been turned on
Therefore respective application will obtain the effect of reported event by way of simulating and pressing starting Pause key.
Since starting Pause key is usually directly connected between microphone lines and ground wire, in this way, pressing starting Pause key
When can be by the voltage pull-down of microphone lines to low level, therefore, starting pause is pressed in the above-mentioned microphone lines acquisition for making earphone
The corresponding voltage of key can realize by way of directly exporting corresponding level signal to microphone lines, can also be by microphone
Increase switching tube between line and ground wire, and the mode of the conducting of control switch pipe and then the voltage for dragging down microphone lines is realized.
But due under this kind of scheme mobile terminal be that the event that reports cannot be distinguished to be wearing event or take thing
Part only can execute corresponding movement according to the setting of starting Pause key, therefore, just will appear according to the different use habits of user
Erroneous judgement.Such as: in the case where user first passes through mobile phone open music APP and takes earphone again, since user takes earphone
The primary simulation of triggering is pressed to the movement of starting Pause key, therefore this will lead to music being played on and is suspended;It is mentioned in user
It is preceding to be closed in the case that music takes earphone again by mobile phone, it is opened since user takes earphone and equally presses the primary simulation of triggering
The movement of dynamic Pause key, therefore this will lead to the music for having stopped playing and is turned on.
In order to solve the problems, such as above-mentioned erroneous judgement, as shown in Figure 1, the method for the present invention includes the following steps:
Step S101: after determining wearing event occur, with the presence or absence of corresponding talking state on the tone frequency channel wire of test earphone
Or the audio signal of audition state terminates this report if so, then ignoring the wearing event, i.e., will not trigger one at this time
The movement of starting Pause key is pressed in secondary simulation;If not, so that starting Pause key correspondence is pressed in the microphone lines acquisition of earphone
Voltage mode to the corresponding mobile terminal reporting wearing event, mobile terminal will open related application at this time, and then obtain
Wearing event must be corresponded to reports effect.
Step S102: after determining to occur taking event, whether there is above-mentioned audio signal on the tone frequency channel wire of test earphone,
If so, then in such a way that the corresponding voltage of starting Pause key is pressed in the microphone lines acquisition for making earphone on corresponding mobile terminal
Event is taken described in report, mobile terminal will suspend related application at this time, and then obtain it is corresponding take event report effect;Such as
It is no, then ignore this and take event, terminate this report, i.e., will not trigger primary simulation at this time and press the dynamic of starting Pause key
Make.
Here, the voltage on tone frequency channel wire can be significantly raised due in call or audition, and therefore, above-mentioned detection ear
Audio signal on the tone frequency channel wire of machine with the presence or absence of corresponding talking state or audition state can further comprise:
The voltage on tone frequency channel wire is obtained, this can be real by way of increasing sampling resistor between tone frequency channel wire and ground wire
It is existing;Judge the voltage whether be more than setting voltage threshold, in this way, it is determined that there is corresponding talking state on tone frequency channel wire or listen
The audio signal of sound-like state;If not, determining the audio signal on tone frequency channel wire there is no corresponding talking state or audition state.
The voltage threshold can be preset by laboratory facilities, i.e., do not conversing and do not listening by Germicidal efficacy tone frequency channel wire
The minimum voltage of maximum voltage and tone frequency channel wire in call or audition when sound, as long as in this way, making voltage threshold greater than above-mentioned
Maximum voltage, and it is less than above-mentioned minimum voltage.
The above method application seize aspect be only applicable to be preempted apply it is current open after application stops will not by from
The dynamic design opened, this is embodied in, and apply will be in the design that automatically turned on after application stops in current open being preempted
The corresponding effect for taking earphone can not be obtained, for example, user establishes call connection during listening to music, then music will
It is suspended, at this point, the primary simulation of triggering to be pressed to the movement of starting Pause key, is moved if user takes earphone in call
Dynamic terminal will terminate call connection, but at this time if the design of mobile terminal is to automatically turn on music after conversing connection to broadcast
It puts, then music will not be stopped because user takes earphone.In order to solve this problem, and then the suitable of the method for the present invention is improved
Range is answered, in one particular embodiment of the present invention, as shown in Fig. 2, the method for the present invention further include: every time to corresponding shifting
Dynamic terminal reports described after taking event, and delay setting time is believed on the tone frequency channel wire of test earphone again with the presence or absence of the audio
Number, if so, then again in such a way that the corresponding voltage of starting Pause key is pressed in the microphone lines acquisition for making earphone to corresponding shifting
Dynamic terminal report it is described take event, until the detection number of audio signal reaches the detection maximum number of times or earphone of setting
There is no until audio signal on tone frequency channel wire.According to the effect for repeating detection, the minimum value of the detection maximum number of times be should be 2 times.
For this purpose, as shown in Fig. 2, the present invention specifically may also include the steps of:
Step S102: it whether there is above-mentioned audio signal on the tone frequency channel wire of test earphone, if so, then so that the Mike of earphone
The mode that the corresponding voltage of starting Pause key is pressed in the acquisition of wind line takes event to corresponding mobile terminal reporting, executes step later
Rapid S103;If not, terminating this report.
Step S103: judging whether the detection number of audio signal reaches the detection maximum number of times of setting, if so, then terminating
This report, if not, continuing to execute step S102.
On the basis of above-mentioned wearing state method for reporting, the present invention also provides a kind of wearings that can be realized this method
State report system, as shown in figure 3, the system 1 includes enabled module 101 and reporting module 102, wherein the enabled module 101
For after determining wearing event occur, with the presence or absence of corresponding talking state or audition state on the tone frequency channel wire of test earphone
Audio signal, if so, then ignoring the wearing event, if not, the first enable signal of output;And for determining to take
After event, it whether there is the audio signal on the tone frequency channel wire of test earphone, if so, the second enable signal is then exported, if not,
Event is taken described in ignoring;The reporting module 102 is used for after receiving first enable signal, so that the Mike of earphone
The mode that the corresponding voltage of starting Pause key is pressed in the acquisition of wind line wears event to described in corresponding mobile terminal reporting;And it is used for
After receiving second enable signal, so that the microphone lines of earphone, which obtain, presses the corresponding voltage of starting Pause key
Mode wears event to described in corresponding mobile terminal reporting.
Above-mentioned reporting module 102 can be specifically used for being connected by the switching tube that control is connected between microphone lines and ground wire
Mode, the microphone lines of earphone are obtained press the corresponding voltage of starting Pause key.
Above-mentioned enabled module 101 can also be used to take to described in corresponding mobile terminal reporting every time in reporting module 102
After event, delay setting time whether there is the audio signal on the tone frequency channel wire of test earphone again, if so, then again to institute
State reporting module and export second enable signal, until the detection number of audio signal reach setting detection maximum number of times or
There is no until the audio signal on the tone frequency channel wire of person's earphone.
Above-mentioned enabled module 101 can be specifically used for according to the voltage on the tone frequency channel wire of earphone, on the tone frequency channel wire of test earphone
With the presence or absence of the audio signal, wherein if the voltage is more than the voltage threshold of setting, it is determined that deposited on the tone frequency channel wire
In the audio signal, otherwise determine that there is no the audio signals on the tone frequency channel wire.
The present invention also provides a kind of ears that can report wearing state to corresponding mobile terminal by simple mode
Machine, as shown in figure 4, the earphone includes headset plug, left otaphone HL, auris dextra earpiece HR, wearing state detection system 2 and wears
State report system, wherein headset plug has L channel line JL+, right channel line JR+, microphone lines JM+ and ground wire JG;It is left
The positive L+ of otaphone HL is connect with L channel line JL+, and the cathode L- of left otaphone HL is connect with ground wire JG;Auris dextra earpiece HR's
Positive R+ is connect with right channel line JR+, and the cathode R- of auris dextra earpiece HR is connect with ground wire JG;Wearing state detection system 2 can lead to
Cross the wearing event and corresponding earpiece whether occur that any existing wearing state detection method determines whether corresponding earpiece occur
Take event;Wearing state reporting system can be above-mentioned wearing state for executing above-mentioned wearing state method for reporting
Reporting system 1.Here, wearing state detection system 1 can only detect the wearing state of an earpiece;Two can also be detected simultaneously
When the wearing state of earpiece, at this point, it can be set to be judged to after the wearing event for detecting corresponding any earpiece
Now wear event, and detect corresponding two earpieces take event after, be determined as occurring taking event.
In such a way that wearing state reporting system is connected the switching tube that control is connected between microphone lines and ground wire,
When so that the starting corresponding voltage of Pause key is pressed in microphone lines acquisition, which should also include being connected to microphone lines JM+
With the switching tube between ground wire JG, in a manner of wearing state reporting system is connected by control switch pipe, make earphone
The corresponding voltage of starting Pause key is pressed in microphone lines acquisition.This kind of embodiment in order to facilitate understanding will be introduced simply below
The button operation principle of 3.5mm line control earphone once.
Referring to Figure 5, the button operation principle of line control earphone are as follows: there is starting Pause key K1, volume with key panel
For increasing key K2 and volume down key K3, which is connected in series in microphone by earphone cable with pull-up resistor
Between line JM+ and ground wire JG, which is arranged to make microphone lines JM+ acquisition pair when starting Pause key K1 and being pressed
The level signal of pause manipulation instruction should be started, here, due at present substantially by the corresponding level for starting pause manipulation instruction
Signal is set as low level, therefore, can save the pull-up resistor, and starting Pause key K1 is directly connected to microphone lines JM+
Between ground wire JG, that is, the resistance value for corresponding to the pull-up resistor is arranged to 0;The volume increasing key K2 and pull-up resistor R2 pass through ear
Machine line is connected in series between microphone lines JM+ and ground wire JG, pull-up resistor R2 be arranged to volume increasing key K2 by by
Microphone lines JM+ will be set to obtain the level signal that corresponding volume increases manipulation instruction when lower, which increases manipulation instruction
Level signal is usually set in the range of 80mV to 120mV;The volume down key K3 and pull-up resistor R3 passes through earphone cable string
Connection is connected between microphone lines JM+ and ground wire JG, and pull-up resistor R3 is arranged to make when volume down key K3 is pressed
Microphone lines JM+ obtains the level signal of corresponding volume down manipulation instruction, the level letter of the correspondence volume down manipulation instruction
It number is usually set in the range of 180mV to 220mV.In this way, when user presses one-shot Pause key K1, it will be via microphone
Line JM+ exports the level signal of corresponding starting pause manipulation instruction to user terminal, at this point, mobile terminal will be according to setting
This kind of corresponding relationship carries out one-shot or pause manipulation;It, will be via microphone when user presses a volume increasing key K2
Line JM+ exports the level signal that corresponding volume increases manipulation instruction to user terminal, at this point, mobile terminal will be according to setting
This kind of corresponding relationship carries out a volume and increases manipulation;It, will be via microphone lines JM+ when user presses a volume down key K3
The level signal that corresponding volume down manipulation instruction is exported to user terminal, at this point, mobile terminal will be according to this kind of setting
Corresponding relationship carries out a volume down manipulation.
It can be seen that the switching tube of starting Pause key is similar to by connecting between microphone lines JM+ and ground wire JG, it can
To obtain the effect that starting Pause key is pressed in simulation.Moreover, earphone of the present invention be equally applicable on this basis it is key controlled, only
Switching tube and starting Pause key are connected in parallel.
Above-mentioned wearing state detection system 2 for example can with but be not limited to using following methods carry out wearing state detection:
Method one: being arranged two capacitance type sensors in earphone, one of to be used to detect ring as reference sensor
The variation in border, another judges sensor for carrying out earphone wearing state on the basis of the detection of reference sensor as state
Judgement;
Method two: being two microphones of setting on earphone, and microphone, which is attached to, on the outside of a conduct wears ear in user
The position that external sound is picked without veil in the state of machine, another is used as inside microphone to be attached in user
The position that external sound is picked via veil in the state of wearing earphone, and believed according to the sound obtained by outside microphone
Signal comparison result number between the voice signal that is obtained by inside microphone with as pre-stored in non-wearing state
Under external sound when reaching between the voice signal that is obtained by outside microphone and the voice signal obtained by inside microphone
The non-wearing state reference value of signal comparison result and as pre-stored sound external under wearing state reach up to when
The pendant of signal comparison result between the voice signal that is obtained by outside microphone and the voice signal obtained by inside microphone
The similitude between state reference value is worn to detect wearing state.
Method three: the inner sensors and outer sensors communicated with the outside world are set on earphone, wherein inside sensing
Device is set when wearing earphone positioned at the position of ear canal internal, and outer sensors are located at outside ear canal when being arranged to wear earphone
Position, specific method include: obtain the collected moisture signal of inner sensors, as the first moisture signal;Obtain outside
The collected moisture signal of sensor, as the second moisture signal;Difference based on the first moisture signal and the second moisture signal,
Humidity differences signal is obtained, which can be difference itself, be also possible to the absolute value of difference;Based on psychrometric difference
Value signal, obtains the status signal of reflection wearing state, which can be humidity differences signal itself, be also possible to wet
Difference signal and the e.g. fused signal of temperature difference signal are spent, this method also application thus obtains inner sensors acquisition
The temperature signal arrived is as the first temperature signal, and obtains the collected temperature signal of outer sensors and believe as second temperature
Number, and the difference based on the first temperature signal and second temperature signal obtains temperature difference signal, which can be with
It is difference itself, is also possible to the absolute value of difference;There is rising edge in status signal and edge variable quantity is more than the pendant of setting
When wearing reference threshold, there is wearing event in judgement;There is failing edge in status signal and edge variable quantity is more than taking for setting
When reference threshold, judgement occurs taking event.
It the wearing reference threshold and takes reference threshold and can be preset by laboratory facilities, that is, pass through Germicidal efficacy ear
Machine wear and/or take moment, status signal edge variable quantity minimum value, earphone take during, the variation of status signal
The maximum value and earphone of amount wear during, the maximum value of the variable quantity of status signal, as long as in this way, make to wear reference threshold and
Reference threshold is taken greater than above-mentioned all maximum values and is less than above-mentioned all minimum values.Moreover, meeting above-mentioned condition
In range, the wearing reference threshold and the numerical value for taking reference threshold can be equal, can also be unequal, preferably the number of the two
It is worth equal, the state of being referred to as judges reference threshold.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Point cross-reference, each embodiment focuses on the differences from other embodiments, and different embodiments can be with
It is used alone or is combined with each other as needed.For system embodiment, since it is and embodiment of the method
It is corresponding, so describing fairly simple, referring to the explanation of the corresponding part of embodiment of the method in place of correlation.It is above to be retouched
The system embodiment stated is only schematical, wherein module may or may not be object as illustrated by the separation member
It is separated in reason.
Although some specific embodiments of the invention are described in detail by example, the skill of this field
Art personnel it should be understood that example above merely to being illustrated, the range being not intended to be limiting of the invention.The skill of this field
Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above embodiments.This hair
Bright range is defined by the following claims.