Earthquake identification method and training method of earthquake identification model

By extracting the time-frequency characteristics of the acoustic data collected by sinking and floating acoustic buoys and using convolutional neural networks, the problem of insufficient accuracy in marine seismic recognition in the existing technology is solved, and more efficient marine seismic recognition is achieved.

CN118566969APending Publication Date: 2024-08-30INST OF ACOUSTICS CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410639884.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-08-30

Smart Images

  • Figure CN118566969A
    Figure CN118566969A
Patent Text Reader

Abstract

The invention provides an earthquake identification method and an earthquake identification model training method, and the method comprises the steps: firstly obtaining a plurality of sound wave data collected by a sinking and floating acoustic buoy and a sound wave data set of corresponding labels, carrying out the short-time Fourier transform of the sound wave data in the sound wave data set, and obtaining the time-frequency characteristics of the sound wave data; and taking the time-frequency characteristics of the sound wave data as input, taking the labels of the sound wave data as output, and training by using the sound wave data set to obtain an earthquake identification model. After an earthquake identification model is obtained, sound wave data acquired by a sinking and floating acoustic buoy and obtained through short-time Fourier transform can be input into the earthquake identification model so as to identify whether the sound wave data comprises earthquake signals or not. According to the method, earthquake identification is completed on the basis of fully utilizing the advantages of earthquake big data. And the seismic signal identification method for improving the identification accuracy by fully utilizing the time-frequency characteristics can bring a more reliable and efficient solution for seismic signal identification application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the technical field of earthquake signal recognition, and in particular to an earthquake recognition method and a training method for an earthquake recognition model. Background Art

[0002] Monitoring marine earthquakes can assist in tsunami warning, monitoring the marine geological environment, and assisting in marine resource exploration. Monitoring marine earthquakes can identify marine earthquakes after they occur and then process the seismic signals.

[0003] With the large-scale deployment of seismographs around the world, more and more data such as earthquake signals can be obtained. However, in the existing technology, there is still a lack of a method for using earthquake big data to monitor marine earthquakes. Summary of the invention

[0004] In order to overcome the problems existing in the related art, this specification provides an earthquake identification method and a training method for an earthquake identification model.

[0005] According to a first aspect of an embodiment of this specification, there is provided an earthquake identification method, comprising:

[0006] Acquiring the sound wave data to be detected collected by the sinking and floating acoustic buoy;

[0007] Performing short-time Fourier transform on the sound wave data to be detected to obtain the time-frequency characteristics corresponding to the sound wave data to be detected;

[0008] The time-frequency features corresponding to the sound wave data to be detected are input into the earthquake recognition network to determine whether the sound wave data to be detected includes earthquake signals; the earthquake recognition network is a convolutional neural network.

[0009] According to a second aspect of an embodiment of this specification, a method for training an earthquake recognition model is provided. The method is used to train the earthquake recognition model of the first aspect of an embodiment of this specification, comprising:

[0010] Acquire an acoustic wave data set, the acoustic wave data set including a plurality of acoustic wave data collected by a sinking and floating acoustic buoy, and seismic labels corresponding to the plurality of acoustic wave data, the seismic labels being used to characterize whether there is a seismic signal in the acoustic wave data;

[0011] Performing short-time Fourier transform on each sound wave data in the sound wave data set to obtain the time-frequency features corresponding to the sound wave data;

[0012] The time-frequency features corresponding to the acoustic wave data in the acoustic wave data set and the earthquake labels of the acoustic wave data are used as a training sample set, and the earthquake recognition model is trained through the training sample set.

[0013] According to a third aspect of the embodiments of this specification, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect or the second aspect of the embodiments of this specification is implemented.

[0014] According to a fourth aspect of an embodiment of this specification, a computer device is provided, including:

[0015] processor;

[0016] Memory for storing computer programs;

[0017] When the computer program is executed by a processor, the processor implements the method described in the first aspect or the second aspect of the embodiments of this specification.

[0018] According to a fifth aspect of the embodiments of this specification, a computer program product is provided, including a computer program or instructions, which, when executed by a processor, implements the method described in the first aspect or the second aspect of the embodiments of this specification.

[0019] In the method provided in this specification, the time-frequency characteristics of the acoustic wave data are extracted by short-time Fourier transform. Since the seismic signal is generally within a specific frequency range, and in the time dimension, the seismic signal generally lasts for a long time and the acoustic wave energy is strong, it will bring a large energy fluctuation to the acoustic wave data. Therefore, the extracted time-frequency characteristics can enable the neural network to learn the sudden change of the signal intensity of the seismic signal in the acoustic wave data in the time dimension, and learn the characteristics in the frequency dimension, so that the recognition accuracy of the trained model is higher.

