Voice endpoint detection method, device and equipment

By combining audio signal segmentation with a self-supervised neural network model, the problems of low voice endpoint detection efficiency and large resource usage in the existing technology are solved, and efficient and accurate voice endpoint detection is achieved.

CN118538249APending Publication Date: 2024-08-23SHANGHAI MIDU DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410617198.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing voice endpoint detection methods cannot balance accuracy and efficiency, and occupy huge resources, resulting in low efficiency in human-computer voice interaction and speech recognition.

Method used

The audio signal to be processed is divided into a number of audio clips of preset duration, sampled based on the preset sampling frequency, and each audio clip sequence is input into the neural network model after self-supervised training, and the speech endpoints are determined through clustering processing to reduce consume resources and improve detection accuracy.

Benefits of technology

It achieves more accurate detection of speech endpoints in audio signals with lower resource usage, and improves the efficiency and accuracy of speech recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538249A
    Figure CN118538249A
Patent Text Reader

Abstract

The invention provides a voice endpoint detection method, device and equipment. The method comprises the following steps: segmenting an audio signal into a plurality of audio clips with a preset duration, sampling based on a preset sampling frequency to obtain a corresponding audio clip sequence, and constructing a corresponding sampling point index sequence; inputting a neural network model to obtain a corresponding feature vector matrix, and determining a time sequence index of each feature vector of the feature vector matrix based on the sampling point index sequence; based on a plurality of clustering vectors, clustering processing is carried out on each feature vector matrix, when convergence is carried out, a plurality of corresponding clusters are obtained, and each element in each cluster corresponds to one feature vector of the feature vector matrix; and determining a time sequence index of each element in each cluster based on the time sequence index of each feature vector, and determining a voice endpoint in the audio signal according to the time sequence index of each element. According to the method, the voice endpoint in the audio signal can be accurately detected with low resource occupation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of voice data detection technology, and in particular to a technology for detecting voice endpoints. Background Art

[0002] In human-computer voice interaction or voice interaction through smart devices, voice endpoint detection of voice signals is a necessary step to achieve voice recognition and other processing. The purpose of voice endpoint detection is to detect the part including voice from long audio, so as to reduce the amount of data stored or transmitted and improve storage or transmission efficiency when storing or transmitting voice.

[0003] In the prior art, the commonly used method for voice endpoint detection is usually to sample the audio signal, and then use the classification network model to perform binary classification on the sampled data. For example, for a 50-second audio signal, using a 16KHz sampling frequency, 800,000 sampling points can be obtained, so the model needs to output 800,000 probability distributions. This method takes up a lot of resources and is inefficient. In order to alleviate the problem of huge resource usage and low efficiency, all sampling points are usually sampled again, and then classification detection is performed, but this loses accuracy.

[0004] In response to the above technical problems, there is currently no method for voice endpoint detection that takes into account both accuracy and efficiency and occupies less resources. Summary of the invention

[0005] The purpose of this application is to provide a method, device and equipment for detecting voice endpoints, so as to at least partially solve the technical problems in the existing voice endpoint detection technology that it is impossible to take into account both accuracy and efficiency and occupy little resources.

[0006] According to one aspect of the present application, a method for detecting a voice endpoint is provided, wherein the method comprises:

[0007] The audio signal to be processed is divided into a plurality of audio segments of preset duration, and for each audio segment, sampling is performed based on a preset sampling frequency to obtain a corresponding audio segment sequence, and a sampling point index sequence corresponding to the audio segment sequence is constructed;

[0008] Input each audio clip sequence into a neural network model after self-supervised training to obtain a feature vector matrix corresponding to the audio clip sequence, and determine a time index of each feature vector of the feature vector matrix based on a sampling point index sequence corresponding to the audio clip sequence;

[0009] Based on a number of clustering vectors determined by the neural network model during self-supervised training, clustering is performed on the feature vector matrix corresponding to each audio clip sequence, and when convergence occurs, a number of clusters corresponding to the audio clip sequence are obtained, wherein each element in the cluster corresponds to an eigenvector of the eigenvector matrix;

