Method and device for defining imaging dynamic range of sound source signal

By generating and filtering the mean peaks of the audio data matrix and determining the appropriate imaging range value, the imaging accuracy problem caused by improper dynamic range in acoustic imaging is solved, and high-precision sound source signal display is achieved.

CN120340522BActive Publication Date: 2025-08-29HANGZHOU ZHAOHUA ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510779080.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-08-29
Estimated Expiration
2045-06-12

AI Technical Summary

Technical Problem

During acoustic imaging, improper dynamic range setting causes the loud source signal to cover the small source signal or noise point imaging, affecting the imaging accuracy.

Method used

By acquiring continuous audio data, an acoustic imaging algorithm is used to generate an audio data matrix, filter out the mean peak matrix, determine the appropriate imaging range value based on the position information and numerical values ​​of elements in the matrix, and display the sound source signal in the display interface.

Benefits of technology

Effectively eliminate noise interference, improve sound source positioning accuracy, and ensure effective display and imaging accuracy of low-sound source signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120340522B_ABST
    Figure CN120340522B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for defining the imaging dynamic range of a sound source signal. The method includes obtaining n groups of continuous audio data and obtaining an audio data matrix based on an acoustic imaging algorithm; performing mean calculation on the n groups of audio data matrices to obtain a first mean matrix, screening out elements greater than a preset first constant as a first mean peak matrix; screening out elements greater than a preset second constant in the nth group of audio data matrices as a second mean peak matrix; when the same position information is not found in the first mean peak matrix and the second mean peak matrix, determining the imaging range value corresponding to the nth group of audio data to be a preset range value, and displaying the nth group of audio data. By screening the elements in the audio data matrix and determining the position information, a suitable imaging dynamic range is determined, and the audio data is displayed according to the imaging dynamic range, so as to achieve the effect of eliminating noise interference while improving the accuracy of sound source positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of sound source imaging technology, and in particular relates to a method and device for defining the imaging dynamic range of a sound source signal. Background Art

[0002] Acoustic imaging is a measurement technology based on microphone arrays. By measuring the phase differences of sound waves reaching each microphone within a given space, it locates the sound source and measures its amplitude based on the principle of phased arrays, ultimately displaying the spatial distribution of the sound source as an image. The maximum color difference between the acoustic cloud images in the image represents the dynamic range of the image, which limits the quality of the final image of the sound source signal.

[0003] However, in the actual imaging process, when there are multiple sound source signals, if the dynamic range is set too small, it is easy for a large sound source signal to cover a small sound source signal, resulting in the defect that the small sound source signal cannot be effectively displayed; when there is a small sound source signal, if the dynamic range is set too large, it is easy for noise points to be imaged as well, thereby affecting the overall imaging accuracy. Summary of the Invention

[0004] This application aims to solve the above-mentioned technical problems that when there are multiple sound source signals, a too small dynamic range setting easily causes a large sound source signal to cover a small sound source signal, thereby preventing the small sound source signal from being effectively displayed; and when there are small sound source signals, a too large dynamic range setting easily causes noise points to be imaged, thereby affecting the overall imaging accuracy. A method and device for defining the imaging dynamic range of a sound source signal are proposed. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for defining an imaging dynamic range of a sound source signal, comprising:

[0006] Obtain n sets of continuous audio data, and obtain an audio data matrix corresponding to each set of audio data based on an acoustic imaging algorithm;

[0007] Performing mean calculation on n groups of audio data matrices to obtain a first mean matrix, screening out all elements whose values ​​are greater than a preset first constant in the first mean matrix, and taking a set of all elements and position information corresponding to each element in the first mean matrix as a first mean peak matrix;

[0008] Filtering all elements whose values ​​are greater than a preset second constant in the n-th group of audio data matrix, and taking all elements and a set of position information corresponding to each element in the n-th group of audio data matrix as a second mean peak matrix;

[0009] When the same position information is not found in the first mean peak matrix and the second mean peak matrix, determining that the imaging range value corresponding to the n-th group of audio data is a preset range value, and displaying the n-th group of audio data according to the preset range value;

[0010] When the same position information is found in the first mean peak matrix and the second mean peak matrix, a mean element consistent with the same position information is determined in the first mean matrix, and an imaging range value corresponding to the nth group of audio data is obtained based on the mean element.

[0011] In an optional solution of the first aspect, obtaining an imaging range value corresponding to the nth group of audio data according to the mean element includes:

[0012] Calculate the variance of the first mean matrix based on the mean element, all elements in the first mean matrix, and the number of all elements;

[0013] Performing a mean calculation on the nth group of audio data matrix to obtain a mean of the nth group of audio data matrix, and calculating a standard deviation of the nth group of audio data matrix based on the mean of the nth group of audio data matrix, all elements in the nth group of audio data matrix, and the number of all elements; wherein the number of all elements in the first mean matrix is ​​equal to the number of all elements in the nth group of audio data matrix;

[0014] Substituting the variance of the first mean matrix, the mean of the n-th group of audio data matrix, and the standard deviation of the n-th group of audio data matrix into a preset test formula to obtain a first check value;

[0015] According to the number of all elements in the nth group of audio data matrix and the preset significance level parameter, a second check value is searched in the t threshold value table;

[0016] When the absolute value of the first check value is greater than the second check value, the imaging range value corresponding to the n-th group of audio data is determined to be a preset range value, and the n-th group of audio data is displayed according to the preset range value.

