Nothing Special   »   [go: up one dir, main page]

CN105491483B - Wearing state detection method, system and earphone for earphone - Google Patents

Wearing state detection method, system and earphone for earphone Download PDF

Info

Publication number
CN105491483B
CN105491483B CN201510861645.9A CN201510861645A CN105491483B CN 105491483 B CN105491483 B CN 105491483B CN 201510861645 A CN201510861645 A CN 201510861645A CN 105491483 B CN105491483 B CN 105491483B
Authority
CN
China
Prior art keywords
signal
earphone
wearing
event
sensors
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
Application number
CN201510861645.9A
Other languages
Chinese (zh)
Other versions
CN105491483A (en
Inventor
温立
方华斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Microelectronics Inc
Original Assignee
Goertek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Inc filed Critical Goertek Inc
Priority to CN201510861645.9A priority Critical patent/CN105491483B/en
Publication of CN105491483A publication Critical patent/CN105491483A/en
Application granted granted Critical
Publication of CN105491483B publication Critical patent/CN105491483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The invention discloses a kind of wearing state detection method, system and earphones for earphone, the earphone is provided with equal with the extraneous inside communicated, outer sensors, inner sensors are set when wearing earphone positioned at the position of ear canal internal, position when outer sensors are arranged to wear earphone outside duct, this method include:Obtain collected first moisture signal of inner sensors;Obtain collected second moisture signal of outer sensors;Based on the difference of the first and second moisture signals, the status signal of reflection wearing state is obtained;When rising edge occurs in status signal and edge variable quantity is more than to wear reference threshold, there is wearing event in judgement;When failing edge occurs in status signal and edge variable quantity is more than to take reference threshold, judgement occurs taking event.The present invention is realized with the purpose of the simple and practicable accurate test earphone wearing state of method.

Description

Wearing state detection method, system and earphone for earphone
Technical field
The present invention relates to ear phone technology fields, more particularly it relates to which a kind of wearing state for earphone detects Method, a kind of wearing state detecting system that can realize the wearing state detection method and it is provided with this kind of wearing state inspection The earphone of examining system.
Background technology
It for the intelligent earphone with additional function, is mainly powered at present by two ways, one is intelligent earphones certainly Charged pool is powered, and another kind is to be powered by mobile terminal, but no matter which kind of power supply mode used, if user is taking earphone When forget to close the application currently opened, will all generate meaningless power consumption, wherein ear will be caused for the first power supply mode The meaningless power consumption of machine, and then the actual use duration of earphone is reduced, mobile phone etc. will be caused mobile eventually second of power supply mode Meaningless power consumption is held, and then reduces the actual use duration of mobile terminal.Based on the problem, it is currently suggested and is judged by earphone And earphone wearing state information is uploaded to mobile terminal, so that mobile terminal is turned on or off according to earphone wearing state information The scheme of respective application, and then the purpose realized power saving, exempt from operation, promote user experience.
Currently, there are mainly two types of the detection methods of earphone wearing state, one is two condenser types are arranged in earphone to pass Sensor, one of variation for being used to detect environment as reference sensor, another is used for as condition adjudgement sensor The judgement of earphone wearing state is carried out on the basis of the detection of reference sensor;Another kind is two microphones of setting on earphone, One is attached to external sound in the state that user wears earphone as outside microphone and is picked without veil Position, another is used as inside microphone to be attached to external sound in the state that user wears earphone and is picked via veil Position, and the signal between the voice signal obtained according to the voice signal obtained by outside microphone and by inside microphone Comparison result is believed with when being reached as pre-stored sound external under non-wearing state by the sound that outside microphone obtains The non-wearing state reference value of signal comparison result number between the voice signal that is obtained by inside microphone and as pre- The external sound under wearing state first stored reach up to when the voice signal that is obtained by outside microphone and by inside microphone Similitude between the wearing state reference value of signal comparison result between the voice signal of acquisition detects wearing state.This two Kind detection method has that calculation amount is larger and then response speed is caused not promoted further, and second of detection There is also detection accuracies to be affected by the external environment for method, and then the problem for causing detection accuracy unstable.
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.
Description of the drawings
It is combined in the description and the attached drawing of a part for constitution instruction shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is the flow chart according to a kind of embodiment of wearing state detection method of the present invention;
Fig. 2 is the flow chart according to the another embodiment of wearing state detection method of the present invention;
Fig. 3 is to be illustrated according to a kind of circuit of embodiment of the data transmission circuit of wearing state detection method of the present invention Figure;
Fig. 4 is a kind of flow chart of the embodiment reported according to the event of wearing state detection method of the present invention;
Fig. 5 is the flow graph of the another embodiment reported according to the event of wearing state detection method of the present invention;
Fig. 6 is the frame principle figure according to a kind of implementation structure of wearing state detecting system of the present invention;
Fig. 7 is another frame principle figure for implementing structure according to wearing state detecting system of the present invention.
Reference sign:
U1- signal processing units;U2- control units;
J- earphone jacks;JM- jacks end microphone lines;
JG- jacks end ground wire;C1- capacitances;
R13- current dividers;R4- biasing resistors;
Q1- data backs switch;K1- first passages switch;
K2- second channels switch;Vout- feeder ears;
B1- microphone bias circuits;R3- biasing resistors;
1- wearing state detecting systems;101- signal acquisition modules;
102- computing modules;103- event monitoring modules;
104- event reporting modules.
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.

Claims (10)

1. a kind of wearing state detection method for earphone, which is characterized in that the earphone is provided with equal to be communicated with extraneous Inner sensors and outer sensors, 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 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, wherein first moisture signal It is time series with 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, judgement is worn Wear event;
It is more than to set when taking reference threshold failing edge and edge variable quantity occur in the status signal, and judgement is plucked Lower event.
2. according to the method described in claim 1, it is characterized in that, 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 status signal of reflection wearing state is obtained.
3. according to the method described in claim 2, it is characterized in that, described to the humidity differences signal and the temperature gap Signal is merged specially:
Summation is weighted to the humidity differences signal and the temperature difference signal.
4. according to the method described in claim 3, it is characterized in that, the weighting coefficient of the humidity differences signal is more than the temperature Spend the weighting coefficient of difference signal.
5. method according to claim 1 to 4, which is characterized in that the method further includes:
After wearing event occurs in judgement, in the form of AC signal via the microphone lines of earphone on corresponding mobile terminal Report the wearing event;
After judgement occurs taking event, in the form of AC signal via the microphone lines of earphone on corresponding mobile terminal Event is taken described in report.
6. method according to claim 1 to 4, which is characterized in that the method further includes:
After wearing event occurs in judgement, 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, so that startup pause is pressed in the microphone lines acquisition of earphone The mode of the corresponding voltage of 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 so that The mode that the corresponding voltage of startup Pause key is pressed in the microphone lines acquisition of earphone is taken to described in corresponding mobile terminal reporting Event;If not, taking event described in ignoring.
7. a kind of wearing state detecting system for earphone, which is characterized in that the earphone is provided with equal to be communicated with extraneous Inner sensors and outer sensors, 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 comprises:
Signal acquisition module, for obtaining the collected moisture signal of the inner sensors as the first moisture signal, and use In obtaining the collected moisture signal of outer sensors as the second moisture signal, wherein first moisture signal and Second moisture signal is time series;
Computing module is used for the difference based on first moisture signal Yu second moisture signal, obtains humidity differences letter Number, 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 reference set for there is rising edge and edge variable quantity in the status signal When threshold value, there is wearing event in judgement;And for there is failing edge and edge variable quantity in the status signal it is more than setting When taking reference threshold, judgement occurs taking event.
8. system according to claim 7, which is characterized in that the signal acquisition module is additionally operable to obtain the inside biography The collected temperature signal of sensor is as the first temperature signal, and obtains the collected temperature signal conduct of outer sensors 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 Value signal, and the humidity differences signal and the temperature difference signal are merged, obtain the state of reflection wearing state Signal.
9. system according to claim 8, which is characterized in that the computing module is specifically used for believing the humidity differences Number and the temperature difference signal be weighted summation, obtain reflect wearing state status signal.
10. a kind of earphone, which is characterized in that be provided with equal with the extraneous inner sensors and outer sensors communicated, wherein institute It states inner sensors and is arranged on and be located at ear canal internal when wearing earphone, the outer sensors are arranged to when wearing earphone Outside duct;The earphone is additionally provided with the wearing state inspection that any one of 1 to 6 the method is required for perform claim Examining system.
CN201510861645.9A 2015-11-30 2015-11-30 Wearing state detection method, system and earphone for earphone Active CN105491483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510861645.9A CN105491483B (en) 2015-11-30 2015-11-30 Wearing state detection method, system and earphone for earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510861645.9A CN105491483B (en) 2015-11-30 2015-11-30 Wearing state detection method, system and earphone for earphone

Publications (2)

Publication Number Publication Date
CN105491483A CN105491483A (en) 2016-04-13
CN105491483B true CN105491483B (en) 2018-11-02

Family

ID=55678137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510861645.9A Active CN105491483B (en) 2015-11-30 2015-11-30 Wearing state detection method, system and earphone for earphone

Country Status (1)

Country Link
CN (1) CN105491483B (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933824A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Audio switching method and device of terminal
WO2018014246A1 (en) * 2016-07-20 2018-01-25 深圳市汇顶科技股份有限公司 Earphone and interactive system
US9838812B1 (en) * 2016-11-03 2017-12-05 Bose Corporation On/off head detection of personal acoustic device using an earpiece microphone
CN106792314B (en) * 2016-12-29 2019-06-18 歌尔科技有限公司 A kind of detection method of ear-sticking headphone and its wearing state
CN108347671B (en) * 2017-01-24 2020-08-14 瑞昱半导体股份有限公司 Noise eliminating device and noise eliminating method
CN107065016B (en) * 2017-03-01 2019-04-12 歌尔科技有限公司 A kind of wearing detection method, device and headphone for headphone
CN106851459A (en) * 2017-03-22 2017-06-13 广州三星通信技术研究有限公司 In-Ear Headphones
CN106792407A (en) * 2017-04-06 2017-05-31 丽声助听器(福州)有限公司 A kind of audiphone
CN108882078B (en) * 2017-05-09 2021-01-26 腾讯科技(深圳)有限公司 Headset and method for detecting wearing of headset
CN107205187B (en) * 2017-06-21 2019-10-01 深圳市冠旭电子股份有限公司 A kind of method, apparatus and terminal device based on earphone control music
US10045111B1 (en) * 2017-09-29 2018-08-07 Bose Corporation On/off head detection using capacitive sensing
CN108134969B (en) * 2017-11-30 2019-10-22 北京松果电子有限公司 The detection method and device of earphone wearing state
CN110383854B (en) * 2018-02-14 2021-06-18 深圳市汇顶科技股份有限公司 Detection circuit and method
CN108810788B (en) * 2018-06-12 2021-09-03 歌尔科技有限公司 Wearing condition detection method and device of wireless earphone and wireless earphone
CN109068226B (en) * 2018-09-29 2020-10-16 安克创新科技股份有限公司 Earphone and control method thereof
CN109246513A (en) * 2018-09-30 2019-01-18 歌尔科技有限公司 A kind of active noise reduction earphone and its noise-reduction method, device
CN109168102A (en) * 2018-11-22 2019-01-08 歌尔科技有限公司 A kind of earphone wearing state detection method, device and earphone
KR102348191B1 (en) * 2018-12-26 2022-01-06 선전 구딕스 테크놀로지 컴퍼니, 리미티드 Wear detection method, device, wearable device and storage medium
CN111050266B (en) * 2019-12-20 2021-07-30 朱凤邹 Method and system for performing function control based on earphone detection action
CN111294719B (en) * 2020-01-20 2021-10-22 北京声加科技有限公司 Method and device for detecting in-ear state of ear-wearing type device and mobile terminal
CN113329298B (en) * 2021-06-15 2023-11-07 立讯电子科技(昆山)有限公司 Earphone control method and earphone
CN113709623B (en) * 2021-10-28 2022-03-25 易兆微电子(杭州)股份有限公司 Earphone control method and device, earphone and storage medium
CN114554382B (en) * 2022-02-28 2023-09-22 恒玄科技(上海)股份有限公司 In-ear detection method and device, wireless earphone and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410900A (en) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 Device for and method of processing data for a wearable apparatus
CN102885617A (en) * 2012-11-01 2013-01-23 刘维明 Physical fitness detection device for power supply by using human motion and detection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201127093A (en) * 2010-01-28 2011-08-01 Merry Electronics Co Ltd Insert earphone with capacitance-sensing function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101410900A (en) * 2006-03-24 2009-04-15 皇家飞利浦电子股份有限公司 Device for and method of processing data for a wearable apparatus
CN102885617A (en) * 2012-11-01 2013-01-23 刘维明 Physical fitness detection device for power supply by using human motion and detection method

Also Published As

Publication number Publication date
CN105491483A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN105491483B (en) Wearing state detection method, system and earphone for earphone
CN105487899B (en) Wearing state method for reporting, system and earphone for earphone
CN110166871B (en) Earphone charging box, TWS earphone, working state switching method and storage medium
US9344793B2 (en) Audio apparatus and methods
CN110691294B (en) Audio control method, charging box and wireless earphone device
EP3588248B1 (en) Earphones and terminal
US9461606B2 (en) Systems and methods for automatic signal attenuation
CN105162950B (en) Mobile terminal and method for switching microphones in call
CN104484150B (en) Method, device and a kind of terminal that a kind of audio is played
CN104506987B (en) A kind of intelligent earphone control method and a kind of intelligent earphone
CN105794186A (en) Method, device and electronic device for controlling application program
CN102170493B (en) Mobile phone as well as method and device for controlling video calls of mobile phone
CN105246002B (en) Data transmission circuit, mobile terminal and line control earphone for line control earphone
CN104509129A (en) Auto detection of headphone orientation
CN107959903A (en) Audio output switching method, feedback earphone wearing state method, apparatus and earphone
CN105163216B (en) A kind of method and earphone of automatic broadcasting music
CN103384288A (en) Method for automatically controlling terminal voice channel and terminal
CN113242483B (en) Charging control method, electronic device, charging box and electronic system
CN109788387A (en) Control method, bluetooth headset and the computer readable storage medium of bluetooth headset
CN110366062B (en) TWS earphone in-place detection method and system
CN106375573B (en) Method and device for switching call mode
CN109327758A (en) A kind of wireless playing equipment and its control method for playing back and device
CN109151647A (en) Interaction control method, device, Earphone box and the storage medium of Earphone box
CN103118191A (en) Using control method and mobile terminal for iPhone wire control earphone
CN106101408A (en) A kind of mobile terminal and method for regulation of sound volume thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 261031 Dongfang Road, Weifang high tech Development Zone, Shandong, China, No. 268

Applicant after: Goertek Inc.

Address before: 261031 Dongfang Road, Weifang high tech Development Zone, Shandong, China, No. 268

Applicant before: Goertek Inc.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200608

Address after: 266104 room 103, 396 Songling Road, Laoshan District, Qingdao, Shandong Province

Patentee after: Goer Microelectronics Co.,Ltd.

Address before: 261031 Dongfang Road, Weifang high tech Development Zone, Shandong, China, No. 268

Patentee before: GOERTEK Inc.

TR01 Transfer of patent right