[0020] At the same time, since time-frequency features are two-dimensional features, using convolutional neural networks, which are suitable for two-dimensional time series features, can achieve better training results and improve the recognition accuracy of the model.

[0021] In addition, using sinking and floating acoustic buoys to obtain sound wave data can make the process of obtaining sound wave data more convenient and complete earthquake identification more conveniently and efficiently.

[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.

[0024] Figure 1 It is a flowchart of an earthquake identification model training method shown in this specification according to an exemplary embodiment.

[0025] Figure 2 It is a flowchart of another earthquake identification model training method shown in this specification according to an exemplary embodiment.

[0026] Figure 3 This is a schematic diagram of an axial attention mechanism shown in this specification.

[0027] Figure 4 It is a flow chart of an earthquake identification method shown in this specification according to an exemplary embodiment.

[0028] Figure 5 It is a hardware structure diagram of a computer device shown in this specification according to an exemplary embodiment. DETAILED DESCRIPTION

[0029] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.

[0030] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0031] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0032] In the prior art, in the method of identifying marine earthquakes, data is generally collected by placing a towed cable equipped with a detector in the ocean, and waveform analysis is performed on the collected data to determine whether an earthquake has occurred.

[0033] With the widespread deployment of seismographs, more and more seismic signals can be obtained, ushering in the era of earthquake big data. The existing marine earthquake identification methods have not fully utilized these big data.

[0034] To address the above issues, first of all, since neural network algorithms have unique advantages in processing big data, we can use big data to train neural networks, extract deep features of the data, and obtain a neural network that can be used to identify earthquakes.

[0035] Regarding the selection of neural network input, although the towline can accurately obtain earthquake signals, its deployment is inconvenient. Since earthquakes emit infrasound waves, acoustic buoys placed in the ocean can be used to obtain acoustic wave data, and the acoustic wave data can be used to identify whether an earthquake has occurred.

[0036] By analyzing the acoustic wave data, we know that for the floating acoustic buoy, the non-seismic acoustic wave data obtained mainly include the sounds made by marine animals (such as the calls of whales and other animals), and the sounds similar to airguns, which are expressed as pulsed acoustic wave signals. These non-seismic acoustic wave data and seismic acoustic wave data have great differences in time and frequency dimensions.

[0037] In terms of time, the energy of earthquake infrasound waves is stronger than other non-earthquake sound waves, which makes the sound wave data show that there is obvious energy fluctuation when an earthquake occurs, and it will last for a period of time. In terms of frequency, the frequency of non-earthquake sound wave data is generally greater than 20Hz, while earthquake infrasound waves are mainly concentrated between 0.1-5Hz, and there is a significant frequency difference between the two.

[0038] In order to make the neural network better learn the changes of seismic acoustic wave data in the time dimension and frequency dimension, the acoustic wave data can be Fourier transformed to obtain the frequency characteristics of the acoustic wave data. Ordinary Fourier transform can only convert time domain data to frequency domain and obtain the overall spectrum of acoustic wave data, but it is impossible to obtain the characteristics of acoustic wave data in the time dimension. Therefore, it is possible to choose to perform short-time Fourier transform on the acoustic wave data, which is to add windows to the acoustic wave data and obtain the spectrum corresponding to the acoustic wave data in each window function. In this way, the change trend of the amplitude of the acoustic wave changing with the change of time and frequency can be obtained. In other words, the two-dimensional function of the amplitude of the acoustic wave with respect to time and frequency can be obtained. Since the acoustic wave data is discrete, it can also be regarded as a two-dimensional sequence representing the amplitude of the acoustic wave (hereinafter referred to as two-dimensional data).

[0039] In this way, compared with directly inputting the time series representing the sound wave amplitude into the neural network, inputting the above-mentioned data processed by short-time Fourier transform can enable the neural network to learn the time-frequency characteristics of seismic sound wave data more efficiently and quickly, thereby improving the accuracy of earthquake recognition.

[0040] Although the data input into the neural network in this specification is related to time series, the use of the existing technology, such as the recurrent neural network (RNN) and the long short-term memory network (LSTM), which are good at processing time series data, cannot be well trained to obtain a relatively accurate earthquake recognition model. Analysis shows that the input in this specification is two-dimensional data, and the above network has a poor processing effect on two-dimensional data.

