Method and device for processing sound information

By classifying and attenuating the sound information of the sound pickup device in a multi-sound source environment, the noise is suppressed, thereby solving the problem of large noise in a multi-sound source environment in the prior art, and improving the sound signal quality.

CN112735455BActive Publication Date: 2024-08-27ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911032616.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-28
Publication Date
2024-08-27
Estimated Expiration
2039-10-28

AI Technical Summary

Technical Problem

In the existing technology, due to the existence of noise sources in a multi-sound source environment, the output sound is noisy, and there is a lack of effective solutions.

Method used

By obtaining the sound information in the sound pickup device array, classifying it, determining the first type of sound information interfered by the specified noise and the second type of sound information not interfered by the specified noise, and attenuating or setting the first type of sound information to Zero, only mixes with the second type of sound information, thereby suppressing noise.

Benefits of technology

It effectively reduces the impact of noise in a multi-sound source environment, improves the quality of sound signals, and solves the problem of larger noise in the output sound.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112735455B
    Figure CN112735455B
Patent Text Reader

Abstract

The present invention discloses a method and device for processing sound information. The method comprises: obtaining sound information collected by multiple sound pickup devices in a sound pickup device array; classifying the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: a first type of sound information interfered by a specified noise and a second type of sound information not interfered by the specified noise; according to the classification result, the first type of sound information is attenuated and then mixed with the second type of sound information. The present invention solves the technical problem in the prior art that the output sound has a large noise due to the inclusion of a noise source in multiple sound sources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sound processing, and in particular to a method and device for processing sound information. Background Art

[0002] Figure 1a The main microphone for sound pickup of a desktop microphone array of an audio and video system is shown. The main microphone base has four directional microphones, and a touch screen used for conference control is located above the base. Figure 1b This is a schematic diagram of an extended microphone ( Figure 1c yes Figure 1b The internal structure of the mic is 3 centralized directional microphones. In a small conference room (about 10 square meters), the main microphone can meet the requirements of sound pickup quality. In a medium-sized conference room (about 30 square meters), the main microphone is connected to an expansion microphone to meet the high-quality sound pickup requirements. In a large conference room (about 100 square meters), an expansion microphone is connected to the left and right of the main microphone, so there may be 10 microphone units on the desktop. Figure 1d It shows that in each extended microphone, three virtual directional microphones (4, 5, 6) are constructed by the algorithm using three centralized physical microphones (1, 2, 3). Therefore, including the virtual microphones, there are a maximum of 16 microphones on the desktop. The working principle of microphone array sound pickup is: when there is only one person speaking in the meeting room, the algorithm will find the microphone with the highest SNR (Signal to Noise Ratio) based on SNR, and use the microphone signal with the highest SNR as the system output.

[0003] However, when there are multiple sound sources in a conference room, in addition to the sound information that needs to be picked up (such as the voice information of the conference speaker), the multiple sound sources may also include the noise generated in the conference scene, thus affecting the output effect of the system. Figure 1e As shown, when the speaker is speaking, multiple participants type on the keyboard to record the speech, thereby generating a certain amount of noise, which will also be picked up by the microphone.

[0004] In the prior art, there is no effective solution to the problem that the output sound has high noise due to the inclusion of noise sources in multiple sound sources. Summary of the invention

[0005] The embodiments of the present invention provide a method and device for processing sound information, so as to at least solve the technical problem in the prior art that the output sound has high noise due to multiple sound sources including noise sources.

[0006] According to one aspect of an embodiment of the present invention, a method for processing sound information is provided, comprising: acquiring sound information collected by multiple sound pickup devices in a sound pickup device array; classifying the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result comprises: first-category sound information interfered by designated noise and second-category sound information not interfered by designated noise; and according to the classification result, attenuating the first-category sound information and mixing it with the second-category sound information.

[0007] Further, multiple sound pickup devices are determined, wherein the multiple sound pickup devices at least include: a sound pickup device with the highest signal-to-noise ratio of the sound signal collected in the sound pickup device array and a sound pickup device with the largest signal amplitude of the sound information collected in the sound pickup device array; and the sound information collected by the multiple sound pickup devices is obtained.

[0008] Furthermore, the sound information of the first time period is intercepted to obtain a first sound segment; based on the frequency domain signal of the first sound segment, the number of main frequency points in the first sound segment is obtained, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and the first sound segment in the sound information collected by each sound pickup device is classified according to the number of main frequency points in the first sound segment.

[0009] Furthermore, the first sound segment is segmented to obtain multiple second sound segments; the second sound segment is Fourier transformed to obtain a frequency domain signal of the second sound segment; the frequency points in the second sound segment are extracted, and the energy value of each frequency point is obtained; the main frequency point in the second sound segment is determined according to the energy value; and the number of main frequency points in the first sound segment is determined according to the number of main frequency points in the second sound segment.

[0010] Furthermore, the energy value of each frequency point is compared with the energy values ​​of the previous N frequency points, where N is an integer greater than 0; if the difference between the energy value of any frequency point and the energy values ​​of the previous V frequency points is greater than the preset energy value, the frequency point is determined to be the main frequency point.

[0011] Further, it is determined that the number of main frequency points of the second sound segment with the largest number of main frequency points among all the second sound segments included in the first sound segment is the number of main frequency points of the first sound segment.

[0012] Furthermore, if the main frequency point number of the first sound segment is greater than a preset number, the first sound segment is determined to be the first type of sound information; if the main frequency point number of the first sound segment is less than or equal to the preset number, the first sound segment is determined to be the second type of sound information.

[0013] Further, the specified noise includes keyboard tapping sounds emitted simultaneously with the speech.

[0014] Further, according to the judgment result, the first type of sound information is attenuated by a preset value and then mixed with the second type of sound information; or according to the judgment result, the first type of sound information is attenuated to zero and then mixed with the second type of sound information.

[0015] According to one aspect of an embodiment of the present invention, a method for processing sound information is provided, comprising: collecting current sound information through a sound pickup device array; and playing sound information obtained after processing the collected sound information, wherein the sound information collected by multiple sound pickup devices in the sound pickup device array is classified to obtain a classification result, the classification result including: a first type of sound information interfered by designated noise and a second type of sound information not interfered by the designated noise, and according to the classification result, the first type of sound information is attenuated and then mixed with the second type of sound information to obtain the processed sound information.

[0016] According to one aspect of an embodiment of the present invention, a sound information processing device is provided, comprising: an acquisition module, used to acquire sound information collected by multiple sound pickup devices in a sound pickup device array; a classification module, used to classify the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: a first type of sound information interfered by designated noise and a second type of sound information not interfered by the designated noise; and a mixing module, used to attenuate the first type of sound information according to the classification result and then mix it with the second type of sound information.

[0017] According to one aspect of an embodiment of the present invention, a storage medium is provided, the storage medium including a stored program, wherein when the program is executed, a device where the storage medium is located is controlled to execute the following steps: obtaining sound information collected by a plurality of sound pickup devices in a sound pickup device array; classifying the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: first-category sound information interfered by designated noise and second-category sound information not interfered by the designated noise; and according to the classification result, attenuating the first-category sound information and mixing it with the second-category sound information.

[0018] According to one aspect of an embodiment of the present invention, a processor is provided, and the processor is used to run a program, wherein the following steps are performed when the program is run: obtaining sound information collected by multiple sound pickup devices in a sound pickup device array; classifying the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: a first type of sound information interfered by a specified noise and a second type of sound information not interfered by the specified noise; and according to the classification result, attenuating the first type of sound information and mixing it with the second type of sound information.

[0019] According to one aspect of an embodiment of the present invention, a conference system is provided, comprising: a sound pickup device array, comprising a plurality of sound pickup devices, for collecting sound information of an environment; a controller, communicating with the sound pickup device array, for obtaining sound information collected by the plurality of sound pickup devices in the sound pickup device array, classifying the sound information collected by each sound pickup device to obtain a classification result, and according to the classification result, attenuating a first category of sound information and mixing it with a second category of sound information, wherein the classification result includes: the first category of sound information interfered by designated noise and the second category of sound information not interfered by the designated noise.

[0020] In the embodiment of the present invention, during mixing, the sound signal is detected to determine the sound signal interfered by noise, so that the signal interfered by noise is attenuated or even not added to the mixing, thereby suppressing the specified noise. In this way, the problem of large noise in the mixing result caused by some sound sources being speech and some sound sources being noise when there are multiple sound sources can be solved, that is, the technical problem in the prior art that the output sound has large noise due to the inclusion of noise sound sources in multiple sound sources is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0022] Figure 1a The main microphone for picking up sound of a desktop microphone array of an audio and video system is shown;

