Intelligent sound collection equipment gain control method and device based on user use state

By obtaining environmental data in intelligent sound acquisition equipment, judging target characteristics and dynamically adjusting microphone gain value, the whistling problem is solved, and flexible response to complex environments and improved audio quality is achieved.

CN118972726APending Publication Date: 2024-11-15JIANGXI TAIDE INTELLIGENCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411020567.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Intelligent sound recording equipment is prone to howling problems occur during use. Traditional gain adjustment methods are difficult to respond flexibly in complex environments, making it difficult to fundamentally solve the howling problems.

Method used

By obtaining the environment data in the microphone sound recording area, we can judge whether the target feature data exists, dynamically adjust the gain value of the microphone, and adjust the gain value in real time according to the distance between the user and the microphone and the presence of the speaker speaker to reduce the possibility of howling.

Benefits of technology

It realizes flexible adjustment of microphone gain value, automatically adapts to environmental changes, reduces the occurrence of whistling, improves audio quality and convenience of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972726A_ABST
    Figure CN118972726A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sound collection equipment, and discloses an intelligent sound collection equipment gain control method and device based on a user use state. The method comprises the steps that environmental data in a sound collection area of a microphone is acquired, and the sound collection area is preset; whether target feature data exists in the environment data or not is judged, and the target feature data is preset; if it is judged that the target feature data does not exist in the environment data, the current gain value of the microphone is adjusted to a low gain value, the low gain value corresponds to a low gain state, and when the microphone is in the low gain state, it is judged that the user does not use the microphone at present. In the embodiment of the invention, through real-time detection and analysis, the gain value of the microphone can be flexibly adjusted according to the current environment. Without manual intervention, the distance change of the distance to the sound box can be automatically adapted. When the microphone is close to the sound box and the sound box is playing music, the possibility of howling can be effectively reduced by reducing the gain value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sound collection equipment, and in particular to a method and device for controlling gain of intelligent sound collection equipment based on user usage status. Background Art

[0002] With the widespread use of intelligent sound collection equipment (such as microphone arrays that integrate advanced audio processing algorithms or microphones with adaptive noise reduction functions), the complexity and performance requirements of audio systems are increasing. However, the howling phenomenon between microphones and speakers is still a thorny problem. When the microphone is turned on after being separated from the speaker, its built-in initial gain is activated. If the microphone is close to the speaker at this time and the sound collection end is aimed at the speaker, the music signal output by the speaker will be captured and amplified with high sensitivity, forming a positive feedback loop, which can easily induce howling. During use, when a handheld microphone is close to a speaker playing music, whether the microphone sound collection end is facing or sideways to the speaker, the risk of howling may increase due to the enhancement of the direct or reflected path of the sound wave.

[0003] The traditional method is to adjust the gain based on the volume value of the sound signal played by the speaker, trying to avoid the occurrence of howling by reducing the gain. However, this method is powerless in complex and changeable environments. For example, a single gain adjustment strategy is difficult to flexibly cope with different acoustic conditions, resulting in the difficulty in fundamentally solving the howling problem. Therefore, a new technology is needed to solve the above technical problems. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem of low flexibility of the gain control method of intelligent sound collection equipment.

[0005] A first aspect of the present invention provides a method for controlling the gain of an intelligent sound collection device based on a usage status, the method comprising:

[0006] Acquiring environmental data within a sound collection area of ​​the microphone, wherein the sound collection area is preset;

[0007] Determining whether there is target characteristic data in the environmental data, wherein the target characteristic data is preset;

[0008] If it is determined that the target feature data does not exist in the environmental data, the current gain value of the microphone is adjusted to a low gain value, and the low gain value corresponds to a low gain state. When the microphone is in the low gain state, it is determined that the user is not currently using the microphone.

[0009] Optionally, in a first implementation manner of the first aspect of the present invention, after the step of determining whether target feature data exists in the environmental data, the method further includes:

[0010] If it is determined that the target feature data exists in the environmental data, the current gain value of the microphone is adjusted to a normal gain value, the normal gain value corresponds to a normal gain state, and the normal gain value is greater than the low gain value. When the microphone is in the normal gain state, it is determined that the user is currently using the microphone.

