CN112584293B - Microphone hole blockage detection method and related product - Google Patents

Microphone hole blockage detection method and related product Download PDF

Info

Publication number
CN112584293B
CN112584293B CN202011435284.9A CN202011435284A CN112584293B CN 112584293 B CN112584293 B CN 112584293B CN 202011435284 A CN202011435284 A CN 202011435284A CN 112584293 B CN112584293 B CN 112584293B
Authority
CN
China
Prior art keywords
microphone
wireless headset
wireless
audio
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011435284.9A
Other languages
Chinese (zh)
Other versions
CN112584293A (en
Inventor
颜聪炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011435284.9A priority Critical patent/CN112584293B/en
Publication of CN112584293A publication Critical patent/CN112584293A/en
Application granted granted Critical
Publication of CN112584293B publication Critical patent/CN112584293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/004Monitoring arrangements; Testing arrangements for microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Headphones And Earphones (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a microphone hole plugging detection method and a related product, and the method comprises the following steps: when the first wireless earphone is detected to be in a worn state, controlling a loudspeaker to emit first audio of a preset frequency band; receiving a second audio frequency in the preset frequency band through a microphone of the first wireless earphone within a preset time period; and determining that the microphone of the first wireless earphone is in a hole blocking state according to the second audio. The embodiment of the application is favorable for expanding the function of the wireless earphone under the condition of not increasing a hardware structure, and the convenience and timeliness of hole blockage detection are improved.

Description

Microphone hole blockage detection method and related product
The application is a divisional application of patent application with the patent number of 201810841653.0 and the invention name of microphone hole blockage detection method and related products.
Technical Field
The application relates to the technical field of wireless earphones, in particular to a microphone hole plugging detection method and a related product.
Background
With the great popularity and rapid development of electronic devices (e.g., smart phones), various earphones have become devices that are commonly used for listening to media, and wireless earphones have become popular due to the fact that the earphone cord of wired earphones is often damaged, which results in short service life and high cost of the earphones.
At present, people often find that a microphone is blocked by holes, such as dust, water drops, and the like, which causes the voice data acquired by the wireless earphone through the microphone to have the situations of discontinuous sound and small volume, and affects the normal use of a user.
Disclosure of Invention
The embodiment of the application provides a microphone hole blockage detection method and a related product, which can expand the functions of a wireless earphone under the condition of not increasing a hardware structure and improve the convenience and timeliness of hole blockage detection.
In a first aspect, an embodiment of the present application provides a microphone hole blockage detection method, which is applied to a wireless headset, where the wireless headset includes a first wireless headset and a second wireless headset, the first wireless headset and the second wireless headset include at least one speaker, the first wireless headset includes a microphone, and the method includes:
when the first wireless earphone is detected to be in a worn state, controlling a loudspeaker to emit first audio of a preset frequency band;
receiving a second audio frequency in the preset frequency band through a microphone of the first wireless earphone within a preset time period;
and determining that the microphone of the first wireless earphone is in a hole blocking state according to the second audio.
In a second aspect, an embodiment of the present application provides a microphone hole blockage detection apparatus, which is applied to a wireless headset, where the wireless headset includes a first wireless headset and a second wireless headset, the first wireless headset and the second wireless headset include at least one speaker, the first wireless headset includes a microphone, and the microphone hole blockage detection apparatus includes a transmitting unit, a receiving unit, and a determination unit, where:
the transmitting unit is used for controlling a loudspeaker to emit first audio of a preset frequency band when the first wireless earphone is detected to be in a worn state;
the receiving unit is used for receiving a second audio frequency in the preset frequency band through a microphone of the first wireless earphone in a preset time period;
the determining unit is used for determining that the microphone of the first wireless earphone is in a hole blocking state according to the second audio.
In a third aspect, an embodiment of the present application provides a wireless headset, including: a processor, memory, and one or more programs; the one or more programs are stored in the above memory and configured to be executed by the processor, the programs including instructions for performing the steps described in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, this application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program specifically includes instructions for performing some or all of the steps described in any one of the methods of the first aspect of this application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the wireless headset firstly controls the speaker to emit the first audio frequency in the preset frequency band when detecting that the first wireless headset is in the worn state, secondly, receives the second audio frequency in the preset frequency band through the microphone of the first wireless headset in the preset time period, and finally, determines that the microphone of the first wireless headset is in the hole blocking state according to the second audio frequency. It is thus clear that wireless headset only through the speaker alright detect the microphone and be in the stifled hole state under the condition that does not increase hardware structure, has expanded wireless headset's function, has promoted the convenience and the promptness that the stifled hole detected, moreover, through the stifled hole state that detects the microphone, can avoid the user because of the incomplete condition of speech data input that the problem that can't perceive microphone existence leads to when follow-up input pronunciation.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic system architecture diagram of a wireless headset system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a microphone hole plugging detection method disclosed in an embodiment of the present application;
fig. 3 is a schematic flow chart of another microphone hole blockage detection method disclosed in the embodiment of the present application;
fig. 4 is a schematic flow chart of another microphone hole blockage detection method disclosed in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a wireless headset disclosed in an embodiment of the present application;
fig. 6 is a block diagram of functional units of a microphone hole blockage detection device disclosed in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As shown in fig. 1, the present embodiment provides a wireless headset system 100, which includes an electronic device 101, a first wireless headset 102, and a second wireless headset 103, wherein the system uses any one of a communication mechanism, where the electronic device 101 and the first wireless headset 102 establish a first communication link, the first wireless headset 102 and the second wireless headset 103 establish a second communication link, that is, a master-slave communication mechanism (specifically, a bluetooth protocol may be used for the communication mechanism between the first wireless headset 102 and the second wireless headset 103 and the electronic device 101, and a first communication link is established between the electronic device 101 and the first wireless headset 102, a second communication link is established between the electronic device 101 and the second wireless headset 103, that is, both the first wireless headset 102 and the second wireless headset 103 are master headsets that directly communicate with the electronic device 101, the master earphone is an earphone that directly establishes a communication link with the electronic device 101 for performing preset type data interaction, the slave earphone is an earphone that performs preset type data interaction with the electronic device 101 after being transferred through the master earphone, wherein the preset type data includes media data and/or call data, the media data is audio data and/or video data of the electronic device 101 except for call voice data, the call data is call voice data of the electronic device 101, and the first wireless earphone 102 and the second wireless earphone 103 may be bluetooth wireless earphones and the like. The electronic device 101 may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to a wireless modem, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), etc. having wireless communication capabilities. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices. The following describes embodiments of the present application in detail.
Referring to fig. 2, fig. 2 is a schematic flowchart of a microphone occlusion detection method, which is applied to a wireless headset including a first wireless headset and a second wireless headset, where the first wireless headset and the second wireless headset include at least one speaker, and the first wireless headset includes a microphone, as shown in the figure, the microphone occlusion detection method includes:
s201, when the wireless earphone detects that the first wireless earphone is in a worn state, controlling a loudspeaker to emit first audio of a preset frequency band;
the wireless headset may determine that the first wireless headset is in the worn state by detecting contact between the first wireless headset and an ear contour through a plurality of proximity sensors or pressure sensors, may also determine that the wireless headset is in the worn state by detecting attitude parameters of the first wireless headset, may also determine that the first wireless headset is in the worn state by detecting a communication identifier that the first wireless headset is successfully in communication with an electronic device, and the like, which is not limited herein.
When the first wireless earphone is detected to be worn, the wireless earphone controls the loudspeaker to emit a first audio frequency from a region outside an ear entering region of the loudspeaker, so that the condition of detection while using can be realized, for example, the first audio frequency is emitted from a leakage hole on the back of the ear entering region, the leakage hole is used for balancing the air pressure action inside and outside a sound cavity, and the diaphragm of the loudspeaker is prevented from bulging or collapsing due to the fact that the front air pressure and the back air pressure are different, the first audio frequency can be a super audio frequency with the frequency greater than 20000 Hz, the preset frequency band can be an arbitrary frequency band above 20000 Hz at the moment, the audible sound of human ears with the frequency between 20000 Hz and 20 Hz can be generated, the preset frequency band can be an arbitrary frequency band between 20000 Hz and 20 Hz at the moment, and no unique limitation is made here.
When the first audio is the ultrasonic wave, the first wireless earphone needs to control the loudspeaker to emit the first audio under the condition that a shielding object exists, and the shielding object can be any object capable of shielding the loudspeaker within a certain range, such as a second wireless earphone.
S202, in a preset time period, the wireless earphone receives a second audio frequency in the preset frequency band through a microphone of the first wireless earphone;
the wireless earphone receives the second audio in the preset frequency band through the microphone instead of receiving the second audio in the full frequency band, so that the interference of other audio frequency bands on the first audio is reduced, and the accuracy of the second audio is improved.
In the preset time period, the first audio is emitted for the speaker of the wireless headset, and the preset time period may be within 1s, within 5s, and the like, which is not limited herein.
When the first audio frequency of the preset frequency band is the ultrasonic wave with the frequency larger than 20000 Hz, due to the shielding of the shielding object, the first audio frequency can be diffracted in multiple directions when the first audio frequency is transmitted through the shielding object, so that even if the microphone is not positioned in the direction of transmitting the ultrasonic wave by the loudspeaker, the microphone can also receive the second audio frequency corresponding to the first audio frequency, and the second audio frequency is the audio frequency diffracted by the first audio frequency.
The speakers and microphones of the first wireless earphone and the second wireless earphone are speakers and microphones supporting ultrasonic transmission and reception, such as microphones carrying ultrasonic microphone sensors, and the ultrasonic frequency band supported by the speakers and microphones can be 30000 Hz to 20000 Hz direct ultrasonic waves without being full-band ultrasonic waves.
S203, the wireless earphone determines that the microphone of the first wireless earphone is in a hole blocking state according to the second audio.
The specific implementation manner of determining that the microphone of the first wireless headset is in the hole blocking state according to the second audio frequency may be various, for example, a range of energy of the second audio frequency may be determined according to different preset frequency bands, when the energy of the second audio frequency is not in the energy range, the microphone is determined to be in the hole blocking state, or a range of amplitude of the second audio frequency may be determined according to different preset frequency bands, when the amplitude of the second audio frequency is not in the amplitude range, the microphone is determined to be in the hole blocking state, which is not limited herein.
The process of determining that the microphone is in the hole plugging state may be performed by an electronic device in communication with the wireless headset, and when the electronic device determines the hole plugging state, the electronic device sends the result to the wireless headset.
It can be seen that, in the embodiment of the present application, the wireless headset firstly controls the speaker to emit the first audio frequency in the preset frequency band when detecting that the first wireless headset is in the worn state, secondly, receives the second audio frequency in the preset frequency band through the microphone of the first wireless headset in the preset time period, and finally, determines that the microphone of the first wireless headset is in the hole blocking state according to the second audio frequency. It is thus clear that wireless headset only through the speaker alright detect the microphone and be in the stifled hole state under the condition that does not increase hardware structure, has expanded wireless headset's function, has promoted the convenience and the promptness that the stifled hole detected, moreover, through the stifled hole state that detects the microphone, can avoid the user because of the incomplete condition of speech data input that the problem that can't perceive microphone existence leads to when follow-up input pronunciation.
In one possible example, the determining that the microphone of the first wireless headset is in a plugged-hole state based on the second audio includes:
determining parameter differences for the first audio and the second audio, the parameter differences including any one or more of: volume difference, amplitude difference, frequency difference and energy difference;
and when the parameter difference is detected to be larger than a preset difference threshold value, determining that the microphone is in the hole blocking state.
The sound frequency is a sound wave, and the sound wave is a mechanical wave, so that the sound wave has energy which can be calculated by the density, frequency, amplitude and wave speed of the propagating medium, namely, how much of the average value of the energy flowing through the medium per unit area per unit time represents the energy of the sound per unit area.
The different preset frequencies may correspond to different preset difference thresholds, where the preset difference thresholds may be empirical values, or empirical values obtained by a technical developer according to a plurality of tests before the electronic device leaves a factory, and are preset in the electronic device, for example, when the parameter difference is an amplitude difference, the preset difference thresholds may be 10 micrometers, 15 micrometers, and the like, and are not limited herein.
As can be seen, in this example, the wireless headset determines the hole blocking state of the microphone according to the relationship between the parameter difference between the first audio and the second audio and the preset difference threshold, and using the difference is beneficial to reducing the interference of the environment on a single datum, and is simple in calculation and beneficial to improving the convenience and accuracy of determining the hole blocking state.
In one possible example, when it is detected that the first wireless headset is in a worn state, the controlling the speaker to emit a first audio of a preset frequency band includes:
when the first wireless earphone is detected to be in a worn state, sending a first prompt message, wherein the first prompt message is used for prompting a user to place a second wireless earphone at a preset position, and the preset position is a position where a loudspeaker of the second wireless earphone faces a microphone of the first wireless earphone;
when the second wireless earphone is located at the preset position, the loudspeaker of the second wireless earphone is controlled to send the first audio of the preset frequency band, and the preset frequency band is the frequency band where the ultrasonic wave is located.
The first prompt message may be a preset voice message to prompt the user to place the second wireless headset at a preset position, where the preset voice message may be voice data preset in the wireless headset before the wireless headset leaves a factory, or the wireless headset may notify the electronic device that a text form is output as the first prompt message, and the like, and is not limited herein.
The preset position is a position where the speaker of the second wireless headset faces the microphone of the first wireless headset, that is, the microphone of the first wireless headset faces the speaker of the second wireless headset within an audio frequency range of the first audio frequency.
The detection by the wireless headset that the second wireless headset is located at the preset position may be that the second wireless headset is determined to have been located at the preset position after a period of time is sent out through a first prompt message, or may be that the second wireless headset is determined to have been located at the preset position by a user through a touch operation on the first wireless headset or the electronic device, where the touch operation may be, for example, an operation of the user double-clicking the electronic device or double-clicking the first wireless headset, which is not limited herein.
It can be seen that, in this example, when the wireless headset is in the state of being worn, place the second wireless headset at the preset position that the first wireless headset can receive the second audio, send first audio through the speaker of the second wireless headset, avoided the condition that first wireless headset can't detect the stifled hole of microphone in the wearing process, moreover, the microphone through first wireless headset directly receives the second audio in the transmitting direction of first audio, and need not receive the reflected second audio of first audio, be favorable to promoting the timeliness of stifled hole detection.
In one possible example, the controlling the speaker to emit the first audio of the preset frequency band when the first wireless headset is detected to be worn includes:
when detecting that the first wireless earphone is in a worn state, acquiring image information;
determining whether a shelter exists in a preset direction according to the image information, wherein the preset direction is a direction matched with the emission direction of the first audio;
when the shelter is detected to exist, the loudspeaker is controlled to send the first audio of the preset frequency band, and the preset frequency band is the frequency band where the ultrasonic wave is located.
The first wireless earphone is provided with a camera, image information can be acquired, and the sheltering object can be a person, an object and the like, which is not limited herein.
Therefore, in the example, the wireless headset determines whether the shielding object exists by acquiring the image information, the first audio frequency of the ultrasonic frequency band is controlled to be sent out under the condition that the shielding object exists, diffraction of the first audio frequency is guaranteed, namely the microphone can receive the second audio frequency, and the effectiveness of hole blocking detection is improved.
In one possible example, after determining that the microphone of the first wireless headset is in a plugged-hole state based on the second audio, the method further comprises:
determining a distance parameter between the second wireless headset and the first wireless headset when a first acquisition instruction for first voice data is received;
when the distance parameter is detected to be smaller than a preset distance threshold value, informing the second wireless earphone to receive the first voice data;
receiving the first voice data from the second wireless headset.
The determining of the distance parameter between the second wireless headset and the first wireless headset may be determining a signaling transmission duration through signaling interaction between the first wireless headset and the second wireless headset, and determining the distance parameter between the first wireless headset and the second wireless headset according to the signaling transmission duration and the transmission speed.
It can be seen that, in this example, after the wireless headset determines that the microphone is in the hole blocking state, when receiving the instruction for acquiring the first voice data, the wireless headset detects the distance parameter between the second wireless headset and the first wireless headset, and when the distance parameter is smaller than the preset distance threshold, the second wireless headset is switched to receive the first voice data, which is beneficial to improving the integrity of acquiring the first voice data.
In one possible example, after determining that the microphone of the first wireless headset is in a plugged-hole state based on the second audio, the method further comprises:
when a second acquisition instruction for second voice data is received, determining whether a microphone of the second wireless headset is in the hole blocking state;
when the reported information that the microphone of the second wireless earphone is in the hole blocking state is received, sending a second prompt message, wherein the second prompt message is used for prompting a user to place the second wireless earphone in a preset range of the position of the first wireless earphone;
when the second wireless earphone is detected to be located in the preset range of the position of the first wireless earphone, controlling a microphone of the first wireless earphone and a microphone of the second wireless earphone to carry out sound pickup operation;
and determining the second voice data according to the first reference voice data picked up by the microphone of the first wireless earphone and the second reference voice data picked up by the microphone of the second wireless earphone.
The specific implementation manner of determining that the microphone of the second wireless headset is in the hole blocking state is the same as the detection manner of determining that the microphone of the first wireless headset is in the hole blocking state, which is not described herein again.
The reported information is information that the second wireless earphone sends to the first wireless earphone and is about that the second wireless earphone is in a hole blocking state.
The second prompt message may be a preset voice message to prompt the user to place the second wireless headset within a preset range, where the preset voice message may be voice data preset in the wireless headset before the wireless headset leaves a factory, or the wireless headset may notify the electronic device that a text form is output as the second prompt message, and the like, and is not limited herein.
The specific implementation manner of detecting that the second wireless headset is located within the preset range of the position of the first wireless headset is the same as the specific implementation manner of determining that the second wireless headset is located at the preset position, which is not described herein again.
The specific implementation manner of determining the second voice data according to the first reference voice data picked up by the microphone of the first wireless headset and the second reference voice data picked up by the microphone of the second wireless headset may be various, for example, the actual voice time length with amplitude fluctuation in the first reference voice data and the second reference voice data may be judged, and the reference voice data with the longer actual voice time length may be determined as the voice data, or the first reference voice data and the second reference voice data may be synthesized into the voice data, which is not limited herein.
Therefore, in this example, when the first wireless headset and the second wireless headset are both in the hole plugging state, the wireless headset picks up the voice data through the first wireless headset and the second wireless headset together, and determines the second voice data through the first reference voice data acquired by the first wireless headset and the second reference voice data acquired by the second wireless headset together, which is beneficial to ensuring the integrity of the second voice data and effectively ensuring the complete semantics of the second voice data.
In this possible example, the determining the second voice data from the first reference voice data picked up by the microphone of the first wireless headset and the second reference voice data picked up by the microphone of the second wireless headset includes:
dividing the first reference voice data picked up by a microphone of the first wireless headset into a plurality of first data segment groups according to a first time interval;
dividing the second reference voice data picked up by the microphone of the second wireless headset into a plurality of second data segment groups according to a second time interval;
and combining the second voice data according to the first data fragment group and the second data fragment.
The first time interval may be, for example, 1s or 5s, and the second time interval may be the same as or different from the first time interval.
The specific implementation manner of combining the first data segment group and the second data segment into the second voice data may be to compare each data segment in the first data segment group with a data segment in the second data segment group corresponding to time, and determine that the data segments with a large amount of data in the same time period are the data segments corresponding to the voice data in the time, for example, the data amount on the data segments corresponding to 0s-5s in the first data segment group is 0bit, and the data amount on the data segments corresponding to 0s-5s in the second data segment group is 10bit, so that the data segments corresponding to 0s-5s in the synthesized voice data are the data segments corresponding to 0s-5s in the second data segment group.
It can be seen that, in this example, the wireless headset divides the first reference voice data and the second reference voice data into a plurality of data segments, and synthesizes the first reference voice data and the second reference voice data into the second voice data according to the time corresponding to the data segments, which is beneficial to improving the intelligence of obtaining the second voice data, and further improves the integrity of the second voice data under the condition that the microphones of the first wireless headset and the second wireless headset are blocked.
Referring to fig. 3, fig. 3 is a schematic flow chart of another microphone occlusion detection method provided in the embodiment of the present application, and the method is applied to a wireless headset including a first wireless headset and a second wireless headset, where the first wireless headset and the second wireless headset include at least one speaker, and the first wireless headset includes a microphone, as shown in the figure, the microphone occlusion detection method includes:
s301, when the wireless earphone detects that the first wireless earphone is in a worn state, image information is acquired.
S302, the wireless earphone determines whether a shelter exists in a preset direction according to the image information, wherein the preset direction is a direction matched with the transmitting direction of the first audio.
S303, when detecting that the shielding object exists, the wireless earphone controls the loudspeaker to send the first audio of the preset frequency band, wherein the preset frequency band is the frequency band where the ultrasonic wave is located.
And S304, in a preset time period, the wireless earphone receives a second audio frequency in the preset frequency band through the microphone of the first wireless earphone.
S305, the wireless headset determines parameter differences of the first audio and the second audio, wherein the parameter differences comprise any one or more of the following: volume difference, amplitude difference, frequency difference, energy difference.
S306, when the wireless earphone detects that the parameter difference is larger than a preset difference threshold value, the microphone is determined to be in a hole blocking state.
S307, when the wireless earphone receives a first acquisition instruction aiming at first voice data, determining a distance parameter between the second wireless earphone and the first wireless earphone.
S308, when the wireless earphone detects that the distance parameter is smaller than a preset distance threshold value, the wireless earphone informs the second wireless earphone to receive the first voice data.
S309, the wireless headset receives the first voice data from the second wireless headset.
It can be seen that, in the embodiment of the present application, the wireless headset firstly controls the speaker to emit the first audio frequency in the preset frequency band when detecting that the first wireless headset is in the worn state, secondly, receives the second audio frequency in the preset frequency band through the microphone of the first wireless headset in the preset time period, and finally, determines that the microphone of the first wireless headset is in the hole blocking state according to the second audio frequency. It is thus clear that wireless headset only through the speaker alright detect the microphone and be in the stifled hole state under the condition that does not increase hardware structure, has expanded wireless headset's function, has promoted the convenience and the promptness that the stifled hole detected, moreover, through the stifled hole state that detects the microphone, can avoid the user because of the incomplete condition of speech data input that the problem that can't perceive microphone existence leads to when follow-up input pronunciation.
In addition, wireless earphone confirms whether to have the shelter through acquireing image information, and the control sends the first audio frequency of ultrasonic wave frequency channel under the condition that has the shelter, is favorable to guaranteeing that first audio frequency takes place the diffraction, and the microphone can receive the second audio frequency promptly, has promoted the validity that the stifled hole detected.
In addition, the wireless earphone determines the hole blocking state of the microphone through the relation between the parameter difference value between the first audio frequency and the second audio frequency and the preset difference value threshold value, the difference value is used to reduce the interference of the environment to single data, the calculation is simple, and the convenience and the accuracy of the hole blocking state determination are improved.
In addition, after the microphone is determined to be in the hole blocking state, when an acquisition instruction of the first voice data is received, the wireless earphone detects a distance parameter between the second wireless earphone and the first wireless earphone, and when the distance parameter is smaller than a preset distance threshold, the second wireless earphone is switched to receive the first voice data, so that the completeness of acquiring the first voice data is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of another microphone occlusion detection method provided in the embodiment of the present application, and the method is applied to a wireless headset including a first wireless headset and a second wireless headset, where the first wireless headset and the second wireless headset include at least one speaker, and the first wireless headset includes a microphone, as shown in the figure, the microphone occlusion detection method includes:
s401, when detecting that the first wireless earphone is in a worn state, the wireless earphone sends a first prompt message, wherein the first prompt message is used for prompting a user to place a second wireless earphone at a preset position, and the preset position is a position where a loudspeaker of the second wireless earphone faces a microphone of the first wireless earphone.
S402, when the second wireless earphone is located at the preset position, the wireless earphone controls a loudspeaker of the second wireless earphone to emit a first audio frequency of a preset frequency band, wherein the preset frequency band is the frequency band where the ultrasonic waves are located.
And S403, in a preset time period, the wireless earphone receives a second audio frequency in the preset frequency band through the microphone of the first wireless earphone.
S404, the wireless headset determines parameter differences of the first audio and the second audio, wherein the parameter differences comprise any one or more of the following: volume difference, amplitude difference, frequency difference, energy difference.
S405, when the parameter difference is detected to be larger than a preset difference threshold value, determining that the microphone is in a hole blocking state.
S406, when the wireless headset receives a second acquisition instruction for second voice data, determining whether a microphone of the second wireless headset is in the hole blocking state.
And S407, when receiving the report information that the microphone of the second wireless earphone is in the hole blocking state, the wireless earphone sends a second prompt message, wherein the second prompt message is used for prompting a user to place the second wireless earphone in a preset range of the position of the first wireless earphone.
S408, when the wireless earphone detects that the second wireless earphone is located in the preset range of the position of the first wireless earphone, controlling a microphone of the first wireless earphone and a microphone of the second wireless earphone to carry out pickup operation.
S409, the wireless earphone determines the second voice data according to the first reference voice data picked up by the microphone of the first wireless earphone and the second reference voice data picked up by the microphone of the second wireless earphone.
It can be seen that, in the embodiment of the present application, the wireless headset firstly controls the speaker to emit the first audio frequency in the preset frequency band when detecting that the first wireless headset is in the worn state, secondly, receives the second audio frequency in the preset frequency band through the microphone of the first wireless headset in the preset time period, and finally, determines that the microphone of the first wireless headset is in the hole blocking state according to the second audio frequency. It is thus clear that wireless headset only through the speaker alright detect the microphone and be in the stifled hole state under the condition that does not increase hardware structure, has expanded wireless headset's function, has promoted the convenience and the promptness that the stifled hole detected, moreover, through the stifled hole state that detects the microphone, can avoid the user because of the incomplete condition of speech data input that the problem that can't perceive microphone existence leads to when follow-up input pronunciation.
In addition, wireless earphone is when being in by the state of wearing, place the second wireless earphone in the first wireless earphone can receive the predetermined position of second audio frequency, the speaker through the second wireless earphone sends first audio frequency, the condition that first wireless earphone can't detect the stifled hole of microphone in the wearing process has been avoided, moreover, the microphone through first wireless earphone directly receives the second audio frequency in the transmitting direction of first audio frequency, and need not receive the second audio frequency of first audio frequency reflection, be favorable to promoting the timeliness that the stifled hole detected.
In addition, when the first wireless earphone and the second wireless earphone are both in the hole blocking state, the wireless earphone picks up the voice data together through the first wireless earphone and the second wireless earphone, and determines the second voice data together through the first reference voice data acquired by the first wireless earphone and the second reference voice data acquired by the second wireless earphone, so that the integrity of the second voice data is ensured, and the complete semantics of the second voice data is effectively ensured.
In addition, the wireless earphone determines the hole blocking state of the microphone through the relation between the parameter difference value between the first audio frequency and the second audio frequency and the preset difference value threshold value, the difference value is used to reduce the interference of the environment to single data, the calculation is simple, and the convenience and the accuracy of the hole blocking state determination are improved.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, fig. 5 is a schematic structural diagram of a wireless headset 500 provided in an embodiment of the present application, the wireless headset including a first wireless headset and a second wireless headset, the first wireless headset including at least one speaker, the first wireless headset including a microphone, and the wireless headset including a processor 501, a memory 502, a communication interface 503, and one or more programs 504, wherein the one or more programs 504 are stored in the memory 502 and configured to be executed by the processor 501, and the programs include instructions for performing the following steps;
when the first wireless earphone is detected to be in a worn state, controlling a loudspeaker to emit first audio of a preset frequency band;
receiving a second audio frequency in the preset frequency band through a microphone of the first wireless earphone within a preset time period;
and determining that the microphone of the first wireless earphone is in a hole blocking state according to the second audio.
It can be seen that, in the embodiment of the present application, the wireless headset firstly controls the speaker to emit the first audio frequency in the preset frequency band when detecting that the first wireless headset is in the worn state, secondly, receives the second audio frequency in the preset frequency band through the microphone of the first wireless headset in the preset time period, and finally, determines that the microphone of the first wireless headset is in the hole blocking state according to the second audio frequency. It is thus clear that wireless headset only through the speaker alright detect the microphone and be in the stifled hole state under the condition that does not increase hardware structure, has expanded wireless headset's function, has promoted the convenience and the promptness that the stifled hole detected, moreover, through the stifled hole state that detects the microphone, can avoid the user because of the incomplete condition of speech data input that the problem that can't perceive microphone existence leads to when follow-up input pronunciation.
In one possible example, in connection with the determining that the microphone of the first wireless headset is in a plugged-hole state based on the second audio, the instructions in the program 504 are specifically to: determining parameter differences for the first audio and the second audio, the parameter differences including any one or more of: volume difference, amplitude difference, frequency difference and energy difference; and the microphone is determined to be in the hole blocking state when the parameter difference value is detected to be larger than a preset difference value threshold value.
In one possible example, in the aspect of controlling the speaker to emit the first audio of the preset frequency band when the first wireless headset is detected to be worn, the instructions in the program 504 are specifically configured to: when the first wireless earphone is detected to be in a worn state, sending a first prompt message, wherein the first prompt message is used for prompting a user to place a second wireless earphone at a preset position, and the preset position is a position where a loudspeaker of the second wireless earphone faces a microphone of the first wireless earphone; and when the second wireless earphone is located at the preset position, controlling a loudspeaker of the second wireless earphone to emit the first audio of the preset frequency band, wherein the preset frequency band is the frequency band where the ultrasonic wave is located.
In one possible example, in the aspect of controlling the speaker to emit the first audio of the preset frequency band when the first wireless headset is detected to be worn, the instructions in the program 504 are specifically configured to: when detecting that the first wireless earphone is in a worn state, acquiring image information; the image information is used for determining whether a shelter exists in a preset direction or not according to the image information, wherein the preset direction is a direction matched with the emission direction of the first audio; and the first audio frequency of the preset frequency band is sent out by the loudspeaker when the shelter is detected to exist, and the preset frequency band is the frequency band where the ultrasonic wave is located.
In one possible example, the program 504 further includes instructions for performing the following steps: after the microphone of the first wireless earphone is determined to be in the hole blocking state according to the second audio, when a first acquisition instruction aiming at first voice data is received, determining a distance parameter between the second wireless earphone and the first wireless earphone; and notifying the second wireless headset to receive the first voice data when the distance parameter is detected to be smaller than a preset distance threshold; and means for receiving the first voice data from the second wireless headset.
In one possible example, the program 504 further includes instructions for performing the following steps: after the microphone of the first wireless earphone is determined to be in the hole blocking state according to the second audio, when a second acquisition instruction aiming at second voice data is received, determining whether the microphone of the second wireless earphone is in the hole blocking state; and sending a second prompt message when the report information that the microphone of the second wireless earphone is in the hole blocking state is received, wherein the second prompt message is used for prompting a user to place the second wireless earphone in a preset range of the position of the first wireless earphone; and the microphone of the first wireless earphone and the microphone of the second wireless earphone are controlled to carry out pickup operation when the second wireless earphone is detected to be positioned in the preset range of the position of the first wireless earphone; and the second voice data is determined according to the first reference voice data picked up by the microphone of the first wireless earphone and the second reference voice data picked up by the microphone of the second wireless earphone.
In this possible example, the instructions in the program 504 are specifically configured to, in said determining the second speech data from first reference speech data picked up by a microphone of the first wireless headset and second reference speech data picked up by a microphone of the second wireless headset, perform the following: dividing the first reference voice data picked up by a microphone of the first wireless headset into a plurality of first data segment groups according to a first time interval; and for dividing the second reference speech data picked up by the microphone of the second wireless headset into a plurality of second data segment groups at second time intervals; and for combining into the second speech data from the first group of data segments and the second data segment.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It will be appreciated that the wireless headset, in order to perform the above-described functions, includes corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the wireless headset may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of a microphone hole blockage detection device 600 according to an embodiment of the present application. The microphone occlusion detection device 600 is applied to wireless headsets including a first wireless headset and a second wireless headset, the first wireless headset and the second wireless headset including at least one speaker, the first wireless headset including a microphone, the microphone occlusion detection device 600 including a transmitting unit 601, a receiving unit 602, and a determining unit 603, wherein,
the transmitting unit 601 is configured to control a speaker to emit a first audio frequency in a preset frequency band when it is detected that the first wireless headset is in a worn state;
the receiving unit 602 is configured to receive, within a preset time period, a second audio frequency within the preset frequency band through a microphone of the first wireless headset;
the determining unit 603 is configured to determine that the microphone of the first wireless headset is in a hole blocking state according to the second audio.
It can be seen that, in the embodiment of the present application, the wireless headset firstly controls the speaker to emit the first audio frequency in the preset frequency band when detecting that the first wireless headset is in the worn state, secondly, receives the second audio frequency in the preset frequency band through the microphone of the first wireless headset in the preset time period, and finally, determines that the microphone of the first wireless headset is in the hole blocking state according to the second audio frequency. It is thus clear that wireless headset only through the speaker alright detect the microphone and be in the stifled hole state under the condition that does not increase hardware structure, has expanded wireless headset's function, has promoted the convenience and the promptness that the stifled hole detected, moreover, through the stifled hole state that detects the microphone, can avoid the user because of the incomplete condition of speech data input that the problem that can't perceive microphone existence leads to when follow-up input pronunciation.
In one possible example, in terms of the determining that the microphone of the first wireless headset is in the plugged-hole state according to the second audio, the determining unit 603 is specifically configured to: determining parameter differences for the first audio and the second audio, the parameter differences including any one or more of: volume difference, amplitude difference, frequency difference and energy difference; and the microphone is determined to be in the hole blocking state when the parameter difference value is detected to be larger than a preset difference value threshold value.
In one possible example, in the aspect of controlling the speaker to emit the first audio frequency in the preset frequency band when the first wireless headset is detected to be in the worn state, the transmitting unit 601 is specifically configured to: when the first wireless earphone is detected to be in a worn state, sending a first prompt message, wherein the first prompt message is used for prompting a user to place a second wireless earphone at a preset position, and the preset position is a position where a loudspeaker of the second wireless earphone faces a microphone of the first wireless earphone; and when the second wireless earphone is located at the preset position, controlling a loudspeaker of the second wireless earphone to emit the first audio of the preset frequency band, wherein the preset frequency band is the frequency band where the ultrasonic wave is located.
In one possible example, in the aspect of controlling the speaker to emit the first audio frequency in the preset frequency band when the first wireless headset is detected to be in the worn state, the transmitting unit 601 is specifically configured to: when detecting that the first wireless earphone is in a worn state, acquiring image information; the image information is used for determining whether a shelter exists in a preset direction or not according to the image information, wherein the preset direction is a direction matched with the emission direction of the first audio; and the first audio frequency of the preset frequency band is sent out by the loudspeaker when the shelter is detected to exist, and the preset frequency band is the frequency band where the ultrasonic wave is located.
In one possible example, the microphone occlusion detection apparatus 600 further includes a first processing unit, after the determining that the microphone of the first wireless headset is in the occlusion state according to the second audio, configured to: determining a distance parameter between the second wireless headset and the first wireless headset when a first acquisition instruction for first voice data is received; and notifying the second wireless headset to receive the first voice data when the distance parameter is detected to be smaller than a preset distance threshold; and means for receiving the first voice data from the second wireless headset.
In one possible example, the microphone occlusion detection apparatus 600 further includes a second processing unit, after the determining that the microphone of the first wireless headset is in the occlusion state according to the second audio, configured to: when a second acquisition instruction for second voice data is received, determining whether a microphone of the second wireless headset is in the hole blocking state; and sending a second prompt message when the report information that the microphone of the second wireless earphone is in the hole blocking state is received, wherein the second prompt message is used for prompting a user to place the second wireless earphone in a preset range of the position of the first wireless earphone; and the microphone of the first wireless earphone and the microphone of the second wireless earphone are controlled to carry out pickup operation when the second wireless earphone is detected to be positioned in the preset range of the position of the first wireless earphone; and the second voice data is determined according to the first reference voice data picked up by the microphone of the first wireless earphone and the second reference voice data picked up by the microphone of the second wireless earphone.
In this possible example, in terms of said determining said second speech data from first reference speech data picked up by a microphone of said first wireless headset and second reference speech data picked up by a microphone of said second wireless headset, said execution unit 603 is specifically configured to: dividing the first reference voice data picked up by a microphone of the first wireless headset into a plurality of first data segment groups according to a first time interval; and for dividing the second reference speech data picked up by the microphone of the second wireless headset into a plurality of second data segment groups at second time intervals; and for combining into the second speech data from the first group of data segments and the second data segment.
Wherein the transmitting unit 601 may be a speaker, the receiving unit 602 may be a microphone, and the determining unit 603 may be a processor.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the microphone clogging detection methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the microphone occlusion detection methods as described in the above method embodiments, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be performed by associated hardware as instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. A microphone clogging detection method, applied to a wireless headset comprising a first wireless headset comprising at least one speaker, the first wireless headset comprising a microphone, the method comprising:
when the first wireless earphone is detected to be in a worn state, controlling a loudspeaker to emit first audio of a preset frequency band;
receiving a second audio frequency in the preset frequency band through a microphone of the first wireless earphone within a preset time period;
determining that a microphone of the first wireless headset is in a hole blocking state according to the second audio;
wherein, when detecting that the first wireless earphone is in a worn state, controlling a speaker to emit a first audio of a preset frequency band comprises:
acquiring image information when it is detected that the first wireless headset is in a worn state;
determining whether a shelter exists in a preset direction according to the image information, wherein the preset direction is a direction matched with the emission direction of the first audio;
when the shelter is detected to exist, the loudspeaker is controlled to send the first audio of the preset frequency band, and the preset frequency band is the frequency band where the ultrasonic wave is located.
2. The method of claim 1, wherein the determining that the microphone of the first wireless headset is in a plugged-hole state based on the second audio comprises:
determining parameter differences for the first audio and the second audio, the parameter differences including any one or more of: volume difference, amplitude difference, frequency difference and energy difference;
and when the parameter difference is detected to be larger than a preset difference threshold value, determining that the microphone is in the hole blocking state.
3. The method of claim 2, wherein when the wireless headset further comprises a second wireless headset, the second wireless headset comprises at least one speaker;
when detecting that the first wireless earphone is in a worn state, controlling a loudspeaker to emit a first audio frequency of a preset frequency band, further comprising:
when the first wireless earphone is detected to be in a worn state, sending a first prompt message, wherein the first prompt message is used for prompting a user to place a second wireless earphone at a preset position, and the preset position is a position where a loudspeaker of the second wireless earphone faces a microphone of the first wireless earphone;
when the second wireless earphone is located at the preset position, the loudspeaker of the second wireless earphone is controlled to send the first audio of the preset frequency band, and the preset frequency band is the frequency band where the ultrasonic wave is located.
4. The method of any of claims 1-3, wherein the wireless headset is a Bluetooth wireless headset, and wherein the wireless headset further comprises a second wireless headset comprising at least one speaker; after the determining that the microphone of the first wireless headset is in the plugged-hole state from the second audio, the method further comprises:
determining a distance parameter between the second wireless headset and the first wireless headset when a first acquisition instruction for first voice data is received;
when the distance parameter is detected to be smaller than a preset distance threshold value, informing the second wireless earphone to receive the first voice data;
receiving the first voice data from the second wireless headset.
5. The method of any of claims 1-3, wherein the wireless headset is a Bluetooth wireless headset, and wherein the wireless headset further comprises a second wireless headset comprising at least one speaker; after the determining that the microphone of the first wireless headset is in the plugged-hole state from the second audio, the method further comprises:
when a second acquisition instruction for second voice data is received, determining whether a microphone of the second wireless headset is in the hole blocking state;
when the reported information that the microphone of the second wireless earphone is in the hole blocking state is received, sending a second prompt message, wherein the second prompt message is used for prompting a user to place the second wireless earphone in a preset range of the position of the first wireless earphone;
when the second wireless earphone is detected to be located in the preset range of the position of the first wireless earphone, controlling a microphone of the first wireless earphone and a microphone of the second wireless earphone to carry out sound pickup operation;
and determining the second voice data according to the first reference voice data picked up by the microphone of the first wireless earphone and the second reference voice data picked up by the microphone of the second wireless earphone.
6. The method of claim 5, wherein determining the second voice data from first reference voice data picked up by a microphone of the first wireless headset and second reference voice data picked up by a microphone of the second wireless headset comprises:
dividing the first reference voice data picked up by a microphone of the first wireless headset into a plurality of first data segment groups according to a first time interval;
dividing the second reference voice data picked up by the microphone of the second wireless headset into a plurality of second data segment groups according to a second time interval;
and combining the second voice data according to the first data fragment group and the second data fragment.
7. A microphone clogging detection device, characterized in that, applied to a wireless headset comprising a first wireless headset, wherein the first wireless headset comprises at least one speaker, wherein the first wireless headset comprises a microphone, wherein the microphone clogging detection device comprises a transmitting unit, a receiving unit and a determining unit, wherein:
the transmitting unit is used for controlling a loudspeaker to emit first audio of a preset frequency band when the first wireless earphone is detected to be in a worn state;
the receiving unit is used for receiving a second audio frequency in the preset frequency band through a microphone of the first wireless earphone in a preset time period;
the determining unit is used for determining that the microphone of the first wireless earphone is in a hole blocking state according to the second audio;
wherein, when detecting that the first wireless earphone is in a worn state, controlling a speaker to emit a first audio of a preset frequency band comprises:
acquiring image information when it is detected that the first wireless headset is in a worn state;
determining whether a shelter exists in a preset direction according to the image information, wherein the preset direction is a direction matched with the emission direction of the first audio;
when the shelter is detected to exist, the loudspeaker is controlled to send the first audio of the preset frequency band, and the preset frequency band is the frequency band where the ultrasonic wave is located.
8. A wireless headset, comprising: a processor, memory, and one or more programs; the one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method as described in any of claims 1-6.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN202011435284.9A 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product Active CN112584293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011435284.9A CN112584293B (en) 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810841653.0A CN109151698B (en) 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product
CN202011435284.9A CN112584293B (en) 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810841653.0A Division CN109151698B (en) 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product

Publications (2)

Publication Number Publication Date
CN112584293A CN112584293A (en) 2021-03-30
CN112584293B true CN112584293B (en) 2022-04-08

Family

ID=64798190

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011435284.9A Active CN112584293B (en) 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product
CN201810841653.0A Active CN109151698B (en) 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810841653.0A Active CN109151698B (en) 2018-07-26 2018-07-26 Microphone hole blockage detection method and related product

Country Status (2)

Country Link
CN (2) CN112584293B (en)
WO (1) WO2020019821A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584293B (en) * 2018-07-26 2022-04-08 Oppo广东移动通信有限公司 Microphone hole blockage detection method and related product
CN110324776B (en) * 2019-06-28 2021-03-02 维沃移动通信有限公司 Miss-plugging MIC hole reminding method and terminal equipment
CN112216277A (en) * 2019-07-12 2021-01-12 Oppo广东移动通信有限公司 Method for carrying out voice recognition through earphone, earphone and voice recognition device
CN112533097B (en) * 2019-09-19 2023-06-23 Oppo广东移动通信有限公司 Earphone box detection method, earphone box and storage medium
CN113259832B (en) * 2021-06-29 2023-04-28 深圳市欧瑞博科技股份有限公司 Microphone array detection method and device, electronic equipment and storage medium
CN113630708B (en) * 2021-08-13 2023-08-29 RealMe重庆移动通信有限公司 Method and device for detecting abnormal earphone microphone, earphone kit and storage medium
CN113793607A (en) * 2021-08-31 2021-12-14 Oppo广东移动通信有限公司 Control method of communication device, electronic device, and readable storage medium
CN113596700B (en) * 2021-09-06 2023-12-05 Oppo广东移动通信有限公司 Terminal microphone testing method and device, mobile terminal and storage medium
CN114286216B (en) * 2021-11-30 2022-08-16 歌尔科技有限公司 Wrist-worn equipment and air pressure adjusting method, device and system thereof
CN114143661A (en) * 2022-01-10 2022-03-04 维沃移动通信有限公司 Charging box and control method thereof, charging control method and control device of earphone

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979053A (en) * 2016-04-18 2016-09-28 广东欧珀移动通信有限公司 Method and device for detecting microphone in mobile terminal and mobile terminal
CN106385489A (en) * 2016-08-31 2017-02-08 维沃移动通信有限公司 Method for determining uplink voice data and mobile terminal
WO2017035771A1 (en) * 2015-09-01 2017-03-09 华为技术有限公司 Voice path check method, device, and terminal
CN206713020U (en) * 2017-02-21 2017-12-05 佳禾智能科技股份有限公司 A kind of separated wireless Wave beam forming earphone
CN107526510A (en) * 2016-06-22 2017-12-29 北京小米移动软件有限公司 sound playing method and device
CN207117917U (en) * 2017-08-28 2018-03-16 深圳传音通讯有限公司 Orientation broadcast loudspeaker

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149033A (en) * 2010-10-28 2011-08-10 华为终端有限公司 Earphone processing method and user equipment
CN103297909B (en) * 2013-04-23 2016-04-13 加一联创电子科技有限公司 A kind of earphone method of testing and device
JP2014216867A (en) * 2013-04-25 2014-11-17 京セラ株式会社 Portable terminal equipment
JP6518530B2 (en) * 2015-06-26 2019-05-22 京セラ株式会社 Electronics
CN107205204B (en) * 2016-03-16 2022-09-13 广州启辰电子科技有限公司 Earphone fault detection method and special earphone for examination
JP2018042137A (en) * 2016-09-08 2018-03-15 京セラ株式会社 Electronic apparatus, control device, control program, and sensitivity inspection method
CN106792415B (en) * 2016-12-26 2019-11-15 歌尔科技有限公司 A kind of test method and device for digital microphone array
CN106851516A (en) * 2017-03-03 2017-06-13 广东欧珀移动通信有限公司 Electronic installation and the detection method based on loudness
CN106953961A (en) * 2017-04-28 2017-07-14 苏州科技大学 The mobile phone speech application apparatus and its application process of a kind of dual microphone
CN112584293B (en) * 2018-07-26 2022-04-08 Oppo广东移动通信有限公司 Microphone hole blockage detection method and related product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017035771A1 (en) * 2015-09-01 2017-03-09 华为技术有限公司 Voice path check method, device, and terminal
CN105979053A (en) * 2016-04-18 2016-09-28 广东欧珀移动通信有限公司 Method and device for detecting microphone in mobile terminal and mobile terminal
CN107526510A (en) * 2016-06-22 2017-12-29 北京小米移动软件有限公司 sound playing method and device
CN106385489A (en) * 2016-08-31 2017-02-08 维沃移动通信有限公司 Method for determining uplink voice data and mobile terminal
CN206713020U (en) * 2017-02-21 2017-12-05 佳禾智能科技股份有限公司 A kind of separated wireless Wave beam forming earphone
CN207117917U (en) * 2017-08-28 2018-03-16 深圳传音通讯有限公司 Orientation broadcast loudspeaker

Also Published As

Publication number Publication date
CN109151698A (en) 2019-01-04
CN109151698B (en) 2020-12-29
WO2020019821A1 (en) 2020-01-30
CN112584293A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN112584293B (en) Microphone hole blockage detection method and related product
CN109104684B (en) Microphone hole blockage detection method and related product
CN111447540B (en) Microphone hole blockage detection method and related product
CN111343558A (en) Microphone hole blockage detection method and related product
TW201439818A (en) Application control method and apparatus for mobile terminal, earphone device and application control system
CN108777827B (en) Wireless earphone, volume adjusting method and related product
CN106254993A (en) A kind of earphone left and right acoustic channels self-adaptation control method and device
CN111447600A (en) Audio sharing method for wireless earphone, terminal device and storage medium
CN111800696B (en) Hearing assistance method, earphone, and computer-readable storage medium
CN109121059A (en) Loudspeaker plug-hole detection method and Related product
CN109089201B (en) Microphone hole blockage detection method and related product
WO2020007172A1 (en) Communicational connection establishment method and related device
KR101693483B1 (en) Method and computer program for cancelling howling and echo in a headset
CN112333608A (en) Voice data processing method and related product
CN109121060B (en) Microphone hole blockage detection method and related product
WO2020082387A1 (en) Method for changing audio channel, and related device
CN109151699B (en) Microphone hole blockage detection method and related product
CN112291689B (en) Sound playing method, wearable device and readable storage medium
CN110855823B (en) Call terminal, receiving mode selection method and computer equipment
CN113873382A (en) Headset control method, headset, and computer-readable storage medium
CN110869793B (en) Determining the position/orientation of an audio device
CN111277930B (en) Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset
CN109151701A (en) Microphone plug-hole detection method and Related product
CN109982208B (en) Control method and terminal equipment
KR102076350B1 (en) Audio data input-output device using virtual data input screen and method of performing the same

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
GR01 Patent grant
GR01 Patent grant