[0023] Figure 1b It is a schematic diagram of an extended wheat;

[0024] Figure 1c Shows Figure 1b The internal structure of

[0025] Figure 1d A schematic diagram showing how three virtual directional microphones are constructed in each extended microphone using three centralized physical microphones through an algorithm;

[0026] Figure 1e It is a schematic diagram of the noise generated by other participants typing on the keyboard while the speaker is speaking in a conference scene;

[0027] Figure 2 A hardware structure block diagram of a computer device (or mobile device) for implementing a method for processing sound information is shown;

[0028] Figure 3 is a flowchart of a method for processing sound information according to Embodiment 1 of the present application;

[0029] Figure 4a is a schematic diagram of classifying sound pickup devices according to Embodiment 1 of the present application;

[0030] Figure 4b It is the spectrogram of the keyboard tapping sound and speech co-occurring;

[0031] Figure 5 is a flow chart of a method for processing sound information according to Embodiment 2 of the present application;

[0032] Figure 6 is a schematic diagram of a sound information processing device according to Embodiment 3 of the present application;

[0033] Figure 7 is a schematic diagram of a sound information processing device according to Embodiment 4 of the present application;

[0034] Figure 8 is a structural block diagram of a computer device according to Embodiment 5 of the present application; and

[0035] Fig. 9 This is a sound pickup diagram of a conference system according to Example 7 of the present application. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0038] Example 1

[0039] According to an embodiment of the present invention, an embodiment of a method for processing sound information is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0040] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer device or a similar computing device. Figure 2 FIG. 1 shows a hardware structure block diagram of a computer device (or mobile device) for implementing a method for processing sound information. Figure 2 As shown, the computer device 20 (or mobile device 20) may include one or more (202a, 202b, ..., 202n are used to illustrate) processors 202 (the processor 202 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 204 for storing data, and a transmission module 206 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a bus (BUS) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 2 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 2 More or fewer components as shown, or with Figure 2 Different configurations shown.

[0041] It should be noted that the one or more processors 202 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer device 20 (or mobile device). As involved in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0042] The memory 204 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for processing sound information in the embodiment of the present invention. The processor 202 executes various functional applications and data processing by running the software programs and modules stored in the memory 204, that is, to implement the vulnerability detection method of the above-mentioned application program. The memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include a memory remotely arranged relative to the processor 202, and these remote memories may be connected to the computer device 20 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0043] The transmission module 206 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer device 20. In one example, the transmission module 206 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 206 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0044] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer device 20 (or mobile device).

[0045] It should be noted that, in some optional embodiments, the above Figure 2 The computer device (or mobile device) shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 2 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the above-described computer device (or mobile device).

[0046] Under the above operating environment, this application provides Figure 3 The method of processing the sound information shown. Figure 3 FIG. 1 is a flow chart of a method for processing sound information according to Embodiment 1 of the present application. Figure 3 As shown, the method comprises the following steps:

[0047] Step S31, obtaining sound information collected by multiple sound pickup devices in the sound pickup device array.

[0048] Specifically, the sound pickup device may be a microphone, and the sound pickup device array may be a microphone array. A microphone array is an array composed of multiple microphone units, usually divided into a linear array and a circular array, so that multiple microphones in the system are arranged according to specified requirements to collect sounds from different directions in the space, thereby achieving effects such as sound source localization and reverberation elimination.

[0049] The above-mentioned multiple sound pickup devices can be multiple microphones in a microphone array. The above-mentioned multiple sound pickup devices can be selected according to the amplitude of the sound signal collected by each sound pickup device. For example, the sound pickup device with the largest amplitude of the sound signal and the sound pickup device with the second largest amplitude of the sound signal can be selected as the above-mentioned multiple sound pickup devices. The above-mentioned multiple sound pickup devices can also be selected according to the positions where the sound signals are set. For example, the sound pickup devices set at designated positions can be selected as the above-mentioned multiple sound pickup devices.

[0050] It should be noted that, when applied to different scenarios or when the distribution of personnel in the scenarios is different, the sound signals of different sound pickup devices can be obtained according to the actual situation.

[0051] In an optional embodiment, taking a conference scene as an example, in a large conference room, in order to achieve a better sound reception effect, it is necessary to set up a microphone array for sound reception. The audio and video equipment used in the meeting collects the sound information emitted by the conference speaker and plays it so that the participants can clearly hear the speaker's speech. In this scenario. The audio and video equipment selects multiple microphones from the microphone array, obtains the sound information collected by the selected multiple microphones, and processes the sound information based on the sound information to obtain the sound information to be played.

[0052] The solution of the present application can be applied to scenarios with multiple sound sources. In an optional embodiment, a microphone array can be first used to determine the number of sound sources in the conference room, and step S33 can be executed when it is determined that the number of sound sources is multiple.

[0053] Step S33, classifying the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: first-category sound information interfered by the designated noise and second-category sound information not interfered by the designated noise.