[0041] Compared with other neural networks, convolutional neural networks (CNN) are usually used in the field of computer vision. Their main feature is to extract features of image data through convolution operations, thereby processing tasks such as image classification, target detection, and semantic segmentation. Since image data is two-dimensional data, in other words, convolutional neural networks are good at processing two-dimensional data. Therefore, convolutional neural networks can be used as the neural network trained in this manual for earthquake recognition.

[0042] Based on this, this specification provides an earthquake identification method and an earthquake identification model training method, first obtaining an acoustic wave data set including multiple acoustic wave data collected by a sinking and floating acoustic buoy and their corresponding labels, performing a short-time Fourier transform on the acoustic wave data in the acoustic wave data set to obtain the time-frequency characteristics of the acoustic wave data, using the time-frequency characteristics of the acoustic wave data as input, and using the labels of the acoustic wave data as output, and using the above acoustic wave data set to train an earthquake identification model. After obtaining the earthquake identification model, the acoustic wave data collected by the sinking and floating acoustic buoy and obtained by short-time Fourier transform can be input into the above earthquake identification model to identify whether the acoustic wave data includes earthquake signals.

[0043] In the method provided in this specification, the time-frequency characteristics of the acoustic wave data are extracted by short-time Fourier transform. Since the seismic signal is generally within a specific frequency range, and in the time dimension, the seismic signal generally lasts for a long time and has strong acoustic wave energy. Therefore, by using the extracted time-frequency characteristics, the neural network can more easily learn the sudden change and persistence of the signal intensity of the seismic signal in the acoustic wave data in the time dimension, as well as the characteristics in the frequency dimension, so that the recognition accuracy of the trained model is higher and the training efficiency is higher.

[0044] At the same time, since the time-frequency features are two-dimensional data, using convolutional neural networks, which are suitable for two-dimensional data, can achieve better training results and improve the recognition accuracy of the model.

[0045] In addition, using sinking and floating acoustic buoys to obtain sound wave data can make the process of obtaining sound wave data more convenient and complete earthquake identification more conveniently and efficiently.

[0046] It can be seen that the above method has realized the identification of earthquakes based on the full use of the advantages of earthquake big data. And the earthquake signal recognition method that fully utilizes the time-frequency characteristics to improve the recognition accuracy can bring a more reliable and efficient solution to the application of earthquake signal recognition.

[0047] The method provided in this specification is divided into two stages: model training and model use. The method of model training will be described below.

[0048] like Figure 1 As shown, Figure 1 This is a flowchart of a method for training an earthquake identification model according to an exemplary embodiment of the present specification, comprising the following steps:

[0049] Step 101: Acquire an acoustic wave dataset.

[0050] The acoustic wave data set includes a plurality of acoustic wave data collected by a sinking and floating acoustic buoy and seismic labels corresponding to the plurality of acoustic wave data, respectively, and the seismic labels are used to characterize whether there are seismic signals in the acoustic wave data.

[0051] Specifically, taking advantage of seismic big data, firstly, a large amount of acoustic wave data sets for training and / or verification are obtained to complete the training of acoustic wave data.

[0052] Among them, the acoustic wave data set has a one-to-one correspondence with the earthquake label, that is, each acoustic wave data corresponds to an earthquake label. The acoustic wave data can be a time series, and the data value in the time series can represent the amplitude of the collected acoustic wave data. In some cases in the prior art, the collected data is processed to obtain the acoustic wave data in complex form, and then the phase of the acoustic wave data is represented by the complex number. Since the phase is useless for determining whether there is a seismic signal, the method in this specification may not further process the collected acoustic wave data in the real number domain.

[0053] The earthquake label corresponding to each acoustic wave data can be obtained through data sorting, and the acoustic wave data set can be sorted out through pre-existing annotations or analysis of the acoustic wave data.

[0054] Whether there is a seismic signal in the acoustic wave data, that is, whether an earthquake has occurred. The seismic signal here refers to the seismic infrasound waves directly received by the sinking and floating acoustic buoy, and / or the seismic infrasound waves received by the sinking and floating acoustic buoy and reflected by other objects.

[0055] The acoustic wave data in the acoustic wave data set acquired in step 101 may be data directly acquired from a sinking and floating acoustic buoy, or may be obtained by first acquiring original acoustic wave data acquired from a sinking and floating acoustic buoy and performing data amplification processing on the original acoustic wave data.

