Mobile sensing terminal voice quality evaluation method and system based on deep learning

Through a five-layer fully connected neural network model based on deep learning, combined with time domain, frequency domain and amplitude characteristics, the voice quality expression level is calculated and adjusted, which solves the limitations of voice quality assessment in mobile sensing terminals and achieves complex Accurate speech quality assessment in context.

CN118645085AActive Publication Date: 2024-09-13ROPEOK TECHNOLOGY GROUP CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411124123.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-09-13
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

Existing technologies cannot effectively evaluate voice quality in mobile sensing terminals, especially in complex noise interference environments, resulting in limitations in voice quality assessment.

Method used

Using a method based on deep learning, by constructing a five-layer fully connected neural network model, combining time domain, frequency domain and amplitude features, the quality expression level of the speech data is calculated, and adjusted through the reverse guidance model until the preset threshold. Implement voice quality evaluation.

Benefits of technology

It effectively improves the generalization ability of the speech evaluation model, enabling it to accurately evaluate in complex speech collection environments, overcoming the problems of limited number of data sets and limitations of environmental coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118645085A
    Figure CN118645085A
Patent Text Reader

Abstract

The invention relates to the technical field of voice analysis, in particular to a mobile sensing terminal voice quality evaluation method and system based on deep learning, and the method comprises the steps: constructing a deep learning mathematical model, and training the deep learning mathematical model through a data set to obtain a voice evaluation model; calculating the quality expression level of the test voice data; inputting the test voice data into the voice evaluation model for calculation to obtain a test quality evaluation result; comparing the test quality evaluation result with the quality expression level, and modifying the data set or the deep learning mathematical model until the difference between the test quality evaluation result and the quality expression level is smaller than a preset threshold value, thereby obtaining an adjusted voice evaluation model; and the voice evaluation model is used for quality evaluation of voice data. The voice evaluation model is reversely guided to be modified through the quality expression level, the problem that the number of data sets is limited is solved, the generalization level of the voice evaluation model is effectively improved, and the voice quality evaluation accuracy of the mobile sensing terminal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of speech analysis technology, specifically to a method and system for evaluating the speech quality of mobile sensing terminals based on deep learning. Background Technology

[0002] Mobile sensing terminals (such as smartphones and smart speakers) are widely used in scenarios such as voice communication, voice recognition, and voice control. Voice quality has a significant impact on the use of mobile sensing terminals.

[0003] Meanwhile, existing speech quality evaluation algorithms include perceptual speech quality evaluation algorithms and perceptual objective speech quality evaluation algorithms, etc. The input speech for these algorithms generally requires no background noise interference. However, the application environment of mobile sensing terminals is complex and generally has a lot of other noise interference. Therefore, the actual application environment of mobile sensing terminals is significantly different from the application environment required by existing technologies. Consequently, the speech quality evaluation of mobile terminals cannot be performed using the aforementioned existing technologies. Therefore, the application of existing technologies in the field of mobile sensing terminals has limitations. Summary of the Invention

[0004] To address the aforementioned technical problems, the present invention aims to provide a method and system for evaluating the voice quality of mobile sensing terminals based on deep learning, thereby resolving these issues. To achieve the above objective, the technical solution adopted by the present invention is as follows: In a first aspect, this application provides a method for evaluating the voice quality of a mobile sensing terminal based on deep learning. The method includes: acquiring voice data to be evaluated, test voice data, and a dataset, wherein the dataset includes at least two voice data points and a corresponding quality evaluation result for each voice data point, the quality evaluation result being obtained by manual scoring; constructing a deep learning mathematical model and training the deep learning mathematical model using the dataset to obtain a voice evaluation model; calculating the quality expression level of the test voice data, the quality expression level being calculated from the time-domain features, frequency-domain features, and amplitude of the test voice data; inputting the test voice data into the voice evaluation model for calculation to obtain a test quality evaluation result; comparing the test quality evaluation result with the quality expression level and modifying the parameters of the dataset or the deep learning mathematical model until the difference between the test quality evaluation result and the quality expression level is less than a preset threshold, to obtain an adjusted voice evaluation model; and inputting the voice data to be evaluated into the voice evaluation model for calculation to obtain a quality evaluation result for the voice data to be evaluated.