[0054] Specifically, the above-mentioned designated noise can be noise that is easy to appear in the scene. For example, in a meeting scene, since the content of the meeting needs to be recorded, the designated noise can be the sound of typing on the keyboard. For another example: in a party scene, since users watching the party usually applaud, the designated noise can be the sound of applause.

[0055] The first type of sound information disturbed by the designated noise may be the sound information in which the designated noise occupies a dominant position due to the proximity of the sound pickup device to the noise source (the sound source emitting the designated noise). The second type of sound information not disturbed by the designated noise does not mean that there is no noise at all, but that the noise is small and does not play a dominant role.

[0056] When classifying the sound information, the frequency domain signal or the time domain signal of the sound information can be used. In an optional embodiment, the sound characteristics of the specified noise can be determined first, and then the sound information collected by the sound pickup device can be analyzed to determine whether the sound information collected by the sound pickup device has the sound characteristics of the specified noise, thereby determining whether the sound information is interfered by the specified noise, and then determining the classification of the sound information.

[0057] In the above scheme, by classifying the sound information collected by the sound pickup devices, the first type of sound information which is greatly affected by noise and the second type of sound information which is less affected by noise are obtained from the sound information collected by the multiple sound pickup devices.

[0058] Step S35, according to the classification result, the first type of sound information is attenuated and then mixed with the second type of sound information.

[0059] In the above steps, attenuating the first type of sound information may be attenuating the first type of sound information by a first preset value (dB), attenuating the first type of sound information to a second preset value (dB), or attenuating the first type of sound information to zero.

[0060] In an optional embodiment, still in the above-mentioned conference scenario, the multiple sound pickup devices include MIC1 and MIC2, and after classification, it is determined that the sound information collected by MIC1 is the first type of sound information disturbed by the specified noise, and the sound information collected by MIC2 is the second type of sound information not disturbed by the noise. MIC1 and MIC2 are classified, and after the sound information collected by MIC1 is attenuated, it is mixed with the sound information collected by MIC2 to obtain the sound information that the audio and video system needs to play.

[0061] It should be noted that, since the location of the sound source generating the noise is not necessarily fixed, the degree to which the sound information collected by each sound pickup device at different times is affected by the specified noise is not necessarily the same. For example, in a conference scene, a participant near MIC1 is typing on the keyboard in the first time period, so the sound information collected by MIC1 in the first time period may be disturbed by the sound of typing on the keyboard, and a participant near MIC2 is typing on the keyboard in the second time period, so the sound information collected by MIC2 in the second time period may be disturbed by the sound of typing on the keyboard. Therefore, it can be seen that the sound information disturbed by the specified noise does not necessarily come from one sound pickup device continuously.

[0062] In this case, the step of classifying the sound information proposed in the above embodiment can be performed continuously. For example, in an optional embodiment, the sound information collected by multiple sound pickup devices is sampled and classified each time according to a preset sampling period. When mixing, the first type of sound information in this sampling period is attenuated and mixed with the second type of sound information in this sampling period to obtain the sound information output by the system, and the above steps can be repeated in the next sampling period.

[0063] Still taking the conference scene as an example, if the sound information collected by multiple sound pickup devices is not disturbed by noise, the sound information collected by multiple sound pickup devices can be mixed and output, but the actual situation may be that multiple sound sources are noise, or some of the sound sources are voice and the other part of the sound sources are noise. For the first case mentioned above, a high-accuracy, low-latency speech detector can be set. If it is determined that the sound information is not voice, the system outputs all zeros. But for the second case mentioned above, it is still difficult to solve. When mixing, the above-mentioned solution of the present application detects the sound signal and determines the sound signal disturbed by noise, so as to attenuate the signal disturbed by noise or even not add it to the mixing, and then suppress the specified noise. In this way, it can solve the problem that some sound sources are voice and some sound sources are noise when there are multiple sound sources, resulting in a large noise in the mixing result, that is, it solves the technical problem in the prior art that the output sound has a large noise due to the inclusion of noise sound sources in the multiple sound sources, and achieves the effect of attenuating the specified noise in the scene.

[0064] As an optional embodiment, obtaining sound information collected by multiple sound pickup devices in a sound pickup device array includes: determining multiple sound pickup devices, wherein the multiple sound pickup devices at least include: a sound pickup device with a highest signal-to-noise ratio of sound signals collected in the sound pickup device array and a sound pickup device with a maximum signal amplitude of sound information collected in the sound pickup device array; and obtaining the sound information collected by the multiple sound pickup devices.

[0065] In the above steps, the sound output by the system is determined based on the sounds collected by two sound pickup devices in the sound pickup device array, wherein the two sound pickup devices are respectively the sound pickup device with the highest signal-to-noise ratio of the collected sound signal and the sound pickup device with the largest signal amplitude of the collected sound small signal.

[0066] In an optional embodiment, still in the conference scenario, the microphones in the microphone array are directional microphones, so the parameters such as the signal-to-noise ratio and signal amplitude of the sound collected by each microphone are different. It is determined that in the microphone array, the microphone with the highest signal-to-noise ratio of the sound signal collected is one of the multiple sound pickup devices, and the microphone with the largest signal amplitude of the sound signal collected is another of the multiple sound pickup devices, and the microphone with the largest signal amplitude also has the largest frequency spectrum difference with the microphone with the highest signal-to-noise ratio.

[0067] As an optional embodiment, the sound information collected by each sound pickup device is classified to obtain a classification result, including: intercepting the sound information of a first time period to obtain a first sound segment; obtaining the number of main frequency points in the first sound segment based on a frequency domain signal of the first sound segment, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and classifying the first sound segment in the sound information collected by each sound pickup device according to the number of main frequency points in the first sound segment.

[0068] Specifically, the first time period may be 20 ms, and the first sound segment may be 20 ms of sound information. The frequency domain signal of the first sound segment may be obtained by performing a short-time Fourier transform on the time domain signal of the first sound segment. In the above scheme, the frequency point is used to indicate the sampling point when the sound signal is sampled, and the main frequency point is used to indicate the frequency point with greater energy, which may be a frequency point with energy greater than a threshold.

[0069] The more the main frequency points appear, the more serious the sound information is interfered by the noise. Therefore, the above scheme classifies the sound pickup devices according to the number of the main frequency points in the first sound segment.

[0070] In an optional embodiment, taking a 20ms first sound segment as an example, the number of frequency points in the first sound segment is obtained according to the sampling frequency of the sound information, and then the energy of each frequency point is calculated, and then it is determined whether each frequency point is a main frequency point according to the energy of each frequency point, thereby determining the number of main frequency points of the first sound segment.

