Patent Description:
With massive popularity and rapid development of mobile terminals (for example, smart phones), a variety of earphones have become devices that people often use to listen to media. Moreover, earphone cord of wired earphones is often damaged, which shortens the life of the earphones, to case higher cost. Thereby, wireless earphones came into being.

Currently, people often find that holes of a microphone are blocked, such as dust blocking, water droplets blocking, and so on. This causes voice data obtained by a wireless earphone through the microphone to have intermittent sound and low volume, and affects normal use of a user.

The US patent publication NO. <CIT> relates to a digital signal processing for microphone partial occlusion detection. An electronic system for audio noise processing and for noise reduction, using a plurality of microphones, includes a first noise estimator to process a first audio signal from a first one of the microphones, and generate a first noise estimate. The electronic system also includes a second noise estimator to process the first audio signal, and a second audio signal from a second one of the microphones, in parallel with the first noise estimator, and generate a second noise estimate. A microphone partial occlusion detector determines a low frequency band separation of the first and second audio signals and a high frequency band separation of the first and second audio signals to generate a microphone partial occlusion function that indicates whether one of the microphones is partially occluded.

The European publication NO. <CIT> relates to a voice input exception determining method, an apparatus, a terminal, and a storage medium. The method is applied to an electronic device including an audio collection module, and includes: determining whether an amplitude value of an audio signal collected by the audio collection module is less than a preset amplitude threshold and/or whether energy distribution of the audio signal meets a preset condition; and if the amplitude value of the audio signal is less than the preset amplitude threshold and/or the energy distribution of the audio signal does not meet the preset condition, determining that voice input of the electronic device is abnormal. When the electronic device includes at least two microphones and it is detected that a microphone hole of the microphone used is blocked, the user is notified, by using a prompt tone, text, vibration, or the like, that the microphone hole is blocked. Further, when it is detected that a microphone hole of the microphone used is blocked, another microphone is selected according to a preset priority.

The Chinese patent publication NO. <CIT> relates to a method and device for detecting the airtightness of a microphone. The method includes: when receiving an instruction for detecting the airtightness of the microphone, controlling the earpiece to play a voice signal; when the microphone hole corresponding to the microphone is in the first position In a preset state, determine the first strength of the voice signal received by the microphone; when the microphone hole is in a second preset state, determine the second strength of the voice signal received by the microphone; detect the strength of the microphone based on the first strength and the second strength air tightness.

The embodiment of the present disclosure provides a microphone hole blockage detection method and related products, which realizes automatic detection of the blocked hole state of a wireless earphone microphone. It may be beneficial to improve the convenience, flexibility and intelligence of a blocked hole detection.

The present disclosure provides a microphone hole blockage detection method as set out in the appended claim <NUM>.

The present disclosure provides a microphone hole blockage detection device as se out in the appended claim <NUM>.

The drawings involved in the embodiments of the present disclosure will be briefly introduced below.

The detailed description set forth below is intended as a description of the subject technology with reference to the appended figures and embodiments. It is understood that the embodiments described here include merely some parts of the embodiments of the present disclosure, but do not include all the embodiments.

The terms "first" and "second" in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of operations or units is not limited to the listed operations or units, but optionally includes unlisted operations or units, or optionally also includes other operations or units inherent to these processes, methods, products or equipment.

Reference throughout this specification, the reference terms "an embodiment", "some embodiments", "one embodiment", "another example", "an example", "a specific example", or "some examples", and the like means that a specific feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Thus, the illustrative descriptions of the terms throughout this specification are not necessarily referring to the same embodiment or example of the present disclosure. Furthermore, the specific features, structures, materials, or characteristics are combined in any suitable manner in one or more embodiments or examples. In addition, one skilled in the art may combine the different embodiments or examples described in this specification and features of different embodiments or examples without conflicting with each other.