[0017] In another optional solution of the first aspect, after searching the t-threshold table for the second check value based on the number of all elements in the nth group of audio data matrix and a preset significance level parameter, the method further includes:

[0018] When the absolute value of the first check value is less than or equal to the second check value, determining two elements with the largest values ​​in the first mean peak value matrix;

[0019] The absolute value of the difference between the two elements with the largest values ​​is used as the imaging range value corresponding to the n-th group of audio data, and the n-th group of audio data is displayed according to the imaging range value corresponding to the n-th group of audio data.

[0020] In yet another alternative of the first aspect, the method further comprises:

[0021] Acquire the n+1th group of audio data, and obtain an audio data matrix corresponding to the n+1th group of audio data based on an acoustic imaging algorithm;

[0022] Performing mean calculation on the n+1 groups of audio data matrices to obtain a second mean matrix, filtering out all elements whose values ​​are greater than a preset first constant in the second mean matrix, and taking a set of all elements and the position information corresponding to each element in the second mean matrix as a third mean peak matrix;

[0023] Filtering all elements whose values ​​are greater than a preset second constant in the n+1th group of audio data matrix, and taking all elements and the set of position information corresponding to each element in the nth group of audio data matrix as a fourth mean peak matrix;

[0024] When the same position information is not found in the third mean peak matrix and the fourth mean peak matrix, the imaging range value corresponding to the n+1th group of audio data is determined to be a preset range value, and the n+1th group of audio data is displayed according to the preset range value.

[0025] In yet another alternative of the first aspect, the method further comprises:

[0026] When it is detected that the number of signal imaging displayed by the nth group of audio data exceeds a preset number threshold, an early warning message corresponding to the preset number threshold is sent.

[0027] In a second aspect, an embodiment of the present application provides a device for defining an imaging dynamic range of a sound source signal, comprising:

[0028] A matrix generation module is used to obtain n groups of continuous audio data and obtain an audio data matrix corresponding to each group of audio data based on an acoustic imaging algorithm;

[0029] A first screening module is configured to perform mean calculation on n groups of audio data matrices to obtain a first mean matrix, screen out all elements whose values ​​are greater than a preset first constant in the first mean matrix, and use a set of all elements and position information corresponding to each element in the first mean matrix as a first mean peak matrix;

[0030] A second screening module is configured to screen out all elements whose values ​​are greater than a preset second constant in the n-th group of audio data matrix, and to use all elements and a set of position information corresponding to each element in the n-th group of audio data matrix as a second mean peak matrix;

[0031] a first processing module configured to, when identical position information is not found in the first mean-peak matrix and the second mean-peak matrix, determine that the imaging range value corresponding to the nth group of audio data is a preset range value, and display the nth group of audio data according to the preset range value;

[0032] The second processing module is used to determine the mean element consistent with the same position information in the first mean matrix when the same position information is found in the first mean peak matrix and the second mean peak matrix, and obtain the imaging range value corresponding to the nth group of audio data based on the mean element.

[0033] In an optional solution of the second aspect, the second processing module is specifically configured to:

[0034] Calculate the variance of the first mean matrix based on the mean element, all elements in the first mean matrix, and the number of all elements;

[0035] Performing a mean calculation on the nth group of audio data matrix to obtain a mean of the nth group of audio data matrix, and calculating a standard deviation of the nth group of audio data matrix based on the mean of the nth group of audio data matrix, all elements in the nth group of audio data matrix, and the number of all elements; wherein the number of all elements in the first mean matrix is ​​equal to the number of all elements in the nth group of audio data matrix;

[0036] Substituting the variance of the first mean matrix, the mean of the n-th group of audio data matrix, and the standard deviation of the n-th group of audio data matrix into a preset test formula to obtain a first check value;

[0037] According to the number of all elements in the nth group of audio data matrix and the preset significance level parameter, a second check value is searched in the t threshold value table;

[0038] When the absolute value of the first check value is greater than the second check value, the imaging range value corresponding to the n-th group of audio data is determined to be a preset range value, and the n-th group of audio data is displayed according to the preset range value.

[0039] In yet another optional solution of the second aspect, the second processing module is further configured to:

[0040] After finding the second check value in the t threshold table based on the number of all elements in the nth group of audio data matrix and the preset significance level parameter,

[0041] When the absolute value of the first check value is less than or equal to the second check value, determining two elements with the largest values ​​in the first mean peak value matrix;

[0042] The absolute value of the difference between the two elements with the largest values ​​is used as the imaging range value corresponding to the n-th group of audio data, and the n-th group of audio data is displayed according to the imaging range value corresponding to the n-th group of audio data.

[0043] In yet another optional solution of the second aspect, the apparatus further comprises:

[0044] Acquire the n+1th group of audio data, and obtain an audio data matrix corresponding to the n+1th group of audio data based on an acoustic imaging algorithm;

[0045] Performing mean calculation on the n+1 groups of audio data matrices to obtain a second mean matrix, filtering out all elements whose values ​​are greater than a preset first constant in the second mean matrix, and taking a set of all elements and the position information corresponding to each element in the second mean matrix as a third mean peak matrix;

[0046] Filtering all elements whose values ​​are greater than a preset second constant in the n+1th group of audio data matrix, and taking all elements and the set of position information corresponding to each element in the nth group of audio data matrix as a fourth mean peak matrix;

[0047] When the same position information is not found in the third mean peak matrix and the fourth mean peak matrix, the imaging range value corresponding to the n+1th group of audio data is determined to be a preset range value, and the n+1th group of audio data is displayed according to the preset range value.