[0071] As an optional embodiment, according to the frequency domain signal of the first sound segment, the number of main frequency points in the first sound segment is obtained, including: segmenting the first sound segment to obtain multiple second sound segments; performing Fourier transform on the second sound segment to obtain the frequency domain signal of the second sound segment; extracting the frequency points in the second sound segment and obtaining the energy value of each frequency point; determining the main frequency points in the second sound segment according to the energy value; and determining the number of main frequency points in the first sound segment according to the number of main frequency points in the second sound segment.

[0072] Specifically, when the first sound segment is 20 ms, the second sound segment may be 2 ms. By performing short-time Fourier transform on the second sound segment, a frequency domain signal of the second sound segment may be obtained. Based on the frequency domain signal of the second sound segment, the main frequency point in the second sound segment is obtained, thereby determining the main frequency point in the first sound segment.

[0073] In an optional embodiment, a 20 ms first sound segment is divided into 10 2 ms second sound segments, and each 2 ms second sound segment is subjected to short-time Fourier transform to obtain 10 frequency domain signals. If the sampling frequency is 32 kHz, each second sound segment includes 64 frequency points. The energy value of each frequency point is calculated, and the frequency point whose energy value exceeds the energy threshold is determined as the main frequency point, thereby obtaining the main frequency point in the second sound segment. Then, the number of main frequency points in the 10 second sound segments is added together to obtain the number of main frequency points in the first sound segment.

[0074] The above-mentioned embodiment of the present application proposes a method for detecting a transient signal (second sound clip) instead of based on a native long audio frame (first sound clip). The detection can be performed by a detector because the detector is very sensitive to time domain resolution. Therefore, by detecting the transient signal, a more accurate detection effect can be obtained.

[0075] As an optional embodiment, the main frequency point of the second sound clip is determined according to the energy value, including: comparing the energy value of each frequency point with the energy values ​​of the previous N frequency points, where N is an integer greater than 0; if the difference between the energy value of any frequency point and the energy value of the previous N frequency points is greater than a preset energy value, the frequency point is determined to be the main frequency point.

[0076] The above steps provide a method for determining the main frequency point. In addition to comparing the energy value of the frequency point with the preset energy value, whether the frequency point is the main frequency point can also be determined based on the difference between the energy value of the frequency point and the energy values ​​of the first N frequency points.

[0077] In an optional embodiment, the energy value of each frequency point in the second sound segment is calculated, and the difference between the energy value of each frequency point and the energy value of the previous frame frequency point is calculated. If the energy value of the current frequency point is greater than the energy value of the previous frame frequency point, and the difference between the energy value of the current frequency point and the energy value of the previous frame frequency point is greater than a preset capacity value, the current frequency point is determined to be the main frequency point.

[0078] As an optional embodiment, determining the number of main frequency points in the first sound segment according to the number of main frequency points in the second sound segment includes: determining that the number of main frequency points of the second sound segment with the largest number of main frequency points among all second sound segments contained in the first sound segment is the number of main frequency points of the first sound segment.

[0079] The above steps provide a method for determining the number of main frequency points of the first sound segment according to the number of main frequency points of the second sound segment. In addition to summing the number of main frequency points of the second sound segments, the second sound segment with the largest number of main frequency points in all the second sound segments can also be obtained, and the number of main frequency points of the second sound segment can be used as the number of main frequency points of the first sound segment.

[0080] In an optional embodiment, still taking the above-mentioned 10ms first sound segment as an example, the number of main frequency points contained in each of the 10 2ms second sound segments included in the first sound segment is obtained, and the number of main frequency points corresponding to the second sound segment with the largest number of main frequency points is used as the number of main frequency points of the first sound segment.

[0081] As an optional embodiment, each sound pickup device is classified according to the number of main frequency points in the first sound segment, including: if the number of main frequency points of the first sound segment is greater than a preset number, determining that the first sound segment is first-category sound information; if the number of main frequency points of the first sound segment is less than or equal to the preset number, determining that the first sound segment is second-category sound information.

[0082] In the above steps, by presetting a threshold and comparing the number of main frequency points of the first sound segment with the preset threshold, it is determined whether the first sound information is interfered by the designated noise, thereby determining the type of the first sound information.

[0083] Figure 4a is a schematic diagram of classifying sound pickup devices according to Embodiment 1 of the present application. Figure 4a , an optional implementation example of the above classification process is described.

[0084] S41, obtaining a 20ms audio frame.

[0085] Specifically, the 20 ms audio frame is the first sound segment, which can be captured from the sound information collected by the sound pickup device.

[0086] S42, dividing the 20 ms audio frame into 10 2 ms audio frames.

[0087] Specifically, the 2 ms audio frame is the second sound segment, which is obtained by dividing the first sound segment.

[0088] S43, performing short-time Fourier transform on the 2 ms audio frame.

[0089] Specifically, the above step obtains the frequency domain signal of the second sound segment by performing short-time Fourier transform on the second sound segment.

[0090] S44, calculating the energy value of each frequency point.

[0091] Specifically, the above frequency points are sampling points when collecting sound information. For example, if the sampling frequency is 32kHz, a 2ms audio frame includes 64 sampling points.

[0092] S45, judging whether the energy value of the current frame is much greater than the energy of the previous frame or the previous two frames. If the judgment result is yes, proceed to step S46, otherwise proceed to step S47.

[0093] The above steps can be determined by calculating the difference between the energy of the current frame frequency point and the energy of the previous frame or the previous two frame frequencies. If the energy difference is greater than a preset value, the judgment result is yes, otherwise the judgment result is no.

[0094] S46, determining the frame frequency point as a dominant frequency bin (DFB).

[0095] S47, obtaining the number of main frequency points.

[0096] Specifically, the above number is the number of main frequency points in each 2 ms audio frame.

[0097] S48, searching for a 2 ms audio frame with the largest number of main frequency points as the number of main frequency points of a 20 ms audio frame.

[0098] S49, judging whether the number of main frequency points of the 20ms audio frame is greater than a preset number value THR. If the judgment result is yes, proceed to step S410, otherwise proceed to step S411.

[0099] S410: The 20 ms audio frame is interfered by noise.

[0100] S411, the 20ms audio is not disturbed by noise.

[0101] As an optional embodiment, the designated noise includes keyboard tapping sounds emitted simultaneously with the speech.

[0102] In a conference scenario, in order to record the content of the conference, keyboard tapping sounds are very likely to occur, and are also the main noise that occurs during the conference. Voice information is the sound information that needs to be output, so the keyboard tapping sounds emitted at the same time as the voice information can be used as the designated noise. At the same time, during the conference, mouse click events are also very likely to occur, so as another embodiment, the mouse click sound can also be used as the designated noise, or together with the keyboard tapping sound as the designated noise.

[0103] Figure 4b It is a spectrogram of keyboard tapping sound and speech. Figure 4b It can be seen that for the keyboard tapping sound, its energy will suddenly increase in almost the entire frequency spectrum, and almost every frequency point is a dominant frequency point (dominant). Therefore, the above-mentioned detection method based on the dominant frequency point can detect the sound information interfered by the keyboard tapping sound.

