[go: up one dir, main page]

CN112449040A - Microphone control method of mobile terminal and mobile terminal - Google Patents

Microphone control method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN112449040A
CN112449040A CN202011285514.8A CN202011285514A CN112449040A CN 112449040 A CN112449040 A CN 112449040A CN 202011285514 A CN202011285514 A CN 202011285514A CN 112449040 A CN112449040 A CN 112449040A
Authority
CN
China
Prior art keywords
microphone
mobile terminal
main
auxiliary
audio intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011285514.8A
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011285514.8A priority Critical patent/CN112449040A/en
Publication of CN112449040A publication Critical patent/CN112449040A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application provides a microphone control method of a mobile terminal and the mobile terminal, wherein the mobile terminal comprises a main microphone and at least one auxiliary microphone, and the microphone for noise reduction is combined into the main microphone and the current auxiliary microphone, and the method comprises the following steps: step 1, respectively acquiring audio data of a main microphone and current auxiliary microphones in a communication process; step 2, periodically extracting the audio intensity information of the main microphone and the current auxiliary microphone respectively from the audio data; and step 3, determining the audio intensity ratio of the current auxiliary microphone and the main microphone, and controlling the switching of the microphone combination according to the audio intensity ratio. By using the method, whether the main microphone or the auxiliary microphone is blocked or not can be judged, and if the main microphone or the auxiliary microphone is blocked, the microphone combination for noise reduction is controlled to be switched, so that the optimal microphone noise reduction effect is achieved.

Description