[0048] In yet another optional solution of the second aspect, the apparatus further comprises:

[0049] When it is detected that the number of signal imaging displayed by the nth group of audio data exceeds a preset number threshold, an early warning message corresponding to the preset number threshold is sent.

[0050] In a third aspect, an embodiment of the present application further provides a device for defining an imaging dynamic range of a sound source signal, comprising a processor and a memory;

[0051] The processor is connected to the memory;

[0052] a memory for storing executable program code;

[0053] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the imaging dynamic range definition method of the sound source signal provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect.

[0054] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the imaging dynamic range definition method of the sound source signal provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect can be implemented.

[0055] In an embodiment of the present application, when imaging and displaying audio data, n groups of continuous audio data can be obtained, and an audio data matrix corresponding to each group of audio data can be obtained based on an acoustic imaging algorithm; the n groups of audio data matrices are averaged to obtain a first average matrix, all elements whose values ​​are greater than a preset first constant are screened out in the first average matrix, and a set of position information corresponding to all elements and each element in the first average matrix is ​​used as a first average peak matrix; all elements whose values ​​are greater than a preset second constant are screened out in the nth group of audio data matrices, and a set of position information corresponding to all elements and each element in the nth group of audio data matrices is used as a second average peak matrix; when the same position information is not found in the first average peak matrix and the second average peak matrix, the imaging range value corresponding to the nth group of audio data is determined to be a preset range value, and the nth group of audio data is displayed according to the preset range value; when the same position information is found in the first average peak matrix and the second average peak matrix, the mean element consistent with the same position information is determined in the first average matrix, and the imaging range value corresponding to the nth group of audio data is obtained based on the mean element. By screening the elements in the audio data matrix and determining the position information, the imaging dynamic range suitable for the audio data is determined, and the audio data is displayed according to the imaging dynamic range, so as to eliminate noise interference while improving the accuracy of sound source positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0057] Figure 1 This is an overall flow chart of a method for defining the imaging dynamic range of a sound source signal provided in an embodiment of the present application;

[0058] Figure 2 A schematic diagram of a structure for generating a mean peak matrix provided in an embodiment of the present application;

[0059] Figure 3 A schematic diagram of the structure of a device for defining the imaging dynamic range of a sound source signal provided in an embodiment of the present application;

[0060] Figure 4 A schematic structural diagram of another device for defining the imaging dynamic range of a sound source signal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0062] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application. Different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, even though the embodiment may not be clearly described in the following text.

[0063] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.

[0064] See also Figure 1 , Figure 1 The figure shows an overall flow chart of a method for defining the imaging dynamic range of a sound source signal provided by an embodiment of the present application.

[0065] like Figure 1 As shown, the method for defining the imaging dynamic range of the sound source signal may at least include the following steps:

[0066] Step 102: Obtain n groups of continuous audio data, and obtain an audio data matrix corresponding to each group of audio data based on an acoustic imaging algorithm.

[0067] In an embodiment of the present application, a method for defining the imaging dynamic range of a sound source signal is applied to a control terminal that can control an acoustic imager. The control terminal can analyze and process the audio data collected by the acoustic imager to obtain an imaging range value corresponding to the sound source signal in the audio data, and display the sound source signal in the display interface of the acoustic imager in combination with the imaging range value. Among them, the imaging range value can be understood as the difference between the maximum decibel value and the minimum decibel value allowed for imaging by the acoustic imager. The unit is generally set to dB, and different decibel differences correspond to different colors and brightness. For example, but not limited to, the larger the decibel difference, the darker the displayed color and brightness. It is understandable that the audio data may include one or more different sound source signals. If the imaging range of each sound source signal is set too small, it is easy for a large sound source signal to completely cover a small sound source signal, thereby ignoring the position of the small sound source signal; if each sound source signal is small and the corresponding imaging range is set too large, noise points will also be imaged, resulting in a phenomenon of full-screen sound and image.

[0068] Specifically, when imaging and displaying audio data using an acoustic imager, the control terminal can control the acoustic imager to acquire multiple sets of continuous audio data (i.e., n is a positive integer), with the time interval between each set of audio data remaining consistent. Each acquired set of audio data can then be processed using an acoustic imaging algorithm to generate a corresponding audio data matrix. The acoustic imaging algorithm, also known as a Direction of Access (DOA) algorithm, is a commonly used technique in this field and for acoustic imagers, and will not be elaborated upon here.

[0069] It can be understood that the audio data matrix corresponding to each set of audio data can be expressed as an m*m matrix. For example, but not limited to, the audio data matrix corresponding to each set of audio data can be a 50*50 matrix.

[0070] Step 104: Perform mean calculation on the n groups of audio data matrices to obtain a first mean matrix, filter out all elements whose values ​​are greater than a preset first constant in the first mean matrix, and use the set of all elements and the position information corresponding to each element in the first mean matrix as the first mean peak matrix.

[0071] Specifically, after obtaining the audio data matrix corresponding to each group of audio data, the control terminal may perform mean calculation on all the audio data matrices to obtain a first mean matrix, wherein the element in the xth row and yth column of the first mean matrix is ​​determined by performing the average value calculation on the elements in the xth row and yth column of all the audio data matrices, which may be specifically expressed by, but not limited to, the following formula:

[0072]