[0005] In conjunction with the first aspect, in one possible implementation, calculating the quality expression level of the test speech data includes: segmenting the test speech data using a Hamming window function to obtain several short-time frame speech data segments; calculating the differences between the short-time frame speech data segments to obtain an instability assessment value of the test speech data; performing a Fourier transform on the test speech data to obtain a spectrogram; and calculating the quality expression level based on the spectrogram and the instability assessment value.

[0006] In conjunction with the first aspect, in one possible implementation, each of the short-time frames has a frame length of 25ms, and the frame shift between the short-time frames is set to 10ms.

[0007] In conjunction with the first aspect, in one possible implementation, calculating the differences between short-time frame speech data segments to obtain the instability assessment value of the test speech data includes: counting the number of times the data curve corresponding to each speech data segment crosses the zero-value line, denoted as the zero-crossing rate; calculating the data validity corresponding to each speech data segment based on the amplitude and zero-crossing rate of the data curve corresponding to each speech data segment at each time moment; and calculating the instability assessment value of the test speech data based on the first preset calculation formula and the data validity corresponding to each speech data segment.

[0008] In conjunction with the first aspect, in one possible implementation, the quality expression level is calculated based on the spectrogram and the instability assessment value, and then the method further includes: acquiring environmental information during the acquisition of the test voice data, the environmental information including network connection logs and base station handover frequency; statistically determining the number of network connection warnings and log retransmissions based on the network connection logs; calculating the packet loss anomaly rate based on the number of network connection warnings, the number of log retransmissions, and the base station handover frequency; and updating the quality expression level based on the packet loss anomaly rate to obtain the updated quality expression level.

[0009] In conjunction with the first aspect, in one possible implementation, the deep learning mathematical model is a five-layer fully connected neural network mathematical model.

[0010] Secondly, this application also provides a voice quality evaluation system for mobile sensing terminals based on deep learning, comprising: a first acquisition module for acquiring voice data to be evaluated, test voice data, and a dataset, wherein the dataset includes at least two voice data points and a corresponding quality evaluation result for each voice data point, the quality evaluation result being obtained by manual scoring; a model training module for constructing a deep learning mathematical model and training the deep learning mathematical model using the dataset to obtain a voice evaluation model; a first calculation module for calculating the quality expression level of the test voice data, the quality expression level being calculated from the time-domain features, frequency-domain features, and amplitude of the test voice data; a preliminary evaluation module for inputting the test voice data into the voice evaluation model for calculation to obtain a test quality evaluation result; a correction module for comparing the test quality evaluation result with the quality expression level and modifying the parameters of the dataset or the deep learning mathematical model until the difference between the test quality evaluation result and the quality expression level is less than a preset threshold, thereby obtaining an adjusted voice evaluation model; and a quality evaluation module for inputting the voice data to be evaluated into the voice evaluation model for calculation to obtain a quality evaluation result for the voice data to be evaluated.

[0011] In conjunction with the second aspect, in one possible implementation, the first calculation module includes: a segmentation module for segmenting the test speech data using a Hamming window function to obtain several short-time frame speech data segments; a second calculation module for calculating the differences between the short-time frame speech data segments to obtain an instability assessment value for the test speech data; a Fourier transform module for performing a Fourier transform on the test speech data to obtain a spectrogram; and a third calculation module for calculating the quality expression level based on the spectrogram and the instability assessment value.

[0012] In conjunction with the second aspect, in one possible implementation, the second calculation module includes: a first statistics module, used to count the number of times the data curve corresponding to each speech data segment crosses the zero-value line, denoted as the zero-crossing rate; a first sub-calculation module, used to calculate the data validity corresponding to each speech data segment based on the amplitude and zero-crossing rate of the data curve corresponding to each speech data segment at each time moment; and a second sub-calculation module, used to calculate the instability evaluation value of the test speech data based on a first preset calculation formula and the data validity corresponding to each speech data segment.

[0013] In conjunction with the second aspect, in one possible implementation, the first calculation module includes: a second acquisition module, used to acquire environmental information during the acquisition of the test voice data, the environmental information including network connection logs and base station handover frequency; a second statistics module, used to statistically obtain the number of network connection warnings and the number of log retransmissions based on the network connection logs; a third sub-calculation module, used to calculate the packet loss anomaly rate based on the number of network connection warnings, the number of log retransmissions, and the base station handover frequency; and an update module, used to update the quality expression level based on the packet loss anomaly rate to obtain the updated quality expression level.