[0010] Based on the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence, the timing index of each element in each cluster is determined, and according to the timing index of each element in each cluster, the speech endpoint in the audio signal to be processed is determined.

[0011] Optionally, the neural network model includes:

[0012] A multi-layer perceptron and a recurrent neural network model, wherein the multi-layer perceptron includes two neuron layers and one activation function layer.

[0013] Optionally, the clustering process of the feature vector matrix corresponding to each audio clip sequence includes:

[0014] The kmeans algorithm is used to cluster the feature vector matrix corresponding to each audio clip sequence.

[0015] Optionally, the determining the voice endpoint in the audio signal to be processed according to the timing index of each element in each cluster comprises:

[0016] According to the time sequence index of each element in each cluster, the starting endpoint and the ending endpoint of each speech segment in the audio signal to be processed are determined.

[0017] Optionally, the voice endpoint detection method further includes:

[0018] Each speech segment is extracted according to the starting endpoint and the ending endpoint of each speech segment.

[0019] According to another aspect of the present application, a voice endpoint detection device is provided, wherein the device comprises:

[0020] The first module is used to divide the audio signal to be processed into a plurality of audio segments of preset duration, and to sample each audio segment based on a preset sampling frequency to obtain a corresponding audio segment sequence, and to construct a sampling point index sequence corresponding to the audio segment sequence;

[0021] The second module is used to obtain a feature vector matrix corresponding to each audio segment sequence by applying a neural network model after self-supervision training to each audio segment sequence, and determine a time index of each feature vector of the feature vector matrix based on a sampling point index sequence corresponding to the audio segment sequence;

[0022] A third module is used to perform clustering processing on the feature vector matrix corresponding to each audio clip sequence based on a plurality of cluster vectors determined by the neural network model during self-supervised training, and when convergence occurs, obtain a plurality of clusters corresponding to the audio clip sequence, wherein each element in the cluster corresponds to a feature vector of the feature vector matrix;

[0023] The fourth module is used to determine the timing index of each element in each cluster based on the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence, and determine the voice endpoint in the audio signal to be processed according to the timing index of each element in each cluster.

[0024] Compared with the prior art, the present application provides a method, device and equipment for detecting voice endpoints, the method comprising: dividing an audio signal to be processed into a number of audio segments of preset duration, and sampling each audio segment based on a preset sampling frequency to obtain a corresponding audio segment sequence, and constructing a sampling point index sequence corresponding to the audio segment sequence; inputting each audio segment sequence into a neural network model after self-supervised training to obtain a feature vector matrix corresponding to the audio segment sequence, and determining the time index of each feature vector of the feature vector matrix based on the sampling point index sequence corresponding to the audio segment sequence; clustering the feature vector matrix corresponding to each audio segment sequence based on a number of clustering vectors determined by the neural network model during self-supervised training, and when convergence, obtaining a number of clusters corresponding to the audio segment sequence, wherein each element in the cluster corresponds to a feature vector of the feature vector matrix; determining the time index of each element in each cluster based on the time index of each feature vector of the feature vector matrix corresponding to each audio segment sequence, and determining the voice endpoint in the audio signal to be processed according to the time index of each element in each cluster. Through this method, the voice endpoints in the audio signal can be detected more accurately with lower resource usage. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0026] Figure 1 A flow chart showing a method for detecting a voice endpoint according to one aspect of the present application is shown;

[0027] Figure 2 A schematic diagram showing a method for detecting a voice endpoint according to an embodiment of one aspect of the present application is shown;

[0028] Figure 3A schematic diagram showing a voice endpoint detection device according to another aspect of the present application;

[0029] The same or similar reference numerals in the drawings represent the same or similar components. To simplify the drawings, the parts related to the present invention are schematically shown in each drawing, but do not represent the actual structure of the product.

