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

CN106792314B - A kind of detection method of ear-sticking headphone and its wearing state - Google Patents

A kind of detection method of ear-sticking headphone and its wearing state Download PDF

Info

Publication number
CN106792314B
CN106792314B CN201611246965.4A CN201611246965A CN106792314B CN 106792314 B CN106792314 B CN 106792314B CN 201611246965 A CN201611246965 A CN 201611246965A CN 106792314 B CN106792314 B CN 106792314B
Authority
CN
China
Prior art keywords
ring
inner ring
ear
outer ring
headphone
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
CN201611246965.4A
Other languages
Chinese (zh)
Other versions
CN106792314A (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 Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
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 Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201611246965.4A priority Critical patent/CN106792314B/en
Publication of CN106792314A publication Critical patent/CN106792314A/en
Application granted granted Critical
Publication of CN106792314B publication Critical patent/CN106792314B/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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1008Earpieces of the supra-aural or circum-aural type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The invention discloses the detection methods of ear-sticking headphone and its wearing state.This method comprises: configure outer ring sensor and interior ring sensor carries out environmental scanning respectively, the outer ring capacitance current value of calculating and interior ring capacitance current value respectively with the difference of corresponding a reference value;Compare the size of outer ring difference and outer loop threshold, if outer ring difference is greater than outer loop threshold, and wear markers position is non-wearing state, then judges that ear-sticking headphone is non-wearing state,;If wear markers position is less than outer loop threshold labeled as wearing state or outer ring difference, compare the size of inner ring difference Yu inner ring threshold value, if inner ring difference is greater than inner ring threshold value, judges that ear-sticking headphone is wearing state;If inner ring difference is not more than inner ring threshold value, judge that ear-sticking headphone is non-wearing state.As it can be seen that variation of the present invention by the capacitance of test earphone inner ring and outer rings, the wearing state of accurate judgement earphone prevent excess power consumption, enhance user experience.

Description

A kind of detection method of ear-sticking headphone and its wearing state
Technical field
The present invention relates to ear phone technology field, in particular to the detection side of a kind of ear-sticking headphone and its wearing state Method, ear-sticking headphone.
Background technique
With the prevalence of Intelligent mobile equipment, corollary equipment emerges one after another.Such as user listens terminal mobile using earphone It is audio-visual in equipment, life is enriched, may also help in time utilization of the user by fragmentation while loosening mood.At this The amusement of the audio-visual aspect of kind, needs to cooperate a corresponding earphone according to demand.Especially ear-sticking headphone, because of its wearing Comfort afterwards is more by the favor of user.
The user of requirement with to(for) earphone is higher and higher, and earphone needs the more intelligent need for more easily coping with consumer It asks.There are many wear-type bluetooth headsets currently on the market, only pursues better sound quality, but the seldom otherwise function of control earphone Energy.For example, whether earphone can not judge automatically in the state worn, can not accurately control earphone play automatically audio or from Dynamic incoming call answering, reduces user experience;Or the broadcasting of earphone automatic pause audio can not be accurately controlled, cause earphone and movement The excess power consumption of terminal device.
Summary of the invention
It whether can not judge automatically in view of prior art earphone in the state worn, it is automatic earphone can not to be accurately controlled Audio or auto-pickup incoming call are played, user experience is reduced;Or the broadcasting of earphone automatic pause audio can not be accurately controlled, it makes The problem of at the excess power consumption of earphone and mobile terminal device, proposes a kind of ear-sticking headphone of the invention and its wearing The detection method of state, to solve or at least be partially solved the above problem.
According to an aspect of the invention, there is provided a kind of detection method of ear-sticking headphone wearing state, special Sign is, which comprises
Configure outer ring sensor and interior ring sensor in the ear-sticking headphone, the outer ring sensor and described Interior ring sensor its capacitance when earphone is worn will increase;
The corresponding outer ring sensor is stored in advance an outer ring capacitance a reference value and identifies the outer ring of outer ring capacitance change The inner ring of ring capacitance a reference value and mark inner ring capacitance change in one is stored in advance in threshold value, and the corresponding interior ring sensor Threshold value;One wear markers position is set, in ear-sticking headphone booting, the wear markers position is initialized as not wearing Wear state;
Environmental scanning is carried out using the outer ring sensor and the interior ring sensor, scanning obtains outside one respectively every time Ring capacitance current value and an interior ring capacitance current value, the outer ring capacitance current value and the inner ring that each scanning is obtained Capacitor current value real-time perfoming operates as follows:
The difference of the outer ring capacitance a reference value of the outer ring capacitance current value and storage is calculated as outer ring difference, with And calculate the interior ring capacitance current value and storage the interior ring capacitance a reference value difference as inner ring difference;
Read the outer loop threshold of storage, the size of the outer ring difference and the outer loop threshold;
If the outer ring difference is greater than the outer loop threshold, the wearing state of the wear markers position is first read;If institute Wear markers position is stated labeled as non-wearing state, then judges that the ear-sticking headphone is non-wearing state;If the wearing Marker bit be labeled as wearing state, then further read storage the inner ring threshold value, the inner ring difference with it is described interior The size of ring threshold value;
If the outer ring difference is not more than the outer loop threshold, the inner ring threshold value of storage is also further read, than The size of the inner ring difference and the inner ring threshold value;
If the inner ring difference is greater than the inner ring threshold value, judge that the ear-sticking headphone is wearing state, and The wear markers position is labeled as wearing state;If the inner ring difference is not more than the inner ring threshold value, the patch is judged Ear formula headphone is non-wearing state, and the wear markers position is labeled as non-wearing state.
According to another aspect of the present invention, a kind of ear-sticking headphone is provided, which is characterized in that the earphone packet It includes: outer ring sensor, interior ring sensor, microprocessor unit and storage unit;Mark is worn in setting one in the microprocessor Remember position, in ear-sticking headphone booting, the wear markers position is initialized as non-wearing state;
The outer ring sensor, for carrying out environmental scanning, scanning obtains an outer ring capacitance current value every time;
The interior ring sensor, for carrying out environmental scanning, scanning obtains an interior ring capacitance current value every time;
The storage unit, for storing the outer ring capacitance a reference value and mark outer ring electricity of the corresponding outer ring sensor Ring capacitance in holding ring capacitance a reference value in the outer loop threshold of variable quantity, and the one of the corresponding interior ring sensor of storage and identifying The inner ring threshold value of variable quantity;
The microprocessor unit, the outer ring capacitance current value and the interior ring capacitance for being obtained to each scanning Current value, the difference for calculating the outer ring capacitance a reference value of the outer ring capacitance current value and storage in real time are poor as outer ring Value, and calculate the interior ring capacitance current value and storage the interior ring capacitance a reference value difference as inner ring difference;
The microprocessor unit, is also used to read the outer loop threshold of storage, the outer ring difference with it is described The size of outer loop threshold;If the outer ring difference is greater than the outer loop threshold, the wearing shape of the wear markers position is first read State;If the wear markers position is labeled as non-wearing state, judge that the ear-sticking headphone is non-wearing state;If institute Wear markers position is stated labeled as wearing state, then further reads the inner ring threshold value of storage, the inner ring difference with The size of the inner ring threshold value;If the outer ring difference is not more than the outer loop threshold, the described of storage is also further read Inner ring threshold value, the size of the inner ring difference and the inner ring threshold value;If the inner ring difference is greater than the inner ring threshold value, Then judge that the ear-sticking headphone is wearing state, and the wear markers position is labeled as wearing state;If in described Ring difference is not more than the inner ring threshold value, then judges that the ear-sticking headphone is non-wearing state, and the wearing is marked Remember that position is labeled as non-wearing state.
In conclusion the present invention configures outer ring sensor in ear-sticking headphone and interior ring sensor carries out ring respectively Border scanning, the outer ring capacitance current value of acquisition and interior ring capacitance current value are made the difference with corresponding a reference value respectively;Compare outer ring The size of difference and outer loop threshold, if outer ring difference is greater than outer loop threshold, and wear markers position is non-wearing state, then judges to paste Ear formula headphone is non-wearing state, then may be the variation of capacitance caused by the maloperation of user, at this moment just without Play audio or incoming call answering;Or pause audio plays or incoming call answering;If wear markers position is labeled as wearing state, or Person's outer ring difference is less than outer loop threshold, then further compares the size of inner ring difference and inner ring threshold value, if inner ring difference is greater than interior Ring threshold value then judges that ear-sticking headphone is wearing state, automatic to play audio or incoming call answering;If inner ring difference is little In inner ring threshold value, then judges that ear-sticking headphone is non-wearing state, then may be capacitance caused by the maloperation of user Variation, at this moment just without audio play or incoming call answering;Or pause audio plays or incoming call answering.As it can be seen that of the invention By the variation of the capacitance of test earphone inner ring and outer rings, maloperation is excluded, the wearing state of accurate judgement earphone, and then from The dynamic broadcasting or pause for realizing audio, and whether auto-pickup is sent a telegram here, and is manually operated without user, it is convenient and efficient, it prevented Power consumption is spent, user experience is enhanced.
Detailed description of the invention
Fig. 1 is a kind of process of the detection method of ear-sticking headphone wearing state provided by one embodiment of the present invention Figure;
Fig. 2 is a kind of stream of the detection method for ear-sticking headphone wearing state that another embodiment of the present invention provides Cheng Tu;
Fig. 3 is a kind of structural schematic diagram of ear-sticking headphone provided by one embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram for ear-sticking headphone that another embodiment of the present invention provides.
Specific embodiment
Mentality of designing of the invention is: ear-sticking headphone when wearing state changes, ambient enviroment Variation can cause the variation of capacitance, can carry out sentencing for the wearing state of ear-sticking headphone by the variation of capacitance It is disconnected.It whether can not judge automatically in view of prior art earphone in the state worn, earphone can not be accurately controlled and played automatically Audio or auto-pickup incoming call, reduce user experience;Or the broadcasting of earphone automatic pause audio can not be accurately controlled, cause ear The problem of excess power consumption of machine and mobile terminal device.The present invention configures outer ring sensor and inner ring in ear-sticking headphone Sensor carries out environmental scanning respectively, and to obtain outer ring capacitance current value and interior ring capacitance current value, it is current to calculate outer ring capacitance The difference of value and outer ring capacitance a reference value is as outer ring difference, and calculates interior ring capacitance current value and interior ring capacitance a reference value After difference is as inner ring difference, comprehensive outer ring difference compared with the size of outer loop threshold and inner ring difference and inner ring threshold value it is big Small comparison result, the wearing state of accurate judgement earphone carry out the automatic realization broadcasting of audio or answering for incoming call, without using Family manual operation, it is convenient and efficient.To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing pair Embodiment of the present invention is described in further detail.
Fig. 1 is a kind of process of the detection method of ear-sticking headphone wearing state provided by one embodiment of the present invention Figure.As shown in Figure 1, this method comprises:
Step S110, configures outer ring sensor and interior ring sensor in ear-sticking headphone, outer ring sensor and interior Ring sensor its capacitance when earphone is worn will increase.
The outer ring sensor and interior ring sensor of the present embodiment can be arranged respectively at the outer of the ear muff of ear-sticking headphone The capacitance of ring and inner ring, outer ring sensor and interior ring sensor is influenced to change by the temperature and appropriateness of environment.When When earphone is worn, interior ring sensor and human skin close contact, temperature and humidity be will increase very much, so interior ring capacitance Value increases more;Outer ring sensor contacted with human skin it is less, although being increased, increase it is less.
Step S120, corresponding outer ring sensor are stored in advance an outer ring capacitance a reference value and identify outer ring capacitance change The inner ring of ring capacitance a reference value and mark inner ring capacitance change in one is stored in advance in outer loop threshold, and corresponding interior ring sensor Threshold value;One wear markers position is set, in the booting of ear-sticking headphone, wear markers position is initialized as non-wearing state.
The variation of temperature and humidity can cause the variation of capacitance, can use capacitance variation judge earphone whether by It wears.So needing to be set separately a reference value and threshold value of corresponding outer ring sensor and interior ring sensor, inner ring threshold value here It with outer loop threshold is obtained according to a large amount of actual test data.In addition, during judging earphone wearing state, in order to The maloperation for excluding user, the wearing state for also needing to combine earphone current while needing to be judged according to capacitance carry out Judgement, so a wear markers position is arranged in earphone, there are two types of states for wear markers position, respectively indicate the wearing state of earphone With non-wearing state.For example, indicating wearing state with " DON ";Non- wearing state is indicated with " DOFF ".In ear-sticking headphone When booting, wear markers position is initialized as non-wearing state, when the wearing state of earphone changes, the shape of wear markers position State also can be with the corresponding variation of generation.
Step S130 carries out environmental scanning using outer ring sensor and interior ring sensor, and scanning obtains one respectively every time Outer ring capacitance current value and an interior ring capacitance current value.Environment, which changes, causes the variation of environment temperature and humidity, in turn Cause the variation of outer ring capacitance and inner ring capacitance, in order to judge in real time the wearing state of earphone, scans every time When, it requires to obtain the outer ring capacitance current value and interior ring capacitance current value under earphone current state.
Then the outer ring capacitance current value and interior ring capacitance current value real-time perfoming of each scanning acquisition are operated as follows:
Step S140, calculates the difference of the outer ring capacitance a reference value of outer ring capacitance current value and storage as outer ring difference, And in calculating the interior ring capacitance a reference value of ring capacitance current value and storage difference as inner ring difference, so as to corresponding threshold Value is compared.
Step S150 reads the outer loop threshold of storage, compares the size of outer ring difference and outer loop threshold;If outer ring difference is big In outer loop threshold, then the wearing state of wear markers position is first read;If wear markers position is labeled as non-wearing state, judge to paste Ear formula headphone is non-wearing state;If wear markers position is labeled as wearing state, the inner ring threshold of storage is further read Value, compares the size of inner ring difference Yu inner ring threshold value.
Capacitance can change with the variation of environment temperature and humidity, when earphone is in wearing state, inner ring difference It is larger, when the wearing state for judging earphone, although can be simply by comparing the big of inner ring difference and inner ring threshold value Small judgement, but be not excluded for user and there is a situation where that inner ring difference caused by accidentally touching earphone is larger, simply by inner ring difference It is unable to judge accurately the wearing state of earphone.For example, user when earphone is not worn, holds the ear muff of earphone, Inner ring difference is caused greater than inner ring threshold value, earphone will be judged and be in wearing state, the automatic broadcasting for carrying out audio or oneself Dynamic incoming call answering, but user does not use earphone at this time, will result in the excessive function of earphone and mobile terminal device in this way Consumption reduces user experience.
In order to exclude the maloperation of user, the wearing state of accurate judgement earphone, it is contemplated that: when earphone is in wearing state When, interior ring sensor and human skin close contact, inner ring capacitance increase more;Outer ring sensor is contacted with human skin Less, although being increased, what is increased is less;If it is user misoperation (such as the operation for holding ear muff), draw While the capacitance of ring sensor increases in rising, the capacitance of outer ring sensor can also be caused to increase, and hand is grabbed ear muff and made outside Ring sensor and human skin close contact, the capacitance of outer ring sensor increase more.So the present embodiment compares first Compared with the size of outer ring difference and outer loop threshold.If outer ring difference is greater than outer loop threshold, but may be that user in earphone does not wear shape State carries out the operation that hand grabs ear muff, it is also possible to which user carries out the operation that hand grabs ear muff in earphone wearing state, so judging Before earphone wearing state, the wearing state of wear markers position is first read;If wear markers position is labeled as non-wearing state, say Bright is the maloperation that user grabs ear muff in the non-wearing state progress hand of earphone, judges that ear-sticking headphone is non-wearing state; If wear markers position is labeled as wearing state, it may be possible to which user carries out hand in earphone wearing state and grabs the operation of ear muff, so being The further maloperation for excluding user then needs further to read the inner ring threshold value of storage, compares inner ring difference and inner ring threshold The size of value judges the wearing state of earphone in terms of interior ring sensor.
It may be that earphone is in wearing shape if outer ring difference is not more than outer loop threshold and in above-mentioned comparison procedure State, outer ring difference is smaller or the maloperation of user does not cause biggish outer ring difference, in order to further judge the pendant of earphone Wear state, it is contemplated that earphone is in wearing state, and inner ring difference is larger, so need further to read the inner ring threshold value of storage, Compare the size of inner ring difference Yu inner ring threshold value.
Step S160 illustrates that strictly user is in earphone wearing state progress hand if inner ring difference is greater than inner ring threshold value It is smaller that the operation or the current state of earphone for grabbing ear muff meet the outer ring difference in wearing state, the biggish feelings of inner ring difference Condition then judges that ear-sticking headphone is wearing state, and wear markers position is labeled as wearing state;If inner ring difference is little In inner ring threshold value, then do not meet earphone be in wearing state outer ring difference it is smaller, the larger situation of inner ring difference, judge paste ear Formula headphone is non-wearing state, and wear markers position is labeled as non-wearing state.
As it can be seen that variation of the present invention by the capacitance of test earphone inner ring and outer rings, excludes maloperation, accurate judgement ear The wearing state of machine, and then the broadcasting or pause of audio are realized automatically, and whether auto-pickup is sent a telegram here, and is grasped manually without user Make, it is convenient and efficient, excess power consumption is prevented, user experience is enhanced.
If ear-sticking headphone is in non-wearing state, but being not excluded for earphone can move with user, week Collarette border can change at any time, it is meant that changes will occur for the temperature and humidity of ambient enviroment, and capacitor a reference value will be sent out Changing recycles preset outer ring a reference value and inner ring a reference value to be judged, just not can guarantee and sentence during judgement Disconnected accuracy.For example, the inner ring a reference value of storage is 50, inner ring threshold value is 30, then environment does not change, earphone is in When non-wearing state, interior ring capacitance current value is 60, then current inner ring difference is 10, less than 30, then judges that earphone is not wear State the result is that correct;But if environment has occurred and that variation, inner ring a reference value should be 90, and earphone is in and does not wear The interior ring capacitance current value obtained when state is 100, if calculating inner ring difference is further according to the inner ring a reference value 50 of storage 50, it is greater than 30, then judges that earphone is wearing state the result is that incorrect, because inner ring a reference value at this time has occurred that Variation.So in the case where in order to guarantee that environment changes, also can accurate judgement earphone wearing state, need the moment according to The variation of environment updates outer ring a reference value and inner ring a reference value, and in one embodiment of the invention, method shown in FIG. 1 is into one Step includes: when judging ear-sticking headphone is non-wearing state, and the outer ring capacitance obtained using last time scanning is current The outer ring capacitance a reference value and interior ring capacitance a reference value that value and interior ring capacitance current value update storage respectively.
Outer ring capacitance a reference value and interior ring capacitance benchmark when judging ear-sticking headphone is wearing state, to storage Value is without updating.Because the state that wear markers are is wearing state when earphone is in wearing state, judged when It waits, either which kind of situation, requires the judgement for carrying out inner ring difference, as long as earphone is in wearing state, environment causes Inner ring a reference value variation or to be far smaller than the variation of human skin bring inner ring difference, a reference value is without more Newly, smaller to the influence of judging result.
For above-mentioned steps, if earphone is not physics shutdown, interior ring sensor and outer ring sensor can all carry out constantly Environmental scanning is simultaneously judged, will also result in the excess power consumption of earphone or terminal device in this way, in order to reduce excess power consumption.At this In one embodiment of invention, method shown in FIG. 1 further include: a variety of connection types of corresponding ear-sticking headphone, are outer Ring sensor and interior ring sensor are pre-configured with a variety of trace intervals, and every kind of connection type corresponded between a kind of sweep time Every;According to the connection type of ear-sticking headphone, outer ring sensor is set and interior ring sensor uses corresponding sweep time Interval carries out environmental scanning.
Because earphone can there are many connection types, such as bluetooth connection, usb line connection or 3.5mm earphone interface Line connection can all set different sweep times for each connection type, after earphone is opened, obtain the connection of earphone first Then mode obtains sweep time further according to the connection type of earphone, use phase to control interior ring sensor and outer ring sensor The trace interval answered carries out environmental scanning.
Earphone is mentioned in above description, and there are many connection types, such as bluetooth connection, usb line connection or 3.5mm ear The connection of machine interface line, every kind of connection type also have different influences to sensor.In order to adapt to the different connection types of earphone. In one embodiment of the invention, method shown in FIG. 1 further include: a variety of connection types of corresponding ear-sticking headphone, A variety of outer loop thresholds and a variety of inner ring threshold values, every kind of connection type corresponding one is stored in advance for outer ring sensor and interior ring sensor Kind outer loop threshold and a kind of inner ring threshold value;According to the connection type of ear-sticking headphone, corresponding outer loop threshold and outer is read Ring difference carries out size comparison, and reads corresponding inner ring threshold value compared with inner ring difference carries out size.
After earphone is opened, the connection type of earphone is obtained first, is carrying out outer loop threshold and outer ring difference progress size ratio Compared with perhaps inner ring threshold value compared with inner ring difference carries out size before first according to connection type carry out corresponding outer loop threshold or The reading of corresponding inner ring threshold value.
In one embodiment of the invention, the connection type of ear-sticking headphone includes: bluetooth connection, USB interface Line connection or the connection of 3.5mm earphone interface line.
Fig. 2 is a kind of stream of the detection method for ear-sticking headphone wearing state that another embodiment of the present invention provides Cheng Tu.As shown in Fig. 2, this method comprises:
Step S210, carries out environmental scanning using outer ring sensor and interior ring sensor, obtains the outer of current environment respectively Ring capacitance current value and interior ring capacitance current value.
It is poor to calculate separately outer also difference and inner ring according to outer ring capacitance a reference value and interior ring capacitance a reference value by step S220 Value.
Whether step S230, the outer also difference of judgement are greater than outer loop threshold;
Step S240 judges whether ear-sticking headphone is wearing state if being judged as YES in step S230;
Step S250 further judges if being judged as YES in being judged as NO in step S230 and step S240 Whether interior also difference is greater than inner ring threshold value.
Step S260, if being judged as NO in being judged as NO in step S250 and step S240, judges ear-sticking Headphone is non-wearing state.
Step S270 judges that ear-sticking headphone is wearing state if being judged as YES in step S250.
Fig. 3 is a kind of structural schematic diagram of ear-sticking headphone provided by one embodiment of the present invention.As shown in figure 3, The ear-sticking headphone 300 includes: outer ring sensor 310, interior ring sensor 320, microprocessor unit 330 and storage unit 340;One wear markers position is set in microprocessor 330, in the booting of ear-sticking headphone, wear markers position is initialized For non-wearing state.
Outer ring sensor 310, for carrying out environmental scanning, scanning obtains an outer ring capacitance current value every time.
Interior ring sensor 320, for carrying out environmental scanning, scanning obtains an interior ring capacitance current value every time.
Storage unit 340, for storing an outer ring capacitance a reference value of corresponding outer ring sensor 310 and identifying outer ring capacitance Ring capacitance a reference value becomes with ring capacitance in mark in the outer loop threshold of variable quantity, and the one of the corresponding interior ring sensor 320 of storage The inner ring threshold value of change amount.
Microprocessor unit 330, outer ring capacitance current value and interior ring capacitance current value for obtaining to each scanning are real When calculate outer ring capacitance current value and storage the difference of outer ring capacitance a reference value be used as outer ring difference, and the interior ring capacitance of calculating The difference of current value and the interior ring capacitance a reference value of storage is as inner ring difference.
Microprocessor unit 330 is also used to read the outer loop threshold of storage, compares the big of outer ring difference and outer loop threshold It is small;If outer ring difference is greater than outer loop threshold, the wearing state of wear markers position is first read;If wear markers position is labeled as not wearing State is worn, then judges that ear-sticking headphone is non-wearing state;If wear markers position is labeled as wearing state, further read The inner ring threshold value for taking storage, compares the size of inner ring difference Yu inner ring threshold value;If outer ring difference be not more than outer loop threshold, also into One step reads the inner ring threshold value of storage, compares the size of inner ring difference Yu inner ring threshold value;If inner ring difference is greater than inner ring threshold value, Judge that ear-sticking headphone is wearing state, and wear markers position is labeled as wearing state;If inner ring difference is no more than interior Ring threshold value then judges that ear-sticking headphone is non-wearing state, and wear markers position is labeled as non-wearing state.
Fig. 4 is a kind of structural schematic diagram for ear-sticking headphone that another embodiment of the present invention provides.Such as Fig. 4 institute Show, which includes: outer ring sensor 410, interior ring sensor 420, microprocessor unit 430 and storage Unit 440 and a reference value updating unit 450;Wherein, outer ring sensor 410, interior ring sensor 420,430 and of microprocessor unit Storage unit 440 and outer ring sensor 310, interior ring sensor 320, microprocessor unit 330 and storage unit shown in Fig. 3 340 have corresponding identical function, and details are not described herein for identical part.
A reference value updating unit 450, for using last time when judging ear-sticking headphone is non-wearing state Scan the outer ring capacitance a reference value and inner ring electricity that the outer ring capacitance current value obtained and interior ring capacitance current value update storage respectively Hold a reference value;Outer ring capacitance a reference value and interior ring capacitance base when judging ear-sticking headphone is wearing state, to storage Quasi- value is without updating.
In one embodiment of the invention, storage unit 440 are also used to a variety of connections of corresponding ear-sticking headphone Mode is that outer ring sensor and interior ring sensor store a variety of trace intervals, when every kind of connection type corresponds to a kind of scanning Between be spaced;
Outer ring sensor and inner ring is arranged for the connection type according to ear-sticking headphone in microprocessor unit 430 Sensor carries out environmental scanning using corresponding trace interval.
In one embodiment of the invention, storage unit 440 are also used to a variety of connections of corresponding ear-sticking headphone Mode is outer ring sensor and interior ring sensor stores a variety of outer loop thresholds and a variety of inner ring threshold values, and every kind of connection type is corresponding A kind of outer loop threshold and a kind of inner ring threshold value;
Microprocessor unit 430, for the connection type according to ear-sticking headphone, read corresponding outer loop threshold with Outer ring difference carries out size comparison, and reads corresponding inner ring threshold value compared with inner ring difference carries out size.
In one embodiment of the invention, the connection type of ear-sticking headphone 400 includes: that bluetooth connection, USB connect Mouth line connection or the connection of 3.5mm earphone interface line.
It should be noted that method shown in method shown in Fig. 2 and each embodiment of Fig. 3-earphone shown in Fig. 4 and Fig. 1 Each embodiment correspond to identical, be described in detail above, details are not described herein.
In conclusion the present invention configures outer ring sensor in ear-sticking headphone and interior ring sensor carries out ring respectively Border scanning, the outer ring capacitance current value of acquisition and interior ring capacitance current value are made the difference with corresponding a reference value respectively;Compare outer ring The size of difference and outer loop threshold, if outer ring difference is greater than outer loop threshold, and wear markers position is non-wearing state, then judges to paste Ear formula headphone is non-wearing state, then may be the variation of capacitance caused by the maloperation of user, at this moment just without Play audio or incoming call answering;Or pause audio plays or incoming call answering;If wear markers position is labeled as wearing state, or Person's outer ring difference is less than outer loop threshold, then further compares the size of inner ring difference and inner ring threshold value, if inner ring difference is greater than interior Ring threshold value then judges that ear-sticking headphone is wearing state, automatic to play audio or incoming call answering;If inner ring difference is little In inner ring threshold value, then judges that ear-sticking headphone is non-wearing state, then may be capacitance caused by the maloperation of user Variation, at this moment just without audio play or incoming call answering;Or pause audio plays or incoming call answering.As it can be seen that of the invention By the variation of the capacitance of test earphone inner ring and outer rings, maloperation is excluded, the wearing state of accurate judgement earphone, and then from The dynamic broadcasting or pause for realizing audio, and whether auto-pickup is sent a telegram here, and is manually operated without user, it is convenient and efficient, it prevented Power consumption is spent, user experience is enhanced.
The above description is merely a specific embodiment, under above-mentioned introduction of the invention, those skilled in the art Other improvement or deformation can be carried out on the basis of the above embodiments.It will be understood by those skilled in the art that above-mentioned tool Body description only preferably explains that the purpose of the present invention, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of detection method of ear-sticking headphone wearing state, which is characterized in that the described method includes:
Outer ring sensor and interior ring sensor, the outer ring sensor and the inner ring are configured in the ear-sticking headphone Sensor is arranged respectively at the outer ring and inner ring of the ear muff of ear-sticking headphone, the outer ring sensor and inner ring sensing Device its capacitance when earphone is worn will increase;
The corresponding outer ring sensor is stored in advance an outer ring capacitance a reference value and identifies the outer loop threshold of outer ring capacitance change, And the inner ring threshold value of ring capacitance a reference value and mark inner ring capacitance change in one is stored in advance in the corresponding interior ring sensor; One wear markers position is set, in ear-sticking headphone booting, is initialized as the wear markers position not wear shape State;
Environmental scanning is carried out using the outer ring sensor and the interior ring sensor, scanning obtains an outer ring electricity respectively every time Hold current value and an interior ring capacitance current value, the outer ring capacitance current value and the interior ring capacitance obtained to each scanning Current value real-time perfoming operates as follows:
The difference of the outer ring capacitance a reference value of the outer ring capacitance current value and storage is calculated as outer ring difference, Yi Jiji The difference of the interior ring capacitance a reference value of the interior ring capacitance current value and storage is calculated as inner ring difference;
Read the outer loop threshold of storage, the size of the outer ring difference and the outer loop threshold;
If the outer ring difference is greater than the outer loop threshold, the wearing state of the wear markers position is first read;If the pendant Marker bit is worn labeled as non-wearing state, then judges that the ear-sticking headphone is non-wearing state;If the wear markers Position is labeled as wearing state, then further reads the inner ring threshold value of storage, the inner ring difference and the inner ring threshold The size of value;
If the outer ring difference is not more than the outer loop threshold, the inner ring threshold value of storage is also further read, institute is compared State the size of inner ring difference Yu the inner ring threshold value;
If the inner ring difference is greater than the inner ring threshold value, judge that the ear-sticking headphone is wearing state, and by institute Wear markers position is stated labeled as wearing state;If the inner ring difference is not more than the inner ring threshold value, the ear-sticking is judged Headphone is non-wearing state, and the wear markers position is labeled as non-wearing state.
2. the method as described in claim 1, which is characterized in that the method further includes:
When judging the ear-sticking headphone is non-wearing state, the outer ring capacitance of last time scanning acquisition is used The outer ring capacitance a reference value and the interior ring capacitance benchmark that current value and the interior ring capacitance current value update storage respectively Value;
When judging the ear-sticking headphone is wearing state, to the outer ring capacitance a reference value of storage and the inner ring Capacitor a reference value is without updating.
3. method according to claim 2, which is characterized in that the method also includes:
A variety of connection types of the corresponding ear-sticking headphone are that the outer ring sensor and the interior ring sensor are preparatory A variety of trace intervals are configured, every kind of connection type corresponds to a kind of trace interval;
According to the connection type of the ear-sticking headphone, the outer ring sensor is set and the interior ring sensor uses phase The trace interval answered carries out environmental scanning.
4. the method according to claim 1, which is characterized in that the method also includes:
A variety of connection types of the corresponding ear-sticking headphone are that the outer ring sensor and the interior ring sensor are preparatory Store a variety of outer loop thresholds and a variety of inner ring threshold values, every kind of connection type corresponds to a kind of outer loop threshold and one kind The inner ring threshold value;
According to the connection type of the ear-sticking headphone, reads the corresponding outer loop threshold and the outer ring difference carries out Size compares, and reads the corresponding inner ring threshold value compared with the inner ring difference carries out size.
5. method as claimed in claim 4, which is characterized in that the connection type of the ear-sticking headphone includes: bluetooth Connection, usb line connection or the connection of 3.5mm earphone interface line.
6. a kind of ear-sticking headphone, which is characterized in that the earphone includes: outer ring sensor, interior ring sensor, micro process Device unit and storage unit;One wear markers position is set in the microprocessor, in ear-sticking headphone booting, The wear markers position is initialized as non-wearing state;
The outer ring sensor, for carrying out environmental scanning, scanning obtains an outer ring capacitance current value every time;
The interior ring sensor, for carrying out environmental scanning, scanning obtains an interior ring capacitance current value every time;
The storage unit becomes for storing an outer ring capacitance a reference value of the corresponding outer ring sensor and identifying outer ring capacitance Ring capacitance a reference value and mark inner ring capacitance variations in the outer loop threshold of change amount, and the one of the corresponding interior ring sensor of storage The inner ring threshold value of amount;
The microprocessor unit, the outer ring capacitance current value and the interior ring capacitance for obtaining to each scanning are current Value, calculates the difference of the outer ring capacitance a reference value of the outer ring capacitance current value and storage as outer ring difference in real time, with And calculate the interior ring capacitance current value and storage the interior ring capacitance a reference value difference as inner ring difference;
The microprocessor unit is also used to read the outer loop threshold of storage, the outer ring difference and the outer ring The size of threshold value;If the outer ring difference is greater than the outer loop threshold, the wearing state of the wear markers position is first read;If The wear markers position is labeled as non-wearing state, then judges that the ear-sticking headphone is non-wearing state;If the pendant Marker bit is worn labeled as wearing state, then further reads the inner ring threshold value of storage, the inner ring difference with it is described The size of inner ring threshold value;If the outer ring difference is not more than the outer loop threshold, the inner ring of storage is also further read Threshold value, the size of the inner ring difference and the inner ring threshold value;If the inner ring difference is greater than the inner ring threshold value, sentence The ear-sticking headphone that breaks is wearing state, and the wear markers position is labeled as wearing state;If the inner ring is poor Value is not more than the inner ring threshold value, then judges that the ear-sticking headphone is non-wearing state, and by the wear markers position Labeled as non-wearing state.
7. earphone as claimed in claim 6, which is characterized in that the earphone further includes a reference value updating unit;
The a reference value updating unit, for using last when judging the ear-sticking headphone is non-wearing state The outer ring capacitance that the outer ring capacitance current value and the interior ring capacitance current value that secondary scanning obtains update storage respectively A reference value and the interior ring capacitance a reference value;When judging the ear-sticking headphone is wearing state, to described in storage Outer ring capacitance a reference value and the interior ring capacitance a reference value are without updating.
8. earphone as claimed in claim 7, which is characterized in that
The storage unit is also used to correspond to a variety of connection types of the ear-sticking headphone, is the outer ring sensor A variety of trace intervals are stored with the interior ring sensor, every kind of connection type corresponds to a kind of trace interval;
The outer ring sensor is arranged for the connection type according to the ear-sticking headphone in the microprocessor unit Environmental scanning is carried out using corresponding trace interval with the interior ring sensor.
9. the earphone as described in claim 6-8, which is characterized in that
The storage unit is also used to correspond to a variety of connection types of the ear-sticking headphone, is the outer ring sensor A variety of outer loop thresholds are stored with the interior ring sensor and a variety of inner ring threshold values, every kind of connection type correspond to a kind of institute State outer loop threshold and a kind of inner ring threshold value;
The microprocessor unit reads the corresponding outer ring for the connection type according to the ear-sticking headphone Threshold value is compared with the outer ring difference carries out size, and the inner ring threshold value and inner ring difference progress are big accordingly for reading Small comparison.
10. earphone as claimed in claim 9, which is characterized in that the connection type of the ear-sticking headphone includes: bluetooth Connection, usb line connection or the connection of 3.5mm earphone interface line.
CN201611246965.4A 2016-12-29 2016-12-29 A kind of detection method of ear-sticking headphone and its wearing state Active CN106792314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611246965.4A CN106792314B (en) 2016-12-29 2016-12-29 A kind of detection method of ear-sticking headphone and its wearing state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611246965.4A CN106792314B (en) 2016-12-29 2016-12-29 A kind of detection method of ear-sticking headphone and its wearing state

Publications (2)

Publication Number Publication Date
CN106792314A CN106792314A (en) 2017-05-31
CN106792314B true CN106792314B (en) 2019-06-18

Family

ID=58929129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611246965.4A Active CN106792314B (en) 2016-12-29 2016-12-29 A kind of detection method of ear-sticking headphone and its wearing state

Country Status (1)

Country Link
CN (1) CN106792314B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110603815B (en) 2018-09-25 2021-03-26 深圳市汇顶科技股份有限公司 Earphone and method for realizing wearing detection and touch operation
CN109257674B (en) * 2018-09-28 2020-03-24 歌尔科技有限公司 Wearing condition detection method and device of wireless earphone and wireless earphone
KR102348191B1 (en) * 2018-12-26 2022-01-06 선전 구딕스 테크놀로지 컴퍼니, 리미티드 Wear detection method, device, wearable device and storage medium
CN110447242B (en) * 2019-02-01 2021-07-02 深圳市汇顶科技股份有限公司 Wearing detection device and method and earphone
CN110114738B (en) 2019-03-25 2020-12-01 深圳市汇顶科技股份有限公司 Wearable device, wearing detection method, and storage medium
CN110122965A (en) * 2019-05-27 2019-08-16 浙江大华技术股份有限公司 Safety cap
CN112469014A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Method and electronic equipment for configuring Bluetooth connection parameters
CN110677765A (en) * 2019-10-30 2020-01-10 歌尔股份有限公司 Wearing control method, device and system of headset
CN113784267A (en) * 2021-08-09 2021-12-10 深圳曦华科技有限公司 Left and right ear detection method and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9094764B2 (en) * 2008-04-02 2015-07-28 Plantronics, Inc. Voice activity detection with capacitive touch sense
US20110216016A1 (en) * 2010-03-08 2011-09-08 Plantronics, Inc. Touch Sensor With Active Baseline Tracking
CN101951534A (en) * 2010-07-09 2011-01-19 深圳桑菲消费通信有限公司 Method for additionally arranging sensor on earphone to adjust state of mobile terminal
JP2012169839A (en) * 2011-02-14 2012-09-06 Sony Corp Sound signal output apparatus and sound signal output method
US9326058B2 (en) * 2012-09-26 2016-04-26 Sony Corporation Control method of mobile terminal apparatus
CN103002373B (en) * 2012-11-19 2015-05-27 青岛歌尔声学科技有限公司 Earphone and method for detecting earphone wearing state
CN103686515A (en) * 2013-12-06 2014-03-26 青岛歌尔声学科技有限公司 Earphone system and control method with automatic sensing detection and control functions
CN104506987B (en) * 2014-11-27 2018-02-27 青岛歌尔声学科技有限公司 A kind of intelligent earphone control method and a kind of intelligent earphone
CN105491483B (en) * 2015-11-30 2018-11-02 歌尔股份有限公司 Wearing state detection method, system and earphone for earphone
CN105554616B (en) * 2016-02-29 2019-04-12 宇龙计算机通信科技(深圳)有限公司 A kind of headset control method and earphone

Also Published As

Publication number Publication date
CN106792314A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106792314B (en) A kind of detection method of ear-sticking headphone and its wearing state
CN105554616B (en) A kind of headset control method and earphone
CN110085934B (en) Charging method of terminal battery and mobile terminal
CN105204730B (en) A kind of screen control method and user terminal
CN103815628B (en) Bluetooth communication bracelet
CN105487899B (en) Wearing state method for reporting, system and earphone for earphone
CN105162928B (en) Method and device for adjusting screen brightness of mobile terminal
CN108896911A (en) Charging abnormity detection method and device for electronic equipment
CN108810788A (en) A kind of wear condition detection method, device and the wireless headset of wireless headset
CN107102717B (en) Screen control method and device
CN104506987B (en) A kind of intelligent earphone control method and a kind of intelligent earphone
CN105786183B (en) Control method, control device and wearable smart machine
CN105549739A (en) Screen lighting method and terminal
CN104427101B (en) Electronic equipment, wearable device, state switching and identification information sending method
CN104243709A (en) Information processing method and electronic device
CN104270689A (en) Multifunctional Bluetooth player
CN104702783B (en) Article searching method and automatic answering system based on voice signal
CN109819506B (en) Intelligent connection method, wearable device and computer readable storage medium
CN103200313A (en) Method of converting between normal mode and specific mode of handheld equipment and handheld equipment
CN106921784A (en) A kind of system theme Night switching method and apparatus of mobile terminal
CN104237466A (en) Waterproof reminding method of wearable device and wearable device
CN106792308A (en) The control method and earphone of earphone
CN102761816A (en) Testing circuit, testing device and testing method of Bluetooth earphone Don and Doff function
CN109743652A (en) Headset control method, earphone and computer readable storage medium
CN109599913A (en) A kind of charging method, accessory and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Li Huan

Inventor before: Fu Hui

GR01 Patent grant
GR01 Patent grant