[0056] In an optional embodiment, step 101 may be: obtaining an original acoustic wave data set, the original acoustic wave data set including multiple acoustic wave data collected by a sinking and floating acoustic buoy, and a seismic label corresponding to each acoustic wave data, the original acoustic wave data set including acoustic wave data with a time length greater than a preset time length; for each acoustic wave data with a time length greater than the preset time length, intercepting multiple acoustic wave data with a time length of the preset time length from the acoustic wave data to obtain an acoustic wave data set; different acoustic wave data intercepted from the positive sample data have different arrival times of seismic longitudinal waves.

[0057] In other words, when the original acoustic wave data set includes a sequence with a long time length, it can be intercepted to intercept multiple acoustic wave data with a preset time length from one original acoustic wave data. In this way, by amplifying the data, the training samples are richer, and the recognition results of the earthquake recognition model obtained by training can be made more accurate.

[0058] Specifically, for negative samples, that is, data that does not contain seismic signals, the negative sample data can be randomly intercepted to obtain multiple sound wave data, and any two intercepted sound wave data are not exactly the same. It is also possible to intercept multiple times at certain time intervals when the time length of the negative sample is greater than the preset time length; for example, when the preset time length is 200s, 200s of data can be intercepted at intervals of 50s. Among the multiple intercepted sound wave data, the starting point of the first sound wave data is the first second of the original sound wave data, and the starting point of the second sound wave data is the 51st second of the original sound wave data, and so on.

[0059] For positive samples, that is, data containing seismic signals, it is possible to intercept near the arrival time of the seismic longitudinal wave, and the intercepted acoustic wave data contains data corresponding to the arrival time of the seismic longitudinal wave, and the arrival time of the seismic longitudinal wave corresponding to different data is different. For example, the preset time length is 200s. For positive sample acoustic wave data with a time length exceeding 200s, with the arrival time of the seismic longitudinal wave as the center, the acoustic wave data with the arrival time of the seismic longitudinal wave greater than 100s can be translated to the left and right for 10s and 20s respectively, and 200s of data can be intercepted. Through one original acoustic wave data with a larger time length, 5 positive sample acoustic wave data can be obtained, and the arrival time of the seismic longitudinal wave in the 5 positive sample acoustic wave data is 80s, 90s, 100s, 110s and 120s respectively. The above examples do not represent limitations on the present application, and the time for the left and right translation may not be 10s and 20s, and the left and right translation may also be amplified more times.

[0060] Among them, the reason why the arrival time of seismic longitudinal waves is needed is that, first, seismic waves include seismic shear waves and seismic longitudinal waves (seismic P waves). Shear waves are only transmitted in solids, while longitudinal waves can be transmitted in various media. Since the sinking and floating acoustic buoy is placed in the ocean, only seismic longitudinal waves can be collected, so seismic longitudinal waves are used as the research object here. Second, seismic longitudinal waves are reflected as sudden changes and persistence of energy in the time dimension. In other words, at the arrival time of seismic longitudinal waves, the amplitude of the collected sound waves will suddenly increase; and due to the multipath effect of seismic wave transmission, the sinking and floating acoustic buoy receives not only direct waves, but also reflected waves obtained by other objects in the ocean reflecting seismic waves. The reverberation obtained by the superposition of various reflected waves makes the seismic longitudinal waves last for a period of time, generally lasting more than 100 seconds; therefore, in order to study the characteristics of seismic longitudinal waves in the time dimension, it is necessary to make the training samples reflect the energy mutation and persistence of the mutation energy of the seismic signal, so that the earthquake recognition model can recognize the occurrence of earthquakes.

[0061] In addition, the sound wave data may be preprocessed, and the preprocessing may include one or more of filtering, uniform sampling frequency, and normalization to facilitate the subsequent training process.

[0062] In other words, in an optional implementation, the acoustic wave data set may be filtered, and the acoustic wave data set after filtering includes at least 0.1-4 Hz acoustic wave signals.

[0063] Since the seismic infrasound waves are concentrated between 0.1-5 Hz, other interference signals (such as the sounds of marine animals mentioned above, sounds similar to airguns, etc.) can be filtered out by filtering. The specific filtering method can be to filter through a 0.1-4 Hz bandpass filter or a low-pass filter. This specification does not limit the specific filtering method.

