CN110278509A - A kind of wireless headset control method, device and wireless headset and storage medium - Google Patents
A kind of wireless headset control method, device and wireless headset and storage medium Download PDFInfo
- Publication number
- CN110278509A CN110278509A CN201910683295.XA CN201910683295A CN110278509A CN 110278509 A CN110278509 A CN 110278509A CN 201910683295 A CN201910683295 A CN 201910683295A CN 110278509 A CN110278509 A CN 110278509A
- Authority
- CN
- China
- Prior art keywords
- wireless headset
- state
- decibel value
- value
- response curve
- 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
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Abstract
This application discloses a kind of wireless headset control method, device and a kind of wireless headset and computer readable storage mediums, this method comprises: identifying whether the wireless headset is in box-like state;If it is not, then sending the sinusoidal signal of predeterminated frequency by loudspeaker;The corresponding frequency response curve of the sinusoidal signal is acquired by microphone, the corresponding decibel value of the predeterminated frequency is determined in the frequency response curve;If the decibel value is greater than preset value, determine that the wireless headset is in pleasant state.It can be seen that wireless headset control method provided by the present application, solve the problems, such as that infrared sensor misidentifies wearing state caused by being blocked to earphone in the hand or when desktop, improves the accuracy rate of the pleasant detection of wireless headset.
Description
Technical field
This application involves ear phone technology fields, more specifically to a kind of wireless headset control method, device and one kind
Wireless headset and a kind of computer readable storage medium.
Background technique
With the development of Bluetooth technology, intelligent and wireless penetration trend has in depth been embodied in bluetooth headset class product
Among, for the wireless headset of such as TWS (Chinese name: very wireless, full name in English: True Wireless Stereo) earphone
Pleasant detection function uses the distance between infrared sensor test earphone shell and ear canal in the related art.But Shan Hong
Outer sensor there are problems that accidentally touching, for example when earphone plays in user hand, may be misidentified as wearing state, make
It is played at the mistake of music.
Therefore, how to improve the accuracy rate of the pleasant detection of wireless headset is that those skilled in the art need the technology solved to ask
Topic.
Summary of the invention
The application's is designed to provide a kind of wireless headset control method, device and a kind of wireless headset and a kind of calculating
Machine readable storage medium storing program for executing improves the accuracy rate of the pleasant detection of wireless headset.
The first aspect of the application provides a kind of wireless headset control method, comprising:
Identify whether the wireless headset is in box-like state;
If it is not, then sending the sinusoidal signal of predeterminated frequency by loudspeaker;
The corresponding frequency response curve of the sinusoidal signal is acquired by microphone, is determined in the frequency response curve described default
The corresponding decibel value of frequency;
If the decibel value is greater than preset value, determine that the wireless headset is in pleasant state.
In conjunction with the application's in a first aspect, in the first embodiment of the application first aspect, further includes:
If the decibel value is less than or equal to preset value, determine that the wireless headset is in the outer state of ear.
In conjunction with the application's in a first aspect, in second of embodiment of the application first aspect, described in the identification
Whether wireless headset is in box-like state, comprising:
Identify whether the wireless headset is in box-like state by Hall sensor.
It is described to pass through loudspeaking in conjunction with the application's in a first aspect, in the third embodiment of the application first aspect
Device is sent before the sinusoidal signal of predeterminated frequency, further includes:
Control infrared sensor acquisition signal passes through described in execution when the infrared sensor, which detects, blocks signal
Loudspeaker sends the step of sinusoidal signal of predeterminated frequency.
In conjunction with the first aspect of the application, the first embodiment of the application first aspect, the application first aspect
The third embodiment of second of embodiment and the application first aspect, in the 4th kind of embodiment party of the application first aspect
In formula, further includes:
Determine the gain of target volume and the microphone;
It is determined according to the transmission function of the target volume, the gain and the loudspeaker to the microphone described pre-
If value.
In conjunction with the 4th kind of embodiment of the application first aspect, in the 5th kind of embodiment of the application first aspect
In, the transmission function according to the target volume, the gain and the loudspeaker to the microphone determines described pre-
If value, comprising:
Send the sound of the target volume under the conditions of first environment condition and second environment respectively by the loudspeaker
Frequently;Wherein, the first environment condition is that the wireless headset is in pleasant state, and the second environment condition is described wireless
Earphone is in the outer state of ear;
Corresponding first frequency response curve of the first environment condition is acquired under the gain condition by the microphone
The second frequency response curve corresponding with the second environment condition;
Corresponding first decibel value of the predeterminated frequency is determined in first frequency response curve, it is bent in second frequency response
Corresponding second decibel value of the predeterminated frequency is determined in line;
The preset value is determined according to first decibel value and second decibel value.
In conjunction with the 5th kind of embodiment of the application first aspect, in the 6th kind of embodiment of the application first aspect
In, it is described that the preset value is determined according to first decibel value and second decibel value, comprising:
The average value of first decibel value and second decibel value is determined as the preset value.
The second aspect of the application provides a kind of wireless headset control device, comprising:
Identification module, whether the wireless headset is in box-like state for identification;If it is not, then starting the work of sending module
Make process;
The sending module, for sending the sinusoidal signal of predeterminated frequency by loudspeaker;
Acquisition module, for acquiring the corresponding frequency response curve of the sinusoidal signal by microphone, in the frequency response curve
The corresponding decibel value of the middle determination predeterminated frequency;
First determination module determines that the wireless headset is in into ear shaped if being greater than preset value for the decibel value
State.
In conjunction with the second aspect of the application, in the first embodiment of the application second aspect, further includes:
Control module, for controlling infrared sensor acquisition signal, when the infrared sensor, which detects, blocks signal,
Start the workflow of the sending module.
In conjunction with the second aspect of the application, in second of embodiment of the application second aspect, further includes:
First determining module, for determining the gain of target volume and the microphone;
Second determining module, for according to the target volume, the gain and the loudspeaker to the microphone
Transmission function determines the preset value.
The third aspect of the application provides a kind of wireless headset, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of above-mentioned wireless headset control method.
The fourth aspect of the application provides a kind of computer readable storage medium, on the computer readable storage medium
It is stored with computer program, the step such as above-mentioned wireless headset control method is realized when the computer program is executed by processor
Suddenly.
By above scheme it is found that a kind of wireless headset control method provided by the present application, comprising: the identification wireless ear
Whether machine is in box-like state;If it is not, then sending the sinusoidal signal of predeterminated frequency by loudspeaker;Described in being acquired by microphone
The corresponding frequency response curve of sinusoidal signal determines the corresponding decibel value of the predeterminated frequency in the frequency response curve;If described point
Shellfish value is greater than preset value, then determines that the wireless headset is in pleasant state.
Wireless headset control method provided by the present application is sent pre- when wireless headset is outside charging box by loudspeaker
If the sinusoidal signal of frequency, the corresponding frequency response curve of the sinusoidal signal is acquired by microphone.Since wireless headset is wearing shape
Under state, earphone and human ear couple state, low frequency energy No leakage, therefore the corresponding decibel value of predeterminated frequency is big in frequency response curve
In threshold value.And wireless headset is not at wearing state, simply because place or hand accidentally touch cause infrared sensor acquire letter
Number change, then earphone be in air at this time, loudspeaker sending low frequency energy reveal completely, the predeterminated frequency in frequency response curve
Corresponding decibel value is less than threshold value.It can be seen that wireless headset control method provided by the present application, solve earphone in the hand or
Caused by infrared sensor is blocked when desktop the problem of misrecognition wearing state, the accurate of the pleasant detection of wireless headset is improved
Rate.Disclosed herein as well is a kind of wireless headset control device and a kind of wireless headset and a kind of computer readable storage medium,
Equally it is able to achieve above-mentioned technical effect.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Application.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.Attached drawing is and to constitute specification for providing further understanding of the disclosure
A part, be used to explain the disclosure together with following specific embodiment, but do not constitute the limitation to the disclosure.Attached
In figure:
Fig. 1 is a kind of flow chart of wireless headset control method shown according to an exemplary embodiment;
Fig. 2 is a kind of structure chart of wireless headset shown according to an exemplary embodiment;
Fig. 3 is the flow chart of another wireless headset control method shown according to an exemplary embodiment;
Fig. 4 is the flow chart according to another wireless headset control method shown in an exemplary embodiment;
Fig. 5 is a kind of structure chart of wireless headset control device shown according to an exemplary embodiment;
Fig. 6 is a kind of structure chart of main control platform shown according to an exemplary embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of wireless headset control method, improves the accurate of the pleasant detection of wireless headset
Rate.
Referring to Fig. 1, a kind of flow chart of wireless headset control method shown according to an exemplary embodiment, such as Fig. 1 institute
Show, comprising:
S101: identify whether the wireless headset is in box-like state;If it is not, then entering S102;
As shown in Fig. 2, include in wireless headset in the present embodiment infrared sensor A1, loudspeaker A2, microphone A3 and
Main control platform A4 etc., A1, A2, A3 pass through lead or FPC (Chinese name: flexible circuit board, full name in English: Flexible respectively
Printed Circuit) it is connect with A4, the executing subject of the present embodiment can be the main control platform A4 in wireless headset.
In this step, whether identification wireless headset is in box-like state.Specifically, can by wireless headset suddenly
You identify that is, this step may include identifying whether the wireless headset is in box-like state by Hall sensor by sensor.
Certainly it can also be identified by the pin in wireless headset, herein without specifically limiting.When wireless headset is in box
When state, it is set to Mode1, wireless headset is in low power consumpting state at this time.
S102: the sinusoidal signal of predeterminated frequency is sent by loudspeaker;
In this step, main control platform control loudspeaker (full name in English: Speaker, English abbreviation: SPK) sends one section
For sinusoidal signal to microphone (full name in English: microphone, English abbreviation: Mic), sinusoidal signal is that frequency content is the most single
A kind of signal, the frequency of the main track signal is predeterminated frequency.It is understood that the present embodiment is not to the length of sinusoidal signal
It is defined, for example, the sinusoidal signal length can be the 200Hz sinusoidal signal of 0.5S.Preferably, predeterminated frequency is lower than
Preset value, i.e. the main track signal are low frequency signal, can be used as pleasant prompt tone, do not influence Product Experience.
S103: acquiring the corresponding frequency response curve of the sinusoidal signal by microphone, and institute is determined in the frequency response curve
State the corresponding decibel value of predeterminated frequency;
In this step, which is acquired by microphone, and Frequency Response Analysis is carried out to collected signal, obtained
The sinusoidal signal corresponding frequency response curve has recorded the corresponding decibel value of each frequency values in frequency response curve, can by frequency response curve
To determine the corresponding decibel value of predeterminated frequency, so that subsequent step carries out pleasant detection according to the decibel value.
S104: judge whether the decibel value is greater than preset value;If so, into S105, if it is not, then entering S106;
In this step, whether the decibel value for judging that previous step determines is greater than preset value.Since wireless headset is being worn
Under state, earphone and human ear couple state, low frequency energy No leakage, therefore the corresponding decibel value of predeterminated frequency in frequency response curve
Greater than threshold value.And wireless headset is not at wearing state, simply because placement or accidentally touching for hand lead to infrared sensor acquisition
Signal changes, then earphone is in air at this time, and the low frequency energy that loudspeaker issues is revealed completely, and frequency is preset in frequency response curve
The corresponding decibel value of rate is less than threshold value.
Preset value herein can pass through the increasing for the speaker volume V1, microphone that the human ear set in practice feels comfortable
The transmission function that beneficial V2 and loudspeaker and microphone practical structures design codetermines.Transmission function contains frequency response
It measures, only needs herein using frequency response measurement therein with phase response.I.e. before this step, further includes: really
Set the goal the gain of volume (V1) and the microphone;According to the target volume, the gain and the loudspeaker to described
The transmission function of microphone determines the preset value.
S105: determine that the wireless headset is in pleasant state.
In specific implementation, when the corresponding decibel value of predeterminated frequency be greater than preset value when, determine the wireless headset be in into
Ear shaped state, also referred to as wearing state, are set as Mode3.Main control platform carries out subsequent operation, such as plays music.
S106: determine that the wireless headset is in the outer state of ear.
In specific implementation, when the corresponding decibel value of predeterminated frequency is less than or equal to preset value, determine the wireless headset
The state outside ear, is set as Mode2, without subsequent processing.
Wireless headset control method provided by the embodiments of the present application passes through loudspeaker when wireless headset is outside charging box
The sinusoidal signal for sending predeterminated frequency, acquires the corresponding frequency response curve of the sinusoidal signal by microphone.Since wireless headset exists
Under wearing state, earphone and human ear couple state, low frequency energy No leakage, therefore corresponding point of predeterminated frequency in frequency response curve
Shellfish value is greater than threshold value.And wireless headset is not at wearing state, simply because placement or accidentally touching for hand cause infrared sensor to be adopted
The signal of collection changes, then earphone is in air at this time, and the low frequency energy that loudspeaker issues is revealed completely, pre- in frequency response curve
If the corresponding decibel value of frequency is less than threshold value.It can be seen that wireless headset control method provided by the embodiments of the present application, solves
Caused by earphone is in the hand or infrared sensor is blocked when desktop the problem of misrecognition wearing state, improves wireless headset and enter
The accuracy rate of ear detection.
The embodiment of the present application discloses a kind of wireless headset control method, and relative to a upper embodiment, the present embodiment is to skill
Art scheme has made further instruction and optimization.It is specific:
Referring to Fig. 3, the flow chart of another kind wireless headset control method shown according to an exemplary embodiment, such as Fig. 3
It is shown, comprising:
S201: identify whether the wireless headset is in box-like state by Hall sensor;If it is not, then entering S202;
S202: control infrared sensor acquires signal, judges whether to detect and blocks signal;If so, into S203;If
It is no, then enter S207;
In the present embodiment, when earphone is not in charging box, pleasant inspection for the first time is carried out by infrared sensor first
It surveys.If infrared sensor, which detects, blocks signal, illustrate that wireless headset passes through the pleasant detection of above-mentioned first time, infrared sensor hair
It send status signal to main control platform, carries out second of pleasant detection into S203.If infrared sensor, which is not detected, blocks signal,
It is then directly entered S207 and determines that wireless headset is in the outer state of ear, do not need to carry out second of pleasant detection, improve wireless ear
The pleasant detection efficiency of machine.
S203: the sinusoidal signal of predeterminated frequency is sent by loudspeaker;
S204: acquiring the corresponding frequency response curve of the sinusoidal signal by microphone, and institute is determined in the frequency response curve
State the corresponding decibel value of predeterminated frequency;
S205: judge whether the decibel value is greater than preset value;If so, into S206, if it is not, then entering S207;
Step S203-S205 is second of pleasant detection, and detailed process describes in detail in a upper embodiment,
This is repeated no more.
S206: determine that the wireless headset is in pleasant state.
S207: determine that the wireless headset is in the outer state of ear.
It can be seen that the present embodiment is on the basis of carrying out pleasant detection according to infrared sensor, using being placed in ear canal
The microphone of ante-chamber carries out secondary-confirmation, solve earphone in the hand or when desktop infrared sensor be blocked caused misrecognition
The problem of wearing state, improves the accuracy rate of the pleasant detection of wireless headset.In addition, blocking letter when infrared sensor is not detected
Number directly determine that wireless headset be in state, do not need microphone and carry out secondary-confirmation, improves the pleasant detection of wireless headset and imitate
Rate.
It describes in detail below to the determination process of preset value in above-described embodiment, i.e., as shown in figure 4, according to the mesh
The transmission function of mark with phonetic symbols amount, the gain and the loudspeaker to the microphone determines the preset value, comprising:
S301: the target volume is sent under the conditions of first environment condition and second environment respectively by the loudspeaker
Audio;Wherein, the first environment condition is that the wireless headset is in pleasant state, and the second environment condition is described
Wireless headset is in the outer state of ear;
Target volume herein is the speaker volume that the human ear set in practice feels comfortable, i.e., in above-described embodiment
V1, loudspeaker send target under the pleasant state of wireless headset (i.e. wearing state) and under the outer state (i.e. open state) of ear respectively
The audio of volume, open state include wireless headset in the hand or desktop etc..
S302: corresponding first frequency response of the first environment condition is acquired under the gain condition by the microphone
Curve and corresponding second frequency response curve of the second environment condition;
S303: corresponding first decibel value of the predeterminated frequency is determined in first frequency response curve, described second
Corresponding second decibel value of the predeterminated frequency is determined in frequency response curve;
In specific implementation, microphone acquires corresponding first frequency response curve of pleasant state respectively and the outer state of ear is corresponding
Second frequency response curve.Corresponding first decibel value of predeterminated frequency is determined in the first frequency response curve, in the second frequency response curve really
Determine corresponding second decibel value of predeterminated frequency.
It is understood that since wireless headset is under wearing state, earphone and human ear couple state, low frequency energy is without letting out
Leakage, and wireless headset is in air, the low frequency energy that loudspeaker issues is revealed completely, therefore the first decibel value herein is greater than
Second decibel value.
S304: the preset value is determined according to first decibel value and second decibel value.
Since earphone is worn under open state, the low frequency energy that microphone receives loudspeaker is widely different, i.e., and first point
Shellfish value differs greatly with the second decibel value, therefore, the predeterminated frequency can be chosen between the first decibel value and the second decibel value
Corresponding preset value.It is understood that different predeterminated frequencies corresponds to first different the second decibel values of decibel value box, therefore
Different predeterminated frequencies corresponds to different preset values.It preferably, can be by first decibel value and second decibel value
Average value is determined as the preset value.
A kind of wireless headset control device provided by the embodiments of the present application is introduced below, a kind of nothing described below
Line earphone control device can be cross-referenced with a kind of above-described wireless headset control method.
Referring to Fig. 5, a kind of structure chart of wireless headset control device shown according to an exemplary embodiment, such as Fig. 5 institute
Show, comprising:
Identification module 501, whether the wireless headset is in box-like state for identification;If it is not, then starting sending module
502 workflow;
The sending module 502, for sending the sinusoidal signal of predeterminated frequency by loudspeaker;
Acquisition module 503, it is bent in the frequency response for acquiring the corresponding frequency response curve of the sinusoidal signal by microphone
The corresponding decibel value of the predeterminated frequency is determined in line;
First determination module 504 determines that the wireless headset is in pleasant if being greater than preset value for the decibel value
State.
Wireless headset control system provided by the embodiments of the present application passes through loudspeaker when wireless headset is outside charging box
The sinusoidal signal for sending predeterminated frequency, acquires the corresponding frequency response curve of the sinusoidal signal by microphone.Since wireless headset exists
Under wearing state, earphone and human ear couple state, low frequency energy No leakage, therefore corresponding point of predeterminated frequency in frequency response curve
Shellfish value is greater than threshold value.And wireless headset is not at wearing state, simply because placement or accidentally touching for hand cause infrared sensor to be adopted
The signal of collection changes, then earphone is in air at this time, and the low frequency energy that loudspeaker issues is revealed completely, pre- in frequency response curve
If the corresponding decibel value of frequency is less than threshold value.It can be seen that wireless headset control system provided by the embodiments of the present application, solves
Caused by earphone is in the hand or infrared sensor is blocked when desktop the problem of misrecognition wearing state, improves wireless headset and enter
The accuracy rate of ear detection.
On the basis of the above embodiments, as a preferred implementation manner, further include:
Second determination module determines that the wireless headset is in if being less than or equal to preset value for the decibel value
The outer state of ear.
On the basis of the above embodiments, as a preferred implementation manner, the identification module 501 specifically by suddenly
You identify whether the wireless headset is in the module in box-like state by sensor.
On the basis of the above embodiments, as a preferred implementation manner, further include:
Control module, for controlling infrared sensor acquisition signal, when the infrared sensor, which detects, blocks signal,
Start the workflow of the sending module 502.
On the basis of the above embodiments, as a preferred implementation manner, further include:
First determining module, for determining the gain of target volume and the microphone;
Second determining module, for according to the target volume, the gain and the loudspeaker to the microphone
Transmission function determines the preset value.
On the basis of the above embodiments, second determining module includes: as a preferred implementation manner,
Transmission unit, described in being sent under the conditions of first environment condition and second environment respectively by the loudspeaker
The audio of target volume;Wherein, the first environment condition is that the wireless headset is in pleasant state, the second environment item
Part is that the wireless headset is in the outer state of ear;
Acquisition unit, it is corresponding for acquiring the first environment condition under the gain condition by the microphone
First frequency response curve and corresponding second frequency response curve of the second environment condition;
First determination unit, for determining that the predeterminated frequency is first decibel corresponding in first frequency response curve
Value determines corresponding second decibel value of the predeterminated frequency in second frequency response curve;
Second determination unit, for determining the preset value according to first decibel value and second decibel value.
On the basis of the above embodiments, second determination unit is specially by institute as a preferred implementation manner,
The average value for stating the first decibel value and second decibel value is determined as the unit of the preset value.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Present invention also provides a kind of wireless headsets, main in a kind of wireless headset provided by the embodiments of the present application referring to Fig. 6
The structure chart for controlling platform A4, as shown in fig. 6, may include processor 11 and memory 12.Main control platform A4 can also include
Multimedia component 13, one or more of input/output (I/O) interface 14 and communication component 15.
Wherein, processor 11 is used to control the integrated operation of main control platform A4, to complete above-mentioned wireless headset control
All or part of the steps in method.Memory 12 is for storing various types of data to support the behaviour in main control platform A4
To make, these data for example may include the instruction of any application or method for operating on main control platform A4, with
And the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc..The memory 12
It can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static random-access is deposited
Reservoir (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory
(Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), erasable programmable
Read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), programmable read only memory
(Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as
ROM), magnetic memory, flash memory, disk or CD.Multimedia component 13 may include screen and audio component.Wherein shield
Curtain for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include one
A microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in memory
It 12 or is sent by communication component 15.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O interface
14 provide interface between processor 11 and other interface modules, other above-mentioned interface modules can be keyboard, mouse, button
Deng.These buttons can be virtual push button or entity button.Communication component 15 for main control platform A4 and other equipment it
Between carry out wired or wireless communication.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field
Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication
Component 15 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, main control platform A4 can be by one or more application specific integrated circuit
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part is realized, for executing above-mentioned wireless headset control method.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should
The step of above-mentioned wireless headset control method is realized when program instruction is executed by processor.For example, the computer-readable storage medium
Matter can be the above-mentioned memory 12 including program instruction, and above procedure instruction can be by the processing of main control platform A4 in wireless headset
Device 11 is executed to complete above-mentioned wireless headset control method.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also
Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application
It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (12)
1. a kind of wireless headset control method characterized by comprising
Identify whether the wireless headset is in box-like state;
If it is not, then sending the sinusoidal signal of predeterminated frequency by loudspeaker;
The corresponding frequency response curve of the sinusoidal signal is acquired by microphone, the predeterminated frequency is determined in the frequency response curve
Corresponding decibel value;
If the decibel value is greater than preset value, determine that the wireless headset is in pleasant state.
2. wireless headset control method according to claim 1, which is characterized in that further include:
If the decibel value is less than or equal to preset value, determine that the wireless headset is in the outer state of ear.
3. wireless headset control method according to claim 1, which is characterized in that whether the identification wireless headset is located
In in box-like state, comprising:
Identify whether the wireless headset is in box-like state by Hall sensor.
4. wireless headset control method according to claim 1, which is characterized in that described to send predeterminated frequency by loudspeaker
Sinusoidal signal before, further includes:
Control infrared sensor acquisition signal passes through loudspeaking described in execution when the infrared sensor, which detects, blocks signal
Device sends the step of sinusoidal signal of predeterminated frequency.
5. according to claim 1 to wireless headset control method described in any one of 4, which is characterized in that further include:
Determine the gain of target volume and the microphone;
It is determined according to the transmission function of the target volume, the gain and the loudspeaker to the microphone described default
Value.
6. wireless headset control method according to claim 5, which is characterized in that it is described according to the target volume, it is described
The transmission function of gain and the loudspeaker to the microphone determines the preset value, comprising:
Send the audio of the target volume under the conditions of first environment condition and second environment respectively by the loudspeaker;Its
In, the first environment condition is that the wireless headset is in pleasant state, and the second environment condition is the wireless headset
The state outside ear;
Corresponding first frequency response curve of the first environment condition and institute are acquired under the gain condition by the microphone
State corresponding second frequency response curve of second environment condition;
Corresponding first decibel value of the predeterminated frequency is determined in first frequency response curve, in second frequency response curve
Determine corresponding second decibel value of the predeterminated frequency;
The preset value is determined according to first decibel value and second decibel value.
7. wireless headset control method according to claim 6, which is characterized in that described according to first decibel value and institute
It states the second decibel value and determines the preset value, comprising:
The average value of first decibel value and second decibel value is determined as the preset value.
8. a kind of wireless headset control device characterized by comprising
Identification module, whether the wireless headset is in box-like state for identification;If it is not, then starting the workflow of sending module
Journey;
The sending module, for sending the sinusoidal signal of predeterminated frequency by loudspeaker;
Acquisition module, for acquiring the corresponding frequency response curve of the sinusoidal signal by microphone, in the frequency response curve really
Determine the corresponding decibel value of the predeterminated frequency;
First determination module determines that the wireless headset is in pleasant state if being greater than preset value for the decibel value.
9. wireless headset control device according to claim 8, which is characterized in that further include:
Control module, for controlling infrared sensor acquisition signal, when the infrared sensor, which detects, blocks signal, starting
The workflow of the sending module.
10. wireless headset control device according to claim 8 or claim 9, which is characterized in that further include:
First determining module, for determining the gain of target volume and the microphone;
Second determining module, for the transmitting according to the target volume, the gain and the loudspeaker to the microphone
Function determines the preset value.
11. a kind of wireless headset characterized by comprising
Memory, for storing computer program;
Processor realizes the wireless headset controlling party as described in any one of claim 1 to 7 when for executing the computer program
The step of method.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the wireless headset control method as described in any one of claim 1 to 7 when the computer program is executed by processor
The step of.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683295.XA CN110278509A (en) | 2019-07-26 | 2019-07-26 | A kind of wireless headset control method, device and wireless headset and storage medium |
PCT/CN2019/098480 WO2021016899A1 (en) | 2019-07-26 | 2019-07-31 | Wireless earphone control method and apparatus, wireless earphone, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683295.XA CN110278509A (en) | 2019-07-26 | 2019-07-26 | A kind of wireless headset control method, device and wireless headset and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110278509A true CN110278509A (en) | 2019-09-24 |
Family
ID=67965314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910683295.XA Pending CN110278509A (en) | 2019-07-26 | 2019-07-26 | A kind of wireless headset control method, device and wireless headset and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110278509A (en) |
WO (1) | WO2021016899A1 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677768A (en) * | 2019-10-31 | 2020-01-10 | 歌尔科技有限公司 | Wireless earphone control method and device, wireless earphone and storage medium |
CN110691294A (en) * | 2019-09-29 | 2020-01-14 | 歌尔科技有限公司 | Audio control method, charging box and wireless earphone device |
CN110784797A (en) * | 2019-10-31 | 2020-02-11 | 歌尔科技有限公司 | Wireless earphone control method and device, wireless earphone and storage medium |
CN110927492A (en) * | 2019-11-28 | 2020-03-27 | 歌尔股份有限公司 | Wireless earphone state detection method and wireless earphone |
CN111294719A (en) * | 2020-01-20 | 2020-06-16 | 北京声加科技有限公司 | Method and device for detecting in-ear state of ear-wearing type device and mobile terminal |
CN111343534A (en) * | 2020-03-02 | 2020-06-26 | 昆山众赢昌盛贸易有限公司 | Wireless earphone in-ear detection method and wireless earphone |
CN111831138A (en) * | 2020-06-22 | 2020-10-27 | 歌尔科技有限公司 | Wireless earphone signal identification method and device and wireless earphone |
CN112689232A (en) * | 2020-12-22 | 2021-04-20 | 南京紫牛软件科技有限公司 | Method and device for determining working state of earphone |
CN112887891A (en) * | 2021-01-11 | 2021-06-01 | 维沃移动通信有限公司 | Use state detection method and device and electronic equipment |
CN112911486A (en) * | 2021-02-09 | 2021-06-04 | 恒玄科技(上海)股份有限公司 | Wireless earphone, method for detecting in-ear state of wireless earphone and storage medium |
CN113411714A (en) * | 2021-07-01 | 2021-09-17 | 昆山睿翔讯通通信技术有限公司 | Antenna signal intensity-based in-ear detection method for TWS (two way transmission) headset and TWS headset |
CN113438583A (en) * | 2021-07-09 | 2021-09-24 | 昆山睿翔讯通通信技术有限公司 | Ultrasonic wave-based in-ear detection method of TWS (two way communication) earphone and TWS earphone |
CN113473280A (en) * | 2021-05-17 | 2021-10-01 | 安克创新科技股份有限公司 | Earphone and wearing state detection method thereof |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11882405B2 (en) | 2021-06-24 | 2024-01-23 | Bose Corporation | Acoustic earwax detection |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102293013A (en) * | 2009-01-23 | 2011-12-21 | 索尼爱立信移动通讯有限公司 | Acoustic in-ear detection for earpiece |
JP2014033303A (en) * | 2012-08-02 | 2014-02-20 | Sony Corp | Headphone device, wearing state detector, wearing state detection method |
CN106982403A (en) * | 2017-05-25 | 2017-07-25 | 深圳市金立通信设备有限公司 | Detection method and terminal that a kind of earphone is worn |
CN108141657A (en) * | 2015-09-28 | 2018-06-08 | 苹果公司 | Wireless earbud with proximity sensor |
CN108551631A (en) * | 2018-04-28 | 2018-09-18 | 维沃移动通信有限公司 | A kind of sound quality compensation method and mobile terminal |
CN108966087A (en) * | 2018-07-26 | 2018-12-07 | 歌尔科技有限公司 | A kind of wear condition detection method, device and the wireless headset of wireless headset |
CN109076279A (en) * | 2018-07-17 | 2018-12-21 | 万魔声学科技有限公司 | The method and system of the pleasant detection of earphone, earphone |
CN109104669A (en) * | 2018-08-14 | 2018-12-28 | 歌尔科技有限公司 | A kind of sound quality modification method, system and the earphone of earphone |
CN109196879A (en) * | 2016-05-27 | 2019-01-11 | 布佳通有限公司 | Determine that the earphone at the ear of user exists |
US20190110120A1 (en) * | 2017-10-10 | 2019-04-11 | Cirrus Logic International Semiconductor Ltd. | Dynamic on ear headset detection |
-
2019
- 2019-07-26 CN CN201910683295.XA patent/CN110278509A/en active Pending
- 2019-07-31 WO PCT/CN2019/098480 patent/WO2021016899A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102293013A (en) * | 2009-01-23 | 2011-12-21 | 索尼爱立信移动通讯有限公司 | Acoustic in-ear detection for earpiece |
JP2014033303A (en) * | 2012-08-02 | 2014-02-20 | Sony Corp | Headphone device, wearing state detector, wearing state detection method |
CN108141657A (en) * | 2015-09-28 | 2018-06-08 | 苹果公司 | Wireless earbud with proximity sensor |
CN109196879A (en) * | 2016-05-27 | 2019-01-11 | 布佳通有限公司 | Determine that the earphone at the ear of user exists |
CN106982403A (en) * | 2017-05-25 | 2017-07-25 | 深圳市金立通信设备有限公司 | Detection method and terminal that a kind of earphone is worn |
US20190110120A1 (en) * | 2017-10-10 | 2019-04-11 | Cirrus Logic International Semiconductor Ltd. | Dynamic on ear headset detection |
CN108551631A (en) * | 2018-04-28 | 2018-09-18 | 维沃移动通信有限公司 | A kind of sound quality compensation method and mobile terminal |
CN109076279A (en) * | 2018-07-17 | 2018-12-21 | 万魔声学科技有限公司 | The method and system of the pleasant detection of earphone, earphone |
CN108966087A (en) * | 2018-07-26 | 2018-12-07 | 歌尔科技有限公司 | A kind of wear condition detection method, device and the wireless headset of wireless headset |
CN109104669A (en) * | 2018-08-14 | 2018-12-28 | 歌尔科技有限公司 | A kind of sound quality modification method, system and the earphone of earphone |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691294A (en) * | 2019-09-29 | 2020-01-14 | 歌尔科技有限公司 | Audio control method, charging box and wireless earphone device |
CN110784797A (en) * | 2019-10-31 | 2020-02-11 | 歌尔科技有限公司 | Wireless earphone control method and device, wireless earphone and storage medium |
CN110677768A (en) * | 2019-10-31 | 2020-01-10 | 歌尔科技有限公司 | Wireless earphone control method and device, wireless earphone and storage medium |
CN110927492A (en) * | 2019-11-28 | 2020-03-27 | 歌尔股份有限公司 | Wireless earphone state detection method and wireless earphone |
CN110927492B (en) * | 2019-11-28 | 2022-04-22 | 歌尔股份有限公司 | Wireless earphone state detection method and wireless earphone |
CN111294719B (en) * | 2020-01-20 | 2021-10-22 | 北京声加科技有限公司 | Method and device for detecting in-ear state of ear-wearing type device and mobile terminal |
CN111294719A (en) * | 2020-01-20 | 2020-06-16 | 北京声加科技有限公司 | Method and device for detecting in-ear state of ear-wearing type device and mobile terminal |
CN111343534A (en) * | 2020-03-02 | 2020-06-26 | 昆山众赢昌盛贸易有限公司 | Wireless earphone in-ear detection method and wireless earphone |
CN111831138A (en) * | 2020-06-22 | 2020-10-27 | 歌尔科技有限公司 | Wireless earphone signal identification method and device and wireless earphone |
CN111831138B (en) * | 2020-06-22 | 2024-03-15 | 歌尔科技有限公司 | Signal identification method and device of wireless earphone and wireless earphone |
CN112689232A (en) * | 2020-12-22 | 2021-04-20 | 南京紫牛软件科技有限公司 | Method and device for determining working state of earphone |
CN112887891A (en) * | 2021-01-11 | 2021-06-01 | 维沃移动通信有限公司 | Use state detection method and device and electronic equipment |
CN112887891B (en) * | 2021-01-11 | 2022-12-30 | 维沃移动通信有限公司 | Use state detection method and device and electronic equipment |
CN112911486B (en) * | 2021-02-09 | 2023-08-25 | 恒玄科技(上海)股份有限公司 | Wireless earphone, detection method of in-ear state of wireless earphone and storage medium |
CN112911486A (en) * | 2021-02-09 | 2021-06-04 | 恒玄科技(上海)股份有限公司 | Wireless earphone, method for detecting in-ear state of wireless earphone and storage medium |
CN113473280A (en) * | 2021-05-17 | 2021-10-01 | 安克创新科技股份有限公司 | Earphone and wearing state detection method thereof |
CN113473280B (en) * | 2021-05-17 | 2022-11-29 | 安克创新科技股份有限公司 | Earphone and wearing state detection method thereof |
CN113411714A (en) * | 2021-07-01 | 2021-09-17 | 昆山睿翔讯通通信技术有限公司 | Antenna signal intensity-based in-ear detection method for TWS (two way transmission) headset and TWS headset |
CN113438583A (en) * | 2021-07-09 | 2021-09-24 | 昆山睿翔讯通通信技术有限公司 | Ultrasonic wave-based in-ear detection method of TWS (two way communication) earphone and TWS earphone |
Also Published As
Publication number | Publication date |
---|---|
WO2021016899A1 (en) | 2021-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110278509A (en) | A kind of wireless headset control method, device and wireless headset and storage medium | |
CN105451111B (en) | Earphone control method for playing back, device and terminal | |
CN108475502B (en) | For providing the method and system and computer readable storage medium of environment sensing | |
CN107509153B (en) | Detection method and device of sound playing device, storage medium and terminal | |
KR102127640B1 (en) | Portable teriminal and sound output apparatus and method for providing locations of sound sources in the portable teriminal | |
CN102890557B (en) | For the method and system that the touch gestures exported in response to microphone detects | |
CN105657125B (en) | A kind of method and apparatus for adjusting In Call | |
CN110677768A (en) | Wireless earphone control method and device, wireless earphone and storage medium | |
CN106356070B (en) | A kind of acoustic signal processing method and device | |
CN111432303B (en) | Monaural headset, intelligent electronic device, method, and computer-readable medium | |
CN108810693A (en) | Apparatus control method and Related product | |
CN107734523A (en) | A kind of signal intensity reminding method, terminal device and computer-readable medium | |
CN105280195A (en) | Method and device for processing speech signal | |
CN102293012A (en) | Acoustic in-ear detection for earpiece | |
CN104967932B (en) | Earphone uses based reminding method and device, intelligent terminal | |
US20150310878A1 (en) | Method and apparatus for determining emotion information from user voice | |
CN109151634A (en) | Wireless headset method for controlling volume, wireless headset and mobile terminal | |
CN103905956B (en) | Audio control method, electronic equipment and audio output apparatus | |
CN113170268B (en) | Method and device for detecting probability silent fault | |
CN109151697B (en) | Microphone hole blockage detection method and related product | |
CN109994111B (en) | Interaction method, interaction device and mobile terminal | |
CN108737923A (en) | Volume adjusting method and related product | |
CN111314560A (en) | Method for adjusting sound loudness and communication terminal | |
CN105607738B (en) | Determine the method and device of one hand pattern | |
KR20180029075A (en) | System and method for dual knuckle touch screen control |
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 |
Application publication date: 20190924 |
|
RJ01 | Rejection of invention patent application after publication |