[0014] The present invention has the following beneficial effects: In this invention, a deep learning-based speech evaluation model is used to predict the speech quality of an additional test speech, while simultaneously calculating the speech quality expression level based on time-domain, frequency-domain, and amplitude data. This speech quality expression level then guides the deep learning-based speech evaluation model to make modifications until the prediction result reaches the desired value. This invention overcomes the limitations of limited datasets and environmental coverage obtained through mobile sensing terminals, effectively improving the generalization level of the deep learning-based speech evaluation model and making it more capable of handling complex speech acquisition environments. Attached Figure Description

[0015] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart illustrating a deep learning-based method for evaluating the voice quality of a mobile sensing terminal, as provided in Embodiment 1 of the present invention. Figure 2 This is a flowchart illustrating step S3 provided in one embodiment 1 of the present invention; Figure 3 This is a schematic diagram of the test voice data after segmentation as described in Embodiment 1 of the present invention; Figure 4 This is a schematic diagram of the structure of the deep learning-based mobile sensing terminal voice quality evaluation system described in Embodiment 2 of the present invention; Figure 5 This is a schematic diagram of the structure of the first computing module described in Embodiment 2 of the present invention. Detailed Implementation

[0017] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of a deep learning-based voice quality evaluation method and system for mobile sensing terminals proposed according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.

[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0019] Example 1: The following description, in conjunction with the accompanying drawings, details the specific scheme of a deep learning-based mobile sensing terminal voice quality evaluation method and system provided by the present invention.

[0020] Please see Figure 1 The diagram illustrates a flowchart of a deep learning-based voice quality evaluation method for mobile sensing terminals provided by an embodiment of the present invention, including steps S1, S2, S3, S4, S5, and S6.

[0021] S1. Obtain the speech data to be evaluated, the test speech data, and the dataset. The dataset includes at least two speech data points and a quality evaluation result corresponding to each speech data point. The quality evaluation result is obtained by manual scoring.

[0022] It should be noted that in this embodiment, the quality evaluation result ranges from 0 to 1. The speech data to be evaluated, the test speech data, and each speech data in the dataset are in a data format where amplitude shifts over time, and each includes at least two speech packets.

[0023] S2. Construct a deep learning mathematical model and train the deep learning mathematical model using the dataset to obtain a speech evaluation model.

[0024] It should be noted that the deep learning mathematical model in this application is a five-layer fully connected neural network mathematical model.

[0025] Furthermore, regarding the dataset mentioned in this embodiment, those skilled in the art can choose to calculate relevant features such as time-domain performance characteristics, frequency-domain performance characteristics, signal-to-noise ratio, and network connection status for each piece of speech data, for use in subsequent deep learning mathematical model calculations. The calculation of these relevant features is a technique well-known to those skilled in the art, and will not be elaborated upon in this invention.

[0026] Furthermore, regarding the training process of the deep learning mathematical model in this embodiment, the dataset is divided into a training set and a validation set in a 6:3 ratio, with the training set serving as the basis for training the deep learning mathematical model. It should also be noted that the cross-entropy function is used as the loss function during training. Those skilled in the art can modify the ratio of the training and validation sets and the selection of the loss function according to actual needs; no specific limitations are imposed in this invention.

[0027] S3. Calculate the quality expression level of the test speech data, which is obtained by calculating the time domain features, frequency domain features and amplitude of the test speech data.

[0028] In this invention, the limited number of datasets acquired through mobile sensing terminals and the limited environmental coverage are considered. Therefore, training a deep learning mathematical model using only a single dataset is insufficient to improve its generalization ability and cannot handle complex speech acquisition environments. Therefore, this application also includes verifying the generalization ability of the speech evaluation model through an additional test speech.

[0029] Therefore, in this invention, the environment in which the test voice data is collected via a mobile sensing terminal can be a complex voice environment, such as the presence of surrounding music, vendors' calls, or people's conversations. Similarly, the network status during test voice data collection can be under relatively complex conditions, such as multiple network disconnections.

[0030] Specifically, see Figure 2 This step S3 also includes steps S31, S32, S33 and S34.

[0031] S31. The test speech data is segmented using the Hamming window function to obtain several short-time frame speech data segments.