[0064] In an optional embodiment, when the sound wave data set includes sound wave data whose sampling frequency is not a preset sampling frequency, the sampling frequency of the sound wave data whose sampling frequency is not the preset sampling frequency can be adjusted to the preset sampling frequency through an upsampling or downsampling method.

[0065] The preset sampling frequency can be set to 25 Hz. By upsampling or downsampling, the sampling frequencies of all sound wave data can be unified, and the data format can be unified to facilitate subsequent processing.

[0066] In an optional implementation, the acoustic wave data in the acoustic wave data set may also be normalized.

[0067] For example, the data may be normalized using a zero mean normalization method. This example does not limit the present specification, and other normalization methods may also be used. The processing formula is shown in formula (1):

[0068] s=(x-μ) / σ (1)

[0069] s is the processed sound wave data, x is the sound wave data to be normalized, μ is the sample mean, and σ is the sample variance.

[0070] Step 103: Perform short-time Fourier transform on each sound wave data in the sound wave data set to obtain the time-frequency features corresponding to the sound wave data.

[0071] As mentioned above, in order to make the neural network learn the time and frequency characteristics of earthquakes more efficiently, the short-time Fourier transform features of the sound wave data can be extracted as prior features. Prior features refer to pre-extracted features. Compared with directly inputting sound wave data into the neural network, extracting prior features can make the neural network learning process more focused and easier to learn time-frequency features.

[0072] Fourier transform is a method to obtain the frequency domain characteristics of a time series. The short-term Fourier transform (STFT) divides the time series into multiple segments through a window function and calculates the Fourier transform corresponding to each segment of data. Through the short-time Fourier transform, we can see the trend of amplitude changes with both time and frequency.

[0073] The short-time Fourier transform method can be expressed as formula (2):

[0074]

[0075] Among them, STFT means short-time Fourier transform of data, f is frequency, t is time, x(τ) is time series, and h(τ-t) is the window function corresponding to time t. Formula (2) is the formula for short-time Fourier transform of continuous data. The actual sound wave data is discrete data, which can be processed by the short-time Fourier transform method of discrete data corresponding to formula (2).

[0076] Through short-time Fourier transform, we can obtain two-dimensional data representing the amplitude size, and the two dimensions are used to represent time and frequency respectively.

[0077] Step 105, using the time-frequency features corresponding to the acoustic wave data in the acoustic wave data set and the earthquake labels of the acoustic wave data as a training sample set, and training an earthquake recognition model through the training sample set, wherein the earthquake recognition model belongs to a convolutional neural network.

[0078] Through the above process, a training sample set can be obtained, and an earthquake recognition network can be obtained by training a convolutional neural network.

[0079] The training sample set includes multiple training samples, each of which includes a time-frequency feature corresponding to an acoustic wave data and an earthquake label corresponding to the acoustic wave data. In the training sample set, the time-frequency feature extracted in step 103 is used as the input feature of the network, and the corresponding label is used as the output. Supervised training can be performed through the training sample set. The reason for selecting a convolutional neural network has been explained above and will not be repeated here.

[0080] In addition, the acquired data set can be divided into three parts: training set, validation set and test set. The training set is used to train the convolutional neural network. The validation set is used to verify the accuracy of the earthquake recognition network obtained by training. If the recognition is inaccurate, the training can be repeated until a highly accurate earthquake recognition network is obtained by training. The test set is used to test the network.

[0081] Regarding the selection of loss function, for the training goal in this specification (training a network that can identify whether there is an earthquake signal), the cross entropy loss function can be selected, which is more suitable for binary classification scenarios. In other words, the training criterion of the earthquake recognition model is the cross entropy loss function. The calculation formula of the cross entropy loss function is shown in formula (3):

[0082] loss(y,T)=-[Tlog(y)+(1-T)log(1-y)] (3)

[0083] Among them, y is the label result calculated by the network, and T is the corresponding label result in the training sample set.

[0084] In addition, for seismic acoustic wave data, although it contains seismic signals, in order to enable the model to learn the changes in the frequency domain and time domain when the seismic signal arrives, the seismic acoustic wave data also contains non-seismic signals, and the main learning goal of the model is to learn the characteristics of seismic signals. Therefore, in order to achieve better training results, an axial attention mechanism can be introduced to guide the neural network to only focus on time-frequency information, so that the model can pay more attention to the characteristics of seismic signals in the time domain and frequency domain, and improve the ability to distinguish seismic signals from non-seismic signals.