[0073] In the above formula, AVG can be corresponded to the first mean matrix, It can correspond to the i-th group of audio data matrix, and N can correspond to the n-th group of audio data matrix. It can be understood that when the audio data matrix corresponding to each group of audio data can be expressed as an m*m matrix, the first mean matrix can also be expressed as an m*m matrix.

[0074] Furthermore, after calculating the first mean matrix, the control terminal may filter out all elements in the first mean matrix whose values ​​are greater than a preset first constant, and determine the position information of each element in the first mean matrix, so as to use the set of all elements and their corresponding position information as the first mean peak matrix, wherein the position information corresponding to each element in the first mean peak matrix can be represented by, but is not limited to, the lower right subscript of the element. It is understood that the preset first constant set in the embodiment of the present application can be set based on the historical sound source signal displayed by the acoustic imager, so as to improve the effectiveness and accuracy of the imaging range value of the acoustic imager.

[0075] See here Figure 2 The schematic diagram of the generation structure of a mean peak matrix provided by the embodiment of the present application is shown. Figure 2 As shown, x may correspond to a first mean matrix, which may be represented as a 10*10 matrix. In the embodiment of the present application, the preset first constant may be represented as a value of 25, that is, it is necessary to filter out all elements with a value greater than 25 in the first mean matrix, thereby obtaining all elements 45, 36, and 25 in the first mean peak matrix, which may be represented, for example but not limited to:

[0076] Y=findPeaks(x,25)=[45,36,25]

[0077] Next, the position information corresponding to elements 45, 36, and 25 can be determined in the first mean matrix. For example, the position information corresponding to element 45 can be expressed as 28 (also understood as the 2nd row and 8th column), the position information corresponding to element 36 can be expressed as 77 (also understood as the 7th row and 7th column), and the position information corresponding to element 25 can be expressed as 93 (also understood as the 9th row and 3rd column). Based on all elements with values ​​higher than 25 and the corresponding position information, the first mean peak matrix can be obtained, but is not limited to being expressed as:

[0078] [45 28 , 36 77 , 25 93 ]

[0079] It should be noted that in the above embodiment, the first mean peak matrix may correspond to a one-dimensional matrix containing three elements, but the embodiment of the present application is not limited to the number of elements contained in the first mean peak matrix, and is not limited thereto.

[0080] Step 106: Filter out all elements whose values ​​are greater than a preset second constant in the nth group of audio data matrix, and use all elements and the set of position information corresponding to each element in the nth group of audio data matrix as a second mean peak matrix.

[0081] Specifically, the control terminal can screen all elements in the nth group of audio data matrix whose values ​​are greater than a preset second constant, and determine the position information of each element in the nth group of audio data matrix, so as to use the set of all elements and their corresponding position information as the second mean peak matrix, wherein the position information corresponding to each element in the second mean peak matrix can be, but is not limited to, represented by the lower right subscript of the element. It is understandable that the nth group of audio data matrix can correspond to the latest audio data currently acquired by the acoustic imager. Based on this, screening the nth group of audio data matrix can effectively ensure the effectiveness of the acoustic imager in the current imaging.

[0082] It should be noted that the preset second constant set in the embodiment of the present application can be set according to the historical sound source signal displayed by the acoustic imager, so as to improve the effectiveness and accuracy of the imaging range value of the acoustic imager, and the preset second constant can be, but is not limited to, consistent with the preset first constant.

[0083] Step 108 : When the same position information is not found in the first mean-peak matrix and the second mean-peak matrix, determine that the imaging range value corresponding to the nth group of audio data is a preset range value, and display the nth group of audio data according to the preset range value.

[0084] Specifically, after obtaining the first mean peak matrix and the second mean peak matrix respectively, the control terminal can determine whether the position information corresponding to each element in the first mean peak matrix is ​​the same as the position information corresponding to each element in the second mean peak matrix. For example, the first mean peak matrix can be expressed as , the second mean peak matrix can be expressed as For example (the lower right subscript of the element represents the position information), the position information contained in the first mean peak matrix can be expressed as 2, 3, 6 and 9 respectively, and the position information contained in the second mean peak matrix can be expressed as 3, 5 and 7 respectively. It can be determined that the first mean peak matrix and the second mean peak matrix have the same position information, and the same position information is expressed as 3.

[0085] Possibly, when it is detected that the first mean-peak matrix and the second mean-peak matrix do not contain identical position information, indicating that the nth group of audio data is preliminarily determined to contain no valid sound source, the imaging range value corresponding to the nth group of audio data can be determined to be a preset range value, and the acoustic imager can be controlled to image the sound source signal of the nth group of audio data on the display interface according to the preset range value. The preset range value can be understood as a range value set by the user or a default range value, which can be, but is not limited to, 3dB.

[0086] Step 110: When the same position information is found in the first mean peak matrix and the second mean peak matrix, a mean element consistent with the same position information is determined in the first mean matrix, and an imaging range value corresponding to the nth group of audio data is obtained based on the mean element.

[0087] When it is detected that the same position information is found in the first mean peak matrix and the second mean peak matrix, it is preliminarily judged that the nth group of audio data may contain a valid sound source. It can be verified by, but not limited to, statistical analysis t-test to further accurately determine whether the nth group of audio data has a valid sound source.

[0088] Specifically, after determining the same position information, the control terminal may determine the mean element corresponding to the same position information in the first mean matrix mentioned above, and substitute the mean element, all elements in the first mean matrix, and the number of all elements into the variance calculation formula to obtain the variance of the first mean matrix, wherein the variance calculation formula may be, but is not limited to, expressed as follows:

[0089]