Microphone control method of mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a microphone control method for a mobile terminal and a mobile terminal.
Background
Most of smart phones in the market at present adopt a main microphone and auxiliary microphone noise reduction mode in a communication handheld mode, and send the noise reduction processed voice to a far end. As shown in the microphone layout of the handset of fig. 1, the principle of noise reduction of the primary and secondary microphones is that the primary microphone 1 is located at the bottom end of the handset, the first secondary microphone 2 is generally at the top end of the handset, and the second secondary microphone 3 is generally at the top back of the handset.
Due to the layout difference of the main microphone and the auxiliary microphone, the main microphone is closer to the human voice than the auxiliary microphone, so that the main microphone can pick up more human voice signals and relatively small environmental noise, the auxiliary microphone picks up relatively small human voice signals and relatively more environmental noise, the environmental noise picked up by the auxiliary microphone is taken as a reference, the environmental noise in the main microphone is eliminated, and the opposite side can hear relatively clean human voice. However, if the secondary microphone is inadvertently blocked, the noise reduction effect of the dual microphones is greatly reduced due to the lack of the sampling reference of the ambient noise, and the ambient noise is mixed in the voice heard by the opposite party.
The situation that the secondary microphone is blocked in the conversation scene also happens occasionally, if the secondary microphone is located at the position as the first secondary microphone 2 in (a) in fig. 1, when the angle of holding the mobile phone by hand is larger, and the body of the mobile phone is close to being vertical to the ear, the position of the first secondary microphone 2 can be blocked or easily covered by hair; if the secondary microphone is located at the second secondary microphone 3 in fig. 1 (b), the second secondary microphone 3 may be blocked by the index finger when the user holds the second secondary microphone in the hand as shown in fig. 2.
Under the condition that the auxiliary microphone is shielded, the noise reduction of the main microphone and the auxiliary microphone is difficult to carry out, so that the user is mixed with larger environmental noise in the voice mentioned by the mobile terminal, and the user experience is influenced.
Disclosure of Invention
In view of the above problems in the prior art, the present application provides a microphone control method for a mobile terminal and a mobile terminal using the method to perform microphone detection and switching, where whether a microphone is blocked is determined by a certain algorithm, and the microphone is switched to an optimal microphone combination, so as to achieve an optimal call effect.
In a first aspect, the present application provides a microphone control method of a mobile terminal, the mobile terminal including a main microphone and at least one sub-microphone, a microphone for noise reduction being combined as the main microphone and a current sub-microphone, the method including the steps of: step 1, respectively acquiring audio data of a main microphone and current auxiliary microphones in a communication process; step 2, periodically extracting the audio intensity information of the main microphone and the current auxiliary microphone respectively from the audio data; and step 3, determining the audio intensity ratio of the current auxiliary microphone and the main microphone, and controlling the switching of the microphone combination according to the audio intensity ratio. By using the method, whether the main microphone or the auxiliary microphone is blocked or not can be judged, and if the main microphone or the auxiliary microphone is blocked, the microphone combination for noise reduction is controlled to be switched, so that the optimal microphone noise reduction effect is achieved.
In a possible implementation manner of the first aspect, step 3 specifically includes: and if the audio intensity ratio is smaller than or equal to a first lower limit threshold value in a first time period, determining that the current auxiliary microphone is blocked, and switching the microphone combination into the main microphone and the alternative auxiliary microphone when the mobile terminal comprises two auxiliary microphones or switching the microphone for noise reduction into the main microphone alone when the mobile terminal comprises one auxiliary microphone. With this embodiment, the determination condition that the sub-microphone is blocked is clarified, and the microphones are switched according to the blocking.
In one possible implementation manner of the first aspect, steps 1-3 are repeated for the microphone combination composed of the alternative secondary microphone and the primary microphone, and in a second time period, if the audio intensity ratio of the alternative secondary microphone and the primary microphone is smaller than or equal to a second lower threshold, it is determined that the alternative secondary microphone is blocked, and the microphone for noise reduction is switched to the primary microphone alone.
In one possible implementation of the first aspect, the first lower threshold or the second lower threshold is determined by: respectively acquiring audio data of the auxiliary microphone under different shielding degrees, and acquiring audio data of the main microphone under corresponding conditions; respectively extracting the audio intensity information of the auxiliary microphone and the main microphone from the audio data, and judging the audio intensity ratio of the auxiliary microphone and the main microphone; and determining the minimum value as a lower threshold value from the plurality of audio intensity ratio values.
In one possible implementation of the first aspect, the first lower threshold and the second lower threshold are equal.
In one possible implementation of the first aspect, during the first time period, once the audio intensity ratio is greater than the first lower threshold, returning to step 1; and returning to the step 1 once the audio intensity ratio is greater than the second lower threshold value in the second time period. Through the implementation mode, misjudgment caused by the fact that the microphone is temporarily shielded can be avoided, and misswitching operation is caused.
In a possible implementation manner of the first aspect, step 3 specifically includes:
and in a third time period, if the audio intensity ratio is larger than or equal to the first upper limit threshold value, determining that the main microphone is blocked, switching the microphone combination into one or two of the at least one selected auxiliary microphone, and/or sending out a prompt signal that the main microphone is blocked. By the embodiment, the judgment condition that the main microphone is shielded is clarified, at least one auxiliary microphone is switched to be the microphone combination for noise reduction according to shielding, and meanwhile, a prompt signal that the main microphone is shielded is optionally sent to a user.
In one possible implementation manner of the first aspect, in step 2, the audio intensity information of the current secondary microphone and the primary microphone is extracted from the audio data every 1 second, and the first time period, the second time period, and the third time period are 5 seconds.
In a second aspect, the present application further provides a mobile terminal for controlling a microphone by using the microphone control method of the first aspect and any possible implementation manner thereof, including: a primary microphone and at least one secondary microphone; the acquisition module is used for acquiring the audio data of the main microphone and the current auxiliary microphone in the call process; an extracting module for periodically extracting audio intensity information of the main microphone and the current sub-microphone, respectively, from the audio data acquired by the acquiring module; and the control module is used for determining the audio intensity ratio of the current auxiliary microphone and the main microphone and controlling the switching of the microphone combination according to the audio intensity ratio.
In one possible implementation of the second aspect, the mobile terminal further comprises: a timer for recording when the primary or secondary microphone is occluded.
In a possible implementation manner of the second aspect, the control module is specifically configured to: determining that the current secondary microphone is occluded if the audio intensity ratio is less than or equal to a first lower threshold value during a first time period calculated by the timer, and controlling switching the microphone combination to the primary microphone and the alternative secondary microphone when the mobile terminal includes two secondary microphones or controlling switching the microphone for noise reduction to the primary microphone alone when the mobile terminal includes one secondary microphone.
In a possible implementation manner of the second aspect, the control module is further specifically configured to: and (3) repeating the steps 1-3 aiming at the microphone combination consisting of the alternative secondary microphone and the primary microphone, determining that the alternative secondary microphone is blocked if the ratio of the audio intensity of the alternative secondary microphone and the audio intensity of the primary microphone is less than or equal to a second lower threshold value in a second time period calculated by the timer, and controlling to switch the microphone for noise reduction to be the independent primary microphone.
In one possible embodiment of the second aspect, the control module is further specifically configured to; and during a third time period calculated by the timer, if the audio intensity ratio is greater than or equal to a first upper threshold, determining that the main microphone is blocked, and controlling the switching microphone to combine into one or two of the at least one microphone and/or sending out a prompt signal that the main microphone is blocked.
In one possible implementation of the second aspect, the mobile terminal is a smartphone.
In one possible implementation of the second aspect, the primary microphone is located at the bottom end of the mobile terminal and the secondary microphone is located at the top end and/or the top rear of the mobile terminal.
Compared with the prior art, the microphone control method and the mobile terminal can judge whether the main microphone or the auxiliary microphone is blocked or not, and if the main microphone or the auxiliary microphone is blocked, the microphone combination for noise reduction is controlled to be switched, so that the optimal microphone noise reduction effect is achieved.
The features mentioned above can be combined in various suitable ways or replaced by equivalent features as long as the object of the invention is achieved.
Drawings
The invention will be described in more detail hereinafter on the basis of embodiments and with reference to the accompanying drawings. Wherein:
fig. 1 shows a schematic distribution of a main microphone and at least one sub-microphone of a prior art mobile terminal;
fig. 2 is a schematic view showing that a sub microphone of a rear surface of a related art mobile terminal is hidden by a finger.
Fig. 3 shows a schematic flow chart of a microphone control method of a mobile terminal according to an embodiment of the present invention;
fig. 4 shows a schematic flowchart of a microphone control method of a mobile terminal according to another embodiment of the present invention;
fig. 5 shows a block diagram of a mobile terminal according to another embodiment of the present invention.
In the drawings, like parts are provided with like reference numerals. The figures are not drawn to scale.
Detailed Description
The invention will be further explained with reference to the drawings.
Fig. 3 shows a schematic flow chart of a microphone control method provided by the present invention. As shown in fig. 3, the microphone control method includes:
s110, respectively acquiring audio data of the main microphone and the current auxiliary microphone in the communication process;
s120, periodically extracting the audio intensity information of the main microphone and the current auxiliary microphone respectively from the audio data; and
and S130, determining the audio intensity ratio of the current auxiliary microphone and the main microphone, and controlling the switching of the microphone combination according to the audio intensity ratio.
The mobile terminal referred to herein may be any device capable of mobile communication, such as a smartphone and a tablet. Here, for the purpose of explanation, a smartphone will be explained as an example hereinafter.
The smart phone generally has a main microphone and at least one auxiliary microphone, the main microphone is generally located at the bottom end of the smart phone, the auxiliary microphone can be located at the top end and/or the top back of the smart phone, and the environmental noise is reduced to a range acceptable to human ears by the combined noise reduction of the main microphone and the auxiliary microphone, which has been described in more detail above and is not described herein again. As will be appreciated by those skilled in the art, a smartphone, by default, typically employs a primary microphone and a top secondary microphone at the top of the phone for dual microphone noise reduction.
In S110, during the call, the mobile terminal creates a recording thread, and records two channels of recording data, where one channel corresponds to the sound pickup data of the main microphone, and the other channel corresponds to the sound pickup data of the top sub-microphone. It should be understood that in this process, audio pickup should be done only for the microphones that are currently performing noise reduction (i.e., the primary microphone and the top secondary microphone), while in the case of a mobile terminal that includes two secondary microphones, the other secondary microphone located at the top of the back does not perform audio pickup at this stage.
It should be appreciated that prior to this step, a function switch may be selected on the smartphone to turn on the monitoring and switching of microphone occlusion. The function switch may be an option in the call setting, including an on/off icon, a default microphone combination selection, and which microphone combination is selected for call noise reduction after the microphone is blocked.
Next, in S120, the audio intensity information of the main microphone and the top sub-microphone is extracted periodically (i.e., in a polling manner, here set at intervals of 1 second) from the audio data acquired in S110. Specifically, in different mobile phone operating systems (such as Android, IOS, and Harmony), the audio intensity information may be extracted in different manners, for example, in the Android system, the audio intensity information may be obtained by getMaxAmplitude () of a MediaRecord type method, which is a conventional means in the art and is not described herein again.
In S130, a ratio (in percentage) of the audio intensity of the top sub microphone and the audio intensity of the main microphone is determined based on the audio intensity information extracted in S120, and switching of the microphone combination for noise reduction is controlled based on a comparison of the audio intensity ratio with a preset threshold range.
Specifically, before the control method is executed, a corresponding lower threshold (in percentage form) should be set for the case where the sub microphone is occluded, and a corresponding upper threshold should be set for the case where the main microphone is occluded. For example, the specific acquisition steps for the lower threshold of the sub-microphone are as follows S1-S3:
s1, respectively acquiring audio data of the auxiliary microphone under different shielding degrees, and acquiring audio data of the main microphone under corresponding conditions; specifically, during the passing process of the mobile terminal, the mobile terminal is held in multiple modes, so that the main microphone is not shielded and the corresponding auxiliary microphone is shielded to different degrees, in these cases, a recording thread is created by the method as in S110, and multiple sets of audio data of the main microphone and the corresponding auxiliary microphone are acquired.
S2, respectively extracting the audio intensity information of the auxiliary microphone and the main microphone from the audio data, and judging the audio intensity ratio of the auxiliary microphone and the main microphone; specifically, the audio intensity values of the main microphone and the corresponding sub-microphone are extracted from each set of audio data by the method in S120, and the ratio of the audio intensity of the sub-microphone to the audio intensity of the main microphone is determined, so as to finally obtain a plurality of audio intensity ratios; and
s3, determining the minimum value from the audio intensity ratios as a lower threshold value; the minimum value should be set by the device manufacturer before shipment or by the user according to his or her own needs.
The first lower threshold associated with the top secondary microphone and the second lower threshold associated with the alternative secondary microphone described above may each be obtained at S1-S3.
Preferably, the first lower threshold and the second lower threshold are equal.
Similarly, the first upper threshold (percentage form) for the main microphone can be obtained similarly through S1-S3, and is not described herein again.
In this embodiment, the mobile terminal first monitors whether the primary microphone and the top secondary microphone are blocked as the default dual-microphone noise reduction.
Specifically, the audio intensity ratio of the top sub-microphone and the main microphone obtained in S130 is compared with a first lower threshold, and if the audio intensity ratio is less than or equal to the first lower threshold for a continuous first period of time (e.g., 5 seconds in the case of polling for 1 second in S120), it is determined that the top sub-microphone is occluded, the mobile terminal initiates switching of the microphone combination for noise reduction. Conversely, if the audio intensity ratio is greater than the first lower threshold at any time during the first time period, it indicates that the secondary microphone is in the non-occlusion state at the top end, i.e. it returns to step S110 to re-execute occlusion detection.
Alternatively, if the mobile terminal includes two secondary microphones, a top secondary microphone and an alternative secondary microphone located at the top of the back, then switching the new microphone combination to the top secondary microphone and the alternative secondary microphone.
Alternatively, if the mobile terminal includes only the top sub-microphone, the microphone for call noise reduction is switched to the separate main microphone.
Further, the above steps S110 to S130 may be repeated for a new noise reduction microphone combination composed of the top sub-microphone and the alternative sub-microphone, and occlusion detection for the alternative sub-microphone may be further performed. That is, in the second time period (in the case of polling for 1 second at S120, the second time period is, for example, 5 seconds), the audio intensity ratio of the alternative secondary microphone and the primary microphone is less than or equal to the second lower threshold, it is determined that the alternative secondary microphone is also blocked, and the mobile terminal starts to switch the microphone for noise reduction to the single primary microphone. Conversely, if the audio intensity ratio is greater than the second lower threshold at any time during the second time period, it indicates that the alternative secondary microphone is in the non-occlusion state, i.e. it returns to step S110 to re-execute occlusion detection.
In a further embodiment, whether the default primary microphone and the secondary-on-top microphone are combined for noise reduction, or the newly switched primary microphone and the alternative secondary microphone are combined for noise reduction, it can also be monitored whether the primary microphone is occluded or not.
In one aspect, in the case of a default noise reduction microphone combination of the primary microphone and the top sub-microphone, if the audio intensity ratio of the top sub-microphone and the primary microphone is greater than or equal to the first upper threshold (the acquisition manner of which has been described above) within the third time period (in the case of polling for 1 second at S120, the third time period is, for example, 5 seconds), it is determined that the primary microphone is occluded, and the mobile terminal initiates switching of the microphone combination for noise reduction. When the mobile terminal comprises two auxiliary microphones, switching to a noise reduction combination of a top auxiliary microphone and an alternative auxiliary microphone, and optionally sending out a prompt signal that the main microphone is blocked; when the mobile terminal only comprises one top end auxiliary microphone, the microphone for noise reduction is switched into a single top end auxiliary microphone, and optionally a prompt signal that the main microphone is blocked is sent out simultaneously.
On the other hand, in the case of the noise reduction microphone combination of the main microphone and the alternative secondary microphone, if the audio intensity ratio of the alternative secondary microphone and the main microphone is greater than or equal to the first upper threshold value in the third time period, it is determined that the main microphone is occluded, and on the premise that the top secondary microphone has been monitored to be occluded, the mobile terminal starts to switch the microphone for noise reduction to the individual alternative secondary microphone, optionally while emitting a prompt signal that the main microphone is occluded.
In an embodiment, the above-mentioned first time period, second time period and third time period are all determined according to the polling cycle in step S120. Preferably, the first time period, the second time period and the third time period are all equal.
FIG. 4 shows a flow diagram of a method of controlling microphone occlusion detection and switching according to another embodiment of the invention.
1) After the conversation starts, the combination of the main microphone and the top end auxiliary microphone is used for carrying out double-microphone noise reduction by default;
2) the mobile terminal creates a recording thread and records the recording data of two channels, wherein the channel 1 corresponds to the pickup data of the main microphone; the channel 2 corresponds to the pickup data of the top secondary microphone;
3) the signal strength of the recorded data of the main microphone and the top sub-microphone is acquired at intervals (i.e., in a polling manner, which is set to be every 1 second). (remark: recording data signal strength can be obtained by getMaxAmplitude () of MediaRecord class in android system layer, and the signal strength is used for measuring whether the microphone is shielded or not);
4) if the audio intensity of the top secondary microphone and the audio intensity of the main microphone are smaller than a first lower limit threshold value, a counter A corresponding to the top secondary microphone is increased from 0 to 1; if not, the counter A is cleared and the process loops to step 3.
5) If the value of the counter A is larger than 5, it is indicated that the secondary microphone at the top end is blocked for more than 5 seconds, the upper limit threshold value of the counter can be properly adjusted according to specific conditions, and after the upper limit threshold value is exceeded, the function APP sends an instruction to the bottom layer drive to switch the input path to the combination of the primary microphone and the alternative secondary microphone.
6) After the input path of the call is switched to the combination of the main microphone and the alternative auxiliary microphone, whether the alternative auxiliary microphone is blocked or not is detected in a polling mode. That is, the signal strength of the recorded data of the main microphone and the alternative sub-microphone is acquired every 1 second.
7) If the audio intensity of the alternative secondary microphone and the audio intensity of the main microphone are smaller than a second lower threshold, the counter B corresponding to the alternative secondary microphone is increased from 0 to 1; if not, the counter B is cleared and the process loops to step 6.
8) If the value of the counter B is larger than 5, the standby auxiliary microphone is shielded for more than 5 seconds, after the standby auxiliary microphone exceeds the upper limit threshold value, the top auxiliary microphone and the standby auxiliary microphone are shielded, in order to ensure the optimal noise reduction effect, the function APP sends an instruction to the bottom layer drive, the input channel is switched to the main microphone single input mode, namely the single microphone noise reduction mode is used.
Fig. 5 is a schematic block diagram of a mobile terminal 200 provided herein. The mobile terminal 200 comprises a main microphone 210, at least one sub-microphone 220, an acquisition module 230, an extraction module 240, a timer 250 and a control module 260, the steps performed and the functions performed by which have been described in detail above with respect to the control method are not described in detail here.
It should be understood that the timer 250 herein is used to measure the continuous time that the ratio of the audio intensity of the secondary microphone and the primary microphone is greater than the upper threshold or less than the lower threshold, such as the counters a and B mentioned above.
In summary, the microphone control method and the mobile terminal provided by the application can judge whether the main microphone or the auxiliary microphone is blocked or not, and control to switch the microphone combination for noise reduction if the main microphone or the auxiliary microphone is blocked, so as to achieve the optimal microphone noise reduction effect.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "bottom", "top", "front", "rear", "inner", "outer", "left", "right", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the present invention.
Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that features described in different dependent claims and herein may be combined in ways different from those described in the original claims. It is also to be understood that features described in connection with individual embodiments may be used in other described embodiments.