[0085] Specifically, in an optional implementation, the axial attention mechanism can be used to train the earthquake recognition model. The training process flow chart under the axial attention mechanism is as follows: Figure 2 As shown, Figure 2It is a possible embodiment of the training process and does not limit the present specification. First, the input two-dimensional time-frequency features can be processed by two-dimensional convolution, LeakyReLU activation function and batch normalization (BN) layer, and then axial attention is applied to the width axis and height axis respectively. The processed data is then processed by two-dimensional convolution, LeakyReLU activation function and BN layer. After processing, it is processed by average pooling layer (AvgPool), and then processed by two-dimensional convolution, LeakyReLU activation function and BN layer, and finally input into the fully connected layer to obtain the output result.

[0086] Among them, the axial attention mechanism can decompose the standard 2D attention into two 1D attentions, which focus on the values ​​of the amplitude along the width axis and along the height axis respectively. The width axis and the height axis represent time and frequency respectively. Compared with the 2D attention, the network can first focus on the values ​​along the width axis, and then focus on the values ​​along the height axis, extracting high-dimensional features, making it easier for the network to learn the characteristics of two dimensions. It can also reduce the amount of calculation.

[0087] As for the axial attention mechanism, it is a self-attention mechanism that processes the input features into three learnable position encodings of queries (q), keys (k) and values ​​(v) through different weight matrices. Its processing along the height axis is shown in the following formula (4):

[0088]

[0089] Among them, y ij is the value of the i-th row and j-th column in the output matrix, H is the number of rows in the input matrix, represents the value of the transpose of the q matrix in the i-th row and j-th column. Correspondingly, k hj for, and v hj The same principle applies. q 、r k and r v Respectively represent the positional encodings corresponding to the q matrix, k matrix, and r matrix,

[0090] The formula describes the axial attention applied only along the height axis. In order to obtain the global receptive field, the same operation is performed along the width axis, which will not be repeated here. In this way, after the axial attention processing of the width axis and the height axis is performed, the global information of the time dimension and the frequency dimension is captured.

[0091] After passing through the axial attention module, the output is as shown in formula (5):

[0092] y=x+AttentionH (Attention W (x)) (5)

[0093] Where y is the output and x is the input feature vector. W (x) is the result of adding width axis attention to x. H (Attention W (x)) is the result of adding attention to the width axis and then to the height axis for x. Figure 3 As shown in the figure, after the convolution and BN layers, the input is first processed with attention on the width axis and then with attention on the height axis. The processed data is then processed by the BN layer and finally added to the original time-frequency features processed by the convolution and BN layers to obtain the output.

[0094] The attention mechanism can assign different attention weights to different parts of the time-frequency features, and then aggregate the attention-weighted results to obtain the final output, which is more conducive to distinguishing seismic signals from non-seismic signals. First, a convolutional neural network is used to extract deep features, and then the attention mechanism is used to guide the neural network to pay more attention to local time-frequency information to distinguish seismic signals from non-seismic signals.

[0095] In addition, in an optional embodiment, the parameter settings during the training process can be: the batch size (Batchsize) is set to 32, the number of iterations (epoch) is set to 100, the initial learning rate is 0.001, and it decreases by 50% every 20 epochs, and the adaptive moment estimation method (Adaptive Moment Estimation, Adam) is used as the gradient updater. In this way, better training results can be achieved. It should be noted that the above parameter values ​​do not represent a limitation on this specification.

[0096] After the training is completed, it can also be verified through the validation set mentioned above. The following three indicators can be used to evaluate the training results of the model:

[0097] Accuracy: (number of earthquakes correctly identified + number of non-earthquakes correctly identified) / (number of earthquake samples + number of non-earthquake samples);

[0098] Recall rate: (number of earthquakes correctly identified) / (number of earthquake samples);

[0099] False alarm rate: (number of non-earthquakes identified as earthquakes) / (number of non-earthquake samples);

[0100] When the training effect is poor, you can change the parameters and retrain.

[0101] After the training is completed to obtain an earthquake recognition model with a high accuracy, the earthquake recognition model can be used to identify whether the sound wave data to be detected includes earthquake signals. This specification also provides an earthquake recognition method, such as Figure 4 As shown, the following steps are included:

[0102] Step 401, obtaining the sound wave data to be detected collected by the sinking and floating acoustic buoy.

[0103] In an optional implementation, the acoustic wave data to be detected may be 200 s of acoustic wave data collected by a sinking and floating acoustic buoy.