[0090] In the above formula, It can be corresponded to the variance of the first mean matrix, It can be corresponded to the i-th element in the first mean matrix, It may correspond to the mean element corresponding to the same position information in the first mean matrix, and M may correspond to the number of elements in the first mean matrix.

[0091] Furthermore, the control terminal also performs a mean calculation on all elements in the nth group of audio data matrix, and substitutes the mean of the nth group of audio data matrix, all elements in the nth group of audio data matrix, and the number of all elements into the standard deviation calculation formula to obtain the standard deviation of the nth group of audio data matrix, wherein the standard deviation calculation formula can be, but is not limited to, expressed as follows:

[0092]

[0093]

[0094] In the above formula, S can be corresponded to the standard deviation of the n-th group of audio data matrix, It can correspond to the i-th element in the n-th group of audio data matrix, It may correspond to the mean of the n-th group of audio data matrix, and M may correspond to the number of elements in the n-th group of audio data matrix.

[0095] Furthermore, after calculating the standard deviation of the n-th group of audio data matrix, the control terminal may combine the t-test theorem and the normal distribution formula to substitute the variance of the first mean matrix, the mean of the n-th group of audio data matrix, and the standard deviation of the n-th group of audio data matrix into a preset test formula to obtain a first check value, wherein the preset test formula can be, but is not limited to, expressed as follows:

[0096]

[0097]

[0098] In the above formula, may correspond to the first check value, n may correspond to the number of elements in the n-th group of audio data matrix, S may correspond to the standard deviation of the n-th group of audio data matrix, It can be corresponded to the mean value of the nth group of audio data matrix, It can correspond to the mean element corresponding to the same position information in the first mean matrix, It can be understood as the chi-square variable theorem formula.

[0099] Furthermore, the control terminal can also determine the degrees of freedom (which may be but is not limited to the difference between the number of elements in the nth group of audio data matrix and one) and the default preset significance level parameter (which may be but is not limited to 0.025) based on the number of all elements in the nth group of audio data matrix, query the second verification value corresponding to the degrees of freedom and the preset significance level parameter in the t-threshold table, and determine the size of the absolute value of the second verification value and the first verification value.

[0100] Possibly, when it is detected that the absolute value of the first check value is greater than the second check value, it indicates that the nth set of audio data does not conform to a normal distribution, that is, the nth set of audio data does not contain a valid sound source. The imaging range value corresponding to the nth set of audio data can then be determined to be a preset range value, and the acoustic imager can be controlled to image the sound source signal of the nth set of audio data on the display interface according to the preset range value. The preset range value can be understood as a user-set range value or a default range value, which can be, but is not limited to, 3dB.

[0101] Possibly, when it is detected that the absolute value of the first check value is less than or equal to the second check value, it indicates that the n groups of audio data conform to the normal distribution, that is, the nth group of audio data contains a valid sound source, and then the control terminal can determine the two elements with the largest values ​​in the first mean peak matrix, and use the absolute value of the difference between the two elements with the largest values ​​as the imaging range value corresponding to the nth group of audio data, and can control the acoustic imager to image the sound source signal of the nth group of audio data in the display interface according to the absolute value of the difference between the two elements with the largest values.

[0102] As an option in the embodiment of the present application, the method further includes:

[0103] Acquire the n+1th group of audio data, and obtain an audio data matrix corresponding to the n+1th group of audio data based on an acoustic imaging algorithm;

[0104] Performing mean calculation on the n+1 groups of audio data matrices to obtain a second mean matrix, screening out all elements whose values ​​are greater than the preset first constant in the second mean matrix, and using a set of all the elements and the position information corresponding to each element in the second mean matrix as a third mean peak matrix;

[0105] Screening out all elements whose values ​​are greater than the preset second constant in the audio data matrix of the n+1th group, and taking all of the elements and a set of position information corresponding to each element in the audio data matrix of the nth group as a fourth mean peak matrix;

[0106] When the same position information is not found in the third mean peak matrix and the fourth mean peak matrix, the imaging range value corresponding to the n+1th group of audio data is determined to be a preset range value, and the n+1th group of audio data is displayed according to the preset range value.

[0107] Specifically, when the continuous n+1th group of audio data is continued to be acquired, the control terminal can obtain the third mean peak matrix and the fourth mean peak matrix respectively in combination with the n+1th group of audio data, and further determine whether there is a valid sound source in the current n+1th group of audio data by comparing whether the same position information exists in the third mean peak matrix and the fourth mean peak matrix, and then determine the corresponding imaging range value. Please refer to the above embodiment here and no further details will be given.

[0108] As another option of the embodiment of the present application, the method further includes:

[0109] When it is detected that the number of signal imaging displayed by the nth group of audio data exceeds a preset number threshold, an early warning message corresponding to the preset number threshold is sent.

[0110] Specifically, when the control terminal detects that the number of sound source signals currently imaged in the image displayed by the acoustic imager exceeds a preset number threshold, it indicates that there may be an abnormality in the imaging result, and the control terminal can generate an early warning message corresponding to the preset number threshold, such as but not limited to generating a prompt message "The number of imaging of the current sound source signal exceeds the preset number", so as to promptly notify the staff to conduct an inspection.

[0111] See also Figure 3 , Figure 3 A schematic structural diagram of a device for defining the imaging dynamic range of a sound source signal provided in an embodiment of the present application is shown.

[0112] like Figure 3 As shown, the imaging dynamic range definition device of the sound source signal may include at least a matrix generation module 301, a first screening module 302, a second screening module 303, a first processing module 304 and a second processing module 305, wherein:

[0113] The matrix generation module 301 is used to obtain n groups of continuous audio data and obtain an audio data matrix corresponding to each group of audio data based on an acoustic imaging algorithm;

[0114] A first screening module 302 is configured to perform mean calculation on n groups of audio data matrices to obtain a first mean matrix, screen out all elements whose values ​​are greater than a preset first constant in the first mean matrix, and use a set of all elements and the position information corresponding to each element in the first mean matrix as a first mean peak matrix;

[0115] A second screening module 303 is configured to screen out all elements whose values ​​are greater than a preset second constant in the n-th group of audio data matrix, and to use all elements and the set of position information corresponding to each element in the n-th group of audio data matrix as a second mean peak value matrix;

[0116] A first processing module 304 is configured to, when identical position information is not found in the first mean-peak matrix and the second mean-peak matrix, determine that the imaging range value corresponding to the n-th group of audio data is a preset range value, and display the n-th group of audio data according to the preset range value;

[0117] The second processing module 305 is used to determine the mean element consistent with the same position information in the first mean matrix when the same position information is found in the first mean peak matrix and the second mean peak matrix, and obtain the imaging range value corresponding to the nth group of audio data based on the mean element.

[0118] In some possible embodiments, the second processing module is specifically configured to:

[0119] Calculate the variance of the first mean matrix based on the mean element, all elements in the first mean matrix, and the number of all elements;

[0120] Performing a mean calculation on the nth group of audio data matrix to obtain a mean of the nth group of audio data matrix, and calculating a standard deviation of the nth group of audio data matrix based on the mean of the nth group of audio data matrix, all elements in the nth group of audio data matrix, and the number of all elements; wherein the number of all elements in the first mean matrix is ​​equal to the number of all elements in the nth group of audio data matrix;

[0121] Substituting the variance of the first mean matrix, the mean of the n-th group of audio data matrix, and the standard deviation of the n-th group of audio data matrix into a preset test formula to obtain a first check value;

[0122] According to the number of all elements in the nth group of audio data matrix and the preset significance level parameter, a second check value is searched in the t threshold value table;

[0123] When the absolute value of the first check value is greater than the second check value, the imaging range value corresponding to the n-th group of audio data is determined to be a preset range value, and the n-th group of audio data is displayed according to the preset range value.

[0124] In some possible embodiments, the second processing module is further configured to:

[0125] After finding the second check value in the t threshold table based on the number of all elements in the nth group of audio data matrix and the preset significance level parameter,

[0126] When the absolute value of the first check value is less than or equal to the second check value, determining two elements with the largest values ​​in the first mean peak value matrix;

[0127] The absolute value of the difference between the two elements with the largest values ​​is used as the imaging range value corresponding to the n-th group of audio data, and the n-th group of audio data is displayed according to the imaging range value corresponding to the n-th group of audio data.

[0128] In some possible embodiments, the device further includes:

[0129] Acquire the n+1th group of audio data, and obtain an audio data matrix corresponding to the n+1th group of audio data based on an acoustic imaging algorithm;

[0130] Performing mean calculation on the n+1 groups of audio data matrices to obtain a second mean matrix, filtering out all elements whose values ​​are greater than a preset first constant in the second mean matrix, and taking a set of all elements and the position information corresponding to each element in the second mean matrix as a third mean peak matrix;

[0131] Filtering all elements whose values ​​are greater than a preset second constant in the n+1th group of audio data matrix, and taking all elements and the set of position information corresponding to each element in the nth group of audio data matrix as a fourth mean peak matrix;

[0132] When the same position information is not found in the third mean peak matrix and the fourth mean peak matrix, the imaging range value corresponding to the n+1th group of audio data is determined to be a preset range value, and the n+1th group of audio data is displayed according to the preset range value.

[0133] In some possible embodiments, the device further includes:

[0134] When it is detected that the number of signal imaging displayed by the nth group of audio data exceeds a preset number threshold, an early warning message corresponding to the preset number threshold is sent.

[0135] Those skilled in the art will clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. "Unit" and "module" in this specification refer to software and / or hardware that can independently perform or cooperate with other components to perform specific functions, where the hardware can be, for example, a field-programmable gate array (FPGA) or an integrated circuit (IC).

[0136] See also Figure 4 , Figure 4 A schematic structural diagram of another device for defining the imaging dynamic range of a sound source signal provided in an embodiment of the present application is shown.

[0137] like Figure 4 As shown, the imaging dynamic range definition device 400 for a sound source signal may include at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 and at least one communication bus 402 .

[0138] The communication bus 402 may be used to implement connection and communication among the above components.

[0139] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0140] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, and the like.

[0141] The processor 401 may include one or more processing cores. The processor 401 utilizes various interfaces and circuits to connect various components within the device 400 for defining the imaging dynamic range of a sound source signal. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 405, and invoking data stored in the memory 405, the processor 401 executes various functions and processes data within the device 400 for defining the imaging dynamic range of a routing sound source signal. Optionally, the processor 401 may be implemented in at least one hardware form: a DSP, an FPGA, or a PLA. The processor 401 may integrate one or a combination of a CPU, a GPU, and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 401 and may be implemented as a separate chip.

[0142] Among them, the memory 405 may include RAM and may also include ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may also be optionally at least one storage device located away from the aforementioned processor 401. As Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an imaging dynamic range definition application for a sound source signal.