Claims (15)

1. A microphone control method of a mobile terminal including a main microphone and at least one sub-microphone, wherein a microphone for noise reduction is combined as the main microphone and a current sub-microphone, comprising the steps of:
step 1, respectively acquiring audio data of the main microphone and the current auxiliary microphone in a communication process;
step 2, periodically and respectively extracting the audio intensity information of the main microphone and the current auxiliary microphone from the audio data; and
and 3, determining the audio intensity ratio of the current auxiliary microphone and the main microphone, and controlling the switching of the microphone combination according to the audio intensity ratio.
2. The microphone control method according to claim 1, wherein step 3 specifically includes:
determining that the current secondary microphone is occluded if the audio intensity ratio is less than or equal to a first lower threshold value for a first time period, and
when the mobile terminal comprises two auxiliary microphones, switching the microphone combination into the main microphone and the alternative auxiliary microphone, or
When the mobile terminal includes one sub microphone, the microphone for noise reduction is switched to the main microphone alone.
3. The microphone control method according to claim 2, wherein steps 1-3 are repeated for a microphone combination consisting of the alternative secondary microphone and the primary microphone, and in a second time period, if the ratio of the audio intensity of the alternative secondary microphone and the audio intensity of the primary microphone is less than or equal to a second lower threshold, it is determined that the alternative secondary microphone is blocked, and the microphone for noise reduction is switched to the primary microphone alone.
4. The microphone control method according to claim 3, wherein the first lower threshold or the second lower threshold is determined by:
respectively acquiring audio data of the auxiliary microphone under different shielding degrees, and acquiring audio data of the main microphone under corresponding conditions;
respectively extracting the audio intensity information of the auxiliary microphone and the main microphone from the audio data, and judging the audio intensity ratio of the auxiliary microphone and the main microphone; and
a minimum value is determined from the plurality of audio intensity ratios as a lower threshold.
5. The microphone control method according to claim 4, wherein the first lower threshold and the second lower threshold are equal.
6. The microphone control method according to claim 3, wherein, in the first time period, once the audio intensity ratio is greater than a first lower threshold, returning to step 1;
and returning to the step 1 once the audio intensity ratio is greater than a second lower threshold value in the second time period.
7. The microphone control method according to claim 3, wherein step 3 specifically includes:
and in a third time period, if the audio intensity ratio is larger than or equal to a first upper limit threshold value, determining that the main microphone is blocked, switching the microphone combination into one or two of the at least one auxiliary microphone, and/or sending out a prompt signal that the main microphone is blocked.
8. The microphone control method according to claim 7, wherein in step 2, the audio intensity information of the current sub-microphone and the main microphone is extracted from the audio data every 1 second, and the first time period, the second time period, and the third time period are 5 seconds.
9. A mobile terminal for controlling a microphone by the microphone control method according to any one of claims 1 to 8, comprising:
a primary microphone and at least one secondary microphone;
the acquisition module is used for acquiring audio data of the main microphone and the current auxiliary microphone in a call process;
an extraction module for periodically extracting audio intensity information of the primary microphone and the current secondary microphone, respectively, from the audio data acquired by the acquisition module; and
and the control module is used for determining the audio intensity ratio of the current auxiliary microphone and the main microphone and controlling the switching of the microphone combination according to the audio intensity ratio.
10. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
a timer for recording when the primary or secondary microphone is occluded.
11. The mobile terminal of claim 10, wherein the control module is specifically configured to:
determining that the current secondary microphone is occluded if the audio intensity ratio is less than or equal to a first lower threshold for a first time period calculated by the timer, and
when the mobile terminal comprises two auxiliary microphones, controlling to switch the microphone combination into the main microphone and the alternative auxiliary microphone, or
When the mobile terminal comprises one auxiliary microphone, controlling to switch the microphone for noise reduction to be the independent main microphone.
12. The mobile terminal of claim 11, wherein the control module is further specifically configured to:
and (3) repeating the steps 1-3 aiming at the microphone combination consisting of the alternative secondary microphone and the primary microphone, determining that the alternative secondary microphone is blocked if the ratio of the audio intensity of the alternative secondary microphone to the audio intensity of the primary microphone is less than or equal to a second lower threshold value in a second time period calculated by the timer, and controlling to switch the microphone for noise reduction to be the independent primary microphone.
13. The mobile terminal of claim 11, wherein the control module is further specifically configured to;
and if the audio intensity ratio is larger than or equal to a first upper limit threshold value in a third time period calculated by the timer, determining that the main microphone is blocked, and controlling the switching microphone to combine the current auxiliary microphone and the alternative auxiliary microphone and/or sending out a prompt signal that the main microphone is blocked.
14. The mobile terminal according to any of claims 9 to 13, wherein the mobile terminal is a smartphone or a tablet.
15. The mobile terminal according to any of claims 9 to 13, wherein the primary microphone is located at a bottom end of the mobile terminal and the secondary microphone is located at a top end and/or a top rear of the mobile terminal.
CN202011285514.8A 2020-11-17 2020-11-17 Microphone control method of mobile terminal and mobile terminal Pending CN112449040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011285514.8A CN112449040A (en) 2020-11-17 2020-11-17 Microphone control method of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011285514.8A CN112449040A (en) 2020-11-17 2020-11-17 Microphone control method of mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
CN112449040A true CN112449040A (en) 2021-03-05

