Invention content
It is an object of the present invention to provide a kind of wearing shapes that is simple and practicable and can ensureing accuracy for earphone
State detection method.
According to the first aspect of the invention, a kind of wearing state detection method for earphone is provided, the earphone is set
It is equipped with equal with the extraneous inner sensors and outer sensors communicated, wherein the inner sensors are set when wearing earphone
Positioned at the position of ear canal internal, the position when outer sensors are arranged to wear earphone outside duct, the side
Method includes:
The collected moisture signal of the inner sensors is obtained, as the first moisture signal;
The collected moisture signal of the outer sensors is obtained, as the second moisture signal;
Difference based on first moisture signal Yu second moisture signal, obtains humidity differences signal;
Based on the humidity differences signal, the status signal of reflection wearing state is obtained;
When rising edge occurs in the status signal and edge variable quantity is more than the wearing reference threshold of setting, determine
Now wear event;
It is more than to set when taking reference threshold failing edge and edge variable quantity occur in the status signal, is determined
Now take event.
Preferably, the method further includes:
The collected temperature signal of the inner sensors is obtained, as the first temperature signal;
The collected temperature signal of the outer sensors is obtained, as second temperature signal;
Difference based on first temperature signal Yu the second temperature signal, obtains temperature difference signal;
Described to be based on the humidity differences signal, the status signal for obtaining reflection wearing state is specially:
The humidity differences signal and the temperature difference signal are merged, the state letter of reflection wearing state is obtained
Number.
Preferably, described that the humidity differences signal and the temperature difference signal are merged specially:
Summation is weighted to the humidity differences signal and the temperature difference signal.
Preferably, the weighting coefficient of the humidity differences signal is more than the weighting coefficient of the temperature difference signal.
Preferably, the method further includes:
It is whole to corresponding movement via the microphone lines of earphone in the form of AC signal after wearing event occurs in judgement
End reports the wearing event;
It is whole to corresponding movement via the microphone lines of earphone in the form of AC signal after judgement occurs taking event
Event is taken described in reporting in end.
Preferably, the method further includes:
It whether there is corresponding talking state after wearing event occurs in judgement, 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 startup 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;
After judgement occurs taking event, on the tone frequency channel wire of test earphone whether there is the audio signal, if so, then with
So that the microphone lines of earphone, which obtain, presses the mode for starting the corresponding voltage of Pause key to described in corresponding mobile terminal reporting
Take event;If not, taking event described in ignoring.
Second object of the present invention is to provide a kind of wearing state that can realize wearing state detection method of the present invention
Detecting system.
According to the second aspect of the invention, a kind of wearing state detecting system for earphone is provided, the earphone is set
It is equipped with equal with the extraneous inner sensors and outer sensors communicated, wherein the inner sensors are set when wearing earphone
Positioned at the position of ear canal internal, the position when outer sensors are arranged to wear earphone outside duct, the system
System includes:
Signal acquisition module, for obtaining the collected moisture signal of the inner sensors as the first moisture signal,
And for obtaining the collected moisture signal of the outer sensors as the second moisture signal;
Computing module is used for the difference based on first moisture signal Yu second moisture signal, obtains psychrometric difference
Value signal, and the status signal of reflection wearing state is obtained based on the humidity differences signal;And
Event monitoring module is more than the wearing set for there is rising edge and edge variable quantity in the status signal
When reference threshold, there is wearing event in judgement;And for there is failing edge and edge variable quantity in the status signal it is more than to set
Fixed when taking reference threshold, judgement occurs taking event.
Preferably, the signal acquisition module is additionally operable to obtain the collected temperature signal conduct of the inner sensors
First temperature signal, and the collected temperature signal of outer sensors is obtained as second temperature signal;
The computing module is additionally operable to the difference based on first temperature signal Yu the second temperature signal, obtains temperature
Difference signal is spent, and the humidity differences signal and the temperature difference signal are merged, obtains reflection wearing state
Status signal.
Preferably, the computing module is specifically used for carrying out the humidity differences signal and the temperature difference signal
Weighted sum obtains the status signal of reflection wearing state.
Third object of the present invention is to provide a kind of earphones that can realize wearing state detection.
According to the third aspect of the invention we, a kind of earphone is provided, is provided with equal with the extraneous inner sensors communicated
And outer sensors, wherein the inner sensors, which are arranged on, is located at ear canal internal, outer sensors when wearing earphone
It is arranged to be located at outside duct when wearing earphone;The earphone is additionally provided with for executing above-mentioned wearing state detection method
Wearing state detecting system.
It was found by the inventors of the present invention that in the prior art, there are wearing state detection method is complicated and/or accuracy rate by
The problem of external environment is affected.Therefore, the technical assignment to be realized of the present invention or the technical problem to be solved is that
It is that those skilled in the art never expect or it is not expected that, therefore the present invention is a kind of new technical solution.
The advantageous effect of the present invention is that wearing state detection method, system and earphone of the invention are according to inside
The variation judgement of the difference of collected first moisture signal of sensor and collected second moisture signal of outer sensors is worn
It wears event and takes event, since inner sensors and outer sensors will be in identical external environment when earphone is taken
In, therefore, the difference of corresponding first moisture signal and the second moisture signal is by very little, and inner sensors and outer sensors
It will be in when earphone is worn in the prodigious environment of difference, in a duct environment in relative closure, another is in big
In compression ring border, therefore, the difference of corresponding first moisture signal and the second moisture signal will be larger, in this way, being changed by edge
Amount can accurately judge wearing event and take event, and then realizes and worn by the simple and practicable accurate test earphone of method
Wear the purpose of state.
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 implementation mode
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition having
Body illustrates that 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.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention
And its application or any restrictions that use.
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.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
The present invention in order to solve the problems, such as existing for existing wearing state detection method it is computationally intensive, accuracy is low, provide
A kind of new wearing state detection method for earphone, in order to realize that the wearing state detection method, the earphone should be set
It is equipped with equal with the extraneous inner sensors and outer sensors communicated, wherein position when inner sensors are arranged to wear earphone
In the position of ear canal internal, the position when outer sensors are arranged to wear earphone outside duct;For line traffic control
Earphone, which is for example arranged on the position towards ear canal internal of headset earpiece, and the outer sensors are for example
It is arranged on line traffic control plate;For wireless headset, which is for example arranged in the position towards ear canal internal of headset earpiece
It sets, and the outer sensors are for example arranged on headphone frame.On this basis, as shown in Figure 1, the method for the present invention includes such as
Lower step:
Step S101:The collected moisture signal of inner sensors is obtained as the first moisture signal, and obtains outside and passes
The collected moisture signal of sensor is as the second moisture signal.
This illustrates that the inner sensors and outer sensors all have the function that can acquire moisture signal, and therefore, this is interior
Side senser, outer sensors can be individual humidity sensors, can also be combination sensor, and the combination sensor is for example
It is Temperature Humidity Sensor etc..
The inner sensors, outer sensors can be analog sensors, can also be digital sensor, if it is simulation
Sensor then needs to carry out analog-to-digital conversion to moisture signal when obtaining moisture signal, obtains the time for corresponding to the moisture signal
Sequence;If it is digital sensor, then the time series of the corresponding moisture signal can be directly acquired.
Step S201:Difference based on the first moisture signal and the second moisture signal, obtains humidity differences signal.
Since the first moisture signal and the final form of expression of the second moisture signal are by for discrete time series,
The humidity differences signal is similarly discrete time series.
Step S201 can obtain humidity differences signal to calculate the difference of the first moisture signal and the second moisture signal,
Or it calculates the difference of the first moisture signal and the second moisture signal and thoroughly deserves humidity differences signal.
Step S3:Based on humidity differences signal, the status signal of reflection wearing state is obtained.
The status signal can be humidity differences signal itself, can also be that by humidity differences signal and can reflect wearing
The signal that other signal fuseds of state obtain together.
Step S4:When there is rising edge in status signal and edge variable quantity is more than the wearing reference threshold of setting, judgement
There is wearing event;It is more than to set when taking reference threshold failing edge and edge variable quantity occur in status signal, is determined
Now take event.
For discrete time series, which indicates that the current time point value of status signal was more than a upper time point
Numerical value, the failing edge indicate that the current time point value of status signal is less than upper time point value.Here, since inside senses
Device and outer sensors will be in identical external environment when earphone is taken, therefore, corresponding first moisture signal and the
For the difference difference of numerical value of two moisture signals on same time point by very little, i.e. the absolute value of the numerical value of status signal will very
It is small;And inner sensors will be in the prodigious environment of difference with outer sensors when earphone is worn, one in opposite envelope
In the duct environment closed, another is in atmospheric environment, and therefore, corresponding first moisture signal is with the second moisture signal in phase
Difference with the numerical value on time point will be larger, i.e., the absolute value of the numerical value of status signal will be very big, in this way, passing through the difference
Edge changes and edge variable quantity can accurately determine wearing event and take event, and then realizes by simple and practicable
The accurate test earphone wearing state of method purpose.
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 wearing reference threshold and
Reference threshold is taken more 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 not also be equal, preferably the number of the two
It is worth equal, is referred to as condition adjudgement reference threshold.
As shown in Figure 1, above-mentioned steps S4 can further comprise following steps:
Step S401:Judge whether status signal edge variation occurs, if so, S402 is thened follow the steps, if not, continuing
Execute step S401, to be judged next time, here, it will be clear for those skilled in the art that above-mentioned steps S101 with
Step S102 is persistently carried out according to certain sample frequency.
Step S402:Judge that edge variation is rising edge or failing edge, rising edge in this way thens follow the steps S403, such as
It is failing edge, thens follow the steps S404.
Step S403:Judge whether the variable quantity of edge variation is more than the wearing reference threshold set, if so, then determining
Now wear event;If not, step S401 is continued to execute, to be judged next time.
Step S404:Judge edge variation variable quantity whether be more than setting take reference threshold, if so, then determining
Now take event;If not, step S401 is continued to execute, to be judged next time.
In order to further increase the detection accuracy of the method for the present invention, in one particular embodiment of the present invention, use
It is merged above-mentioned humidity differences signal and temperature difference signal to obtain the scheme of status signal, for this purpose, such as Fig. 2 institutes
Show, the method for the present invention further includes following steps:
Step S102:The collected temperature signal of inner sensors is obtained as the first temperature signal, and is obtained described outer
The collected temperature signal of side senser is as second temperature signal.
This illustrate the inner sensors and outer sensors also and should have the function of can collecting temperature signal, therefore,
Temperature Humidity Sensor may be used in the inner sensors, outer sensors, can also use its with Temperature and Humidity function
His combination sensor, can also include individual temperature detection sensor and individual moisture detection sensor.
If inner sensors, outer sensors are analog sensors, need to believe temperature when obtaining temperature signal
Number carry out analog-to-digital conversion, obtain the time series for corresponding to the temperature signal;If it is digital sensor, then can directly acquire pair
Should temperature signal time series.
Step S202:Difference based on the first temperature signal Yu second temperature signal, obtains temperature difference signal.
Since the first temperature signal and the final form of expression of second temperature signal are by for discrete time series,
The temperature difference signal is similarly discrete time series.
Step S202 can be that the first temperature signal of calculating and the difference of second temperature signal obtain temperature difference signal,
Or it calculates the difference of the first temperature signal and second temperature signal and thoroughly deserves temperature difference signal.
On this basis, humidity differences signal is based in above-mentioned steps S3, the status signal for obtaining reflection wearing state can
Specially:
Step S3:Humidity differences signal and temperature difference signal are merged, the state letter of reflection wearing state is obtained
Number.
Here, existing sensor fusion algorithm may be used in the blending algorithm, such as weighted sum, weighted sum are put down
And dynamic adjusts FUZZY ALGORITHMS FOR CONTROL or neural network algorithm of weighting coefficient etc., wherein is weighted the dynamic of coefficient
Adjustment is conducive to, when unlike signal appearance has fusion results the contribution of opposite direction, select the higher signal deciding of confidence level
Fusion results, and then improve the accuracy of fusion results.
Since earphone is when wearing, the variation of the moisture signal of inner sensors will be sensitiveer, therefore, the present invention's
In one specific embodiment, using the blending algorithm of weighted sum, and the weighting coefficient for setting humidity differences signal is more than temperature
The weighting coefficient of difference signal, such as the weighting coefficient of humidity differences signal are selected as 0.8.
It is determining wearing event and after taking event, by wearing event and event can be taken reporting by various means
To corresponding mobile terminal, so that mobile terminal automatically turns on and/or be automatically closed related application, and then power saving and raising are realized
The purpose of user experience.Wherein, the wireless headsets such as bluetooth headset, 2.4G earphones can will be each by corresponding Radio Transmission Technology
Event is reported to mobile terminal;Number can be passed through using the USB line control earphone of USB2.0, USB3.0, USB3.1, Type-C interface
According to channel, or even individually each event is reported to mobile terminal by data channel;3.5mm line control earphones are due to that can only transmit simulation
Signal, therefore reporting for its event has bigger difference with above-mentioned earphone, and the difficulty that event reports is increased in turn, the present invention carries
Following two events for 3.5mm earphones have been supplied to report scheme.
The first:After wearing event occurs in judgement, via the microphone lines of earphone to correspondence in the form of AC signal
The mobile terminal reporting wearing event, and after judgement occurs taking event, equally via earphone in the form of AC signal
Microphone lines to corresponding mobile terminal reporting, this takes event.For this purpose, line control earphone needs the number by corresponding event to believe
Number modulation conversion is analog signal, and the analog signal is sent to pair in the form of AC signal via the microphone lines of earphone
The mobile terminal answered, in this way, mobile terminal can obtain the digital signal of corresponding event by demodulation of recording.This kind of scheme it is excellent
Point is the application supported by the way that mobile terminal is line control earphone power supply, and line control earphone can be sent out according to definition to mobile terminal
Any signal, order are sent, but this requires mobile terminal to increase the driver of demodulated signal, response speed also can be because of signal form
Bi-directional conversion decrease.
In order to realize that the first event reports scheme, mobile terminal that following data transmission circuit can be arranged, as shown in figure 3,
The data transmission circuit includes first passage switch K1, second channel switch K2 and data backhaul lines L1, which opens
The feeder ear Vout connections of the first end and mobile terminal of K1 are closed, the feeder ear Vout for example provide 5V voltages, and first passage is opened
The second end for closing K1 is connect with jack end microphone lines JM so that feeder ear Vout via first passage switch K1 to jack end wheat
Gram wind line JM provides supply voltage, this illustrates that jack end microphone lines JM will obtain the power supply when first passage switch K1 is connected
Voltage.The signal input part of the first end of second channel switch K2 and the signal processing unit U1 of mobile terminal connect, and second
The second end of channel switch K2 is connect with jack end microphone lines JM, so that signal processing unit U1 can be opened via second channel
It closes K2 and obtains recording data from jack end microphone lines JM, second channel switch K2 is arranged to have with first passage switch K1
There is opposite on off state, the on off state of the first passage switch K1 and second channel switch K2 are specifically by the control of mobile terminal
Unit U2 processed is controlled according to operational order input by user.Data back circuit L1 is connected to the first of first passage switch K1
Between end and the signal input part of signal processing unit U1, to establish jack end microphone lines JM via first passage switch K1 extremely
The data transmission path of signal processing unit U1, data back circuit L1, which is specifically included, is connected in series in first passage switch K1
First end and the signal input part of signal processing unit U1 between capacitance C1 and data back switch Q1, therefore, the data
The data that backhaul lines L1 can be provided with the transmission of AC signal form pass through, and separate the direct current supply electricity that feeder ear Vout is provided
Pressure, data back switch Q1 are arranged to switch on off state having the same, data back switch Q1 with first passage
On off state equally by the control unit U2 of mobile terminal controls, here, control unit U2 can directly control data back
The on off state of switch Q1, can also be by directly controlling the on off state of first passage switch K1 by indirect control data back
The on off state of switch Q1, the i.e. on off state of data back switch Q1 can according to the on off state of first passage switch K1 into
Row automatically switches.
The operation principle of above-mentioned data transmission circuit is:By default, the control unit U2 control of mobile terminal the
One channel switch K1 conductings, second channel switch K2 disconnect and the Q1 conductings of control data back switch, at this point, if line traffic control ear
The headset plug of machine is inserted into earphone jack, then (jack end microphone lines will connect microphone lines with plug end microphone lines at this time
It is connected together to form microphone lines) supply voltage will be obtained, line control earphone can work normally simultaneously under the action of supply voltage
Carry out event reports;Since data back circuit L1 can pass through at this time for AC signal, in line control earphone to exchange letter
Number form via microphone lines reported event when, corresponding data just can pass through data back circuit and reach mobile terminal
Signal processing unit.And at the operational order of user's input requirements recording (operational order includes establishing call connection), control
Unit U2 control first passage switches K1 processed is disconnected, second channel switch K2 conductings and control data back switch Q1 disconnect, this
When, recording data can be transmitted to signal processing unit by the microphone of line control earphone by second channel switch K2.Thus may be used
See, on the one hand which supports to carry out the application that event reports while powering for line control earphone, on the other hand
The time sharing transmissions of support event reported data and recording data, since the air time only occupies few portion of mobile terminal usage time
Point, and require call and the necessary chance used at the same time of the data of corresponding additional function acquisition seldom, therefore, this kind of timesharing passes
Defeated mode is under the premise of ensureing that two kinds of data transmissions are independent of each other and ensure data transmission with listening sound function to be independent of each other, energy
It is enough to promote user experience to the maximum extent.
Second:So that the microphone lines of earphone, which obtain, presses the mode for starting the corresponding voltage of Pause key to corresponding
Mobile terminal reporting event, i.e., to corresponding mobile terminal reporting in such a way that the startup Pause key of line control earphone is pressed in simulation
Event, so by the voltage pull-down of microphone lines to press start Pause key when consistent voltage, in this way, due to mobile terminal
When detecting that starting Pause key is pressed according to the voltage change of microphone lines, startup or pausing operation will be executed, that is, will be answered
With it is not actuated when start respective application, using suspending respective application when having been turned on, therefore, pressed by simulation and start Pause key
Mode will obtain the effect of reported event.Due to start Pause key be usually directly connected to microphone lines and ground wire it
Between, it can be by the voltage pull-down of microphone lines to low level, therefore when starting Pause key in this way, pressing, the above-mentioned wheat for making earphone
The acquisition of gram wind line press start the corresponding voltage of Pause key can be by increasing switching tube between microphone lines and ground wire, and to opening
The control terminal output open signal for closing pipe is realized in a manner of so that switching tube is connected and then dragging down the voltage of microphone lines.This kind of side
The advantages of case, suitability was preferable without any driving for changing mobile terminal.
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 action according to the setting for 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 action for starting Pause key, therefore this will cause music being played on to be suspended;It is carried 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 action of dynamic Pause key, therefore this will cause the music for having stopped playing to be opened.
In order to solve the problems, such as above-mentioned erroneous judgement, as shown in figure 4, the second scheme is specially:
Step S501:After wearing event occurs in judgement, 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 will not trigger primary simulation and press startup at this time if so, then ignoring the wearing event
The action of Pause key, and continue to execute above-mentioned steps S4;If not, so that startup pause is pressed in the microphone lines acquisition of earphone
The mode of the corresponding voltage of key will open related application to the corresponding mobile terminal reporting wearing event, at this time mobile terminal,
Obtain corresponding wearing event in turn reports effect.
Step S502:After judgement occurs taking event, it whether there is above-mentioned audio signal on the tone frequency channel wire of test earphone,
If so, then so that the microphone lines of earphone, which obtain, presses the mode for starting the corresponding voltage of Pause key to corresponding mobile terminal
Report it is described take event, mobile terminal will suspend related application at this time, so obtain it is corresponding take event report effect;Such as
It is no, then ignore this and take event, i.e., will not trigger primary simulation at this time and press the action for starting Pause key, and continue to execute
State step S4.
Here, due in call or audition, the voltage on tone frequency channel wire can be significantly raised, 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 whether the voltage is more than the voltage threshold set, 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 more than above-mentioned
Maximum voltage, and it is less than above-mentioned minimum voltage.
Above-mentioned second scheme seizes aspect and is only applicable to be preempted to apply and opened after application stops not current in application
Can the design that be automatically turned on, this is embodied in, and will be automatically turned on after application stops in current open being preempted to apply
The corresponding effect for taking earphone can not be obtained in design, connected for example, user establishes call during listening to music, then music
Broadcasting will be suspended, at this point, if user takes earphone in call, the primary simulation of triggering be pressed and starts the dynamic of Pause key
Make, mobile terminal will terminate call connection, but at this time if the design of mobile terminal is to automatically turn on sound after conversing connection
Happy to play, then music will not be stopped because user takes earphone.In order to solve this problem, and then second scheme is improved
Accommodation, in one particular embodiment of the present invention, as shown in figure 5, the method for the present invention is in above-mentioned second scheme
On the basis of also further increase following feature:
Every time to after taking event described in corresponding mobile terminal reporting, the sound of delay adjustments time test earphone again
It whether there is the audio signal on frequency line, if so, then again so that startup 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, is set until the detection number of audio signal reaches
There is no until audio signal on the tone frequency channel wire of the fixed detection number upper limit or earphone.Here, according to the effect for repeating detection,
The minimum value of the detection number upper limit should be 2 times.
As shown in figure 5, this feature specifically may include following steps:
Step S502:It whether there is above-mentioned audio signal on the tone frequency channel wire of test earphone, if so, then so that the wheat of earphone
Gram wind line, which obtains, to be pressed the mode for starting the corresponding voltage of Pause key and takes event to corresponding mobile terminal reporting, is executed later
Step S503;If not, continuing to execute above-mentioned steps S4.
Step S503:Judge whether the detection number of audio signal reaches the detection number upper limit of setting, if so, then continuing
Above-mentioned steps S4 is executed, if not, continuing to execute step S502.
On the basis of above-mentioned wearing state detection method, the present invention also provides a kind of wearings that can realize this method
Condition detecting system, be based on the wearing state detecting system, corresponding earphone should equally be provided with it is equal with it is extraneous communicate it is interior
Side senser and outer sensors, wherein inner sensors, which are arranged on, is located at ear canal internal, outer sensors when wearing earphone
It is arranged to be located at outside duct when wearing earphone, as shown in fig. 6, the system 1 includes signal acquisition module 101, calculates mould
Block 102 and event monitoring module 103, wherein the signal acquisition module 101 is collected wet for obtaining the inner sensors
Degree signal is believed as the first moisture signal, and for obtaining the collected moisture signal of the outer sensors as the second humidity
Number;The computing module 102 is used to calculate the difference of first moisture signal and second moisture signal, obtains humidity differences
Signal, and the status signal of reflection wearing state is obtained based on the humidity differences signal;The event monitoring module 103 is used for
When the wearing reference threshold that rising edge and edge variable quantity are more than setting occurs in status signal, there is wearing event in judgement;And it uses
It is more than to set when taking reference threshold in there is failing edge and edge variable quantity in the status signal, judgement is taken
Event.
Above-mentioned signal acquisition module 101 can also be further used for obtaining the collected temperature signal of the inner sensors
As the first temperature signal, and the collected temperature signal of outer sensors is obtained as second temperature signal;In this base
On plinth, above-mentioned computing module 102 is further used for calculating the difference of the first temperature signal and second temperature signal, obtains temperature
Difference signal, and summation is weighted to humidity differences signal and temperature difference signal, obtain the state letter of reflection wearing state
Number.
In order to realize wearing state reporting to mobile terminal so that mobile terminal can according to wearing event, take
Event automatically turns on and/or closes related application, as shown in fig. 7, present system, which can further include event, reports mould
Block 104, the event reporting module 104 can be used for after wearing event occurs in the judgement of event monitoring module 103, test earphone
With the presence or absence of corresponding talking state or the audio signal of audition state on tone frequency channel wire, if so, then ignoring the wearing event;Such as
It is no, then so that the microphone lines of earphone, which obtain, presses the mode for starting the corresponding voltage of Pause key on corresponding mobile terminal
Report the wearing event;And for event monitoring module 103 judgement occur taking event after, on the tone frequency channel wire of test earphone whether
There are the audio signals, if so, then so that the microphone lines of earphone obtain the side pressed and start the corresponding voltage of Pause key
Formula takes event to described in corresponding mobile terminal reporting;If not, taking event described in ignoring.
The event reporting module 104 is further used for after taking event to corresponding mobile terminal reporting every time, delay
Setting time whether there is the audio signal on the tone frequency channel wire of test earphone again, if so, then again so that the wheat of earphone
Gram wind line, which obtains, to be pressed the mode for starting the corresponding voltage of Pause key and takes event to described in corresponding mobile terminal reporting, until
The detection number of audio signal reaches is not present the audio signal on the detection number upper limit of setting or the tone frequency channel wire of earphone
Until.
The event reporting module 104 can be used for after wearing event occurs in judgement, in the form of AC signal via
The microphone lines of earphone wear event to described in corresponding mobile terminal reporting;And after judgement occurs taking event, with exchange
The form of signal takes event via the microphone lines of earphone to described in corresponding mobile terminal reporting.
The present invention also provides a kind of earphone, which can be wireless headset, USB according to different event reporting schemes
Interface headphones, 3.5mm line control earphones, the earphone are provided with equal with the extraneous inner sensors and outer sensors communicated, wherein
Inner sensors, which are arranged on, is located at ear canal internal when wearing earphone, outer sensors are arranged to be located at ear when wearing earphone
Outside road;The earphone is additionally provided with the wearing state detecting system for executing the method for the present invention, the wearing state detecting system
It can be above-mentioned wearing state detecting system 1.
Each embodiment in this specification is described in a progressive manner, identical 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 may or may not be object as the module that separating component illustrates
It is separated in reason.
Although some specific embodiments of the present invention are described in detail by example, the skill of this field
Art personnel it should be understood that example above merely to illustrating, 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 example.This hair
Bright range is defined by the following claims.