[0104] In addition, since the seismic signal is mainly concentrated in 0.1-5Hz, the acoustic wave data to be detected can also be filtered. In an optional embodiment, it is also possible to: filter the acoustic wave data to be detected, and the acoustic wave data to be detected after filtering includes at least 0.1-4Hz acoustic wave signals. The specific filtering processing method is detailed in the previous description and will not be repeated here.

[0105] Step 403: Perform short-time Fourier transform on the sound wave data to be detected to obtain time-frequency features corresponding to the sound wave data to be detected.

[0106] The reasons for performing short-time Fourier transform and the specific implementation method are detailed in the previous article and will not be repeated here.

[0107] Step 405: input the time-frequency features corresponding to the acoustic wave data to be detected into the earthquake recognition network to determine whether the acoustic wave data to be detected includes earthquake signals.

[0108] Among them, the earthquake recognition network is a convolutional neural network.

[0109] The earthquake recognition network mentioned in step 405 may be an earthquake recognition model trained by the earthquake recognition model described above.

[0110] If it is identified that a certain acoustic wave data to be detected includes a seismic signal, the acoustic wave data to be detected can be further processed to identify the location of the seismic source.

[0111] It should also be noted that although the above method uses data collected by sinking and floating acoustic buoys deployed in the ocean, the above method can be used not only to identify marine earthquakes, but also to identify land earthquakes.

[0112] Corresponding to the embodiments of the aforementioned method, this specification also provides embodiments of an apparatus and a computer device to which it is applied.

[0113] This specification also provides an earthquake identification device, comprising:

[0114] An acoustic wave data acquisition module is used to acquire the acoustic wave data to be detected collected by the sinking and floating acoustic buoy;

[0115] The first time-frequency feature acquisition module is used to perform short-time Fourier transform on the sound wave data to be detected to obtain the time-frequency features corresponding to the sound wave data to be detected;

[0116] The earthquake signal recognition module is used to input the time-frequency characteristics corresponding to the sound wave data to be detected into the earthquake recognition network to determine whether the sound wave data to be detected includes earthquake signals; the earthquake recognition network is a convolutional neural network.

[0117] In an optional embodiment, the device further includes: a first filtering processing module, which is used to filter the sound wave data to be detected, and the sound wave data to be detected after filtering includes at least a sound wave signal of 0.1-4 Hz.

[0118] This specification also provides a training device for an earthquake recognition model, which is used to train the earthquake recognition model mentioned above, including:

[0119] An acoustic wave data set acquisition module is used to acquire an acoustic wave data set, wherein the acoustic wave data set includes a plurality of acoustic wave data collected by a sinking and floating acoustic buoy and seismic tags corresponding to the plurality of acoustic wave data, respectively, and the seismic tags are used to characterize whether there is a seismic signal in the acoustic wave data;

[0120] The second time-frequency feature acquisition module is used to perform short-time Fourier transform on each sound wave data in the sound wave data set to obtain the time-frequency feature corresponding to the sound wave data;

[0121] The model training module is used to use the time-frequency features corresponding to the acoustic wave data in the acoustic wave data set and the earthquake labels of the acoustic wave data as a training sample set, and train the earthquake recognition model through the training sample set.

[0122] In an optional embodiment, the acoustic wave data set acquisition module is specifically used to acquire an original acoustic wave data set, the original acoustic wave data set including multiple acoustic wave data collected by a sinking and floating acoustic buoy, and a seismic label corresponding to each acoustic wave data, the original acoustic wave data set including acoustic wave data with a time length greater than a preset time length; for each acoustic wave data with a time length greater than the preset time length, multiple acoustic wave data with a time length of the preset time length are intercepted from the acoustic wave data to obtain an acoustic wave data set; different acoustic wave data intercepted from the positive sample data have different arrival times of seismic longitudinal waves.

[0123] In an optional embodiment, the device also includes: a preprocessing module, which is used to adjust the sampling frequency of the sound wave data whose sampling frequency is not the preset sampling frequency to the preset sampling frequency through an upsampling or downsampling method when the sound wave data set includes sound wave data whose sampling frequency is not the preset sampling frequency; and normalize the sound wave data in the sound wave data set.

[0124] In an optional implementation, the training criterion of the earthquake identification model is a cross entropy loss function.

[0125] In an optional implementation, the model training module is specifically used to: use the time-frequency features corresponding to the acoustic wave data in the acoustic wave data set and the earthquake labels of the acoustic wave data as a training sample set, and train the earthquake recognition model through the training sample set using the axial attention mechanism.