[0104] As an optional embodiment, according to the classification result, the sound information collected by the first category of sound information is attenuated and then mixed with the sound information collected by the second category of sound information, including: according to the judgment result, the first category of sound information is attenuated by a preset value and then mixed with the second category of sound information; or according to the judgment result, the first category of sound information is attenuated to zero and then mixed with the second category of sound information.

[0105] The above embodiment provides two methods for attenuating the first type of sound signal. In the first method, the first type of sound information is attenuated by a preset value (9dB) and then mixed with the second type of sound information; in the second method, the first type of sound information is attenuated to zero and then mixed with the second type of sound information, that is, the first type of sound information is no longer mixed. In the case where there is only one type of second type of sound information in the sound information collected by multiple sound pickup devices, the one type of second type of sound information is used as the output of the system; in the case where the sound information collected by multiple sound pickup devices includes multiple types of second type of sound information, the multiple types of second type of sound information are mixed to obtain the output of the system.

[0106] How to attenuate the first-category sound information can be determined based on the degree to which the first-category sound information is disturbed by the specified noise. The greater the first-category sound information is affected by the specified noise, the greater the attenuation is. In an optional embodiment, which attenuation method to use can be determined based on the number of main frequency points in the above-mentioned first sound segment. After determining that the sound pickup device is the first-category sound information, the number of main frequency points in the first sound segment corresponding to the sound pickup device is compared with another threshold value. If the number of main frequency points in the first sound segment is greater than another threshold value, the first-category sound information is attenuated to zero, that is, the first-category sound information does not participate in the mixing. If the number of main frequency points in the first sound segment is less than or equal to another threshold value, the first-category sound information is attenuated by a preset value before participating in the mixing.

[0107] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0108] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0109] Example 2

[0110] According to an embodiment of the present invention, an embodiment of a method for processing sound information is also provided. Figure 5 is a flowchart of a method for processing sound information according to Embodiment 2 of the present application, combined with Figure 5 As shown, the method includes:

[0111] Step S51, collecting current sound information through a sound pickup device array.

[0112] Specifically, the above-mentioned sound pickup device array can be a microphone array. A microphone array is an array composed of multiple microphone units, usually divided into linear arrays and circular arrays, so that multiple microphones in the system are arranged according to specified requirements to collect sounds from different directions in the space, thereby achieving effects such as sound source localization and reverberation removal.

[0113] The solution of the present application can be applied to scenarios with multiple sound sources. In an optional embodiment, a microphone array can be first used to determine the number of sound sources in the conference room, and step S53 is executed when it is determined that the number of sound sources is multiple.

[0114] Step S53, playing the sound information obtained after processing the collected sound information, wherein the sound information collected by multiple sound pickup devices in the sound pickup device array is classified to obtain a classification result, the classification result includes: a first type of sound information interfered by the specified noise and a second type of sound information not interfered by the specified noise, and according to the classification result, the first type of sound information is attenuated and then mixed with the second type of sound information to obtain the processed sound information.

[0115] The above processing of the sound information may be any of the processing methods in Example 1, which will not be described in detail here.

[0116] Example 3

[0117] According to an embodiment of the present invention, there is also provided a sound information processing device for implementing the above-mentioned embodiment 1. Figure 6 is a schematic diagram of a sound information processing device according to Embodiment 3 of the present application, such as Figure 6 As shown, the device 600 includes:

[0118] The acquisition module 602 is used to acquire sound information collected by multiple sound pickup devices in the sound pickup device array.

[0119] The classification module 604 is used to classify the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: first-class sound information interfered by the designated noise and second-class sound information not interfered by the designated noise.

[0120] The mixing module 606 is used to attenuate the first type of sound information according to the classification result and then mix it with the second type of sound information.

[0121] It should be noted that the acquisition module 602, classification module 604 and mixing module 606 correspond to steps S31 to S335 in Example 1, and the three modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules, as part of the apparatus, can be run in the computer device 10 provided in Example 1.

[0122] As an optional embodiment, the acquisition module includes: a determination submodule, used to determine multiple sound pickup devices, wherein the multiple sound pickup devices at least include: a sound pickup device with the highest signal-to-noise ratio of the sound signal collected in the sound pickup device array and a sound pickup device with the largest signal amplitude of the sound information collected in the sound pickup device array; a first acquisition submodule, used to acquire the sound information collected by the multiple sound pickup devices.

[0123] As an optional embodiment, the classification module includes: an interception submodule, used to intercept the sound information of the first time period to obtain a first sound segment; a second acquisition submodule, used to obtain the number of main frequency points in the first sound segment based on the frequency domain signal of the first sound segment, wherein the main frequency point is used to represent the frequency point whose energy value is greater than a preset energy value; and a classification submodule, used to classify the first sound segment in the sound information collected by each pickup device according to the number of main frequency points in the first sound segment.

[0124] As an optional embodiment, the second acquisition submodule includes: a segmentation unit, used to segment the first sound segment to obtain multiple second sound segments; a transformation unit, used to perform Fourier transform on the second sound segment to obtain a frequency domain signal of the second sound segment; an extraction unit, used to extract frequency points in the second sound segment and obtain an energy value of each frequency point; a first determination unit, used to determine the main frequency point in the second sound segment according to the energy value; and a second determination unit, used to determine the number of main frequency points in the first sound segment according to the number of main frequency points in the second sound segment.

[0125] As an optional embodiment, the first determination unit includes: a comparison subunit, used to compare the energy value of each frequency point with the energy values ​​of the previous N frequency points, where N is an integer greater than 0; a first determination subunit, used to determine that a frequency point is a main frequency point if the difference between the energy value of any frequency point and the energy value of the previous N frequency points is greater than a preset energy value.

[0126] As an optional embodiment, the second determination unit includes: a second determination subunit, configured to determine that the number of main frequency points of the second sound segment with the largest number of main frequency points among all second sound segments included in the first sound segment is the number of main frequency points of the first sound segment.

[0127] As an optional embodiment, the classification submodule includes: a third determination unit, used to determine that the first sound segment is the first category of sound information if the number of main frequency points of the first sound segment is greater than a preset number; a fourth determination unit, used to determine that the first sound segment is the second category of sound information if the number of main frequency points of the first sound segment is less than or equal to a preset number.

[0128] As an optional embodiment, the designated noise includes keyboard tapping sounds emitted simultaneously with the speech.

[0129] As an optional embodiment, according to the classification result, the mixing module includes: a first mixing sub-module, used to attenuate the first type of sound information by a preset value according to the judgment result and then mix it with the second type of sound information; or a second mixing sub-module, used to attenuate the first type of sound information to zero according to the judgment result and then mix it with the second type of sound information.