[0011] Optionally, in a second implementation of the first aspect of the present invention, if it is determined that the target feature data exists in the environmental data, the step of adjusting the current gain value of the microphone to a normal gain value includes:

[0012] If it is determined that the target characteristic data exists in the environmental data, determining whether there is speaker characteristic data corresponding to the speaker in the environmental data;

[0013] If it is determined that the speaker characteristic data exists in the environmental data, the current gain value of the microphone is adjusted to a low gain value.

[0014] If it is determined that the speaker characteristic data does not exist in the environmental data, the current gain value of the microphone is adjusted to the normal gain value.

[0015] Optionally, in a third implementation of the first aspect of the present invention, after the step of adjusting the current gain value of the microphone to a normal gain value if it is determined that the target feature data exists in the environmental data, the method further includes:

[0016] The microphone is controlled to pick up sound to obtain an actual volume value, and the normal gain value is adjusted according to the actual volume value.

[0017] Optionally, in a fourth implementation manner of the first aspect of the present invention, the step of adjusting the low gain value according to the actual volume value includes:

[0018] Determining a numerical relationship between the actual volume value and a preset volume value;

[0019] If the actual volume value is greater than the preset volume value, reducing the low gain value;

[0020] If the actual volume value is less than the preset volume value, reducing the low gain value;

[0021] If the actual volume value is equal to the preset volume value, it is determined that a control cycle is completed.

[0022] Optionally, in a fifth implementation of the first aspect of the present invention, if it is determined that the target feature data exists in the environmental data, the step of adjusting the current gain value of the microphone to a low gain value includes:

[0023] If it is determined that the target feature data exists in the environmental data, determining the distance between the user and the microphone according to the target feature data;

[0024] If the distance is less than or equal to the preset distance, the current gain value of the microphone is adjusted to a low gain value.

[0025] Optionally, in a sixth implementation manner of the first aspect of the present invention, the step of determining the distance between the user and the microphone according to the target feature data includes:

[0026] Acquire an image area corresponding to the target feature data in the environmental data;

[0027] According to the definition of the image area, a distance value corresponding to the definition is searched in a pre-examination mapping table of distance and definition to obtain the distance between the user and the microphone.

[0028] A second aspect of the present invention provides a microphone gain control device based on usage status, comprising:

[0029] An acquisition module, used to acquire environmental data within a sound collection area of ​​the microphone, wherein the sound collection area is preset;

[0030] A judgment module, used for judging whether there is target characteristic data in the environmental data, wherein the target characteristic data is preset;

[0031] The adjustment module is used to adjust the current gain value of the microphone to a low gain value if it is determined that the target feature data does not exist in the environmental data, and the low gain value corresponds to a low gain state, wherein when the microphone is in the low gain state, it is determined that the user is not currently using the microphone.

[0032] The third aspect of the present invention provides a microphone gain control device based on usage status, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; the at least one processor calls the instructions in the memory so that the microphone gain control device based on usage status executes the above-mentioned intelligent sound collection device gain control method based on usage status.

[0033] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for controlling gain of an intelligent sound collection device based on usage status.

[0034] In an embodiment of the present invention, environmental data within the sound collection area of ​​the microphone is obtained, wherein the sound collection area is preset; it is determined whether target feature data exists in the environmental data, wherein the target feature data is preset; if it is determined that the target feature data does not exist in the environmental data, the current gain value of the microphone is adjusted to a low gain value, wherein the low gain value corresponds to a low gain state, wherein when the microphone is in the low gain state, it is determined that the user is not currently using the microphone. The microphone gain control device based on the usage status can flexibly adjust the gain value of the microphone according to the current environment through real-time detection and analysis. It can automatically adapt to changes in the distance from the speaker without manual intervention. When the microphone is close to the speaker and the speaker is playing music, the possibility of howling can be effectively reduced by reducing the gain value. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of an embodiment of a method for controlling gain of an intelligent sound collection device based on usage status in an embodiment of the present invention;

[0036] Figure 2 1 is a schematic diagram of a specific embodiment of step 103 of the method for controlling gain of an intelligent sound collection device based on usage status in an embodiment of the present invention;