As shown in <FIG>, an embodiment of the present disclosure provides a wireless earphone system <NUM>, which includes a mobile terminal <NUM>, a first wireless earphone <NUM>, and a second wireless earphone <NUM>. The system uses any one of the following communication mechanisms. In a first communication mechanism, the mobile terminal <NUM> has established a first communication link with the first wireless earphone <NUM>, and the first wireless earphone <NUM> has established a second communication link with the second wireless earphone <NUM>, i.e., the communication mechanism between the first wireless earphone <NUM> and the second wireless earphone <NUM> and the mobile terminal <NUM> adopts a master-slave communication mechanism (e.g., a BLUETOOTH protocol is adopted). In a second communication mechanism, the mobile terminal <NUM> establishes a first communication link with the first wireless earphone <NUM>, and the mobile terminal <NUM> establishes a second communication link with the second wireless earphone <NUM>, i.e., the first wireless earphone <NUM> and the second wireless earphone <NUM> are both main earphones that directly communicate with the mobile terminal <NUM>. The main earphone is an earphone that directly establishes a communication link with the mobile terminal <NUM> to perform a preset type of data interaction. A slave earphone is an earphone that is transferred through the main earphone and then performs a preset type of data interaction with the mobile terminal <NUM>. The preset type of data includes media data and/or call data. The media data is audio data and/or video data of the mobile terminal <NUM> other than call voice data, and the call data is call voice data of the mobile terminal <NUM>. The first wireless earphone <NUM> and the second wireless earphone <NUM> is BLUETOOTH wireless earphones, and so on. The mobile terminal <NUM> includes various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices (such as a smart watch, a smart bracelet, a pedometer, and so on), computing devices or other processing devices coupled to wireless modems, and various forms of a user equipment (UE), a mobile station (MS), a terminal device, and so on. For easy of description, the above-mentioned devices is collectively referred to as a mobile terminal. The embodiments of the present disclosure are described in detail in the following.

<FIG> illustrates a flow chart of a microphone hole blockage detection method in accordance with an embodiment in the present disclosure, which is applied to a wireless earphone. The wireless earphone includes a first wireless earphone and a second wireless earphone. The first wireless earphone includes a microphone. As shown in the figure, the microphone hole blockage detection method includes operations in the following blocks.

Block S201, the wireless earphone acquires audio of a preset frequency band through the microphone of the first wireless earphone, and the preset frequency band is a frequency band in which an audible sound is located.

The frequency band in which the audible sound is located, is a frequency band that is heard by a human ear between <NUM> and <NUM>.

The audio of the preset frequency band acquired by the microphone is the audio of an ambient sound, audio from the mobile terminal or a speaker of the first wireless earphone, or a user voice obtained by the microphone when a user is using a voice or video chat application. The audio of the preset frequency band is not limited here.

Block S202, the wireless earphone determines a first volume parameter of the audio acquired by the first wireless earphone.

The first volume parameter of the audio is detected by a decibel detector, and a unit of the volume is decibel.

Block S203, the wireless earphone determines that whether the microphone of the first wireless earphone is in a blocked hole state according to the first volume parameter.

The implementation that the wireless earphone determines whether the microphone of the first wireless earphone is in a blocked hole state according to the first volume parameter, is various. For example, the first volume parameter is compared with a preset volume parameter. When the first volume parameter is much smaller than the preset volume parameter, the blocked hole state is determined. The preset volume parameter is an empirical value, which is preset in the wireless earphone by a technical developer, and is not limited here.

The mobile terminal is also known as in a non-blocked hole state, it determines that the microphone of the first wireless earphone is in the blocked hole state through the volume parameters acquired by the first wireless earphone and the mobile terminal, which is not limited here.

In this embodiment of the present disclosure, the wireless earphone first obtains audio of the preset frequency band through the microphone of the first wireless earphone, and the preset frequency band is a frequency band in which an audible sound is located. Secondly, the first volume parameter of the audio acquired by the first wireless earphone is determined. Finally, it determines according to the first volume parameter that the microphone of the first wireless earphone is in the blocked hole state. The wireless earphone obtains audio of the preset frequency band through the microphone, and the blocked hole state of the microphone is determined according to the first volume parameter of the audio, which is beneficial to improve convenience of the blocked hole detection. Moreover, due to universality of the audible sound, detecting the blocked hole state by acquiring the audible sound improves time flexibility of the blocked hole detection. In addition, the entire detection process is performed autonomously by the wireless earphone, which realizes an automatic detection of the blocked hole state of the wireless earphone microphone. It detects that the microphone is in the blocked hole state without increasing a hardware structure, which expands functions of the wireless earphone and improve intelligence of the blocked hole detection.

In an embodiment, the operations of determining whether the microphone of the first wireless earphone being in the blocked hole state according to the first volume parameter, includes operations in the following.