[0143] Specifically, the processor 401 may be configured to call an imaging dynamic range definition application for a sound source signal stored in the memory 405 and specifically perform the following operations:

[0144] Obtain n sets of continuous audio data, and obtain an audio data matrix corresponding to each set of audio data based on an acoustic imaging algorithm;

[0145] Performing mean calculation on n groups of audio data matrices to obtain a first mean matrix, screening out all elements whose values ​​are greater than a preset first constant in the first mean matrix, and taking a set of all elements and position information corresponding to each element in the first mean matrix as a first mean peak matrix;

[0146] Filtering all elements whose values ​​are greater than a preset second constant in the n-th group of audio data matrix, and taking all elements and a set of position information corresponding to each element in the n-th group of audio data matrix as a second mean peak matrix;

[0147] When the same position information is not found in the first mean peak matrix and the second mean peak matrix, determining that the imaging range value corresponding to the n-th group of audio data is a preset range value, and displaying the n-th group of audio data according to the preset range value;

[0148] When the same position information is found in the first mean peak matrix and the second mean peak matrix, a mean element consistent with the same position information is determined in the first mean matrix, and an imaging range value corresponding to the nth group of audio data is obtained based on the mean element.

[0149] In some possible embodiments, obtaining the imaging range value corresponding to the nth group of audio data according to the mean element includes:

[0150] Calculate the variance of the first mean matrix based on the mean element, all elements in the first mean matrix, and the number of all elements;

[0151] Performing a mean calculation on the nth group of audio data matrix to obtain a mean of the nth group of audio data matrix, and calculating a standard deviation of the nth group of audio data matrix based on the mean of the nth group of audio data matrix, all elements in the nth group of audio data matrix, and the number of all elements; wherein the number of all elements in the first mean matrix is ​​equal to the number of all elements in the nth group of audio data matrix;

[0152] Substituting the variance of the first mean matrix, the mean of the n-th group of audio data matrix, and the standard deviation of the n-th group of audio data matrix into a preset test formula to obtain a first check value;

[0153] According to the number of all elements in the nth group of audio data matrix and the preset significance level parameter, a second check value is searched in the t threshold value table;

[0154] When the absolute value of the first check value is greater than the second check value, the imaging range value corresponding to the n-th group of audio data is determined to be a preset range value, and the n-th group of audio data is displayed according to the preset range value.

[0155] In some possible embodiments, after searching the t threshold table for the second check value based on the number of all elements in the nth group of audio data matrix and a preset significance level parameter, the method further includes:

[0156] When the absolute value of the first check value is less than or equal to the second check value, determining two elements with the largest values ​​in the first mean peak value matrix;

[0157] The absolute value of the difference between the two elements with the largest values ​​is used as the imaging range value corresponding to the n-th group of audio data, and the n-th group of audio data is displayed according to the imaging range value corresponding to the n-th group of audio data.

[0158] In some possible embodiments, the following further comprises:

[0159] Acquire the n+1th group of audio data, and obtain an audio data matrix corresponding to the n+1th group of audio data based on an acoustic imaging algorithm;

[0160] Performing mean calculation on the n+1 groups of audio data matrices to obtain a second mean matrix, filtering out all elements whose values ​​are greater than a preset first constant in the second mean matrix, and taking a set of all elements and the position information corresponding to each element in the second mean matrix as a third mean peak matrix;

[0161] Filtering all elements whose values ​​are greater than a preset second constant in the n+1th group of audio data matrix, and taking all elements and the set of position information corresponding to each element in the nth group of audio data matrix as a fourth mean peak matrix;

[0162] When the same position information is not found in the third mean peak matrix and the fourth mean peak matrix, the imaging range value corresponding to the n+1th group of audio data is determined to be a preset range value, and the n+1th group of audio data is displayed according to the preset range value.

[0163] In some possible embodiments, the following further comprises:

[0164] When it is detected that the number of signal imaging displayed by the nth group of audio data exceeds a preset number threshold, an early warning message corresponding to the preset number threshold is sent.

[0165] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above method. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a microdrive, a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0166] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0167] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0168] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interface, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0169] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0170] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0171] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, etc., various media that can store program code.

[0172] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program. The program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0173] The above are merely exemplary embodiments of the present disclosure and are not intended to limit the scope of the present disclosure. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure herein, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for defining the imaging dynamic range of a sound source signal, characterized in that: include: Acquire n sets of continuous audio data, and obtain an audio data matrix corresponding to each set of the audio data based on an acoustic imaging algorithm; Performing mean calculation on the n groups of audio data matrices to obtain a first mean matrix, screening out all elements whose values ​​are greater than a preset first constant in the first mean matrix, and taking a set of all the elements and the position information corresponding to each element in the first mean matrix as a first mean peak matrix; Screening out all elements whose values ​​are greater than a preset second constant in the nth group of audio data matrix, and taking all of the elements and a set of position information corresponding to each element in the nth group of audio data matrix as a second mean peak matrix; When the same position information is not found in the first mean peak matrix and the second mean peak matrix, determining that the imaging range value corresponding to the n-th group of audio data is a preset range value, and displaying the n-th group of audio data according to the preset range value; When the same position information is found in the first mean peak matrix and the second mean peak matrix, a mean element consistent with the same position information is determined in the first mean matrix, and the imaging range value corresponding to the nth group of audio data is obtained based on the mean element.

