Wake-up word sound source localization method and device

By acquiring and processing the single-channel wake-up word signal in smart home devices, calculating frequency point weights and locating sound sources, the problem of poor sound source positioning accuracy of smart home devices in noisy environments is solved, and higher-precision sound sources are achieved. positioning and better interactive experience.

CN112666522BActive Publication Date: 2024-10-22BEIJING HORIZON INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011554774.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2024-10-22
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

Existing smart home devices cannot accurately determine the location of the sound source in a noisy sound environment, resulting in poor sound source location accuracy and frequent misjudgments.

Method used

By acquiring the single-channel wake-up word signal, converting it into a frequency domain signal, calculating the weight of each frequency point, and using the frequency domain sound signal of the microphone to locate the sound source, refer to the frequency point signal with a higher weight to improve the positioning accuracy.

Benefits of technology

It significantly improves the accuracy of sound source positioning, enhances the human-computer interaction experience, and does not rely on empirical parameters, making the operation easy to debug.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112666522B_ABST
    Figure CN112666522B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a wake-up word sound source localization method, a wake-up word sound source localization device, an electronic device, and a computer-readable storage medium, which solve the problem of low accuracy of existing sound source localization methods. The wake-up word sound source localization method includes: obtaining a single-channel wake-up word signal including the wake-up word voice content; transforming the single-channel wake-up word signal into a frequency domain wake-up word signal; based on the frequency domain energy values ​​of each of the multiple frequency points in the frequency domain corresponding to the frequency domain wake-up word signal, calculating the multiple weights corresponding to the multiple frequency points; and obtaining the sound source localization result based on the multiple weights corresponding to the multiple frequency points and the multiple frequency domain sound signals corresponding to the multiple microphones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of intelligent interaction technology, and in particular to a wake-up word sound source localization method, a wake-up word sound source localization device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the continuous development of artificial intelligence technology, human-computer intelligent interaction, as a research hotspot, has been applied in many practical application scenarios. For example, in smart home scenarios, users can save a lot of manual operations by interacting intelligently with smart home devices, thereby improving their life experience. Voice wake-up, as an important interaction method for human-computer intelligent interaction, has also been applied to various smart home devices. However, after being awakened by sound, existing smart home devices cannot accurately determine the location of the sound source, which affects the human-computer interaction experience. Especially in a noisy sound environment, if the volume of the interfering sound source is greater than the volume of the wake-up word issued by the user, the smart home device will mistakenly take the direction of the interfering sound source as the direction of the user, thereby reducing the accuracy of sound source positioning. Summary of the invention

[0003] In view of this, the embodiments of the present disclosure provide a wake-up word sound source localization method, a wake-up word sound source localization device, an electronic device and a computer-readable storage medium, which can greatly improve the accuracy of sound source localization.

[0004] A method for locating a wake-up word sound source provided by an embodiment of the present disclosure includes: obtaining a single-channel wake-up word signal including a wake-up word voice content; transforming the single-channel wake-up word signal into a frequency domain wake-up word signal; calculating a plurality of weights corresponding to the plurality of frequency points in the frequency domain corresponding to the frequency domain wake-up word signal based on the frequency domain energy values ​​of each of the plurality of frequency points; and obtaining a sound source localization result based on the plurality of weights corresponding to the plurality of frequency points and a plurality of frequency domain sound signals corresponding to a plurality of microphones.

[0005] An embodiment of the present disclosure provides a wake-up word sound source localization device, including: a first acquisition module, configured to acquire a single-channel wake-up word signal including a wake-up word voice content; a transformation module, configured to transform the single-channel wake-up word signal into a frequency domain wake-up word signal; a first calculation module, configured to calculate a plurality of weights corresponding to a plurality of frequency points in the frequency domain corresponding to the frequency domain wake-up word signal based on the frequency domain energy values ​​of the plurality of frequency points; and a second calculation module, configured to obtain a sound source localization result based on the plurality of weights corresponding to the plurality of frequency points and the plurality of frequency domain sound signals corresponding to the plurality of microphones.