A first difference between the first volume parameter and a preset volume threshold, is determined.

When the first difference being greater than the first difference threshold is detected, it determines that the microphone of the first wireless earphone is in the blocked hole state.

The preset volume threshold is a fixed value. The fixed value is an empirical value, which is preset by a technical developer before the wireless earphone leaves the factory. The preset volume threshold is also a dynamic value. The dynamic value varies depending on the environment or is changed according to different users, and so on. Different environments causes different environmental sound interference, and then different preset volume thresholds are determined. Different users cause different volumes of each user's speech, and then different preset volume thresholds are determined. The preset volume threshold is a user's maximum volume or a user's average volume determined according to historical user volume acquisition records, and so on, which is not limited here.

In this embodiment, the wireless earphone determines the blocked hole state of the first wireless earphone according to the first difference between the acquired audio volume parameter and the preset volume threshold. The algorithm is simple, which is beneficial to improve convenience of the blocked hole detection.

In this embodiment, the wireless earphone is coupled to the mobile terminal. The audio is audio emitted by a speaker of the mobile terminal. Before the first difference between the first volume parameter and the preset volume threshold is determined, the method further includes operations in the following.

A first distance parameter between the first wireless earphone and the mobile terminal, is determined.

The preset volume threshold corresponding to the first distance parameter, is acquired.

The wireless earphone is preset with a mapping relationship between the first distance parameter and the preset volume threshold. The preset volume threshold is obtained through the first distance parameter. The mapping relationship is preset in the wireless earphone by a technical developer based on an empirical value before the wireless earphone leaves the factory.

The implementation that the first distance parameter between the first wireless earphone and the mobile terminal is determined is various. For example, the first volume parameter is compared with a preset volume parameter. For example, a user wears the first wireless earphone, and the wireless earphone determines that whether the mobile terminal is coupled to the mobile terminal. The wireless earphone determines the distance parameter between the mobile terminal and the first wireless earphone by determining the distance parameter between the mobile terminal and a user, or determines signaling transmission time through signaling interaction between the first wireless earphone and the mobile terminal. The distance parameter between the first wireless earphone and the mobile terminal is determined according to the signaling transmission time and the transmission speed, which is not limited here.

In this embodiment, when the wireless earphone receives the audio from the speaker of the mobile terminal and determines the blocked hole state according to the first volume parameter of the audio, the preset volume threshold configured to determine the blocked hole state is determined by determining the distance from the mobile terminal. It conforms to the interaction scenario between the first wireless earphone and the mobile terminal, which is beneficial to improve accuracy of the blocked hole detection.

In an embodiment which is not encompassed by the wording of the claims, but are considered as useful for understanding the invention, the audio is audio emitted by a speaker of the second wireless earphone according to the preset volume threshold. Before the first difference being greater than the first difference threshold is detected, and before the first wireless earphone being in the blocked hole state is determined, the method further includes operations in the following.

A second distance parameter between the first wireless earphone and the second wireless earphone, is determined.

The first difference threshold according to the second distance parameter, is determined.

The wireless earphone is preset with a mapping relationship between the second distance parameter and the preset volume threshold. The preset volume threshold is obtained through the second distance parameter. The mapping relationship is preset in the wireless earphone by a technical developer based on an empirical value before the wireless earphone leaves the factory.

In this embodiment, the wireless earphone receives audio from the speaker of the second wireless earphone according to the preset volume threshold. Therefore, detecting the blocked hole state by the difference between the first volume parameter and the preset volume threshold is beneficial to improve the accuracy of the blocked hole detection. Moreover, the first difference threshold is determined according to the second distance parameter of the first wireless earphone and the second wireless earphone, instead of the preset fixed first difference threshold, which further improves the accuracy of the blocked hole detection.

In an embodiment which is not encompassed by the wording of the claims, but are considered as useful for understanding the invention, the audio is audio emitted by a wearer of the first wireless earphone. The microphone of the second wireless earphone is in a non-blocked hole state. The method further includes operations in the following.

The microphone of the second wireless earphone is controlled to acquire the audio of the preset frequency band.

A second volume parameter of the audio acquired by the second wireless earphone, is determined.

The operation that whether the microphone of the first wireless earphone being in the blocked hole state is determined according to the first volume parameter, further includes operations in the following.

A second difference between the first volume parameter and the second volume parameter, is determined.