[0030] In addition, to make the drawings concise and easier to understand, if there are components with the same structure or function in some drawings, only one of them may be schematically indicated. DETAILED DESCRIPTION

[0031] The present application is described in further detail below in conjunction with the accompanying drawings.

[0032] In a typical configuration of each embodiment of the present application, each device, each trusted party of the system and / or each module of the apparatus may include one or more processors (CPU), input / output interface, network interface and memory, as well as related software to ensure that related functions are implemented.

[0033] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0034] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0035] The existing voice endpoint detection method has the technical problem of not being able to balance accuracy, resources and efficiency. To solve the above technical problem, the present application provides a voice endpoint detection method, device and equipment, which can balance the detection accuracy and efficiency of voice endpoints and reduce resource usage.

[0036] In the present application, the device 100 includes a computer device and / or a terminal device integrated with relevant software and hardware environments, and the computer device includes but is not limited to a personal computer, a laptop computer, an industrial computer, a network host, a single network server, a set of multiple network servers, etc.; the terminal device includes but is not limited to a smart phone, a tablet computer, etc. Here, the computer device and / or terminal device are only examples, and other existing or future devices and / or resources that may appear should also be included in the scope of protection of the present application if they are applicable to the present application, and are hereby included by reference. The device is deployed in the device 100.

[0037] In order to further illustrate the technical means adopted by the present application and the effects achieved, the technical solution of the present application is clearly and completely described below in combination with the accompanying drawings and preferred embodiments.

[0038] Figure 1 A flow chart of a method for detecting a voice endpoint according to one aspect of the present application is shown, wherein the method according to one embodiment includes:

[0039] S101: dividing the audio signal to be processed into a number of audio segments of preset duration, sampling each audio segment based on a preset sampling frequency to obtain a corresponding audio segment sequence, and constructing a sampling point index sequence corresponding to the audio segment sequence;

[0040] S102: input each audio clip sequence into a neural network model after self-supervised training, obtain a feature vector matrix corresponding to the audio clip sequence, and determine a time index of each feature vector of the feature vector matrix based on a sampling point index sequence corresponding to the audio clip sequence;

[0041] S103, based on the plurality of clustering vectors determined by the neural network model during the self-supervised training, clustering the feature vector matrix corresponding to each audio clip sequence, and when convergence occurs, obtaining a plurality of clusters corresponding to the audio clip sequence, wherein each element in the cluster corresponds to a feature vector of the feature vector matrix;

[0042] S104 determines the timing index of each element in each cluster based on the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence, and determines the voice endpoint in the audio signal to be processed according to the timing index of each element in each cluster.

[0043] In this embodiment, in step S101, the device 100 divides the audio signal to be processed into a number of audio segments of preset duration, and samples each audio segment based on a preset sampling frequency to obtain a corresponding audio segment sequence, and constructs a sampling point index sequence corresponding to the audio segment sequence.

[0044] Among them, the device 100 can divide the acquired long-segment continuous digital audio signal to be processed into several audio segments of preset duration, and sample each audio segment based on a preset sampling frequency to obtain a corresponding audio segment sequence, and construct a sampling point index sequence corresponding to the audio segment sequence, so as to reduce the problem of huge resource occupation and low efficiency of directly detecting long-segment continuous digital audio signals. Among them, the long-segment continuous digital audio signal to be processed can be a digital audio signal collected by a voice conferencing device, or a digital audio signal collected by a smart terminal device such as a smart phone. Here, the source of the digital audio signal is not limited.

[0045] Among them, the time point corresponding to the starting sampling point of each audio segment of the continuous digital audio signal to be processed (it can be a relative time point, that is, 0, or it can be an absolute time point, wherein the absolute time point corresponding to the starting sampling point of the first audio segment is 0, and the absolute time point corresponding to the starting sampling point of each subsequent audio segment continues the absolute time corresponding to the last sampling point of the previous audio segment) can be used as the first element of the sampling point index sequence corresponding to the audio segment or its corresponding audio segment sequence, and the sampling point index sequence is constructed in combination with the preset duration and the preset sampling frequency.

