Video conference sound delay detection method and system based on machine learning
Through machine learning-based methods, we analyze the data differences and stability between devices in video conferencing, screen the optimal delay time, and use the ICA algorithm to perform feature decomposition, which solves the problem of inaccurate feature decomposition caused by delays in sound data transmission. Improved the accuracy and user experience of audio-visual matching.
Patent Information
- Application Number
- CN202410625786.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-20
AI Technical Summary
In the existing technology, the feature decomposition results of sound data in video conferences are inaccurate due to packet loss and delay during the transmission process, which further affects the accuracy of audio-visual matching.
Using a method based on machine learning, by collecting video data and sound vibration data during video conferences, analyzing the data differences between different devices, screening the optimal delay time, determining the degree of data stability and contribution, and using the ICA algorithm for feature decomposition Match audio and video to obtain more accurate video conference sound delay detection results.
It improves the accuracy of audio-visual matching, reduces the possibility of confusion when dividing data from different sources, obtains more accurate feature decomposition results, and improves user experience.
Smart Images

Figure CN118354028B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of speech analysis, and in particular to a method and system for detecting sound delay in a video conference based on machine learning. Background Art
[0002] Video conferencing can make the location of the meeting unlimited, and by saving the video data, the content of the video conference can be effectively saved. The main form of video conferencing is video calls. Due to network fluctuations or signal noise during transmission, the sound data may be out of sync with the video data. The out-of-sync audio and video leads to a poor user experience. Therefore, it is particularly important to analyze the audio and video synchronization of the video data and sound data of the video conference, which can reduce the delay interference caused by the out-of-sync audio and video. Generally, the sound delay is detected by matching the timestamps of the video data and sound data, but there may be a part of the noise data in the sound data, resulting in inaccurate timestamp matching results, which in turn affects the sound delay detection results.
[0003] The existing ICA algorithm is often used to pre-process the sound data to extract different degrees of independence of the sound data. These independent components represent different sources in the sound, so that the sound from different sources can be more accurately identified and processed during the sound-to-picture matching process, thereby improving the accuracy of the sound-to-picture matching results. However, problems such as packet loss and delay generated during the transmission of sound data may affect the data correspondence of the sound data feature decomposition, resulting in confusion in the division of sound data from different sources, so that each decomposition component may contain multiple information, and the final feature decomposition result is less accurate, making the result of sound-to-picture matching using the feature decomposition result less accurate. Summary of the invention
[0004] In order to solve the technical problem that the delay problem of existing sound data makes the feature decomposition result less accurate, and then the result of sound and picture matching using the feature decomposition result is less accurate, the purpose of the present invention is to provide a video conference sound delay detection method and system based on machine learning, and the technical solution adopted is as follows:
[0005] In a first aspect, the present invention provides a method for detecting audio delay in a video conference based on machine learning, comprising:
[0006] Collect video data and the sound and vibration data of each device at each moment during a video conference;
[0007] According to the data difference distribution between the sound vibration data of each device and the sound vibration data of other devices at each preset delay time, and the data difference between any two devices at the delay time, the delay time is screened to obtain the matching correlation degree between every two devices at the optimal delay time;
[0008] According to the difference distribution between the sound vibration data of each device at each moment and that of other devices at the optimal delay time, and the matching correlation degree of each device with other devices at the optimal delay time, the data stability degree of each device at each moment is obtained; the difference between the sound vibration data of each device at each moment and that of other devices is analyzed by using the data stability degree, so as to obtain the data contribution degree of each device at each moment;
[0009] The sound vibration data of each device is feature decomposed based on the data contribution degree, the feature decomposition result and the video data are content matched, and the detection result of the video conference sound delay is obtained according to the matching result.
[0010] Preferably, the delay time is screened according to the data difference distribution between the sound vibration data of each device and the sound vibration data of other devices at each preset delay time, and the data difference between any two devices at the delay time, to obtain the matching correlation degree between every two devices at the optimal delay time, specifically including:
[0011] Record any moment as the target moment, and record the moment corresponding to the target moment at each preset delay time as the control moment corresponding to the target moment at each delay time;
[0012] Record any delay time as the target delay time, for any device;
[0013] According to the difference between the sound vibration data of the device at the target time and the sound vibration data of each other device at the control time corresponding to the target delay time, the data stability corresponding to the target delay time of the device at the target time is obtained;
[0014] According to the difference between the data stability of the device and any other device at the target delay time at each moment, and the difference between the sound vibration data at each moment and the control moment corresponding to the target delay time, the matching correlation degree between the device and any other device at the target delay time is obtained;
[0015] The matching correlation between the device and any other device at each delay time is screened, the optimal delay time is determined, and the matching correlation between the device and any other device at the optimal delay time is obtained.
[0016] Preferably, the method for acquiring the data stability is specifically:
[0017]
[0018] in, represents the data stability of the ath device at the target delay time at the target time, a represents the ath device, i represents the i-th time, t n represents the nth delay time, M represents the total number of all devices, and F a (i) represents the sound vibration data of the ath device at the i-th moment, F b (i+t n ) indicates that the bth device is connected to the nth device at the i-th time and at the n-th delay time t n The following is the sound vibration data corresponding to the control moment, exp() represents an exponential function with the natural constant e as the base, a≠b.
[0019] Preferably, the method for obtaining the matching relevance is specifically as follows:
[0020]
[0021] Among them, D a,b (t n ) represents the matching correlation between the a-th device and the b-th device under the target delay time. It represents the data stability of the bth device at the nth delay time at the ith moment, and N represents the total number at all moments.
[0022] Preferably, screening the matching correlation between the device and any other device at each delay time to determine the optimal delay time specifically includes:
[0023] For any device, the delay time corresponding to the maximum value of all matching associations between the device and any other device is used as the optimal delay time between the device and any other device.
[0024] Preferably, obtaining the data stability of each device at each moment according to the difference distribution between the sound vibration data of each device and other devices at each moment under the optimal delay time and the matching correlation degree of each device with other devices at the optimal delay time specifically includes:
[0025] Record any moment as the selected moment, record any device as the selected device, and record all devices except the selected device as reference devices;
[0026] For any reference device, the absolute value of the difference between the sound vibration data of the selected device at the selected moment and the sound vibration data of the selected moment at the optimal delay time is calculated to obtain the data difference coefficient of the reference device at the selected moment; the product of the matching correlation degree between the selected device and the reference device at the optimal delay time and the data difference coefficient is used as the difference degree of the reference device at the selected moment;
[0027] The data stability of the selected device at the selected moment is obtained by performing negative correlation mapping on the cumulative sum of the difference degrees of all reference devices at the selected moment.
[0028] Preferably, the method of analyzing the difference between the sound vibration data of each device at each moment and that at other moments by using the data stability to obtain the data contribution degree of each device at each moment specifically includes:
[0029] All moments other than the selected moment are recorded as reference moments. For any reference moment, the product between the data stability of the selected device at the selected moment and the sound vibration data is calculated as the first product, and the product between the data stability of the selected device at the reference moment and the sound vibration data is calculated as the second product; the absolute value of the difference between the first product and the second product is taken as the characteristic difference corresponding to the selected device at the reference moment;
[0030] The data contribution degree of the selected device at the selected moment is determined according to the feature difference corresponding to the selected device at each reference moment.
[0031] Preferably, determining the data contribution degree of the selected device at the selected time according to the feature difference corresponding to the selected device at each reference time specifically includes:
[0032] The feature differences corresponding to the selected device at each reference moment are arranged in ascending order, and the feature differences corresponding to the selected device at a preset number of reference moments are obtained in the arrangement order and accumulated and summed. The summation result is negatively normalized to obtain the data contribution degree of the selected device at the selected moment.
[0033] Preferably, the feature decomposition of the sound vibration data of each device based on the data contribution degree is specifically as follows:
[0034] The data contribution of each device at each moment is used as the weight of the sound and vibration data at the corresponding moment. The ICA algorithm is used to perform feature decomposition on all the sound and vibration data of each device to obtain the independent components of each device.
[0035] In a second aspect, the present invention provides a video conferencing sound delay detection system based on machine learning, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of a video conferencing sound delay detection method based on machine learning are implemented.
[0036] The embodiments of the present invention have at least the following beneficial effects:
[0037] The present invention first collects video data and sound vibration data during a video conference, providing a data basis for the subsequent analysis of data differences between different devices. Then, the difference in sound vibration data between each device and other devices at the corresponding moment under different preset delay times is analyzed, and the delay time is screened to obtain the real time lag that may exist between the two devices, that is, the optimal delay time characterizes the most accurate time delay of the corresponding relationship between the sound vibration data of the two devices, and the matching correlation degree of the two devices under the optimal delay time also reflects the correlation degree of the sound vibration data between the two devices under the most accurate delay corresponding relationship. Further, combined with the matching correlation degree, the difference in sound vibration data between each device and other devices at the corresponding moment of the delay at each moment is analyzed under the optimal delay time, and the data stability of each device at each moment is quantified. Through the data difference of different devices at the same moment and the corresponding moment of the delay, the data stability is characterized by the data stability. At the same time, combined with the data stability, the data difference between each moment of each device and other moments of the same device is further analyzed, reflecting the difference of the sound vibration data of each device at each moment, and the contribution degree of the data is used to characterize the contribution and effectiveness of the sound vibration data of each device at each moment. By determining the optimal delay time for data difference analysis, it is avoided that the correspondence between the original data is distorted due to time lag when the data is decomposed. The contribution degree of each sound vibration data to the feature decomposition determined by the final adaptive determination is used to obtain a more accurate feature decomposition result, which reduces the possibility of confusion in the division of different source data, and thus the result of audio and video matching using the feature decomposition result is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 is a flow chart of a method for detecting audio delay in a video conference based on machine learning provided by an embodiment of the present invention;
[0040] Figure 2 is a schematic diagram of data distribution of sound vibration data of a device provided by an embodiment of the present invention;
[0041] Figure 3 It is a data distribution diagram of the characteristic decomposition results of the sound vibration data of the device provided by the embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the following, in combination with the accompanying drawings and preferred embodiments, describes in detail the specific implementation, structure, features and effects of a video conferencing sound delay detection method and system based on machine learning proposed by the present invention. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0043] Unless defined otherwise, 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 belongs.
[0044] The following is a detailed description of a specific solution of a video conferencing sound delay detection method and system based on machine learning provided by the present invention in conjunction with the accompanying drawings.
[0045] An embodiment of a method for detecting audio delay in a video conference based on machine learning:
[0046] See also Figure 1 , which shows a flowchart of a method for detecting audio delay in a video conference based on machine learning provided by an embodiment of the present invention, the method comprising the following steps:
[0047] Step 1: Collect video data and the sound and vibration data of each device at each moment during the video conference.
[0048] Specifically, video data can be collected using video conferencing software or applications, such as Zoom, Microsoft Teams, Skype, etc. These software generally provide the function of video data collection and can transmit video data in real time during the meeting. At the same time, a microphone is used to capture the sound and vibration data of each device at each moment. The built-in microphone on the device or an external microphone can be used to record the sound and vibration data in digital form.
[0049] In order to perform audio-visual matching detection on the sound data and the video data based on the timestamp later, a timestamp may be added to each video data and the sound vibration data. The device may be different microphone devices used by different users in the video conference.
[0050] Step 2: According to the data difference distribution between the sound vibration data of each device and the sound vibration data of other devices at each preset delay time, and the data difference between any two devices at the delay time, the delay time is screened to obtain the matching correlation between every two devices at the optimal delay time.
[0051] Taking into account that the transmission of sound data during video conferencing is not one-to-one, a device needs to send the acquired data to other devices through the terminal platform. When analyzing the correspondence between sound data between different devices, it is possible to analyze the data changes between multiple devices. At the same time, the stability and volatility of voice data transmission can be considered. When performing data feature decomposition, data weights of different sizes are adaptively assigned to make the feature decomposition results more accurate and reduce the impact of non-corresponding data on the feature decomposition results.
[0052] At the same time, it should be noted that when conducting a video conference, since the devices used by users and the corresponding network environments are also different, the delay time caused by the transmission of voice data from the same device to different devices and the voice data between the corresponding devices may be different. In order to avoid the different transmission delays between different devices leading to corresponding analysis of voice data that are not at the same time, the data distribution difference between the two devices at the same time under different delay times can be used to screen the delay time with the maximum similarity distribution, and the data matching between the two devices under the delay time with the maximum similarity distribution can be quantified.
[0053] Specifically, any moment is recorded as the target moment, and the moment corresponding to the target moment at each preset delay time is recorded as the control moment corresponding to the target moment at each delay time. In this embodiment, within the time range of [-2,2], the unit is s, and each delay time is obtained in sequence according to a step size of 0.1s, such as -2s, -1.9s, ..., 1.9s, 2s. Each moment has a corresponding moment at each different delay time, wherein a negative number indicates before a certain moment, and a positive number indicates after a certain moment, for example, -2s indicates a 2s delay time before a certain moment, and 2s indicates a 2s delay time after a certain moment. The control moment corresponding to the target moment at a delay time of -2s refers to the moment corresponding to 2s before the target moment.
[0054] The preset time range in this embodiment also limits the value range of the delay time. The larger the value range of the delay time, the more serious the current system delay is, and the smaller the value range of the delay time, the milder the current system delay is. The implementer can set it according to the specific implementation scenario.
[0055] In this embodiment, the i-th moment is taken as the target moment, and the moment corresponding to the i-th moment at the first delay time t1 is expressed as i+t1, which can also be called the reference moment corresponding to the first delay time t1. The n-th delay time is recorded as the target delay time, and then any device is taken as an example for explanation.
[0056] According to the difference between the sound vibration data of the device at the target time and the sound vibration data of each other device at the control time corresponding to the target delay time, the data stability of the device at the target delay time at the target time is obtained. The data stability of the a-th device at the n-th delay time at the i-th time, that is, the calculation formula of the data stability of the device at the target delay time at the target time can be expressed as:
[0057]
[0058] in, represents the data stability of the ath device at the target delay time at the target time, a represents the ath device, i represents the i-th time, t n represents the nth delay time, M represents the total number of all devices, and F a (i) represents the sound vibration data of the ath device at the i-th moment, F b (i+t n ) indicates that the bth device is connected to the nth device at the i-th time and at the n-th delay time t n The following is the sound vibration data corresponding to the control moment, exp() represents an exponential function with the natural constant e as the base, a≠b.
[0059] |F a (i)-F b (i+t n )| indicates that at the i-th moment, after a delay time t n After that, the difference between the voice data of the ath device and the voice data of other devices is as follows: the smaller the difference is, the smaller the data difference between the two devices is after the delay time, which means that at the current i-th moment, the sound vibration data of the ath device may be delayed by the delay time t. n The greater the data correspondence between the latter and other devices, the greater the corresponding data stability value.
[0060] By analyzing the differences between the sound vibration data of the ath device at the target moment and the sound vibration data of other devices at the corresponding moment after a certain delay time, the data stability is used to reflect the stability of the sound vibration data of the device under a certain delay time.
[0061] Furthermore, the data stability corresponding to each delay time of the device at each moment can be used as the corresponding data analysis weight, and the data difference at each delay time can be weighted for analysis, so as to more accurately obtain the data matching situation between different devices. That is, according to the difference between the data stability corresponding to the target delay time of the device and any other device at each moment, and the difference between the sound vibration data at each moment and the control moment corresponding to the target delay time, the matching correlation degree between the device and any other device at the target delay time is obtained.
[0062] In this embodiment, taking the ath device and the bth device as an example for description, the calculation formula of the matching correlation degree between the ath device and the bth device under the target delay time can be expressed as:
[0063]
[0064] Among them, D a,b (t n ) represents the matching correlation between the a-th device and the b-th device under the target delay time, t n represents the nth delay time, It represents the data stability of the ath device at the nth delay time at the i-th moment. represents the data stability of the bth device at the nth delay time at the i-th moment, N represents the total number at all moments, and F a (i) represents the sound vibration data of the ath device at the i-th moment, F b (i+t n ) indicates that the bth device is connected to the nth device at the i-th time and at the n-th delay time t n The following is the sound vibration data corresponding to the control moment, exp() represents an exponential function with the natural constant e as the base, a≠b.
[0065] It indicates the difference between the data stability of the ath device and any other device at the same time and with the same delay time. The larger the difference, the greater the difference in data stability between the two devices at this moment. The corresponding weight of data difference analysis at this moment is smaller, that is, the reference value of data difference at this moment is smaller. Therefore, negative exponential power is used for negative correlation mapping, and the difference between data stability The smaller the difference, the smaller the stability difference, and the corresponding data difference weight The larger the difference in sound vibration data between the two devices |F a (i)-F b (i+t n)| is larger, indicating that the data difference between the two devices at the current moment and the current delay time is greater, which further indicates that the similarity of the data matching between the two devices at the current delay time is smaller, indicating that the sound vibration data at the corresponding moment at the delay time with lag does not belong to the same data distribution, that is, the corresponding matching correlation value is smaller.
[0066] By accumulating the data differences between the ath device and other devices under the lag corresponding to the delay time, the matching correlation degree is used to reflect the data matching situation between the ath device and each other device under different delay times. The larger the value of the matching correlation degree is, the smaller the data difference between the ath device and other devices under the corresponding delay time is, which means that the delay time corresponding to the time lag between the ath device and other devices is more accurate, and the correspondence between the data of the two devices under the delay time is more accurate.
[0067] At this point, according to the same method, each device and other devices can calculate the matching correlation degree at each delay time. For example, there is a corresponding matching correlation degree between the a-th device and each other device at different delay times. The larger the value of the matching correlation degree, the more accurate the data matching correspondence between the a-th device and other devices with time lag at the corresponding delay time.
[0068] Based on this, the matching correlation between the device and any other device at each delay time is screened, the optimal delay time is determined, and the matching correlation between the device and any other device at the optimal delay time is obtained. Specifically, for any device, the delay time corresponding to the maximum value of all matching correlations between the device and any other device is used as the optimal delay time between the device and any other device.
[0069] This embodiment is described by taking the ath device as an example, and any other device is the bth device. Then the delay time corresponding to the maximum value of the matching correlation between the ath device and the bth device under all delay times can be used as the optimal delay time corresponding to the ath device and the bth device. That is, there is an adaptive optimal delay time between every two devices, and these optimal delay times may be the same or different. At the optimal delay time, the more accurate the data correspondence between the ath device and the bth device, the better the matching effect, and then the matching correlation between the ath device and the bth device at the optimal delay time can be obtained.
[0070] Step three, according to the difference distribution between the sound vibration data of each device at each moment and other devices at the optimal delay time, and the matching correlation degree of each device with other devices at the optimal delay time, the data stability of each device at each moment is obtained; the difference between the sound vibration data of each device at each moment and other moments is analyzed by using the data stability to obtain the data contribution degree of each device at each moment.
[0071] The matching correlation between each device and other devices at the optimal delay time reflects the data matching situation between each device and other devices under the influence of time lag. In this relatively accurate data matching situation, the contribution of each data in each device during feature decomposition can be quantified by analyzing the data differences between each device and all other devices.
[0072] Under normal circumstances, the sound and vibration data obtained by different devices should be relatively similar or identical. However, due to the influence of network transmission, there may be differences in the sound and vibration data between different devices. When performing data feature decomposition, the value contribution of different sound and vibration data is different. The validity of the sound and vibration data can be determined by obtaining the stability of the sound and vibration data of different devices under the best matching effect, and the contribution of each device at each moment in the feature decomposition of the sound and vibration data can be quantified.
[0073] Based on this, we first combine the matching correlation between each device and each other device at the optimal delay time, analyze the difference distribution of sound and vibration data between each device and each other device, and quantify the data stability of each device at each moment.
[0074] Specifically, any moment is recorded as the selected moment, any device is recorded as the selected device, and all devices except the selected device are recorded as reference devices; for any reference device, the absolute value of the difference between the sound vibration data of the selected device at the selected moment and the sound vibration data of the moment corresponding to the selected moment at the optimal delay time is calculated to obtain the data difference coefficient of the reference device at the selected moment; the product of the matching correlation degree between the selected device and the reference device at the optimal delay time and the data difference coefficient is used as the difference degree of the reference device at the selected moment; the cumulative sum of the difference degrees of all reference devices at the selected moment is negatively correlated and mapped to obtain the data stability degree of the selected device at the selected moment. Among them, the negative correlation mapping method can be in the form of negative exponential power or in the form of reciprocal, etc.
[0075] In this embodiment, the ath device is taken as the selected device, and all devices except the ath device can be regarded as the reference device of the ath device. The rth moment is recorded as the selected moment, and the calculation formula of the data stability of the ath device at the rth moment, that is, the data stability of the selected device at the selected moment, can be expressed as:
[0076]
[0077] Among them, W a,r represents the data stability of the selected device at the selected time, M represents the total number of all devices, M-1 represents the total number of reference devices except the selected device, and D ′ a,x represents the matching correlation between the a-th device and the x-th reference device at the optimal delay time, F a (r) represents the sound vibration data of the ath device at the rth time, F x (r+t ′ ax ) represents the sound vibration data of the xth reference device at the optimal delay time at the rth moment, t ′ ax represents the optimal delay time between the a-th device and the x-th device, and exp() represents an exponential function with the natural constant e as the base.
[0078] |F a (r)-F x (r+t ′ ax )| is the data difference coefficient of the xth reference device at the rth moment. The larger the value of the data difference coefficient, the more discrete the data of the selected device is among the other matched devices, which may be special noise caused during the transmission process. The validity of the selected device's own data is lower when performing subsequent calculations of the data contribution.
[0079] D ′ a,x ×|F a (r)-F x (r+t ′ ax)| is the difference degree of the xth reference device at the rth moment, and the matching correlation degree between the two devices is used as the reference coefficient. That is, the larger the matching correlation degree is, the more accurate the data correspondence between the two devices is at the optimal delay time, and the corresponding data difference analysis is more referenceable. At this time, the larger the value of the data difference coefficient is, the greater the data difference between the selected device and the reference device at the selected moment is, and the greater the possibility that the sound vibration data of the selected device at the selected moment belongs to noise, that is, the worse the effectiveness of the feature analysis is, and the smaller the corresponding data stability is. This embodiment uses negative exponential power to perform negative correlation mapping on the accumulation of the difference degree.
[0080] The data stability of the selected device at the selected moment is reflected by analyzing the difference between the sound vibration data of the selected device at the selected moment and the corresponding sound vibration data of other devices at the same moment, thereby reflecting the stability of the sound vibration data of the selected device at the selected moment and the validity of the sound vibration data.
[0081] Furthermore, the data stability reflects the stability of the device at a certain moment. The data stability can then be used as a weight to conduct a weighted analysis to see whether there is a certain similarity in the data distribution of the same device at different moments. The more similar the distribution of sound and vibration data is, the more likely it is that it belongs to the sound of the same user corresponding to the device, and the less likely it is that the sound is caused by noise.
[0082] Specifically, all moments except the selected moment are recorded as reference moments. For any reference moment, the product of the data stability of the selected device at the selected moment and the sound vibration data is calculated and recorded as the first product. The product of the data stability of the selected device at the reference moment and the sound vibration data is calculated and recorded as the second product. The absolute value of the difference between the first product and the second product is taken as the characteristic difference corresponding to the selected device at the reference moment.
[0083] In this embodiment, the rth moment is the selected moment, and the xth reference moment is taken as an example for explanation. The calculation formula of the characteristic difference corresponding to the selected device at the xth reference moment can be expressed as:
[0084] G a,r (x)=|W a,r ×F a (r)-W a,r (x)×F a (r,x)|
[0085] Among them, G a,r (x) represents the feature difference corresponding to the xth reference time of the ath device at the rth time, W a,r Indicates the data stability of the ath device at the rth time, Fa (r) represents the sound vibration data of the ath device at the rth time, W a,r (x) represents the data stability of the a-th device at the x-th reference time at the r-th time, F a (r,x) represents the sound vibration data of the ath device at the xth reference moment at the rth moment.
[0086] Taking the data stability as the weight, the greater the stability of the sound and vibration data, the greater the corresponding weight, and the greater the reference value for data difference analysis. The greater the difference in sound and vibration data of the same device at different times, and the larger the corresponding feature difference value, the greater the difference between the sound and vibration data of the a-th device at the r-th time and the sound and vibration data of other devices at other times, and the greater the possibility that the sound and vibration data of the a-th device at the r-th time belongs to noise, and the less effective it is to use the data for feature decomposition.
[0087] Finally, by analyzing the distribution of the feature differences between the a-th device at the r-th moment and each other reference moment, the feature differences of multiple reference moments with the same number of minimal differences are obtained, and the contribution of the sound vibration data of the a-th device at the r-th moment to the feature decomposition is quantified.
[0088] That is, the data contribution degree of the selected device at the selected moment is determined according to the characteristic difference corresponding to the selected device at each reference moment. Specifically, the characteristic difference corresponding to the selected device at each reference moment is arranged in order from small to large, and the characteristic differences corresponding to the selected device at a preset number of reference moments are obtained in the arrangement order, and the sum is accumulated and summed, and the sum result is negatively correlated and normalized to obtain the data contribution degree of the selected device at the selected moment. Among them, the negative correlation normalization process can be processed in the form of exp(-) function.
[0089] In this embodiment, the preset number is 10, that is, by selecting the data difference distribution between a certain number of reference moments with smaller differences corresponding to the a-th device at the r-th moment, the contribution of the sound vibration data of the a-th device at the r-th moment is specifically quantified. The data contribution degree of each device at each moment reflects the contribution of the sound vibration data of each device at each moment in participating in the feature decomposition. The greater the data contribution degree, the smaller the data difference between the sound vibration data of each device at each moment and the data of the same device at other moments, and the smaller the data difference between the sound vibration data of each device at each moment and other devices at the same moment, which further indicates that the data validity of each device at each moment is greater.
[0090] Step 4: Based on the data contribution degree, feature decomposition is performed on the sound vibration data of each device, content matching is performed between the feature decomposition result and the video data, and a detection result of the video conference sound delay is obtained according to the matching result.
[0091] When decomposing the sound and vibration data of each device at each moment, the contribution of each sound and vibration data to the acquired matrix calculation is different. Weighted processing of each sound and vibration data can make the feature decomposition result clearer and reduce the influence of noise data on the feature decomposition process.
[0092] Based on this, the data contribution degree of each device at each moment can be used as the contribution of the sound vibration data of each device at each moment when performing ICA decomposition, that is, the data contribution degree of each device at each moment is used as the weight of the sound vibration data at the corresponding moment, and the ICA algorithm is used to perform feature decomposition on all the sound vibration data of each device to obtain the independent components of each device. In other words, the data contribution degree of each device at each moment is used as the weight of the sound vibration data at the corresponding moment, and then a weighted vector matrix is constructed for the sound vibration data of each device. The inversion of the matrix can be decomposed to obtain the independent components of each device.
[0093] After decomposing the sound vibration data of each device into different independent components, these independent components represent different sources of sound, such as different speakers, background noise, etc. Figure 2 As shown, the signal distribution of the sound vibration data of any device within one hour is used as an illustration, that is, Figure 2 A schematic diagram showing the data distribution of the sound and vibration data of the device is shown. Figure 3 A schematic diagram of data distribution corresponding to an independent component obtained after decomposition of the device through ICA independent component analysis is shown. Figure 2 and Figure 3 In the figure, the horizontal axis is time in hours, and the vertical axis is signal amplitude.
[0094] The Mel frequency cepstral coefficients are used to extract the features of the independent components of each device, and MFCC is applied to the sound data of each independent component for feature extraction. MFCC is a commonly used sound feature extraction method and will not be introduced in detail here.
[0095] By matching the extracted feature data with the video data for content, machine learning or deep learning techniques can be used to match the extracted sound feature data with the video feature data to achieve content matching. The method of content matching of sound data with video data is a common method in the art and will not be described in detail here. In some embodiments, the video data may also be preprocessed before content matching, such as extracting key frame images of the video data.
[0096] The image delay is judged by the difference in timestamps between the matched sound data and video data. That is, international indicators show that if the timestamp difference is within a certain range, it means that the audio and video delay is normal. The range is [-100ms, 25ms]. If it exceeds the corresponding range, it is a perceptible abnormality and the delay needs to be adjusted to improve the user experience.
[0097] An embodiment of a video conference sound delay detection system based on machine learning:
[0098] This embodiment provides a video conference sound delay detection system based on machine learning, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of a video conference sound delay detection method based on machine learning are implemented. Since an embodiment of a video conference sound delay detection method based on machine learning has been described in detail, it will not be introduced in detail here.
[0099] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A video conference sound delay detection method based on machine learning, characterized in that: The method comprises the following steps: Collect video data and the sound and vibration data of each device at each moment during a video conference; According to the data difference distribution between the sound vibration data of each device and the sound vibration data of other devices at each preset delay time, and the data difference between any two devices at the delay time, the delay time is screened to obtain the matching correlation degree between every two devices at the optimal delay time; According to the difference distribution between the sound vibration data of each device at each moment and that of other devices at the optimal delay time, and the matching correlation degree of each device with other devices at the optimal delay time, the data stability degree of each device at each moment is obtained; the difference between the sound vibration data of each device at each moment and that of other devices is analyzed by using the data stability degree, so as to obtain the data contribution degree of each device at each moment; Based on the data contribution degree, feature decomposition is performed on the sound vibration data of each device, content matching is performed on the feature decomposition result and the video data, and a detection result of the video conference sound delay is obtained according to the matching result; The method further comprises: screening the delay time according to the data difference distribution between the sound vibration data of each device and the sound vibration data of other devices at each preset delay time, and the data difference between any two devices at the delay time, to obtain the matching correlation degree between every two devices at the optimal delay time, specifically including: Record any moment as the target moment, and record the moment corresponding to the target moment at each preset delay time as the control moment corresponding to the target moment at each delay time; Record any delay time as the target delay time, for any device; According to the difference between the sound vibration data of the device at the target time and the sound vibration data of each other device at the control time corresponding to the target delay time, the data stability corresponding to the target delay time of the device at the target time is obtained; According to the difference between the data stability of the device and any other device at the target delay time at each moment, and the difference between the sound vibration data at each moment and the control moment corresponding to the target delay time, the matching correlation degree between the device and any other device at the target delay time is obtained; Screening the matching correlation between the device and any other device at each delay time, determining the optimal delay time, and obtaining the matching correlation between the device and any other device at the optimal delay time; The step of obtaining the data stability of each device at each moment according to the difference distribution between the sound vibration data of each device at each moment and the sound vibration data of other devices at the optimal delay time and the matching correlation degree of each device with other devices at the optimal delay time specifically includes: Record any moment as the selected moment, record any device as the selected device, and record all devices except the selected device as reference devices; For any reference device, the absolute value of the difference between the sound vibration data of the selected device at the selected moment and the sound vibration data of the selected moment at the optimal delay time is calculated to obtain the data difference coefficient of the reference device at the selected moment; the product of the matching correlation degree between the selected device and the reference device at the optimal delay time and the data difference coefficient is used as the difference degree of the reference device at the selected moment; The data stability of the selected device at the selected time is obtained by performing negative correlation mapping on the cumulative sum of the difference degrees of all reference devices at the selected time; The method of using the data stability to analyze the difference between the sound and vibration data of each device at each moment and other moments to obtain the data contribution degree of each device at each moment specifically includes: All moments other than the selected moment are recorded as reference moments. For any reference moment, the product between the data stability of the selected device at the selected moment and the sound vibration data is calculated as the first product, and the product between the data stability of the selected device at the reference moment and the sound vibration data is calculated as the second product; the absolute value of the difference between the first product and the second product is taken as the characteristic difference corresponding to the selected device at the reference moment; The data contribution degree of the selected device at the selected moment is determined according to the feature difference corresponding to the selected device at each reference moment.
2. According to the method for detecting audio delay in a video conference based on machine learning in claim 1, it is characterized in that: The method for obtaining the data stability is specifically as follows: in, It represents the data stability of the ath device at the target delay time at the target time, a represents the ath device, i represents the ith moment, represents the nth delay time, Indicates the total number of all devices. Represents the sound and vibration data of the ath device at the i-th moment, Indicates that the bth device is at the i-th time and the n-th delay time The sound vibration data corresponding to the control time is shown below. exp( ) represents an exponential function with the natural constant e as the base. .
3. The method for detecting audio delay in a video conference based on machine learning according to claim 2, characterized in that: The method for obtaining the matching association degree is specifically as follows: in, Indicates the matching correlation between the a-th device and the b-th device under the target delay time. It represents the data stability of the bth device at the nth delay time at the ith moment, and N represents the total number at all moments.
4. According to the method for detecting audio delay in video conference based on machine learning in claim 3, it is characterized in that: The step of screening the matching correlation between the device and any other device at each delay time to determine the optimal delay time specifically includes: For any device, the delay time corresponding to the maximum value of all matching associations between the device and any other device is used as the optimal delay time between the device and any other device.
5. The method for detecting audio delay in a video conference based on machine learning according to claim 1, characterized in that: The step of determining the data contribution degree of the selected device at the selected time according to the feature difference corresponding to the selected device at each reference time specifically includes: The feature differences corresponding to the selected device at each reference moment are arranged in ascending order, and the feature differences corresponding to the selected device at a preset number of reference moments are obtained in the arrangement order and accumulated and summed. The summation result is negatively normalized to obtain the data contribution degree of the selected device at the selected moment.
6. The method for detecting audio delay in a video conference based on machine learning according to claim 1, characterized in that: The feature decomposition of the sound vibration data of each device based on the data contribution degree is specifically as follows: The data contribution of each device at each moment is used as the weight of the sound and vibration data at the corresponding moment. The ICA algorithm is used to perform feature decomposition on all the sound and vibration data of each device to obtain the independent components of each device.
7. A video conference sound delay detection system based on machine learning, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the computer program is executed by the processor, the steps of a video conferencing sound delay detection method based on machine learning are implemented as described in any one of claims 1-6.