When the second difference is greater than the second difference threshold, it determines that the microphone of the first wireless earphone is in the blocked hole state.

The second wireless earphone is in the non-blocked hole state. The implementation that controlling the microphone of the second wireless earphone to acquire the audio of the preset frequency band, is that the wireless earphone simultaneously controls the microphone of the first wireless earphone and the microphone of the second wireless earphone to simultaneously acquire the audio.

When the audio received by the wireless earphone is emitted by the wearer, because the wearer cannot accurately determine the volume of the audio emitted by the wearer, the second wireless earphone by is controlled to acquire the audio together, and then the blocked hole state is determined by determining the first volume parameter acquired by the first wireless earphone and the second volume parameter acquired by the second wireless earphone. The two wireless earphones is in a same environment, which helps avoid environmental interference and further improve the accuracy of the blocked hole detection.

In an embodiment, after the first wireless earphone being in the blocked hole state is determined according to the first volume parameter, the method further includes operations in the following.

When an acquisition instruction for voice data is detected and the first wireless earphone is in a wearing state, a user is prompted to wear the second wireless earphone.

When the second wireless earphone being in the wearing state is detected, a microphone function of the first wireless earphone is disabled, and the voice data through is acquired the microphone of the second wireless earphone.

The implementation that the acquisition instruction for voice data is detected, is various. For example, it receives a voice data acquisition instruction sent by the mobile terminal. The acquisition instruction is acquisition instructions when a chat application (such as WeChat, QQ, and so on) is a foreground application. The voice data acquisition instruction is triggered by a user long pressing the designated button on the touch screen, and so on. The voice data acquisition instruction acquired by the wireless earphone is also detected by a user's touch or pressing operation, which is not limited here. The acquisition instruction indicates that a user needs to record voice data.

The wireless earphone determines the wearing state of the first wireless earphone by detecting contact with an ear contour through multiple proximity sensors or pressure sensors. The wearing state of the first wireless earphone is also determined by the posture parameter of the first wireless earphone. The wearing state of the first wireless earphone is also possible to determine by detecting a communication identifier of a successful communication connection with the mobile terminal. The wearing state of the first wireless earphone is also possible to determine by detecting a music play message, and so on, which is not limited here.

The implementation that a user is prompted to wear the second wireless earphone, is various. For example, a user is prompted by a voice message. A user is prompted by a breathing light that the second wireless earphone include. A user is prompted by a text message displayed on the display screen of the mobile terminal, and so on, which is not limited here.

The implementation that the second wireless earphone being in the wearing state is detected, is various. For example, it determines that the second wireless earphone is in the wearing state after the prompt is issued for a period of time. It determines by a user's touch operation on the second wireless earphone or the mobile terminal that the second wireless earphone is in the wearing state. The touch operation is an operation of the user double-clicking the mobile terminal or double-clicking the second wireless earphone, which is not limited here.

In this embodiment, when the acquisition instruction for voice data is detected and the first wireless earphone is in the wearing state, the user is prompt to wear the second wireless earphone. When the second wireless earphone being in the wearing state is detected, the microphone function of the first wireless earphone is disabled, and the voice data through is acquired the microphone of the second wireless earphone. It is beneficial to improve integrity of voice data acquisition and reduce power consumption of the first wireless earphone.

In an embodiment, after the voice data is acquired through the microphone of the second wireless earphone, the method further includes operations in the following.

Whether the second wireless earphone is a master earphone, is detected.

When the second wireless earphone being the master earphone is detected, the second wireless earphone is switched to be a slave earphone and the first wireless earphone is switched to be the master earphone.

In this embodiment, when the wireless earphone determines that the microphone hole is blocked, the microphone function of the first wireless earphone is disabled, and the microphone of the second wireless earphone is used instead, which causes the second wireless earphone to consume more power. Therefore, switching the second wireless earphone to the slave earphone reduces the power consumption and energy consumption caused by a greater number of communication interactions of the master earphone, and increases use time of the second wireless earphone.

In an embodiment same as the embodiment shown in <FIG>, <FIG> illustrates a flow chart of a microphone hole blockage detection method in accordance with an embodiment in the present disclosure, which is applied to a wireless earphone. The wireless earphone includes a first wireless earphone and a second wireless earphone. The first wireless earphone includes a microphone. As shown in the figure, the microphone hole blockage detection method includes operations in the following blocks.

