Digital twin voiceprint feature processing method, storage medium and electronic device
Through sound source separation and clustering processing technology, the voiceprint features in multiple voice data are extracted, which solves the problem of poor user identity recognition accuracy caused by the low accuracy of voiceprint features in the existing technology, and achieves higher identity recognition. accuracy.
Patent Information
- Application Number
- CN202210603562.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-05-30
AI Technical Summary
The processing method of voiceprint features in the prior art results in poor accuracy of user identity recognition, mainly due to the low accuracy of the entered voiceprint features.
By acquiring multiple pieces of voice data, performing sound source separation processing and clustering processing, extracting voiceprint features containing multiple pieces of voice data, and using a method that combines sound source separation and clustering to improve the accuracy of voiceprint feature extraction.
It improves the accuracy of user identification and solves the problem of poor identification accuracy caused by low accuracy in voiceprint feature processing methods.
Smart Images

Figure CN115171702B
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and more specifically, to a digital twin voiceprint feature processing method, storage medium and electronic device. Background Art
[0002] In the intelligent voice dialogue system, the user's identity can be identified based on the voiceprint features registered by the user, and corresponding services can be provided to the user based on the identified user identity. When registering voiceprint features, the user can enter the voiceprint features through a device (for example, a mobile phone). After the registration is completed, when it is used later, the user's identity can be identified by comparing the registered voiceprint features.
[0003] However, the above-mentioned voiceprint feature processing method requires the user to speak according to the prompt text and other information when recording the voiceprint feature, collect voice data through the test sound component on the device, and extract the voiceprint feature from the collected voice data. Since the collected voice data is the voice data emitted by the user once, it is easily affected by the user's current state, resulting in a low accuracy of the recorded voiceprint feature, which in turn affects the accuracy of user identity recognition during subsequent use.
[0004] It can be seen that the method of processing voiceprint features in the related art has the problem of poor accuracy in user identity recognition due to the low precision of the recorded voiceprint features. Summary of the invention
[0005] The embodiments of the present application provide a digital twin voiceprint feature processing method, storage medium and electronic device to at least solve the problem of poor accuracy of user identity recognition caused by low precision of recorded voiceprint features in the voiceprint feature processing method in the related art.
[0006] According to one aspect of an embodiment of the present application, a digital twin voiceprint feature processing method is provided, comprising: acquiring multiple voice data to be processed, wherein each voice data is voice data collected by an intelligent device in a group of intelligent devices and the matching object information is not identified through voiceprint features; performing sound source separation processing on the multiple voice data to obtain at least one target voice group, wherein each target voice group contains at least two voice data belonging to one sound source among the multiple voice data; performing a voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, wherein the at least one voiceprint feature is a voiceprint feature of the corresponding object information to be determined.
[0007] In an exemplary embodiment, performing sound source separation processing on the multiple voice data to obtain at least one target voice group includes: performing sound source separation processing on the multiple voice data to obtain at least one initial voice group, wherein each initial voice group contains voice data belonging to one sound source among the multiple voice data; and determining a voice group in which the number of voice data contained in the at least one initial voice group is greater than or equal to two as the at least one target voice group.
[0008] In an exemplary embodiment, performing sound source separation processing on the multiple voice data to obtain at least one initial voice group includes: performing a voice merging operation on the multiple voice data to obtain merged voice data; inputting the merged voice data into a sound source recognition model to obtain a sound source recognition result output by the sound source recognition model, wherein the sound source recognition result is used to indicate the sound source to which each voice data belongs; and determining the voice data belonging to the same sound source indicated by the sound source recognition result as an initial voice group to obtain the at least one initial voice group.
[0009] In an exemplary embodiment, after performing sound source separation processing on the multiple voice data to obtain at least one target voice group, the method further includes: performing clustering processing on the multiple voice data to obtain at least one reference voice group, wherein each reference voice group contains voice data belonging to the same cluster obtained by clustering among the multiple voice data; and using the at least one reference voice group to update the at least one target voice group to obtain the updated at least one target voice group.
[0010] In an exemplary embodiment, clustering the multiple voice data to obtain at least one reference voice group includes: performing dimensionality reduction processing on each voice data to obtain each voice data after dimensionality reduction; clustering the multiple voice data according to the distance between each voice data to obtain the at least one reference voice group.
[0011] In an exemplary embodiment, the use of the at least one reference voice group to update the at least one target voice group to obtain the updated at least one target voice group includes: performing the following operations on each target voice group to obtain the updated at least one target voice group, wherein when performing the following steps, each target voice group is the current voice group: determining a matching voice group in the at least one reference voice group that matches the current voice group, wherein the ratio of the number of identical voice data contained in the matching voice group and the current voice group to the total number of voice data in the current voice group is greater than or equal to a target ratio threshold; when the number of identical voice data contained in the matching voice group and the current voice group is greater than or equal to two, removing the voice data in the current voice group that does not belong to the matching voice group to obtain the updated current voice group; when the number of identical voice data contained in the matching voice group and the current voice group is less than two, removing the current voice group.
[0012] In an exemplary embodiment, before acquiring the multiple voice data to be processed, the method further includes: receiving first voice data sent by a first smart device in the group of smart devices, wherein the first voice data is voice data for which no matching recorded voiceprint features are recognized; if the first voice data meets a voice screening condition, determining the first voice data as a voice data to be processed, wherein the voice screening condition includes at least one of the following: the number of words recognized from the first voice data is greater than or equal to a target number of words, and the signal-to-noise ratio of the first voice data is greater than or equal to a preset signal-to-noise ratio.
[0013] In an exemplary embodiment, after performing a voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, the method further includes: receiving second voice data sent by a second smart device in the group of smart devices, wherein the second voice data is voice data emitted by an object of use of the second smart device; when the voiceprint feature of the second voice data matches a target voiceprint feature in the at least one voiceprint feature, obtaining object information of the object of use through the second smart device; and saving the object information of the object of use and the target voiceprint feature having a corresponding relationship.
[0014] According to another aspect of an embodiment of the present application, a digital twin voiceprint feature processing device is also provided, including: a first acquisition unit, used to acquire multiple voice data to be processed, wherein each voice data is voice data collected by an intelligent device in a group of intelligent devices and the matching object information is not identified through voiceprint features; a first execution unit, used to perform sound source separation processing on the multiple voice data to obtain at least one target voice group, wherein each target voice group contains at least two voice data belonging to one sound source among the multiple voice data; a second execution unit, used to perform a voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, wherein the at least one voiceprint feature is a voiceprint feature of the corresponding object information to be determined.
[0015] In an exemplary embodiment, the first execution unit includes: a first execution module, used to perform sound source separation processing on the multiple voice data to obtain at least one initial voice group, wherein each initial voice group contains voice data belonging to one sound source among the multiple voice data; a determination module, used to determine a voice group in which the number of voice data contained in the at least one initial voice group is greater than or equal to two as the at least one target voice group.
[0016] In an exemplary embodiment, the first execution module includes: an execution submodule, used to perform a speech merging operation on the multiple voice data to obtain merged voice data; an input submodule, used to input the merged voice data into a sound source recognition model to obtain a sound source recognition result output by the sound source recognition model, wherein the sound source recognition result is used to indicate the sound source to which each voice data belongs; a determination submodule, used to determine the voice data belonging to the same sound source indicated by the sound source recognition result as an initial voice group to obtain the at least one initial voice group.
[0017] In an exemplary embodiment, the device also includes: a third execution unit, which is used to perform clustering processing on the multiple voice data after performing sound source separation processing on the multiple voice data to obtain at least one target voice group, so as to obtain at least one reference voice group, wherein each reference voice group contains voice data belonging to the same cluster obtained by clustering among the multiple voice data; and an updating unit, which is used to update the at least one target voice group using the at least one reference voice group to obtain the updated at least one target voice group.
[0018] In an exemplary embodiment, the third execution unit includes: a processing module, used to perform dimensionality reduction processing on each of the voice data to obtain each of the voice data after dimensionality reduction; a clustering module, used to cluster the multiple voice data according to the distance between each voice data to obtain the at least one reference voice group.
[0019] In an exemplary embodiment, the update unit includes: a second execution module, which is used to perform the following operations on each target voice group to obtain the updated at least one target voice group, wherein when performing the following steps, each target voice group is the current voice group: determining a matching voice group in the at least one reference voice group that matches the current voice group, wherein the ratio of the number of identical voice data contained in the matching voice group and the current voice group to the total number of voice data in the current voice group is greater than or equal to a target ratio threshold; when the number of identical voice data contained in the matching voice group and the current voice group is greater than or equal to two, removing the voice data in the current voice group that does not belong to the matching voice group to obtain the updated current voice group; when the number of identical voice data contained in the matching voice group and the current voice group is less than two, removing the current voice group.
[0020] In an exemplary embodiment, the device also includes: a first receiving unit, used to receive first voice data sent by a first smart device in the group of smart devices before acquiring the multiple voice data to be processed, wherein the first voice data is voice data for which no matching recorded voiceprint features are recognized; a determination unit, used to determine the first voice data as a voice data to be processed if the first voice data meets a voice screening condition, wherein the voice screening condition includes at least one of the following: the number of words recognized from the first voice data is greater than or equal to the target number of words, and the signal-to-noise ratio of the first voice data is greater than or equal to a preset signal-to-noise ratio.
[0021] In an exemplary embodiment, the device also includes: a second receiving unit, used to receive second voice data sent by a second smart device in the group of smart devices after performing a voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, wherein the second voice data is voice data emitted by an object of use of the second smart device; a second acquisition unit, used to acquire object information of the object of use through the second smart device when the voiceprint feature of the second voice data matches the target voiceprint feature in the at least one voiceprint feature; and a storage unit, used to store the object information of the object of use and the target voiceprint feature having a corresponding relationship.
[0022] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned digital twin voiceprint feature processing method when running.
[0023] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the digital twin voiceprint feature processing method through the computer program.
[0024] In an embodiment of the present application, after performing sound source separation processing on the acquired multiple voice data, feature extraction is performed on the voice data in the separated voice group, by acquiring multiple voice data to be processed, each voice data is collected by an intelligent device in a group of intelligent devices, and the voice data of the object information that is not matched by the voiceprint feature is not identified; performing sound source separation processing on the multiple voice data to obtain at least one target voice group, each target voice group contains at least two voice data belonging to one sound source in the multiple voice data; performing a voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, and at least one voiceprint feature is the object information to be determined. Voiceprint features, since the acquired voice data is grouped in combination with sound source separation processing, and the voiceprint features of the voice data in the group containing at least two voice data are extracted, different voice data belonging to the same sound source can reflect different states of the user. Voiceprint feature extraction by different voice data of the same sound source can achieve the purpose of improving the accuracy of the extracted voiceprint features in representing the corresponding user. After entering the corresponding object information, user identity recognition is performed based on the voiceprint features extracted in this way, which can improve the technical effect of the accuracy of user identity recognition, thereby solving the problem of poor accuracy of user identity recognition caused by the low accuracy of the recorded voiceprint features in the voiceprint feature processing method in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0027] Figure 1is a schematic diagram of a hardware environment of an optional digital twin voiceprint feature processing method according to an embodiment of the present application;
[0028] Figure 2 It is a flowchart of an optional digital twin voiceprint feature processing method according to an embodiment of the present application;
[0029] Figure 3 is a schematic diagram of an optional digital twin voiceprint feature processing method according to an embodiment of the present application;
[0030] Figure 4 is a structural block diagram of an optional digital twin voiceprint feature processing device according to an embodiment of the present application;
[0031] Figure 5 It is a structural block diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments 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 only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present 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 data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] According to one aspect of an embodiment of the present application, a digital twin voiceprint feature processing method is provided. The digital twin voiceprint feature processing method is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned digital twin voiceprint feature processing method can be applied to Figure 1In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.
[0035] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.
[0036] The digital twin voiceprint feature processing method of the embodiment of the present application can be executed by the server 104, or by the terminal device 102, or by both the server 104 and the terminal device 102. The digital twin voiceprint feature processing method of the embodiment of the present application can be executed by the terminal device 102 or by a client installed thereon.
[0037] Taking the digital twin voiceprint feature processing method of this embodiment executed by the server 104 as an example, Figure 2 is a flow chart of an optional digital twin voiceprint feature processing method according to an embodiment of the present application, such as Figure 2 As shown, the process of the method may include the following steps:
[0038] Step S202, a plurality of voice data to be processed are obtained, wherein each voice data is voice data collected by one smart device in a group of smart devices and for which no matching object information is identified through voiceprint features.
[0039] The digital twin voiceprint feature processing method in this embodiment can be applied to the scenario of processing voiceprint features in voice data. The above voice data can be voice data collected by the intelligent voice system running on the intelligent device (the voice data collected by the intelligent voice system through the sound pickup component on the intelligent device, and the above sound pickup component can be a microphone array, etc.), and the above collected voice data can include voice data of multiple voice objects, or voice data of a single voice object, which is not limited here. Here, the digital twin makes full use of physical models, sensor updates, operation history and other data, integrates multi-disciplinary, multi-physical quantity, multi-scale, and multi-probability simulation processes, and completes mapping in the virtual space, thereby reflecting the entire life cycle process of the corresponding physical equipment. Correspondingly, the digital twin voiceprint feature processing method in this embodiment can be applied to intelligent devices or servers with digital twin functions (for example, running digital twin systems).
[0040] Optionally, the above-mentioned voice data collection method can be performed in a state where the voice subject is unaware, that is, the collection of daily voice interaction data of the voice subject can be realized without the voice subject having to respond to the voice input operation separately to realize voice collection. In this embodiment, the voice data collection in a state where the voice subject is unaware is taken as an example for explanation.
[0041] In intelligent voice dialogue systems, voiceprint recognition and application are becoming more and more widespread, but they are basically implemented based on registered voiceprints. Traditional registered voiceprints are the most widely used in current smart devices. Usually, users register a voiceprint through a certain device, such as a mobile phone. When it is used later, the feature comparison can be made based on the registered audio to confirm whether it is the same person. The existing voiceprint feature processing based on non-registered voiceprints generally obtains feature results through clustering. When the clustering result is incorrect, the subsequent classification result is often prone to error. The implementation effect of this non-registered voiceprint is relatively poor and has not been widely used.
[0042] In addition, users increasingly hope to obtain services provided by smart home devices in an imperceptible manner, such as voiceprint recognition. Based on this, the digital twin voiceprint feature processing method provided in this embodiment can optimize the imperceptible non-registered voiceprint recognition of multiple people in the family. Before voiceprint recognition, multiple voice data to be processed can be obtained through smart devices. Here, each voice data is voice data collected by one smart device in a group of smart devices and the matching object information is not recognized through voiceprint features.
[0043] The above group of smart devices can be smart devices bound to the same account (e.g., a family account), for example, smart home devices with smart voice systems, such as smart speakers, smart TVs, etc., and can also be other smart devices, such as smart screens, without limitation. The above object information can be object information of the voice object, such as the object nickname, object age, object gender, object preferences, etc., without limitation.
[0044] Optionally, after a smart device in a group of smart devices is awakened (or when it is not awakened), when a voice signal is detected, the collection of the voice signal can be started, and then a voice data is obtained, and the voiceprint feature recognition is performed on the obtained voice data to determine whether the voiceprint feature of the collected voice data matches the voiceprint feature of the corresponding object information. If so, the voice data has matching object information, otherwise, it is determined that the voice data does not have matching object information. For object information that does not have matching information, it can be saved as accumulated voice data. When the accumulated voice data exceeds a preset number, the accumulated multiple voice data can be subsequently processed. Here, the voice data can be saved in the form of a voice file, which can also be called audio, audio data or audio file.
[0045] For example, if too little audio is accumulated, the recognition effect will be poor. Therefore, a certain number of audio files can be accumulated in advance as a basis for judgment. For example, the number of audio files can be set to 6.
[0046] Step S204, performing sound source separation processing on the multiple voice data to obtain at least one target voice group, wherein each target voice group contains at least two voice data belonging to one sound source among the multiple voice data.
[0047] After obtaining the multiple voice data to be processed, the server can perform sound source separation processing on the multiple voice data, and then determine the voice data belonging to the same sound source from the multiple voice data, that is, obtain at least one target voice group, each target voice group contains at least two voice data belonging to one sound source from the multiple voice data. For the voice group containing one voice data from the multiple voice data, it can be removed, or it can be used as accumulated voice data for subsequent processing, again without limitation.
[0048] For example, the accumulated multiple voice data may be 6 pieces, which are respectively represented by voice data 1, voice data 2, voice data 3, voice data 4, voice data 5, and voice data 6. Before performing the sound source separation operation on the 6 voice data, in order to ensure the effect of sound source separation, the 6 voice data collected in different time periods may be merged, and the sound source separation process is performed on the merged voice data by calling the sound source separation algorithm interface therein to obtain the grouping of voice data. The sound sources of the voice data contained in each voice group after grouping are the same. For example, voice group 1 contains voice data 1, 2, and 4, and voice group 2 contains voice data 3, 5, and 6.
[0049] Step S206, performing a voiceprint feature extraction operation on the speech data in each target speech group to obtain at least one voiceprint feature, wherein the at least one voiceprint feature is a voiceprint feature of the object information to be determined.
[0050] In this embodiment, after obtaining the target voice group, a voiceprint feature extraction operation can be performed on the voice data in each target voice group to obtain the voiceprint features of the corresponding object information to be determined, so as to realize the user's voiceprint recognition when the user performs voice interaction later.
[0051] When performing voiceprint feature extraction, a feature extraction model can be used to extract voiceprint features from speech data. The feature extraction model here can be constructed based on the volume, intonation, and timbre in the speech data, or it can be constructed based on other feature dimensions, which are not limited here. After the feature extraction model, the feature values of the three dimensions corresponding to the speech data can be output to determine the voiceprint features of the speech data.
[0052] Through the above steps S202 to S206, multiple voice data to be processed are obtained, each voice data is voice data collected by a smart device in a group of smart devices, and the matching object information is not identified through the voiceprint feature; the multiple voice data are subjected to sound source separation processing to obtain at least one target voice group, each target voice group contains at least two voice data belonging to one sound source among the multiple voice data; the voiceprint feature extraction operation is performed on the voice data in each target voice group to obtain at least one voiceprint feature, and at least one voiceprint feature is a voiceprint feature of the corresponding object information to be determined, which solves the problem of poor accuracy of user identity recognition due to low accuracy of the recorded voiceprint features in the voiceprint feature processing method in the related art, thereby improving the accuracy of user identity recognition.
[0053] In an exemplary embodiment, performing sound source separation processing on a plurality of voice data to obtain at least one target voice group includes:
[0054] S11, performing sound source separation processing on the multiple voice data to obtain at least one initial voice group, wherein each initial voice group includes voice data belonging to one sound source among the multiple voice data;
[0055] S12: Determine, in at least one initial voice group, a voice group including voice data greater than or equal to two pieces as at least one target voice group.
[0056] In this embodiment, when performing sound source separation processing on multiple voice data, the voice groups obtained by sound source separation are initial voice groups, and each initial voice group contains voice data belonging to one sound source among multiple voice data, and the number of the initial voice groups may be one or more. If an initial voice group contains only one voice data, it is considered that the confidence of the initial voice group is low, and the initial voice group can be discarded, and the voice groups containing more than or equal to two voice data in the initial voice group are retained, so that the target voice group can be determined.
[0057] For example, the accumulated multiple voice data may be 6 pieces, which are respectively represented by voice data 1, voice data 2, voice data 3, voice data 4, voice data 5, and voice data 6. After sound source separation, the obtained groups are as follows: initial voice group 1 includes voice data 1 and 2, initial voice group 2 includes voice data 3, 5, and 6, and initial voice group 3 includes voice data 4. At this time, initial voice group 3 can be discarded, and initial voice group 1 and initial voice group 2 are used as target voice groups.
[0058] Through this embodiment, by screening the voice groups containing less than two voice data, it is possible to avoid the adverse effect of too few voice data contained in the voice group on the voiceprint feature extraction, thereby improving the accuracy of voiceprint feature processing.
[0059] In an exemplary embodiment, a sound source separation process is performed on a plurality of voice data to obtain at least one initial voice group, including:
[0060] S21, performing a voice merging operation on the plurality of voice data to obtain merged voice data;
[0061] S22, inputting the combined voice data into a sound source recognition model to obtain a sound source recognition result output by the sound source recognition model, wherein the sound source recognition result is used to indicate the sound source to which each voice data belongs;
[0062] S23, determining the voice data belonging to the same sound source indicated by the sound source recognition result as an initial voice group, and obtaining at least one initial voice group.
[0063] In this embodiment, in order to ensure the accuracy of sound source separation, a speech merging operation can be performed on multiple voice data. After obtaining the merged voice data, the merged voice data is input into the sound source recognition model to obtain the sound source recognition result output by the sound source recognition model, and the voice data belonging to the same sound source indicated by the sound source recognition result is determined as an initial voice group to obtain at least one initial voice group.
[0064] The implementation process of sound source separation is mainly as follows: first, the six audio files are merged. After the merging, an end-to-end attractor-based sound source separation algorithm is used to judge whether the sound sources in different time periods are the same sound source, and the statistical results are returned.
[0065] For example, Figure 3 As shown in the figure, the sound source recognition model is a transformer model, referring to the end-to-end speaker segmentation method for an unknown number of speakers with encoder-decoder based attractors. The transformer encoder is an end-to-end model of self-attention, and the output embedding layer is an encoder-decoder based on the attractor; the attractor determines the speaker number of the data, and finally the speaker number of the result can be obtained; through the evaluation of the model, each speaker is scored, and those with a score exceeding the specified threshold are considered to be the speaker; the threshold judgment needs to be adjusted through experience and different channel devices, and cannot be completely unified.
[0066] Optionally, the Loss function corresponding to the sound source recognition model may be a binary crossentropy loss function, as shown in formula (1):
[0067]
[0068] in, The probability that the model predicts that the sample is a positive example, y t is the sample label. If the sample is a positive example, the value is 1, otherwise it is 0. t,s is the sample label in a single loss function, The probability that the model predicts a sample to be a positive example in a single loss function.
[0069] Through this embodiment, the audio of the same object is amplified by separating the source, so that the obtained result is more credible, and the effect of non-registered voiceprint recognition is improved based on the sound source recognition model.
[0070] In an exemplary embodiment, after performing sound source separation processing on the plurality of voice data to obtain at least one target voice group, the method further includes:
[0071] S31, performing clustering processing on the plurality of speech data to obtain at least one reference speech group, wherein each reference speech group includes speech data belonging to the same cluster obtained by clustering among the plurality of speech data;
[0072] S32: Use at least one reference speech group to update at least one target speech group to obtain at least one updated target speech group.
[0073] If there are inaccurate groupings in the voice groups obtained based on sound source separation, the voiceprint features obtained by extracting voiceprint features from the voice data in the group will not accurately represent a user, which in turn leads to inaccurate recognition results obtained by using the extracted voiceprint features for identity recognition. In order to at least partially solve the above problem, in this embodiment, sound source separation can be combined with voice clustering, and the sound source separation results can be updated based on the clustering results. For example, controversial voice data can be abandoned, thereby improving the accuracy of voiceprint feature extraction.
[0074] The server can perform clustering processing on multiple voice data to obtain multiple clusters, each of which can contain at least one voice data, thereby obtaining at least one reference voice group, and each reference voice group in at least one reference voice group can contain at least one voice data belonging to the same cluster obtained by clustering among the multiple voice data.
[0075] At least one target speech group can be updated using at least one reference speech group obtained by clustering to obtain at least one updated target speech group. The updating operation of the speech group can be: removing controversial speech data in each target speech group, where controversial speech data refers to speech data with inconsistent sound source separation and distance results.
[0076] Optionally, after obtaining at least one reference voice group, at least one target voice group may be used to update at least one reference voice group to obtain at least one updated reference voice group, and the voiceprint feature extraction is performed on the voice data in each reference voice group. It can also be considered that the target voice group is obtained by clustering multiple voice data, and the reference voice group is obtained by performing sound source separation on multiple voice data, and other operations are similar to those in the aforementioned embodiment. In addition, the order of performing sound source separation on multiple voice data and clustering on multiple voice data can be arbitrary, and this is not limited in this embodiment.
[0077] For example, we can use the t-SNE (t-distributed Stochastic Neighbor Embedding) algorithm, which mainly uses the KL (Kullback-Leibler) divergence to iterate the loss function, making points that are close to each other closer and points that are far away farther away, thus solving the crowding problem in the clustering process. The loss function corresponding to t-SNE is shown in formula (2):
[0078]
[0079] Among them, the similarity between data points i and j in high-dimensional data can be expressed by P(j|i), and correspondingly, the similarity between i and j in low-dimensional data can be expressed by Q(j|i). Represents all divergence distances of n points.
[0080] When calling the clustering algorithm interface to process multiple voice data, two reference voice groups can be obtained, reference voice group one (including voice data 1 and 2), corresponding to cluster one, and reference voice group two (including voice data 3, 4, and 6), corresponding to cluster two. If the target voice groups obtained by the aforementioned sound source separation algorithm interface are voice group one (including voice data 1, 2, and 4) and voice group two (including voice data 3, 5, and 6), the reference voice groups can be used to update the target voice groups, and the updated target voice groups are: target voice group one (including voice data 1 and 2) and target voice group two (including voice data 3 and 6).
[0081] By adopting the above-mentioned non-registration method, the user's audio files are accumulated, and the core feature results of the cluster are obtained by combining sound source separation and clustering algorithms. This is used as the specific feature result of a certain speaker. When other audio to be classified is input, it is compared with the feature to determine whether it is the speaker. The algorithm is simple, easy to implement, and has good results.
[0082] Through this embodiment, by combining sound source separation with speech clustering to determine the grouping of speech data, the accuracy of voiceprint feature extraction can be improved, and.
[0083] In an exemplary embodiment, clustering is performed on a plurality of voice data to obtain at least one reference voice group, including:
[0084] S41, performing dimensionality reduction processing on each voice data to obtain each voice data after dimensionality reduction;
[0085] S42, clustering the plurality of voice data according to the distance between each voice data to obtain at least one reference voice group.
[0086] In this embodiment, when performing clustering processing on multiple voice data, each voice data can be first subjected to dimensionality reduction processing. After obtaining each voice data after dimensionality reduction, the clustering algorithm interface is called to cluster the multiple voice data to obtain at least one reference voice group.
[0087] Exemplarily, the t-SNE clustering algorithm can be used. t-SNE is an unsupervised clustering algorithm, which is a high-dimensional data dimensionality reduction mode. It can update the reduced data so that the reduced data is closer to the mutual distance between the original data. That is, the algorithm has a good classification effect on samples after the dimensionality reduction of high-dimensional data. The implementation of the clustering algorithm is mainly to input multiple voice data, for example, 6 sentences, into the clustering algorithm at the same time, and receive the clustered results (at least one reference voice group) returned by the algorithm interface.
[0088] Through this embodiment, the dimensionality reduction processing of the speech data can achieve a better classification effect, thereby improving the accuracy of clustering the speech data.
[0089] In an exemplary embodiment, at least one target speech group is updated using at least one reference speech group to obtain at least one updated target speech group, including:
[0090] S51, performing the following operations on each target speech group to obtain at least one updated target speech group, wherein when performing the following steps, each target speech group is a current speech group:
[0091] Determine a matching voice group in at least one reference voice group that matches the current voice group, wherein the ratio of the number of identical voice data contained in the matching voice group and the current voice group to the total number of voice data in the current voice group is greater than or equal to a target ratio threshold;
[0092] When the number of identical voice data contained in the matching voice group and the current voice group is greater than or equal to two, remove the voice data in the current voice group that does not belong to the matching voice group to obtain an updated current voice group;
[0093] When the number of identical voice data contained in the matching voice group and the current voice group is less than two, the current voice group is removed.
[0094] In this embodiment, when updating the target voice group, a matching voice group that matches the current voice group in at least one reference voice group can be first determined, where the number of identical voice data contained in the matching voice group and the current voice group accounts for a ratio greater than or equal to a target ratio threshold (e.g., 50%) of the total number of voice data in the current voice group. In the case where the number of identical voice data contained in the matching voice group and the current voice group is greater than or equal to two, the voice data in the current voice group that does not belong to the matching voice group is removed to obtain an updated current voice group; in the case where the number of identical voice data contained in the matching voice group and the current voice group is less than two, the current voice group is removed.
[0095] That is to say, the matching voice group can be determined based on the number of matching voice data, and the voice data shared by the matching voice group and the current voice group can be retained, and the others can be eliminated. The matching voice group and the current voice group whose number of identical voice data is less than the number of current voice groups can also be eliminated, and the other retained current voice groups can be used as target voice groups.
[0096] Through this embodiment, the sound source separation result is combined with the clustering result, and controversial audio results are abandoned. In this way, the filtered features are more consistent with the audio features that the user actually needs to classify, thereby ensuring the accuracy of the voiceprint recognition results.
[0097] In an exemplary embodiment, before acquiring the plurality of voice data to be processed, the method further includes:
[0098] S61, receiving first voice data sent by a first smart device in a group of smart devices, wherein the first voice data is voice data for which no matching object information is identified through voiceprint features;
[0099] S62, when the first voice data meets the voice screening condition, determining the first voice data as a voice data to be processed, wherein the voice screening condition includes at least one of the following: the number of words recognized from the first voice data is greater than or equal to the target number of words, and the signal-to-noise ratio of the first voice data is greater than or equal to a preset signal-to-noise ratio.
[0100] In this embodiment, the multiple voice data obtained are all voice data that meet the voice screening conditions. The above-mentioned voice screening conditions are conditions for screening the accumulated voice data, and may include but are not limited to at least one of the following: the number of words recognized from the first voice data is greater than or equal to the target number of words, and the signal-to-noise ratio of the first voice data is greater than or equal to the preset signal-to-noise ratio.
[0101] For a first smart device in a group of smart devices, a user can issue a voice control instruction (or a voice interaction instruction) to the first smart device, and the first smart device can collect first voice data carrying the above voice control instruction and send the first voice data to a server, and the server can receive the above first voice data sent by the first smart device.
[0102] After receiving the first voice data, the server may extract the voiceprint features of the first voice data and match them with the existing voiceprint features on the server. The existing voiceprint features may be voiceprint features in a voiceprint feature library, which may include recorded voiceprint features, that is, voiceprint features for which corresponding object information has been recorded. At this time, the existing voiceprint features on the server do not include voiceprint features for which corresponding object information has not been recorded.
[0103] If there is a matching voiceprint feature for the existing voiceprint feature, and the matching voiceprint feature has corresponding object information (i.e., the matching object information), the first voice data can be processed based on the matching object information, for example, the intention of the first voice data can be identified, and the first voice data can be responded to based on the identified intention; when it is necessary to interact with the voice object of the first smart device, an interaction statement is generated according to the matched object information, and the interaction statement is broadcast to the voice object of the first smart device through TTS (Text To Speech).
[0104] If there is no matching voiceprint feature for the existing voiceprint feature, it can be determined that no object information matching the first voice data has been identified through the voiceprint feature. In this case, it can be determined whether the first voice data meets the voice screening condition, for example, whether the number of words recognized in the first voice data is greater than or equal to the target number of words, and whether the signal-to-noise ratio of the first voice data is greater than or equal to the preset signal-to-noise ratio. If the voice screening condition is met, the first voice data can be determined as a piece of voice data to be processed.
[0105] Optionally, if the existing voiceprint features on the server include voiceprint features for which the corresponding object information is not recorded, the voiceprint features of the first voice data can be compared with the voiceprint features for which the corresponding object information is not recorded, and based on the comparison result, it can be determined whether there is a voiceprint feature for which the corresponding object information is not recorded that matches the voiceprint features of the first voice data. If not, it can be determined in a similar manner whether the first voice data meets the voice screening condition. If yes, the object information of the voice object of the first smart device can be obtained through the first smart device, and the correspondence between the obtained object information and the voiceprint features for which the corresponding object information is not recorded can be saved.
[0106] For example, when a user uses a smart home system, they can interact with the smart home devices through voice. The voice data during the interaction will be temporarily retained in the cloud according to different households (that is, the voice file or audio file is saved). For each voice interaction of the user, the cloud will screen the voice data by evaluating the number of words and signal-to-noise ratio of the voice data recognition results. If the signal-to-noise ratio is negative or the number of recognized words is less than 4, the voice data will be deleted through the cloud.
[0107] Through this embodiment, by screening the voice data whose number of words exceeds the word number threshold and whose signal-to-noise ratio reaches the preset signal-to-noise ratio as the accumulated voice data, the accuracy of voiceprint feature extraction can be improved.
[0108] In an exemplary embodiment, after performing a voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, the method further includes:
[0109] S71, receiving second voice data sent by a second smart device in a group of smart devices, wherein the second voice data is voice data sent by a user of the second smart device;
[0110] S72, when the voiceprint feature of the second voice data matches the target voiceprint feature in the at least one voiceprint feature, obtaining object information of the user object through the second smart device;
[0111] S73, saving the object information of the user object having the corresponding relationship and the target voiceprint feature.
[0112] Each voiceprint feature can be saved in a database so as to be compared with the voiceprint features of speech data subsequently collected by any smart device in a group of smart devices, so as to determine whether it is necessary to obtain the object information corresponding to the successfully compared voiceprint feature based on the comparison result.
[0113] In this embodiment, the server can receive second voice data sent by a second smart device in a group of smart devices, where the second voice data is voice data sent by an object of the second smart device. After receiving the second voice data, the server can extract the voiceprint features of the second voice data and match them with the existing voiceprint features on the server. The way the second smart device collects and sends the second voice data and the way the server matches the voiceprint features are similar to those in the above embodiments, and are not described in detail here.
[0114] If there is a matching voiceprint feature for the existing voiceprint feature, and the matching voiceprint feature has corresponding object information, or if there is no matching voiceprint feature for the existing voiceprint feature, the second voice data can be processed in a manner similar to that in the aforementioned embodiment, which has been explained and will not be repeated here.
[0115] If there is a matching voiceprint feature for the existing voiceprint feature, and the matching voiceprint feature has no corresponding object information, for example, it matches the target voiceprint feature in at least one voiceprint feature, the object information of the user object can be obtained through the second smart device to provide personalized voice interaction services for the user object. Optionally, the second smart device can generate guidance information for setting the object information, guiding the user object to set a nickname, etc., and can also set age, preferences, etc.
[0116] If the object information of the user object is obtained, the object information of the user object with a corresponding relationship and the target voiceprint feature can be saved. When processing the second voice data this time or processing the subsequent voice data of the user object, the intention of the second voice data or the subsequent voice data is identified, and the second voice data or the subsequent voice data is responded to based on the identified intention.
[0117] For example, when a user speaks, by comparing the features of the audio with the above audio, if it is believed that they are the same person, the user can be guided to set a nickname. The same comparison is performed later to determine whether it is the user. If it is believed to be the user, the voiceprint recognition process is completed by replying "Hello, ***". If it is not believed to be the user, the audio can be accumulated again and the above voiceprint feature extraction process is repeated.
[0118] Through this embodiment, the collected voice data is compared based on the matching of voiceprint features, and when a matching voiceprint feature is identified but the matching voiceprint feature has no corresponding object information, the object information is guided to be entered. This can improve the timeliness and convenience of obtaining object information, and also facilitate users to enter voiceprint features without perception, thereby improving the user experience.
[0119] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM (Read-Only Memory) / RAM (Random Access Memory), a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0121] According to another aspect of an embodiment of the present application, a digital twin voiceprint feature processing device for implementing the above-mentioned digital twin voiceprint feature processing method is also provided. Figure 4 is a structural block diagram of an optional digital twin voiceprint feature processing device according to an embodiment of the present application, such as Figure 4 As shown, the device may include:
[0122] A first acquisition unit 402 is used to acquire multiple voice data to be processed, wherein each voice data is voice data collected by one smart device in a group of smart devices and the matching object information is not identified through the voiceprint feature;
[0123] A first execution unit 404, connected to the first acquisition unit 402, is used to perform sound source separation processing on the multiple voice data to obtain at least one target voice group, wherein each target voice group includes at least two voice data belonging to one sound source among the multiple voice data;
[0124] The second execution unit 406 is connected to the first execution unit 404, and is used to perform a voiceprint feature extraction operation on the speech data in each target speech group to obtain at least one voiceprint feature, wherein the at least one voiceprint feature is a voiceprint feature of the object information to be determined.
[0125] It should be noted that the first acquisition unit 402 in this embodiment can be used to execute the above step S202, the first execution unit 404 in this embodiment can be used to execute the above step S204, and the second execution unit 406 in this embodiment can be used to execute the above step S206.
[0126] Through the above module, multiple voice data to be processed are obtained, each voice data is voice data collected by one smart device in a group of smart devices, and the matching object information is not identified through the voiceprint feature; sound source separation processing is performed on the multiple voice data to obtain at least one target voice group, each target voice group contains at least two voice data belonging to one sound source among the multiple voice data; voiceprint feature extraction operation is performed on the voice data in each target voice group to obtain at least one voiceprint feature, at least one voiceprint feature is the voiceprint feature of the corresponding object information to be determined, which solves the problem of poor accuracy of user identity recognition due to low accuracy of the recorded voiceprint features in the voiceprint feature processing method in the related art, thereby improving the accuracy of user identity recognition.
[0127] In an exemplary embodiment, the first execution unit includes:
[0128] A first execution module is used to perform sound source separation processing on the multiple voice data to obtain at least one initial voice group, wherein each initial voice group contains voice data belonging to one sound source among the multiple voice data;
[0129] The determination module is used to determine, in at least one initial voice group, a voice group whose number of voice data is greater than or equal to two as at least one target voice group.
[0130] In an exemplary embodiment, the first execution module includes:
[0131] An execution submodule, used for performing a voice merging operation on the plurality of voice data to obtain merged voice data;
[0132] An input submodule, used to input the combined voice data into a sound source recognition model to obtain a sound source recognition result output by the sound source recognition model, wherein the sound source recognition result is used to indicate the sound source to which each voice data belongs;
[0133] The determination submodule is used to determine the voice data belonging to the same sound source indicated by the sound source recognition result as an initial voice group to obtain at least one initial voice group.
[0134] In an exemplary embodiment, the above device further comprises:
[0135] A third execution unit is used to perform a clustering process on the plurality of speech data after performing a sound source separation process on the plurality of speech data to obtain at least one target speech group, wherein each reference speech group includes speech data belonging to the same cluster obtained by clustering among the plurality of speech data;
[0136] The updating unit is used to update at least one target speech group using at least one reference speech group to obtain at least one updated target speech group.
[0137] In an exemplary embodiment, the third execution unit includes:
[0138] A processing module, used for performing dimension reduction processing on each voice data to obtain each voice data after dimension reduction;
[0139] The clustering module is used to cluster multiple voice data according to the distance between each voice data to obtain at least one reference voice group.
[0140] In an exemplary embodiment, the updating unit comprises:
[0141] The second execution module is configured to perform the following operations on each target speech group to obtain at least one updated target speech group, wherein each target speech group is a current speech group when performing the following steps:
[0142] Determine a matching voice group in at least one reference voice group that matches the current voice group, wherein the ratio of the number of identical voice data contained in the matching voice group and the current voice group to the total number of voice data in the current voice group is greater than or equal to a target ratio threshold;
[0143] When the number of identical voice data contained in the matching voice group and the current voice group is greater than or equal to two, remove the voice data in the current voice group that does not belong to the matching voice group to obtain an updated current voice group;
[0144] When the number of identical voice data contained in the matching voice group and the current voice group is less than two, the current voice group is removed.
[0145] In an exemplary embodiment, the above device further comprises:
[0146] A first receiving unit is used to receive first voice data sent by a first smart device in a group of smart devices before acquiring the multiple voice data to be processed, wherein the first voice data is voice data of recorded voiceprint features that are not recognized to match;
[0147] A determination unit is used to determine the first voice data as a piece of voice data to be processed when the first voice data meets a voice screening condition, wherein the voice screening condition includes at least one of the following: the number of words recognized from the first voice data is greater than or equal to a target number of words, and the signal-to-noise ratio of the first voice data is greater than or equal to a preset signal-to-noise ratio.
[0148] In an exemplary embodiment, the above device further comprises:
[0149] a second receiving unit, configured to receive second voice data sent by a second smart device in a group of smart devices after performing a voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, wherein the second voice data is voice data sent by a user of the second smart device;
[0150] a second acquiring unit, configured to acquire object information of a user object through a second smart device when a voiceprint feature of the second voice data matches a target voiceprint feature of the at least one voiceprint feature;
[0151] The storage unit is used to store the object information of the user object having a corresponding relationship and the target voiceprint feature.
[0152] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.
[0153] According to another aspect of the embodiments of the present application, a storage medium is further provided. Optionally, in this embodiment, the storage medium can be used to execute the program code of any of the digital twin voiceprint feature processing methods in the embodiments of the present application.
[0154] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.
[0155] Optionally, in this embodiment, the storage medium is configured to store program codes for performing the following steps:
[0156] S1, obtaining multiple voice data to be processed, wherein each voice data is voice data collected by one smart device in a group of smart devices and for which no matching object information is identified through voiceprint features;
[0157] S2, performing sound source separation processing on the multiple voice data to obtain at least one target voice group, wherein each target voice group includes at least two voice data belonging to one sound source among the multiple voice data;
[0158] S3, performing a voiceprint feature extraction operation on the speech data in each target speech group to obtain at least one voiceprint feature, wherein the at least one voiceprint feature is a voiceprint feature of the corresponding object information to be determined.
[0159] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, which will not be described in detail in this embodiment.
[0160] Optionally, in this embodiment, the storage medium may include but is not limited to: a U disk, a ROM, a RAM, a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0161] According to another aspect of an embodiment of the present application, an electronic device for implementing the above-mentioned digital twin voiceprint feature processing method is also provided. The electronic device may be a server, a terminal, or a combination thereof.
[0162] Figure 5 is a structural block diagram of an optional electronic device according to an embodiment of the present application, such as Figure 5 As shown, it includes a processor 502, a communication interface 504, a memory 506 and a communication bus 508, wherein the processor 502, the communication interface 504 and the memory 506 communicate with each other through the communication bus 508, wherein,
[0163] Memory 506, used for storing computer programs;
[0164] The processor 502 is used to execute the computer program stored in the memory 506 to implement the following steps:
[0165] S1, obtaining multiple voice data to be processed, wherein each voice data is voice data collected by one smart device in a group of smart devices and for which no matching object information is identified through voiceprint features;
[0166] S2, performing sound source separation processing on the multiple voice data to obtain at least one target voice group, wherein each target voice group includes at least two voice data belonging to one sound source among the multiple voice data;
[0167] S3, performing a voiceprint feature extraction operation on the speech data in each target speech group to obtain at least one voiceprint feature, wherein the at least one voiceprint feature is a voiceprint feature of the corresponding object information to be determined.
[0168] Optionally, the communication bus may be a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The communication interface is used for communication between the electronic device and other devices.
[0169] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0170] As an example, the memory 506 may include, but is not limited to, the first acquisition unit 402, the first execution unit 404, and the second execution unit 406 in the digital twin voiceprint feature processing device. In addition, other module units in the digital twin voiceprint feature processing device may also be included but are not limited to, which will not be repeated in this example.
[0171] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0172] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0173] It can be understood by those skilled in the art that Figure 5The structure shown is for illustration only. The device for implementing the above-mentioned digital twin voiceprint feature processing method may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Figure 5 The structure of the electronic device is not limited. Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 5 Different configurations shown.
[0174] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.
[0175] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0176] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0177] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0178] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
[0179] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist physically separately, or at least two units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0180] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing voiceprint features, characterized in that: include: A plurality of voice data to be processed are obtained, wherein each voice data is voice data collected by one smart device in a group of smart devices and the matching object information is not identified through voiceprint features; a sound source separation process is performed on the plurality of voice data to obtain at least one target voice group, wherein each target voice group includes at least two voice data belonging to one sound source among the plurality of voice data; a voiceprint feature extraction operation is performed on the voice data in each target voice group to obtain at least one voiceprint feature, wherein the at least one voiceprint feature is a voiceprint feature of the object information to be determined; Wherein, after performing sound source separation processing on the multiple voice data to obtain at least one target voice group, the method also includes: performing clustering processing on the multiple voice data to obtain at least one reference voice group, wherein each reference voice group contains voice data belonging to the same cluster obtained by clustering among the multiple voice data; using the at least one reference voice group to update the at least one target voice group to obtain the updated at least one target voice group, wherein the updating operation of the at least one target voice group includes eliminating controversial voice data in each target voice group, and the controversial voice data refers to voice data for which the sound source separation and clustering results are inconsistent.
2. The method according to claim 1, characterized in that The performing sound source separation processing on the plurality of voice data to obtain at least one target voice group includes: Performing sound source separation processing on the plurality of voice data to obtain at least one initial voice group, wherein each initial voice group includes voice data belonging to one sound source among the plurality of voice data; A voice group in the at least one initial voice group, the voice group containing two or more voice data, is determined as the at least one target voice group.
3. The method according to claim 2, characterized in that The performing of sound source separation processing on the plurality of voice data to obtain at least one initial voice group comprises: Performing a voice merging operation on the plurality of voice data to obtain merged voice data; Inputting the combined voice data into a sound source recognition model to obtain a sound source recognition result output by the sound source recognition model, wherein the sound source recognition result is used to indicate the sound source to which each voice data belongs; The speech data belonging to the same sound source indicated by the sound source recognition result are determined as an initial speech group to obtain the at least one initial speech group.
4. The method according to claim 1, characterized in that: The performing clustering processing on the plurality of voice data to obtain at least one reference voice group includes: Performing dimensionality reduction processing on each piece of voice data to obtain each piece of voice data after dimensionality reduction; The plurality of voice data are clustered according to the distance between each voice data to obtain the at least one reference voice group.
5. The method according to claim 1, characterized in that The updating of the at least one target speech group using the at least one reference speech group to obtain the updated at least one target speech group includes: Perform the following operations on each target speech group to obtain the updated at least one target speech group, wherein when performing the following steps, each target speech group is a current speech group: Determine a matching voice group in the at least one reference voice group that matches the current voice group, wherein the ratio of the number of identical voice data contained in the matching voice group and the current voice group to the total number of voice data in the current voice group is greater than or equal to a target ratio threshold; When the number of identical voice data contained in the matching voice group and the current voice group is greater than or equal to two, remove the voice data in the current voice group that does not belong to the matching voice group to obtain an updated current voice group; When the number of identical voice data contained in the matching voice group and the current voice group is less than two, the current voice group is removed.
6. The method according to claim 1, characterized in that Before acquiring the plurality of voice data to be processed, the method further includes: Receiving first voice data sent by a first smart device in the group of smart devices, wherein the first voice data is voice data for which no matching object information is identified through voiceprint features; When the first voice data meets the voice screening condition, the first voice data is determined as a voice data to be processed, wherein the voice screening condition includes at least one of the following: the number of words recognized from the first voice data is greater than or equal to the target number of words, and the signal-to-noise ratio of the first voice data is greater than or equal to a preset signal-to-noise ratio.
7. The method according to any one of claims 1 to 6, characterized in that After performing the voiceprint feature extraction operation on the voice data in each target voice group to obtain at least one voiceprint feature, the method further includes: Receiving second voice data sent by a second smart device in the group of smart devices, wherein the second voice data is voice data sent by an object of the second smart device; When the voiceprint feature of the second voice data matches the target voiceprint feature of the at least one voiceprint feature, acquiring the object information of the user object through the second smart device; The object information of the user object having a corresponding relationship and the target voiceprint feature are saved.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 7 when executed.
9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.