2. The method according to claim 1, characterized in that Obtaining the imaging range value corresponding to the nth group of audio data according to the mean value element includes: Calculating the variance of the first mean matrix based on the mean element, all elements in the first mean matrix, and the number of all elements; performing a mean calculation on the nth group of audio data matrices to obtain a mean of the nth group of audio data matrices, and calculating a standard deviation of the nth group of audio data matrices based on the mean of the nth group of audio data matrices, all elements in the nth group of audio data matrices, and the number of all elements; wherein the number of all elements in the first mean matrix is ​​equal to the number of all elements in the nth group of audio data matrices; Substituting the variance of the first mean matrix, the mean of the n-th group of audio data matrix, and the standard deviation of the n-th group of audio data matrix into a preset verification formula to obtain a first check value; According to the number of all elements in the audio data matrix of the nth group and the preset significance level parameter, a second check value is searched in the t threshold value table; When the absolute value of the first check value is greater than the second check value, the imaging range value corresponding to the nth group of audio data is determined to be the preset range value, and the nth group of audio data is displayed according to the preset range value.

3. The method according to claim 2, characterized in that After searching the t threshold table for a second check value based on the number of all elements in the nth group of audio data matrix and a preset significance level parameter, the method further includes: When the absolute value of the first check value is less than or equal to the second check value, determining two elements with the largest values ​​in the first mean peak value matrix; The absolute value of the difference between the two elements with the largest values ​​is used as the imaging range value corresponding to the n-th group of audio data, and the n-th group of audio data is displayed according to the imaging range value corresponding to the n-th group of audio data.

4. The method according to claim 1, wherein The method further comprises: Acquire the n+1th group of audio data, and obtain an audio data matrix corresponding to the n+1th group of audio data based on an acoustic imaging algorithm; Performing mean calculation on the n+1 groups of audio data matrices to obtain a second mean matrix, screening out all elements whose values ​​are greater than the preset first constant in the second mean matrix, and using a set of all the elements and the position information corresponding to each element in the second mean matrix as a third mean peak matrix; Screening out all elements whose values ​​are greater than the preset second constant in the audio data matrix of the n+1th group, and taking all of the elements and a set of position information corresponding to each element in the audio data matrix of the nth group as a fourth mean peak matrix; When the same position information is not found in the third mean peak matrix and the fourth mean peak matrix, the imaging range value corresponding to the n+1th group of audio data is determined to be a preset range value, and the n+1th group of audio data is displayed according to the preset range value.

5. The method according to claim 1, wherein The method further comprises: When it is detected that the number of signal imaging displayed by the nth group of audio data exceeds a preset number threshold, an early warning message corresponding to the preset number threshold is sent.

6. A device for defining the imaging dynamic range of a sound source signal, characterized in that: include: a matrix generation module, configured to obtain n sets of continuous audio data and obtain an audio data matrix corresponding to each set of the audio data based on an acoustic imaging algorithm; a first screening module, configured to perform mean calculation on the n groups of audio data matrices to obtain a first mean matrix, screen out all elements whose values ​​are greater than a preset first constant in the first mean matrix, and use a set of all the elements and the position information corresponding to each element in the first mean matrix as a first mean peak matrix; a second screening module configured to screen out all elements whose values ​​are greater than a preset second constant in the nth group of audio data matrices, and to use all of the elements and a set of position information corresponding to each element in the nth group of audio data matrices as a second mean peak value matrix; a first processing module, configured to, when identical position information is not found in the first mean-peak matrix and the second mean-peak matrix, determine that an imaging range value corresponding to the nth group of audio data is a preset range value, and display the nth group of audio data according to the preset range value; The second processing module is used to determine the mean element consistent with the same position information in the first mean matrix when the same position information is found in the first mean peak matrix and the second mean peak matrix, and obtain the imaging range value corresponding to the nth group of audio data based on the mean element.

7. The device according to claim 6, characterized in that The second processing module is specifically configured to: Calculating the variance of the first mean matrix based on the mean element, all elements in the first mean matrix, and the number of all elements; performing a mean calculation on the nth group of audio data matrices to obtain a mean of the nth group of audio data matrices, and calculating a standard deviation of the nth group of audio data matrices based on the mean of the nth group of audio data matrices, all elements in the nth group of audio data matrices, and the number of all elements; wherein the number of all elements in the first mean matrix is ​​equal to the number of all elements in the nth group of audio data matrices; Substituting the variance of the first mean matrix, the mean of the n-th group of audio data matrix, and the standard deviation of the n-th group of audio data matrix into a preset verification formula to obtain a first check value; According to the number of all elements in the audio data matrix of the nth group and the preset significance level parameter, a second check value is searched in the t threshold value table; When the absolute value of the first check value is greater than the second check value, the imaging range value corresponding to the nth group of audio data is determined to be the preset range value, and the nth group of audio data is displayed according to the preset range value.

8. The device according to claim 7, characterized in that The second processing module is further configured to: After searching the t threshold table for the second check value based on the number of all elements in the nth group of audio data matrix and the preset significance level parameter, When the absolute value of the first check value is less than or equal to the second check value, determining two elements with the largest values ​​in the first mean peak value matrix; The absolute value of the difference between the two elements with the largest values ​​is used as the imaging range value corresponding to the n-th group of audio data, and the n-th group of audio data is displayed according to the imaging range value corresponding to the n-th group of audio data.

9. A device for defining the imaging dynamic range of a sound source signal, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method according to any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Ultrasonic image processing method and ultrasonic instrument

    CN113892967A

  • Method and circuit arrangement for adjusting the level or dynamic range of an audio signal

    US5907823A