[0006] According to another aspect of the present invention, an electronic device is provided, comprising: a processor; a memory; and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, the processor executes the wake-up word sound source localization method as described in any one of the above items.

[0007] According to another aspect of the present invention, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes any of the wake-up word sound source localization methods described above.

[0008] According to another aspect of the present invention, a computer program product is provided, comprising computer program instructions, which, when executed by a processor, enable the processor to execute any of the wake-up word sound source localization methods described above.

[0009] The embodiments of the present disclosure provide a method for locating a wake-up word sound source, a wake-up word sound source locating device, an electronic device, and a computer-readable storage medium. Since the weights corresponding to each frequency point in the acquired single-channel wake-up word signal measure the referenceability of the wake-up word voice content at each frequency point, when using the frequency domain sound source signal corresponding to each microphone for sound source positioning, by referring to the weights corresponding to each frequency point in the single-channel wake-up word signal, it is possible to more specifically refer to the frequency domain signal of the frequency point with a higher weight and better able to characterize the wake-up word voice content, thereby more accurately positioning the wake-up word sound source. It can be seen that the wake-up word sound source positioning method provided by the present disclosure can achieve higher-precision sound source positioning by analyzing and processing the sound signal itself, which can significantly improve the user's interactive experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 Shown is a structural schematic diagram of a wake-up word sound source localization system provided by an embodiment of the present disclosure.

[0011] Figure 2 The figure is a flow chart of a wake-up word sound source localization method provided by an embodiment of the present disclosure.

[0012] Figure 3 The figure is a schematic diagram of a flow chart of calculating the weights of frequency points in a wake-up word sound source localization method provided by an embodiment of the present disclosure.

[0013] Figure 4 The figure is a schematic diagram of a process of using a cross-correlation function value to perform sound localization in a wake-up word sound source localization method provided by an embodiment of the present disclosure.

[0014] Figure 5 The figure is a flow chart of a wake-up word sound source localization method provided by another embodiment of the present disclosure.

[0015] Figure 6 The figure is a schematic diagram of the principle of a wake-up word sound source localization method provided by an embodiment of the present disclosure.

[0016] Figure 7 Shown is a schematic structural diagram of a wake-up word sound source localization device provided by an embodiment of the present disclosure.

[0017] Figure 8 Shown is a schematic structural diagram of a wake-up word sound source localization device provided by another embodiment of the present disclosure.

[0018] Fig. 9 Shown is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0020] Application Overview

[0021] As mentioned above, the reason why the existing sound source localization method has poor accuracy in sound source localization is mainly because it is unable to effectively eliminate the interference of interfering sound sources. When using the original sound signal for sound localization, it is impossible to refer to the part of the original sound signal corresponding to the wake-up word sound source more specifically, so misjudgment will occur, thereby affecting the user interaction experience.

[0022] In response to the above-mentioned technical problems, the basic concept of the present invention is to propose a wake-up word sound source localization method, device, electronic device, computer program product and computer-readable storage medium, by using a single-channel wake-up word signal to calculate the weight corresponding to each frequency point, and when using the frequency domain sound source signal corresponding to each microphone to perform sound source localization, refer to the weight corresponding to each frequency point in the single-channel wake-up word signal, so as to more specifically refer to the frequency points in the original sound signal that have higher weights and can better represent the wake-up word voice content, so that the entire sound source localization process can more specifically refer to the part of the original sound signal corresponding to the wake-up word sound source, thereby significantly improving the accuracy of sound source localization.

[0023] It should be noted that the wake-up word sound source localization method provided by the present disclosure can be applied to any intelligent interaction scenario. Specifically, although the smart home scenario is used as an example to illustrate the scheme in the previous description and some embodiments below, the wake-up word sound source localization method provided by the present disclosure is also equally applicable in other application scenarios. For example, in industrial production scenarios or vehicle automatic driving scenarios, industrial robots or smart vehicles may need to respond to specific wake-up words and perform specific actions, such as a robotic arm moving to the wake-up word sound source location in response to the wake-up word, or a smart car moving to the wake-up word sound source location in response to the wake-up word. The present disclosure does not strictly limit the actual application scenarios of the wake-up word sound source localization method.

[0024] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0025] Exemplary wake-up word sound source localization system

[0026] Figure 1 FIG. 1 is a schematic diagram of a wake-up word sound source localization system provided by an embodiment of the present disclosure. Figure 1 As shown, the wake-up word sound source localization system 10 includes: multiple sound sources 11 and an intelligent interactive device 12.

[0027] Specifically, the sound source 11 can be a sound playing device that emits the user's voice, such as a speaker, a phonograph, etc. The sound playing device can be set separately or integrated in an electronic device. The user can send a sound signal through the sound playing device. The present disclosure does not strictly limit the specific implementation form and quantity of the sound source 11.

[0028] A plurality of microphones (such as microphones) for receiving sound signals may be provided on the intelligent interactive device 12, and the plurality of microphones may form a microphone array. By adopting the wake-up word sound source localization method provided in the embodiment of the present disclosure, the wake-up word sound source localization is realized according to the received original sound signal. Since the intelligent interactive device 12 receives the sounds emitted by multiple sound sources 11 at the same time, the original sound signal received by the intelligent interactive device 12 includes the sound signals emitted by multiple sound sources 11. Since the arrival time difference of the sound signals emitted from different positions to the multiple microphones is different, the relative position of the wake-up word sound source and the microphone array on each intelligent interactive device 12 can be determined by a calculation process. It should be understood that the specific implementation form of the intelligent interactive device 12 can be adjusted according to the actual application scenario, and the present disclosure does not strictly limit the specific implementation form of the intelligent interactive device 12.

[0029] Exemplary wake-up word sound source localization method

[0030] Figure 2FIG. 1 is a flow chart of a method for locating a wake-up word sound source provided by an embodiment of the present disclosure. Figure 2 As shown, the wake-up word sound source localization method includes the following steps:

[0031] Step 201: Obtain a single-channel wake-up word signal including wake-up word voice content.

[0032] The wake-up word voice content is the voice content issued by the user to wake up the smart interactive device 12, for example, it can be the name of the preset smart interactive device 12 or the user-defined voice content. The present disclosure does not strictly limit the specific implementation form of the wake-up word voice content.

[0033] The single-channel wake-up word signal is extracted based on the original sound signal and only includes or mainly includes the wake-up word voice content. As mentioned above, since the intelligent interactive device 12 receives the sounds emitted by multiple sound sources 11 at the same time, the original sound signal received by the intelligent interactive device 12 is a mixed signal including the sound signals emitted by multiple sound sources 11. In one embodiment of the present disclosure, the separation of the wake-up word voice content and the interfering sound source signal can be achieved by adopting one or more combinations of the following speech separation algorithms: dereverberation processing, beamforming / blind source separation processing, and noise suppression processing.

[0034] Step 202: transform the single-channel wake-up word signal into a frequency-domain wake-up word signal.

[0035] Since the single-channel wake-up word signal is a time domain signal separated from the original sound signal, and the sound source localization needs to refer to the sound characteristics of the wake-up word speech content itself, which does not change over time, it is necessary to transform the single-channel wake-up word signal into a frequency domain wake-up word signal through a frequency domain conversion process, so that the subsequent calculation process can refer to the frequency-related part of the wake-up word speech content. The frequency domain conversion process can be achieved through Fourier transform.

[0036] Step 203: Calculate a plurality of weights corresponding to the plurality of frequency points based on the frequency domain energy values ​​of the plurality of frequency points in the frequency domain corresponding to the frequency domain wake-up word signal.

[0037] Since the frequency domain wake-up word signal is obtained based on the conversion of the single-channel wake-up word signal, the weights corresponding to each frequency point of the frequency domain wake-up word signal measure the referenceability of the wake-up word voice content at each frequency point. The frequency domain signal value of the frequency point with a higher weight has a greater reference value for sound source positioning. In one embodiment of the present disclosure, since the wake-up word signal is emitted by the user, the frequency domain range of the multiple frequency points can be selected from the sound frequency range of the user's voice. However, the present disclosure does not strictly limit the specific frequency domain range and selection rules of the multiple frequency points.

[0038] In one embodiment of the present disclosure, the weight of any one of the multiple frequency points is positively correlated with the frequency domain energy value of the frequency point. Thus, the higher the frequency domain energy value of the frequency domain wake-up word signal at a certain frequency point, the more the frequency domain wake-up word signal at the frequency point can represent the characteristics of the wake-up word voice content, and thus has a greater reference value, and thus the assigned weight is greater. For example Figure 3 As shown, the frequency domain wake-up word signal can first be normalized to obtain a normalized value (step S31). The normalization can be normalized according to the amplitude or the energy value; then the weight corresponding to any one of the multiple frequency points is determined as: the ratio of the normalized value corresponding to the frequency point to the sum of the normalized values ​​corresponding to each of the multiple frequency points (step S32). Based on the above calculation process, the weight w can be expressed by the following formula (1):

[0039]

[0040] Where k represents the frequency point number, K is the maximum frequency index, and different values ​​of p represent different normalization methods. p = 1 represents normalization according to amplitude, and p = 2 represents normalization according to energy. wkp (k) represents the complex frequency domain signal of the kth frequency point.

[0041] However, it should be understood that although the specific calculation formula for the weight w is given above, in other embodiments of the present disclosure, the weight corresponding to the frequency point in the frequency domain wake-up word signal may also be calculated in other ways, as long as the weight can characterize the reference of the wake-up word voice content at the frequency point.

[0042] Step 204: Acquire a sound source localization result based on a plurality of weights corresponding to a plurality of frequency points and a plurality of frequency domain sound signals corresponding to a plurality of microphones.

[0043] Specifically, by referring to the weights corresponding to each frequency point in the frequency domain wake-up word signal, the smart interactive device 12 can more specifically refer to the frequency domain signal of the frequency point with a higher weight that can better represent the voice content of the wake-up word, and can accurately determine the location of the wake-up word sound source.

[0044] In one embodiment of the present disclosure, the direction of the wake-up word sound source can be located by calculating the cross-correlation function values ​​between multiple frequency domain sound signals corresponding to multiple microphones. Figure 4As shown, the cross-correlation function values ​​between the multiple frequency domain sound signals corresponding to the multiple angles can be calculated based on the multiple weights corresponding to the multiple frequency points, the arrival time differences of the sound signals at the multiple angles to the multiple microphones in the microphone array, and the multiple frequency domain sound signals corresponding to the multiple microphones (step S41); then, the angle corresponding to the maximum cross-correlation function value is used as the sound source localization result (step S42). Specifically, multiple angle values ​​within the possible deviation angle range of the position of the wake-up word sound source relative to the position of the intelligent interactive device 12 can be substituted into the cross-correlation function value for calculation, and the angle corresponding to the maximum cross-correlation function value is used as the sound source localization result.

[0045] Taking the sound source localization system including two microphones arranged in parallel as an example, the cross-correlation function value The calculation process can be expressed by the following formula (2):

[0046]

[0047] Where X1(k) and X2(k) are the frequency domain signals of the first and second microphone units, respectively, * represents conjugation, ω represents angular frequency, t θ is the arrival time difference of the signal with direction θ to the two microphones, e is the base of the natural logarithm, and j is the imaginary unit.

[0048] It should be understood that although a calculation method of the cross-correlation function is given in the above description, in other embodiments of the present disclosure, the cross-correlation function may also use other calculation methods to achieve sound source localization, and the present disclosure does not strictly limit the specific implementation form of the cross-correlation function.

[0049] It can be seen that the wake-up word sound source localization method provided by the embodiment of the present disclosure can effectively eliminate the interference of interfering sound sources by obtaining a single-channel wake-up word signal; at the same time, since the weights corresponding to each frequency point in the single-channel wake-up word signal measure the referenceability of the wake-up word voice content at each frequency point, when using the frequency domain sound source signals corresponding to each microphone for sound source localization, by referring to the weights corresponding to each frequency point in the single-channel wake-up word signal, it is possible to more specifically refer to the frequency domain signals of the frequency points with higher weights and better characterization of the wake-up word voice content, thereby more accurately achieving the positioning of the wake-up word sound source. It can be seen that the wake-up word sound source localization method provided by the present disclosure can achieve higher-precision sound source localization by analyzing and processing the sound signal itself, which can significantly improve the user's interactive experience; and since the entire sound source localization process does not rely on empirical parameters, it is also easy to debug during actual operation.

[0050] Figure 5 The figure is a flow chart of a wake-up word sound source localization method provided by an embodiment of the present disclosure. Figure 6 FIG. 1 is a schematic diagram showing the principle of a wake-up word sound source localization method provided by an embodiment of the present disclosure. Figure 5 and Figure 6 As shown, in this embodiment, the specific process of obtaining a single-channel wake-up word signal including the wake-up word voice content may include the following steps:

[0051] Step 2011: Based on the original sound signals of multiple microphones, a multi-channel wake-up word signal including the wake-up word voice content is obtained.

[0052] like Figure 6 As shown, since the original sound signal X collected by the smart interactive device 12 includes the audio content of the interfering sound source, it is necessary to eliminate the interference of the interfering sound source from the original sound signal X through a speech separation process to improve the accuracy of the subsequent sound source positioning calculation process. In one embodiment of the present disclosure, the speech separation process may specifically include: dereverberation processing of the original sound signal, beamforming or blind source separation processing of the dereverberation original sound signal to obtain multiple intermediate signals, and then noise suppression processing of the multiple intermediate signals to obtain a multi-channel wake-up word signal Y.

[0053] Step 2012: Based on the wake-up word voice content in the multi-channel wake-up word signal, determine the wake-up word timestamp representing the start time point and the end time point of the wake-up word, and the channel corresponding to the wake-up word voice content.

[0054] Based on the multi-channel wake-up word signal Y, the wake-up word voice content can be recognized through the speech recognition algorithm, and the wake-up word timestamp t representing the start time point and end time point of the wake-up word can be obtained. stamp , and the channel ch corresponding to the wake-up word voice content wkp . Wake-up word timestamp t stamp It can include the start time and end time of the wake-up word; channel ch wkp is the channel corresponding to the wake-up word in Y. The speech recognition algorithm of the wake-up word can be implemented by a wake-up word decoder established through a pre-training process based on a neural network architecture. The present disclosure does not strictly limit the specific architecture and training process of the pre-training process. The wake-up word decoder can output the wake-up word timestamp t based on the multi-channel wake-up word signal Y. stamp , and the channel ch corresponding to the wake-up word voice content wkp .

[0055] Step 2013: Determine a single-channel wake-up word signal based on the wake-up word timestamp and the channel corresponding to the wake-up word voice content.

[0056] Specifically, based on the wake-up word timestamp t stamp The channel ch corresponding to the wake-up word voice contentwkp The single-channel wake-up word signal y can be separated from the multi-channel wake-up word signal Y through the data extraction process. wkp Single channel wake-up word signal y wkp is the single-channel signal in the channel and time period where the wake-up word is located, which serves as the data basis for the subsequent calculation of the weight w of each frequency point. wkp Transform to the frequency domain and obtain the frequency domain signal Y wkp (k), in the frequency domain signal Y wkp After normalization, the weight w corresponding to each frequency point can be obtained based on the above formula (1).

[0057] Since the wake-up word timestamp t stamp Including the start time point and end time point of the wake-up word, so based on the wake-up word timestamp t stamp The original wake-up word signals received by multiple microphones can be obtained from the original sound signal X through the data extraction process, and the original wake-up word signals are transformed into corresponding multiple frequency domain sound signals to serve as the data basis for subsequent cross-correlation function calculation. Figure 6 X in t The figure shows a multi-channel speech signal including multiple frequency domain sound signals in the time period of the wake-up word. t , the final sound source localization result can be obtained through the above formula (2).

[0058] Exemplary wake-up word sound source localization device

[0059] Figure 7 FIG. 1 is a schematic diagram of a wake-up word sound source localization device provided by an embodiment of the present disclosure. Figure 7 As shown, the wake-up word sound source localization device 70 includes: a first acquisition module 71, configured to obtain a single-channel wake-up word signal including a wake-up word voice content; a transformation module 72, configured to transform the single-channel wake-up word signal into a frequency domain wake-up word signal; a first calculation module 73, configured to calculate a plurality of weights corresponding to a plurality of frequency points in the frequency domain corresponding to the frequency domain wake-up word signal based on the frequency domain energy values ​​of each of the plurality of frequency points in the frequency domain; and a second calculation module 74, configured to obtain a sound source localization result based on the plurality of weights corresponding to the plurality of frequency points and the plurality of frequency domain sound signals corresponding to the plurality of microphones.

[0060] A wake-up word sound source localization device 70 provided in an embodiment of the present disclosure can effectively eliminate the interference of interfering sound sources by acquiring a single-channel wake-up word signal; at the same time, since the weights corresponding to each frequency point in the single-channel wake-up word signal measure the referenceability of the wake-up word voice content at each frequency point, when using the frequency domain sound source signals corresponding to each microphone for sound source localization, by referring to the weights corresponding to each frequency point in the single-channel wake-up word signal, it is possible to more specifically refer to the frequency domain signals of the frequency points with higher weights and better characterization of the wake-up word voice content, thereby more accurately achieving the localization of the wake-up word sound source. It can be seen that the wake-up word sound source localization method provided by the present disclosure can achieve higher-precision sound source localization by analyzing and processing the sound signal itself, which can significantly improve the user's interactive experience; and since the entire sound source localization process does not rely on empirical parameters, it is also easy to debug during actual operation.

[0061] In an embodiment of the present disclosure, the weight of any frequency point among the multiple frequency points is positively correlated with the frequency domain energy value of the frequency point.

[0062] In one embodiment of the present disclosure, Figure 8 As shown, the first calculation module 73 includes: a normalization unit 731, configured to perform normalization processing on the frequency domain wake-up word signal to obtain a normalized value; and a weight calculation unit 732, configured to determine the weight corresponding to any one of the multiple frequency points as: the ratio of the normalized value corresponding to the frequency point to the sum of the normalized values ​​corresponding to each of the multiple frequency points.

[0063] In one embodiment of the present disclosure, Figure 8 As shown, the second calculation module 74 includes: a cross-correlation function value calculation unit 741, configured to calculate the cross-correlation function values ​​between multiple frequency domain sound signals corresponding to the sound signals at multiple angles based on multiple weights corresponding to multiple frequency points, the arrival time differences of the sound signals at multiple angles to the multiple microphones, and the multiple frequency domain sound signals corresponding to the multiple microphones; and a positioning calculation unit 742, configured to use the angle corresponding to the maximum cross-correlation function value as the sound source positioning result.

[0064] In one embodiment of the present disclosure, Figure 8 As shown, the first acquisition module 71 includes: a separation unit 711, configured to obtain a multi-channel wake-up word signal including a wake-up word voice content based on the original sound signals of multiple microphones; a wake-up word decoding unit 712, configured to determine a wake-up word timestamp representing the start time point and the end time point of the wake-up word, and a channel corresponding to the wake-up word voice content based on the wake-up word voice content in the multi-channel wake-up word signal; and a first data extraction unit 713, configured to determine a single-channel wake-up word signal based on the wake-up word timestamp and the channel corresponding to the wake-up word voice content.

[0065] In one embodiment of the present disclosure, Figure 8 As shown, the wake-up word sound source localization device 70 further includes: a second data extraction unit 75, configured to determine the wake-up word timestamp representing the start time point and the end time point of the wake-up word based on the wake-up word voice content in the multiple single-channel signals, and then obtain the original wake-up word signals corresponding to the multiple microphones from the original sound signal based on the wake-up word timestamp; and transform the original wake-up word signal into multiple frequency domain sound signals corresponding to the multiple microphones.