[0037] Figure 3 1 is a schematic diagram of a specific embodiment of step 1031 of the method for controlling gain of an intelligent sound collection device based on usage status in an embodiment of the present invention;

[0038] Figure 4 Schematic diagram of an embodiment of a microphone gain control device based on usage status in an embodiment of the present invention;

[0039] Figure 5 The figure is a schematic diagram of an embodiment of a microphone gain control device based on usage status in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The embodiment of the present invention provides a method and device for controlling the gain of an intelligent sound collection device based on the user's usage status.

[0041] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.

[0042] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0043] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the intelligent sound collection device gain control method based on the usage status in the embodiment of the present invention includes:

[0044] 101. Acquire environmental data within a sound collection area of ​​a microphone, wherein the sound collection area is preset;

[0045] The gain control method of intelligent sound collection equipment based on usage status is used to adjust the strength of the sound signal received by the microphone. Gain control can affect the volume of the microphone output to adapt to different usage scenarios or environments. The professional terms involved in the method include but are not limited to:

[0046] Pickup area: The pre-set main working range of the microphone.

[0047] Environmental data: The sound, image or other data captured by sensors around the microphone. Used to analyze the user's status, environmental characteristics, etc.

[0048] Target feature data: Feature data pre-set in the environment data and used to determine whether the user is using the microphone or the environment status. It can be facial features in the image, specific sound features, etc.

[0049] Gain value: A value that indicates the strength of the sound signal amplified by the microphone. The higher the gain value, the louder the sound volume output by the microphone; conversely, the lower the gain value, the lower the output volume.

[0050] Low gain state / normal gain state: two different states of microphone operation, corresponding to lower gain value and normal gain value respectively. Low gain state is usually used when the user is not using the microphone to reduce background noise; normal gain state is used when the user is using the microphone normally.

[0051] In addition, the low gain state also includes that the gain value of the microphone is extremely low and close to 0, or is in a 0 gain value state. When in the 0 gain value state, the microphone is turned off.

[0052] Speaker characteristic data corresponding to the speaker: data related to the sound or image characteristics emitted by the speaker in the environmental data. It is used to determine whether there is a speaker in the environment and adjust the gain value of the microphone accordingly.

[0053] Actual volume value: The volume of the sound signal actually picked up by the microphone. It is used to further adjust the gain value of the microphone to achieve the best sound pickup effect.

[0054] Preset volume value: A preset volume reference value. It is used to compare with the actual volume value to determine whether the microphone gain value needs to be adjusted.

[0055] Control Cycle: The time or steps required for a microphone gain control device to perform one complete gain adjustment process. After a control cycle is completed, the environmental data is re-evaluated and the gain value is adjusted as needed.

[0056] In this embodiment, the environmental data in the microphone sound collection area is obtained through the sensor on the microphone or the camera. The environmental data may include sound data, image data, etc. The sensor includes but is not limited to ultrasonic ranging sensor, millimeter wave radar sensor, infrared detection sensor, TOF single point / multi-point detection sensor, image acquisition sensor.

[0057] Specifically, the detection technology is preferably image detection, specifically using an image acquisition sensor - a micro camera: first, perform image detection on a user using a microphone through the image sensor; locate the user's mouth image based on the detected image; calculate the distance between the mouth and the microphone based on the clarity of the mouth image; and then adjust the gain based on the distance.

[0058] Optionally, at least two ultrasonic ranging sensors, millimeter wave radar sensors, and infrared detection sensors are provided on the microphone to detect the shape of the user's mouth, thereby achieving accurate ranging.

[0059] Optionally, use a single sensor's multi-point detection method to detect environmental data: TOF multi-point detection sensor, FMCW microwave sensor, so as to achieve detection of the entire mouth shape, which is more accurate than a single point and lower cost than multiple sensors.

[0060] 102. Determine whether there is target feature data in the environmental data, wherein the target feature data is preset;

[0061] Specifically, the collected environmental data is analyzed to determine whether there is pre-set target feature data therein.

[0062] Optionally, the target feature data includes one or more of mouth feature data, nose feature data, face feature data, eye feature data and ear feature data.