[0032] That is, see Figure 3 In this step, the test speech data acquired from the mobile sensing terminal is segmented into short-time frames using a Hamming window function. Specifically, a segment of test speech signal is divided into r short-time frames, where r is a positive integer. Each short-time frame is defined as 25ms long, and the frame shift between short-time frames is set to 10ms. Assuming the test speech data acquisition duration is 3 minutes, a total of r = 7200 short-time frames can be obtained through the above segmentation. Setting a 50% overlap rate helps improve the continuity and stability of subsequent feature extraction.

[0033] S32. Calculate the differences between short-time frame speech data segments to obtain the instability evaluation value of the test speech data.

[0034] In this embodiment, considering the test voice data obtained from the mobile sensing terminal, a clear voice will have the following characteristics at the voice data level: relatively high short-time energy and a relatively low zero-crossing rate. At the same time, for a continuous voice data, it will also have the following characteristics: the changes between continuous short-time frame voice data segments should be relatively close, without significant changes. If there are significant changes between continuous short-time frame voice data segments, it may indicate that the voice data is unstable or interfered with.

[0035] Therefore, in this embodiment, first, the quality of the voice is judged whether there is an abnormal situation in combination with the above characteristics. Specifically, this step includes step S321, step S322 and step S323.

[0036] S321. Count the number of times the data curve corresponding to each voice data segment passes through the 0 value line, which is recorded as the zero-crossing rate .

[0037] S322. Calculate according to the amplitude value and zero-crossing rate corresponding to each voice data segment at each moment, and obtain the data validity corresponding to each voice data segment.

[0038] Among them, the data validity calculation formula in this step is as follows: In the above formula, represents the data validity corresponding to the e-th short-time frame, where e < r, and r is the total number of short-time frames obtained by segmenting a test voice signal; represents the amplitude value of the m-th data point in the voice data within this short-time frame; n represents that there are n data points in the voice data segment corresponding to the e-th short-time frame; represents the zero-crossing rate of the voice data within this short-time frame.

[0039] In the above calculation formula, represents the short-time energy in the voice data within this short-time frame. The smaller the average value, the lower the short-time energy, and the lower energy indicates that the voice data intensity is too weak so that the real voice data is covered; too high zero-crossing rate may indicate that there is too much silence or invalid information in the voice data. represents the short-time data validity of the voice data. The larger the product, the worse the voice data quality within this short-time frame and the poorer the data validity. Through the above calculation formula, it can better conform to the validity of the voice data and provide data support for calculating the difference between short-time frames of voice data in the follow-up.

[0040] S323. Calculate according to the first pre-designed calculation formula and the data validity corresponding to each voice data segment, and obtain the instability evaluation value of the test voice data .

[0041] In the above formula, This represents the instability assessment value; r represents the total number of short-time frames. This represents the difference between the data validity corresponding to the (e+1)th short-time frame and the data validity corresponding to the eth short-time frame; It represents the sum of the absolute values ​​of the differences between all adjacent short-time frames.

[0042] In the above calculation formula, the larger Q is, the more significant the changes may exist between consecutive short frames, thus characterizing that the performance of the test speech data is unstable or interfered with.

[0043] Furthermore, in this embodiment, considering that the test speech data is essentially a time-series monitoring data, the changes in this time-series data should have certain manifestations in both the time domain and the frequency domain, and these manifestations should be mutually verifying. If the manifestation in the time domain is poor, the speech data manifestation in the frequency domain will also be poor for the abnormal data manifestations. Therefore, this application also includes steps S33 and S34 to further provide a data basis for speech quality analysis through the time domain and the frequency domain.

[0044] S33. The Fourier transform of the test speech data is used to obtain the spectrum.

[0045] S34. Calculate the quality expression level based on the spectrum and the instability assessment value. .

[0046] The formula for calculating the quality expression level is as follows: in, Indicates the level of quality expression; Indicates the instability assessment value; This represents the slope between two adjacent data points, the m-th and (m+1)-th, in the spectrogram of the test speech data; similarly, The slope value between adjacent data points m+1 and m+2 in the spectrogram of the test speech data represents the slope value between them; there are n-1 sets of differences; 0.01 in the denominator is a constant to prevent the denominator from being zero.