[0130] Example 4

[0131] According to an embodiment of the present invention, there is also provided a sound information processing device for implementing the above-mentioned embodiment 2. Figure 7 is a schematic diagram of a sound information processing device according to Embodiment 4 of the present application, such as Figure 7 As shown, the device 700 includes:

[0132] The collection module 702 is used to collect current sound information through a sound pickup device array.

[0133] The playing module 704 is used to play the sound information obtained after processing the collected sound information, wherein the sound information collected by multiple sound pickup devices in the sound pickup device array is classified to obtain a classification result, and the classification result includes: a first type of sound information interfered by the specified noise and a second type of sound information not interfered by the specified noise. According to the classification result, the first type of sound information is attenuated and then mixed with the second type of sound information to obtain the processed sound information.

[0134] It should be noted that the acquisition module 702 and the playback module 704 correspond to steps S51 to S53 in Example 2, and the examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules, as part of the device, can be run in the computer device 10 provided in Example 1.

[0135] Example 5

[0136] The embodiment of the present invention may provide a computer device, which may be any computer device in a computer device group. Optionally, in this embodiment, the computer device may also be replaced by a terminal device such as a mobile terminal.

[0137] Optionally, in this embodiment, the computer device may be located in at least one network device among a plurality of network devices of a computer network.

[0138] In this embodiment, the above-mentioned computer device can execute the program code of the following steps in the vulnerability detection method of the application program: obtaining sound information collected by multiple sound pickup devices in the sound pickup device array; classifying the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: a first type of sound information interfered by the specified noise and a second type of sound information not interfered by the specified noise; according to the classification result, attenuating the first type of sound information and mixing it with the second type of sound information.

[0139] Optionally, Figure 8 is a structural block diagram of a computer device according to Embodiment 5 of the present application. Figure 8 As shown, the computer device A may include: one or more (only one is shown in the figure) processors 802 , a memory 804 , and a peripheral interface 806 .

[0140] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the security vulnerability detection method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the detection method of the above-mentioned system vulnerability attack is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal A via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0141] The processor can call the information and application program stored in the memory through the transmission device to perform the following steps: obtaining the sound information collected by multiple sound pickup devices in the sound pickup device array; classifying the sound information collected by each sound pickup device to obtain a classification result, wherein the classification result includes: the first type of sound information interfered by the specified noise and the second type of sound information not interfered by the specified noise; according to the classification result, attenuating the first type of sound information and mixing it with the second type of sound information.

[0142] Optionally, the processor may also execute program code of the following steps: determining multiple sound pickup devices, wherein the multiple sound pickup devices include at least: a sound pickup device with the highest signal-to-noise ratio of sound signals collected in the sound pickup device array and a sound pickup device with the largest signal amplitude of sound information collected in the sound pickup device array; and obtaining sound information collected by the multiple sound pickup devices.

[0143] Optionally, the processor may also execute the program code of the following steps: intercepting the sound information of the first time period to obtain a first sound segment; obtaining the number of main frequency points in the first sound segment based on the frequency domain signal of the first sound segment, wherein the main frequency point is used to represent the frequency point whose energy value is greater than a preset energy value; and classifying the first sound segment in the sound information collected by each sound pickup device according to the number of main frequency points in the first sound segment.

[0144] Optionally, the processor may also execute the program code of the following steps: segmenting the first sound segment to obtain multiple second sound segments; performing Fourier transform on the second sound segment to obtain a frequency domain signal of the second sound segment; extracting frequency points in the second sound segment and obtaining an energy value of each frequency point; determining the main frequency point in the second sound segment based on the energy value; and determining the number of main frequency points in the first sound segment based on the number of main frequency points in the second sound segment.

[0145] Optionally, the processor may also execute the following program code: comparing the energy value of each frequency point with the energy values ​​of the previous N frequency points, where N is an integer greater than 0; if the difference between the energy value of any frequency point and the energy value of the previous N frequency points is greater than a preset energy value, the frequency point is determined to be the main frequency point.

[0146] Optionally, the processor may further execute a program code of the following steps: determining that the number of main frequency points of the second sound segment with the largest number of main frequency points among all second sound segments contained in the first sound segment is the number of main frequency points of the first sound segment.

[0147] Optionally, the processor may also execute the following program code: if the number of main frequency points of the first sound segment is greater than a preset number, determine that the first sound segment is first-category sound information; if the number of main frequency points of the first sound segment is less than or equal to a preset number, determine that the first sound segment is second-category sound information.

[0148] Optionally, the specified noise includes keyboard tapping sounds emitted simultaneously with the speech.

[0149] Optionally, the processor may also execute program code of the following steps: according to the judgment result, attenuating the first type of sound information by a preset value and then mixing it with the second type of sound information; or according to the judgment result, attenuating the first type of sound information to zero and then mixing it with the second type of sound information.

[0150] According to an embodiment of the present invention, a method for processing sound information is provided. During mixing, the sound signal is detected to determine the sound signal interfered with by noise, so that the signal interfered with by noise is attenuated or even not added to the mixing, thereby suppressing the specified noise. In this way, the problem of high noise in the mixing result caused by some sound sources being speech and some sound sources being noise when there are multiple sound sources can be solved, that is, the technical problem in the prior art that the output sound has high noise due to the inclusion of noise sound sources in multiple sound sources is solved.

[0151] It can be understood by those skilled in the art that Figure 8 The structure shown is for illustration only, and the computer device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Figure 8 The structure of the electronic device is not limited. For example, the computer device 10 may also include Figure 8 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 8 Different configurations are shown.

[0152] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0153] Example 6

[0154] The embodiment of the present invention further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the sound information processing method provided in the first embodiment.

[0155] Optionally, in this embodiment, the above storage medium may be located in any one of the computer devices in the computer device group in the computer network, or in any one of the mobile terminals in the mobile terminal group.

[0156] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: obtaining sound information collected by multiple sound pickup devices in a sound pickup device array; classifying the sound information collected by each of the sound pickup devices to obtain a classification result, wherein the classification result includes: a first type of sound information interfered by designated noise and a second type of sound information not interfered by the designated noise; and according to the classification result, attenuating the first type of sound information and mixing it with the second type of sound information.

[0157] Example 7

[0158] According to an embodiment of the present invention, there is also provided an embodiment of a conference system. Fig. 9 is a sound pickup diagram of a conference system according to Embodiment 7 of the present application, combined with Fig. 9 As shown, the system includes:

[0159] The sound pickup device array 90 includes a plurality of sound pickup devices for collecting sound information of the surrounding environment.

[0160] Specifically, the sound pickup device may be a microphone, and the sound pickup device array may be a microphone array. A microphone array is an array composed of multiple microphone units, usually divided into a linear array and a circular array, so that multiple microphones in the system are arranged according to specified requirements to collect sounds from different directions in the space, thereby achieving effects such as sound source localization and reverberation elimination.