Block S301, the wireless earphone controls a speaker of the mobile terminal to emit audio of a preset frequency band, and the preset frequency band is a frequency band in which the audible sound is located.

Block S302, the wireless earphone acquires the audio of the preset frequency band through the microphone of the first wireless earphone.

Block S303, the wireless earphone determines a first volume parameter of the audio acquired by the first wireless earphone.

Block S304, the wireless earphone determines a first distance parameter between the first wireless earphone and the mobile terminal.

Block S305, the wireless earphone acquires the preset volume threshold corresponding to the first distance parameter.

Block S306, the wireless earphone determines a first difference between the first volume parameter and the preset volume threshold.

Block S307, when the wireless earphone detects that the first difference is greater than the first difference threshold, the wireless earphone determines that the microphone of the first wireless earphone is in the blocked hole state.

In addition, when the wireless earphone receives the audio from the speaker of the mobile terminal and determines the blocked hole state according to the first volume parameter of the audio, the preset volume threshold configured to determine the blocked hole state is determined by determining the distance from the mobile terminal. It conforms to the interaction scenario between the first wireless earphone and the mobile terminal, which is beneficial to improve accuracy of the blocked hole detection.

In addition, the wireless earphone determines the blocked hole state of the first wireless earphone according to the first difference between the acquired audio volume parameter and the preset volume threshold. The algorithm is simple, which is beneficial to improve convenience of the blocked hole detection.

In an embodiment which is the same as the embodiment shown in <FIG>, and of which the operations at block <NUM> to block <NUM> are not encompassed by the wording of the claims, but are considered as useful for understanding the invention, <FIG> illustrates a flow chart of a microphone hole blockage detection method in accordance with an embodiment in the present disclosure, as shown in the figure, the microphone hole blockage detection method includes operations in the following blocks.

Block S401, the wireless earphone acquires audio of a preset frequency band through the microphone of the first wireless earphone, and the preset frequency band is a frequency band in which an audible sound is located, and the audio is audio emitted by a wearer of the first wireless earphone.

Block S402, the wireless earphone determines a first volume parameter of the audio acquired by the first wireless earphone.

Block S403, the wireless earphone controls a microphone of the second wireless earphone to acquire the audio of the preset frequency band.

Block S404, the wireless earphone determines a second volume parameter of the audio acquired by the second wireless earphone.

Block S405, the wireless earphone determines a second difference between the first volume parameter and the second volume parameter.

Block S406, when the second difference is greater than the second difference threshold, the wireless earphone determines that the microphone of the first wireless earphone is in the blocked hole state.

Block S407, when an acquisition instruction for voice data is detected and the first wireless earphone is in a wearing state, the wireless earphone prompts a user to wear the second wireless earphone.

Block S408, when the wireless earphone detects that the second wireless earphone is in the wearing state, the wireless earphone disables a microphone function of the first wireless earphone, and the wireless earphone acquires the voice data through the microphone of the second wireless earphone.

Block S409, the wireless earphone detects that whether the second wireless earphone is a master earphone.

Block S410, when the wireless earphone detects that the second wireless earphone is the master earphone, the wireless earphone switches the second wireless earphone to be a slave earphone and the wireless earphone switches the first wireless earphone to be the master earphone.

In addition, when the audio received by the wireless earphone is emitted by the wearer, because the wearer cannot accurately determine the volume of the audio emitted by the wearer, the second wireless earphone by is controlled to acquire the audio together, and then the blocked hole state is determined by determining the first volume parameter acquired by the first wireless earphone and the second volume parameter acquired by the second wireless earphone. The two wireless earphones are in a same environment, which helps avoid environmental interference and further improve the accuracy of the blocked hole detection.

In addition, when the acquisition instruction for voice data is detected and the first wireless earphone is in the wearing state, the user is prompt to wear the second wireless earphone. When the second wireless earphone being in the wearing state is detected, the microphone function of the first wireless earphone is disabled, and the voice data through is acquired the microphone of the second wireless earphone. It is beneficial to improve integrity of voice data acquisition and reduce power consumption of the first wireless earphone.

