CN106792314A - 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
CN106792314A
CN106792314A CN201611246965.4A CN201611246965A CN106792314A CN 106792314 A CN106792314 A CN 106792314A CN 201611246965 A CN201611246965 A CN 201611246965A CN 106792314 A CN106792314 A CN 106792314A
Authority
CN
China
Prior art keywords
inner ring
electric capacity
ear
difference
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.)
Granted
Application number
CN201611246965.4A
Other languages
Chinese (zh)
Other versions
CN106792314B (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 Inc
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)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The invention discloses ear-sticking headphone and its detection method of wearing state.The method includes:Configure outer ring sensor and interior ring sensor carries out environmental scanning respectively, calculating outer shroud electric capacity currency and inner ring electric capacity currency respectively with the difference of corresponding a reference value;Compare the size of outer shroud difference and outer loop threshold, if outer shroud difference is more than outer loop threshold, and wear markers position is non-wearing state, then judge that ear-sticking headphone is non-wearing state;If wear markers position is labeled as wearing state, or outer shroud difference is less than outer loop threshold, then compare the size of inner ring difference and inner ring threshold value, if inner ring difference is more 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.It can be seen that, the change of the capacitance that the present invention passes through test earphone inner ring and outer rings, the accurate wearing state for judging earphone prevents excess power consumption, strengthens Consumer's 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, the detection side of more particularly to a kind of ear-sticking headphone and its wearing state Method, ear-sticking headphone.
Background technology
With the prevalence of Intelligent mobile equipment, its corollary equipment emerges in an endless stream.Such as user listens terminal to move using earphone It is audio-visual in equipment, life is enriched, user is may also help in while loosening mood by the time utilization of fragmentation.At this The amusement of audio-visual aspect is planted, needs to coordinate a corresponding earphone according to demand.Particularly ear-sticking headphone, because it is worn Comfortableness afterwards is more exposed to the favor of user.
The user of requirement more and more higher with to(for) earphone, earphone needs the more intelligent need for more easily tackling consumer Ask.There are many wear-type bluetooth earphones currently on the market, only pursue more preferable tonequality, but the seldom control otherwise work(of earphone Energy.For example, earphone cannot automatic decision whether in the state worn, it is impossible to accurate control earphone play automatically audio or from Dynamic incoming call answering, reduces Consumer's Experience;Or the broadcasting of earphone automatic pause audio cannot be accurately controlled, cause earphone and movement The excess power consumption of terminal device.
The content of the invention
In view of prior art earphone cannot automatic decision whether in the state worn, it is impossible to accurate control earphone is automatic Audio or auto-pickup incoming call are played, Consumer's Experience is reduced;Or the broadcasting of earphone automatic pause audio cannot be accurately controlled, make Into earphone and the problem of the excess power consumption of mobile terminal device, it is proposed that a kind of ear-sticking headphone of the invention and its wear The detection method of state, to solve or to solve the above problems at least in part.
According to an aspect of the invention, there is provided a kind of detection method of ear-sticking headphone wearing state, it is special Levy and be, methods described includes:
Outer ring sensor and interior ring sensor, the outer ring sensor and described are configured in the ear-sticking headphone Interior ring sensor its capacitance when earphone is worn can increase;
The correspondence outer ring sensor prestores the outer shroud of an outer shroud electric capacity a reference value and mark outer shroud capacitance change Threshold value, and the correspondence interior ring sensor prestores the inner ring of an inner ring electric capacity a reference value and mark inner ring capacitance change Threshold value;One wear markers position is set, when the ear-sticking headphone is started shooting, 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 every time is obtained outside one respectively Ring electric capacity currency and an inner ring electric capacity currency, to the outer shroud electric capacity currency and the inner ring of scanning acquisition every time Electric capacity currency is proceeded as follows in real time:
The outer shroud electric capacity currency is calculated with the difference of the outer shroud electric capacity a reference value of storage as outer shroud difference, with And the inner ring electric capacity currency is calculated with the difference of the inner ring electric capacity a reference value of storage as inner ring difference;
The outer loop threshold of storage is read, compares the size of the outer shroud difference and the outer loop threshold;
If the outer shroud difference is more 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 described wear Marker bit is labeled as wearing state, then further read the inner ring threshold value of storage, and relatively more described inner ring difference is interior with described The size of ring threshold value;
If the outer shroud 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 more than the inner ring threshold value, judge that the ear-sticking headphone is wearing state, and 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 wear markers position is labeled as into non-wearing state.
According to another aspect of the present invention, there is provided a kind of ear-sticking headphone, it is characterised in that the earphone bag Include:Outer ring sensor, interior ring sensor, microprocessor unit and memory cell;One is set in the microprocessor and wears mark Note position, when the ear-sticking headphone is started shooting, non-wearing state is initialized as by wear markers position;
The outer ring sensor, for carrying out environmental scanning, scanning every time obtains an outer shroud electric capacity currency;
The interior ring sensor, for carrying out environmental scanning, scanning every time obtains an inner ring electric capacity currency;
The memory cell, an outer shroud electric capacity a reference value and mark outer shroud electricity for storing the correspondence outer ring sensor Hold the outer loop threshold of variable quantity, and the inner ring electric capacity a reference value and mark inner ring electric capacity for storing the correspondence interior ring sensor The inner ring threshold value of variable quantity;
The microprocessor unit, for the outer shroud electric capacity currency and the inner ring electric capacity to scanning acquisition every time Currency, calculates the outer shroud electric capacity currency poor as outer shroud with the difference of the outer shroud electric capacity a reference value of storage in real time Value, and the inner ring electric capacity currency is calculated with the difference of the inner ring electric capacity a reference value of storage as inner ring difference;
The microprocessor unit, is additionally operable to read the outer loop threshold of storage, relatively the outer shroud difference with it is described The size of outer loop threshold;If the outer shroud difference is more than the outer loop threshold, that first reads the wear markers position wears shape 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, relatively more described inner ring difference with The size of the inner ring threshold value;If the outer shroud difference is not more than the outer loop threshold, the described of storage is also further read Inner ring threshold value, compares the size of the inner ring difference and the inner ring threshold value;If the inner ring difference is more than the inner ring threshold value, Then judge that the ear-sticking headphone is wearing state, and wear markers position is labeled as wearing state;If in described Ring difference is not more than the inner ring threshold value, then judge that the ear-sticking headphone is non-wearing state, and wear mark by described Note position is labeled as non-wearing state.
In sum, the present invention configures outer ring sensor and interior ring sensor in ear-sticking headphone and carries out ring respectively Border is scanned, and the outer shroud electric capacity currency of acquisition and inner ring electric capacity currency are made the difference with corresponding a reference value respectively;Compare outer shroud The size of difference and outer loop threshold, if outer shroud difference is more than outer loop threshold, and wear markers position is non-wearing state, then judge patch Ear formula headphone is non-wearing state, then be probably the change of capacitance that the maloperation of user causes, at this moment with regard to not carrying out Play audio or incoming call answering;Or pause audio is played or incoming call answering;If wear markers position is labeled as wearing state, or Person's outer shroud difference is less than outer loop threshold, then further compare the size of inner ring difference and inner ring threshold value, if inner ring difference is more than in Ring threshold value, then judge 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 judge that ear-sticking headphone is non-wearing state, be then probably the capacitance that the maloperation of user causes Change, at this moment with regard to not carrying out audio broadcasting or incoming call answering;Or pause audio is played or incoming call answering.It can be seen that, the present invention By the change of the capacitance of test earphone inner ring and outer rings, maloperation is excluded, accurately judge the wearing state of earphone, and then certainly The dynamic broadcasting or pause for realizing audio, and whether auto-pickup is sent a telegram here, it is manually operated without user, it is convenient and swift, prevented Degree power consumption, strengthens Consumer's Experience.
Brief description of the drawings
A kind of flow of the detection method of ear-sticking headphone wearing state that Fig. 1 is provided for one embodiment of the invention Figure;
A kind of stream of the detection method of ear-sticking headphone wearing state that Fig. 2 is provided for another embodiment of the present invention Cheng Tu;
A kind of structural representation of ear-sticking headphone that Fig. 3 is provided for one embodiment of the invention;
A kind of structural representation of ear-sticking headphone that Fig. 4 is provided for another embodiment of the present invention.
Specific embodiment
Mentality of designing of the invention is:Ear-sticking headphone when wearing state changes, surrounding environment Change can cause the change of capacitance, and the wearing state that ear-sticking headphone can be carried out by the change of capacitance is sentenced It is disconnected.In view of prior art earphone cannot automatic decision whether in the state worn, it is impossible to accurate control earphone is played automatically Audio or auto-pickup are sent a telegram here, and reduce Consumer's Experience;Or the broadcasting of earphone automatic pause audio cannot be accurately controlled, cause ear The problem of the 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, to obtain outer shroud electric capacity currency and inner ring electric capacity currency, calculates outer shroud electric capacity current The difference of value and outer shroud electric capacity a reference value is used as outer shroud difference, and calculates inner ring electric capacity currency with inner ring electric capacity a reference value After difference is as inner ring difference, comprehensive outer shroud difference compares with the size of outer loop threshold and inner ring difference is big with inner ring threshold value Small result of the comparison, the accurate wearing state for judging earphone, carries out being automatically obtained the broadcasting of audio or answering for incoming call, without use Family is manually operated, convenient and swift.To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing pair Embodiment of the present invention is described in further detail.
A kind of flow of the detection method of ear-sticking headphone wearing state that Fig. 1 is provided for one embodiment of the invention Figure.As shown in figure 1, the method includes:
Step S110, configures outer ring sensor and interior ring sensor, outer ring sensor and interior in ear-sticking headphone Ring sensor its capacitance when earphone is worn can 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 influenceed to change by the temperature and appropriateness of environment.When When earphone is worn, interior ring sensor and human body skin close contact, temperature and humidity can increase a lot, so inner ring electric capacity Value increase is more;Outer ring sensor is less with contact human skin, although increased, but increase is less.
Step S120, the outer ring sensor of correspondence prestores an outer shroud electric capacity a reference value and identifies outer shroud capacitance change Ring sensor prestores the inner ring of an inner ring electric capacity a reference value and mark inner ring capacitance change in outer loop threshold, and correspondence Threshold value;One wear markers position is set, when ear-sticking headphone is started shooting, wear markers position non-wearing state is initialized as.
The change of temperature and humidity can cause the change of capacitance, it is possible to use the change of capacitance judge earphone whether by Wear.So needing to set a reference value and threshold value of the outer ring sensor of correspondence and interior ring sensor, inner ring threshold value here respectively Obtained according to substantial amounts of actual test data with outer loop threshold.In addition, during earphone wearing state is judged, in order to The maloperation of user is excluded, it is necessary to also need to be carried out with reference to the current wearing state of earphone while judgement according to capacitance Judge, so setting wear markers position in earphone, wear markers position there are two states, the wearing state of earphone is represented respectively With non-wearing state.For example, representing wearing state with " DON ";Non- wearing state is represented with " DOFF ".In ear-sticking headphone During start, 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 change of generation.
Step S130, environmental scanning is carried out using outer ring sensor and interior ring sensor, and scanning every time obtains one respectively Outer shroud electric capacity currency and an inner ring electric capacity currency.Environment changes and causes the change of environment temperature and humidity, and then Cause the change of outer shroud capacitance and inner ring capacitance, in order to the wearing state in real time to earphone judges, scan every time When, it is required for obtaining the outer shroud electric capacity currency and inner ring electric capacity currency under earphone current state.
Then the outer shroud electric capacity currency and inner ring electric capacity currency that scanning is obtained every time are proceeded as follows in real time:
Step S140, calculates outer shroud electric capacity currency with the difference of the outer shroud electric capacity a reference value of storage as outer shroud difference, And calculate inner ring electric capacity currency with the difference of the inner ring electric capacity a reference value of storage 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 shroud difference and outer loop threshold;If outer shroud 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, patch is judged 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 and inner ring threshold value.
Capacitance can change with the change of environment temperature and humidity, when earphone is in wearing state, inner ring difference It is larger, when the wearing state of earphone is judged, although can be big with inner ring threshold value simply by inner ring difference is compared Small judgement, but it is not excluded for user and there is the larger situation of inner ring difference that false touch earphone causes, simply by inner ring difference The wearing state of earphone cannot accurately be judged.For example, user is not when earphone is worn, the ear muff of earphone is held, Inner ring difference is caused more than inner ring threshold value, earphone will be judged and be in wearing state, carry out automatically audio broadcasting or from Dynamic incoming call answering, but now user does not use earphone, so will result in the excessive work(of earphone and mobile terminal device Consumption, reduces Consumer's Experience.
In order to exclude the maloperation of user, the accurate wearing state for judging earphone, it is contemplated that:When earphone is in wearing state When, interior ring sensor and human body skin close contact, inner ring capacitance increase are more;Outer ring sensor and contact human skin It is less, although to have increased, but increase is less;If user misoperation (such as holding the operation of ear muff), draws While the capacitance of ring sensor increases in rising, the capacitance of outer ring sensor can be also caused to increase, and hand is grabbed ear muff and is made outward Ring sensor and human body skin close contact, the capacitance increase of outer ring sensor it is more.So, the present embodiment compares first Compared with outer shroud difference and the size of outer loop threshold.If outer shroud difference is more than outer loop threshold, but is probably that user does not wear shape in earphone 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 that user carries out the maloperation that hand grabs ear muff in the non-wearing state 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 and grabs the operation of ear muff in earphone wearing state, so being The further maloperation for excluding user, then need 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.
And, in above-mentioned comparison procedure, if outer shroud difference is not more than outer loop threshold, be probably earphone be in wear shape State, outer shroud difference is smaller, or the maloperation of user does not cause larger outer shroud difference, in order to determine whether the pendant of earphone Wear state, it is contemplated that earphone is in wearing state, inner ring difference is larger, so need further to read the inner ring threshold value of storage, Compare the size of inner ring difference and inner ring threshold value.
Step S160, if inner ring difference is more than inner ring threshold value, illustrates that strictly user carries out hand in earphone wearing state It is smaller that the operation or the current state of earphone for grabbing ear muff meet the outer shroud difference in wearing state, the larger feelings of inner ring difference Condition, then judge that ear-sticking headphone is wearing state, and wear markers position is labeled as into wearing state;If inner ring difference is little In inner ring threshold value, then do not meet earphone be in wearing state outer shroud difference it is smaller, the larger situation of inner ring difference judges patch ear Formula headphone is non-wearing state, and wear markers position is labeled as into non-wearing state.
It can be seen that, the change of the capacitance that the present invention passes through test earphone inner ring and outer rings excludes maloperation, accurately judges ear The wearing state of machine, and then the broadcasting or pause of audio are automatically obtained, and whether auto-pickup is sent a telegram here, and is grasped manually without user Make, it is convenient and swift, excess power consumption is prevented, strengthen Consumer's Experience.
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 the temperature and humidity of surrounding environment can all change, and electric capacity a reference value will be sent out Changing, during judgement, recycles default outer shroud a reference value and inner ring a reference value to be judged, cannot just ensure to sentence 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, and earphone is in During non-wearing state, inner ring electric capacity currency is 60, then current inner ring difference is 10, less than 30, then judges that earphone is not wear The result of state is correct;But if environment has occurred and that change, inner ring a reference value should be 90, and earphone is in and does not wear The inner ring electric capacity currency obtained during state is 100, if further according to the inner ring a reference value 50 of storage, calculating inner ring difference is 50, more than 30, then judge that earphone is that the result of wearing state is incorrect, because inner ring a reference value now has occurred that Change.So in the case of in order to ensure that environment changes, also can accurately judge the wearing state of earphone, it is necessary to the moment according to The change of environment updates outer shroud a reference value and inner ring a reference value, and in one embodiment of the invention, the method shown in Fig. 1 enters one Step includes:When it is non-wearing state to judge ear-sticking headphone, the outer shroud electric capacity obtained using last time scanning is current Value and inner ring electric capacity currency update the outer shroud electric capacity a reference value and inner ring electric capacity a reference value of storage respectively.
When it is wearing state to judge ear-sticking headphone, to the outer shroud electric capacity a reference value and inner ring electric capacity benchmark that store Value is not updated.Because earphone be in wearing state when, the state that wear markers are is wearing state, judged when Wait, either which kind of situation, be required for carrying out the judgement of inner ring difference, as long as earphone is in wearing state, its environment causes Inner ring a reference value change or to be far smaller than the inner ring difference that human body skin brings change, a reference value do not carry out more Newly, the influence to judged result is smaller.
For above-mentioned steps, if earphone is not physics shutdown, interior ring sensor and outer ring sensor can all be carried out constantly Environmental scanning simultaneously judged, the excess power consumption of earphone or terminal device is so will also result in, in order to reduce excess power consumption.At this In one embodiment of invention, the method shown in Fig. 1 also includes:Various connected modes of correspondence ear-sticking headphone, are outer Ring sensor and interior ring sensor are pre-configured with various trace intervals, between a kind of every kind of connected mode correspondence sweep time Every;According to the connected mode 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 have various connected modes, such as connection of bluetooth connection, usb line or 3.5mm earphone interfaces Line is connected, and different sweep times can be all set for each connected mode, after earphone is opened, the connection of earphone is obtained first Mode, then further according to the connected mode acquisition sweep time of earphone, to control interior ring sensor and outer ring sensor to use phase The trace interval answered carries out environmental scanning.
Earphone is mentioned in described above various connected modes, such as connection of bluetooth connection, usb line or 3.5mm ears Machine interface line is connected, and every kind of connected mode also has different influences to sensor.In order to adapt to the different connected modes of earphone. In one embodiment of the invention, the method shown in Fig. 1 also includes:Various connected modes of correspondence ear-sticking headphone, For outer ring sensor and interior ring sensor prestore various outer loop thresholds and various inner ring threshold values, every kind of connected mode correspondence one Plant outer loop threshold and a kind of inner ring threshold value;According to the connected mode of ear-sticking headphone, read corresponding outer loop threshold with it is outer Ring difference carries out size comparing, and the corresponding inner ring threshold value of reading carries out size and compares with inner ring difference.
After earphone is opened, the connected mode of earphone is obtained first, size ratio is carried out with outer shroud difference outer loop threshold is carried out Relatively or inner ring threshold value and inner ring difference are carried out before size compares, first according to connected mode carry out corresponding outer loop threshold or The reading of corresponding inner ring threshold value.
In one embodiment of the invention, the connected mode of ear-sticking headphone includes:Bluetooth connection, USB interface Line is connected or the connection of 3.5mm earphone interfaces line.
A kind of stream of the detection method of ear-sticking headphone wearing state that Fig. 2 is provided for another embodiment of the present invention Cheng Tu.As shown in Fig. 2 the method includes:
Step S210, environmental scanning is carried out using outer ring sensor and interior ring sensor, and the outer of current environment is obtained respectively Ring electric capacity currency and inner ring electric capacity currency.
Step S220, calculates outer also difference and inner ring poor respectively according to outer shroud electric capacity a reference value and inner ring electric capacity a reference value Value.
Step S230, judges whether outer also difference is more than outer loop threshold;
Step S240, if being judged as YES in step S230, judges whether ear-sticking headphone is wearing state;
Step S250, if being judged as YES in being judged as NO in step S230, and step S240, then determine whether Whether interior also difference is more than inner ring threshold value.
Step S260, if being judged as NO in being judged as NO in step S250, and step S240, then judge ear-sticking Headphone is non-wearing state.
Step S270, if being judged as YES in step S250, judges that ear-sticking headphone is wearing state.
A kind of structural representation of ear-sticking headphone that Fig. 3 is provided for one embodiment of the invention.As shown in figure 3, The ear-sticking headphone 300 includes:Outer ring sensor 310, interior ring sensor 320, microprocessor unit 330 and memory cell 340;One wear markers position is set in microprocessor 330, when ear-sticking headphone is started shooting, wear markers position is initialized It is non-wearing state.
Outer ring sensor 310, for carrying out environmental scanning, scanning every time obtains an outer shroud electric capacity currency.
Interior ring sensor 320, for carrying out environmental scanning, scanning every time obtains an inner ring electric capacity currency.
Memory cell 340, an outer shroud electric capacity a reference value and mark outer shroud electric capacity for storing the outer ring sensor 310 of correspondence An inner ring electric capacity a reference value of ring sensor 320 and mark inner ring electric capacity become in the outer loop threshold of variable quantity, and storage correspondence The inner ring threshold value of change amount.
Microprocessor unit 330, it is real for scanning is obtained every time outer shroud electric capacity currency and inner ring electric capacity currency When calculate outer shroud electric capacity currency with the difference of the outer shroud electric capacity a reference value of storage as outer shroud difference, and calculate inner ring electric capacity The difference of currency and the inner ring electric capacity a reference value of storage is used as inner ring difference.
Microprocessor unit 330, is additionally operable to read the outer loop threshold of storage, compares outer shroud difference big with outer loop threshold It is small;If outer shroud difference is more 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 of storage is taken, compares the size of inner ring difference and inner ring threshold value;If outer shroud difference is not more than outer loop threshold, also enter One step reads the inner ring threshold value of storage, compares the size of inner ring difference and inner ring threshold value;If inner ring difference is more than inner ring threshold value, Judge that ear-sticking headphone is wearing state, and wear markers position is labeled as wearing state;If in inner ring difference is not more than Ring threshold value, then judge that ear-sticking headphone is non-wearing state, and wear markers position is labeled as into non-wearing state.
A kind of structural representation of ear-sticking headphone that Fig. 4 is provided for another embodiment of the present invention.Such as Fig. 4 institutes Show, the ear-sticking headphone 400 includes:Outer ring sensor 410, interior ring sensor 420, microprocessor unit 430 and storage Unit 440 and a reference value updating block 450;Wherein, outer ring sensor 410, interior ring sensor 420, the and of microprocessor unit 430 Memory cell 440 and the outer ring sensor 310 shown in Fig. 3, interior ring sensor 320, microprocessor unit 330 and memory cell 340 have correspondence identical function, and identical part will not be repeated here.
A reference value updating block 450, for when it is non-wearing state to judge ear-sticking headphone, using last time The outer shroud electric capacity currency and inner ring electric capacity currency for scanning acquisition update outer shroud electric capacity a reference value and the inner ring electricity of storage respectively Hold a reference value;When it is wearing state to judge ear-sticking headphone, to the outer shroud electric capacity a reference value and inner ring electric capacity base that store Quasi- value is not updated.
In one embodiment of the invention, memory cell 440, are additionally operable to various connections of correspondence ear-sticking headphone Mode, is that outer ring sensor and interior ring sensor store various trace intervals, during every kind of connected mode correspondence one kind scanning Between be spaced;
Microprocessor unit 430, for the connected mode according to ear-sticking headphone, sets outer ring sensor and inner ring Sensor carries out environmental scanning using corresponding trace interval.
In one embodiment of the invention, memory cell 440, are additionally operable to various connections of correspondence ear-sticking headphone Mode, is outer ring sensor and interior ring sensor storage various outer loop thresholds and various inner ring threshold values, every kind of connected mode correspondence A kind of outer loop threshold and a kind of inner ring threshold value;
Microprocessor unit 430, for the connected mode according to ear-sticking headphone, read corresponding outer loop threshold with Outer shroud difference carries out size comparing, and the corresponding inner ring threshold value of reading carries out size and compares with inner ring difference.
In one embodiment of the invention, the connected mode of ear-sticking headphone 400 includes:Bluetooth connection, USB connect Mouth line is connected or the connection of 3.5mm earphone interfaces line.
It should be noted that each embodiment and method shown in Fig. 1 of earphone shown in method and Fig. 3-Fig. 4 shown in Fig. 2 Each embodiment correspondence it is identical, be described in detail above, will not be repeated here.
In sum, the present invention configures outer ring sensor and interior ring sensor in ear-sticking headphone and carries out ring respectively Border is scanned, and the outer shroud electric capacity currency of acquisition and inner ring electric capacity currency are made the difference with corresponding a reference value respectively;Compare outer shroud The size of difference and outer loop threshold, if outer shroud difference is more than outer loop threshold, and wear markers position is non-wearing state, then judge patch Ear formula headphone is non-wearing state, then be probably the change of capacitance that the maloperation of user causes, at this moment with regard to not carrying out Play audio or incoming call answering;Or pause audio is played or incoming call answering;If wear markers position is labeled as wearing state, or Person's outer shroud difference is less than outer loop threshold, then further compare the size of inner ring difference and inner ring threshold value, if inner ring difference is more than in Ring threshold value, then judge 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 judge that ear-sticking headphone is non-wearing state, be then probably the capacitance that the maloperation of user causes Change, at this moment with regard to not carrying out audio broadcasting or incoming call answering;Or pause audio is played or incoming call answering.It can be seen that, the present invention By the change of the capacitance of test earphone inner ring and outer rings, maloperation is excluded, accurately judge the wearing state of earphone, and then certainly The dynamic broadcasting or pause for realizing audio, and whether auto-pickup is sent a telegram here, it is manually operated without user, it is convenient and swift, prevented Degree power consumption, strengthens Consumer's Experience.
The above, specific embodiment only of the invention, under above-mentioned teaching of the invention, those skilled in the art Other improvement or deformation can be carried out on the basis of above-described embodiment.It will be understood by those skilled in the art that above-mentioned tool The purpose of the present invention is simply preferably explained in body description, and protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of detection method of ear-sticking headphone wearing state, it is characterised in that methods described includes:
Outer ring sensor and interior ring sensor, the outer ring sensor and the inner ring are configured in the ear-sticking headphone Sensor its capacitance when earphone is worn can increase;
The correspondence outer ring sensor prestores the outer loop threshold of an outer shroud electric capacity a reference value and mark outer shroud capacitance change, And the correspondence interior ring sensor prestores the inner ring threshold value of an inner ring electric capacity a reference value and mark inner ring capacitance change; One wear markers position is set, when the ear-sticking headphone is started shooting, wear markers position is initialized as not wearing shape State;
Environmental scanning is carried out using the outer ring sensor and the interior ring sensor, scanning every time obtains an outer shroud electricity respectively Hold currency and an inner ring electric capacity currency, to scanning is obtained every time the outer shroud electric capacity currency and the inner ring electric capacity Currency is proceeded as follows in real time:
The outer shroud electric capacity currency is calculated with the difference of the outer shroud electric capacity a reference value of storage as outer shroud difference, Yi Jiji The inner ring electric capacity currency is calculated with the difference of the inner ring electric capacity a reference value of storage as inner ring difference;
The outer loop threshold of storage is read, compares the size of the outer shroud difference and the outer loop threshold;
If the outer shroud difference is more 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 read the inner ring threshold value of storage, relatively more described inner ring difference and the inner ring threshold The size of value;
If the outer shroud difference is not more than the outer loop threshold, the inner ring threshold value of storage is also further read, compare institute State the size of inner ring difference and the inner ring threshold value;
If the inner ring difference is more 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 wear markers position is labeled as into non-wearing state.
2. the method for claim 1, it is characterised in that methods described is further included:
When it is non-wearing state to judge the ear-sticking headphone, the outer shroud electric capacity obtained using last time scanning Currency and the inner ring electric capacity currency update the outer shroud electric capacity a reference value and the inner ring electric capacity benchmark of storage respectively Value;
When it is wearing state to judge the ear-sticking headphone, to the outer shroud electric capacity a reference value and the inner ring that store Electric capacity a reference value is not updated.
3. method as claimed in claim 2, it is characterised in that methods described also includes:
Various connected modes of the correspondence ear-sticking headphone, are that the outer ring sensor and the interior ring sensor are advance Configure various trace intervals, a kind of trace interval of every kind of connected mode correspondence;
According to the connected mode 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 as described in claim any one of 1-3, it is characterised in that methods described also includes:
Various connected modes of the correspondence ear-sticking headphone, are that the outer ring sensor and the interior ring sensor are advance Store various outer loop thresholds and various inner ring threshold values, a kind of outer loop threshold of every kind of connected mode correspondence and one kind The inner ring threshold value;
According to the connected mode of the ear-sticking headphone, read the corresponding outer loop threshold is carried out with the outer shroud difference Size compares, and the corresponding inner ring threshold value of reading carries out size and compares with the inner ring difference.
5. method as claimed in claim 4, it is characterised in that the connected mode of the ear-sticking headphone includes:Bluetooth Connection, usb line connection or the connection of 3.5mm earphone interfaces line.
6. a kind of ear-sticking headphone, it is characterised in that the earphone includes:Outer ring sensor, interior ring sensor, microprocessor Device unit and memory cell;One wear markers position is set in the microprocessor, when the ear-sticking headphone is started shooting, Wear markers position is initialized as non-wearing state;
The outer ring sensor, for carrying out environmental scanning, scanning every time obtains an outer shroud electric capacity currency;
The interior ring sensor, for carrying out environmental scanning, scanning every time obtains an inner ring electric capacity currency;
The memory cell, an outer shroud electric capacity a reference value and mark outer shroud electric capacity for storing the correspondence outer ring sensor become The outer loop threshold of change amount, and store an inner ring electric capacity a reference value and mark inner ring capacitance variations of the correspondence interior ring sensor The inner ring threshold value of amount;
The microprocessor unit, it is current for the outer shroud electric capacity currency and the inner ring electric capacity to scanning acquisition every time Value, calculates the outer shroud electric capacity currency with the difference of the outer shroud electric capacity a reference value of storage as outer shroud difference in real time, with And the inner ring electric capacity currency is calculated with the difference of the inner ring electric capacity a reference value of storage as inner ring difference;
The microprocessor unit, is additionally operable to read the outer loop threshold of storage, relatively more described outer shroud difference and the outer shroud The size of threshold value;If the outer shroud difference is more 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 judge 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, relatively more described inner ring difference with it is described The size of inner ring threshold value;If the outer shroud difference is not more than the outer loop threshold, the inner ring of storage is also further read Threshold value, compares the size of the inner ring difference and the inner ring threshold value;If the inner ring difference is more than the inner ring threshold value, sentence The ear-sticking headphone that breaks is wearing state, and wear markers position is labeled as into wearing state;If the inner ring is poor Value be not more than the inner ring threshold value, then judge 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, it is characterised in that the earphone also includes a reference value updating block;
The a reference value updating block, for when it is non-wearing state to judge the ear-sticking headphone, using last The outer shroud electric capacity currency and the inner ring electric capacity currency that secondary scanning is obtained update the outer shroud electric capacity of storage respectively A reference value and the inner ring electric capacity a reference value;When it is wearing state to judge the ear-sticking headphone, to described in storage Outer shroud electric capacity a reference value and the inner ring electric capacity a reference value are not updated.
8. earphone as claimed in claim 7, it is characterised in that
The memory cell, is additionally operable to various connected modes of the correspondence ear-sticking headphone, is the outer ring sensor Various trace intervals, a kind of trace interval of every kind of connected mode correspondence are stored with the interior ring sensor;
The microprocessor unit, for the connected mode according to the ear-sticking headphone, sets the outer ring sensor With the interior ring sensor environmental scanning is carried out using corresponding trace interval.
9. the earphone as described in claim 6-8, it is characterised in that
The memory cell, is additionally operable to various connected modes of the correspondence ear-sticking headphone, is the outer ring sensor With interior ring sensor storage various outer loop thresholds and various inner ring threshold values, a kind of every kind of institute of connected mode correspondence State outer loop threshold and a kind of inner ring threshold value;
The microprocessor unit, for the connected mode according to the ear-sticking headphone, reads the corresponding outer shroud Threshold value carries out size and compares with the outer shroud difference, and the corresponding inner ring threshold value of reading is carried out greatly with the inner ring difference Small comparing.
10. earphone as claimed in claim 9, it is characterised in that the connected mode of the ear-sticking headphone includes:Bluetooth Connection, usb line connection or the connection of 3.5mm earphone interfaces 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 true CN106792314A (en) 2017-05-31
CN106792314B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257674A (en) * 2018-09-28 2019-01-22 歌尔科技有限公司 A kind of wear condition detection method, device and the wireless headset of wireless headset
CN109792573A (en) * 2018-12-26 2019-05-21 深圳市汇顶科技股份有限公司 Wear detection method, device, wearable device and storage medium
CN110122965A (en) * 2019-05-27 2019-08-16 浙江大华技术股份有限公司 Safety cap
CN110447242A (en) * 2019-02-01 2019-11-12 深圳市汇顶科技股份有限公司 Wear detection device, method and earphone
CN110677765A (en) * 2019-10-30 2020-01-10 歌尔股份有限公司 Wearing control method, device and system of headset
WO2020191594A1 (en) * 2019-03-25 2020-10-01 深圳市汇顶科技股份有限公司 Wearable device, wearing detection method, and storage medium
CN112469014A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Method and electronic equipment for configuring Bluetooth connection parameters
CN113038325A (en) * 2018-09-25 2021-06-25 深圳市汇顶科技股份有限公司 Earphone and method for realizing wearing detection and touch operation
CN113784267A (en) * 2021-08-09 2021-12-10 深圳曦华科技有限公司 Left and right ear detection method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951534A (en) * 2010-07-09 2011-01-19 深圳桑菲消费通信有限公司 Method for additionally arranging sensor on earphone to adjust state of mobile terminal
US20110216016A1 (en) * 2010-03-08 2011-09-08 Plantronics, Inc. Touch Sensor With Active Baseline Tracking
CN102638742A (en) * 2011-02-14 2012-08-15 索尼公司 Sound signal output apparatus and sound signal output method
CN103002373A (en) * 2012-11-19 2013-03-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
CN104506987A (en) * 2014-11-27 2015-04-08 青岛歌尔声学科技有限公司 Smart earphone control method and smart earphone
US9094764B2 (en) * 2008-04-02 2015-07-28 Plantronics, Inc. Voice activity detection with capacitive touch sense
CN105491483A (en) * 2015-11-30 2016-04-13 歌尔声学股份有限公司 Wearing state detection method and system for earphone and earphone
US9326058B2 (en) * 2012-09-26 2016-04-26 Sony Corporation Control method of mobile terminal apparatus
CN105554616A (en) * 2016-02-29 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Earphone control method and earphone

Patent Citations (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
CN102638742A (en) * 2011-02-14 2012-08-15 索尼公司 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
CN103002373A (en) * 2012-11-19 2013-03-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
CN104506987A (en) * 2014-11-27 2015-04-08 青岛歌尔声学科技有限公司 Smart earphone control method and smart earphone
CN105491483A (en) * 2015-11-30 2016-04-13 歌尔声学股份有限公司 Wearing state detection method and system for earphone and earphone
CN105554616A (en) * 2016-02-29 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Earphone control method and earphone

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038325A (en) * 2018-09-25 2021-06-25 深圳市汇顶科技股份有限公司 Earphone and method for realizing wearing detection and touch operation
US11412319B2 (en) 2018-09-25 2022-08-09 Shenzhen GOODIX Technology Co., Ltd. Earbud and method for implementing wearing detection and touch operation
CN113038325B (en) * 2018-09-25 2023-01-24 深圳市汇顶科技股份有限公司 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
CN109257674A (en) * 2018-09-28 2019-01-22 歌尔科技有限公司 A kind of wear condition detection method, device and the wireless headset of wireless headset
WO2020132931A1 (en) * 2018-12-26 2020-07-02 深圳市汇顶科技股份有限公司 Wearing detection method and apparatus, wearable device and storage medium
CN109792573A (en) * 2018-12-26 2019-05-21 深圳市汇顶科技股份有限公司 Wear detection method, device, wearable device and storage medium
US11115748B2 (en) 2018-12-26 2021-09-07 Shenzhen GOODIX Technology Co., Ltd. Wearing detection method and apparatus, wearable device and storage medium
US20210342032A1 (en) * 2019-02-01 2021-11-04 Shenzhen GOODIX Technology Co., Ltd. Wearing detection apparatus and method, and earphone
WO2020155102A1 (en) * 2019-02-01 2020-08-06 深圳市汇顶科技股份有限公司 Wearing state detection device and method, and earphone
CN110447242A (en) * 2019-02-01 2019-11-12 深圳市汇顶科技股份有限公司 Wear detection device, method and earphone
US11907483B2 (en) * 2019-02-01 2024-02-20 Shenzhen GOODIX Technology Co., Ltd. Wearing detection apparatus and method, and earphone
CN110447242B (en) * 2019-02-01 2021-07-02 深圳市汇顶科技股份有限公司 Wearing detection device and method and earphone
WO2020191594A1 (en) * 2019-03-25 2020-10-01 深圳市汇顶科技股份有限公司 Wearable device, wearing detection method, and storage medium
US11438685B2 (en) 2019-03-25 2022-09-06 Shenzhen GOODIX Technology Co., Ltd. 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

Also Published As

Publication number Publication date
CN106792314B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN106792314A (en) A kind of detection method of ear-sticking headphone and its wearing state
CN108810788B (en) Wearing condition detection method and device of wireless earphone and wireless earphone
CN107003969B (en) Connection attribute for using electronic accessories to connect promotes the main equipment of positioning attachment
CN105554616B (en) A kind of headset control method and earphone
CN103491230B (en) Can the mobile terminal of automatic regulating volume and font and Automatic adjustment method thereof
CN108683798A (en) A kind of sound output control method and mobile terminal
CN108886653B (en) Earphone sound channel control method, related equipment and system
CN110085934B (en) Charging method of terminal battery and mobile terminal
CN109618263B (en) Head/neck inclination angle detection method, device and system and wireless earphone controller
CN104506987B (en) A kind of intelligent earphone control method and a kind of intelligent earphone
CN108848429A (en) The pairing connection method of wireless transmitting-receiving equipments and wireless transmitting-receiving equipments
CN108829231B (en) Adjustment method of wearable device, wearable device and storage medium
CN109151647A (en) Interaction control method, device, Earphone box and the storage medium of Earphone box
CN108089691A (en) A kind of method and device for reducing terminal device power consumption
CN107105358A (en) A kind of bluetooth earphone and bluetooth earphone control method
CN106453896A (en) Method, apparatus and system for adjusting display brightness of terminal
CN105786183A (en) Control method, control device and wearable intelligent device
CN109639902A (en) Interaction control method, device, Earphone box and the storage medium of Earphone box
CN109819506A (en) Method for intelligent connection, wearable device and computer readable storage medium
CN110213686A (en) A kind of detection method and terminal of earphone socket
CN108270043A (en) A kind of method for charging batteries, terminal and computer readable storage medium
CN109743448B (en) Prompting method and terminal equipment
CN105141786A (en) Music playing control method, system and mobile terminal
CN106507474A (en) A kind of method and device for positioning mobile terminal
CN109819365A (en) Wireless headset closedown method, wireless headset and electric terminal

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

Inventor after: Li Huan

Inventor before: Fu Hui

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant