Training method of sound source localization model, sound source object localization method and related device

Through multiple rounds of iterative training, the sound source positioning model extracts the correlation between the unit content vector and the audio content vector, adjusts the position prediction vector, solves the accuracy and resource consumption problems of sound source object positioning in the existing technology, and realizes efficient sound source object position.

CN118675507BActive Publication Date: 2024-10-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411034743.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-22
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the existing technology, when locating the sound source object, the poor voice separation effect results in speech interference and information loss, and the wake word cannot be accurately recognized, thereby affecting the positioning of the sound source object, and the resource consumption is high, which reduces the positioning efficiency.

Method used

Using a sound source positioning model with multiple rounds of iterative training, by extracting the correlation between the unit content vector and the audio content vector, and adjusting the position prediction vector, the sound source object can be accurately positioned, simplifying the processing logic, and reducing resource consumption.

Benefits of technology

It improves the accuracy of sound source object positioning and resource utilization efficiency, can accurately locate sound source objects in multi-channel speech signals, and reduces the need for speech separation and noise reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675507B_ABST
    Figure CN118675507B_ABST
Patent Text Reader

Abstract

This application relates to the field of data processing technology, and in particular to a training method for a sound source localization model, a sound source object localization method, and related apparatus. In the model training process, the method is as follows: taking one iteration as an example, for each articulation unit contained in the sample wake word, the unit content vector is extracted, and based on the multi-channel sample audio signal, a position prediction vector and an audio content vector are extracted; then, based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted to obtain the sound source position indication vector for each articulation unit, and based on each sound source position indication vector, the predicted position of the sound source object is determined; subsequently, based on the difference between the prediction results and the position labels, the model parameters are adjusted. In this way, the system can learn the ability to localize sound source objects at arbitrary candidate positions based on multi-channel sample speech signals and the included sample wake words, and can significantly improve the localization accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Under the existing technology, in order to accurately respond to the voice needs of objects at different positions, it is necessary to locate the sound source object of the voice triggering candidate wake-up word.

[0003] For example, in a vehicle environment, in order to meet the operational requirements of objects in different seats, the vehicle-mounted device can perform a positioning response to the sound source object after the sound source object voice expresses the wake-up word.

[0004] At present, when locating the sound source object, the multi-channel audio signal is usually first separated from the speech and noise suppressed according to the preset candidate positions, and then the wake-up word recognition models preset for each candidate position are used to identify the audio signals belonging to different candidate positions, and the candidate position corresponding to the audio signal containing the candidate wake-up word in the content is determined as the positioning position of the sound source object.

[0005] However, this positioning method is greatly affected by the effect of speech separation. Once the speech content is not completely separated, the audio signal of a candidate position will include speech interference from other positions. Moreover, important speech information is likely to be lost in the audio signal after noise reduction, making it impossible to effectively recognize the wake-up word, resulting in the inability to locate the sound source object, and then unable to accurately respond to the needs of the sound source object. In addition, using multiple wake-up word recognition models for processing requires a lot of processing resources, thereby reducing resource utilization. Summary of the invention

[0006] The embodiments of the present application provide a sound source localization model training method, a sound source object localization method and related devices, which are used to achieve accurate localization of the sound source object while reducing resource consumption.

[0007] In the first aspect, a method for training a sound source localization model is proposed, wherein the constructed initial sound source localization model is trained for multiple rounds of iterations using various training samples, wherein in one round of iterations, the following operations are performed:

[0008] Reading a training sample; the training sample includes: a multi-channel sample audio signal with a sample wake-up word marked, and a corresponding position tag;

[0009] For each pronunciation unit contained in the sample wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel sample audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of each collected object are extracted; the position prediction vector is used to describe the spatial position corresponding to at least one collected object with speech expression;

[0010] Based on the correlation between each unit content vector and the audio content vector, the position prediction vectors are adjusted respectively to obtain the sound source position indication vectors of the corresponding pronunciation units, and based on the obtained sound source position indication vectors, the predicted position of the sound source object of the sample wake-up word is determined;

[0011] Based on the resulting differences between the predicted locations and the corresponding location labels, model parameters are adjusted.

[0012] In a second aspect, a sound source object localization method is proposed, comprising:

[0013] Obtain the multi-channel audio signal collected by the audio collection component;

[0014] When a target wake-up word that successfully matches each preset candidate wake-up word is identified based on the multi-channel audio signal, the trained target sound source localization model is used to perform the following operations:

[0015] For each pronunciation unit contained in the target wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of the collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to each of at least one collected object having voice expression;

[0016] Based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on the obtained sound source position indication vectors, the positioning position of the sound source object of the target wake-up word is determined.

[0017] In a third aspect, a training device for a sound source localization model is proposed, the device comprising: a training unit, configured to use each training sample to perform multiple rounds of iterative training on the constructed initial sound source localization model, wherein in one round of iteration, the following operations are performed:

[0018] Reading a training sample; the training sample includes: a multi-channel sample audio signal with a sample wake-up word marked, and a corresponding position tag;

[0019] For each pronunciation unit contained in the sample wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel sample audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of each collected object are extracted; the position prediction vector is used to describe the spatial position corresponding to at least one collected object with speech expression;

[0020] Based on the correlation between each unit content vector and the audio content vector, the position prediction vectors are adjusted respectively to obtain the sound source position indication vectors of the corresponding pronunciation units, and based on the obtained sound source position indication vectors, the predicted position of the sound source object of the sample wake-up word is determined;

[0021] Based on the resulting differences between the predicted locations and the corresponding location labels, model parameters are adjusted.

[0022] Optionally, a multi-channel sample audio signal in a training sample is obtained by a simulation unit in the device in the following manner:

[0023] A target impulse response is selected from each multi-channel impulse response associated with a tag position; wherein a multi-channel impulse response includes: response results of an impulse signal sent from a tag position, which are respectively simulated and determined for a plurality of audio collection positions preset in a sound source localization scenario; a tag position is selected from each candidate position of a sound source object in the sound source localization scenario;

[0024] A single-channel audio signal expressing a sample wake-up word is obtained, and based on the single-channel audio signal and the target impulse response, a corresponding multi-channel sample audio signal is simulated.

[0025] Optionally, the simulating unit is used to obtain a corresponding multi-channel sample audio signal based on the single-channel audio signal and the target multi-channel impulse response:

[0026] Convolutionally fuse the target impulse response with the single-channel audio signal to obtain a multi-channel analog audio signal;

[0027] The multi-channel analog audio signal is determined as a multi-channel sample audio signal.

[0028] Optionally, after the simulation obtains the corresponding multi-channel sample audio signal, the simulation unit processes the multi-channel sample audio signal by using any one or a combination of the following noise adding methods:

[0029] superimposing the collected multi-channel environmental noise on the multi-channel sample audio signal;

[0030] Constructing a multi-channel interference signal having the same total number of channels as the multi-channel sample audio signal, and superimposing the multi-channel interference signal on the multi-channel sample audio signal;

[0031] Phase delay processing is performed on the multi-channel sample audio signal according to the phase delay degrees respectively preset for the corresponding multiple channels.

[0032] Optionally, when configuring a corresponding interference signal for each single-channel sample audio signal included in the multi-channel audio signal, the simulation unit performs any one of the following operations:

[0033] An interference position is selected in each label position, and a multi-channel impulse response at the interference position is obtained, and based on the multi-channel impulse response at the interference position and a single-channel audio signal without expressing a sample wake-up word, a corresponding multi-channel interference signal is simulated;

[0034] According to the distribution of the multiple audio collection positions, corresponding signal-to-noise ratios are respectively configured for the multiple channels in the multi-channel sample audio signal, and the corresponding multi-channel interference signal is obtained based on the signal-to-noise ratios corresponding to the multiple channels and the preset basic signal.

[0035] Optionally, when extracting corresponding unit content vectors for each pronunciation unit included in the sample wake-up word, the training unit is used to:

[0036] Analyze and determine each pronunciation unit contained in the sample wake-up word, and encode each pronunciation unit to obtain a corresponding initial vector;

[0037] A self-attention mechanism is used to capture the correlation between the initial vectors, and obtain the unit content vectors respectively determined corresponding to the pronunciation units.

[0038] Optionally, when extracting the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of each collected object based on the multi-channel sample audio signal, the training unit is used to:

[0039] Based on the multi-channel sample audio signal, extracting a content description vector representing the speech content and extracting a position description vector representing the spatial position of each collected object;

[0040] Superimposing the content description vector and the position description vector mapped to the same vector space to obtain a comprehensive information vector;

[0041] Based on the comprehensive information vector, a position prediction vector integrated with the audio content information is extracted, and an audio content vector integrated with the position information of the collected object is proposed.

[0042] Optionally, when determining the predicted position of the sound source object of the sample wake-up word based on each sound source position indication vector obtained, the training unit is used to:

[0043] Based on the obtained sound source position indication vectors, vector mapping processing is performed respectively to obtain a mapping position and a corresponding prediction probability, wherein the mapping position is a target position whose prediction probability satisfies a first preset condition after obtaining the prediction probability under each candidate position;

[0044] The mapping position whose corresponding total number of occurrences satisfies the second preset condition is used as the predicted position determined for the sound source object of the sample wake-up word.

[0045] In a fourth aspect, a sound source object localization device is provided, comprising:

[0046] An acquisition unit, used to acquire a multi-channel audio signal acquired by an audio acquisition component;

[0047] The positioning unit is used to identify the target wake-up word that successfully matches each preset candidate wake-up word based on the multi-channel audio signal, and use the trained target sound source positioning model to perform the following operations:

[0048] For each pronunciation unit contained in the target wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of the collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to each of at least one collected object having voice expression;

[0049] Based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on the obtained sound source position indication vectors, the positioning position of the sound source object of the target wake-up word is determined.

[0050] Optionally, after determining the location of the sound source object of the target wake-up word, the device further includes a processing unit, and the processing unit is used to:

[0051] Generate a corresponding response voice according to the location of the sound source object, and play the response voice to the sound source object;

[0052] The audio content continuously collected for the sound source object at the positioning position is obtained, and based on the audio content, a processing instruction of the sound source object and a targeted controlled device are analyzed and determined, and based on the processing instruction, the controlled device associated with the sound source object is processed.

[0053] Optionally, after processing the controlled device associated with the sound source object, the processing unit is further configured to:

[0054] Generate a prompt voice indicating that the processing is completed, and play the prompt voice to the sound source object;

[0055] The multi-channel audio signal that the audio collection component continues to collect is obtained, and matching processing with each candidate wake-up word is performed based on the multi-channel audio signal that continues to be collected.

[0056] Optionally, when extracting corresponding unit content vectors for each pronunciation unit included in the target wake-up word, the positioning unit is used to:

[0057] Analyze and determine each pronunciation unit contained in the target wake-up word, and encode each pronunciation unit to obtain a corresponding initial vector;

[0058] A self-attention mechanism is used to capture the correlation between the initial vectors, and obtain the unit content vectors respectively determined corresponding to the pronunciation units.

[0059] Optionally, when extracting the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of each collected object based on the multi-channel audio signal, the positioning unit is used to:

[0060] Based on the multi-channel sample audio signal, extracting a content description vector representing the speech content and extracting a position description vector representing the spatial position of the collected object;

[0061] The content description vector and the position description vector mapped to the same vector space are superimposed to obtain a comprehensive information vector, and based on the comprehensive information vector, a position prediction vector fused with audio content information is extracted, and an audio content vector fused with the position information of each collected object is extracted.

[0062] Optionally, when determining the location of the sound source object of the target wake-up word based on each obtained sound source position indication vector, the positioning unit is used to:

[0063] Based on the obtained sound source position indication vectors, vector mapping processing is performed respectively to obtain a mapping position and a corresponding prediction probability, wherein the mapping position is a target position whose prediction probability satisfies a first preset condition after obtaining the prediction probability under each candidate position;

[0064] The mapping position whose corresponding total number of occurrences meets the second preset condition is used as the predicted position determined for the sound source object of the target wake-up word.

[0065] In a fifth aspect, an electronic device is proposed, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.

[0066] In a sixth aspect, a computer-readable storage medium is proposed, on which a computer program is stored, and the computer program implements the above method when executed by a processor.

[0067] In a seventh aspect, a computer program product is proposed, comprising a computer program, wherein the computer program implements the above method when executed by a processor.

[0068] The beneficial effects of this application are as follows:

[0069] The present application proposes a training method for a sound source localization model, a sound source localization method and a related device. In the process of training to obtain the sound source localization model, each training sample is used to perform multiple rounds of iterative training on the constructed initial sound source localization model, wherein in one round of iteration, the following operations are performed: reading the training sample, wherein the training sample includes: a multi-channel sample audio signal with a sample wake-up word annotated, and a corresponding position label; then for each pronunciation unit contained in the sample wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel sample audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of a collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to at least one collected object with speech expression; then, based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on each obtained sound source position indication vector, the predicted position of the sound source object of the sample wake-up word is determined; then based on the result difference between the predicted position and the corresponding position label, the model parameters are adjusted.

[0070] In this way, during the training process of the initial sound source localization model, by establishing a correlation relationship between each unit content vector and the audio content vector, the vector position with a high correlation with the corresponding unit content vector can be determined in the audio content vector; then, the position prediction vector fused with the audio content information is adjusted according to the correlation relationship, and the sound source position indication vector representing the position of the sound source object corresponding to the corresponding pronunciation unit can be determined from the perspective of each pronunciation unit; then, based on each sound source position indication vector, the predicted position of the sound source object can be mapped and determined, which converts the sound source object positioning problem into a position mapping for each speech unit expressed by the sound source object. Moreover, in the overall training process, the vector extraction process and the position prediction process are trained synchronously, and the training goal is the accuracy of the predicted position, which realizes end-to-end modeling of the positioning process and helps to obtain better model training effects; in addition, in the overall training process, multi-channel sample audio data can be directly processed without the need for position separation and noise reduction of the multi-channel sample audio data, which simplifies the processing logic of the positioning process, so that the ability to locate the sound source object at any candidate position based on the multi-channel sample voice signal and the included sample wake-up words can be learned, and the positioning accuracy can be greatly improved.

[0071] In the process of locating the sound source object, a multi-channel audio signal collected by the audio collection component is first obtained; then, when the target wake-up word that successfully matches the preset candidate wake-up words is identified based on the multi-channel audio signal, the trained target sound source positioning model is used to perform the positioning processing of the sound source object, so that the trigger condition of the sound source positioning process is that the voice expression of the candidate wake-up word is detected in the multi-channel audio signal; and when the target sound source positioning model is used for specific processing, the following operations are performed: for each pronunciation unit contained in the target wake-up word, the corresponding unit content vector is extracted, and based on the multi-channel audio signal, a position prediction vector fused with audio content information and an audio content vector fused with the position information of the collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to at least one collected object with voice expression; further, based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on each obtained sound source position indication vector, the positioning position of the sound source object of the target wake-up word is determined.

[0072] In this way, on the one hand, the target sound source localization model can be used to locate the sound source object at the appropriate processing time, so that under the awakening of the target wake-up word, the sound source object of the voice expression of the target wake-up word can be accurately located; on the other hand, when determining the corresponding sound source position indication vector for each pronunciation unit, the overall extracted position prediction vector is adaptively adjusted based on the correlation relationship between the unit content vector corresponding to the pronunciation unit and the audio content vector that is integrated with the position information of the collected object. For each pronunciation unit, a sound source position indication vector describing the corresponding sound source object position can be obtained. Therefore, the position of the sound source object can be predicted from the perspective of each pronunciation unit expressing the sound source object, thereby improving the accuracy of the sound source object localization process; moreover, with the help of the excellent processing performance of the target sound source localization model, the amount of resources consumed in the sound source object localization process can be reduced, and the resource utilization efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 A schematic diagram of the positioning process of a sound source object in the related art in an embodiment of the present application;

[0074] Figure 2 A schematic diagram of possible application scenarios in the embodiments of the present application;

[0075] Figure 3A Schematic diagram of the model structure of the sound source localization model in the embodiment of the present application;

[0076] Figure 3B A schematic diagram of a space model constructed by simulation in an embodiment of the present application;

[0077] Figure 3C A schematic diagram of a training process of a sound source localization model in an embodiment of the present application;

[0078] Figure 4A This is a schematic diagram of the positioning process of the sound source object in the embodiment of the present application;

[0079] Figure 4B This is a schematic diagram of the model processing process in the embodiment of the present application;

[0080] Figure 5 A schematic diagram of a vector change process in the process of locating a sound source object in an embodiment of the present application;

[0081] Figure 6 This is a schematic diagram of the change of feature dimensions within the target sound source localization model in the embodiment of the present application;

[0082] Figure 7 A schematic diagram of the logical structure of a training device for a sound source localization model in an embodiment of the present application;

[0083] Figure 8 This is a schematic diagram of the logical structure of the sound source object positioning device in the embodiment of the present application;

[0084] Fig. 9 A schematic diagram of the hardware structure of an electronic device to which the present invention is applied;

[0085] Fig.10 The present invention is a schematic diagram of the hardware structure of another electronic device to which the embodiments of the present application are applied. DETAILED DESCRIPTION

[0086] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.

[0087] The terms "first", "second", etc. in the specification and claims of this application 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 numbers used in this way can be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.

[0088] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0089] Some of the terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.

[0090] Direction of arrival (DOA) of a speech signal: usually refers to the angle of a sound source object (or sound source) relative to an audio acquisition device (such as a microphone (mic)) used to collect its audio signal; in an embodiment of the present application, the sound source object positioning performed can also be understood as the DOA prediction of the sound source object. Specifically, the predicted DOA can be learned by training an initial sound source positioning model; at this time, each candidate position determined for the sound source object is specifically various possible spatial angles of the sound source object relative to its corresponding mic, and the predicted spatial angle can reflect the spatial position of the corresponding sound source object in the positioning environment.

[0091] Direction confidence: also known as prediction probability, is used to evaluate the position matching score of the sound source object at each candidate position determined by the mapping of each position indicator vector; specifically, taking the processing based on a position indicator vector as an example, the position indicator vector determined for a speech unit can be mapped within the model to obtain the prediction probability at each candidate position.

[0092] Sound source object: In the embodiment of the present application, the object that voice expresses the wake-up word is called a sound source object; it should be noted that, based on the actual processing situation, the present application defaults to having at most one sound source object that voice expresses the candidate wake-up word at the same time.

[0093] Collected object: refers to the object whose audio signal is collected, that is, the object with voice expression collected by the audio collection component in the space where the audio collection component is deployed; among them, the sound source object can be regarded as a collected object.

[0094] Candidate wake-up word: In the embodiment of the present application, it refers to a preset word that can evoke a targeted response from the control device.

[0095] Front-end and back-end joint modeling: refers to using a common objective function to simultaneously optimize model parameters of the voice front-end model and the voice back-end model. The voice front-end refers to the feature vector extraction process, and the voice back-end is the positioning prediction process.

[0096] Impulse response: refers to the response to a unit impulse signal.

[0097] The following is a brief introduction to the design concept of the embodiment of the present application:

[0098] Under the existing technology, in order to accurately respond to the voice needs of objects at different positions, it is necessary to locate the sound source object of the voice triggering candidate wake-up word.

[0099] For example, in a vehicle environment, in order to meet the operational requirements of objects in different seats, the vehicle-mounted equipment can locate and respond to the sound source object after the sound source object voice expresses the wake-up word, and process the processing requirements of the sound source object in a targeted manner.

[0100] At present, when locating the sound source object, the audio signal of the collected object from each candidate position is usually obtained first by multiple fixed microphones, and then the acoustic front end separates and noise-reduces the collected multi-channel audio signal according to the preset candidate positions to obtain the audio signal corresponding to each candidate position; then, the wake-up word recognition model preset for each candidate position is used to determine whether the corresponding audio signal includes the preset candidate wake-up word, and the candidate position corresponding to the wake-up word recognition model that detects the candidate wake-up word is used as the positioning position of the sound source object.

[0101] See also Figure 1 As shown, it is a schematic diagram of the localization process of the sound source object under the relevant technology in the embodiment of the present application. After the speech separation front end (i.e., the acoustic front end) obtains the multi-channel audio signal (or multi-channel speech signal), assuming that the preset candidate directions (or candidate positions) are N, the audio signals of each direction are separated from the multi-channel audio signal respectively; then, the wake-up word recognition models corresponding to each candidate direction are used to synchronously perform wake-up word recognition on the audio signals of the N candidate directions, and the wake-up word recognition results corresponding to each candidate direction are obtained; further, the post-processing logic is used, and according to the N wake-up word recognition results, the candidate direction corresponding to the wake-up word recognition model that identifies the candidate wake-up word is determined as the localization direction of the sound source object.

[0102] However, this processing method is extremely dependent on the performance of the acoustic front-end. Once the acoustic front-end fails to completely separate the audio signals of different candidate positions, the audio signal at one candidate position will include audio interference from other candidate positions, so that after being processed by the wake-up word recognition model, multiple positioning positions are determined for one sound source object. Therefore, in the post-processing logic, it is necessary to further combine the audio energy and acoustic score for reprocessing to obtain the final positioning position, which greatly reduces the positioning efficiency of the sound source object. Moreover, since it is necessary to start multiple wake-up word recognition models for processing, the consumption of processing resources is increased. In addition, In order to improve the response speed, it is usually necessary to downgrade the performance of the wake-up word recognition model, which greatly affects the model recognition accuracy; in addition, since the optimization goal of the acoustic front-end is to only include the voice of one collected object in terms of "listening sense", the high-frequency and low-frequency content will be processed in the audio signals at each candidate position obtained by separation, so that specific frequency bands are suppressed, resulting in the processed audio signal being unable to meet the recognition needs of the wake-up word recognition model, so the wake-up word cannot be effectively recognized, and then the sound source object cannot be located, and it is even more impossible to accurately respond to the needs of the sound source object and guarantee the recognition effect of the model.

[0103] In view of this, the present application proposes a training method for a sound source localization model, a sound source localization method and related devices. In the process of training the sound source localization model, each training sample is used to perform multiple rounds of iterative training on the constructed initial sound source localization model, wherein in one round of iteration, the following operations are performed: reading the training sample, wherein the training sample includes: a multi-channel sample audio signal with a sample wake-up word annotated, and a corresponding position label; then for each pronunciation unit contained in the sample wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel sample audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of a collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to at least one collected object with speech expression; then, based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on each obtained sound source position indication vector, the predicted position of the sound source object of the sample wake-up word is determined; then based on the result difference between the predicted position and the corresponding position label, the model parameters are adjusted.

[0104] In this way, during the training process of the initial sound source localization model, by establishing a correlation relationship between each unit content vector and the audio content vector, the vector position with a high correlation with the corresponding unit content vector can be determined in the audio content vector; then, the position prediction vector fused with the audio content information is adjusted according to the correlation relationship, and the sound source position indication vector representing the position of the sound source object corresponding to the corresponding pronunciation unit can be determined from the perspective of each pronunciation unit; then, based on each sound source position indication vector, the predicted position of the sound source object can be mapped and determined, which converts the sound source object positioning problem into a position mapping for each speech unit expressed by the sound source object. Moreover, in the overall training process, the vector extraction process and the position prediction process are trained synchronously, and the training goal is the accuracy of the predicted position, which realizes end-to-end modeling of the positioning process and helps to obtain better model training effects; in addition, in the overall training process, multi-channel sample audio data can be directly processed without the need for position separation and noise reduction of the multi-channel sample audio data, which simplifies the processing logic of the positioning process, so that the ability to locate the sound source object at any candidate position based on the multi-channel sample voice signal and the included sample wake-up words can be learned, and the positioning accuracy can be greatly improved.

[0105] In the process of locating the sound source object, a multi-channel audio signal collected by the audio collection component is first obtained; then, when the target wake-up word that successfully matches the preset candidate wake-up words is identified based on the multi-channel audio signal, the trained target sound source positioning model is used to perform the positioning processing of the sound source object, so that the trigger condition of the sound source positioning process is that the voice expression of the candidate wake-up word is detected in the multi-channel audio signal; and when the target sound source positioning model is used for specific processing, the following operations are performed: for each pronunciation unit contained in the target wake-up word, the corresponding unit content vector is extracted, and based on the multi-channel audio signal, a position prediction vector fused with audio content information and an audio content vector fused with the position information of the collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to at least one collected object with voice expression; further, based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on each obtained sound source position indication vector, the positioning position of the sound source object of the target wake-up word is determined.

[0106] In this way, on the one hand, the target sound source localization model can be used to locate the sound source object at the appropriate processing time, so that under the awakening of the target wake-up word, the sound source object of the voice expression of the target wake-up word can be accurately located; on the other hand, when determining the corresponding sound source position indication vector for each pronunciation unit, the overall extracted position prediction vector is adaptively adjusted based on the correlation relationship between the unit content vector corresponding to the pronunciation unit and the audio content vector that is integrated with the position information of the collected object. For each pronunciation unit, a sound source position indication vector describing the corresponding sound source object position can be obtained. Therefore, the position of the sound source object can be predicted from the perspective of each pronunciation unit expressing the sound source object, thereby improving the accuracy of the sound source object localization process; moreover, with the help of the excellent processing performance of the target sound source localization model, the amount of resources consumed in the sound source object localization process can be reduced, and the resource utilization efficiency can be improved.

[0107] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments of the present application and the features in the embodiments may be combined with each other if there is no conflict.

[0108] See also Figure 2 As shown, it is a schematic diagram of a possible application scenario in an embodiment of the present application. The schematic diagram of the application scenario includes a controlled device 210 and a control device 220.

[0109] In some feasible embodiments of the present application, the control device 220 can receive in real time a multi-channel audio signal collected by an audio collection component in a target space, wherein the audio collection component may include multiple microphones; one microphone can collect an audio signal of one channel; the target space includes preset candidate positions, and the total number of microphones included in the audio collection component can be the same as or different from the total number of candidate positions, and the present application does not impose any specific restrictions on this. Furthermore, when the control device 220 determines that the multi-channel audio signal includes a target wake-up word that successfully matches the preset candidate wake-up words in the process of real-time wake-up word recognition of the received multi-channel audio signal, it starts to locate the sound source object for the multi-channel audio signal containing the target wake-up word.

[0110] In some other feasible embodiments of the present application, after completing the positioning of the sound source object, the control device 220 can make a targeted response to the sound source object at the positioned position, and adjust the controlled device 210 associated with the sound source object according to further instructions of the sound source object.

[0111] The controlled devices 210 include but are not limited to mobile phones, tablet computers, notebooks, e-book readers, intelligent voice interaction devices, smart home appliances, vehicle-mounted functional devices (such as display screens, switch devices for controlling window switches), aircraft, etc.

[0112] The control device 220 includes but is not limited to mobile phones, tablet computers, notebooks, e-book readers, intelligent voice interaction devices, master control devices deployed in smart home systems, vehicle-mounted terminals, aircraft, etc.; or, it can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0113] In the embodiment of the present application, the controlled device 210 and the control device 220 can communicate via a wired network or a wireless network. The following description only describes the training process of the sound source localization model and the sound source object localization process from the perspective of the control device 220.

[0114] The following is a schematic illustration of possible sound source object localization scenarios:

[0115] Application scenario 1: In a car environment, determine the seat position of the sound source object that triggers the wake-up word.

[0116] The control device can preset each candidate position (such as the main driver, the co-driver, the left rear passenger and the right rear passenger) according to the vehicle environment. Multiple microphones are deployed in the vehicle in a compact or separate manner; then, according to actual processing needs, the control device can collect audio signals from the passengers at each candidate position, and according to actual processing needs, when it is determined that the collected multi-channel audio signal includes the target wake-up word, the sound source object that triggers the target wake-up word is located based on the multi-channel audio signal, and the location of the sound source object is determined.

[0117] Furthermore, a targeted reply is made to the sound source object at the localized position, a targeted response to the audio signal at the localized position is activated, and according to the processing indication of the sound source object, the controllable device associated with the localized position of the sound source object is adjusted.

[0118] For example, after the control device detects that the front passenger passenger triggers the target wake-up word, it can control the speaker to issue a reply of "Hello, front passenger", and then respond specifically to the front passenger passenger's further processing instructions.

[0119] Application scenario 2: In a smart home scenario, determine the home location of the sound source object that triggers the wake-up word.

[0120] The control device can preset candidate locations (such as the living room area, the master bedroom area, the second bedroom area, and the kitchen area) for the smart home environment. Then, according to actual processing needs, the control device can collect audio signals for the users at each candidate location, and can determine, according to actual processing needs, when the collected multi-channel audio signal includes a target wake-up word, locate the sound source object that triggers the target wake-up word based on the multi-channel audio signal, and determine the location of the sound source object.

[0121] Furthermore, a targeted reply is made to the sound source object at the located position, and a targeted response to the audio signal at the located position is activated, and according to the processing indication of the sound source object, the smart home device associated with the located position of the sound source object is adjusted.

[0122] Application scenario three: In the security maintenance scenario, determine the area where the sound source object that triggers the wake-up word is located.

[0123] The control device can preset candidate locations (such as venue A, venue B, venue C, etc.) according to the security maintenance environment; then, according to actual processing needs, the control device can collect audio signals from the security maintenance personnel in each candidate location, and can determine that when the collected multi-channel audio signal includes the target wake-up word, it can be determined that the security maintenance personnel in a certain venue area has triggered the target wake-up word, and then, based on the multi-channel audio signal, the sound source object that triggers the target wake-up word is located to determine the location of the sound source object.

[0124] Furthermore, a targeted reply is given to the sound source object at the located position, a targeted response to the audio signal at the located position is activated, and according to the instructions of the sound source object, the controllable devices in the venue area where the sound source object is located are adjusted.

[0125] In addition, it should be understood that in the specific implementation of the present application, it involves the positioning of sound source objects and the training of sound source positioning models. When the embodiments recorded in this application are applied to specific products or technologies, the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0126] The following is a description of the training process of the sound source localization model from the perspective of the control device in conjunction with the accompanying drawings:

[0127] See also Figure 3A As shown in FIG. 1 , which is a schematic diagram of the model structure of the sound source localization model in the embodiment of the present application, Figure 3A, the model structure of the constructed initial sound source localization model is explained:

[0128] According to the attached Figure 3A From the model structure shown in the figure, it can be seen that the constructed initial sound source localization model includes: a two-dimensional multi-channel convolutional network, a speech recognition encoder network, a speech feature extraction encoder network, a speech unit encoding network, a self-attention network, an attention network, and each fully connected layer, among which,

[0129] Two-dimensional multi-channel convolutional network: It can realize the extraction of beam features; during the training process, it is used to extract comprehensive multi-channel information based on multi-channel sample audio signals to obtain mixed audio vectors.

[0130] Speech recognition encoder network: used to extract features from speech content based on mixed audio vectors to obtain content description vectors. The network structure used can be a factorized sparse matrix network (FSMN); or a long short-term memory network (LSTM); or a sequence model network that combines the advantages of a transformer network (Transformer) and a convolutional neural network (CNN). Among them, according to actual processing needs, the speech recognition encoder network in the initial sound source localization model can be obtained after pre-training.

[0131] Speech feature extraction encoder network: used to extract the position description vector representing the spatial position of the collected object based on the mixed audio vector; the network structure adopted can specifically be a two-dimensional convolutional network, among which, according to actual processing needs, the speech recognition encoder network in the initial sound source localization model constructed can be obtained after initialization.

[0132] Speech unit encoding network: During the training process, it is used to extract the corresponding unit content vector for each pronunciation unit included in the sample wake-up word. The network structure used can be: encoding network + self-attention network; or, only the encoding network can be used for processing, and this application does not make specific restrictions on this.

[0133] Attention network: refers to a network built with the help of attention mechanism.

[0134] Self-attention network: refers to a network built with the help of the self-attention mechanism, such as the network built with the help of the self-attention mechanism in Transformer.

[0135] The following is a description of the process of training the sound source localization model in conjunction with the accompanying drawings:

[0136] In the embodiments of the present application, only an example is given for schematic illustration in which the control device self-trains the initial sound source localization model to obtain the target sound source localization model. During the training of the initial sound source localization model, the control device first constructs each training sample, and then performs multiple rounds of iterative training on the constructed initial sound source localization model based on each training sample until a preset convergence condition is met to obtain the trained target sound source localization model, wherein the preset convergence condition may be: the number of training rounds reaches a first set value, or the model loss value calculated after a single round of training is continuously lower than the second set value for a number of times that reaches a third set value; the first set value, the second set value, and the third set value are set according to actual processing needs, and the present application does not impose any specific restrictions on this.

[0137] The following is an explanation of the construction process of each training sample:

[0138] It should be noted that in the embodiments of the present application, taking into account the influence of the difference in the number of audio acquisition devices, multi-channel audio signals are difficult to obtain in practice, and thus it is impossible to flexibly construct corresponding training samples corresponding to each application scenario. Therefore, the present application can adopt an offline simulation method to construct a multi-channel sample audio signal, and construct a training sample based on the simulated multi-channel sample audio signal to perform model training; during the simulation process, it is necessary to record the emission position of the sound source signal (i.e., the impulse signal) as the position label in the corresponding generated training sample.

[0139] In the embodiment of the present application, for each constructed training sample, each training sample includes: a multi-channel sample audio signal with a sample wake-up word marked, and a position label corresponding to the multi-channel sample audio signal.

[0140] When constructing a multi-channel sample audio signal, the control device needs to determine the total number of audio acquisition devices (such as the total number of microphones) that can collect audio signals in combination with the specific application scenarios of the trained target sound source localization model, and then determine the total number of multiple channels based on the total number of audio acquisition devices. In addition, it should be noted that since the analysis of audio signals is usually performed in the frequency domain, the time domain signal needs to be converted into a frequency domain signal before processing with the help of the model; based on this, it should be clear that a microphone can collect a time domain audio signal of one channel, and after processing the time domain audio signal of one channel through Fast Fourier Transform, two channels of frequency domain signals can be obtained, wherein, considering that the frequency domain signal is usually in complex form, the frequency domain signals of the two channels represent the real content and imaginary content obtained based on the conversion of a time domain signal.

[0141] Based on this, according to actual processing needs, the multi-channel sample audio signal included in each training sample constructed can be a multi-channel time domain audio signal, or the multi-channel sample audio signal included in each training sample can be a multi-channel frequency domain audio signal. This application does not impose any specific restrictions on this.

[0142] Taking the construction of a multi-channel sample audio signal in a training sample as an example, the control device can select a target impulse response from each multi-channel impulse response associated with a label position respectively; wherein a multi-channel impulse response includes: the response results of the impulse signal sent from a label position, which are simulated and determined respectively for multiple audio collection positions preset in the sound source positioning scenario; a label position is selected from the candidate positions of the sound source object in the sound source positioning scenario; and then a single-channel audio signal expressing a sample wake-up word is obtained, and based on the single-channel audio signal and the target impulse response, the corresponding multi-channel sample audio signal is simulated.

[0143] It should be noted that, in the embodiment of the present application, in order to simulate the influence of the audio acquisition component on the audio signals at different candidate positions, so that the training samples can be flexibly constructed according to the actual sample generation needs, the control device needs to pre-construct each multi-channel impulse response associated with the label position. Specifically, when constructing each multi-channel impulse response, the control device can first simulate and construct the corresponding spatial model according to the specific business scenario when locating the sound source object, and simulate the possible candidate positions and the audio acquisition positions corresponding to each audio acquisition device; then, for each candidate position, the following operations are performed respectively: an impulse signal is sent at the candidate position, and a multi-channel impulse response is obtained based on the impulse response results at each audio acquisition position, and then a multi-channel impulse response with the candidate position as the label position is obtained.

[0144] For example, see Figure 3B As shown, it is a schematic diagram of the space model constructed by simulation in the embodiment of the present application. It is assumed that the actual sound source object positioning scenario is: positioning the sound source object in a car carrying 4 people. Based on this, the vehicle space can be simulated by constructing a cuboid, and then the 4 seat positions can be used as candidate positions. When selecting the candidate position, the candidate position can be selected as the upper part of the seat; at the same time, the audio collection positions can be marked in the vehicle space according to the deployment method and deployment position of the microphone in the actual vehicle. The deployment method of each microphone can be compact deployment or separate deployment, and the present application does not make specific restrictions on this.

[0145] Furthermore, according to the actual needs of generating training samples, after the control device selects a target impulse response for constructing a training sample from each multi-channel impulse response, in the process of simulating the corresponding multi-channel sample audio signal based on a single-channel audio signal and the target impulse response, the control device can convolute and fuse the target impulse response with a single-channel audio signal to obtain a multi-channel simulated audio signal; and then determine the multi-channel simulated audio signal as a multi-channel sample audio signal.

[0146] It should be noted that when the multi-channel analog audio signal is a time domain signal, after convolution fusion processing, a multi-channel time domain audio signal can be directly obtained. Then, according to actual processing needs, the multi-channel time domain audio signal can be processed to obtain a multi-channel sample audio signal, wherein the multi-channel sample audio signal can be a time domain signal or a frequency domain signal, and this application does not impose specific restrictions on this. Specifically, when the constructed multi-channel sample audio signal is specifically a time domain signal, the multi-channel analog audio signal in the form of a time domain signal can be directly used as a multi-channel sample audio signal; similarly, when the constructed multi-channel sample audio signal is specifically a frequency domain signal, it is necessary to process the multi-channel analog audio signal to finally obtain a multi-channel sample audio signal.

[0147] In addition, the selected single-channel audio signal contains a voice expression for a wake-up word. Then, based on the single-channel audio signal and in combination with the selected target impulse response, after simulating the corresponding multi-channel sample audio signal, the wake-up word can be used as a sample wake-up word determined based on the multi-channel sample audio signal, and the position label corresponding to the selected target impulse response can be used as a position label associated with the multi-channel sample audio signal; then, based on the multi-channel sample audio signal and its associated position label and sample wake-up word, a corresponding training sample is constructed.

[0148] In this way, a multi-channel sample audio signal is obtained by convolutionally fusing a single-channel audio signal with a selected target impulse response. With the help of the multi-channel sample audio signal, the reception situation of each audio acquisition position for a single-channel audio signal emitted at a candidate position can be simulated, thereby realizing flexible construction of the multi-channel sample audio signal used for training and improving the construction efficiency of training samples.

[0149] Similarly, the processing device can construct multiple training samples based on each single-channel audio signal expressing the wake-up word and each multi-channel impulse response, where the wake-up words included in different single-channel audio signals may be different; the total number of each multi-channel impulse response is the same as the total number of candidate positions preset according to the actual application scenario.

[0150] In this way, by constructing a corresponding multi-channel impulse response for each candidate position, the signal reception situation at each audio collection position can be concretely described for each candidate position with the help of the response situation at each audio collection position obtained by simulation; then, under the action of the selected target impulse response, the reception situation of each audio collection position for a single-channel audio signal can be simulated, so as to flexibly determine the multi-channel sample audio signal, and can construct suitable training samples according to any actual application scenario, which greatly reduces the difficulty of constructing training samples.

[0151] Optionally, in an embodiment of the present application, considering that in an actual business scenario, more than one sound source object expressing the sample wake-up word may be performing speech expression at the same time, and other collected objects in the same space may also be performing speech expression, and the collected audio signal will inevitably be affected by the surrounding environmental noise. In view of this, in order to make the constructed multi-channel sample audio signal closer to the actual collection scenario, it is necessary to perform noise processing on the multi-channel sample audio signal.

[0152] In the specific processing process, the control device may adopt any one or a combination of the following noise adding methods, and after simulating and obtaining a multi-channel sample audio signal in a training sample, perform noise adding processing on the multi-channel sample audio signal:

[0153] Noise adding method 1: superimpose environmental noise.

[0154] Specifically, the control device directly obtains the collected multi-channel environmental noise, and superimposes the collected multi-channel environmental noise on the multi-channel sample audio signal, wherein the total number of channels between the multi-channel sample audio signal and the multi-channel environmental noise is specifically the same.

[0155] It should be noted that the multi-channel environmental noise can be directly collected by means of an audio collection component in a specific application scenario.

[0156] For example, in a car-mounted scenario, multi-channel environmental noise is specifically collected by multiple audio collection components in the car.

[0157] Noise adding method 2: superimposing interference signals with determined differences.

[0158] Specifically, the control device may construct a multi-channel interference signal having the same total number of channels as the multi-channel sample audio signal, and superimpose the multi-channel interference signal on the multi-channel sample audio signal.

[0159] In the embodiment of the present application, when constructing a corresponding multi-channel interference signal for a multi-channel sample audio signal, there are two feasible construction methods including but not limited to the following:

[0160] Construction method 1: Determine a multi-channel audio signal simulated for an object with speech expression at other positions as a multi-channel interference signal.

[0161] Specifically, the control device can select an interference position in each label position, and obtain a multi-channel impulse response at the interference position, and simulate a corresponding multi-channel interference signal based on the multi-channel impulse response at the interference position and a single-channel audio signal that does not express a sample wake-up word.

[0162] It should be noted that in the embodiment of the present application, the selected interference position may be one or more. When there are multiple interference positions, the corresponding multi-channel interference signal can be simulated based on the multi-channel impulse response corresponding to each interference position and combined with a preset single-channel audio signal that does not express the sample wake-up word. When generating multi-channel interference signals corresponding to different interference positions, the single-channel audio signals used may be the same or different, and the present application does not impose any specific restrictions on this.

[0163] Construction method 2: According to the distribution of multiple audio collection positions, a corresponding signal-to-noise ratio is configured for each audio collection position, and a multi-channel interference signal is obtained based on the obtained signal-to-noise ratio and a preset basic signal.

[0164] In an embodiment of the present application, in order to adapt to the actual scenario where some audio collection positions are far away from the sound source object, resulting in differences in signal-to-noise ratios of audio signals collected at different audio collection positions, the corresponding signal-to-noise ratio can be configured with a certain probability for different channels in the multi-channel sample audio signal according to actual processing needs, wherein the value of the probability is set according to actual processing needs.

[0165] Specifically, the control device can configure corresponding signal-to-noise ratios for multiple channels in the multi-channel sample audio signal according to the distribution of multiple audio collection positions, and obtain corresponding multi-channel interference signals based on the signal-to-noise ratios corresponding to each of the multiple channels and a preset basic signal.

[0166] Among them, the basic signal is specifically a multi-channel noise signal, and the basic signal and the multi-channel sample audio signal have the same total number of channels; when obtaining the multi-channel interference signal, it can be processed according to the signal content of each channel in the basic signal using the corresponding configured signal-to-noise ratio, and finally a multi-channel interference signal can be processed.

[0167] In this way, with the help of the construction method of the multi-channel interference signal indicated in construction method one and construction method two, the interference in the actual audio acquisition process can be better simulated, so that the constructed training samples are more in line with the signal state in the actual scene, thereby improving the construction effect of the training samples.

[0168] Noise adding method three: performing phase delay processing.

[0169] In the implementation of this application, it is taken into account that in actual business processes, due to the quality differences between different audio acquisition devices, multi-channel audio signals collected at different audio acquisition positions usually have phase consistency differences; therefore, the control device can perturb the phase of the multi-channel sample audio signal with a certain probability to simulate the delay of the signal reaching the audio acquisition device (such as a microphone) and simulate the interference caused by the quality differences between audio acquisition devices.

[0170] Specifically, the control device can perform phase delay processing on the multi-channel sample audio signal according to the preset phase delay degrees corresponding to the multiple channels, wherein the phase delay degrees corresponding to the multiple channels can be randomly set according to actual processing needs, and the phase delay can be processed in the time domain or the frequency domain. The present application does not impose specific restrictions on the method used for phase delay processing.

[0171] In this way, with the help of the processing methods of noise addition method one to noise addition method three, it is possible to add disturbances to the obtained multi-channel sample audio signal in combination with the interference conditions that may exist in the actual scene, and construct training samples based on the multi-channel sample audio signal after adding the disturbance, so that the obtained training samples can simulate the interference conditions in the actual scene; furthermore, when the model is trained based on the training samples with added disturbances, the robustness of the model can be enhanced, which helps the model learn the ability to locate the sound source object in an environment with high noise and strong interference.

[0172] For further information, see Figure 3C As shown in the figure, it is a schematic diagram of a training process of the sound source localization model in the embodiment of the present application. Figure 3C , taking one round of iterative training process as an example, the operations performed during one round of training of the initial sound source localization model are explained:

[0173] Step 301: Control the device to read training samples.

[0174] The training samples include: multi-channel sample audio signals with sample wake-up words marked, and corresponding position labels.

[0175] Step 302: The control device extracts the corresponding unit content vector for each pronunciation unit contained in the sample wake-up word, and extracts the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of the collected object based on the multi-channel sample audio signal.

[0176] Among them, the position prediction vector is used to describe the spatial position corresponding to at least one collected object with voice expression; at least one collected object with voice expression refers to: an object whose audio signal is collected by an audio collection device at at least one audio collection position; for each pronunciation unit included in the sample wake-up word, it can be any one of the elements such as phonemes, syllables, and text characters, and this application does not impose any specific restrictions on this.

[0177] In an embodiment of the present application, the control device adopts an initial sound source localization model to extract corresponding unit content vectors for each pronunciation unit contained in the sample wake-up word. In a feasible implementation method, the sample wake-up word can be first analyzed to determine the pronunciation units contained therein, and then features can be directly extracted for each pronunciation unit to obtain the corresponding unit content vector; in other feasible implementation methods, the sample wake-up word can be analyzed to determine the pronunciation units contained therein, and each pronunciation unit can be encoded to obtain the corresponding initial vector; and then the self-attention mechanism is used to capture the correlation between the initial vectors to obtain the unit content vectors determined for each pronunciation unit.

[0178] It should be noted that when processing with the help of the self-attention mechanism, the (Query, Q) vector, (Key, K) vector, and (Value, V) vector can be predicted and generated according to the initial vector of each pronunciation unit, and then the correlation between the initial vectors is determined by calculating the similarity between the Q vector and the K vector, and the weight matrix is ​​obtained. After weighted fusion of the V vector based on the obtained weight matrix, the unit content vector corresponding to each pronunciation unit is obtained.

[0179] In this way, with the help of the self-attention mechanism, when extracting the corresponding unit content vector for each pronunciation unit, the influence of pronunciation units in other positions can be integrated, so that the obtained pronunciation units can better meet the actual usage needs and improve the extraction effect of the unit content vector.

[0180] At the same time, in the process of extracting a position prediction vector that integrates audio content information and an audio content vector that integrates the position information of each collected object based on the multi-channel sample audio signal, the control device can extract a content description vector that represents the speech content and a position description vector that represents the spatial position of each collected object based on the multi-channel sample audio signal; then superimpose the content description vector and the position description vector mapped to the same vector space to obtain a comprehensive information vector; thereafter, based on the comprehensive information vector, extract a position prediction vector that integrates audio content information and an audio content vector that integrates the position information of the collected object.

[0181] Specifically, the control device can first perform convolution fusion processing on the multi-channel sample audio signal to obtain a mixed audio vector, and then extract the corresponding content description vector as a whole from the level of speech content, and extract the corresponding position description vector as a whole from the level of the spatial position of each collected object; then, in order to fuse the vector at the content level and the features at the position level to obtain a comprehensive information vector, the dimension can be unified with the help of a fully connected layer, and then the vectors can be superimposed to achieve feature fusion; thereafter, the comprehensive information vector can be mapped to an audio content vector fused with position information with the help of a fully connected layer, and the comprehensive information vector can be mapped to a position prediction vector fused with audio content information with the help of a fully connected layer.

[0182] Among them, the position prediction vector can be understood as a latent vector extracted based on the phase and energy characteristics of the multi-channel audio signal, or it can be understood as a vector representation of the phase and energy information of the multi-channel audio signal, which can characterize the spatial position information of each collected object.

[0183] In this way, processing can be performed at the audio signal level, so that based on the multi-channel sample speech signal, the corresponding audio content vector and position prediction vector can be extracted as a whole from the perspectives of audio content and the position of the collected object, respectively. With the help of vector superposition and vector extraction in the feature extraction process, the influence of the speaker's position information can be integrated into the extracted audio content vector, and the influence of the audio content information can be integrated into the extracted position prediction vector, thereby enhancing the connection between feature vectors from different angles, which helps to improve the subsequent construction effect of the position description vector for the speech unit.

[0184] Step 303: The control device adjusts the position prediction vectors based on the correlation between each unit content vector and the audio content vector, obtains the sound source position indication vector of the corresponding pronunciation unit, and determines the predicted position of the sound source object of the sample wake-up word based on the obtained sound source position indication vectors.

[0185] Specifically, within the initial sound source localization model, the content vector of each unit can be used as a whole as the Q vector in the attention network, the determined audio content vector can be used as the K vector in the attention network, and the position prediction vector can be used as the V vector in the attention network. With the help of processing within the attention network, the position prediction vector can be adjusted separately based on the correlation between each unit content vector and the audio content vector to obtain the sound source position indication vector of the corresponding pronunciation unit.

[0186] Furthermore, when determining the predicted position of the sound source object of the sample wake-up word based on the obtained sound source position indication vectors, vector mapping processing can be performed separately based on the obtained sound source position indication vectors to obtain the mapping position and the corresponding prediction probability, wherein the mapping position is the target position whose prediction probability satisfies the first preset condition after obtaining the prediction probability under each candidate position; and the mapping position whose corresponding total number of occurrences satisfies the second preset condition is used as the predicted position determined for the sound source object of the sample wake-up word.

[0187] Specifically, when the initial sound source localization model is used for processing, a fully connected layer can be used to perform vector mapping processing based on the obtained sound source position indication vectors to obtain the predicted probability at each candidate position; then, for the predicted probability at each candidate position obtained corresponding to each sound source position indication vector, the mapping position whose predicted probability meets the first preset condition is determined, wherein the first preset condition may be: the corresponding predicted probability is the largest; thereafter, after obtaining the mapping positions respectively associated with the predicted probabilities, each mapping position can be screened according to the second preset condition to obtain the predicted position determined for the sound source object of the sample wake-up word, wherein the second preset condition may be the largest total number of occurrences; the total number of occurrences is determined by counting the occurrences of each mapping position.

[0188] In this way, after determining the sound source position indication vector from the perspective of each speech unit, the corresponding mapping positions can be mapped according to the sound source position indication vector, and then the final predicted position can be determined by combining the mapping positions. This is equivalent to splitting the positioning problem of the sound source object, starting from each speech unit expressed by the sound source object, and performing position prediction respectively, which can improve the accuracy of sound source object positioning.

[0189] Step 304: The control device adjusts the model parameters based on the result difference between the predicted position and the corresponding position label.

[0190] Specifically, after the control device obtains the predicted position, it can use a focal loss function to adjust the model parameters based on the result difference between the predicted position and the position label corresponding to the read training sample.

[0191] Similarly, the control device can perform multiple rounds of iterative training according to the single round training process indicated by steps 301-304, and finally obtain a trained target sound source localization model.

[0192] The following is a description of the process of locating the sound source object based on the target sound source localization model in conjunction with the accompanying drawings:

[0193] See also Figure 4A As shown in the figure, it is a schematic diagram of the positioning process of the sound source object in the embodiment of the present application. Figure 4A , the process of locating the sound source object is explained:

[0194] Step 401: The control device obtains a multi-channel audio signal collected by an audio collection component.

[0195] In the actual processing process, with the authorization of the relevant object, the control device can control the audio acquisition component to collect multi-channel audio signals in real time, and then the control device can obtain the multi-channel audio signals collected by the audio acquisition component in real time; or, after the relevant object actively turns on the audio recognition function, the multi-channel audio signals collected by the audio acquisition component can be obtained in real time when the audio recognition function is turned on.

[0196] Among them, the multi-channel audio acquisition component includes multiple audio acquisition devices deployed in a compact or separate manner; optionally, according to actual processing needs, the real-time collected audio data can be divided into audio segments of a specified number of frames, and then the sound source object is located according to the multi-channel audio signal corresponding to each audio segment, wherein the value of the specified number of frames is set according to actual processing needs, and this application does not impose any specific restrictions on this.

[0197] Step 402: When the control device identifies a target wake-up word that successfully matches each preset candidate wake-up word based on the multi-channel audio signal, the trained target sound source localization model is used to identify the location of the sound source object.

[0198] In an embodiment of the present application, when the control device identifies a target wake-up word from a multi-channel audio signal, in some feasible implementation methods, a trained multi-channel wake-up word recognition model can be used for processing, wherein the model structure adopted by the multi-channel wake-up word recognition model can be in the form of a feedforward sequential memory neural network (FSMN) plus a fully connected layer, which can identify the target wake-up word in the multi-channel audio signal; in other feasible implementation methods, text content can be obtained based on audio signal conversion, and then the multi-channel text content can be matched with each preset candidate wake-up word respectively to determine the target wake-up word that has been successfully matched.

[0199] After the target wake-up word is identified, the Figure 4B The processing flow shown in the figure adopts the target audio positioning model for processing. Figure 4B This is a schematic diagram of the model processing process in the embodiment of this application. Figure 4B , the processing process implemented using the target audio localization model is explained:

[0200] Step 4021: The control device extracts the corresponding unit content vector for each pronunciation unit contained in the target wake-up word, and extracts the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of the collected object based on the multi-channel audio signal, wherein the position prediction vector is used to describe the spatial position corresponding to at least one collected object with voice expression.

[0201] Specifically, when executing step 4021, the trained target audio localization model is used to first analyze and determine the pronunciation units contained in the target wake-up word, and then encode each pronunciation unit to obtain the corresponding initial vector; then the self-attention mechanism is used to capture the correlation between the initial vectors to obtain the unit content vectors corresponding to each pronunciation unit.

[0202] Afterwards, when extracting the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of the collected objects based on the multi-channel audio signal, extract the content description vector representing the speech content and the position description vector representing the spatial position of the collected objects based on the multi-channel audio signal; then superimpose the content description vector and the position description vector mapped to the same vector space to obtain a comprehensive information vector, and based on the comprehensive information vector, extract the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of each collected object.

[0203] Among them, the same description logic is used in the relevant processing process and the training process, and this application will not elaborate on it.

[0204] In this way, by analyzing the target wake-up word, text content level processing can be performed to obtain content vectors of each unit that integrate the influence of pronunciation units at other positions; in addition, by performing vector extraction on multi-channel audio signals, audio signal level processing can be performed, so that based on the multi-channel audio signals, the corresponding content description vectors and position description vectors can be extracted as a whole from the perspectives of audio content and the positions of each collected object, respectively. With the help of vector superposition and vector extraction in the feature extraction process, the influence of the speaker's position information can be integrated into the extracted audio content vector, and the influence of the audio content information can be integrated into the extracted position prediction vector, thereby enhancing the connection between feature vectors from different angles, which helps to improve the subsequent construction effect of the position description vector for the speech unit.

[0205] Step 4022: The control device adjusts the position prediction vectors based on the correlation between each unit content vector and the audio content vector, obtains the sound source position indication vector of the corresponding pronunciation unit, and determines the positioning position of the sound source object of the target wake-up word based on the obtained sound source position indication vectors.

[0206] When executing step 4022, within the target sound source localization model, each unit content vector as a whole can be used as the Q vector in the attention network, the determined audio content vector can be used as the K vector in the attention network, and the position prediction vector can be used as the V vector in the attention network, so that with the help of processing within the attention network, the position prediction vector can be adjusted separately based on the correlation between each unit content vector and the audio content vector to obtain the sound source position indication vector of the corresponding pronunciation unit.

[0207] Furthermore, with the help of the fully connected layer, based on each sound source position indication vector, the corresponding mapping position is mapped respectively, and then based on each mapping position, the positioning position of the sound source object can be obtained.

[0208] Specifically, in the process of determining the location position of the sound source object of the target wake-up word based on the obtained sound source position indication vectors, vector mapping processing can be performed based on the obtained sound source position indication vectors to obtain the mapping position and the corresponding prediction probability, wherein the mapping position is the target position whose prediction probability satisfies the first preset condition after obtaining the prediction probability under each candidate position; and the mapping position whose corresponding total number of occurrences satisfies the second preset condition is used as the prediction position determined for the sound source object of the target wake-up word.

[0209] Among them, the first preset condition may be: the corresponding prediction probability is the largest; the second preset condition may be the total number of occurrences is the largest; the total number of occurrences is determined by counting the occurrences of each mapping position.

[0210] In this way, it is equivalent to splitting the problem of locating the sound source object, starting from each speech unit expressed by the sound source object, and performing position prediction respectively, which can improve the accuracy of locating the sound source object.

[0211] Furthermore, after determining the location of the sound source object, the control device can generate a corresponding response voice based on the location of the sound source object, and play the response voice to the sound source object; thereafter, the audio content that continues to be collected for the sound source object at the location can be obtained, and based on the audio content, the processing instructions of the sound source object and the targeted controlled device can be analyzed and determined, and the controlled device associated with the sound source object can be processed based on the processing instructions.

[0212] Specifically, in order to prompt that the target wake-up word triggered by the sound source object has been recognized, the control device can generate a response voice based on the location of the sound source object; in addition, in the subsequent response process, the audio acquisition device associated with the location of the sound source object can be determined, and only the single-channel audio signal collected by the sound source acquisition device can be analyzed to determine the processing instructions contained in the single-channel audio signal, and the associated controlled device is processed according to the processing instructions. When analyzing the processing instructions contained in the single-channel audio signal, text conversion processing can be performed on the single-channel audio signal to obtain the corresponding text result, and by performing semantic analysis on the text result, the targeted controlled device and processing method can be determined, and targeted processing can be implemented based on the processing instructions jointly represented by the controlled device and the processing method.

[0213] In this way, after locating the sound source object, a specific response can be made to the sound source object, and targeted processing can be performed according to the processing instructions of the sound source object to meet the personalized needs of the sound source object, realize voice interaction with the sound source object, and ensure the user experience of the sound source object.

[0214] In addition, in an embodiment of the present application, after processing the controlled device associated with the sound source object according to the processing indication of the sound source object, the control device can generate a prompt voice indicating that the processing is completed, and play the prompt voice to the sound source object; then, obtain the multi-channel audio signal that the audio acquisition component continues to collect, and perform matching processing with each candidate wake-up word based on the multi-channel audio signal that continues to be collected.

[0215] It should be noted that when playing the prompt voice, a pre-configured controllable speaker near the sound source object can be used for playing, or, if the sound source object wears controllable headphones, the controllable headphones worn by the sound source object can be instructed to play the prompt voice.

[0216] In a feasible implementation of the present application, the control device may modularize the sound source localization function implemented based on the target sound source localization model, so that the sound source localization function can be implemented with the help of the localization module.

[0217] It should be understood that in an embodiment of the present application, in the process of responding to a processing indication of a sound source object for processing, it is possible to no longer receive response triggers from other objects based on wake-up words; in addition, before generating a prompt voice representing the completion of the processing, it is necessary to determine that the response to the sound source object is completed, wherein the basis for determining that the response to the sound source object is completed may be: determining that the sound source object has not made a voice expression within Z seconds; or, the audio signal collected by the audio acquisition device for the sound source object does not include voice content related to the controlled device requested to be processed by the sound source object, wherein the value of Z is set according to actual processing needs, and possible associated words can be preset in advance for various controllable devices. Based on this, by converting the audio signal into text content and determining whether the converted text includes the preset associated words, it is possible to determine whether the audio signal includes voice content related to the controlled device.

[0218] For example, assuming that the controlled device is a "car window", the associated words configured for "car window" may be: car window, glass, open, close.

[0219] In this way, after completing the targeted response to the current sound source object, the collected multi-channel audio signal can continue to be processed so as to continue to make a targeted response to the audio object expressing the wake-up word by voice.

[0220] The following describes the process of locating a sound source object by taking the positioning of a sound source object for a custom wake-up word expressed by voice in a vehicle-mounted scenario as an example in conjunction with the accompanying drawings:

[0221] See also Figure 5 As shown, it is a schematic diagram of the vector change process in the process of locating the sound source object in the embodiment of the present application. Figure 5 From the schematic process, it can be seen that for the processing of multi-channel audio signals, a two-dimensional multi-channel convolutional network is first used to extract multi-channel information to obtain a mixed audio vector; then, the mixed audio vector is sent to the speech recognition encoder network to extract the content description vector in the multi-channel audio signal. At the same time, a speech feature extraction encoder network is used to extract the position description vector in the multi-channel audio signal, and then the content description vector and the position description vector are superimposed to obtain a comprehensive information vector with position information; further, the comprehensive information vector is sent to two fully connected layers, which are mapped to obtain the K vector (i.e., audio content vector) and V vector (i.e., position prediction vector) in the attention network.

[0222] For the processing of the text part, after the multi-channel audio signal passes through the multi-channel wake-up model, when the multi-channel audio signal contains a wake-up word, the model outputs the corresponding target wake-up word, thereby obtaining the text content for processing, and then analyzing and determining each speech unit from the target wake-up word; further, optionally, each speech unit can be processed by onehot encoding and self-attention mechanism to obtain the unit content vector corresponding to each speech unit.

[0223] Afterwards, the unit content vector of each speech unit is used as the Q vector in the attention mechanism, and the attention operation is performed with the K vector (i.e., the audio content vector) and the V vector (i.e., the position prediction vector) in the attention network. Specifically, the Q vector is dot-producted with the K vector to obtain the similarity weight, and then the similarity weight is weighted with the V vector to obtain the sound source position indication vector corresponding to the corresponding part of the speech for each speech unit in the target wake-up word; further, with the help of the fully connected layer, the directional confidence of each passenger position in the vehicle scenario can be mapped based on each sound source position indication vector.

[0224] In addition, from the perspective of feature dimension changes, see Figure 6 As shown, it is a schematic diagram of the characteristic dimension change inside the target sound source localization model in the embodiment of the present application. Figure 6 From the schematic content, it can be seen that the form of the processed multi-channel audio signal is: C1*H1*W1, where C1 is the number of channels. In the case of frequency domain processing, the value of C1 is twice that of the time domain signal, that is, twice the total number of audio acquisition devices; H1 is the height, which is the number of audio frames; W1 is the width, which is usually a discrete point number; further, after being processed by a two-dimensional multi-channel convolutional network, it is equivalent to putting multiple channels in one dimension, so that the resulting vector dimension is H1*W2, where H1 is the height and W2 is the width; after being processed by the speech recognition encoder network, a content description vector with a dimension of H2*D1 is obtained. At the same time, after being processed by the speech feature extraction encoding network, a position description vector with a dimension of H2*D2 is obtained.

[0225] Furthermore, with the help of the fully connected layer 1, the content description vector is mapped to the vector space of H2*D3, and with the help of the fully connected layer 2, the position description vector is mapped to the vector space of H2*D3; then, the content description vector and the position description vector in the same vector space are superimposed to obtain a comprehensive information vector with a dimension of H2*D3, and then the fully connected layer 3 is used to map the comprehensive information vector to the vector space of H2*D4 to obtain an audio content vector (i.e., the K vector in the attention network) that is fused with the position information of the collected object. At the same time, the fully connected layer 4 is used to map the comprehensive information vector to the vector space of H2*D4 to obtain a position prediction vector (i.e., the V vector in the attention network) that is fused with the audio content information.

[0226] In the processing of the target wake-up word, assuming that the target wake-up word includes 4 speech units, then with the help of the encoding network, a coding vector with a dimension of 1*dk can be obtained for each speech unit; then, with the help of the self-attention network, the coding vector of each speech unit is processed to obtain the unit content vector with a dimension of 1*dv corresponding to each speech unit; then, with the help of the fully connected layer, the text composed of the unit content vectors is embedded and mapped to the Q vector in the attention network with a dimension of 4*D4.

[0227] Furthermore, with the help of the attention network processing, based on the Q vector, K vector, and V vector, a sound source position indication vector with a dimension of 1*D4 is obtained for each speech unit.

[0228] Thus, in summary, the present application proposes a sound source object positioning method suitable for custom wake-up words. On the one hand, the unit content vectors obtained by analyzing the target wake-up words in text form are combined with the feature vectors obtained based on the audio signal analysis, which can realize accurate positioning of the sound source object and can be applicable to the sound source positioning based on any wake-up word; on the other hand, by introducing the attention mechanism, the speech range matching each pronunciation unit in the text can be automatically learned, and after the model training is completed with the help of the noisy training samples, high positioning accuracy can be obtained in strong interference scenes and high noise scenes. Furthermore, in the training process of the model, the mixed mic spacing impulse response is simulated, and multi-channel data can be generated in real time for training, so that suitable training samples can be constructed for any mic spacing without collecting a large amount of actual data; in addition, the sound source positioning model uses the front-end and back-end joint modeling method, without the need for an acoustic front-end, and the optimization target is only the positioning accuracy, which simplifies the processing flow, realizes the end-to-end modeling of the positioning problem, greatly improves the positioning accuracy of the system, and has high robustness in difficult scenarios, and will not cause the positioning accuracy to decrease due to the performance difference of the separation front end.

[0229] In addition, through testing, the technical solution proposed in this application can achieve a positioning accuracy of more than 98% in a real vehicle test set in quiet, high-noise and high-interference scenarios.

[0230] Based on the same inventive concept, refer to Figure 7 As shown, it is a schematic diagram of the logical structure of the training device of the sound source localization model in the embodiment of the present application. The training device 700 of the sound source localization model includes a training unit 701, wherein:

[0231] The training unit 701 is used to perform multiple rounds of iterative training on the constructed initial sound source localization model using each training sample, wherein in one round of iteration, the following operations are performed:

[0232] Read training samples; the training samples include: multi-channel sample audio signals with sample wake-up words annotated, and corresponding position labels;

[0233] For each pronunciation unit contained in the sample wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel sample audio signal, the position prediction vector fused with the audio content information and the audio content vector fused with the position information of each collected object are extracted; the position prediction vector is used to describe the spatial position corresponding to at least one collected object with speech expression;

[0234] Based on the correlation between each unit content vector and the audio content vector, the position prediction vectors are adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on each obtained sound source position indication vector, the predicted position of the sound source object of the sample wake-up word is determined;

[0235] Based on the resulting difference between the predicted locations and the corresponding location labels, the model parameters are adjusted.

[0236] Optionally, a multi-channel sample audio signal in a training sample is obtained by the simulation unit 702 in the device in the following manner:

[0237] A target impulse response is selected from each multi-channel impulse response associated with a tag position; wherein a multi-channel impulse response includes: response results of an impulse signal sent from a tag position, which are respectively simulated and determined for a plurality of audio collection positions preset in a sound source localization scenario; a tag position is selected from each candidate position of a sound source object in a sound source localization scenario;

[0238] A single-channel audio signal expressing a sample wake-up word is obtained, and based on the single-channel audio signal and the target impulse response, a corresponding multi-channel sample audio signal is simulated.

[0239] Optionally, based on the single-channel audio signal and the target multi-channel impulse response, a corresponding multi-channel sample audio signal is simulated and obtained, and the simulation unit 702 is used to:

[0240] The target impulse response is convolved with a single-channel audio signal to obtain a multi-channel analog audio signal;

[0241] The multi-channel analog audio signal is determined as a multi-channel sample audio signal.

[0242] Optionally, after simulating and obtaining the corresponding multi-channel sample audio signal, the simulation unit 702 processes the multi-channel sample audio signal by using any one or a combination of the following noise adding methods:

[0243] In the multi-channel sample audio signal, the collected multi-channel environmental noise is superimposed;

[0244] Constructing a multi-channel interference signal having the same total number of channels as the multi-channel sample audio signal, and superimposing the multi-channel interference signal on the multi-channel sample audio signal;

[0245] Phase delay processing is performed on the multi-channel sample audio signal according to the phase delay degrees respectively preset for the corresponding multiple channels.

[0246] Optionally, when configuring a corresponding interference signal for each single-channel sample audio signal included in the multi-channel audio signal, the simulation unit 702 performs any one of the following operations:

[0247] An interference position is selected in each label position, and a multi-channel impulse response at the interference position is obtained, and based on the multi-channel impulse response at the interference position and a single-channel audio signal without expressing a sample wake-up word, a corresponding multi-channel interference signal is simulated;

[0248] According to the distribution of multiple audio collection positions, corresponding signal-to-noise ratios are configured for multiple channels in the multi-channel sample audio signal, and corresponding multi-channel interference signals are obtained based on the corresponding signal-to-noise ratios of the multiple channels and the preset basic signal.

[0249] Optionally, when extracting corresponding unit content vectors for each pronunciation unit included in the sample wake-up word, the training unit 701 is used to:

[0250] Analyze and determine the pronunciation units contained in the sample wake-up word, and encode each pronunciation unit to obtain the corresponding initial vector;

[0251] The self-attention mechanism is used to capture the correlation between the initial vectors and obtain the unit content vectors corresponding to each pronunciation unit.

[0252] Optionally, when extracting the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of each collected object based on the multi-channel sample audio signal, the training unit 701 is used to:

[0253] Based on the multi-channel sample audio signal, extracting a content description vector representing the speech content and extracting a position description vector representing the spatial position of each collected object;

[0254] Superimposing the content description vector and the position description vector mapped to the same vector space to obtain a comprehensive information vector;

[0255] Based on the comprehensive information vector, a position prediction vector fused with the audio content information is extracted, and an audio content vector fused with the position information of the collected object is proposed.

[0256] Optionally, when determining the predicted position of the sound source object of the sample wake-up word based on each sound source position indication vector obtained, the training unit 701 is used to:

[0257] Based on the obtained sound source position indication vectors, vector mapping processing is performed respectively to obtain a mapping position and a corresponding prediction probability, wherein the mapping position is a target position whose prediction probability meets the first preset condition after obtaining the prediction probability under each candidate position;

[0258] The mapping position whose corresponding total number of occurrences meets the second preset condition is used as the predicted position determined for the sound source object of the sample wake-up word.

[0259] Based on the same inventive concept, refer to Figure 8 As shown, it is a schematic diagram of the logical structure of the sound source object positioning device in the embodiment of the present application. The sound source object positioning device 800 includes an acquisition unit 801 and a positioning unit 802, wherein:

[0260] An acquisition unit 801 is used to acquire a multi-channel audio signal acquired by an audio acquisition component;

[0261] The positioning unit 802 is used to identify the target wake-up word that successfully matches each preset candidate wake-up word based on the multi-channel audio signal, and use the trained target sound source positioning model to perform the following operations:

[0262] For each pronunciation unit contained in the target wake-up word, the corresponding unit content vector is extracted, and based on the multi-channel audio signal, the position prediction vector fused with the audio content information and the audio content vector fused with the position information of the collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to at least one collected object with voice expression;

[0263] Based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on the obtained sound source position indication vectors, the positioning position of the sound source object of the target wake-up word is determined.

[0264] Optionally, after determining the location of the sound source object of the target wake-up word, the device further includes a processing unit 803, and the processing unit 803 is used to:

[0265] Generate a corresponding response voice according to the location of the sound source object, and play the response voice to the sound source object;

[0266] The audio content that is continuously collected for the sound source object at the positioning position is obtained, and based on the audio content, the processing instructions of the sound source object and the targeted controlled device are analyzed and determined, and the controlled device associated with the sound source object is processed based on the processing instructions.

[0267] Optionally, after processing the controlled device associated with the sound source object, the processing unit 803 is further configured to:

[0268] Generate a prompt voice indicating that the processing is completed, and play the prompt voice to the sound source object;

[0269] The multi-channel audio signal that the audio collection component continues to collect is obtained, and matching processing is performed with each candidate wake-up word based on the multi-channel audio signal that continues to be collected.

[0270] Optionally, when extracting corresponding unit content vectors for each pronunciation unit included in the target wake-up word, the positioning unit 802 is used to:

[0271] Analyze and determine the pronunciation units contained in the target wake-up word, and encode each pronunciation unit to obtain the corresponding initial vector;

[0272] The self-attention mechanism is used to capture the correlation between the initial vectors and obtain the unit content vectors corresponding to each pronunciation unit.

[0273] Optionally, when extracting the position prediction vector integrated with the audio content information and the audio content vector integrated with the position information of each collected object according to the multi-channel audio signal, the positioning unit 802 is used to:

[0274] Based on the multi-channel sample audio signal, extracting a content description vector representing the speech content and extracting a position description vector representing the spatial position of the collected object;

[0275] The content description vector and the position description vector mapped to the same vector space are superimposed to obtain a comprehensive information vector, and based on the comprehensive information vector, a position prediction vector fused with audio content information is extracted, as well as an audio content vector fused with the position information of each collected object is extracted.

[0276] Optionally, when determining the location of the sound source object of the target wake-up word based on the obtained sound source position indication vectors, the positioning unit 802 is used to:

[0277] Based on the obtained sound source position indication vectors, vector mapping processing is performed respectively to obtain a mapping position and a corresponding prediction probability, wherein the mapping position is a target position whose prediction probability meets the first preset condition after obtaining the prediction probability under each candidate position;

[0278] The mapping position whose corresponding total number of occurrences meets the second preset condition is used as the predicted position determined for the sound source object of the target wake-up word.

[0279] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.

[0280] After introducing the training method and device of the sound source localization model and the sound source object localization method and device according to the exemplary embodiment of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.

[0281] Those skilled in the art will appreciate that various aspects of the training of the sound source localization model in the present application can be implemented as a system, method, or program product; and various aspects of the sound source object localization can be implemented as a system, method, or program product. Therefore, various aspects of the present application can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuit", "module" or "system" here.

[0282] Based on the same inventive concept as the above method embodiment, an electronic device is also provided in the embodiment of the present application. Fig. 9 As shown, it is a schematic diagram of the hardware structure of an electronic device using an embodiment of the present application. In one embodiment, the electronic device may be Figure 2 The control device 220 shown in FIG. 1 is a control device 220 shown in FIG. 1 . In this embodiment, the structure of the electronic device can be as follows: Fig. 9 As shown, it includes a memory 901 , a communication module 903 and one or more processors 902 .

[0283] The memory 901 is used to store computer programs executed by the processor 902. The memory 901 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and programs required for running the instant messaging function, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.

[0284] The memory 901 may be a volatile memory, such as a random-access memory (RAM); the memory 901 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or the memory 901 may be any other medium that can be used to carry or store a desired computer program in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 901 may be a combination of the above memories.

[0285] The processor 902 may include one or more central processing units (CPU) or a digital processing unit, etc. The processor 902 is used to implement the above-mentioned sound source localization model training method and sound source object localization method when calling the computer program stored in the memory 901 .

[0286] The communication module 903 is used to communicate with the controlled device and the server.

[0287] The specific connection medium between the memory 901, the communication module 903 and the processor 902 is not limited in the embodiment of the present application. Fig. 9 In the embodiment, the memory 901 and the processor 902 are connected via a bus 904. The bus 904 is connected to the processor 902 via a bus 904. Fig. 9 The connections between the other components are only for illustration and are not intended to be limiting. The bus 904 can be divided into an address bus, a data bus, a control bus, etc. For ease of description, Fig. 9 The diagram shows that only one thick line is used, but this does not mean that there is only one bus or only one type of bus.

[0288] The memory 901 stores a computer storage medium, and the computer storage medium stores computer executable instructions, and the computer executable instructions are used to implement the training method of the sound source localization model and the sound source object localization method of the embodiment of the present application. The processor 902 is used to execute the above-mentioned training method of the sound source localization model and the sound source object localization method, such as Figure 3C and 4A -4B.

[0289] In another embodiment, the electronic device may also be other electronic devices, see Fig.10 FIG. 1 is a schematic diagram of the hardware structure of another electronic device using an embodiment of the present application. Specifically, the electronic device may be Figure 2The controlled device 210 is shown in FIG. In this embodiment, the structure of the electronic device can be as follows: Fig.10 As shown, it includes: a communication component 1010, a memory 1020, a display unit 1030, a camera 1040, a sensor 1050, an audio circuit 1060, a Bluetooth module 1070, a processor 1080 and other components.

[0290] The communication component 1010 is used to communicate with the server. In some embodiments, a wireless fidelity (WiFi) module may be included. The WiFi module belongs to a short-range wireless transmission technology. The electronic device can help the user to send and receive information through the WiFi module.

[0291] The memory 1020 can be used to store software programs and data. The processor 1080 executes various functions and data processing of the controlled device 210 by running the software programs or data stored in the memory 1020. In the present application, the memory 1020 can store an operating system and various application programs, and according to actual processing needs, it can also store computer programs related to the training method of the sound source localization model and the sound source object localization method of the embodiment of the present application.

[0292] The display unit 1030 may also be used to display information input by a user or information provided to a user and a graphical user interface (GUI) of various menus of the controlled device 210. Specifically, the display unit 1030 may include a display screen 1032 disposed on the front of the controlled device 210. The display unit 1030 may be used to display an operable page, etc.

[0293] The display unit 1030 can also be used to receive input digital or pronunciation unit information, and generate signal input related to user settings and function control of the controlled device 210. Specifically, the display unit 1030 may include a touch screen 1031 set on the front of the controlled device 210, which can collect user touch operations on or near it.

[0294] The touch screen 1031 can be covered on the display screen 1032, or the touch screen 1031 and the display screen 1032 can be integrated to realize the input and output functions of the controlled device 210, and the integrated display screen can be referred to as a touch display screen. In this application, the display unit 1030 can display the application and the corresponding operation steps.

[0295] The camera 1040 can be used to capture still images, and users can post comments on the images taken by the camera 1040 through the application. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 1080 to convert it into a digital image signal.

[0296] The controlled device may further include at least one sensor 1050, such as an acceleration sensor 1051, a distance sensor 1052, a fingerprint sensor 1053, and a temperature sensor 1054. The controlled device may also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor.

[0297] The audio circuit 1060, the speaker 1061, and the microphone 1062 can provide an audio interface between the user and the controlled device 210. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, which is converted into a sound signal for output. On the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, and then the audio data is output to the communication component 1010 to be sent to, for example, another controlled device 210, or the audio data is output to the memory 1020 for further processing.

[0298] The Bluetooth module 1070 is used to exchange information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol.

[0299] The processor 1080 is the control center of the controlled device. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the controlled device and processes data by running or executing software programs stored in the memory 1020 and calling data stored in the memory 1020. In some embodiments, the processor 1080 may include at least one processing unit; the processor 1080 may also integrate an application processor and a baseband processor. In the present application, the processor 1080 can run an operating system, an application program, a user interface display and touch response, as well as processing related to the training method of the sound source localization model and the sound source object localization method of the embodiment of the present application. In addition, the processor 1080 is coupled to the display unit 1030.

[0300] In some possible implementations, various aspects of the sound source localization model training method and the sound source object localization method provided in the present application can also be implemented in the form of a program product, which includes a computer program. When the program product is run on an electronic device, the computer program is used to enable the electronic device to execute the steps of the sound source localization model training method and the sound source object localization method according to various exemplary embodiments of the present application described above in this specification. For example, the electronic device can execute the following steps: Figure 3C , 4A -Steps shown in 4B.

[0301] The program product may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. 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 thereof.

[0302] The program product of the embodiment of the present application may adopt a portable compact disk read-only memory (CD-ROM) and include a computer program, and can be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which can be used by or in combination with a command execution system, apparatus, or device.

[0303] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with a command execution system, apparatus, or device.

[0304] The computer program embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0305] The computer program for performing the operation of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as "C" language or similar programming languages. The computer program can be executed entirely on the user electronic device, partially on the user electronic device, as an independent software package, partially on the user electronic device and partially on the remote electronic device, or completely on the remote electronic device or server. In the case of involving a remote electronic device, the remote electronic device can be connected to the user electronic device through any type of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external electronic device (e.g., using an Internet service provider to connect through the Internet).

[0306] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0307] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0308] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain a computer-usable computer program.

[0309] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program commands. These computer program commands can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the commands executed by the processor of the computer or other programmable data processing device generate commands for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0310] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0311] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for training a sound source localization model, characterized in that: The constructed initial sound source localization model is trained for multiple rounds of iterations using each training sample, wherein in one round of iterations, the following operations are performed: Reading a training sample; the training sample includes: a multi-channel sample audio signal with a sample wake-up word marked, and a corresponding position tag; For each pronunciation unit contained in the sample wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel sample audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of each collected object are extracted; the position prediction vector is used to describe the spatial position corresponding to at least one collected object with speech expression; Based on the correlation between each unit content vector and the audio content vector, the position prediction vectors are adjusted respectively to obtain the sound source position indication vectors of the corresponding pronunciation units, and based on the obtained sound source position indication vectors, the predicted position of the sound source object of the sample wake-up word is determined; Based on the resulting differences between the predicted locations and the corresponding location labels, model parameters are adjusted.

2. The method according to claim 1, characterized in that A multi-channel sample audio signal in a training sample is obtained in the following way: A target impulse response is selected from each multi-channel impulse response associated with a tag position; wherein a multi-channel impulse response includes: response results of an impulse signal sent from a tag position, which are respectively simulated and determined for a plurality of audio collection positions preset in a sound source localization scenario; a tag position is selected from each candidate position of a sound source object in the sound source localization scenario; A single-channel audio signal expressing a sample wake-up word is obtained, and based on the single-channel audio signal and the target impulse response, a corresponding multi-channel sample audio signal is simulated.

3. The method according to claim 2, characterized in that The simulating and obtaining a corresponding multi-channel sample audio signal based on the single-channel audio signal and the target impulse response includes: Convolutionally fuse the target impulse response with the single-channel audio signal to obtain a multi-channel analog audio signal; The multi-channel analog audio signal is determined as a multi-channel sample audio signal.

4. The method according to claim 2, characterized in that After the simulation obtains the corresponding multi-channel sample audio signal, the multi-channel sample audio signal is processed by using any one or a combination of the following noise adding methods: superimposing the collected multi-channel environmental noise on the multi-channel sample audio signal; Constructing a multi-channel interference signal having the same total number of channels as the multi-channel sample audio signal, and superimposing the multi-channel interference signal on the multi-channel sample audio signal; Phase delay processing is performed on the multi-channel sample audio signal according to the phase delay degrees respectively preset for the corresponding multiple channels.

5. The method according to claim 4, characterized in that The constructing of a multi-channel interference signal having the same total number of channels as the multi-channel sample audio signal comprises any one of the following: An interference position is selected in each label position, and a multi-channel impulse response at the interference position is obtained, and based on the multi-channel impulse response at the interference position and a single-channel audio signal without expressing a sample wake-up word, a corresponding multi-channel interference signal is simulated; According to the distribution of the multiple audio collection positions, corresponding signal-to-noise ratios are respectively configured for the multiple channels in the multi-channel sample audio signal, and the corresponding multi-channel interference signal is obtained based on the signal-to-noise ratios corresponding to the multiple channels and the preset basic signal.

6. The method according to any one of claims 1 to 5, characterized in that: The extracting corresponding unit content vectors for each pronunciation unit contained in the sample wake-up word includes: Analyze and determine each pronunciation unit contained in the sample wake-up word, and encode each pronunciation unit to obtain a corresponding initial vector; A self-attention mechanism is used to capture the correlation between the initial vectors, and obtain the unit content vectors respectively determined corresponding to the pronunciation units.

7. The method according to any one of claims 1 to 5, characterized in that: The step of extracting a position prediction vector fused with audio content information and an audio content vector fused with position information of each collected object based on the multi-channel sample audio signal comprises: Based on the multi-channel sample audio signal, extracting a content description vector representing the speech content and extracting a position description vector representing the spatial position of each collected object; Superimposing the content description vector and the position description vector mapped to the same vector space to obtain a comprehensive information vector; Based on the comprehensive information vector, a position prediction vector integrated with the audio content information is extracted, and an audio content vector integrated with the position information of the collected object is proposed.

8. The method according to any one of claims 1 to 5, characterized in that: The step of determining the predicted position of the sound source object of the sample wake-up word based on each obtained sound source position indication vector includes: Based on the obtained sound source position indication vectors, vector mapping processing is performed respectively to obtain a mapping position and a corresponding prediction probability, wherein the mapping position is a target position whose prediction probability satisfies a first preset condition after obtaining the prediction probability under each candidate position; The mapping position whose corresponding total number of occurrences satisfies the second preset condition is used as the predicted position determined for the sound source object of the sample wake-up word.

9. A method for locating a sound source object, characterized in that: include: Obtain the multi-channel audio signal collected by the audio collection component; When a target wake-up word that successfully matches each preset candidate wake-up word is identified based on the multi-channel audio signal, the trained target sound source localization model is used to perform the following operations: For each pronunciation unit contained in the target wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of the collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to each of at least one collected object having voice expression; Based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on the obtained sound source position indication vectors, the positioning position of the sound source object of the target wake-up word is determined.

10. The method according to claim 9, characterized in that After determining the location of the sound source object of the target wake-up word, the method further includes: Generate a corresponding response voice according to the location of the sound source object, and play the response voice to the sound source object; The audio content continuously collected for the sound source object at the positioning position is obtained, and based on the audio content, a processing instruction of the sound source object and a targeted controlled device are analyzed and determined, and based on the processing instruction, the controlled device associated with the sound source object is processed.

11. The method according to claim 10, characterized in that After the controlled device associated with the sound source object is processed, the method further includes: Generate a prompt voice indicating that the processing is completed, and play the prompt voice to the sound source object; The multi-channel audio signal that the audio collection component continues to collect is obtained, and matching processing with each candidate wake-up word is performed based on the multi-channel audio signal that continues to be collected.

12. The method according to any one of claims 9 to 11, characterized in that: The extracting corresponding unit content vectors for each pronunciation unit contained in the target wake-up word includes: Analyze and determine each pronunciation unit contained in the target wake-up word, and encode each pronunciation unit to obtain a corresponding initial vector; A self-attention mechanism is used to capture the correlation between the initial vectors, and obtain the unit content vectors respectively determined corresponding to the pronunciation units.

13. The method according to any one of claims 9 to 11, characterized in that: The step of extracting a position prediction vector fused with audio content information and an audio content vector fused with position information of each collected object according to the multi-channel audio signal comprises: Based on the multi-channel audio signal, extracting a content description vector representing the speech content and extracting a position description vector representing the spatial position of the collected object; The content description vector and the position description vector mapped to the same vector space are superimposed to obtain a comprehensive information vector, and based on the comprehensive information vector, a position prediction vector fused with audio content information is extracted, and an audio content vector fused with the position information of each collected object is extracted.

14. The method according to any one of claims 9 to 11, characterized in that: The determining the location of the sound source object of the target wake-up word based on each obtained sound source position indication vector includes: Based on the obtained sound source position indication vectors, vector mapping processing is performed respectively to obtain a mapping position and a corresponding prediction probability, wherein the mapping position is a target position whose prediction probability satisfies a first preset condition after obtaining the prediction probability under each candidate position; The mapping position whose corresponding total number of occurrences meets the second preset condition is used as the predicted position determined for the sound source object of the target wake-up word.

15. A training device for a sound source localization model, characterized in that: The device comprises: a training unit, which is used to perform multiple rounds of iterative training on the constructed initial sound source localization model using various training samples, wherein in one round of iterative process, the following operations are performed: Reading a training sample; the training sample includes: a multi-channel sample audio signal with a sample wake-up word marked, and a corresponding position tag; For each pronunciation unit contained in the sample wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel sample audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of each collected object are extracted; the position prediction vector is used to describe the spatial position corresponding to at least one collected object with speech expression; Based on the correlation between each unit content vector and the audio content vector, the position prediction vectors are adjusted respectively to obtain the sound source position indication vectors of the corresponding pronunciation units, and based on the obtained sound source position indication vectors, the predicted position of the sound source object of the sample wake-up word is determined; Based on the resulting differences between the predicted locations and the corresponding location labels, model parameters are adjusted.

16. A sound source object positioning device, characterized in that: include: An acquisition unit, used to acquire a multi-channel audio signal acquired by an audio acquisition component; The positioning unit is used to identify the target wake-up word that successfully matches each preset candidate wake-up word based on the multi-channel audio signal, and use the trained target sound source positioning model to perform the following operations: For each pronunciation unit contained in the target wake-up word, the corresponding unit content vector is extracted respectively, and based on the multi-channel audio signal, a position prediction vector fused with audio content information and an audio content vector fused with position information of the collected object are extracted, wherein the position prediction vector is used to describe the spatial position corresponding to each of at least one collected object having voice expression; Based on the correlation between each unit content vector and the audio content vector, the position prediction vector is adjusted respectively to obtain the sound source position indication vector of the corresponding pronunciation unit, and based on the obtained sound source position indication vectors, the positioning position of the sound source object of the target wake-up word is determined.

17. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 14 is implemented.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 14 is implemented.

19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 14 is implemented.