[0066] In one embodiment of the present disclosure, the separation unit 711 is further configured to perform dereverberation processing on the original sound signal; perform beamforming or blind source separation processing on the dereverberation processed original sound signal to obtain multiple intermediate signals; and perform noise suppression processing on the multiple intermediate signals respectively to obtain a multi-channel wake-up word signal.

[0067] The specific functions and operations of each module in the wake-up word sound source localization device 70 have been referred to above. Figures 1 to 6 The wake-up word sound source localization method described in detail is described in detail, so its repeated description will be omitted here.

[0068] It should be noted that the wake-up word sound source localization device 70 according to the embodiment of the present disclosure can be integrated into the electronic device 90 as a software module and / or a hardware module. In other words, the electronic device 90 can include the wake-up word sound source localization device 70. For example, the wake-up word sound source localization device 70 can be a software module in the operating system of the electronic device 90, or can be an application developed for it; of course, the wake-up word sound source localization device 70 can also be one of the many hardware modules of the electronic device 90.

[0069] In another embodiment of the present invention, the wake-up word sound source localization device 70 and the electronic device 90 may also be separate devices (for example, servers), and the wake-up word sound source localization device 70 may be connected to the electronic device 90 via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.

[0070] Exemplary Electronic Devices

[0071] Fig. 9 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig. 9 As shown, the electronic device 90 includes: one or more processors 901 and a memory 902; and computer program instructions stored in the memory 902. When the computer program instructions are executed by the processor 901, the processor 901 executes the wake-up word sound source localization method as in any of the above embodiments.

[0072] The processor 901 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0073] The memory 902 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 901 may run the program instructions to implement the steps in the wake-up word sound source localization method of each embodiment of the present disclosure described above and / or other desired functions. Information such as light intensity, compensation light intensity, and filter position may also be stored in the computer-readable storage medium.

[0074] In one example, the electronic device 90 may further include: an input device 903 and an output device 904, which are connected via a bus system and / or other forms of connection mechanisms ( Fig. 9 ) interconnected.

[0075] For example, when the electronic device is a smart home device, the input device 903 may be a microphone for collecting the user's voice. When the electronic device is a stand-alone device, the input device 903 may be a communication network connector for receiving collected input signals from an external removable device. In addition, the input device 903 may also include, for example, a keyboard, a mouse, a camera, and the like.

[0076] The output device 904 can output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and its connected remote output devices, etc.

[0077] Of course, to simplify, Fig. 9 Only some of the components related to the present disclosure in the electronic device 90 are shown, and components such as a bus, an input device / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 90 may also include any other appropriate components.

[0078] Exemplary computer program products and computer-readable storage media

[0079] In addition to the above methods and devices, embodiments of the present disclosure may also be a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the wake-up word sound source localization method of any of the above embodiments.

[0080] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0081] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, causes the processor to execute the steps of the wake-up word sound source localization method according to various embodiments of the present disclosure described in the above “Exemplary wake-up word sound source localization method” section of this specification.

[0082] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0083] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0084] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.

[0085] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0086] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0087] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

