A real-time classification and detection method of seismic waveforms based on unsupervised clustering
Through unsupervised clustering and generation of adversarial networks, the problem of manual labeling data set dependence and insufficient samples in seismic wave classification recognition is solved, efficient seismic waveform classification and automatic labeling are achieved, and the accuracy of seismic monitoring is improved. and efficiency.
Patent Information
- Application Number
- CN202210680703.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-06-16
AI Technical Summary
The existing technology relies on a huge artificially marked seismic data set in seismic wave classification and identification, which leads to high labor costs and difficult to accurately distinguish earthquake events with small magnitudes, especially in less earthquake areas, which leads to insufficient seismic data training samples. .
The real-time classification and detection method of seismic waveforms with unsupervised clustering is adopted. The seismic waveform sample set is expanded by generating an adversarial network, and the unsupervised clustering is used to train the unsupervised seismic waveform classification and recognition model to achieve seismic events. automatic labeling and classification reduces dependence on manual labeling data sets.
It has achieved rapid classification of earthquake waveforms, with an identification accuracy of more than 95%, saving manpower and material costs, able to adapt to new earthquake types in a short time, and improving the earthquake monitoring and classification capabilities and the automatic identification capabilities of earthquake networks.
Smart Images

Figure CN114966845B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of earthquake monitoring, and in particular to a real-time classification and detection method for earthquake waveforms. Background Art
[0002] With the increasing density of seismic networks, the continuous expansion of seismic monitoring data, and the continuous improvement of seismic monitoring capabilities, the seismic network has monitored more and more seismic events that were previously unmonitored, such as collapse, landslide, mudslide, industrial explosion, etc. Rapidly and accurately distinguishing whether these seismic events are natural earthquakes caused by underground medium movement or non-natural earthquake events caused by objective reasons is of great significance for subsequent earthquake assessment and disaster prevention and mitigation.
[0003] Non-natural earthquake events have only been noticed after a large-scale increase in earthquake monitoring data in recent years. Although the incidence of non-natural earthquake events is high, their waveform characteristics are not as prominent as those of natural earthquakes. Especially for earthquake events below magnitude 2.0, natural earthquakes and non-natural earthquakes are often confused. For seismic networks, it is a huge challenge to accurately identify natural or non-natural earthquakes in real time.
[0004] The biggest difference between the waveforms of natural earthquakes and non-natural earthquakes in the same area is due to the different focal depths. The different focal depths cause the inconsistency of the seismic ray paths, which is reflected in the inconsistency of the seismic waveform. However, in the regional network, some small earthquake events do not propagate far, so it is not easy to distinguish between non-natural earthquakes and natural earthquakes in the records of seismic stations.
[0005] Since events such as explosions, earthquakes and even collapses can excite vibration waves in the same or similar frequency range, the vibration waves picked up and recorded by actual seismic observation stations reflect the information of various excitation sources such as explosions, earthquakes, and collapses. It is very important to identify the excitation sources by recording waves, extract the excitation source information, and accurately distinguish and identify the types of excitation sources such as earthquakes and explosions for earthquake emergency response, classification and analysis of seismic data, evaluation of regional seismic activity, understanding the response spectrum characteristics of regional earthquake engineering and earthquake prediction.
[0006] In terms of existing real-time qualitative classification technology, according to international practices, the ratio of body waves to surface waves (mb / Ms) is generally used to make possible distinctions between natural earthquakes and underground explosions. Near-surface earthquake events, such as industrial blasting and rock bursts, generally produce short-period fundamental Rayleigh waves, which become Rg waves that show positive dispersion and have relatively large amplitudes in the vertical component. Because natural crustal earthquakes generally have a focal depth of 5-25 km, and intermediate or deep source earthquakes located in low subduction zones are larger than one wavelength, they cannot excite Rg waves. Therefore, whether Rg waves can be observed is generally used to distinguish near-surface artificial earthquakes from natural earthquakes. Many seismologists have used various effective earthquake pattern recognition and phase recognition criteria to achieve preliminary earthquake event identification on computers. However, the final results of the identification mostly rely on later manual intervention and rely to a large extent on human experience and wisdom. There is no automated identification system that is completely independent of manual intervention. It is very difficult to discover and screen earthquake events such as explosions, collapses, mine tremors, and landslides from a large number of earthquake events. Especially when the magnitude is small, the judgment of waveform characteristics is seriously affected by human subjective error factors.
[0007] Some methods for seismic wave classification and identification based on deep learning have also emerged, but in the implementation process, such solutions rely on large, manually labeled seismic data sets, and the production of manually labeled data sets will bring about a large labor cost. In addition, in actual earthquake observations, there are a large number of non-natural earthquake events that cannot be accurately verified, such as some artificial explosions and underground collapses. For various reasons, the actual earthquake situation cannot be manually verified after the earthquake occurs, which has brought great difficulties to the subsequent generation of accurate earthquake event type data sets. Summary of the invention
[0008] Based on this, in order to solve the above technical problems, an unsupervised clustering seismic waveform real-time classification and detection method is provided to solve the problem that the existing deep learning-based seismic wave classification and recognition method relies on huge, manually labeled seismic data sets, resulting in high labor costs.
[0009] In order to achieve the above object, the present invention provides the following technical solutions:
[0010] A real-time classification detection method for seismic waveforms based on unsupervised clustering, comprising:
[0011] Step S1, forming a real earthquake event waveform sample set based on earthquake event data observed by the regional seismic network;
[0012] Step S2, extracting original seismic noise information, and using a generative adversarial network to generate a simulated seismic waveform sample set to expand the seismic waveform samples;
[0013] Step S3, according to the real earthquake event waveform sample set and the simulated earthquake waveform sample set, using a variational autoencoder and an unsupervised clustering method, training an unsupervised earthquake waveform classification and recognition model;
[0014] Step S4, real-time acquisition of seismic waveforms and detection of seismic events, inputting the acquired seismic waveforms into a trained unsupervised seismic waveform classification and recognition model to obtain a classification qualitative probability of the detected seismic events.
[0015] Optionally, the step S1 specifically includes:
[0016] Step S11, after the regional seismic network observes the occurrence of an earthquake event, the corresponding real earthquake event waveform is picked up through the waveform interception algorithm; through the set threshold, the long and short window trigger algorithm is used to implement P wave phase annotation on the picked up real earthquake event waveform, thereby forming the corresponding real earthquake event waveform sample;
[0017] Step S12, after a plurality of earthquake events are observed, each earthquake event observed is processed according to step S11 to form a real earthquake event waveform sample set.
[0018] Further optionally, the generative adversarial network includes a seismic wave generator and a seismic wave discriminator; the variational autoencoder includes a waveform encoder and a waveform decoder.
[0019] Further optionally, the step S2 specifically includes:
[0020] Step S21, upsampling the real seismic event waveform samples in the real seismic event waveform sample set through the seismic wave generator; extracting original seismic noise information, the original seismic noise information has the same dimension as the real seismic event waveform samples after upsampling, and inputting the original seismic noise information into the seismic wave generator;
[0021] Step S22, generating a batch of simulated seismic waveform samples according to the fitting parameters by the seismic wave generator, sending the up-sampled real seismic event waveform samples and the batch of simulated seismic waveform samples generated by the seismic wave generator to the seismic wave identifier at the same time; in the seismic wave identifier, the received real seismic event waveform samples are associated with flag 1 and the batch of simulated seismic waveforms generated by the seismic wave generator are associated with flag 0;
[0022] Step S23, associating the seismic wave identifier with the seismic wave generator, and when the seismic wave identifier completes training, measuring the difference between the real seismic event waveform sample and a batch of simulated seismic waveform samples generated by the seismic wave generator through the designed loss function, and feeding back the difference to the seismic wave generator, so that the seismic wave generator adjusts the fitting parameters according to the received difference;
[0023] Step S24, continuously executing steps S22 to S23 to perform multiple batches of training and learning until the similarity between a batch of simulated seismic waveform samples generated by the seismic wave generator and the real seismic event waveform samples reaches a preset threshold;
[0024] Step S25, taking the corresponding batch of simulated seismic waveforms finally generated by the seismic wave generator as a simulated seismic waveform sample set, thereby realizing the incremental expansion of the seismic waveform samples.
[0025] Further optionally, the step S3 specifically includes:
[0026] Step S31, merging and confusing the real earthquake event waveform sample set and the simulated earthquake waveform sample set to form a training data set for an unsupervised earthquake waveform classification and recognition model;
[0027] Step S32, inputting the seismic waveforms in the training data set into a waveform encoder, and implementing dimensionality reduction encoding of the seismic waveform samples in the training data set through multiple data processing layers of the waveform encoder neural network, thereby automatically extracting waveform features existing in the seismic waveform samples in the training data set from high dimensions to low dimensions;
[0028] Step S33, adding random noise to the seismic waveform samples obtained after the dimensionality reduction coding, and inputting the seismic waveform samples obtained after adding the random noise into the waveform decoder, and performing dimension increase on the seismic wave train through the waveform decoder, so that the dimension of the seismic waveform samples output from the output end of the waveform decoder is consistent with the dimension of the seismic waveform samples input to the input end of the waveform encoder;
[0029] Step S34, performing batch fitting learning on the seismic waveform samples outputted from the output end of the waveform decoder and the seismic waveform samples inputted to the input end of the waveform encoder, so that the seismic waveform samples finally outputted from the output end of the waveform decoder and the seismic waveform samples inputted to the input end of the waveform encoder are highly consistent in distribution;
[0030] Step S35, the seismic waveform sample finally outputted by the output end of the waveform decoder is a highly summarized characteristic distribution of the seismic waveform samples in the training data set; the characteristic distribution is calculated using an unsupervised clustering algorithm to generate clusters; when the quality of the clusters reaches a set threshold, the clusters are labeled as three earthquake categories: natural earthquakes, explosions, and collapses, thereby completing the unsupervised seismic attribute labeling of the training data set;
[0031] Step S36, using the training data set with earthquake category labels, adopting a multi-layer convolution classification neural network to train an unsupervised earthquake waveform classification and recognition model.
[0032] Further optionally, the waveform characteristics include frequency, first motion, period, amplitude ratio, phase, wave train attenuation and surface wave development.
[0033] Further optionally, the dimension of the real seismic event waveform samples after upsampling and the dimension of the seismic waveform samples in the training data set are both 6000; the dimension of the seismic waveform samples in the training data set after dimensionality reduction encoding is 1000.
[0034] Further optionally, a LeakyRelu network layer is introduced into the seismic wave generator, the seismic wave discriminator adopts ReLU as the activation function, and a Dropout layer is used to prevent overfitting.
[0035] Optionally, after step S4, the method further includes:
[0036] Step S5, obtaining the positioning result of the detected earthquake event, storing the positioning result and the classified qualitative probability of the detected earthquake event in the form of a data table, and using online WebGis technology to display the positioning result and the classified qualitative probability in real time on the display interface of the terminal.
[0037] Further optionally, the classification qualitative probability is a classification probability of natural earthquake, explosion and collapse;
[0038] The step S5 also includes: scrolling the latest earthquake record on the display interface of the terminal; using a pie chart to display the number of occurrences of three types of earthquakes for all earthquake events that occurred within a preset time length; counting the total number of earthquake events at multiple prefecture-level cities and displaying them using a bar chart; displaying earthquake events that occurred from the last month to the current moment on a Web map according to coordinates, magnitude and category; counting the total number of monitored earthquake events, calculating the earthquake strain release, and displaying the total number of earthquake events and the earthquake strain release on the display interface of the terminal.
[0039] The present invention has at least the following beneficial effects:
[0040] Based on further analysis and research of the existing technical problems, the present invention recognizes that the existing methods for seismic wave classification and identification based on deep learning rely on huge, manually annotated seismic data sets, which leads to high labor costs; the present invention proposes a real-time classification solution for seismic waveforms based on unsupervised clustering, which does not require a large number of manually annotated data sets for seismic waveforms. The generation of artificial data sets requires a lot of labor and financial costs and time; the present invention uses a generative adversarial network to expand the original data set using the seismic event data observed by the regional seismic network in the earthquake-sparse area, and extracts the seismic waveform record characteristics when expanding the original data set. The invention takes into account factors such as local geological conditions and seismic wave propagation paths, and can effectively solve the problem of few seismic data training samples. The invention also adopts variational autoencoding technology to automatically cluster seismic waveform samples, and realizes automatic labeling and classification of seismic types for large quantities of seismic event data. It does not rely on a large number of manual operations to classify and label data samples. At the same time, since the data expansion technology realizes self-learning of some seismic wave features, the demand for data samples is far lower than that of general classification methods based on deep learning. Therefore, the invention can save a lot of manpower and material costs, and provide a more effective technical solution for the establishment and rapid deployment of seismic wave rapid classification models.
[0041] After forming the waveform classification label, the present invention subsequently adopts a more advanced convolution classification neural network to learn and train the classifier; on this basis, the trained unsupervised earthquake waveform classification and recognition model can detect earthquake events monitored by the regional seismic network in real time and give the type of earthquake event; after the classifier is generated, the recognition time for earthquake events is less than 1 second, and the recognition accuracy reaches more than 95%, which is higher than the classification results of the existing earthquake waveform classification method.
[0042] For unknown earthquake events detected by the regional seismic network, when they accumulate to a certain number, the technical solution designed by the present invention can realize the rapid adaptation of the classification mathematical model of the new earthquake type by only changing one parameter of the type category in the automatic clustering algorithm, so that the technical system can automatically identify the new earthquake event type in a relatively short time; the regional seismic network can detect and identify more earthquake event types in a short time, and even pre-identify unknown earthquake event types in advance.
[0043] In addition, the software system using the present invention can be easily promoted to seismic networks across the country for use, effectively improving the earthquake monitoring classification capabilities across the country, enriching the rapid output products of the seismic network, and also providing the possibility for the rapid discovery of new types of earthquake events, thereby improving the social service efficiency of the earthquake industry and enhancing the role of earthquake observation in the development of the national economy. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic flow chart of a method for real-time classification and detection of seismic waveforms using unsupervised clustering provided by an embodiment of the present invention;
[0045] Figure 2 A waveform diagram of a natural earthquake event in one embodiment of the present invention;
[0046] Figure 3 A waveform diagram of a blasting event in one embodiment of the present invention;
[0047] Figure 4 A waveform diagram of a collapse event in one embodiment of the present invention;
[0048] Figure 5 Another schematic diagram of a flow chart of a real-time classification detection method of seismic waveforms by unsupervised clustering in one embodiment of the present invention;
[0049] Figure 6 A module architecture block diagram of an unsupervised clustering seismic waveform real-time classification detection device provided by an embodiment of the present invention;
[0050] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] The judgment of the type of earthquake event, especially the nature of micro-earthquake events, is of great significance. The automatic and effective identification and distinction of micro-earthquake events and non-natural earthquake events will not only greatly reduce the time and manpower costs of manual identification, but also because of the accurate characterization of earthquake events, it can effectively reduce the analysis interference caused by background noise, blasting events, collapse events, etc., and provide a basis for earthquake prediction, mine accident warning, and risk monitoring of explosion-related enterprises.
[0053] In one embodiment, Figure 1 As shown, the present invention provides a real-time classification detection method for seismic waveforms based on unsupervised clustering, comprising the following steps:
[0054] Step S1, forming a real earthquake event waveform sample set based on earthquake event data observed by the regional seismic network.
[0055] Furthermore, step S1 specifically includes:
[0056] Step S11, in the regional seismic network, after an earthquake event is observed by a seismometer, the corresponding real earthquake event waveform is picked up by a waveform interception algorithm; and through a set threshold, a long-short window trigger algorithm (STA / LTA) is used to implement P-wave phase annotation on the picked up real earthquake event waveform, thereby forming a corresponding real earthquake event waveform sample;
[0057] Step S12, after observing multiple earthquake events and processing each observed earthquake event according to step S11, a real earthquake event waveform sample set is obtained.
[0058] Step S2, design a generative adversarial neural network, extract the original seismic noise, and use the generative adversarial network to achieve the expansion and generation of simulated seismic waveform samples (i.e., seismic waveform enhancement) through the design of its seismic wave generator and seismic wave discriminator for subsequent self-learning of the machine learning classifier.
[0059] Taking Henan Seismic Network as an example, the extraction rate of seismic waveform samples is about 2,800 per year. Generally, seismic wave classification technology based on methods such as "deep learning" requires a minimum of 30,000 to 50,000 seismic waveform samples. If the sample accumulation time is too long, the final classification model will be poor in timeliness and generalization ability. Therefore, we use step S2 to enhance the features of the real seismic waveform sample set and expand the sample set. After the operation of step S2, 30%-40% of data samples with similar group characteristics to the original real seismic waveform sample set can be effectively increased.
[0060] At present, it has become mainstream in the earthquake industry to use methods such as "deep learning" for data processing. However, the use of deep learning methods to qualitatively classify seismic waves requires a large number of data sample sets that have been accurately labeled with the types of earthquake events. These data sets are very difficult to obtain, and earthquake data sets in different regions are not universal, which has also led to the scarcity of data sets that have been accurately labeled with earthquake types.
[0061] At present, most of the automatic earthquake event classifiers based on machine learning, such as support vector machines, neural networks, etc., rely on a large number of prior samples to drive the establishment of recognition models. The development of seismic wave phases becomes clearer and clearer as the magnitude increases. For small earthquake events, the phase development is not obvious. The different understandings of different earthquake experts will lead to annotation deviations, which makes the consistency of the output seismic data sets not high. For such industry pain points, we designed a generative adversarial network for automatic feature extraction and expansion of seismic samples. Specifically, we designed two neural networks, one for fitting transformation of seismic noise and real seismic waveform features, and the other for seismic waveform identification, that is, constructing two seismic waveform processing neural networks, which we call "seismic wave generator" and "seismic wave identifier".
[0062] Based on this, step S2 specifically includes:
[0063] Step S21, upsampling the real seismic event waveform samples in the real seismic event waveform sample set through the seismic wave generator; extracting original seismic noise information, the original seismic noise information has the same dimension as the real seismic event waveform samples after upsampling, and inputting the original seismic noise information into the seismic wave generator;
[0064] The seismic wave sampling frequency is 100 Hz (100 data values are collected per second), and the sampling time is 1 minute, which means that the dimension of the real seismic waveform in the real seismic waveform sample set after upsampling is 6000.
[0065] Step S22, generating a batch of simulated seismic waveform samples according to the fitting parameters by the seismic wave generator, and sending the upsampled real seismic event waveform samples and a batch of simulated seismic waveform samples generated by the seismic wave generator to the seismic wave identifier at the same time; in the seismic wave identifier, the received real seismic event waveform samples are associated with flag 1 and the batch of simulated seismic waveforms generated by the seismic wave generator are associated with flag 0.
[0066] The seismic wave generator is used to generate seismic waveforms from seismic random noise. After the original seismic noise information is input into the seismic wave generator, the input noise information is transformed in dimension through a multi-layer neural network, and the noise is mapped to generate simulated seismic waveform samples. In the seismic wave discriminator, the real seismic event waveform samples and the simulated seismic waveform samples are classified, and the real seismic event waveform samples are marked as 1, and the simulated seismic waveform samples are marked as 0.
[0067] Step S23, associating the seismic wave identifier with the seismic wave generator. When the seismic wave identifier completes training, the difference between the real seismic event waveform samples and a batch of simulated seismic waveform samples generated by the seismic wave generator is measured by a designed loss function, and the difference is fed back to the seismic wave generator, so that the seismic wave generator adjusts the fitting parameters according to the received difference.
[0068] Through the designed loss function, the evaluation probability of the real seismic waveform sample and the probability of the simulated seismic waveform sample can have the same weight.
[0069] Step S24, continuously executing steps S22-S23 to perform multiple batches of training and learning until the similarity between a batch of simulated seismic waveform samples generated by the seismic wave generator and the real seismic event waveform samples reaches a preset threshold.
[0070] During the training process, as the number of training batches increases, the probability distribution of the simulated seismic waveform samples and the real seismic waveform samples is adjusted through the changes in the neural network fitting parameters of the generator and the discriminator, so that they are finally highly consistent (that is, the real seismic waveform samples are very similar to the real seismic waveform samples). When the similarity reaches the required threshold, the incremental expansion of the seismic waveform samples is achieved, and the required threshold can be 93%. At this time, it can be considered that the waveform samples finally generated by the seismic wave generator have the same distribution characteristics as the real seismic samples.
[0071] In other words, by designing the merged model, associating the discriminator and the generator, the fitting parameters are adjusted after each training batch. The linkage between the generator and the discriminator is achieved by measuring the loss function, so that the parameters of the generator and the discriminator are adapted. That is to say, during the training process, with the increase of training batches and the change of the fitting parameters of the seismic wave generator, the similarity between a batch of simulated seismic waveform samples generated by the seismic wave generator and the real seismic event waveform samples becomes higher and higher. The batch of simulated seismic waveform samples generated by the final generator is the learning and reproduction of the waveform feature distribution existing in the real seismic event waveform. The corresponding batch of simulated seismic waveforms finally generated have the same distribution characteristics as the real seismic event waveform samples, thereby completing the encoding of the simulated seismic waveform.
[0072] Step S26, taking the corresponding batch of simulated seismic waveforms finally generated by the seismic wave generator as a simulated seismic waveform sample set, thereby realizing the incremental expansion of the seismic waveform samples.
[0073] That is to say, after intercepting a large number of real earthquake event waveform fragments, they are input into the earthquake waveform generator network. By introducing the LeakyRelu network layer in the earthquake wave generator, the training learning weights are set to zero after the earthquake waveform sequence is batch normalized between layers during the back propagation process; although this avoids the loss of residuals, the earthquake data sequence is between 0-1, and the fluctuation between data is small, which leads to small gradient changes during the propagation process. Therefore, the LeakyRelu linear activation function is used in the earthquake waveform generator in the part where the weight input is less than zero, so that the output is as close to the input as possible, and the real calculation gradient is calculated and input to avoid the disappearance of the gradient. In addition, the earthquake wave discriminator uses ReLU as the activation function, and uses the Dropout layer to prevent overfitting; the last layer of the earthquake wave discriminator uses tanh. In essence, the earthquake wave discriminator replaces the pooling operation by transforming the convolution parameters.
[0074] Step S3, according to the real earthquake event waveform sample set and the simulated earthquake waveform sample set, using a variational autoencoder and an unsupervised clustering method, training an unsupervised earthquake waveform classification and recognition model.
[0075] The variational autoencoder includes a waveform encoder neural network and a waveform decoder neural network. Specifically, step S3 includes:
[0076] Step S31, merging and confusing the real earthquake event waveform sample set and the simulated earthquake waveform sample set to form a training data set for an unsupervised earthquake waveform classification and recognition model, wherein the dimension of the earthquake waveform samples in the training data set is also 6000.
[0077] After obtaining the basic data set, the data set is split into a training set and a test set, and the self-encoding and decoding of seismic waveform features are realized through the training set. In terms of the test set of the unsupervised seismic waveform classification and recognition model, only real seismic event samples are used for testing to avoid overfitting or underfitting of the unsupervised event classifier.
[0078] Step S32, input the seismic waveforms in the training data set into the waveform encoder, and implement dimensionality reduction encoding of the seismic waveform samples in the training data set through multiple data processing layers of the waveform encoder neural network, thereby automatically extracting waveform features from high dimensions to low dimensions for the seismic waveform samples in the training data set.
[0079] The seismic waveforms in the training data set are input into the waveform encoder, and the seismic waveform samples in the training data set are dimensionality-reduced encoded through multiple data processing layers of the waveform encoder neural network. The dimension of the seismic waveform samples in the training data set after dimensionality-reduction encoding is 1000, thereby automatically extracting the waveform features of the seismic waveforms in the training data set from high dimensions to low dimensions. The waveform features include but are not limited to frequency, first motion, period, amplitude ratio, seismic phase, wave train attenuation and surface wave development.
[0080] In other words, through the design of the waveform encoder, the characteristics of frequency, initial motion, period, amplitude ratio, seismic phase, wave train attenuation and surface wave development in the real seismic waveform can be automatically extracted. After the feature extraction, the seismic wave train is reduced from 6000 dimensions to 1000 dimensions, realizing the dimensionality reduction encoding of the seismic waveform.
[0081] Step S33, adding random noise to the seismic waveform samples obtained after dimensionality reduction encoding, and inputting the seismic waveform samples obtained after adding random noise into the waveform decoder, and upgrading the seismic wave train through the waveform decoder, so that the dimension of the seismic waveform samples output from the output end of the waveform decoder is aligned with the dimension of the seismic waveform samples input to the input end of the waveform encoder.
[0082] Step S34, by performing batch fitting learning on the seismic waveform samples output from the output end of the waveform decoder and the seismic waveform samples input to the input end of the waveform encoder, the seismic waveform samples finally output from the output end of the waveform decoder and the seismic waveform samples input to the input end of the waveform encoder are highly consistent in distribution, that is, the variance is minimized.
[0083] Step S35, the seismic waveform sample finally outputted by the output end of the waveform decoder is a highly summarized characteristic distribution of the seismic waveform samples in the training data set; an unsupervised clustering algorithm is used to calculate the characteristic distribution to generate clusters; when the quality of the clusters reaches a set threshold, the clusters are manually labeled as three earthquake categories: natural earthquakes, explosions, and collapses, thereby completing the unsupervised seismic attribute labeling of the training data set.
[0084] Among them, the quality of the clusters reaches the set threshold, that is, the distance between the center points of each cluster, and meets the set threshold. After the self-encoding and self-decoding operations, the classification results are forced to be manually labeled, and the seismic waveforms are designated as natural earthquakes, explosions, and collapses, thus completing the unsupervised attribute labeling.
[0085] Step S36, using the training data set with earthquake category labels, adopting a multi-layer convolution classification neural network to train an unsupervised earthquake waveform classification and recognition model.
[0086] Step S3 adopts the "self-encoding-self-decoding" data processing process as a whole. In the self-encoding process, the data seismic waveform is reduced in dimension through different data processing layers to extract the key features of the seismic wave train. Then, through the self-decoding process, the extracted key features are upgraded in dimension through different data processing layers until the output layer reaches the same data dimension as the input layer. By comparing the output variance through a large number of machine learning methods, weight tuning is achieved, and finally the optimal structure is achieved to produce a mathematical model for seismic waveform classification.
[0087] In the process of self-encoding dimensionality reduction, the input seismic waveform data is 6000-dimensional (100Hz sampling, total length of 1 minute). Through the designed waveform encoder neural network, the seismic waveform feature hidden code in the training data set is first flattened and expanded through the flattening layer, reducing the 6000 dimension to 100 dimensions. Then, the hidden code features are enriched through the design of the intermediate hidden layer and the reverse LeakyReLu and deconvolution operations. Finally, the Dropout layer is used to randomly discard the fitting weights to prevent overfitting.
[0088] Through batch fitting learning, the input and output seismic waveforms of the variational autoencoder are highly consistent in distribution, that is, the variance is minimized. The output of the encoder is a highly generalized feature distribution of the seismic waveform sample, which is calculated by clustering, and some typical cluster samples are manually analyzed and labeled. The quality of the cluster is measured by the sum of squared errors. After reaching a certain threshold, the cluster seismic waveform data set is labeled into three categories: natural earthquake, explosion, and collapse, thus completing the unsupervised attribute labeling.
[0089] In order to prevent overfitting caused by too many network layers, we use batch normalization in the encoding-decoding process. By normalizing the input of each layer, we can effectively make the data obey a fixed data distribution, thereby solving the problem of weight gradient disappearance or excessive deviation during the learning process. According to the accumulation cycle of earthquake events, after accumulating a certain amount of sample sets, the encoding-decoding process is dynamically re-performed to dynamically extract new features.
[0090] Step S4, real-time acquisition of seismic waveforms and detection of seismic events, inputting the acquired seismic waveforms into a trained unsupervised seismic waveform classification and recognition model to obtain a classification qualitative probability of the detected seismic events.
[0091] For the latest detected earthquake events, according to the clustering principle, probability output is directly performed based on the existing unsupervised three-classification earthquake waveform classification and recognition model, thereby realizing real-time classification and characterization of new earthquake events. Figures 2 to 4 A seismic waveform diagram corresponding to a natural earthquake event, an explosion event and a collapse event is provided respectively.
[0092] Further, after step S4, the method further includes:
[0093] Step S5, obtaining the positioning result of the detected earthquake event, storing the positioning result and the classification and qualitative probability of the detected earthquake event in the form of a data table, and using the online WebGis technology to display the positioning result and the classification and qualitative probability in real time on the display interface of the terminal.
[0094] The terminal may be, but is not limited to, a display screen, a smart phone or a computer.
[0095] For newly detected earthquake events, the present invention uses the P-wave phase as a marker from the data stream of the seismic database to perform minute-level seismic wave train segment interception to form a multi-channel seismic waveform data set sample. After importing this sample into the unsupervised seismic waveform classification and recognition model, the classification and qualitative probability of the earthquake event is output. The present invention stores the location results, classification and qualitative probability of the earthquake event and other information in the form of a data table.
[0096] The present invention uses a minute-level polling method to query the stored data table. Once new earthquake event information is detected, the information is automatically read out and displayed on the display screen in real time.
[0097] In the terminal display interface, the main functions implemented are as follows:
[0098] (1) Earthquake statistics by period (week, month, year):
[0099] The latest earthquake records are displayed in a rolling manner, and earthquake queries by period are realized through SQL statements, and earthquake event records are extracted in different periods of weeks, months and years.
[0100] (2) Comparison of earthquake types:
[0101] According to the earthquake type, the highest qualitative probability of earthquake events is used to distinguish the types, and a pie chart is used to compare the last one or three months to understand the frequency of earthquake events of different earthquake types (natural earthquakes, explosions, collapses, etc.).
[0102] (3) Earthquake location by type:
[0103] Earthquake events that have occurred in the past month to the present are projected onto a web map according to coordinates, magnitude, type and other information, and displayed in real time. For newly occurring earthquakes, the map is automatically enlarged to the county level, and the earthquake coordinates are placed at the center of the map. The map is refreshed once a minute. After one hour, when it is refreshed again, if there is no new earthquake, the overall view is restored, and the map range is (31-37, 110-117), so that the location of the earthquake event and other information can be understood in real time.
[0104] (4) Comparison of earthquakes by region:
[0105] Draw a bar graph based on the number of earthquakes in prefecture-level cities. By comparing the bar graphs, we can understand the number of earthquakes in different prefecture-level cities and the probability of earthquakes in prefecture-level cities.
[0106] (5) Comparison of earthquake strain release:
[0107] Through the statistical calculation of earthquake frequency and earthquake strain release, we can understand the local earthquake stress release level. calculate.
[0108] (6) Earthquake frequency curve:
[0109] The trend curve is drawn using the number of earthquakes per month as the frequency point. It is then divided into three types (natural earthquakes, collapses, and explosions) to understand the trends of different types of earthquake events.
[0110] (7) Ranking of earthquake types:
[0111] It is to count the number of different types of earthquakes in different regions by type, with counties as units, so as to understand the occurrence patterns of different types of earthquakes in a county-level area.
[0112] The key technical points involved in the above functions are as follows:
[0113] (1) Use AJAX (Asynchronous JavaScript and XML) technology to achieve page refresh in seconds and data storage update in minutes.
[0114] (2) By implementing the WebGis function through an open source GIS platform, the subsequent risks of an earthquake can be assessed in real time by combining the detection results of active earthquake faults in Henan Province, the information of hazardous chemical enterprises from the emergency department, and the mudslide and landslide monitoring data from the natural resources department.
[0115] (3) Through static memory data storage technology, the commonly used earthquake event data can be read out once and used multiple times, which greatly improves the display and update performance of the display end. After testing, it can accommodate 100,000 concurrent requests at the same time.
[0116] Another flow chart of the method provided by the embodiment of the present invention is as follows Figure 5 shown.
[0117] In summary, the present invention has three key steps:
[0118] ① Seismic waveform feature enhancement technology processing flow (corresponding to step S2);
[0119] ② Unsupervised seismic waveform classification and probability output technical process (corresponding to step S3);
[0120] ③ Real-time display technology of earthquake location classification results (corresponding to step S5).
[0121] The software system that carries the present invention realizes the functions described in the invention through the seismic waveform recognition application service. The seismic waveforms are collected from the seismic stations through the communication link to the data stream service component in the data center of the cloud service. The seismic waveform recognition application service obtains the real-time seismic waveform through the dedicated link to the data stream service in the cloud service, enters the local algorithm processing flow, and calculates the different earthquake types through the algorithm designed by the present invention (the probability of the earthquake event being an explosion, natural earthquake, or collapse is given through unsupervised technology). The results are pushed to the dedicated information publishing service through the API to realize real-time recognition and classification of seismic waveforms.
[0122] The classification and qualitative results are stored in the database in the form of data tables. The classified earthquake events in the database are displayed in real time on large screens or smart terminals such as mobile phones through WebGis technology, realizing real-time monitoring of earthquake events and providing a basis for earthquake disaster prevention and mitigation.
[0123] Compared with existing technologies, the technical advantages of the three key steps are as follows:
[0124] ① Advantages of seismic waveform feature enhancement technology:
[0125] When using machine learning to solve problems related to seismic waveforms, the current method used to solve the common problem of insufficient learning samples is to use waveform rotation, P wave disturbance, random noise, forward and backward translation, random window, etc. to perform relative displacement of wave train points on seismic waveforms. The specific examples are as follows:
[0126] Waveform rotation: By rotating the original wave train by a certain angle, the waveform looks like another new data set. Generally, a random tilt of ±5 degrees is used to increase a part of the training data set.
[0127] P wave disturbance: The P wave train is disturbed by cyclically shifting the arrival position of the original wave train P wave. Generally, the P wave disturbance parameters are set randomly for 1-3 seconds.
[0128] Random noise: Randomly add interfering noise to the training data set to affect the weight of machine learning. Generally, the Gaussian method is used to add vertical noise of ±0.3 to the series.
[0129] Translation back and forth: The characteristics of the series are enhanced by translating the entire wave series back and forth. The commonly used translation parameters are random 1-3 seconds back and forth.
[0130] Random window: The data set is increased by random windowing. To ensure that key features are missed as little as possible, the window length set in the present invention is 50 seconds, covering 80% of the length of the entire wave train, effectively increasing part of the data set.
[0131] The advantage of this type of method is that it is simple to operate, only requires a simple transformation of the original seismic wave train, and has a small amount of calculation. However, the samples generated by this type of method are irrelevant to the group characteristics of the sample set, and the generated sample set has extremely limited effect in enhancing the group characteristics.
[0132] The seismic waveform feature enhancement technology adopted in the present invention extracts batches of seismic waveform group features by designing a generative adversarial network, and performs probabilistic evaluation of the authenticity of samples generated by the generative network by designing an identification network.
[0133] The feature extraction of the seismic waveform is targeted at each sampling point. For example, in the present invention, a 1-minute seismic waveform is used. The invented generation network adopts a 9-layer network design. The total number of network fitting parameters exceeds 100,000, covering 6,000 sampling points of the entire seismic waveform. The coverage of seismic waveform features far exceeds the existing seismic waveform enhancement technology.
[0134] The identification network designed by the present invention also adopts a 9-layer network design and uses network parameters of the same order of magnitude, that is, it has the same level of identification as the generation network. After the generation network and the identification network have gone through hundreds of generations of learning, the generation network has the ability to convert random Gaussian noise into seismic waveform samples. The seismic waveform sample set generated by the conversion has the same characteristic distribution as the original learned training seismic sample set, but the generated seismic wave trains have different morphologies, thereby improving the recognition ability of group characteristics for subsequent machine learning models.
[0135] The present invention innovates the expansion technology of seismic waveform samples, which is essentially different from the traditional data expansion technology through simple changes in wave trains. Its feature extraction and restoration capabilities are significantly improved, and it can be applied to data expansion in digital seismology research such as seismic tomography, earthquake positioning, and earthquake classification.
[0136] In our experiments, the model accuracy and recall rate were greatly improved in the machine learning classification ability experiment using the adversarial network sample set we designed and the sample set of the traditional method.
[0137] ② Advantages of unsupervised seismic waveform classification and probability output technology process:
[0138] Currently, the seismic industry generally has two mainstream technical routes for quickly classifying seismic waves through automated methods.
[0139] The first technical route is to pre-extract the waveform features through known seismic waveform features such as arrival time, initial phase, amplitude, period (or frequency), wave number, wave train morphology, recording duration, interference and superposition effect, and perform a unified classification according to different features, or use multiple features to extract and intersect them through voting. The classification with more votes is the result of the classifier, as illustrated by examples.
[0140] Initial motion symbol: The initial motion direction of the P-wave of natural earthquakes is uncertain, while the initial motion of the P-wave in the blasting record waveform is upward, the initial motion waveform is strong and sharp, and the duration of natural earthquakes is long. The compression wave generated by artificial blasting is an expansion wave, without quadrant distribution. Theoretically, the initial motion symbol of the P-wave is upward in the vertical direction of the seismic record. The vertical component of the P-wave of the compression wave generated by natural earthquakes has two directions, upward and downward, showing a quadrant distribution and having certain azimuth distribution characteristics. The clear waveform records of four stations in different azimuths are used for identification. However, in actual algorithms, it is not easy to extract the initial motion of small and medium-sized earthquake events.
[0141] Period: The period of seismic waves is one of the dynamic characteristics of seismic waves. The change of the dynamic characteristics of seismic waves depends to a certain extent on many factors such as the focal mechanism of the earthquake and the structure and properties of the medium. The period of artificial blasting is larger than that of earthquakes, the focal depth is shallower, the seismogenic range is concentrated, and generally has a strong P-wave group, the initial motion of the P-wave is strong and sharp, and the vibration attenuation is relatively fast. Natural earthquakes, on the other hand, have clear pulsation and high-frequency characteristics. The dominant period usually increases gradually with time from the first arrival. Generally, the S-wave period is greater than the P-wave period.
[0142] Amplitude ratio: Artificial blasting mainly generates longitudinal waves, but due to the influence of blasting methods, complex propagation paths, etc., shear waves may be generated. Therefore, artificial blasting has a strong P-wave group, and the S-wave is relatively weak. For natural earthquakes, the main occurrence is the shear dislocation of rocks, so most earthquakes will generate strong S-waves (Zhao Yong et al., 1995). Since the vertical ground vibration acceleration, vibration velocity, etc. in the near-source area of artificial blasting are all larger than the horizontal motion, the amplitude of the S-wave is less than the amplitude of the P-wave, that is, As / AP < 1, and the attenuation in the near-source area is very fast. Generally, the P-wave and the S-wave arrive almost simultaneously. (Cai Xinghui et al., 2013) The average amplitude ratio of natural earthquakes in Fujian region is 2.8 - 4.8, while that of blasting is close to 1, with an average of 0.8 - 1.1. The ratio is related to regional differences and focal mechanisms.
[0143] Phase characteristics: Natural earthquakes are generated by the rupture and dislocation of rocks. Generally, the focal depth is much deeper than that of artificial blasting. The propagation path of seismic waves passes through the reflection and refraction of multiple layers of media. Therefore, the components of seismic waves recorded by stations are relatively rich. The volume of the artificial blasting source is small, which can be considered as an instantaneous expansion source, and it mostly occurs on the surface. The propagation path of the wave is single, and the seismic phases are relatively simple (Wang Tingting et al., 2014).
[0144] Attenuation characteristics: Since artificial blasting occurs on the surface, a relatively long distance in the propagation is in the shallow surface layer (soil layer), the medium density is low, the energy loss is large, and the attenuation is very fast with distance. The attenuation is measured in meters. Generally, the duration of blasting is about a few seconds (when the amount of explosives is small and the distance to the explosion center is close, it is generally not more than 0.55). Natural earthquakes generally occur from a few to tens of kilometers underground. The propagation path of the wave is mainly in the rock layer, the energy loss is small, the attenuation is slow, and the waveform lasts for a long time (Li Fa et al., 2012), generally 105 to tens of seconds or more.
[0145] Surface wave development: From the perspective of surface wave development, the artificial blasting source is relatively shallow, and the outstanding feature is the development of short-period surface waves. Obvious surface waves can be observed in the records (Lu Shijun, 2009). The basic seismic phases of natural earthquakes within 200 km of the epicenter are two direct longitudinal waves and transverse waves, Pg and Sg, and surface waves are generally not developed. When the epicenter distance is small, surface waves cannot be distinguished.
[0146] Time-frequency domain conversion analysis, seismic motion is a complex spatiotemporal variation process, affected by factors such as site and source mechanism, the time-frequency characteristics of earthquakes in different regions are different. In recent years, with the enrichment and improvement of seismic motion records, methods such as short-time technology, Cohen time-frequency analysis, and wavelet analysis have also been applied to earthquake time-frequency analysis, but there are also many shortcomings, such as window leakage, frequency shift, cross terms and noise, which are not accurate in removing information and confusing it in the signal, which is not conducive to understanding the true characteristics of the spectrum.
[0147] The use of such methods is generally limited to one or more features, but the characteristics of seismic waves are not fully understood at present, and these known features cannot cover all the characteristics of seismic waves. Therefore, the use of these methods first of all has the risk of generalizing. At the same time, in the extraction of such features, some processes are extremely complicated and are not conducive to direct reference by real-time automated technology systems.
[0148] The second technical route is that in recent years, some neural network methods represented by machine learning and deep learning methods have emerged. The advantage of this type of method is that it does not extract a priori seismic wave features, but instead leaves the seismic wave feature extraction process to the neural network. Although this type of method has a more obvious advantage in feature extraction, it relies on a large amount of historical sample data, which is equivalent to gaining experience from historical data. The quality of historical data greatly affects the performance of the final classification model. Moreover, earthquake events, especially some destructive earthquakes or non-natural earthquakes, are low-probability events, and the accumulation of samples is very difficult, and high-quality sample classification data is not easy to obtain.
[0149] The present invention adopts a method that absorbs the advantages of technical route one and technical route two, and innovatively adopts the coding-self-coding unsupervised classification technology to apply to seismic waveform data. In terms of feature extraction, the present invention uses a 9-layer neural network to reduce the dimension of all points of the original seismic wave train, and then uses a 9-layer neural network to verify the dimensionality of the encoded seismic wave train. The encoded seismic wave train is innovatively used to achieve clustering, thereby greatly getting rid of the dependence of seismic wave classification technology on manual work. By using the seismic wave classification technology provided by the present invention, compared with the use of machine learning, "deep learning", "support vector machine" and other technologies, the demand for seismic annotation data sets can be reduced by more than 60%, but the accuracy can still reach the highest accuracy of the data set method and the lowest magnitude limit of the regional seismic network monitoring capability.
[0150] ③Technical advantages of real-time display of earthquake location classification results:
[0151] Generally, similar seismic wave classification technologies are only used to achieve classification without subsequent applied research. Based on the innovation of seismic event classification technology, the present invention has developed a real-time display technology for positioning and classification results to improve the practicality and ease of use of the present invention.
[0152] After the earthquake waveform classification is realized by adopting the present invention, the real-time location and type information of the earthquake event are updated on the map through the online WebGIS technology, and the functions of earthquake statistics by period, earthquake type comparison, earthquake occurrence area comparison, earthquake strain release comparison, earthquake frequency curve, earthquake type ranking, etc. are realized in the form of H5 page through SQL query.
[0153] And the display interface can be applied to mobile phones, large screens, computers and other terminals.
[0154] That is to say, the main feature of the present invention is to use unsupervised technology to realize seismic waveform classification, that is, a large number of manually annotated data sets are not required for seismic waveforms, and the generation of artificial data sets requires a lot of labor and financial costs and time. For earthquake event data observed by regional seismic networks in areas with few earthquakes, a generative adversarial network is used to expand the original data set. When expanding the original data set, the seismic waveform recording features are extracted, and factors such as local geological conditions and seismic wave propagation paths are considered, which can effectively solve the problem of few seismic data training samples.
[0155] The waveform sample generative adversarial network designed in the present invention can effectively extract earthquake waveform features to expand the earthquake event data set. This method is different from general image enhancement technology. The generated earthquake waveform samples carry local earthquake structure feature information and can be more effectively recognized by subsequent machine learning classifiers to improve performance.
[0156] The present invention also uses variational autoencoding technology to automatically cluster earthquake waveform samples, realizing automatic labeling and classification of earthquake types for large quantities of earthquake event data; after the waveform classification labels are formed, a more advanced convolution classification neural network is subsequently used to learn and train the classifier. On this basis, the trained unsupervised earthquake waveform classification and recognition model can detect earthquake events monitored by the regional seismic network in real time and give the earthquake event type (the present invention already supports automatic recognition of earthquake types such as natural earthquakes, explosions, and collapses). After the classifier is generated, the recognition time for earthquake events is less than 1 second, and the recognition accuracy reaches more than 95%, which is higher than the classification results of existing earthquake waveform classification methods. Afterwards, through the online WebGIS technology, the classification and positioning results of the earthquake are displayed in real time to assist in earthquake relief.
[0157] For unknown earthquake events detected by the regional seismic network, when a certain number of them accumulate, the technical solution designed by the present invention can realize rapid adaptation of the classification mathematical model of the new earthquake type by only changing one parameter of the type category in the automatic clustering algorithm, so that the technical system can automatically identify the new earthquake event type in a relatively short time; it can increase the number of earthquake event types that can be detected and identified by the regional seismic network in a short time, and even pre-identify unknown earthquake event types in advance.
[0158] In general, the present invention does not rely on a large amount of manual work to classify and label data samples. At the same time, because the data expansion technology realizes self-learning of some seismic wave characteristics, the demand for data samples is far lower than that of general "deep learning" methods.
[0159] The above improvements can save a lot of manpower and material costs for the implementation of similar technologies, and provide a more effective technical solution for the establishment and rapid deployment of seismic wave rapid classification models.
[0160] In summary, the present invention designs a real-time classification solution for seismic waveforms based on unsupervised clustering, which solves the problem that the establishment of automatic detection data models for regional network needs to rely on a large number of manually labeled event types, and the data set is inaccurate and incomplete.
[0161] In this scheme, a feature extraction algorithm based on generative adversarial networks is proposed, which can generate similar samples based on conditions such as earthquake propagation path and geological characteristics of the source area, effectively expanding the earthquake event training data set. It can not only be applied to the training and learning of subsequent earthquake event classification networks and data model fitting, but also can be applied to crustal structure tomography in other regions, earthquake focal mechanism solution fitting, and regional seismic network earthquake rapid warning drills.
[0162] Aiming at the problem of seismic waveform detection in regional seismic networks, a complete set of full-process technical methods based on unsupervised clustering are designed. Through the waveform clustering method of the seismic waveform event data set, seismic waveform series with common characteristics are grouped into one category through mean and variance, thereby realizing automatic classification and labeling of seismic events.
[0163] On this basis, a classification and recognition model is formed to realize online detection. For earthquake events that occur after the model is put into operation, the seismic waveform is transmitted to the classification and recognition model through the automation system. The model gives the qualitative probability of earthquake event classification in real time, realizing real-time and rapid classification and detection of earthquake events.
[0164] Using the qualitative results of seismic wave classification produced by connecting to the seismic data stream, an earthquake positioning and classification qualitative result display module was invented, which displays in real time the location, time, magnitude of earthquake events in the monitoring area and the type of event qualitatively classified by the system, providing a basis for earthquake disaster prevention and mitigation.
[0165] At present, the lower limit of the magnitude of earthquake events supported by the present invention has reached the lower limit of the monitoring capability of the regional seismic network. After the earthquake event occurs, it has supported the real-time classification and characterization of earthquake events such as natural earthquakes, explosions, and collapses.
[0166] The present invention is based on an unsupervised machine learning algorithm, and uses the original earthquake event data observed by the regional seismic network for training to fit an efficient local earthquake event classifier. It can not only accurately and quickly identify the type of local earthquake events, and has supported the rapid identification of natural earthquakes, explosions, collapses and other event types, but also can quickly be compatible with unknown earthquake event types, and quickly expand the regional network to automatically identify earthquake event types.
[0167] The present invention provides an efficient solution for determining the nature of earthquake events without the need for artificial data sets:
[0168] 1. The present invention can solve the problem of rapid and accurate identification of earthquake event types that has troubled the seismic network, enrich the types of earthquake event detection in the seismic network, and improve the earthquake monitoring capability of the seismic network, without the need for large amounts of artificial data sets.
[0169] 2. The present invention can provide a mature unsupervised earthquake event type detection solution for similar needs of earthquake observation departments, and provide a basis for judging the nature of earthquake event types in various regions.
[0170] 3. The software system of the present invention can be easily promoted to seismic networks across the country for use, effectively improving the earthquake monitoring and classification capabilities across the country, enriching the rapid output of seismic networks, and also providing the possibility for rapid discovery of new types of earthquake events, thereby improving the social service efficiency of the earthquake industry and enhancing the role of earthquake observation in the development of the national economy.
[0171] It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0172] In one embodiment, Figure 6 As shown, a real-time classification detection device for seismic waveforms based on unsupervised clustering is provided, comprising the following program modules:
[0173] A real earthquake waveform sample set generation module 601 is used to form a real earthquake event waveform sample set based on earthquake event data observed by a regional seismic network;
[0174] A simulated seismic waveform sample set generation module 602 is used to extract original seismic noise information and generate a simulated seismic waveform sample set using a generative adversarial network to achieve expansion of seismic waveform samples;
[0175] An unsupervised earthquake waveform classification and recognition model training module 603 is used to train an unsupervised earthquake waveform classification and recognition model based on the real earthquake event waveform sample set and the simulated earthquake waveform sample set using a variational autoencoder and an unsupervised clustering method;
[0176] The earthquake event detection module 604 is used to collect earthquake waveforms in real time and detect earthquake events, and input the collected earthquake waveforms into the trained unsupervised earthquake waveform classification and recognition model to obtain the classification qualitative probability of the detected earthquake events.
[0177] The device also includes a classification result display module 605, which is used to obtain the positioning results of the detected earthquake events, store the positioning results and classification qualitative probabilities of the detected earthquake events in the form of a data table, and use online WebGis technology to display the positioning results and classification qualitative probabilities in real time on the display interface of the terminal.
[0178] For the specific definition of an unsupervised clustering seismic waveform real-time classification detection device, please refer to the definition of an unsupervised clustering seismic waveform real-time classification detection method above, which will not be repeated here. Each module in the above-mentioned unsupervised clustering seismic waveform real-time classification detection device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0179] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, a real-time classification detection method of seismic waveforms based on unsupervised clustering is implemented.
[0180] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0181] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, which involves all or part of the processes in the above-mentioned embodiment method.
[0182] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which involves all or part of the processes in the above-mentioned embodiment method.
[0183] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0184] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0185] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A real-time classification detection method for seismic waveforms based on unsupervised clustering, characterized in that: include: Step S1, forming a real earthquake event waveform sample set based on earthquake event data observed by the regional seismic network; Step S2, extracting original seismic noise information, and using a generative adversarial network to generate a simulated seismic waveform sample set to expand the seismic waveform samples; Step S3, according to the real earthquake event waveform sample set and the simulated earthquake waveform sample set, using a variational autoencoder and an unsupervised clustering method, training an unsupervised earthquake waveform classification and recognition model; Step S4, collecting seismic waveforms in real time and detecting seismic events, inputting the collected seismic waveforms into a trained unsupervised seismic waveform classification and recognition model to obtain a classification qualitative probability of the detected seismic events; The generative adversarial network includes a seismic wave generator and a seismic wave discriminator; the variational autoencoder includes a waveform encoder and a waveform decoder; The step S2 specifically includes: Step S21, upsampling the real seismic event waveform samples in the real seismic event waveform sample set through the seismic wave generator; extracting original seismic noise information, the original seismic noise information has the same dimension as the real seismic event waveform samples after upsampling, and inputting the original seismic noise information into the seismic wave generator; Step S22, generating a batch of simulated seismic waveform samples according to the fitting parameters by the seismic wave generator, sending the up-sampled real seismic event waveform samples and the batch of simulated seismic waveform samples generated by the seismic wave generator to the seismic wave identifier at the same time; in the seismic wave identifier, the received real seismic event waveform samples are associated with flag 1 and the batch of simulated seismic waveforms generated by the seismic wave generator are associated with flag 0; Step S23, associating the seismic wave identifier with the seismic wave generator, and when the seismic wave identifier completes training, measuring the difference between the real seismic event waveform sample and a batch of simulated seismic waveform samples generated by the seismic wave generator through the designed loss function, and feeding back the difference to the seismic wave generator, so that the seismic wave generator adjusts the fitting parameters according to the received difference; Step S24, continuously executing steps S22 to S23 to perform multiple batches of training and learning until the similarity between a batch of simulated seismic waveform samples generated by the seismic wave generator and the real seismic event waveform samples reaches a preset threshold; Step S25, taking the corresponding batch of simulated seismic waveforms finally generated by the seismic wave generator as a simulated seismic waveform sample set, thereby realizing the incremental expansion of seismic waveform samples; The step S3 specifically includes: Step S31, merging and confusing the real earthquake event waveform sample set and the simulated earthquake waveform sample set to form a training data set for an unsupervised earthquake waveform classification and recognition model; Step S32, inputting the seismic waveforms in the training data set into a waveform encoder, and implementing dimensionality reduction encoding of the seismic waveform samples in the training data set through multiple data processing layers of the waveform encoder neural network, thereby automatically extracting waveform features existing in the seismic waveform samples in the training data set from high dimensions to low dimensions; Step S33, adding random noise to the seismic waveform samples obtained after the dimensionality reduction coding, and inputting the seismic waveform samples obtained after adding the random noise into the waveform decoder, and performing dimension increase on the seismic wave train through the waveform decoder, so that the dimension of the seismic waveform samples output from the output end of the waveform decoder is consistent with the dimension of the seismic waveform samples input to the input end of the waveform encoder; Step S34, performing batch fitting learning on the seismic waveform samples outputted from the output end of the waveform decoder and the seismic waveform samples inputted to the input end of the waveform encoder, so that the seismic waveform samples finally outputted from the output end of the waveform decoder and the seismic waveform samples inputted to the input end of the waveform encoder are highly consistent in distribution; Step S35, the seismic waveform sample finally outputted by the output end of the waveform decoder is a highly summarized characteristic distribution of the seismic waveform samples in the training data set; the characteristic distribution is calculated using an unsupervised clustering algorithm to generate clusters; when the quality of the clusters reaches a set threshold, the clusters are labeled as three earthquake categories: natural earthquakes, explosions, and collapses, thereby completing the unsupervised seismic attribute labeling of the training data set; Step S36, using the training data set with earthquake category labels, adopting a multi-layer convolution classification neural network to train an unsupervised earthquake waveform classification and recognition model.
2. The unsupervised clustering seismic waveform real-time classification detection method according to claim 1 is characterized in that: The step S1 specifically includes: Step S11, after the regional seismic network observes the occurrence of an earthquake event, the corresponding real earthquake event waveform is picked up through the waveform interception algorithm; through the set threshold, the long and short window trigger algorithm is used to implement P wave phase annotation on the picked up real earthquake event waveform, thereby forming the corresponding real earthquake event waveform sample; Step S12, after a plurality of earthquake events are observed, each earthquake event observed is processed according to step S11 to form a real earthquake event waveform sample set.
3. The unsupervised clustering seismic waveform real-time classification detection method according to claim 1 is characterized in that: The waveform characteristics include frequency, first motion, period, amplitude ratio, phase, wave train attenuation and surface wave development.
4. The unsupervised clustering seismic waveform real-time classification detection method according to claim 1 is characterized in that: The dimensions of the real earthquake event waveform samples after upsampling and the dimensions of the earthquake waveform samples in the training data set are both 6000; the dimension of the earthquake waveform samples in the training data set after dimensionality reduction encoding is 1000.
5. The unsupervised clustering seismic waveform real-time classification detection method according to claim 1 is characterized in that: A LeakyRelu network layer is introduced into the seismic wave generator, the seismic wave discriminator adopts ReLU as the activation function, and a Dropout layer is used to prevent overfitting.
6. The unsupervised clustering seismic waveform real-time classification detection method according to claim 1 is characterized in that: After step S4, the method further comprises: Step S5, obtaining the positioning result of the detected earthquake event, storing the positioning result and the classified qualitative probability of the detected earthquake event in the form of a data table, and using online WebGis technology to display the positioning result and the classified qualitative probability in real time on the display interface of the terminal.
7. The unsupervised clustering seismic waveform real-time classification detection method according to claim 6 is characterized in that: The classification qualitative probability is a classification probability of natural earthquake, explosion and collapse; The step S5 also includes: scrolling the latest earthquake record on the display interface of the terminal; using a pie chart to display the number of occurrences of three types of earthquakes for all earthquake events that occurred within a preset time length; counting the total number of earthquake events at multiple prefecture-level cities and displaying them using a bar chart; displaying earthquake events that occurred from the last month to the current moment on a Web map according to coordinates, magnitude and category; counting the total number of monitored earthquake events, calculating the earthquake strain release, and displaying the total number of earthquake events and the earthquake strain release on the display interface of the terminal.
