CN110337054A - Method, apparatus, equipment and the computer storage medium of test earphone wearing state - Google Patents
Method, apparatus, equipment and the computer storage medium of test earphone wearing state Download PDFInfo
- Publication number
- CN110337054A CN110337054A CN201910578012.5A CN201910578012A CN110337054A CN 110337054 A CN110337054 A CN 110337054A CN 201910578012 A CN201910578012 A CN 201910578012A CN 110337054 A CN110337054 A CN 110337054A
- Authority
- CN
- China
- Prior art keywords
- earphone
- audio signal
- signal
- sound
- wearing state
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
Abstract
The embodiment of the present application discloses method, apparatus, electronic equipment and the computer storage medium of a kind of test earphone wearing state, this method comprises: obtaining the environmental noise signal around earphone;The first phonation unit for controlling the earphone exports the first audio signal;According to first audio signal and the environmental noise signal, the wearing state of the earphone is determined.In this way, reducing the interference that environmental noise detects earphone wearing state in the case where considering environmental noise signal, can be improved the accuracy of the test earphone wearing state in noisy environment.
Description
Technical field
This application involves ear speaker device fields more particularly to a kind of method, apparatus of test earphone wearing state, electronics to set
Standby and computer storage medium.
Background technique
In the prior art, the method for detecting user's earphone wearing state is the audio signal and earphone played according to earphone
The echo signal of acquisition obtains the amount of leakage of user's sound during wearing earphone, and then is judged according to the amount of leakage of sound
The wearing state of earphone, but in a noisy environment, noise can interfere echo signal, and then can obtain the sound of inaccuracy
The amount of leakage of sound causes the accuracy of the earphone wearing state detected according to the amount of leakage of sound low.
Summary of the invention
The embodiment of the present application is intended to provide method, apparatus, electronic equipment and the computer of a kind of test earphone wearing state
Storage medium.
The embodiment of the present application provides a kind of method of test earphone wearing state, which comprises
Obtain the environmental noise signal around earphone;
The first phonation unit for controlling the earphone exports the first audio signal;
According to first audio signal and the environmental noise signal, the wearing state of the earphone is determined.
The embodiment of the present application also proposed a kind of device of test earphone wearing state, and described device includes: processing unit
And detection unit, in which:
Processing unit, for obtaining the environmental noise signal around earphone;The first phonation unit for controlling the earphone is defeated
First audio signal out;
Detection unit, for determining the pendant of the earphone according to first audio signal and the environmental noise signal
Wear state.
The embodiment of the present application also proposed a kind of electronic equipment, including processor and can transport on a processor for storing
The memory of capable computer program;Wherein,
Method of the processor for executing above-mentioned test earphone wearing state when running the computer program.
The embodiment of the present application also proposed a kind of computer storage medium, be stored thereon with computer program, the computer
The method of above-mentioned test earphone wearing state is realized when program is executed by processor.
The embodiment of the present application provides a kind of method of test earphone wearing state, obtains the environmental noise letter around earphone
Number;The first phonation unit for controlling the earphone exports the first audio signal;According to first audio signal and the environment
Noise signal determines the wearing state of the earphone.In this way, reducing environment in the case where considering environmental noise signal and making an uproar
The interference that sound detects earphone wearing state can be improved the accuracy of the test earphone wearing state in noisy environment.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the method for test earphone wearing state provided by the embodiments of the present application;
Fig. 2 is the schematic view of the mounting position of phonation unit provided by the embodiments of the present application and sound transducer;
Fig. 3 is a kind of flow diagram of the specific method of test earphone wearing state provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the specific method of another test earphone wearing state provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of the device of test earphone wearing state provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
With reference to the accompanying drawings and embodiments, the application is further elaborated.It should be appreciated that mentioned herein
Embodiment is only used to explain the application, is not used to limit the application.In addition, embodiment provided below is for implementing
The section Example of the application, rather than the whole embodiments for implementing the application are provided, in the absence of conflict, the application is implemented
Example record technical solution can mode in any combination implement.
It should be noted that in the embodiment of the present application, the terms "include", "comprise" or its any other variant are intended to
Cover non-exclusive inclusion, so that including the method for a series of elements or device not only includes wanting of being expressly recited
Element, but also including other elements that are not explicitly listed, or further include for implementation method or device intrinsic want
Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that wanted including this
In the method or device of element there is also other relevant factor (such as the step in method or the unit in device, such as
Unit can be partial circuit, segment processor, subprogram or software etc.).
For example, the method for test earphone wearing state provided by the embodiments of the present application contains a series of step, still
The method of test earphone wearing state provided by the embodiments of the present application is not limited to documented step, and similarly, the application is implemented
The device for the test earphone wearing state that example provides includes a series of units, but device provided by the embodiments of the present application is unlimited
In including module be expressly recited, can also include be required when obtaining relevant information or being handled based on information set
The module set.
In some embodiments of the present application, a kind of scheme of test earphone wearing state is proposed, can be improved in noise
The accuracy of test earphone wearing state in heterocycle border, while saving the power consumption in test earphone wearing state.
Embodiment one
Fig. 1 is the flow diagram of the method for one of the embodiment of the present application test earphone state, as shown in Figure 1, institute
The method of stating includes the following steps:
S101: the environmental noise signal around earphone is obtained;The first phonation unit for controlling the earphone exports the first sound
Frequency signal;
Here, environmental noise signal can be the ring in the places such as office space, public place of entertainment or public transport place
Border noise signal.
For the implementation of this step, illustratively, ear speaker device can be acquired by the first sound transducer first
Ambient external noise signal, and earphone wear during the first sound transducer will not be by human body or other objects
Body masking, after getting ambient external noise signal, the first phonation unit exports the first audio signal.
Here, the first sound transducer may be mounted in ear speaker device and not hidden by human body when ear speaker device is worn
Any position covered, the pickup hole of the first sound transducer can be towards outside ear speaker devices;Illustratively, referring to fig. 2, first
Sound transducer may be mounted at the position of number 5 in Fig. 2.
Here, the first phonation unit may be mounted at any position of ear speaker device, illustratively, referring to fig. 2, the first hair
Top (in the corresponding diagram 2 number 6) or the position of (number 7 in corresponding diagram 2) on the lower that sound unit may be mounted at ear speaker device.
Here, the first audio signal can be the audio signal within the scope of the intensity of sound that any frequency range, human ear can be born,
For example, the first audio signal can be the signal of at least one frequency in human auditory system frequency range, it is also possible in human ear
The signal of at least one frequency other than auditory frequency range, and the intensity of sound of the signal is in the range of human ear is able to bear,
Human auditory system frequency range is 20Hz-20kHz.
As can be seen that can reduce environmental noise for earphone wearing state in the case where considering environmental noise signal
The interference of detection, and then can be improved the accuracy of the test earphone wearing state in noisy environment.
S102: according to first audio signal and the environmental noise signal, the wearing state of the earphone is determined.
Here, the wearing state of earphone can be that earphone has been worn or earphone is not worn, further, when earphone has been worn
When, the wearing state of earphone can also include the wearing position of earphone.
In practical applications, step S101 to step S102 can be by the processing in the device of test earphone wearing state
Device etc. realizes that above-mentioned processor can be application-specific IC (Application Specific Integrated
Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing device
(Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), central processing unit
At least one of (Central Processing Unit, CPU), controller, microcontroller, microprocessor.It is understood that
Ground, for the device of different test earphone wearing states, the electronic device for realizing above-mentioned processor function can also be
Other, the embodiment of the present application is not especially limited.
The embodiment of the present application provides a kind of method of test earphone wearing state, obtains the environmental noise letter around earphone
Number;The first phonation unit for controlling the earphone exports the first audio signal;According to first audio signal and the environment
Noise signal determines the wearing state of the earphone.In this way, reducing environment in the case where considering environmental noise signal and making an uproar
The interference that sound detects earphone wearing state can be improved the accuracy of the test earphone wearing state in noisy environment.
Embodiment two
On the basis of the embodiment of the present application one, further illustrated.
Fig. 3 is the flow diagram of the specific method of one of the embodiment of the present application test earphone state, such as Fig. 3 institute
Show, described method includes following steps:
S301: the second phonation unit for controlling the earphone exports the second audio signal, and second audio signal is used for
Environmental noise signal described in back elimination;
For the implementation of this step, illustratively, the outer of ear speaker device is acquired by the first sound transducer first
Portion's environmental noise signal, after getting ambient external noise signal, the first phonation unit exports the first audio signal, meanwhile,
Second phonation unit exports the second audio signal, wherein the second audio signal is used for the external environment of back elimination ear speaker device
Noise signal.
Here, the second phonation unit may be mounted at any position of ear speaker device, illustratively, referring to fig. 2, the second hair
Top (in the corresponding diagram 2 number 6) or the position of (number 7 in corresponding diagram 2) on the lower that sound unit may be mounted at ear speaker device.
Here, the second audio signal is used for the ambient external noise signal of back elimination ear speaker device, further, second
Audio signal is audio signal identical as the ambient external noise signal amplitude of collected ear speaker device, opposite in phase,
It can be, phase different from collected ear speaker device ambient external noise signal amplitude that be freely setting according to actual needs
Opposite audio signal, it is possible to further persistently export the second audio signal during test earphone wearing state, into
And guarantee the lasting interference eliminated or reduce ambient external noise signal.
As can be seen that passing through the second audio letter for playing the ambient external noise signal for back elimination ear speaker device
Number, it can eliminate or reduce the interference that the ambient external noise signal of ear speaker device detects subsequent earphone wearing state.
S302: the first echo signal of the earphone acquisition obtained through ear cavity reflection is obtained, judges first echo
Whether signal meets the first preset condition, and the wearing state of the earphone is determined according to judging result.
Before this step, illustratively, the third audio signal of the first sound transducer acquisition can be first obtained, when the
When three audio signals meet the second preset condition, the first echo signal of earphone acquisition is obtained.
Here, third audio signal is, when the second phonation unit exports the second audio signal and then the first sound of secondary control
Voice signal outside the collected ear speaker device of sound sensor further exports the second audio letter from the second phonation unit
Number start the time between collected sound signal to the first sound transducer of secondary control again can be with freely setting according to actual conditions.
In one embodiment, one can be preset for test earphone device external environmental noise signal sound intensity
The first audio intensity threshold can be with when the intensity of sound of third audio signal is less than or equal to the first audio intensity threshold
Determine that third audio signal meets the second preset condition, when the intensity of sound of third audio signal is greater than the first audio intensity threshold
When, it can determine that third audio signal is unsatisfactory for the second preset condition.
As can be seen that acquiring the voice signal outside ear speaker device again by the first sound transducer, it can be determined that this
When the intensity of sound of ambient external noise signal of ear speaker device whether have already decreased to preset first audio intensity threshold
Under, when the intensity of sound for the ambient external noise signal for determining ear speaker device at this time is less than or equal to preset first sound
When intensity threshold, that is, reduce the interference that ambient external noise detects earphone wearing state.
For the implementation of this step, illustratively, when the first echo signal meets the first preset condition, ear is determined
Machine has been worn, and when the first echo signal is unsatisfactory for the first preset condition, determines that earphone is not worn.
In one embodiment, the second sound intensity threshold for test earphone wearing state can be preset,
The first echo signal for passing through ear cavity reflection by the acquisition of second sound sensor, when the intensity of sound of the first echo signal is greater than
Or when being equal to second sound intensity threshold, it can determine that the first echo signal meets the first preset condition, when the first echo signal
Intensity of sound be less than second sound intensity threshold when, can determine that the first echo signal is unsatisfactory for the first preset condition.
Here, second sound sensor may be mounted at any position of ear speaker device ante-chamber or back cavity, illustratively,
Referring to fig. 2, second sound sensor may be mounted at ear speaker device ante-chamber top (number 1 in corresponding diagram 2) or on the lower (corresponding diagram
Digital 2) position in 2 also may be mounted at ear speaker device back cavity top (number 3 in corresponding diagram 2) or (count in corresponding diagram 2 on the lower
Word 4) position.
In a specific example, the ambient external noise letter of ear speaker device is acquired by the first sound transducer first
Number, after getting ambient external noise signal, the output of the first phonation unit is used for the first of test earphone equipment wearing state
Audio signal, meanwhile, the output of the second phonation unit is used for the second audio signal of back elimination ambient external noise, when determining this
When ear speaker device ambient external noise signal intensity of sound be less than or equal to preset first audio intensity threshold when, lead to
The acquisition of second sound sensor is crossed, due to the blocking of ear chamber, to broadcast by the first echo signal of ear cavity reflection when wearing earphone
The audio signal put can be reflected back again second sound sensor by ear chamber, and second sound sensor at this time is caused to detect
Intensity of sound is greater than or equal to default second sound intensity threshold;In no wearing earphone, due to there is no blocking for ear chamber,
After the first audio signal diffusion played, the collected intensity of sound of sound pressure sensor is less than preset second sound intensity threshold
Value, by by second sound sensor in real time collected intensity of sound numerical value compared with preset second sound intensity threshold,
Determine whether earphone is in wearing state.
Further, after determining that earphone has been worn, can continue to determine earphone in ear chamber according to the first echo signal
Specific location, illustratively, when user wears earphone, when earphone is when the position of ear chamber changes, different wearing positions
Set it is also different via the intensity of sound of the first echo signal after ear cavity reflection, therefore, it may be predetermined that the pendant of several groups of earphones
It wears position, while determining the intensity of sound section of corresponding first echo signal of each wearing position, in practice when collecting the
After the intensity of sound of one echo signal, which sound is met according to the determination of the first echo signal intensity of sound of actual acquisition
Intensity interval, and then determine the specific wearing position of earphone can be with further, it is determined that after the specific wearing position of earphone
Volume adjustment is realized according to the specific wearing position of earphone, for example, when determining when being worn on the intracavitary deeper position of ear of earphone,
Volume can be turned down automatically.
As can be seen that judging whether the first echo signal meets the first preset condition, and then ear is determined according to judging result
The wearing state of machine, that is, can be with the specific wearing state of accurate judgement earphone, on the other hand, when determining that earphone is not worn, then
Stop test earphone wearing state, and then saves the power consumption in test earphone wearing state.
Embodiment three
On the basis of the embodiment of the present application one, further illustrated.
Fig. 4 is the flow diagram of the specific method of another test earphone state in the embodiment of the present application, such as Fig. 4 institute
Show, described method includes following steps:
S401: the second echo signal of the earphone acquisition obtained through ear cavity reflection is obtained, obtains second echo
The 4th audio signal after environmental noise signal described in target signal filter;
Here, obtain earphone around environmental noise signal mode in embodiment one by the way of it is identical, first
The property and embodiment one of installation site and first audio signal of the phonation unit in ear speaker device are all the same.
For the implementation of this step, illustratively, acquired outside ear speaker device by the first sound transducer first
Environmental noise signal, and the first sound transducer will not be hidden by human body or other objects during earphone is worn
It covers, after getting the ambient external noise signal of ear speaker device of the first sound transducer acquisition, controls the first of earphone
Phonation unit exports the first audio signal, at this point, acquiring the second echo obtained through ear cavity reflection by second sound sensor
Signal, here, the first audio signal and the ring outside ear speaker device that the second echo signal includes the output of the first phonation unit
Border noise signal, at this point, including according in the second echo signal of environmental noise target signal filter of the first sound transducer acquisition
The part of external environmental noise signal, that is, obtained the 4th audio signal.
In one embodiment, whole environmental noise signals in the second echo signal can be filtered out, alternatively, can filter
Except the component environment noise signal in the second echo signal.
Here, the position and embodiment one that the first sound transducer and second sound sensor are installed in ear speaker device
It is identical.
As can be seen that acquiring the ambient external noise signal of ear speaker device by the first sound transducer, pass through the rising tone
Sound sensor acquires the second echo signal, and is filtered according to the ambient external noise of the ear speaker device of the first sound transducer acquisition
Except the 4th audio signal has been obtained after the ambient external noise signal in the second echo signal, ambient external noise is thereby reduced
Interference to the 4th audio signal.
S402: judging whether the 4th audio signal meets third preset condition, determines the ear according to judging result
The wearing state of machine.
For the implementation of this step, illustratively, when the 4th audio signal meets third preset condition, ear is determined
Machine has been worn, and when the 4th audio signal is unsatisfactory for third preset condition, determines that earphone is not worn.
In one embodiment, the third audio intensity threshold for test earphone wearing state can be preset,
When the intensity of sound of the 4th audio signal is greater than or equal to third audio intensity threshold, it can determine that the 4th audio signal meets
Third preset condition can determine the 4th audio when the intensity of sound of the 4th audio signal is less than third audio intensity threshold
Signal is unsatisfactory for third preset condition.
As can be seen that judging whether the 4th audio signal meets third preset condition, and then ear is determined according to judging result
The wearing state of machine, that is, can be with the specific wearing state of accurate judgement earphone.
Example IV
For a kind of method of test earphone wearing state of the embodiment of the present application one, the embodiment of the present application four is additionally provided
A kind of device of test earphone wearing state.
Fig. 5 is a kind of composed structure schematic diagram for the device for adjusting intensity of sound of the embodiment of the present application, as shown in figure 5, should
Device includes: processing unit 500 and detection unit 501, wherein
Processing unit 500, for obtaining the environmental noise signal around earphone;Control the first phonation unit of the earphone
Export the first audio signal;
Detection unit 501, for determining the earphone according to first audio signal and the environmental noise signal
Wearing state.
In one embodiment, the detection unit 501, the second phonation unit for controlling the earphone export second
Audio signal, second audio signal is for environmental noise signal described in back elimination;Obtain earphone acquisition through ear
The first echo signal that cavity reflection obtains, judges whether first echo signal meets the first preset condition, is tied according to judgement
Fruit determines the wearing state of the earphone.
In one embodiment, the detection unit 501, what the first sound transducer for obtaining the earphone acquired
Third audio signal, when the third audio signal meets the second preset condition, obtain the earphone acquisition through ear cavity reflection
The first echo signal obtained;First sound transducer is used to collect the external voice of the earphone, and first sound
Sound sensor is not covered by human body.
Here, the second preset condition includes: that the intensity of sound of the third audio signal is strong less than or equal to the first sound
Spend threshold value.
In one embodiment, the detection unit 501 is first echo signal satisfaction for the judging result
When the first preset condition, determine that earphone has been worn;The judging result is that first echo signal is unsatisfactory for the first default item
When part, determine that earphone is not worn.
Here, the first condition includes: that the intensity of sound of first echo signal is greater than or equal to rising tone loudness of a sound
Spend threshold value.
In one embodiment, the detection unit 501, after determining that earphone has been worn, according to first echo
Signal determines wearing position of the earphone in ear chamber.
In one embodiment, the detection unit 501, for obtaining obtaining through ear cavity reflection for earphone acquisition
Second echo signal show that second echo signal filters out the 4th audio signal after the environmental noise signal;Judge institute
It states whether the 4th audio signal meets third preset condition, the wearing state of the earphone is determined according to judging result.
In one embodiment, the detection unit 501 is the 4th audio signal satisfaction for the judging result
When third preset condition, determine that earphone has been worn;The judging result is that the 4th audio signal is unsatisfactory for default article of third
When part, determine that earphone is not worn.
In one embodiment, the detection unit 501, after determining that earphone has been worn, according to the 4th audio
Signal determines wearing position of the earphone in ear chamber.
Here, the third preset condition includes: that the intensity of sound of the 4th audio signal is greater than or equal to third sound
Sound intensity threshold.
In practical applications, the processing unit 500 and detection unit 501 can be by being located at test earphone wearing state
Processor in device realizes, the processor can for ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller,
At least one of microprocessor.
In addition, each functional module in the present embodiment can integrate in one processing unit, it is also possible to each list
Member physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can be with
Using formal implementation of hardware, can also be realized in the form of software function module.
If the integrated unit realizes that being not intended as independent product is sold in the form of software function module
Or in use, can store in a computer readable storage medium, based on this understanding, the technical side of the present embodiment
Substantially all or part of the part that contributes to existing technology or the technical solution can be produced case in other words with software
The form of product embodies, which is stored in a storage medium, including some instructions are used so that one
Platform computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute sheet
The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(Read Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk
Etc. the various media that can store program code.
Specifically, the corresponding computer program instructions of the method for one of the present embodiment test earphone wearing state can
To be stored in CD, hard disk, on the storage mediums such as USB flash disk, when in storage medium with a kind of method pair for adjusting intensity of sound
The computer program instructions answered are read or are performed by an electronic equipment, realize any one test earphone of previous embodiment
The method of wearing state.
Based on the identical technical concept of previous embodiment, referring to Fig. 6, it illustrates a kind of electricity provided by the embodiments of the present application
Sub- equipment 60 may include: memory 61 and processor 62;Wherein,
The memory 61, for storing computer program and data;
The processor 62, for executing the computer program stored in the memory, to realize previous embodiment
Any one adjusts the method for intensity of sound.
In practical applications, above-mentioned memory 61 can be volatile memory (volatile memory), such as RAM;
Or nonvolatile memory (non-volatile memory), such as ROM, flash memory (flash memory), hard disk
(Hard Disk Drive, HDD) or solid state hard disk (Solid-State Drive, SSD);Or the memory of mentioned kind
Combination, and instruction and data is provided to processor 62.
Above-mentioned processor 62 can be ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, microprocessor
At least one of.It, can be with for realizing the electronic device of above-mentioned processor function it is to be appreciated that for different equipment
To be other, the embodiment of the present application is not especially limited.
In some embodiments, device provided by the embodiments of the present application has function or comprising module can be used for holding
The method of row embodiment of the method description above, specific implementation are referred to the description of embodiment of the method above, for sake of simplicity, this
In repeat no more
Above the description of each embodiment is tended to emphasize the difference between each embodiment, it is same or similar
Place can refer to mutually, for sake of simplicity, repeats no more herein
Disclosed method in each method embodiment provided herein, in the absence of conflict can be any group
It closes, obtains new embodiment of the method.
Disclosed feature in each product embodiments provided herein, in the absence of conflict can be any group
It closes, obtains new product embodiments.
Disclosed feature, can appoint in the absence of conflict in each method or apparatus embodiments provided herein
Meaning combination, obtains new embodiment of the method or apparatus embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much
Form, these are belonged within the protection of the application.
Claims (16)
1. a kind of method of test earphone wearing state, which is characterized in that the described method includes:
Obtain the environmental noise signal around earphone;
The first phonation unit for controlling the earphone exports the first audio signal;
According to first audio signal and the environmental noise signal, the wearing state of the earphone is determined.
2. the method according to claim 1, wherein described make an uproar according to first audio signal and the environment
Sound signal determines the wearing state of the earphone, comprising:
The second phonation unit for controlling the earphone exports the second audio signal, and second audio signal is used for back elimination institute
State environmental noise signal;
The first echo signal obtained through ear cavity reflection for obtaining the earphone acquisition judges whether first echo signal is full
The first preset condition of foot, the wearing state of the earphone is determined according to judging result.
3. according to the method described in claim 2, it is characterized in that, described obtain obtaining through ear cavity reflection for the earphone acquisition
The first echo signal, comprising:
The third audio signal of the first sound transducer acquisition of the earphone is obtained, it is pre- that the third audio signal meets second
If when condition, obtaining the first echo signal of the earphone acquisition obtained through ear cavity reflection;First sound transducer is used
In the external voice for collecting the earphone, and first sound transducer is not covered by human body.
4. according to the method described in claim 3, it is characterized in that, second preset condition includes:
The intensity of sound of the third audio signal is less than or equal to the first audio intensity threshold.
5. according to the method described in claim 2, it is characterized in that, the wearing shape for determining the earphone according to judging result
State, comprising:
When the judging result is that first echo signal meets the first preset condition, determine that earphone has been worn;The judgement
When being as a result unsatisfactory for the first preset condition for first echo signal, determine that earphone is not worn.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
After determining that earphone has been worn, wearing position of the earphone in ear chamber is determined according to first echo signal.
7. according to method described in claim 2,5 or 6, which is characterized in that first preset condition includes:
The intensity of sound of first echo signal is greater than or equal to second sound intensity threshold.
8. the method according to claim 1, wherein described make an uproar according to first audio signal and the environment
Sound signal determines the wearing state of the earphone, comprising:
The second echo signal obtained through ear cavity reflection for obtaining the earphone acquisition, show that second echo signal filters out institute
The 4th audio signal after stating environmental noise signal;
Judge whether the 4th audio signal meets third preset condition, the wearing shape of the earphone is determined according to judging result
State.
9. according to the method described in claim 8, it is characterized in that, the wearing shape for determining the earphone according to judging result
State, comprising:
When the judging result is that the 4th audio signal meets third preset condition, determine that earphone has been worn;The judgement
When being as a result unsatisfactory for third preset condition for the 4th audio signal, determine that earphone is not worn.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
After determining that earphone has been worn, wearing position of the earphone in ear chamber is determined according to the 4th audio signal.
11. according to the described in any item methods of claim 8 to 10, which is characterized in that the third preset condition includes:
The intensity of sound of 4th audio signal is greater than or equal to third audio intensity threshold.
12. a kind of device of test earphone wearing state, which is characterized in that described device includes: processing unit and detection unit,
Wherein:
Processing unit, for obtaining the environmental noise signal around earphone;Control the first phonation unit output the of the earphone
One audio signal;
Detection unit, for determining the wearing shape of the earphone according to first audio signal and the environmental noise signal
State.
13. device according to claim 12, which is characterized in that the detection unit is used for:
The second phonation unit for controlling the earphone exports the second audio signal, and second audio signal is used for back elimination institute
State environmental noise signal;
The first echo signal obtained through ear cavity reflection for obtaining the earphone acquisition judges whether first echo signal is full
The first preset condition of foot, the wearing state of the earphone is determined according to judging result.
14. device according to claim 12, which is characterized in that the detection unit is used for:
The second echo signal obtained through ear cavity reflection for obtaining the earphone acquisition, show that second echo signal filters out institute
The 4th audio signal after stating environmental noise signal;
Judge whether the 4th audio signal meets third preset condition, the wearing shape of the earphone is determined according to judging result
State.
15. a kind of electronic equipment, which is characterized in that including processor and for storing the computer that can be run on a processor
The memory of program;Wherein,
The processor is for when running the computer program, perform claim to require 1 to 11 described in any item methods.
16. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is processed
Claim 1 to 11 described in any item methods are realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910578012.5A CN110337054A (en) | 2019-06-28 | 2019-06-28 | Method, apparatus, equipment and the computer storage medium of test earphone wearing state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910578012.5A CN110337054A (en) | 2019-06-28 | 2019-06-28 | Method, apparatus, equipment and the computer storage medium of test earphone wearing state |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110337054A true CN110337054A (en) | 2019-10-15 |
Family
ID=68144552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910578012.5A Pending CN110337054A (en) | 2019-06-28 | 2019-06-28 | Method, apparatus, equipment and the computer storage medium of test earphone wearing state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110337054A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111988692A (en) * | 2020-08-07 | 2020-11-24 | 歌尔科技有限公司 | Earphone wearing state detection method and device, earphone and storage medium |
CN112013949A (en) * | 2020-08-06 | 2020-12-01 | 歌尔科技有限公司 | Earphone wearing state determining method and device and earphone |
WO2021093119A1 (en) * | 2019-11-15 | 2021-05-20 | 歌尔股份有限公司 | Earphone wearing detection method, device, earphone and readable storage medium |
CN113727233A (en) * | 2021-07-22 | 2021-11-30 | 上海闻泰电子科技有限公司 | Earphone prompting method and device, earphone and medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101410900A (en) * | 2006-03-24 | 2009-04-15 | 皇家飞利浦电子股份有限公司 | Device for and method of processing data for a wearable apparatus |
CN104661153A (en) * | 2014-12-31 | 2015-05-27 | 歌尔声学股份有限公司 | Earphone sound effect compensation method and device as well as earphone |
CN105916074A (en) * | 2016-06-21 | 2016-08-31 | 维沃移动通信有限公司 | Play control method for multimedia and terminal |
CN106465011A (en) * | 2014-03-31 | 2017-02-22 | 伯斯有限公司 | Headphone on-head detection using differential signal measurement |
WO2018156257A1 (en) * | 2017-02-24 | 2018-08-30 | Bose Corporation | Off-head detection of in-ear headset |
CN109076279A (en) * | 2018-07-17 | 2018-12-21 | 万魔声学科技有限公司 | The method and system of the pleasant detection of earphone, earphone |
CN109195045A (en) * | 2018-08-16 | 2019-01-11 | 歌尔科技有限公司 | The method, apparatus and earphone of test earphone wearing state |
US20190182578A1 (en) * | 2015-07-10 | 2019-06-13 | Avnera Corporation | Headphone with Off-Ear and On-Ear Detection |
-
2019
- 2019-06-28 CN CN201910578012.5A patent/CN110337054A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101410900A (en) * | 2006-03-24 | 2009-04-15 | 皇家飞利浦电子股份有限公司 | Device for and method of processing data for a wearable apparatus |
CN106465011A (en) * | 2014-03-31 | 2017-02-22 | 伯斯有限公司 | Headphone on-head detection using differential signal measurement |
CN104661153A (en) * | 2014-12-31 | 2015-05-27 | 歌尔声学股份有限公司 | Earphone sound effect compensation method and device as well as earphone |
US20190182578A1 (en) * | 2015-07-10 | 2019-06-13 | Avnera Corporation | Headphone with Off-Ear and On-Ear Detection |
CN105916074A (en) * | 2016-06-21 | 2016-08-31 | 维沃移动通信有限公司 | Play control method for multimedia and terminal |
WO2018156257A1 (en) * | 2017-02-24 | 2018-08-30 | Bose Corporation | Off-head detection of in-ear headset |
CN109076279A (en) * | 2018-07-17 | 2018-12-21 | 万魔声学科技有限公司 | The method and system of the pleasant detection of earphone, earphone |
CN109195045A (en) * | 2018-08-16 | 2019-01-11 | 歌尔科技有限公司 | The method, apparatus and earphone of test earphone wearing state |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021093119A1 (en) * | 2019-11-15 | 2021-05-20 | 歌尔股份有限公司 | Earphone wearing detection method, device, earphone and readable storage medium |
CN112013949A (en) * | 2020-08-06 | 2020-12-01 | 歌尔科技有限公司 | Earphone wearing state determining method and device and earphone |
CN111988692A (en) * | 2020-08-07 | 2020-11-24 | 歌尔科技有限公司 | Earphone wearing state detection method and device, earphone and storage medium |
CN113727233A (en) * | 2021-07-22 | 2021-11-30 | 上海闻泰电子科技有限公司 | Earphone prompting method and device, earphone and medium |
CN113727233B (en) * | 2021-07-22 | 2023-12-15 | 上海闻泰电子科技有限公司 | Earphone prompting method and device, earphone and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110337054A (en) | Method, apparatus, equipment and the computer storage medium of test earphone wearing state | |
EP2214554B1 (en) | Aural heart monitoring apparatus and method | |
CN111629297B (en) | Earphone wearing state detection method and device, earphone and storage medium | |
CN112911487B (en) | In-ear detection method for wireless headset, wireless headset and storage medium | |
CN110459212A (en) | Method for controlling volume and equipment | |
US8175305B2 (en) | Hearing aid with a drop safeguard | |
CN110337052A (en) | Adjust method, apparatus, electronic equipment and the computer storage medium of intensity of sound | |
CN110558946B (en) | Method for recording abnormal sleep state of user and sleep instrument | |
EP3939336A1 (en) | A piezoelectric mems device with an adaptive threshold for detection of an acoustic stimulus | |
CN112019975B (en) | Ambient and aggregate acoustic dosimetry | |
CN111988692A (en) | Earphone wearing state detection method and device, earphone and storage medium | |
CN112995881B (en) | Earphone, earphone in and out detection method and storage medium of earphone | |
CN104469588A (en) | Control method and device and wearable equipment | |
CN112947886A (en) | Method and device for protecting user hearing and electronic equipment | |
KR20200138671A (en) | Environmental and aggregate acoustic dosimetry | |
US20200145756A1 (en) | Headset | |
US8103019B1 (en) | Probabilistic gain-sensing ringing feedback detector | |
EP2592605A1 (en) | Methods and systems to support auditory signal detection | |
CN114979921A (en) | Earphone sound leakage detection method and device and Bluetooth earphone | |
CA3148237A1 (en) | Systems and methods for remote multi-directional bark deterrence | |
CN110324742A (en) | Control method, earphone and storage medium | |
US20210132897A1 (en) | Headset, control module and method for automatic adjustment of volume of headset, and storage medium | |
CN105681589A (en) | Incoming call prompt method and terminal | |
CN113196797B (en) | Acoustic gesture detection for control of audible devices | |
CN103825995A (en) | Mobile electronic device and volume control method thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191015 |