In addition, when the wireless earphone determines that the microphone hole is blocked, the microphone function of the first wireless earphone is disabled, and the microphone of the second wireless earphone is used instead, which causes the second wireless earphone to consume more power. Therefore, switching the second wireless earphone to the slave earphone reduces the power consumption and energy consumption caused by a greater number of communication interactions of the master earphone, and increases use time of the second wireless earphone.

In an embodiment same as the embodiment shown in <FIG>, <FIG>, and <FIG>, <FIG> illustrates a structural illustration of a wireless earphone <NUM> in accordance with an embodiment in the present disclosure. The wireless earphone includes a first wireless earphone and a second wireless earphone. The first wireless earphone includes a microphone. As shown in the figure, the wireless earphone includes a processor <NUM>, a memory <NUM>, a communication interface <NUM>, and at least one of programs <NUM>. The at least one of programs <NUM> is stored in the memory <NUM> and is configured to be executed by the processor <NUM>. The programs include instructions configured to execute operations in the following.

Audio of a preset frequency band is acquired through the microphone of the first wireless earphone, and the preset frequency band is a frequency band in which an audible sound is located.

A first volume parameter of the audio acquired by the first wireless earphone, is determined.

Whether the microphone of the first wireless earphone is in a blocked hole state is determined according to the first volume parameter.

In an embodiment, in a case that whether the first wireless earphone is in the blocked hole state is determined according to the first volume parameter, the instructions in the program <NUM> is configured to execute operations in the following. A first difference between the first volume parameter and a preset volume threshold, is determined. When the first difference being greater than the first difference threshold is detected, it determines that the microphone of the first wireless earphone is in the blocked hole state.

In this embodiment, the wireless earphone is coupled to the mobile terminal. The audio is audio emitted by the speaker of the mobile terminal. The program <NUM> is further configured to execute operations in the following. Before the first difference between the first volume parameter and the preset volume threshold is determined, a first distance parameter between the first wireless earphone and the mobile terminal, is determined, and the preset volume threshold corresponding to the first distance parameter, is acquired.

In an embodiment which is not encompassed by the wording of the claims, but are considered as useful for understanding the invention, the audio is audio emitted by a speaker of the second wireless earphone according to the preset volume threshold. The program <NUM> is further configured to execute operations in the following. Before the first difference being greater than the first difference threshold is detected, and before the first wireless earphone being in the blocked hole state is determined, a second distance parameter between the first wireless earphone and the second wireless earphone, is determined, and the first difference threshold according to the second distance parameter, is determined.

In an embodiment which is not encompassed by the wording of the claims, but are considered as useful for understanding the invention, the audio is audio emitted by a wearer of the first wireless earphone. The microphone of the second wireless earphone is in a non-blocked hole state. The program <NUM> is further configured to execute operations in the following. The microphone of the second wireless earphone is controlled to acquire the audio of the preset frequency band. A second volume parameter of the audio acquired by the second wireless earphone, is determined.

In a case that whether the first wireless earphone is in the blocked hole state according to the first volume parameter, the program <NUM> is further configured to execute operations in the following. A second difference between the first volume parameter and the second volume parameter, is determined. When the second difference is greater than the second difference threshold, it determines that the microphone of the first wireless earphone is in the blocked hole state.

In an embodiment, the program <NUM> is further configured to execute operations in the following. After the first wireless earphone being in the blocked hole state is determined according to the first volume parameter, when an acquisition instruction for voice data is detected and the first wireless earphone is in a wearing state, a user is prompted to wear the second wireless earphone, and when the second wireless earphone being in the wearing state is detected, a microphone function of the first wireless earphone is disabled, and the voice data through is acquired the microphone of the second wireless earphone.

In this embodiment, the program <NUM> is further configured to execute operations in the following. After the voice data is acquired through the microphone of the second wireless earphone, whether the second wireless earphone is a master earphone, is detected, and when the second wireless earphone being the master earphone is detected, the second wireless earphone is switched to be a slave earphone and the first wireless earphone is switched to be the master earphone.

The above-mentioned description mainly introduces a solution of the embodiments of the present disclosure from the perspective of the execution process on the method side. It is understood that, in order to implement the above-mentioned functions, the wireless earphone includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm operations of the examples described in the embodiments provided herein, the present disclosure is implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Professionals and technicians use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this disclosure.