[0063] 103. If it is determined that the target feature data does not exist in the environmental data, adjust the current gain value of the microphone to a low gain value, wherein the low gain value corresponds to a low gain state, wherein when the microphone is in the low gain state, it is determined that the user is not currently using the microphone.

[0064] Specifically, if the target feature data is not detected in the environmental data, the current gain value of the microphone is adjusted to a low gain value to save energy and reduce noise interference. The low gain value is a preset low microphone sensitivity value, and it is considered that the user is not using the microphone at this time.

[0065] Specifically, a sensor is added to the microphone to detect the distance between the microphone and the user's mouth. When the user's mouth is not detected, it means that the microphone is not in use. For example, if the microphone has just been taken out and is held close to the speaker to operate the speaker, the gain of the microphone is controlled to be adjusted to a smaller gain, thereby reducing the probability of howling.

[0066] Optionally, the distance data between the user's mouth and the microphone is detected by detecting the image data of the mouth / using multi-point TOF; when the mouth is detected, it is not directly adjusted to the normal gain state, but further judged whether the user's mouth and the microphone are within a certain distance range. When it is judged that they are within the distance range, it is determined that the microphone and the mouth are relatively close, and the user has the need to use the microphone, and then the gain is adjusted to the normal gain state. The above-mentioned certain distance range can be the distance range between the mouth and the microphone when the user uses the microphone normally. The maximum value can be the distance between the microphone and the user's mouth when the user holds the microphone and stretches out his arm. If it exceeds the maximum value, it can be set to judge that the microphone is not used, so the microphone still has a small gain at this time. At this time, if the speaker plays music / does not play music at the same time, because the microphone gain is small, the background noise is reduced and the sound effect is improved; a certain distance range and maximum and minimum values ​​are actually set by collecting more user models and setting different maximum values ​​for different groups to achieve a larger range and cover as many user groups as possible.

[0067] Furthermore, considering that the user holds the microphone toward the mouth and operates it close to the speaker, at this time, because the microphone is facing the mouth, it is less likely to be facing the mouth and the speaker at the same time, and howling is less likely to occur at this time; when the user holds the microphone close to the speaker, the mouth is detected at this time, but at the same time, the microphone is close to the speaker, and howling may also occur. Therefore, a judgment step is added: when it is judged that the mouth is detected and the speaker is detected, it is determined that the user's mouth and the speaker are both in the microphone's sound collection area. If the speaker plays music / the user speaks, and the user's voice is played through the speaker, howling will inevitably occur; therefore, at this time, the microphone is still controlled to adjust to a smaller gain; thereby achieving the function of preventing howling when holding the microphone close to the speaker to operate the speaker.

[0068] Optional, see Figure 2 , Figure 2 1 is a schematic diagram of a specific embodiment of step 103 of the method for controlling gain of an intelligent sound collection device based on usage status in an embodiment of the present invention. Step 103 also includes the following specific implementation methods:

[0069] 1031. If it is determined that the target feature data exists in the environmental data, determine the distance between the user and the microphone according to the target feature data;

[0070] 1032. If the distance is less than or equal to a preset distance, adjust the current gain value of the microphone to a low gain value.

[0071] The collected environmental data is analyzed to determine whether there is pre-set target feature data. If the target feature data is detected in the environmental data, the current gain value of the microphone is adjusted to a normal gain value. The normal gain value is a pre-set higher microphone sensitivity value, at which time it is considered that the user is using the microphone.

[0072] In steps 1031-1032, the gain value of the microphone can be controlled more accurately. When the user is close to the microphone, the gain value is adjusted to a low gain value to avoid excessive volume and sound distortion; when the user is far away from the microphone, the normal gain value can be maintained or the gain value can be further adjusted to ensure clear sound. This optional embodiment enables the microphone to dynamically adapt to different usage scenarios and user behaviors. For example, when the user speaks close to the microphone, the gain value is automatically reduced; when the user is away from the microphone, the gain value is maintained or adjusted. The flexibility of the microphone is improved.

[0073] Optional, see Figure 3 , Figure 3 1 is a schematic diagram of a specific embodiment of step 1031 of the method for controlling gain of an intelligent sound collection device based on usage status in an embodiment of the present invention. Step 1031 also includes the following specific implementations:

[0074] 10311. Obtain an image area corresponding to the target feature data in the environment data;

[0075] 10312. According to the clarity of the image area, query a distance value corresponding to the clarity in a preliminary mapping table of distance and clarity to obtain the distance between the user and the microphone.

[0076] Among them, the clarity of the image captured by an image sensor fixed at a fixed position on the microphone at different distances from the user's mouth is different, so the image data of the current image sensor at different distances from the captured object is stored in advance, and then clarity values ​​reflecting the clarity are generated according to the collected multiple image data. At this time, a clarity value represents the distance between the microphone and the user's mouth. Therefore, when the user's mouth image is captured in real time later, the distance can be determined.

[0077] In steps 10311-10312, different angles and different distances may lead to different clarity. Therefore, for accurate comparison and control, more distances can be collected in advance, and data can be collected and calculated for different microphone holding states, that is, different angles of the microphone facing the user's mouth. Furthermore, for greater accuracy, the correspondence between the clarity value and the distance can be set as: clarity distance value range and distance value range, that is, different clarity value ranges correspond to different distance ranges, thereby reducing computing power requirements and R&D costs.

[0078] Optionally, step 102 may further include the following specific implementations:

[0079] 201. If it is determined that the target feature data exists in the environmental data, the current gain value of the microphone is adjusted to a normal gain value, the normal gain value corresponds to a normal gain state, and the normal gain value is greater than the low gain value, wherein when the microphone is in the normal gain state, it is determined that the user is currently using the microphone.

[0080] In step 201, by automatically detecting whether the user is using the microphone, the gain value of the microphone can be dynamically adjusted, thereby reducing the need for the user to manually adjust the microphone gain and improving the convenience of using the microphone.

[0081] Optionally, step 201 also includes the following specific implementations:

[0082] 2011. If it is determined that the target characteristic data exists in the environmental data, determine whether the speaker characteristic data corresponding to the speaker in the environmental data exists;

[0083] 2012. If it is determined that the speaker characteristic data exists in the environmental data, adjust the current gain value of the microphone to a low gain value;

[0084] 2013. If it is determined that the speaker characteristic data does not exist in the environmental data, adjust the current gain value of the microphone to the normal gain value.

[0085] In steps 2011-2013, the microphone can be effectively prevented from being disturbed by the echo caused by the sound emitted by the speaker. When the speaker characteristic data is detected, the gain value of the microphone is adjusted to a low gain value to reduce the sound emitted by the speaker being picked up by the microphone, thereby improving the audio quality. The gain value of the microphone can also be intelligently adjusted according to different environmental data. When the target characteristic data exists in the environmental data but the speaker characteristic data does not exist, the gain value is adjusted to a normal gain value to ensure that the microphone can clearly capture the user's voice. Dynamic adjustment makes the use of the microphone more intelligent.

[0086] Optionally, step 201 may further include the following specific implementations:

[0087] 202. Control the microphone to pick up sound, obtain an actual volume value, and adjust the normal gain value according to the actual volume value.

[0088] In step 202, the gain value is adjusted according to the actual volume value, so that the microphone can always maintain an optimal volume level during use, avoiding distortion or sound quality problems caused by excessively high or low volume, thereby improving the overall audio quality.

[0089] Optionally, step 202 also includes the following specific implementations:

[0090] 2021. Determine a numerical relationship between the actual volume value and the preset volume value;

[0091] 2022. If the actual volume value is greater than the preset volume value, reduce the low gain value;

[0092] 2023. If the actual volume value is less than the preset volume value, reduce the low gain value;

[0093] 2024. If the actual volume value is equal to the preset volume value, it is determined that one control cycle is completed.

[0094] In steps 21-24, by comparing the actual volume value with the preset volume value, the low gain value can be accurately adjusted. Dynamically adjusting the low gain value according to the change of the actual volume value can enable the microphone to adaptively adjust its gain value under different usage states, thereby ensuring that the ambient noise is minimized when the user is not using the microphone.