Family

ID=74738575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011285514.8A Pending CN112449040A (en) 2020-11-17 2020-11-17 Microphone control method of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN112449040A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115842978A (en) * 2022-12-05 2023-03-24 歌尔股份有限公司 Control terminal and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716438A (en) * 2012-09-28 2014-04-09 联想移动通信科技有限公司 Noise reduction method, device and mobile terminal
CN103929707A (en) * 2014-04-08 2014-07-16 深圳市中兴移动通信有限公司 Method for detecting conditions of microphone voice-grade channels and terminal
WO2015184828A1 (en) * 2014-10-20 2015-12-10 中兴通讯股份有限公司 Terminal having plurality of mics, mic setting method therefor and sound quality enhancement method
CN105323363A (en) * 2014-06-30 2016-02-10 中兴通讯股份有限公司 Method and device for selecting main microphones
CN106303804A (en) * 2016-07-28 2017-01-04 维沃移动通信有限公司 The control method of a kind of mike and mobile terminal
CN106331359A (en) * 2016-08-31 2017-01-11 广东欧珀移动通信有限公司 A voice signal collection method, device and terminal
CN106911996A (en) * 2017-03-03 2017-06-30 广东欧珀移动通信有限公司 Microphone state detection method, device and terminal equipment
CN107566953A (en) * 2016-12-12 2018-01-09 北京数科技有限公司 The switching method and device of dual microphone
US20190115039A1 (en) * 2017-10-13 2019-04-18 Huawei Technologies Co., Ltd. Speech processing method and terminal
CN111565252A (en) * 2020-04-30 2020-08-21 展讯通信(深圳)有限公司 Mobile terminal and call control method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716438A (en) * 2012-09-28 2014-04-09 联想移动通信科技有限公司 Noise reduction method, device and mobile terminal
CN103929707A (en) * 2014-04-08 2014-07-16 深圳市中兴移动通信有限公司 Method for detecting conditions of microphone voice-grade channels and terminal
CN105323363A (en) * 2014-06-30 2016-02-10 中兴通讯股份有限公司 Method and device for selecting main microphones
WO2015184828A1 (en) * 2014-10-20 2015-12-10 中兴通讯股份有限公司 Terminal having plurality of mics, mic setting method therefor and sound quality enhancement method
CN106303804A (en) * 2016-07-28 2017-01-04 维沃移动通信有限公司 The control method of a kind of mike and mobile terminal
CN106331359A (en) * 2016-08-31 2017-01-11 广东欧珀移动通信有限公司 A voice signal collection method, device and terminal
CN107566953A (en) * 2016-12-12 2018-01-09 北京数科技有限公司 The switching method and device of dual microphone
CN106911996A (en) * 2017-03-03 2017-06-30 广东欧珀移动通信有限公司 Microphone state detection method, device and terminal equipment
US20190115039A1 (en) * 2017-10-13 2019-04-18 Huawei Technologies Co., Ltd. Speech processing method and terminal
CN111565252A (en) * 2020-04-30 2020-08-21 展讯通信(深圳)有限公司 Mobile terminal and call control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115842978A (en) * 2022-12-05 2023-03-24 歌尔股份有限公司 Control terminal and electronic equipment