The embodiments of the present disclosure divides the wireless earphone into functional units according to the above-mentioned embodiments. For example, each functional unit is divided corresponding to each function, or two or more functions are integrated into one processing unit. The above-mentioned integrated unit is implemented in a form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present disclosure is illustrative, and is only a logical function division, and there are other division methods in actual implementation.

<FIG> illustrates a functional unit block diagram of a microphone hole blockage detection device <NUM> in accordance with an embodiment in the present disclosure. The microphone hole blockage detection device <NUM> is applied to a wireless earphone. The wireless earphone includes a first wireless earphone and a second wireless earphone. The first wireless earphone includes a microphone. The microphone hole blockage detection device <NUM> includes an acquiring unit <NUM>, a first determining unit <NUM>, and a second determining unit <NUM>.

The acquiring unit <NUM> is configured to acquire audio of a preset frequency band through the microphone of the first wireless earphone. The preset frequency band is a frequency band in which an audible sound is located.

The first determining unit <NUM> is configured to determine a first volume parameter of the audio acquired by the first wireless earphone.

The second determining unit <NUM> is configured to determine that whether the microphone of the first wireless earphone is in a blocked hole state according to the first volume parameter.

In an embodiment, when the second determining unit <NUM> is configured to determine that whether the first wireless earphone is in the blocked hole state according to the first volume parameter, the second determining unit <NUM> is further configured to determine a first difference between the first volume parameter and a preset volume threshold. When the first difference being greater than the first difference threshold is detected, the second determining unit <NUM> is configured to determine that the microphone of the first wireless earphone is in the blocked hole state.

In this embodiment, the wireless earphone is coupled to a mobile terminal. The audio is audio emitted by a speaker of the mobile terminal. Before the second determining unit <NUM> determines the first difference between the first volume parameter and the preset volume threshold, the second determining unit <NUM> is further configured to determine a first distance parameter between the first wireless earphone and the mobile terminal, and the second determining unit <NUM> is further configured to acquire the preset volume threshold corresponding to the first distance parameter.

In an embodiment which is not encompassed by the wording of the claims, but are considered as useful for understanding the invention, the audio is audio emitted by a speaker of the second wireless earphone according to the preset volume threshold. Before the second determining unit detects that the first difference is greater than the first difference threshold, the second determining unit is configured to determine that the microphone of the first wireless earphone is in the blocked hole state, the second determining unit <NUM> is further configured to determine a second distance parameter between the first wireless earphone and the second wireless earphone, and the second determining unit <NUM> is configured to determine the first difference threshold according to the second distance parameter.

In an embodiment which is not encompassed by the wording of the claims, but are considered as useful for understanding the invention, the audio is audio emitted by a wearer of the first wireless earphone. A microphone of the second wireless earphone is in a non-blocked hole state. The acquiring unit <NUM> is further configured to control the microphone of the second wireless earphone to acquire the audio of the preset frequency band.

The first determining unit <NUM> is configured to determine a second volume parameter of the audio acquired by the second wireless earphone.

When the second determining unit <NUM> is configured to determine that whether the microphone of the first wireless earphone is in a blocked hole state according to the first volume parameter, the second determining unit <NUM> is further configured to determine a second difference between the first volume parameter and the second volume parameter. When the second difference is greater than the second difference threshold, the second determining unit <NUM> is configured to determine that the microphone of the first wireless earphone is in the blocked hole state.

In an embodiment, as shown in <FIG>, the microphone hole blockage detection device <NUM> further includes a processing unit <NUM>. After the first wireless earphone being in the blocked hole state according to the first volume parameter is detected, the processing unit <NUM> is configured to prompt a user to wear the second wireless earphone. When an acquisition instruction for voice data is detected and the first wireless earphone is in a wearing state, the processing unit <NUM> is configured to acquire the voice data through the microphone of the second wireless earphone. When the second wireless earphone being in the wearing state is detected, the processing unit <NUM> is configured to disable a microphone function of the first wireless earphone.

In this embodiment, after the processing unit <NUM> acquires the voice data through the microphone of the second wireless earphone, the processing unit <NUM> is further configured to detect whether the second wireless earphone is a master earphone. When the second wireless earphone being the master earphone is detected, the processing unit <NUM> is further configured to switch the second wireless earphone to be a slave earphone and the first wireless earphone to be the master earphone.

The acquiring unit <NUM> is a speaker. The first determining unit <NUM>, the second determining unit <NUM>, and the processing unit <NUM> is a processor or a transceiver.