[0047] In the above calculation formula, This indicates the flatness of the spectrum of the test speech data. The smaller the average value, the flatter the spectrum of the test speech data. However, an overly flat spectrum may mean that the test speech data has lost some spectral information, resulting in a poor listening experience. This can also be referred to as the authenticity of abnormal performance of test voice data collected by mobile sensing terminals. The larger the product, the worse the performance of the voice data is in both the time domain and the frequency domain, meaning that the quality evaluation result of the voice data is poor.

[0048] Therefore, the quality expression level of the test speech collected by the mobile sensing terminal is obtained by comprehensively judging from both the time domain and frequency domain perspectives during steps S31-S34. However, considering that the application environment of the mobile sensing terminal is often not a fixed location and may be in a constantly moving state, this invention also considers correcting the quality expression level of the test speech collected by the mobile sensing terminal from the perspective of network status. Specifically, see... Figure 2 Step S3 also includes steps S35, S36, S37 and S38.

[0049] S35. Obtain environmental information during the acquisition of the test voice data, including network connection logs and base station switching frequency D.

[0050] S36. Calculate the number of network connection warnings based on the network connection logs. And the number of log retransmissions.

[0051] S37. The packet loss anomaly rate is calculated based on the number of network connection warnings, the number of log retransmissions, and the base station handover frequency.

[0052] The formula for calculating the packet loss anomaly rate is as follows: in, Indicates the packet loss anomaly rate; This represents the number of warnings recorded in the network connection log of the mobile sensing terminal during test voice data acquisition. Assume there are B voice packets in the test voice data. This represents the number of retransmissions of the b-th type of voice packet in the test voice data; D represents the base station switching frequency of the mobile sensing terminal during the test voice data acquisition.

[0053] In the above calculation formula, This indicates the packet loss anomaly rate of the mobile sensing terminal. A higher product signifies more severe packet loss during voice data transmission, and a higher frequency of base station switching. Frequent base station switching suggests unstable signal quality at the currently connected base station, potentially due to factors such as distance, signal attenuation, or network congestion. In other words, it indicates a network connection problem for the mobile sensing terminal, which may lead to poor voice data quality and affect the assessment of voice data quality.

[0054] S38. Update the quality expression level based on the packet loss anomaly rate to obtain the updated quality expression level.

[0055] The update formula for the quality expression level is as follows: in, This indicates the updated quality level. This indicates the quality level before the update; Indicates the packet loss anomaly rate; This represents the hyperbolic tangent function.

[0056] In the above calculation formula, This indicates the updated voice quality level of the mobile sensing terminal. The larger the product, the more realistic the voice quality level of the mobile sensing terminal is, and the better it reflects the quality problems of the voice data; that is, the more obvious the abnormal behavior of the voice data of the mobile sensing terminal.

[0057] S4. Input the test speech data into the speech evaluation model for calculation to obtain the test quality evaluation result.

[0058] S5. Compare the test quality evaluation result with the quality expression level, and modify the parameters of the dataset or deep learning mathematical model until the difference between the test quality evaluation result and the quality expression level is less than a preset threshold, thereby obtaining the adjusted speech evaluation model.

[0059] It should be noted that the modifications to the dataset or deep learning mathematical model parameters mentioned in this step include, but are not limited to, adding dataset collection scenarios, improving training data collection methods, increasing the amount of complex data collection, modifying the model parameters of the deep learning mathematical model, modifying the loss function of the deep learning mathematical model, etc. The preset threshold is 0.01.

[0060] S6. Input the speech data to be evaluated into the speech evaluation model for calculation to obtain the quality evaluation result of the speech data to be evaluated.

[0061] This application calculates a targeted quality expression level by considering the speech quality evaluation requirements of mobile sensing terminals under different networks and conditions. Then, the output error of the speech evaluation model is measured using the quality expression level, and modifications are proposed to the speech evaluation model based on the relationship between the quality expression level and the model's output. Modifications to the speech evaluation model cease when the error between the quality expression level and the model's output is minimal. This approach effectively generalizes the speech evaluation model, making it suitable for the usage environment of mobile sensing terminals and enabling more accurate speech data quality evaluation.

[0062] Example 2: like Figure 4 and Figure 5 As shown, this embodiment provides a voice quality evaluation system for mobile sensing terminals based on deep learning. The system includes: The first acquisition module is used to acquire the voice data to be evaluated, the test voice data, and the dataset. The dataset includes at least two voice data and a quality evaluation result corresponding to each voice data. The quality evaluation result is obtained by manual scoring.