[0046] If the duration of the last audio segment after segmentation is less than the preset duration, data 0 may be used to supplement it.

[0047] For example, assuming that the preset duration is 10 seconds, the preset sampling frequency is 16KHz, and the length of the continuous audio data signal to be processed is 39 seconds, the device 100 can divide the continuous audio data signal to be processed into four audio segments. The last audio segment is only 9 seconds, and 1 second is padded with data 0, so that the last audio segment is also 10 seconds. After sampling each audio segment, the first audio segment sequence obtained includes 160K (10*16K) elements, each element corresponds to the sampling value of a sampling point, and each sampling point corresponds to a time point, which is an element of the corresponding sampling point index sequence.

[0048] Continuing with this embodiment, in step S102, the device 100 may input each audio clip sequence into the neural network model after self-supervised training to obtain a feature vector matrix corresponding to the audio clip sequence, and determine the time index of each eigenvector of the eigenvector matrix based on the sampling point index sequence corresponding to the audio clip sequence.

[0049] Among them, after obtaining the audio segment sequence and the corresponding sampling point index sequence of each audio segment, the device 100 can input each audio segment sequence into the neural network model after self-supervised training to obtain the feature vector matrix corresponding to each audio segment sequence, and determine the time index of each feature vector of the feature vector matrix corresponding to each audio segment sequence according to the sampling point index sequence corresponding to each audio segment sequence.

[0050] Optionally, in step S102, the neural network model includes:

[0051] A multi-layer perceptron and a recurrent neural network model, wherein the multi-layer perceptron includes two neuron layers and one activation function layer.

[0052] Wherein, the neural network model includes a model composed of a multilayer perceptron (Multilayer Perceptron, MLP) and a recurrent neural network (Recurrent Neural Network, RNN), wherein the multilayer perceptron may include two neuron layers and an activation function layer. Each audio clip sequence is input into the MLP and RNN models after self-supervision training for processing, wherein the output after MLP processing is used as the input of the RNN model, and after processing by the RNN model, the feature vector matrix corresponding to the audio clip sequence is obtained. Wherein, the MLP and RNN models are trained in advance in a self-supervision manner, and the training samples are audio clips of preset duration. After self-supervision training, several clustering vectors related to the preset duration and the number of neurons in the neuron layer of the MLP can be determined. Continuing the above exemplary, if each neuron layer of the MLP includes 256 neurons, the activation function layer uses the RELU activation function, and a 10-second audio clip is used as a training sample, after self-supervision training, 3 clustering vectors with 256 elements can be determined. The reason for determining three cluster vectors is that in voice interaction, the duration of a continuous speech is usually 2 to 3 seconds. In a 10-second audio clip, there is a high probability that three speech segments will appear. Assume that these three speech segments correspond to three cluster vectors. Among them, a 10-second audio sequence segment is input into the MLP and RNN model after self-supervised training, and a feature vector matrix of size (160K, 256) is obtained, that is, 160K feature vectors (each feature vector includes 256 elements).

[0053] Continuing with this embodiment, in step S103, the device 100 may perform clustering processing on the feature vector matrix corresponding to each audio clip sequence according to a number of clustering vectors determined by the neural network model during self-supervised training, and when converged, a number of clusters corresponding to the audio clip sequence are obtained, wherein each element in the cluster corresponds to an eigenvector of the eigenvector matrix.

[0054] Among them, the device 100 can use several clustering vectors determined by the neural network model during self-supervised training as initial clustering points, and adopt a clustering algorithm to cluster all eigenvectors corresponding to the eigenvector matrix corresponding to each audio segment sequence. When convergence occurs, several clusters corresponding to each audio segment sequence are obtained, wherein each element in the cluster corresponds to an eigenvector of the eigenvector matrix corresponding to each audio segment sequence, that is, each element in the cluster corresponds to a time series index corresponding to a eigenvector.

