Audio content positioning method and device based on emergency broadcast and electronic equipment
By dividing the emergency broadcast audio into frames and extracting features, generating audio feature sequences, automatically comparing and locating the broadcast period, the problem of heavy manual monitoring workload and low accuracy is solved, and efficient and robust audio monitoring is achieved.
Patent Information
- Application Number
- CN202410769802.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-11
AI Technical Summary
During the monitoring process of emergency broadcasts, manual monitoring workload is heavy, and due to the influence of environmental noise, the accuracy and efficiency of monitoring results are low.
By dividing the designated broadcast audio and emergency broadcast audio into frames, extract the multi-dimensional feature values and arrangement order of the audio frames, generate an audio feature sequence, and use the pattern binary features and sorting binary features to locate the broadcast in the emergency broadcast audio. time period to achieve automatic comparison and monitoring.
It reduces the workload of manual monitoring, improves the accuracy and efficiency of monitoring results, enhances the robustness of the monitoring process, and can effectively identify audio content in noisy environments.
Smart Images

Figure CN118764121A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio processing, and in particular to an audio content positioning method, device and electronic equipment based on emergency broadcasting. Background Art
[0002] Emergency broadcasting includes government announcements, rescue information, listener hotlines, expert interviews, journalist connections, disaster mutual aid hotlines, etc., providing customized, point-to-point, and all-round practical information audio broadcasting for people in disaster areas, rescue workers and other groups. For example, when major natural disasters, emergencies, public health and social security emergencies occur, emergency broadcasting can provide a fast and convenient information transmission channel to deliver disaster news or possible hazards to the public at the first time; emergency broadcasting can also publicize new theoretical policies, speech documents, etc., to play a role in public opinion propaganda. In the process of building an emergency broadcasting system, it is necessary to consider monitoring the broadcast content and broadcasting effects to prevent the broadcasting system from broadcasting inflammatory and other disharmonious content due to attacks or other reasons, and ensure that the content listened to by the public meets the broadcasting requirements.
[0003] At present, each broadcasting site broadcasts audio content according to the broadcast plan specified by the emergency broadcast command center, and the emergency broadcast command center monitors the broadcast audio content. The monitoring method is to deploy collection equipment around the terminal equipment that broadcasts audio, collect the broadcast audio and encrypt it and send it back to the emergency broadcast command center. The emergency broadcast command center decrypts the returned data and then manually monitors whether the broadcast content of each terminal meets the broadcast requirements.
[0004] In actual situations, since the terminal devices for broadcasting audio are usually set up in communities, towns, villages and other first-level administrative units, and there are many of them, the workload of monitoring the returned data by manual monitoring is relatively large; at the same time, since the terminal devices for emergency broadcasting are usually set up in relatively open outdoor squares and other places, the audio quality collected by the acquisition equipment will be affected by the distance between the acquisition equipment and the terminal equipment, as well as the surrounding environmental noise (such as wind, human voice, vehicle noise, etc.). The audio quality collected by the program has more noise, which not only brings great difficulties to the process of manual monitoring, but also seriously affects the quality and speed of monitoring, resulting in low accuracy of the monitoring results and low monitoring efficiency. Summary of the invention
[0005] The present invention provides an audio content positioning method, device and electronic device based on emergency broadcasting, which are used to solve the defects of large workload of manual monitoring in the monitoring process of emergency broadcasting in the prior art, and low accuracy of monitoring results and monitoring efficiency, so as to achieve the purpose of reducing the workload of manual monitoring in the monitoring process, improving the accuracy of monitoring results and monitoring efficiency, and having high robustness.
[0006] The present invention provides an audio content positioning method based on emergency broadcasting, comprising: dividing a first audio content to be broadcasted and a second audio content to be broadcasted into frames to obtain a first audio frame sequence of the first audio content and a second audio frame sequence of the second audio content; obtaining feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to the feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; and locating the broadcast time period of the first audio content in the second audio content according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
[0007] According to an audio content positioning method based on emergency broadcasting provided by the present invention, the audio feature sequence includes: an audio mode binary feature sequence; according to the feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions, the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence are obtained, including: according to the arrangement order of the multiple dimensions, the feature values of two adjacent dimensions are compared; when the first feature value of the current dimension is greater than the second feature value of the next dimension of the current dimension, the binary position corresponding to the current dimension is set to 1, otherwise the binary position corresponding to the current dimension is set to 0, to obtain the audio mode binary feature sequence of each audio frame in the first audio frame sequence and the audio mode binary feature sequence of each audio frame in the second audio frame sequence; according to the audio mode binary feature sequence of each audio frame in the first audio frame sequence, the audio mode binary feature sequence of the first audio frame sequence is obtained; and according to the audio mode binary feature sequence of each audio frame in the second audio frame sequence, the audio mode binary feature sequence of the second audio frame sequence is obtained.
[0008] According to an audio content positioning method based on emergency broadcasting provided by the present invention, the audio feature sequence includes: an audio sorting binary feature sequence; according to the feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions, the audio feature sequence of the first audio frame sequence and the audio feature sequence of each audio frame in the second audio frame sequence are obtained, including: obtaining the ranking order of the target dimension as the original subscript of the target dimension; wherein the target dimension is any one of the multiple dimensions; sorting the feature values of the multiple dimensions of the audio features, and determining n extraction dimensions according to the sorting results; wherein the feature value of the extraction dimension is less than the feature values of other dimensions in the multiple dimensions except the n extraction dimensions, and n is a positive integer; according to the sorting results of the n extraction dimensions, the original subscript of each extraction dimension is saved to obtain the audio sorting binary feature sequence of the first audio frame sequence and the audio sorting binary feature sequence of the second audio frame sequence.
[0009] According to an audio content positioning method based on emergency broadcasting provided by the present invention, the audio feature sequence includes: an audio mode binary feature sequence and an audio sorting binary feature sequence; according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence, the broadcast time period of the first audio is positioned in the second audio, including: according to the audio mode binary feature sequence of the first audio frame sequence and the audio mode binary feature sequence of the second audio frame sequence, at least one candidate time period is positioned in the second audio; according to the audio sorting binary feature sequence of the first audio frame sequence and the audio sorting binary feature sequence of the second audio frame sequence, at least one target time period is determined in at least one candidate time period; and each target time period in the at least one target time period is output as a broadcast time period.
[0010] According to an audio content positioning method based on emergency broadcasting provided by the present invention, at least one candidate time period is positioned in the second audio according to an audio mode binary feature sequence of a first audio frame sequence and an audio mode binary feature sequence of a second audio frame sequence, comprising: obtaining a first audio binary histogram feature of the first audio frame sequence according to the audio mode binary feature sequence of the first audio frame sequence; obtaining a second audio binary histogram feature of the second audio frame sequence according to the audio mode binary feature sequence of the second audio frame sequence; using the length of the first audio mode binary feature sequence as the window width, sliding in the second audio binary histogram feature in the form of a sliding window, calculating the similarity between the first audio binary histogram feature and the segment to be compared within the sliding window; and determining the time period corresponding to the segment to be compared whose similarity is greater than a set threshold as a candidate time period.
[0011] According to an audio content positioning method based on emergency broadcasting provided by the present invention, at least one target time period is determined in at least one candidate time period according to an audio sorting binary feature sequence of a first audio frame sequence and an audio sorting binary feature sequence of a second audio frame sequence, including: calculating the distance between the audio sorting binary feature sequence of the first audio frame sequence and the audio sorting binary feature sequence of each candidate time period in at least one candidate time period, and obtaining at least one distance corresponding to at least one candidate time period; obtaining the candidate time period corresponding to the first distance as the target candidate time period; wherein the first distance is greater than other distances in at least one distance; obtaining the product of the second distance corresponding to the target candidate time period and a preset adaptive threshold coefficient; and determining the candidate time period corresponding to the third distance in at least one distance that is greater than the product as the target time period.
[0012] The present invention also provides an audio content positioning device based on emergency broadcasting, comprising: a framing module, an acquisition module, a processing module and a positioning module.
[0013] The framing module is used to frame the first audio to be broadcasted and the second audio to be broadcasted in an emergency, so as to obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio.
[0014] The acquisition module is used to acquire feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions.
[0015] The processing module is used to obtain the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence according to the feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions.
[0016] The positioning module is used to locate the broadcasting time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
[0017] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, any of the above-mentioned audio content positioning methods based on emergency broadcasting is implemented.
[0018] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program implements any of the above-mentioned audio content positioning methods based on emergency broadcasting.
[0019] The present invention also provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements any of the above-mentioned audio content positioning methods based on emergency broadcasting.
[0020] The present invention provides an audio content positioning method, device and electronic device based on emergency broadcasting. The method comprises the following steps: obtaining a first audio frame sequence of the first audio and a second audio frame sequence of the second audio by dividing the first audio of the designated broadcast and the second audio of the emergency broadcast into frames; obtaining feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions; obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to the feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions; and locating the broadcast time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence. It can be seen that the present invention can compare the first audio of the designated broadcast and the second audio of the emergency broadcast by collecting audio features, and quickly locate the broadcast position of the first audio in the second audio according to the comparison result, so as to achieve the purpose of monitoring the first audio content broadcast in the second audio, so as to effectively make up for the defect of low recognition of audio content in the manual monitoring process due to excessive environmental noise in the audio content, reduce the workload of manual monitoring in the monitoring process, improve the accuracy of monitoring results and monitoring efficiency, and have high robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are 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.
[0022] Figure 1 This is one of the flow charts of an audio content positioning method based on emergency broadcasting provided by the present invention.
[0023] Figure 2 This is the second flow chart of an audio content positioning method based on emergency broadcasting provided by the present invention.
[0024] Figure 3 This is one of the examples of obtaining the binary feature sequence of the first audio mode in the audio content positioning method based on emergency broadcasting provided by the present invention.
[0025] Figure 4 This is the third flow chart of an audio content positioning method based on emergency broadcasting provided by the present invention.
[0026] Figure 5 This is the fourth flow chart of the audio content positioning method based on emergency broadcasting provided by the present invention.
[0027] Figure 6 This is the fifth flow chart of the audio content positioning method based on emergency broadcasting provided by the present invention.
[0028] Figure 7 This is the sixth flow chart of an audio content positioning method based on emergency broadcasting provided by the present invention.
[0029] Figure 8 A waveform diagram of the library audio of library file No. 4 in Table 1 in an audio content positioning method based on emergency broadcasting provided by the present invention.
[0030] Fig. 9 The corresponding Figure 8 Waveform of the broadcast audio of the library audio.
[0031] Fig.10 for Figure 8 The waveform shown corresponds to the spectrogram of the audio.
[0032] Fig.11 for Fig. 9 The waveform shown corresponds to the spectrogram of the audio.
[0033] Fig.12 It is a structural schematic diagram of an audio content positioning device based on emergency broadcasting provided by the present invention.
[0034] Fig.13 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] Combine the following Figure 1-Figure 11 The present invention describes an audio content positioning method based on emergency broadcasting.
[0037] Figure 1 FIG. 1 is one of the flow charts of the method for locating audio content based on emergency broadcasting provided by the present invention. Figure 1 As shown, the method includes the following S110 to S140.
[0038] S110: Divide the first audio for designated broadcast and the second audio for emergency broadcast into frames to obtain a first audio frame sequence for the first audio and a second audio frame sequence for the second audio.
[0039] The first audio may be sampled in a frame-by-frame windowing manner to obtain a first audio frame sequence corresponding to the first audio. Similarly, the second audio may be sampled in a frame-by-frame windowing manner to obtain a second audio frame sequence corresponding to the second audio.
[0040] For example, the first audio and the second audio are pulse code modulation (PCM) audio with a sampling rate of 8000 Hz after uniform transcoding. When setting the sampling points, the frame width can be set to 2048 sampling points and the frame shift can be set to 128 sampling points to sample the first audio and the second audio to enhance the robustness of the audio features extracted from the audio frame in the subsequent step (corresponding to S120).
[0041] S120: Acquire feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions.
[0042] In some embodiments, a method of extracting filter banks (FBank) features is adopted to extract FBank features of each audio frame as audio features, and characteristic values of m dimensions of the FBank features are obtained; wherein m is a positive integer.
[0043] In some embodiments, a Mel Frequency Cepstral Coefficents (MFCC) feature is extracted to extract the MFCC feature of each audio frame as the audio feature, and the feature values of m dimensions of the MFCC feature are obtained.
[0044] In some embodiments, the value of m is 12 to enhance the robustness of the extracted audio features.
[0045] Of course, it is understandable that the value of m may include but is not limited to 12, for example, it may also be 29, 40, etc.
[0046] The arrangement order of the multiple dimensions can be determined based on information that can indicate the arrangement order of the multiple dimensions, such as the arrangement sequence numbers of the multiple dimensions.
[0047] S130: Obtain an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to feature values of multiple dimensions of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions.
[0048] In some embodiments, the above-mentioned audio frame sequence includes: an audio pattern binary feature sequence.
[0049] Obtaining the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence specifically includes: obtaining an audio mode binary feature sequence of the first audio frame sequence and an audio mode binary feature sequence of the second audio frame sequence.
[0050] like Figure 2 As shown, obtaining the audio mode binary feature sequence of the first audio frame sequence and the audio mode binary feature sequence of the second audio frame sequence may be achieved by executing S210 to S230.
[0051] S210: Compare the feature values of two adjacent dimensions according to the arrangement order of the multiple dimensions.
[0052] The current dimension is any dimension of the multiple dimensions. According to the arrangement order of the multiple dimensions, the feature value of the current dimension is compared with the feature value of the next dimension after the current dimension.
[0053] S220: When the first eigenvalue of the current dimension is greater than the second eigenvalue of the dimension after the current dimension, set the binary position corresponding to the current dimension to 1; otherwise, set the binary position corresponding to the current dimension to 0, and obtain the audio mode binary feature sequence of each audio frame in the first audio frame sequence and the audio mode binary feature sequence of each audio frame in the second audio frame sequence.
[0054] The above-mentioned otherwise situations include: the first eigenvalue of the current dimension is less than or equal to the second eigenvalue of the next dimension, or there is no next dimension after the current dimension.
[0055] S230: Obtain an audio pattern binary feature sequence of the first audio frame sequence according to the audio pattern binary feature sequence of each audio frame in the first audio frame sequence; and obtain an audio pattern binary feature sequence of the second audio frame sequence according to the audio pattern binary feature sequence of each audio frame in the second audio frame sequence.
[0056] According to the arrangement order of multiple audio frames in the first audio frame sequence, multiple audio mode binary feature sequences corresponding to the multiple audio frames are sorted to obtain a first sorting result of the multiple audio mode binary feature sequences. The arrangement order of the first target audio frame (the first target audio frame is any audio frame in the multiple audio frames of the first audio frame sequence) in the multiple audio frames is used as the arrangement order of the audio mode binary feature sequence of the first target audio frame in the multiple audio mode binary feature sequences, thereby obtaining the above-mentioned first sorting result, and the first sorting result is used as the audio mode binary feature sequence of the first audio frame sequence.
[0057] Similarly, according to the arrangement order of multiple audio frames in the second audio frame sequence, multiple audio mode binary feature sequences corresponding to the multiple audio frames are sorted to obtain a second sorting result of the multiple audio mode binary feature sequences. The arrangement order of the second target audio frame (the second target audio frame is any audio frame in the multiple audio frames of the second audio frame sequence) in the multiple audio frames is used as the arrangement order of the audio mode binary feature sequence of the second target audio frame in the multiple audio mode binary feature sequences, thereby obtaining the above-mentioned second sorting result, and the second sorting result is used as the audio mode binary feature sequence of the second audio frame sequence.
[0058] For ease of understanding, the process of obtaining the audio mode binary feature sequence of one of the audio frames in the first audio frame sequence is described below by way of example.
[0059] like Figure 3 As shown, in an audio frame in the first audio frame sequence, the feature values of multiple dimensions of the audio feature include feature values of 12 dimensions, and the comparison results of the feature values of two adjacent dimensions include: the feature value of the first dimension (corresponding to Figure 3 The eigenvalue 1 in the middle dimension is greater than the eigenvalue of the second dimension (corresponding to Figure 3 The eigenvalue of the second dimension is greater than the eigenvalue of the third dimension (corresponding to Figure 3 The eigenvalue of the third dimension is smaller than the eigenvalue of the fourth dimension (corresponding to Figure 3 The eigenvalue of the fourth dimension is greater than the eigenvalue of the fifth dimension (corresponding to Figure 3 The eigenvalue of the fifth dimension is smaller than the eigenvalue of the sixth dimension (corresponding to Figure 3 The eigenvalue of the sixth dimension is smaller than the eigenvalue of the seventh dimension (corresponding to Figure 3 The eigenvalue of the 7th dimension is greater than the eigenvalue of the 8th dimension (corresponding to Figure 3 The eigenvalue of the 8th dimension is greater than the eigenvalue of the 9th dimension (corresponding to Figure 3 The eigenvalue of the 9th dimension is greater than the eigenvalue of the 10th dimension (corresponding to Figure 3 The eigenvalue of the 10th dimension is smaller than the eigenvalue of the 11th dimension (corresponding to Figure 3 The eigenvalue of the 11th dimension is greater than the eigenvalue of the 12th dimension (corresponding to Figure 3 The characteristic value is 12), from which we can get the audio mode binary feature sequence of the audio frame: 110100111010.
[0060] In some embodiments, the audio feature sequence includes: an audio sorting binary feature sequence. Obtaining the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence includes: obtaining the audio sorting binary feature sequence of the first audio frame sequence and the audio sorting binary feature sequence of the second audio frame sequence.
[0061] like Figure 4 As shown, obtaining the audio ordering binary feature sequence of the first audio frame sequence and the audio ordering binary feature sequence of the second audio frame sequence may be achieved by executing S410 to S440.
[0062] S410: Obtain the ranking order of the target dimension as the original subscript of the target dimension; wherein the target dimension is any one of the multiple dimensions.
[0063] S420: sorting the feature values of multiple dimensions of the audio features, and determining n extraction dimensions according to the sorting results; wherein the feature value of the extraction dimension is smaller than the feature value of other dimensions among the multiple dimensions except the n extraction dimensions, and n is a positive integer.
[0064] For example, the feature values of multiple dimensions may be sorted in order from small to large, and the first n dimensions in the sorting result are obtained as the n extraction dimensions. The feature values of multiple dimensions may also be sorted in order from large to small, and the last n dimensions in the sorting result are obtained as the n extraction dimensions.
[0065] When the number of dimensions is 12, the value of n may be 4.
[0066] Of course, it can be understood that the values of n listed above are merely exemplary, and the values of n include but are not limited to 4, for example, it can also be 6, etc.
[0067] S430: According to the sorting results of the n extraction dimensions, the original subscript of each extraction dimension is saved to obtain the audio sorting binary feature sequence of each audio frame in the first audio frame sequence and the audio sorting binary feature sequence of each audio frame in the second audio frame sequence.
[0068] For any audio frame in the first audio frame sequence, according to the third sorting result of the n extraction dimensions, the arrangement order of the first target extraction dimension (the first target extraction dimension is any dimension among the n extraction dimensions) among the n extraction dimensions is used as the arrangement order of the original subscript of the first target extraction dimension among the original subscripts of the n extraction dimensions, so as to obtain the audio sorting binary feature sequence of the audio frame.
[0069] Similarly, for any audio frame in the second audio frame sequence, according to the fourth sorting result of the n extraction dimensions, the arrangement order of the second target extraction dimension (the second target extraction dimension is any dimension among the n extraction dimensions) among the n extraction dimensions is used as the arrangement order of the original subscript of the second target extraction dimension among the original subscripts of the n extraction dimensions to obtain the audio sorting binary feature sequence of the audio frame.
[0070] S440: Obtain an audio ordering binary feature sequence of the first audio frame sequence according to the audio ordering binary feature sequence of each audio frame in the first audio frame sequence; and obtain an audio ordering binary feature sequence of the second audio frame sequence according to the audio ordering binary feature sequence of each audio frame in the second audio frame sequence.
[0071] According to the arrangement order of multiple audio frames in the first audio frame sequence, multiple audio sorting binary feature sequences corresponding to the multiple audio frames are sorted to obtain a fifth sorting result of the multiple audio sorting binary feature sequences. The arrangement order of the first target audio frame (the first target audio frame is any audio frame in the multiple audio frames of the first audio frame sequence) in the multiple audio frames is used as the arrangement order of the audio sorting binary feature sequence of the first target audio frame in the multiple audio sorting binary feature sequences, and then the above-mentioned fifth sorting result is obtained, and the fifth sorting result is used as the audio sorting binary feature sequence of the first audio frame sequence.
[0072] Similarly, according to the arrangement order of the multiple audio frames in the second audio frame sequence, the multiple audio sorting binary feature sequences corresponding to the multiple audio frames are sorted to obtain the sixth sorting result of the multiple audio mode binary feature sequences. The arrangement order of the second target audio frame (the second target audio frame is any audio frame in the multiple audio frames of the second audio frame sequence) in the multiple audio frames is used as the arrangement order of the audio sorting binary feature sequence of the second target audio frame in the multiple audio mode binary feature sequences, thereby obtaining the above-mentioned sixth sorting result, and the sixth sorting result is used as the audio mode binary feature sequence of the second audio frame sequence.
[0073] S140: Locate a broadcasting time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
[0074] In some embodiments, the audio feature sequence includes an audio mode binary feature sequence and an audio order binary feature sequence. In this case, Figure 5 As shown, the execution process of S140 may include S510 to S530.
[0075] S510: Locate at least one candidate time period in the second audio according to the audio pattern binary feature sequence of the first audio frame sequence and the audio pattern binary feature sequence of the second audio frame sequence.
[0076] In some embodiments, Figure 6 As shown, the execution process of S510 may include S610 to S640.
[0077] S610: Obtain a first audio binary histogram feature of the first audio frame sequence according to the audio pattern binary feature sequence of the first audio frame sequence.
[0078] S620: Obtain a second audio binary histogram feature of the second audio frame sequence according to the audio pattern binary feature sequence of the second audio frame sequence.
[0079] S630: Using the length of the first audio pattern binary feature sequence as the window width, sliding in the second audio binary histogram feature in the form of a sliding window, and calculating the similarity between the first audio binary histogram feature and the audio binary histogram feature of the segment to be compared in the sliding window.
[0080] The calculation method of the similarity can be set by those skilled in the art according to actual conditions, and the present invention is not limited to this.
[0081] S640: Determine the time periods corresponding to the to-be-compared segments whose similarity is greater than a set threshold as candidate time periods.
[0082] The threshold value may be set by those skilled in the art according to actual conditions, and the present invention is not limited thereto.
[0083] It should be noted that, due to the continuity of the sliding window, when calculating the audio binary histogram features (including the first audio binary histogram features and the second audio binary histogram features in the sliding window), except for the histogram features in the first sliding window in time sequence, which need to be recalculated, the histogram features in subsequent sliding windows can be quickly completed using an incremental calculation method, thereby ensuring high processing efficiency.
[0084] In addition, due to the continuity of the sliding window, if the similarity between the audio binary histogram features of the to-be-compared segment in the continuous window and the first audio binary histogram features is less than a set threshold, only the time period corresponding to the to-be-compared segment in the window with the largest similarity among the to-be-compared segments in the continuous window is output to reduce redundancy and reduce subsequent calculations.
[0085] Since the threshold value is a hyperparameter, it lacks the ability to adapt to the degree of difference between the first audio and the second audio, which may lead to poor cropping and filtering effects. In order to solve this problem, in some embodiments, after outputting multiple similarities corresponding to multiple consecutive windows of the sliding window, the maximum and minimum values of the multiple similarities can be obtained. When the gap between the maximum and minimum values is greater than the preset gap (set by those skilled in the art according to actual conditions), the average value of the maximum and minimum values can be taken, and the average value is used as the above-mentioned threshold value, and S620 is re-executed.
[0086] S520: Determine at least one target time period in at least one candidate time period according to the audio ordering binary feature sequence of the first audio frame sequence and the audio ordering binary feature sequence of the second audio frame sequence.
[0087] In some embodiments, Figure 7 As shown, the execution process of S520 may include S710 to S740.
[0088] S710: Calculate the distance between the audio ordering binary feature sequence of the first audio frame sequence and the audio ordering binary feature sequence of each candidate time period in at least one candidate time period to obtain at least one distance in one-to-one correspondence with at least one candidate time period.
[0089] For each candidate time period in the at least one candidate time period obtained above, the distance between the audio sorting binary feature sequence of the first audio frame sequence and the audio sorting binary feature sequence of each candidate time period may be calculated by the following formula.
[0090]
[0091] Among them, u is the length of the audio sorting binary feature sequence of the first audio, Q[0, u-1] is the audio sorting binary feature sequence of the second audio, C[0, u-1] is the audio sorting binary feature sequence of a candidate time period in the audio sorting binary feature sequence of the second audio, and d[Q[i], C[i]] is the similarity between the two audio sorting binary feature sequences.
[0092] S720: Acquire a candidate time period corresponding to a first distance as a target candidate time period; wherein the first distance is greater than other distances in the at least one distance.
[0093] S730: Obtain the product of the second distance corresponding to the target candidate time period and the preset adaptive threshold coefficient.
[0094] The adaptive threshold coefficient is less than 1, and the adaptive threshold coefficient can be set by those skilled in the art according to actual conditions.
[0095] In some embodiments, the adaptive threshold coefficient may be 0.9. For example, when the second distance is Dmax, the product of the second distance and the preset adaptive threshold coefficient=0.9×Dmax is obtained.
[0096] S740: Determine the candidate time period corresponding to the third distance in the at least one distance that is greater than the product as the target time period.
[0097] According to the product in S730, in at least one distance, there may be one or more distances greater than the product, and the one or more distances are all determined as third distances to obtain at least one third distance, thereby obtaining at least one target time period corresponding to at least one third distance.
[0098] S530: Output each target time period in at least one target time period as a broadcast time period.
[0099] Each target time period in at least one target time period is output as a broadcast time period, thereby achieving the purpose of locating the broadcast time period of the first audio in the second audio.
[0100] It can be understood that, in some embodiments, the audio feature sequence may only include an audio pattern binary feature sequence, or may only include an audio ordering binary feature sequence.
[0101] For example, if the audio feature sequence only includes the audio mode binary feature sequence, refer to S610 to S630, and the candidate time period obtained in S630 is directly used as the broadcast time period. If the audio feature sequence only includes the audio sorting binary feature sequence, refer to S710 to S740, except that at least one candidate time period in S710 may be replaced by the time period of the entire second audio, or other methods other than S610 to S630 are used to obtain the above at least one candidate time period, etc., which can also achieve the purpose of locating the broadcast time period of the first audio in the second audio.
[0102] In order to evaluate the effect of the present invention, 5 audio files of the film library (i.e., the first audio) and 1-hour audio files (i.e., the second audio) collected by 10 emergency broadcast terminal collection points were selected for verification. The basic situation of the 5 audio files of the film library is shown in Table 1. The broadcasting of the above 5 audio files of the film library in the emergency broadcast was manually marked. The No. 1 film library file was broadcast 40 times in 10 collected audios, the No. 2 file was broadcast 40 times, the No. 3 file was broadcast 18 times, the No. 4 file was broadcast 26 times, the No. 5 file was broadcast 20 times, and the 5 film library files were broadcast 144 times in total.
[0103] Table 1 serial number name Duration (seconds) 1 No. 1 film library file 57 2 No. 2 film library file 89 3 No. 3 film library file 182 4 No. 4 film library file 224 5 No. 5 film library file 105 The performance test results of the method of the present invention on the above verification data are shown in Table 2 below.
[0104] Table 2 It can be seen from Table 2 that the overall accuracy is P = number of correct comparisons / number of comparison return results = 141 / 141 = 1.000, and the overall recall is R = number of correct comparisons / number of comparison annotation results = 141 / 144 = 0.979.
[0105] It can be seen that the method of this aspect has good robustness and adaptability for the comparison between the audio of the film library and the audio collected by the emergency broadcast.
[0106] In order to intuitively demonstrate the challenge of the emergency broadcast audio comparison task, the waveform of the library audio of the No. 4 library file and the collected audio of the corresponding period is shown in Figure 1. Figure 8 and Fig. 9 ), spectrogram (such as Fig.10 and Fig.11 ) as an example, where Figure 8 This is the waveform of the audio file of file No. 4. Fig. 9 The corresponding Figure 8 Waveform diagram of the broadcast audio of the library audio, Fig.10 for Figure 8 The waveform shown corresponds to the spectrogram of the audio. Fig.11 for Fig. 9 The waveform shown in the figure corresponds to the audio spectrogram. Figure 8 to Figure 11 It can be seen that the differences in both the waveform and the spectrogram are very obvious, and conventional comparison technology is difficult to cope with.
[0107] The time-consuming test results of the present invention on the above verification data are shown in Table 3.
[0108] Table 3 serial number Time consumed (seconds) 1 20.351 2 21.782 3 22.892 4 24.124 5 22.041 total 111.190 Referring to Table 3, it takes a total of 111.190 seconds to compare the five library files in a total of 10 hours of collected audio. In addition, the comparison time of a single file is basically the same, indicating that the time consumption of the present invention is not completely linearly related to the length of the library file. Therefore, the method of the present invention can quickly and efficiently complete the comparison task of emergency broadcasts, and achieve the purpose of quickly locating the broadcast time period of the audio to be monitored in the collected emergency broadcast audio, and is suitable for large-scale application scenarios.
[0109] In addition to the above basic experimental verification, the present invention verifies the effectiveness of the robustness and adaptability methods of the present invention through a series of ablation experiments.
[0110] Referring to Table 4, method A1 indicates that other steps of the present invention remain unchanged, and only the commonly used windowed framing method with a frame width of 25 milliseconds and a frame shift of 10 milliseconds is adopted in S110; method A2 indicates that other steps of the present invention remain unchanged, and only the commonly used 29-dimensional FBank feature is adopted in S120; method A3 indicates that other steps of the present invention remain unchanged, and only the process of adaptively setting the threshold (i.e., re-determining the threshold according to the maximum and minimum values of multiple similarities) is removed in S630; method A4 indicates that other steps of the present invention remain unchanged, and only in S740, the adaptation (the second distance and the adaptive threshold coefficient filter out at least one third distance from at least one distance) is replaced by filtering using a fixed threshold (i.e., the product of the second distance and the preset adaptive threshold coefficient is replaced by a fixed value), and the fixed threshold is set to an empirical value of 0.15 in the experiment; method A5 indicates that all steps adopt the optimal method in the present invention (S140 is implemented by S510~S530, S610~S630 and S710~S740), and the verification results are shown in Table 4. It can be seen from the results in Table 4 that the return results of both A1 and A2 experiments are 0, indicating that the commonly used frame windowing and feature dimension processing methods are not robust enough for feature description in the emergency broadcast comparison task; the results of A3 show that the adaptive method can effectively improve the processing speed of the comparison method; the results of A4 show that adaptive threshold filtering is crucial to ensure the stability of the comparison results, and the fixed threshold cannot cope with the huge changes in the degree of difference between different acquisition points and film library files, resulting in a lot of false alarms and a significant drop in accuracy.
[0111] Table 4 The present invention provides an audio content positioning method based on emergency broadcasting. The method comprises the following steps: dividing a designated first audio for broadcast and a second audio for emergency broadcasting into frames to obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio; obtaining feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence based on the feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; and locating the broadcast time period of the first audio in the second audio based on the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence. It can be seen that the present invention can compare the first audio of the designated broadcast and the second audio of the emergency broadcast by collecting audio features, and quickly locate the broadcast position of the first audio in the second audio according to the comparison result, so as to achieve the purpose of monitoring the first audio content broadcast in the second audio, so as to effectively make up for the defect of low recognition of audio content in the manual monitoring process due to excessive environmental noise in the audio content, reduce the workload of manual monitoring in the monitoring process, improve the accuracy of monitoring results and monitoring efficiency, and have high robustness.
[0112] An audio content positioning device based on emergency broadcasting provided by the present invention is described below. The audio content positioning device based on emergency broadcasting described below and the audio content positioning method based on emergency broadcasting described above can correspond to each other.
[0113] Fig.12 FIG. 1 is a schematic diagram of the structure of an audio content positioning device based on emergency broadcasting provided by the present invention. Fig.12 As shown, the audio content positioning device 1200 based on emergency broadcasting includes: The framing module 1201 is used to frame the first audio to be broadcasted and the second audio to be broadcasted in an emergency, and obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio.
[0114] The acquisition module 1202 is used to acquire feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions.
[0115] The processing module 1203 is used to obtain the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence according to the feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions.
[0116] The positioning module 1204 is used to locate the broadcasting time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
[0117] The present invention provides an audio content positioning device based on emergency broadcasting. The device frames a designated first audio for broadcast and a second audio for emergency broadcasting through a framing module to obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio; obtains feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions through an acquisition module; obtains an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to the feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions through a processing module; and locates the broadcast time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence through a positioning module. It can be seen that the present invention can compare the first audio of the designated broadcast and the second audio of the emergency broadcast by collecting audio features, and quickly locate the broadcast position of the first audio in the second audio according to the comparison result, so as to achieve the purpose of monitoring the first audio content broadcast in the second audio, so as to effectively make up for the defect of low recognition of audio content in the manual monitoring process due to excessive environmental noise in the audio content, reduce the workload of manual monitoring in the monitoring process, improve the accuracy of monitoring results and monitoring efficiency, and have high robustness.
[0118] Fig.13 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.13As shown, the electronic device may include: a processor 1310, a communication interface 1320, a memory 1330 and a communication bus 1340, wherein the processor 1310, the communication interface 1320 and the memory 1330 communicate with each other through the communication bus 1340. The processor 1310 may call the logic instructions in the memory 1330 to execute an audio content positioning method based on emergency broadcasting, the method comprising: framing the first audio and the second audio of the emergency broadcasting to obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio; obtaining the characteristic values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions; obtaining the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence according to the characteristic values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions; locating the broadcast time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
[0119] In addition, the logic instructions in the above-mentioned memory 1330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0120] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute an audio content positioning method based on emergency broadcasting provided by the above-mentioned methods, which includes: framing a designated first audio broadcast and a second audio broadcast of the emergency broadcast to obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio; obtaining feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence based on the feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; and locating the broadcast time period of the first audio in the second audio based on the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
[0121] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute an audio content positioning method based on emergency broadcasting provided by the above-mentioned methods, the method comprising: framing a designated first audio broadcast and a second audio broadcast of the emergency broadcast to obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio; obtaining feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence based on the feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; and locating the broadcast time period of the first audio in the second audio based on the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
[0122] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for locating audio content based on emergency broadcasting, characterized in that: include: Divide the first audio for designated broadcast and the second audio for emergency broadcast into frames to obtain a first audio frame sequence for the first audio and a second audio frame sequence for the second audio; Acquire feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; Obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; The broadcasting time period of the first audio is located in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
2. The method for locating audio content based on emergency broadcast according to claim 1, characterized in that: The audio feature sequence includes: an audio mode binary feature sequence; The step of obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions comprises: Comparing the characteristic values of two adjacent dimensions according to the arrangement order of the multiple dimensions; When the first eigenvalue of the current dimension is greater than the second eigenvalue of the next dimension of the current dimension, the binary position corresponding to the current dimension is set to 1; otherwise, the binary position corresponding to the current dimension is set to 0, to obtain the audio mode binary feature sequence of each audio frame in the first audio frame sequence and the audio mode binary feature sequence of each audio frame in the second audio frame sequence; According to the audio mode binary feature sequence of each audio frame in the first audio frame sequence, the audio mode binary feature sequence of the first audio frame sequence is obtained; and according to the audio mode binary feature sequence of each audio frame in the second audio frame sequence, the audio mode binary feature sequence of the second audio frame sequence is obtained.
3. The method for locating audio content based on emergency broadcast according to claim 1 or 2, characterized in that: The audio feature sequence includes: an audio sorting binary feature sequence; The step of obtaining an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and the arrangement order of the multiple dimensions comprises: Acquire the ranking order of the target dimension as the original subscript of the target dimension; wherein the target dimension is any one of the multiple dimensions; Sorting the feature values of multiple dimensions of the audio feature, and determining n extraction dimensions according to the sorting result; wherein the feature value of the extraction dimension is smaller than the feature value of other dimensions among the multiple dimensions except the n extraction dimensions, and n is a positive integer; According to the sorting results of the n extraction dimensions, the original subscript of each extraction dimension is saved to obtain an audio sorting binary feature sequence of each audio frame in the first audio frame sequence and an audio sorting binary feature sequence of each audio frame in the second audio frame sequence; According to the audio sorting binary feature sequence of each audio frame in the first audio frame sequence, the audio sorting binary feature sequence of the first audio frame sequence is obtained; and according to the audio sorting binary feature sequence of each audio frame in the second audio frame sequence, the audio sorting binary feature sequence of the second audio frame sequence is obtained.
4. The method for locating audio content based on emergency broadcast according to claim 3, characterized in that: The audio feature sequence includes: an audio mode binary feature sequence and the audio sorting binary feature sequence; The locating the broadcasting time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence comprises: Locating at least one candidate time period in the second audio according to the audio mode binary feature sequence of the first audio frame sequence and the audio mode binary feature sequence of the second audio frame sequence; Determine at least one target time period in the at least one candidate time period according to the audio sorting binary feature sequence of the first audio frame sequence and the audio sorting binary feature sequence of the second audio frame sequence; Each target time period in the at least one target time period is output as the broadcast time period.
5. The method for locating audio content based on emergency broadcast according to claim 4, characterized in that: The locating at least one candidate time period in the second audio according to the audio mode binary feature sequence of the first audio frame sequence and the audio mode binary feature sequence of the second audio frame sequence comprises: Obtaining a first audio binary histogram feature of the first audio frame sequence according to the audio mode binary feature sequence of the first audio frame sequence; Obtaining a second audio binary histogram feature of the second audio frame sequence according to the audio mode binary feature sequence of the second audio frame sequence; Using the length of the first audio pattern binary feature sequence as a window width, sliding in the second audio binary histogram feature in the form of a sliding window, and calculating the similarity between the first audio binary histogram feature and the audio binary histogram feature of the segment to be compared in the sliding window; The time period corresponding to the to-be-compared segment whose similarity is greater than a set threshold is determined as the candidate time period.
6. The method for locating audio content based on emergency broadcast according to claim 4, characterized in that: The determining at least one target time period in the at least one candidate time period according to the audio sorting binary feature sequence of the first audio frame sequence and the audio sorting binary feature sequence of the second audio frame sequence comprises: Calculating the distance between the audio ordering binary feature sequence of the first audio frame sequence and the audio ordering binary feature sequence of each candidate time period in the at least one candidate time period, to obtain at least one distance corresponding to the at least one candidate time period; Acquire the candidate time period corresponding to the first distance as the target candidate time period; wherein the first distance is greater than other distances in the at least one distance; Obtaining the product of the second distance corresponding to the target candidate time period and a preset adaptive threshold coefficient; The candidate time period corresponding to a third distance greater than the product among the at least one distance is determined as the target time period.
7. An audio content positioning device based on emergency broadcasting, characterized in that: include: A framing module, used for framing the first audio for designated broadcast and the second audio for emergency broadcast, to obtain a first audio frame sequence of the first audio and a second audio frame sequence of the second audio; an acquisition module, configured to acquire feature values of multiple dimensions of audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; a processing module, configured to obtain an audio feature sequence of the first audio frame sequence and an audio feature sequence of the second audio frame sequence according to feature values of multiple dimensions of the audio features of each audio frame in the first audio frame sequence and the second audio frame sequence and an arrangement order of the multiple dimensions; A positioning module is used to locate the broadcast time period of the first audio in the second audio according to the audio feature sequence of the first audio frame sequence and the audio feature sequence of the second audio frame sequence.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for locating audio content based on emergency broadcasting as described in any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for locating audio content based on emergency broadcasting as described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for locating audio content based on emergency broadcasting as described in any one of claims 1 to 6 is implemented.