[0095] In an embodiment of the present invention, environmental data within the sound collection area of ​​the microphone is obtained, wherein the sound collection area is pre-set; it is determined whether target feature data exists in the environmental data, wherein the target feature data is pre-set; if it is determined that the target feature data does not exist in the environmental data, the current gain value of the microphone is adjusted to a low gain value, wherein the low gain value corresponds to a low gain state, wherein when the microphone is in the low gain state, it is determined that the user is not currently using the microphone. The microphone gain control device based on the usage status can flexibly adjust the gain value of the microphone according to the current environment through real-time detection and analysis. It can automatically adapt to changes in the distance from the speaker without manual intervention. When the microphone is close to the speaker and the speaker is playing music, the possibility of howling can be effectively reduced by reducing the gain value.

[0096] The above describes the intelligent sound collection device gain control method based on the usage status in the embodiment of the present invention. The following describes the microphone gain control device based on the usage status in the embodiment of the present invention. Figure 4 In one embodiment of the present invention, a microphone gain control device based on usage status includes:

[0097] An acquisition module 401 is used to acquire environmental data in a sound collection area of ​​a microphone, wherein the sound collection area is preset;

[0098] A judgment module 402 is used to judge whether there is target characteristic data in the environmental data, wherein the target characteristic data is preset;

[0099] The adjustment module 403 is used to adjust the current gain value of the microphone to a low gain value if it is determined that the target feature data does not exist in the environmental data, and the low gain value corresponds to a low gain state. When the microphone is in the low gain state, it is determined that the user is not currently using the microphone.

[0100] Optionally, the adjustment module 403 may also be specifically configured to:

[0101] If it is determined that the target feature data exists in the environmental data, the current gain value of the microphone is adjusted to a normal gain value, the normal gain value corresponds to a normal gain state, and the normal gain value is greater than the low gain value. When the microphone is in the normal gain state, it is determined that the user is currently using the microphone.

[0102] Optionally, the adjustment module 403 may also be specifically configured to:

[0103] If it is determined that the target characteristic data exists in the environmental data, determining whether there is speaker characteristic data corresponding to the speaker in the environmental data;

[0104] If it is determined that the speaker characteristic data exists in the environmental data, adjusting the current gain value of the microphone to a low gain value;

[0105] If it is determined that the speaker characteristic data does not exist in the environmental data, the current gain value of the microphone is adjusted to the normal gain value.

[0106] Optionally, the adjustment module 403 may also be specifically configured to:

[0107] The microphone is controlled to pick up sound to obtain an actual volume value, and the normal gain value is adjusted according to the actual volume value.

[0108] Optionally, the adjustment module 403 may also be specifically configured to:

[0109] Determining a numerical relationship between the actual volume value and a preset volume value;

[0110] If the actual volume value is greater than the preset volume value, reducing the low gain value;

[0111] If the actual volume value is less than the preset volume value, reducing the low gain value;

[0112] If the actual volume value is equal to the preset volume value, it is determined that a control cycle is completed.

[0113] Optionally, the adjustment module 403 may also be specifically configured to:

[0114] If it is determined that the target feature data exists in the environmental data, determining the distance between the user and the microphone according to the target feature data;

[0115] If the distance is less than or equal to the preset distance, the current gain value of the microphone is adjusted to a low gain value.

[0116] In an embodiment of the present invention, environmental data within the sound collection area of ​​the microphone is obtained, wherein the sound collection area is pre-set; it is determined whether target feature data exists in the environmental data, wherein the target feature data is pre-set; if it is determined that the target feature data does not exist in the environmental data, the current gain value of the microphone is adjusted to a low gain value, wherein the low gain value corresponds to a low gain state, wherein when the microphone is in the low gain state, it is determined that the user is not currently using the microphone. The microphone gain control device based on the usage status can flexibly adjust the gain value of the microphone according to the current environment through real-time detection and analysis. It can automatically adapt to changes in the distance from the speaker without manual intervention. When the microphone is close to the speaker and the speaker is playing music, the possibility of howling can be effectively reduced by reducing the gain value.

[0117] Figure 5 1 is a schematic diagram of the structure of a microphone gain control device based on the usage status provided by an embodiment of the present invention. The microphone gain control device 500 based on the usage status may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the microphone gain control device 500 based on the usage status. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the microphone gain control device 500 based on the usage status.