[0126] In an optional embodiment, the device further includes: a second filtering processing module, which is used to perform filtering processing on each sound wave data in the sound wave data set, and the sound wave data after filtering processing includes at least a sound wave signal of 0.1-4 Hz.

[0127] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0128] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0129] like Figure 5 As shown, Figure 5 The hardware structure diagram of a computer device is shown, and the device may include: a processor 1010 and a memory 1020 for storing a computer program. When the computer program is executed by the processor, the processor implements the earthquake identification method or earthquake identification model training method.

[0130] In an alternative embodiment, if Figure 5As shown, the device further includes an input / output interface 1030, a communication interface 1040 and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030 and the communication interface 1040 are connected to each other in communication within the device via the bus 1050.

[0131] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0132] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0133] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0134] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0135] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0136] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0137] The embodiments of this specification also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the earthquake identification method or earthquake identification model training method described above is implemented.

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

[0139] The present specification also provides a computer program product, including a computer program or instructions, which implements the earthquake identification method or earthquake identification model training method described above when the computer program or instructions are executed by a processor.

[0140] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0141] Those skilled in the art will readily appreciate other embodiments of the specification after considering the specification and practicing the invention claimed herein. The specification is intended to cover any variations, uses or adaptations of the specification that follow the general principles of the specification and include common knowledge or customary techniques in the art that are not claimed in the specification. The specification and examples are to be considered exemplary only, and the true scope and spirit of the specification are indicated by the following claims.

[0142] It should be understood that the present description is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.

[0143] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A method for earthquake identification, characterized in that: The method comprises: Acquiring the sound wave data to be detected collected by the sinking and floating acoustic buoy; Performing short-time Fourier transform on the sound wave data to be detected to obtain time-frequency features corresponding to the sound wave data to be detected; The time-frequency features corresponding to the sound wave data to be detected are input into an earthquake recognition network to determine whether the sound wave data to be detected includes an earthquake signal; the earthquake recognition network is a convolutional neural network.

2. The method according to claim 1, characterized in that The method further comprises: The sound wave data to be detected is filtered, and the sound wave data to be detected after filtering includes at least a sound wave signal of 0.1-4 Hz.

3. A training method for an earthquake recognition model, characterized in that: The method is used to train the earthquake identification model according to claim 1, and the method comprises: Acquire an acoustic wave data set, wherein the acoustic wave data set includes a plurality of acoustic wave data collected by a sinking and floating acoustic buoy, and seismic tags respectively corresponding to the plurality of acoustic wave data, wherein the seismic tags are used to characterize whether there is a seismic signal in the acoustic wave data; Performing short-time Fourier transform on each sound wave data in the sound wave data set to obtain time-frequency features corresponding to the sound wave data; The time-frequency features corresponding to the acoustic wave data in the acoustic wave data set and the earthquake labels of the acoustic wave data are used as a training sample set, and an earthquake recognition model is trained through the training sample set.

4. The method according to claim 3, characterized in that The step of acquiring the acoustic wave data set comprises: Acquire an original acoustic wave data set, the original acoustic wave data set comprising a plurality of acoustic wave data collected by a sinking and floating acoustic buoy and a seismic label corresponding to each acoustic wave data, the original acoustic wave data set comprising acoustic wave data having a time length greater than a preset time length; For each acoustic wave data with a time length greater than a preset time length, multiple acoustic wave data with a time length equal to the preset time length are intercepted from the acoustic wave data to obtain an acoustic wave data set; different acoustic wave data intercepted from the positive sample data have different arrival times of seismic longitudinal waves.

5. The method according to claim 3, characterized in that: The method further comprises: In a case where the sound wave data set includes sound wave data whose sampling frequency is not the preset sampling frequency, adjusting the sampling frequency of the sound wave data whose sampling frequency is not the preset sampling frequency to the preset sampling frequency by an upsampling or downsampling method; Normalization processing is performed on the acoustic wave data in the acoustic wave data set.

6. The method according to claim 3, characterized in that The training criterion of the earthquake recognition model is the cross entropy loss function.

7. The method according to claim 3, characterized in that The training earthquake recognition model comprises: Training earthquake recognition model using axial attention mechanism.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

9. A computer device, characterized in that: The computer device comprises: processor; Memory for storing computer programs; When the computer program is executed by the processor, the processor is caused to implement the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The method comprises a computer program or an instruction, which implements the method according to any one of claims 1 to 7 when the computer program or the instruction is executed by a processor.