[0088] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A method for locating a wake-up word sound source, comprising: Based on the original sound signals of the multiple microphones, obtaining a multi-channel wake-up word signal including the wake-up word voice content; Based on the wake-up word voice content in the multi-channel wake-up word signal, determine a wake-up word timestamp representing a start time point and an end time point of the wake-up word, and a channel corresponding to the wake-up word voice content; as well as Determine a single-channel wake-up word signal based on the wake-up word timestamp and the channel corresponding to the wake-up word voice content; Transforming the single-channel wake-up word signal into a frequency-domain wake-up word signal; Based on the frequency domain energy values ​​of the multiple frequency points in the frequency domain corresponding to the frequency domain wake-up word signal, calculating the multiple weights corresponding to the multiple frequency points respectively, including: normalizing the frequency domain wake-up word signal to obtain a normalized value, wherein the normalization includes normalization according to amplitude or normalization according to energy; and Determine the weight corresponding to any one of the multiple frequency points in the frequency domain corresponding to the frequency domain wake-up word signal as: a ratio of the normalized value corresponding to the frequency point to the sum of the normalized values ​​corresponding to each of the multiple frequency points; wherein the multiple frequency points are selected from the sound frequency range of the user's voice; Acquiring a sound source localization result based on the multiple weights corresponding to the multiple frequency points and the multiple frequency domain sound signals corresponding to the multiple microphones, including: Calculate the cross-correlation function values ​​between the multiple frequency domain sound signals corresponding to the multiple angles based on the multiple weights corresponding to the multiple frequency points, the arrival time differences of the sound signals at the multiple angles to the multiple microphones, and the multiple frequency domain sound signals corresponding to the multiple microphones; and The angle corresponding to the maximum cross-correlation function value is used as the sound source localization result.

2. The method according to claim 1, wherein: The weight of any frequency point among the multiple frequency points is positively correlated with the frequency domain energy value of the frequency point.

3. The method according to claim 1, wherein: After determining a wake-up word timestamp representing a start time point and an end time point of the wake-up word based on the wake-up word voice content in the multiple single-channel signals, the method further includes: Acquire original wake-up word signals corresponding to the multiple microphones from the original sound signal based on the wake-up word timestamp; and The original wake-up word signal is transformed into the multiple frequency domain sound signals corresponding to the multiple microphones.

4. The method according to claim 1, wherein: The obtaining, based on the original sound signals of the multiple microphones, a multi-channel wake-up word signal including the wake-up word voice content comprises: Performing dereverberation processing on the original sound signal; Performing beamforming or blind source separation processing on the original sound signal after the dereverberation processing to obtain a plurality of intermediate signals; and The multiple intermediate signals are respectively subjected to noise suppression processing to obtain the multi-channel wake-up word signal.

5. A wake-up word sound source localization device, comprising: A first acquisition module is configured to obtain a multi-channel wake-up word signal including the wake-up word voice content based on original sound signals of multiple microphones; Based on the wake-up word voice content in the multi-channel wake-up word signal, determine a wake-up word timestamp representing a start time point and an end time point of the wake-up word, and a channel corresponding to the wake-up word voice content; as well as Determine a single-channel wake-up word signal based on the wake-up word timestamp and the channel corresponding to the wake-up word voice content; a transformation module, configured to transform the single-channel wake-up word signal into a frequency-domain wake-up word signal; The first calculation module is configured to calculate a plurality of weights respectively corresponding to the plurality of frequency points in the frequency domain corresponding to the frequency domain wake-up word signal based on the frequency domain energy values ​​of the plurality of frequency points in the frequency domain, including: normalizing the frequency domain wake-up word signal to obtain a normalized value, wherein the normalization includes normalization according to amplitude or normalization according to energy; and determining the weight corresponding to any one of the plurality of frequency points in the frequency domain corresponding to the frequency domain wake-up word signal as: a ratio of the normalized value corresponding to the frequency point to the sum of the normalized values ​​corresponding to the plurality of frequency points; the plurality of frequency points are selected from the sound frequency range of the user's voice; The second calculation module is configured to obtain a sound source localization result based on the multiple weights corresponding to the multiple frequency points and the multiple frequency domain sound signals corresponding to the multiple microphones, including: calculating the cross-correlation function values ​​between the multiple frequency domain sound signals corresponding to the sound signals at the multiple angles based on the multiple weights corresponding to the multiple frequency points, the arrival time differences of the sound signals at multiple angles to the multiple microphones, and the multiple frequency domain sound signals corresponding to the multiple microphones; and taking the angle corresponding to the largest cross-correlation function value as the sound source localization result.

6. An electronic device comprising: processor; as well as A memory, wherein computer program instructions are stored in the memory, and when the computer program instructions are executed by the processor, the processor is caused to perform the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having computer program instructions stored thereon, wherein when the computer program instructions are executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 4.