In an embodiment, the present disclosure also provides a computer storage medium. The computer storage medium is configured to store a computer program for electronic data exchange. The computer program causes a computer to execute any of part or all of the operations in the above-mentioned embodiments of the microphone hole blockage detection method.

In an embodiment, the present disclosure also provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program. The computer program is operable to cause a computer to execute any of part or all of the operations in the above-mentioned embodiments of the microphone hole blockage detection method.

It should be noted that, for the above-mentioned method embodiments, for a simple description, the above-mentioned method embodiments are all expressed as a series of action combinations. However, those skilled in the art should know that the present disclosure is not limited by the described sequence of operations. Because according to the present disclosure is, some operations are performed in other order or simultaneously. Those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments. The operations and modules involved are not necessarily required by the present disclosure.

In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference is made to related descriptions of other embodiments.

In the several embodiments provided in the present disclosure, it should be understood that the disclosed device is implemented in other ways. For example, the above-mentioned device embodiments are merely illustrative. For example, the division of the units is only a logical function division, and there are other divisions in actual implementation, for example, multiple units or components are combined or are integrate into another system, or some features are ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection is indirect coupling or communication connection through some interfaces, devices or units, and is in electrical or other forms.

The units described as separate components are or are not be physically separated, and the components displayed as units are or are not be physical units, that is, they are located in one place, or they are distributed on multiple network units. Some or all of the units are selected according to actual needs to achieve the objectives of the solutions of the embodiments.

In addition, the functional units in the various embodiments of the present disclosure are integrated into one processing unit, or each unit exists alone physically, or two or more units are integrated into one unit. The above-mentioned integrated unit is implemented in the form of hardware or software functional unit.

When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it is stored in a computer readable memory. Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the existing technology, or all or part of the technical solution is embodied in the form of a software product, and the computer software product is stored in a memory. It includes several instructions to make a computer device (which is a personal computer, a server, or a network device, and so on) execute all or part of the operations in the above-mentioned embodiments of the microphone hole blockage detection method. The aforementioned memory includes: a USB stick, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, magnetic disk or optical disk and other media that stores program codes.

Those of ordinary skill in the art understand that all or part of the operations in the various methods of the above-mentioned embodiments is completed by instructing relevant hardware through a program. The program is stored in a computer-readable memory. The memory includes: a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and so on.

Claim 1:
A microphone hole blockage detection method applied to a wireless earphone system (<NUM>), wherein the wireless earphone system (<NUM>) comprises a mobile terminal (<NUM>), a first wireless earphone (<NUM>) and a second wireless earphone (<NUM>); the first wireless earphone (<NUM>) comprises a first microphone; the second wireless earphone (<NUM>) comprises a second microphone; and the method comprising:
acquiring (S201) audio of a preset frequency band through the first microphone of the first wireless earphone (<NUM>), wherein the preset frequency band is a frequency band in which an audible sound is located;
determining (S202) a first volume parameter of the audio acquired by the first wireless earphone (<NUM>); and
determining (S203) whether the first microphone of the first wireless earphone (<NUM>) is in a blocked hole state according to the first volume parameter;
wherein after the first wireless earphone (<NUM>) being in the blocked hole state according to the first volume parameter is detected, the method further comprises:
determining a wearing state of the first wireless earphone (<NUM>) by one of:
detecting contact of the first wireless earphone (<NUM>) with an ear contour through multiple proximity sensors or pressure sensors;
a posture parameter of the first wireless earphone (<NUM>); and
detecting a communication identifier of a successful communication connection with the mobile terminal (<NUM>);
when an acquisition instruction for voice data is detected and the first wireless earphone (<NUM>) is in a wearing state, prompting(S407) a user to wear the second wireless earphone (<NUM>);
determining whether the second wireless earphone (<NUM>) is in a wearing state by one of:
determining the second wireless earphone (<NUM>) is in the wearing state after a prompt is issued for a period of time; and
determining by the user's touch operation on the second wireless earphone (<NUM>) or the mobile terminal (<NUM>) that the second wireless earphone (<NUM>) is in the wearing state;
when the second wireless earphone (<NUM>) being in the wearing state is detected, disabling (S408) a microphone function of the first wireless earphone (<NUM>), and acquiring the voice data through the second microphone of the second wireless earphone (<NUM>).