[0063] The model training module is used to construct a deep learning mathematical model and train the deep learning mathematical model using the dataset to obtain a speech evaluation model.

[0064] The first calculation module is used to calculate the quality expression level of the test speech data, which is calculated from the time domain features, frequency domain features and amplitude of the test speech data.

[0065] The preliminary evaluation module is used to input the test speech data into the speech evaluation model for calculation to obtain the test quality evaluation result.

[0066] The correction module is used to compare the test quality evaluation result with the quality expression level and modify the parameters of the dataset or deep learning mathematical model until the difference between the test quality evaluation result and the quality expression level is less than a preset threshold, thereby obtaining an adjusted speech evaluation model.

[0067] The quality evaluation module is used to input the speech data to be evaluated into the speech evaluation model for calculation, and obtain the quality evaluation result of the speech data to be evaluated.

[0068] In some specific embodiments, the first computing module includes: The segmentation module is used to segment the test speech data using the Hamming window function to obtain several short-time frame speech data segments.

[0069] The second calculation module is used to calculate the differences between short-time frame speech data segments to obtain the instability evaluation value of the test speech data.

[0070] The Fourier transform module is used to perform Fourier transform on the test speech data to obtain a spectrogram.

[0071] The third calculation module is used to calculate the quality expression level based on the spectrum and the instability evaluation value.

[0072] In some specific embodiments, the second computing module includes: The first statistics module is used to count the number of times the data curve corresponding to each voice data segment crosses the zero value line, which is recorded as the zero-crossing rate.

[0073] The first sub-calculation module is used to calculate the data validity of each speech data segment based on the amplitude and zero-crossing rate of the data curve corresponding to each speech data segment at each time moment.

[0074] The second sub-calculation module is used to calculate the instability evaluation value of the test voice data according to the first preset calculation formula and the data validity corresponding to each voice data segment.

[0075] In some specific embodiments, the first computing module includes: The second acquisition module is used to acquire environmental information during the acquisition of the test voice data, including network connection logs and base station switching frequency.

[0076] The second statistics module is used to calculate the number of network connection warnings and the number of log retransmissions based on the network connection logs.

[0077] The third sub-calculation module is used to calculate the packet loss anomaly rate based on the number of network connection warnings, the number of log retransmissions, and the base station handover frequency.

[0078] The update module is used to update the quality expression level based on the packet loss anomaly rate to obtain the updated quality expression level.

[0079] It should be noted that the specific methods by which each module performs operations in the system described in the above embodiments have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0080] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0081] The various embodiments in this specification are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

Claims

1. A method for evaluating the voice quality of a mobile perception terminal based on deep learning, characterized in that: The method comprises: Acquire speech data to be evaluated, test speech data, and a data set, wherein the data set includes at least two pieces of speech data and a quality evaluation result corresponding to each piece of speech data, wherein the quality evaluation result is obtained by manual scoring; Constructing a deep learning mathematical model, and using the data set to train the deep learning mathematical model to obtain a speech evaluation model; Calculating a quality expression level of the test speech data, wherein the quality expression level is calculated based on time domain features, frequency domain features and amplitude of the test speech data; Inputting the test speech data into the speech evaluation model for calculation to obtain a test quality evaluation result; Comparing the test quality evaluation result with the quality expression level, and modifying the parameters of the data set or the deep learning mathematical model until the difference between the test quality evaluation result and the quality expression level is less than a preset threshold, thereby obtaining an adjusted speech evaluation model; Inputting the speech data to be evaluated into the speech evaluation model for calculation to obtain a quality evaluation result of the speech data to be evaluated; Calculating the quality expression level of the test speech data includes: Using a Hamming window function to segment the test speech data to obtain a plurality of short-time frame speech data segments; Calculating the difference between the speech data segments of the short time frames to obtain an instability evaluation value of the test speech data; Performing Fourier transformation on the test speech data to obtain a spectrogram; Calculating the quality expression level based on the frequency spectrum and the instability evaluation value; Calculating the difference between the speech data segments of the short time frames to obtain the instability evaluation value of the test speech data includes: Count the number of times the data curve corresponding to each speech data segment passes through the 0 value line, which is recorded as the zero-crossing rate; Calculate the data validity corresponding to each voice data segment according to the corresponding amplitude and zero-crossing rate of the data curve corresponding to each voice data segment at each time; According to the first preset calculation formula and the data validity calculation corresponding to each voice data segment, an instability evaluation value of the test voice data is obtained.