[0118] The microphone gain control device 500 based on the usage status may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. It can be understood by those skilled in the art that Figure 5 The structure of the microphone gain control device based on usage status shown does not constitute a limitation of the microphone gain control device based on usage status, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0119] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the method for controlling the gain of an intelligent sound collection device based on usage status.

[0120] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0121] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0122] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for controlling gain of intelligent sound collection equipment based on usage status, characterized in that: The intelligent sound collection equipment gain control method based on the usage status includes: Acquiring environmental data within a sound collection area of ​​the microphone, wherein the sound collection area is preset; Determining whether there is target characteristic data in the environmental data, wherein the target characteristic data is preset; If it is determined that the target feature data does not exist in the environmental data, the current gain value of the microphone is adjusted to a low gain value, and the low gain value corresponds to a low gain state. When the microphone is in the low gain state, it is determined that the user is not currently using the microphone.

2. The method for controlling gain of intelligent sound collection equipment based on usage status according to claim 1, characterized in that: After the step of determining whether target feature data exists in the environmental data, the method further includes: If it is determined that the target feature data exists in the environmental data, the current gain value of the microphone is adjusted to a normal gain value, the normal gain value corresponds to a normal gain state, and the normal gain value is greater than the low gain value. When the microphone is in the normal gain state, it is determined that the user is currently using the microphone.

3. The method for controlling gain of intelligent sound collection equipment based on usage status according to claim 2, characterized in that: If it is determined that the target feature data exists in the environmental data, the step of adjusting the current gain value of the microphone to a normal gain value comprises: If it is determined that the target characteristic data exists in the environmental data, determining whether there is speaker characteristic data corresponding to the speaker in the environmental data; If it is determined that the speaker characteristic data exists in the environmental data, adjusting the current gain value of the microphone to a low gain value; If it is determined that the speaker characteristic data does not exist in the environmental data, the current gain value of the microphone is adjusted to the normal gain value.

4. The method for controlling gain of intelligent sound collection equipment based on usage status according to claim 2, characterized in that: After the step of adjusting the current gain value of the microphone to a normal gain value if it is determined that the target feature data exists in the environmental data, the method further includes: The microphone is controlled to pick up sound to obtain an actual volume value, and the normal gain value is adjusted according to the actual volume value.

5. The method for controlling gain of intelligent sound collection equipment based on usage status according to claim 4, characterized in that: The step of adjusting the low gain value according to the actual volume value comprises: Determining a numerical relationship between the actual volume value and a preset volume value; If the actual volume value is greater than the preset volume value, reducing the low gain value; If the actual volume value is less than the preset volume value, reducing the low gain value; If the actual volume value is equal to the preset volume value, it is determined that a control cycle is completed.

6. The method for controlling gain of intelligent sound collection equipment based on usage status according to claim 1, characterized in that: If it is determined that the target feature data exists in the environmental data, the step of adjusting the current gain value of the microphone to a low gain value comprises: If it is determined that the target feature data exists in the environmental data, determining the distance between the user and the microphone according to the target feature data; If the distance is less than or equal to the preset distance, the current gain value of the microphone is adjusted to a low gain value.

7. The method for controlling gain of intelligent sound collection equipment based on usage status according to claim 6, characterized in that: The step of determining the distance between the user and the microphone according to the target feature data comprises: Acquire an image area corresponding to the target feature data in the environmental data; According to the definition of the image area, a distance value corresponding to the definition is searched in a pre-examination mapping table of distance and definition to obtain the distance between the user and the microphone.

8. A microphone gain control device based on usage status, characterized in that: include: An acquisition module, used to acquire environmental data within a sound collection area of ​​the microphone, wherein the sound collection area is preset; A judgment module, used for judging whether there is target characteristic data in the environmental data, wherein the target characteristic data is preset; The adjustment module is used to adjust the current gain value of the microphone to a low gain value if it is determined that the target feature data does not exist in the environmental data, and the low gain value corresponds to a low gain state, wherein when the microphone is in the low gain state, it is determined that the user is not currently using the microphone.