Similar Documents

Publication Publication Date Title
EP3163748B1 (en) Method, device and terminal for adjusting volume
US12047760B2 (en) Bluetooth communication method and apparatus
CN110022487B (en) Volume adjusting method and device
EP3823311B1 (en) Microphone hole blockage detection method and related product
CN105472126B (en) Call privacy control method and device and mobile terminal
KR100844334B1 (en) Display control device and method of mobile communication terminal
WO2013170522A1 (en) Ringtone adjustment and processing method and device
US11166113B2 (en) Method for operating a hearing system and hearing system comprising two hearing devices
CN105794186A (en) Method, device and electronic device for controlling application program
CN106095401A (en) Informing message treatment method and device
CN109743652B (en) Headset control method, headset, and computer-readable storage medium
CN112787745B (en) Wireless communication method, device, electronic equipment and storage medium
CN105704317A (en) Antenna parameter adjustment method and apparatus, and electronic device
CN108900951A (en) Volume adjusting method, earphone and computer readable storage medium
CN108566221B (en) Call control method and related equipment
CN104636110A (en) Method and device for controlling volume
CN105282867B (en) Method for connecting network and device
JP2001054085A (en) Mobile terminal device
CN112449040A (en) Microphone control method of mobile terminal and mobile terminal
KR100833106B1 (en) Mobile communication terminal and its operation method
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
CN109040448A (en) A kind of control method and electronic equipment
CN114554006A (en) Method, device, equipment and storage medium for switching call answering modes
CN114845203B (en) Playing control method, device and equipment of capacitive earphone and storage medium
CN104822023A (en) Method and system for providing video through earphones

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210305