[0161] The above-mentioned multiple sound pickup devices can be multiple microphones in a microphone array. The above-mentioned multiple sound pickup devices can be selected according to the amplitude of the sound signal collected by each sound pickup device. For example, the sound pickup device with the largest amplitude of the sound signal and the sound pickup device with the second largest amplitude of the sound signal can be selected as the above-mentioned multiple sound pickup devices. The above-mentioned multiple sound pickup devices can also be selected according to the positions where the sound signals are set. For example, the sound pickup devices set at designated positions can be selected as the above-mentioned multiple sound pickup devices.

[0162] It should be noted that, when applied to different scenarios or when the distribution of personnel in the scenarios is different, the sound signals of different sound pickup devices can be obtained according to the actual situation.

[0163] In an optional embodiment, taking a conference scene as an example, in a large conference room, in order to achieve a better sound reception effect, it is necessary to set up a microphone array for sound reception. The audio and video equipment used in the meeting collects the sound information emitted by the conference speaker and plays it so that the participants can clearly hear the speaker's speech. In this scenario. The audio and video equipment selects multiple microphones from the microphone array, obtains the sound information collected by the selected multiple microphones, and processes the sound information based on the sound information to obtain the sound information to be played.

[0164] The processor 92 communicates with the sound pickup device array, and is used to obtain sound information collected by multiple sound pickup devices in the sound pickup device array, classify the sound information collected by each of the sound pickup devices, obtain a classification result, and attenuate the first category of sound information according to the classification result, and then mix it with the second category of sound information, wherein the classification result includes: the first category of sound information interfered by the specified noise and the second category of sound information not interfered by the specified noise.

[0165] Specifically, the above-mentioned designated noise can be noise that is easy to appear in the scene. For example, in a meeting scene, since the content of the meeting needs to be recorded, the designated noise can be the sound of typing on the keyboard. For another example: in a party scene, since users watching the party usually applaud, the designated noise can be the sound of applause.

[0166] When classifying the sound information, the frequency domain signal or the time domain signal of the sound information can be used. In an optional embodiment, the sound characteristics of the specified noise can be determined first, and then the sound information collected by the sound pickup device can be analyzed to determine whether the sound information collected by the sound pickup device has the sound characteristics of the specified noise, thereby determining whether the sound information is interfered by the specified noise, and then determining the classification of the sound information.

[0167] The first type of sound information disturbed by the designated noise may be the sound information in which the designated noise occupies a dominant position due to the proximity of the sound pickup device to the noise source (the sound source emitting the designated noise). The second type of sound information not disturbed by the designated noise does not mean that there is no noise at all, but that the noise is small and does not play a dominant role.

[0168] In the above scheme, by classifying the sound information collected by the sound pickup device, the first type of sound information that is more affected by noise and the second type of sound information that is less affected by noise are obtained from the sound information collected by multiple sound pickup devices, and then the first type of sound information is attenuated, which can be to attenuate the first type of sound information by a first preset value (dB), attenuate the first type of sound information to a second preset value (dB), or attenuate the first type of sound information to zero.

[0169] In an optional embodiment, still in the above-mentioned conference scenario, the multiple sound pickup devices include MIC1 and MIC2, and after classification, it is determined that the sound information collected by MIC1 is the first type of sound information disturbed by the specified noise, and the sound information collected by MIC2 is the second type of sound information not disturbed by the noise. MIC1 and MIC2 are classified, and after the sound information collected by MIC1 is attenuated, it is mixed with the sound information collected by MIC2 to obtain the sound information that the audio and video system needs to play.

[0170] It should be noted that, since the location of the sound source generating the noise is not necessarily fixed, the degree to which the sound information collected by each sound pickup device at different times is affected by the specified noise is not necessarily the same. For example, in a conference scene, a participant near MIC1 is typing on the keyboard in the first time period, so the sound information collected by MIC1 in the first time period may be disturbed by the sound of typing on the keyboard, and a participant near MIC2 is typing on the keyboard in the second time period, so the sound information collected by MIC2 in the second time period may be disturbed by the sound of typing on the keyboard. Therefore, it can be seen that the sound information disturbed by the specified noise does not necessarily come from one sound pickup device continuously.

[0171] In this case, the scheme for classifying sound information proposed in the above embodiment can be carried out continuously. For example, in an optional embodiment, the sound information collected by multiple sound pickup devices is sampled and classified each time according to a preset sampling period. When mixing, the first type of sound information in this sampling period is attenuated and mixed with the second type of sound information in this sampling period to obtain the sound information output by the system, and the above steps can be repeated in the next sampling period.

[0172] Still taking the conference scene as an example, if the sound information collected by multiple sound pickup devices is not disturbed by noise, the sound information collected by multiple sound pickup devices can be mixed and output, but the actual situation may be that multiple sound sources are noise, or some of the sound sources are voice and the other part of the sound sources are noise. For the first case mentioned above, a high-accuracy, low-latency speech detector can be set. If it is determined that the sound information is not voice, the system outputs all zeros. But for the second case mentioned above, it is still difficult to solve. When mixing, the above-mentioned solution of the present application detects the sound signal and determines the sound signal disturbed by noise, so as to attenuate the signal disturbed by noise or even not add it to the mixing, and then suppress the specified noise. In this way, it can solve the problem that some sound sources are voice and some sound sources are noise when there are multiple sound sources, resulting in a large noise in the mixing result, that is, it solves the technical problem in the prior art that the output sound has a large noise due to the inclusion of noise sound sources in the multiple sound sources, and achieves the effect of attenuating the specified noise in the scene.

[0173] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0174] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0175] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0177] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0178] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0179] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing sound information, characterized in that: include: Acquiring sound information collected by multiple sound pickup devices in a sound pickup device array, wherein the multiple sound pickup devices are deployed in the same multi-sound source scene; Classifying the sound information collected by each of the sound pickup devices to obtain a classification result, wherein the classification result includes: first-class sound information disturbed by the designated noise and second-class sound information not disturbed by the designated noise; According to the classification result, attenuating the first category of sound information and mixing it with the second category of sound information; Among them, the classifying the sound information collected by each of the sound pickup devices to obtain the classification result includes: intercepting the sound information of a first time period to obtain a first sound segment; obtaining the number of main frequency points in the first sound segment according to the frequency domain signal of the first sound segment, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and classifying the first sound segment in the sound information collected by each of the sound pickup devices according to the number of main frequency points in the first sound segment.