2. The method for evaluating the voice quality of a mobile perception terminal based on deep learning according to claim 1, characterized in that: The frame length of each of the short time frames is 25 ms, and the frame shift between the short time frames is set to 10 ms.

3. The method for evaluating the voice quality of a mobile perception terminal based on deep learning according to claim 1, characterized in that: The quality expression level is calculated based on the frequency spectrum and the instability evaluation value, and then further includes: Acquire environmental information when the test voice data is collected, the environmental information including network connection logs and base station switching frequency; Obtaining the number of network connection warnings and the number of log retransmissions according to the network connection log statistics; The packet loss abnormality rate is calculated according to the number of network connection warnings, the number of log retransmissions and the base station switching frequency; The quality expression level is updated based on the abnormal packet loss rate to obtain an updated quality expression level.

4. The method for evaluating the voice quality of a mobile perception terminal based on deep learning according to claim 1, characterized in that: The deep learning mathematical model is a five-layer fully connected neural network mathematical model.

5. A mobile perception terminal voice quality evaluation system based on deep learning, characterized in that: include: A first acquisition module is used to acquire speech data to be evaluated, test speech data and a data set, wherein the data set includes at least two speech data and a quality evaluation result corresponding to each speech data, wherein the quality evaluation result is obtained by manual scoring; A model training module, used to construct a deep learning mathematical model, and use the data set to train the deep learning mathematical model to obtain a speech evaluation model; A first calculation module, used for calculating the quality expression level of the test speech data, wherein the quality expression level is calculated by the time domain characteristics, frequency domain characteristics and amplitude of the test speech data; A preliminary evaluation module, used for inputting the test speech data into the speech evaluation model for calculation to obtain a test quality evaluation result; A correction module, used for comparing the test quality evaluation result with the quality expression level, and modifying the parameters of the data set or the deep learning mathematical model until the difference between the test quality evaluation result and the quality expression level is less than a preset threshold, thereby obtaining an adjusted speech evaluation model; The quality evaluation module is used to input the speech data to be evaluated into the speech evaluation model for calculation to obtain the quality evaluation result of the speech data to be evaluated.

6. The deep learning-based mobile perception terminal voice quality evaluation system according to claim 5, characterized in that: The first calculation module includes: A segmentation module, used for segmenting the test voice data using a Hamming window function to obtain a plurality of short-time frame voice data segments; A second calculation module is used to calculate the difference between the speech data segments of the short time frame to obtain the instability evaluation value of the test speech data; A Fourier transform module, used for Fourier transforming the test speech data to obtain a spectrogram; A third calculation module is used to calculate the quality expression level based on the frequency spectrum and the instability evaluation value.

7. The deep learning-based mobile perception terminal voice quality evaluation system according to claim 6, characterized in that: The second calculation module includes: The first statistical module is used to count the number of times the data curve corresponding to each voice data segment passes through the zero value line, which is recorded as the zero crossing rate; A first sub-calculation module, configured to calculate the data validity corresponding to each speech data segment according to the corresponding amplitude and zero-crossing rate of the data curve corresponding to each speech data segment at each time; The second sub-calculation module is used to obtain the instability evaluation value of the test voice data according to the first preset calculation formula and the data validity calculation corresponding to each voice data segment.

8. The deep learning-based mobile perception terminal voice quality evaluation system according to claim 5, characterized in that: The first calculation module includes: A second acquisition module is used to acquire the environmental information when the test voice data is collected, wherein the environmental information includes a network connection log and a base station switching frequency; A second statistical module is used to obtain the number of network connection warnings and the number of log retransmissions according to the network connection log statistics; A third sub-calculation module is used to calculate the packet loss abnormality rate according to the number of network connection warnings, the number of log retransmissions and the base station switching frequency; An updating module is used to update the quality expression level based on the packet loss abnormality rate to obtain an updated quality expression level.

Citation Information

Patent Citations

  • Voice evaluation method and device

    CN104464757A

  • Ground-to-air call data analysis method and system based on voice recognition

    CN110335609A

  • Voice quality evaluation method and device and storage medium

    CN114694685A

  • Voice scoring method and voice scoring device

    CN115985341A

  • Voice quality evaluation method and device and electronic equipment

    CN116168729A