[0055] Optionally, in step S103, clustering the feature vector matrix corresponding to each audio clip sequence includes:

[0056] The kmeans algorithm is used to cluster the feature vector matrix corresponding to each audio clip sequence.

[0057] Among them, the device 100 can use the kmeans clustering algorithm to perform clustering processing on the feature vector matrix corresponding to each audio segment sequence. When convergence occurs, several clusters corresponding to each audio segment sequence are obtained, wherein each element in the cluster corresponds to an eigenvector of the eigenvector matrix corresponding to each audio segment sequence.

[0058] Continuing with the above example, the three clustering vectors determined during the self-supervised training are used as the initial clustering points, and the kmeans clustering algorithm is used to perform clustering processing on the feature vector matrix corresponding to each 10-second audio clip sequence (i.e., 160K clustering vectors), and several clusters corresponding to each audio clip sequence after clustering can be obtained. Assume that after the first 10-second audio clip sequence is processed, N clusters can be obtained, after the second 10-second audio clip sequence is processed, M clusters can be obtained, after the third 10-second audio clip sequence is processed, Q clusters can be obtained, and after the fourth 10-second audio clip sequence is processed, K clusters can be obtained. Among them, the number of elements included in each cluster may be different.

[0059] Continuing with this embodiment, in step S104, the device 100 can determine the timing index of each element in each cluster based on the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence, and determine the voice endpoint in the audio signal to be processed based on the timing index of each element in each cluster.

[0060] In step S103, after clustering each audio segment sequence, several clusters can be obtained, each cluster includes several elements, wherein each element corresponds to an eigenvector of the eigenvector matrix corresponding to the audio segment sequence, that is, also corresponds to the timing index of the eigenvector. In step S104, the device 100 can determine the timing index of each element in each cluster according to the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence. Then, according to the timing index of each element in each cluster, the voice endpoint in each audio segment is determined, and then the voice endpoint in the audio signal to be processed is determined.

[0061] Optionally, in step S104, determining the voice endpoint in the audio signal to be processed according to the time index of each element in each cluster includes:

[0062] According to the time sequence index of each element in each cluster, the starting endpoint and the ending endpoint of each speech segment in the audio signal to be processed are determined.

[0063] Among them, the device 100 can determine the element corresponding to the minimum timing index and the element corresponding to the maximum timing index in a cluster according to the timing index of each element in a cluster, and in combination with the preset sampling frequency, the starting endpoint and the ending endpoint of the speech in a cluster can be determined. Further, by traversing each cluster of each audio segment sequence, all the starting endpoints and the ending endpoints of the speech in the audio signal to be processed can be determined. Continuing with the above example, the minimum timing index of the corresponding element in a cluster is divided by 16KHz to determine the starting speech endpoint in the cluster, and the maximum timing index of the corresponding element in a cluster is divided by 16KHz to determine the ending speech endpoint in the cluster. By traversing each cluster of each audio segment sequence, all the speech endpoints in the 39-second digital audio signal to be processed can be determined to obtain each speech segment.

[0064] Continuing with the above example, according to the N clusters, M clusters, Q clusters and K clusters corresponding to the four audio segment sequences obtained respectively, according to the elements corresponding to the minimum timing index and the elements corresponding to the maximum timing index in each cluster, the starting voice endpoint and the ending voice endpoint of each of the several voice segments in each audio segment can be determined, and then all the voice endpoint information in the 39-second digital audio signal to be processed can be determined. The schematic diagram of the above exemplary voice endpoint detection method is shown in FIG. Figure 2 shown.

[0065] Optionally, the voice endpoint detection method further includes:

[0066] S105 extracts each voice segment according to the starting endpoint and the ending endpoint of each voice segment.