2. The method according to claim 1, characterized in that Acquiring sound information collected by multiple sound pickup devices in a sound pickup device array, including: Determine the plurality of sound pickup devices, wherein the plurality of sound pickup devices at least include: a sound pickup device with the highest signal-to-noise ratio of the sound signal collected in the sound pickup device array and a sound pickup device with the largest signal amplitude of the sound information collected in the sound pickup device array; Acquire the sound information collected by the multiple sound pickup devices.

3. The method according to claim 1, characterized in that: Acquiring the number of main frequency points in the first sound segment according to the frequency domain signal of the first sound segment includes: Segmenting the first sound segment to obtain a plurality of second sound segments; Performing Fourier transform on the second sound segment to obtain a frequency domain signal of the second sound segment; Extracting frequency points in the second sound segment, and obtaining an energy value of each frequency point; Determine a main frequency point in the second sound segment according to the energy value; The number of main frequency points in the first sound segment is determined according to the number of main frequency points in the second sound segment.

4. The method according to claim 3, characterized in that Determining a main frequency point in the second sound segment according to the energy value includes: Compare the energy value of each frequency point with the energy values ​​of the previous N frequency points, where N is an integer greater than 0; If the difference between the energy value of any frequency point and the energy values ​​of the first N frequency points is greater than a preset energy value, the frequency point is determined to be the main frequency point.

5. The method according to claim 3, characterized in that: Determining the number of main frequency points in the first sound segment according to the number of main frequency points in the second sound segment includes: It is determined that, among all the second sound segments included in the first sound segment, the second sound segment with the largest number of main frequency points has the number of main frequency points as the number of main frequency points of the first sound segment.

6. The method according to claim 1, characterized in that Classifying the first sound segments in the sound information collected by each of the sound pickup devices according to the number of main frequency points in the first sound segments includes: If the number of main frequency points of the first sound segment is greater than a preset number, determining that the first sound segment is the first type of sound information; If the number of main frequency points of the first sound segment is less than or equal to the preset number, it is determined that the first sound segment is the second type of sound information.

7. The method according to claim 1, characterized in that The designated noise includes keyboard tapping sounds emitted simultaneously with the speech.

8. The method according to claim 1, characterized in that According to the classification result, attenuating the first type of sound information and mixing it with the second type of sound information comprises: According to the judgment result, the first type of sound information is attenuated by a preset value and then mixed with the second type of sound information; or According to the determination result, the first type of sound information is attenuated to zero and then mixed with the second type of sound information.

9. A method for processing sound information, characterized in that: include: Collect current sound information through a sound pickup device array; Playing sound information obtained after processing the collected sound information, wherein the sound information collected by each of the multiple sound pickup devices in the sound pickup device array is classified to obtain a classification result, the classification result including: a first type of sound information interfered by a specified noise and a second type of sound information not interfered by the specified noise, and according to the classification result, the first type of sound information is attenuated and then mixed with the second type of sound information to obtain processed sound information, wherein the multiple sound pickup devices are deployed in the same multi-sound source scene; Among them, the classifying the sound information collected by each of the multiple sound pickup devices in the sound pickup device array to obtain the classification result includes: intercepting the sound information of a first time period to obtain a first sound segment; obtaining the number of main frequency points in the first sound segment according to the frequency domain signal of the first sound segment, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and classifying the first sound segment in the sound information collected by each of the sound pickup devices according to the number of main frequency points in the first sound segment.

10. A sound information processing device, characterized in that: include: An acquisition module, used to acquire sound information collected by multiple sound pickup devices in a sound pickup device array, wherein the multiple sound pickup devices are deployed in the same multi-sound source scene; A classification module, used to classify the sound information collected by each of the sound pickup devices to obtain a classification result, wherein the classification result includes: first-class sound information disturbed by the specified noise and second-class sound information not disturbed by the specified noise; A mixing module, configured to attenuate the first category of sound information according to the classification result and then mix it with the second category of sound information; The classification module is used to classify the sound information collected by each of the sound pickup devices to obtain a classification result through the following steps: intercepting the sound information of a first time period to obtain a first sound segment; obtaining the number of main frequency points in the first sound segment according to the frequency domain signal of the first sound segment, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and classifying the first sound segment in the sound information collected by each of the sound pickup devices according to the number of main frequency points in the first sound segment.

11. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to perform the following steps: Acquiring sound information collected by multiple sound pickup devices in a sound pickup device array, wherein the multiple sound pickup devices are deployed in the same multi-sound source scene; Classifying the sound information collected by each of the sound pickup devices to obtain a classification result, wherein the classification result includes: first-class sound information disturbed by the designated noise and second-class sound information not disturbed by the designated noise; According to the classification result, attenuating the first category of sound information and mixing it with the second category of sound information; Among them, the classifying the sound information collected by each of the sound pickup devices to obtain the classification result includes: intercepting the sound information of a first time period to obtain a first sound segment; obtaining the number of main frequency points in the first sound segment according to the frequency domain signal of the first sound segment, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and classifying the first sound segment in the sound information collected by each of the sound pickup devices according to the number of main frequency points in the first sound segment.

12. A processor, characterized in that: The processor is used to run a program, wherein the following steps are performed when the program is run: Acquiring sound information collected by multiple sound pickup devices in a sound pickup device array, wherein the multiple sound pickup devices are deployed in the same multi-sound source scene; Classifying the sound information collected by each of the sound pickup devices to obtain a classification result, wherein the classification result includes: first-class sound information disturbed by the designated noise and second-class sound information not disturbed by the designated noise; According to the classification result, attenuating the first category of sound information and mixing it with the second category of sound information; Among them, the classifying the sound information collected by each of the sound pickup devices to obtain the classification result includes: intercepting the sound information of a first time period to obtain a first sound segment; obtaining the number of main frequency points in the first sound segment according to the frequency domain signal of the first sound segment, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and classifying the first sound segment in the sound information collected by each of the sound pickup devices according to the number of main frequency points in the first sound segment.

13. A conference system, characterized in that: include: A sound pickup device array, comprising a plurality of sound pickup devices, for collecting sound information of the environment, wherein the plurality of sound pickup devices are deployed in the same multi-sound source scene; a controller, communicating with the sound pickup device array, configured to obtain sound information collected by a plurality of sound pickup devices in the sound pickup device array, classify the sound information collected by each of the sound pickup devices, obtain a classification result, and attenuate the first type of sound information according to the classification result and then mix it with the second type of sound information, wherein the classification result includes: the first type of sound information interfered by the specified noise and the second type of sound information not interfered by the specified noise; The controller is further used to classify the sound information collected by each sound pickup device through the following steps to obtain a classification result: intercepting the sound information of a first time period to obtain a first sound segment; According to the frequency domain signal of the first sound segment, the number of main frequency points in the first sound segment is obtained, wherein the main frequency point is used to represent a frequency point whose energy value is greater than a preset energy value; and the first sound segment in the sound information collected by each of the sound pickup devices is classified according to the number of main frequency points in the first sound segment.