[0067] The device 100 may also extract each voice segment from the digital audio signal to be processed according to the detected start endpoint and end endpoint information of each voice segment for user identification, storage or transmission.

[0068] Figure 3 A schematic diagram of a voice endpoint detection device according to another aspect of the present application is shown, wherein the device in one embodiment includes:

[0069] The first module 310 is used to divide the audio signal to be processed into a plurality of audio segments of preset duration, and to sample each audio segment based on a preset sampling frequency to obtain a corresponding audio segment sequence, and to construct a sampling point index sequence corresponding to the audio segment sequence;

[0070] The second module 320 is used to obtain a feature vector matrix corresponding to each audio segment sequence by applying the neural network model after self-supervision training to each audio segment sequence, and determine a time index of each feature vector of the feature vector matrix based on a sampling point index sequence corresponding to the audio segment sequence;

[0071] The third module 330 is used to perform clustering processing on the feature vector matrix corresponding to each audio segment sequence based on the plurality of cluster vectors determined by the neural network model during self-supervised training, and when convergence occurs, obtain a plurality of clusters corresponding to the audio segment sequence, wherein each element in the cluster corresponds to a feature vector of the feature vector matrix;

[0072] The fourth module 340 is used to determine the timing index of each element in each cluster based on the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence, and determine the voice endpoint in the audio signal to be processed according to the timing index of each element in each cluster.

[0073] In this embodiment, the device is integrated into the apparatus 100 in the aforementioned method embodiment and / or optional embodiment.

[0074] In this embodiment, through the first module 310 of the device, the acquired long-segment continuous digital audio signal to be processed can be divided into several audio segments of preset duration, and for each audio segment, sampling is performed based on a preset sampling frequency to obtain a corresponding audio segment sequence, and a sampling point index sequence corresponding to the audio segment sequence is constructed to reduce the problem of huge resource occupation of directly detecting long-segment continuous digital audio signals.

[0075] Continuing with this embodiment, through the second module 320 of the device, each audio clip sequence can be input into the neural network model after self-supervised training to obtain the feature vector matrix corresponding to each audio clip sequence, and based on the sampling point index sequence corresponding to each audio clip sequence, the time index of each eigenvector of the eigenvector matrix corresponding to each audio clip sequence is determined.

[0076] Continuing with this embodiment, through the third module 330 of the device, several clustering vectors determined by the neural network model during self-supervised training can be used as initial clustering points, and a clustering algorithm is used to perform clustering processing on all eigenvectors corresponding to the eigenvector matrix corresponding to each audio segment sequence. When convergence occurs, several clusters corresponding to each audio segment sequence are obtained, wherein each element in the cluster corresponds to an eigenvector of the eigenvector matrix corresponding to each audio segment sequence, that is, each element in the cluster corresponds to a time series index corresponding to a eigenvector.

[0077] Continuing in this embodiment, the fourth module 340 of the device can determine the timing index of each element in each cluster according to the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence. Then, according to the timing index of each element in each cluster, the voice endpoint in each audio segment is determined, and then the voice endpoint in the audio signal to be processed is determined.

[0078] Optionally, the voice endpoint detection device further includes:

[0079] The fifth module 350 is used to extract each voice segment according to the starting endpoint and the ending endpoint of each voice segment.

[0080] In this optional embodiment, through the fifth module 350 of the device, each voice segment can also be extracted from the digital audio signal to be processed based on the detected starting endpoint and ending endpoint information of each voice segment, and the user can identify, store or transmit it.

[0081] In the above-mentioned various device embodiments and / or optional embodiments, the matters not mentioned in the method steps executed by each module of the device are the same as those in the above-mentioned various related method embodiments and / or optional embodiments, and will not be repeated here.

[0082] According to another aspect of the present application, a computer-readable medium is provided, wherein the computer-readable medium stores computer-readable instructions, and the computer-readable instructions can be executed by a processor to implement the aforementioned method embodiments.

[0083] It should be noted that each method embodiment and / or optional embodiment in the present application does not strictly limit the order in which each step is performed, as long as each method embodiment can solve the defects existing in the prior art, achieve the purpose of the invention of the present application, and obtain beneficial effects. Each method embodiment in the present application can be implemented in software and / or a combination of software and hardware. The software program involved in the present application can be executed by a processor to implement the steps or functions of the above-mentioned embodiments. Similarly, the software program (including related data structures) of the present application can be stored in a computer-readable recording medium.

[0084] In addition, part or all of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction.

[0085] According to an embodiment of another aspect of the present application, a voice endpoint detection device is provided, the device comprising: a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to run the methods and / or technical solutions of the aforementioned embodiments.

[0086] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software and / or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A method for detecting a voice endpoint, It is characterized in that The method comprises: The audio signal to be processed is divided into a plurality of audio segments of preset duration, and for each audio segment, sampling is performed based on a preset sampling frequency to obtain a corresponding audio segment sequence, and a sampling point index sequence corresponding to the audio segment sequence is constructed; Input each audio clip sequence into a neural network model after self-supervised training to obtain a feature vector matrix corresponding to the audio clip sequence, and determine a time index of each feature vector of the feature vector matrix based on a sampling point index sequence corresponding to the audio clip sequence; Based on a number of clustering vectors determined by the neural network model during self-supervised training, clustering is performed on the feature vector matrix corresponding to each audio clip sequence, and when convergence occurs, a number of clusters corresponding to the audio clip sequence are obtained, wherein each element in the cluster corresponds to an eigenvector of the eigenvector matrix; Based on the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence, the timing index of each element in each cluster is determined, and according to the timing index of each element in each cluster, the speech endpoint in the audio signal to be processed is determined.

2. The method according to claim 1, It is characterized in that The neural network model includes: A multi-layer perceptron and a recurrent neural network model, wherein the multi-layer perceptron includes two neuron layers and one activation function layer.

3. The method according to claim 1, It is characterized in that The clustering process of the feature vector matrix corresponding to each audio clip sequence includes: The kmeans algorithm is used to cluster the feature vector matrix corresponding to each audio clip sequence.

4. The method according to claim 1, It is characterized in that The step of determining the voice endpoints in the audio signal to be processed according to the timing index of each element in each cluster comprises: According to the time sequence index of each element in each cluster, the starting endpoint and the ending endpoint of each speech segment in the audio signal to be processed are determined.

5. The method according to claim 4, It is characterized in that The method further comprises: Each speech segment is extracted according to the starting endpoint and the ending endpoint of each speech segment.

6. A voice endpoint detection device, It is characterized in that The device comprises: The first module is used to divide the audio signal to be processed into a plurality of audio segments of preset duration, and to sample each audio segment based on a preset sampling frequency to obtain a corresponding audio segment sequence, and to construct a sampling point index sequence corresponding to the audio segment sequence; The second module is used to obtain a feature vector matrix corresponding to each audio segment sequence by applying a neural network model after self-supervision training to each audio segment sequence, and determine a time index of each feature vector of the feature vector matrix based on a sampling point index sequence corresponding to the audio segment sequence; A third module is used to perform clustering processing on the feature vector matrix corresponding to each audio clip sequence based on a plurality of cluster vectors determined by the neural network model during self-supervised training, and when convergence occurs, obtain a plurality of clusters corresponding to the audio clip sequence, wherein each element in the cluster corresponds to a feature vector of the feature vector matrix; The fourth module is used to determine the timing index of each element in each cluster based on the timing index of each eigenvector of the eigenvector matrix corresponding to each audio segment sequence, and determine the voice endpoint in the audio signal to be processed according to the timing index of each element in each cluster.

7. A computer readable medium, It is characterized in that Computer readable instructions are stored thereon, and the computer readable instructions are executed by a processor to implement the method according to any one of claims 1 to 5.

8. A voice endpoint detection device, It is characterized in that The device comprises: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 5.