A system capable of encrypting earthquake early warning information
By fine processing of seismic signals and adjusting dynamic encryption strategies, the problems of security and delay in traditional encryption technology in complex environments are solved, and efficient, accurate and reliable transmission of earthquake warning information is achieved.
Patent Information
- Application Number
- CN202410988064.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-07-23
AI Technical Summary
When traditional earthquake warning information encryption technology faces complex and changing network environments and system conditions, fixed encryption methods may not be able to ensure sufficient security, and may lead to delay in information transmission when network congestion or resource shortage, affecting early warning. Timely.
An earthquake warning information encryption system was designed to process seismic signals through signal acquisition, identification, polarization analysis, discrimination and encryption modules, calculate dynamic influence factors to adjust the encryption strategy, generate encrypted signals, and ensure the security and accuracy of information. .
The system can improve the security and accuracy of earthquake warning information in complex environments, reduce false alarms and missed reports, optimize the encryption process to reduce transmission delay, adapt to different network conditions, and enhance the robustness and reliability of the system.
Smart Images

Figure CN118540157B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of data processing, and in particular to a system capable of encrypting earthquake early warning information. Background Art
[0002] Among geological disasters, earthquakes are highly valued due to their suddenness and powerful destructive power. In order to reduce casualties and property losses caused by earthquakes, earthquake early warning systems have been developed and applied. These systems can quickly issue early warnings within a few seconds to tens of seconds after an earthquake occurs by monitoring earthquake signals in real time. However, although traditional earthquake early warning information encryption technology is designed to provide protection for information, fixed encryption methods may not guarantee sufficient security when faced with changing and complex network environments and system conditions.
[0003] For example, although encryption technology can enhance the security of information, fixed encryption methods may have some flaws when facing the evolving means of cyber attacks. If the encryption algorithm is cracked, the security of the entire early warning system will be threatened. In addition, when the network is congested or system resources are tight, fixed encryption algorithms may increase transmission delays due to their high computing requirements, and sometimes even cause information to fail to be delivered in time. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a system for encrypting earthquake early warning information, which can adapt to various complex and changeable network environments and system conditions, not only enhancing the robustness of the system, but also enabling the system to quickly adjust the encryption strategy when facing new network threats in the future.
[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0006] A system for encrypting earthquake early warning information, comprising:
[0007] A signal acquisition module is used to acquire seismic signals from seismic stations in real time;
[0008] An identification module, used for identifying seismic waves in seismic signals;
[0009] A polarization analysis module is used to perform polarization analysis on seismic waves to obtain analysis results;
[0010] The discrimination module is used to identify and remove some interference noise in the analysis results to obtain a purified seismic wave signal;
[0011] An analysis module is used to process the purified seismic wave signal, obtain the seismic peak displacement and characteristic period of the trigger information, and perform compatibility analysis on the seismic peak displacement and characteristic period to identify effective seismic waves;
[0012] The encryption module is used to calculate the dynamic impact factor according to the current system environment and network status; according to the dynamic impact factor, the effective seismic wave is encrypted to generate an encrypted signal.
[0013] Furthermore, real-time acquisition of seismic signals from seismic stations includes:
[0014] In the signal acquisition module, a group of particles are initialized, each particle represents a seismic signal state, and the particle state includes the amplitude, frequency, and phase characteristics of the signal;
[0015] For each particle, a weight is assigned according to the matching degree between the signal state it represents and the seismic signal acquired in real time;
[0016] According to the weight of the particles, the particle set is resampled, and the current seismic signal state is estimated according to the resampled particle set;
[0017] As new seismic signals are acquired, the particle set and state are continuously updated to obtain seismic signals processed by particle filtering.
[0018] Furthermore, the weight calculation formula is:
[0019] ,in, represents the weight of the i-th particle, It represents the value of the i-th particle on the j-th feature, and represents a point of the particle in the multidimensional feature space. represents the value of the real-time signal on the jth feature, represents the exponential parameter, A coefficient representing the effect of noise level, represents the coefficient of the dynamic difference, n represents the dimension of the signal feature, Represents the average value of the real-time signal, and Represents the particles at adjacent time points and The status value of and Respectively represent the real-time signal at adjacent time points and The value of and Indicates the moments of adjacent time points; i represents the index of the data point; j represents the summation symbol In the loop, j is a loop variable used to iterate over all integers from 1 to n; k represents the index.
[0020] Furthermore, according to the weight of the particles, the particle set is resampled, and the current seismic signal state is estimated according to the resampled particle set, including:
[0021] According to the weight of the particles, the particle set is resampled, and the resampled particle set is
[0022] Calculate the current seismic signal state, where is the current state of the seismic signal; N is the number of particles; is the state vector of the ith particle; is the weighted average of all particle states, is the covariance matrix of the state of the ith particle, and T represents the transpose of the vector; Represents the summation symbol, which is used to sum all data points from 1 to N.
[0023] Further, identifying seismic waves in seismic signals includes:
[0024] Extracting seismic wave-related features from seismic signals processed by particle filtering, including waveform, amplitude and frequency;
[0025] According to the relevant characteristics, the seismic waves in the seismic signal are identified through the preset seismic wave identification model.
[0026] Furthermore, polarization analysis is performed on the seismic waves to obtain analysis results, including:
[0027] Determine a time window containing a target wave field, and extract data within the time window from the three-component seismic record;
[0028] Calculate the center of gravity position of the particle in three-dimensional space based on the data in the extracted time window;
[0029] Solve the coefficients of the spatial linear equation based on the data and the center of gravity position in the time window;
[0030] According to the coefficients of the spatial linear equation, the propagation direction of the seismic wave in three-dimensional space and the polarization vector of the vibration characteristics are determined;
[0031] The polarization vector is analyzed to obtain an analysis result, wherein the analysis result includes a vibration direction and a propagation path of the seismic wave.
[0032] Furthermore, some interference noise in the analysis results is identified and removed to obtain a purified seismic wave signal, including:
[0033] Perform initial triangulation on the vibration direction and propagation path of the seismic wave to obtain each triangle after analysis;
[0034] Compare the geometric and physical properties of each triangle obtained after analysis to identify abnormal triangles;
[0035] A discrimination threshold is set. When the physical attribute of any triangle is greater than or equal to the discrimination threshold, the corresponding triangle is regarded as abnormal data caused by noise.
[0036] The abnormal triangles identified as noise are removed from the seismic wave signal to obtain a purified seismic wave signal.
[0037] Furthermore, the physical properties include the area, side ratio, and interior angle of the triangle.
[0038] Furthermore, the purified seismic wave signal is processed to obtain the seismic peak displacement and characteristic period of the trigger information, and the compatibility analysis of the seismic peak displacement and characteristic period is performed to identify the effective seismic wave, including:
[0039] In each triangular unit, the peak displacement of the seismic wave is calculated by interpolation method;
[0040] By measuring the time interval between two adjacent peaks in the seismic wave signal, the characteristic period value can be obtained;
[0041] Compare the peak displacement and characteristic period value of the seismic wave with known seismic data to obtain a comparison result;
[0042] The effective seismic waves are determined based on the comparison results and the compatibility of the known seismic data with the peak displacement and characteristic period values of the seismic motion.
[0043] Furthermore, according to the current system environment and network conditions, a dynamic impact factor is calculated; according to the dynamic impact factor, the effective seismic wave is encrypted to generate an encrypted signal, including:
[0044] According to the current system environment and network conditions,
[0045] Calculating Dynamic Impact Factor ,in, Indicates the current CPU usage, the value range is [0, 1]; Indicates the current memory usage, the value range is [0, 1]; Indicates the average delay time of the current network; Indicates the data transmission rate, Represents the threshold of network bandwidth; Represents the packet loss rate of the current network, and the value range is [0, 1]; , b, c, d, and is the adjustment factor; is the current time; , indicating periodic changes within 24 hours a day; is a phase shift; is the adjustment factor; is the base of natural logarithms;
[0046] The basic key and dynamic impact factor Combining by splicing to obtain combined data;
[0047] Passing the combined data to the SHA-256 hash function so that the SHA-256 hash function converts the combined data into a hash value of a fixed length;
[0048] The valid seismic waves are encrypted by hash values to generate an encrypted signal.
[0049] The above scheme of the present invention includes at least the following beneficial effects.
[0050] The encryption module encrypts the effective seismic waves, which improves the security of earthquake warning information. The system can adjust the dynamic impact factor according to the current system environment and network conditions, which makes the encryption method more flexible and changeable, effectively resists network attacks, and protects the warning information from being stolen or tampered with.
[0051] The system processes seismic signals in a sophisticated manner through multiple modules such as signal acquisition, recognition, polarization analysis, discrimination and analysis. It can accurately identify and eliminate interference noise, ensuring that only real and effective seismic wave signals are encrypted and transmitted, thereby improving the accuracy of early warning information and reducing the possibility of false alarms and missed alarms.
[0052] The encryption module takes network conditions into account when calculating the dynamic impact factor, which means that in the case of network congestion or resource constraints, the system can optimize the encryption process and reduce the transmission delay caused by encryption. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a schematic diagram of a system for encrypting earthquake early warning information provided by an embodiment of the present invention.
[0054] Figure 2 It is a schematic diagram of a flow chart of real-time acquisition of earthquake signals from seismic stations in a system with earthquake early warning information encryption provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0056] like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides a system for encrypting earthquake early warning information, comprising:
[0057] A signal acquisition module is used to acquire seismic signals from seismic stations in real time;
[0058] An identification module, used for identifying seismic waves in seismic signals;
[0059] A polarization analysis module is used to perform polarization analysis on seismic waves to obtain analysis results;
[0060] The discrimination module is used to identify and remove some interference noise in the analysis results to obtain a purified seismic wave signal;
[0061] An analysis module is used to process the purified seismic wave signal, obtain the seismic peak displacement and characteristic period of the trigger information, and perform compatibility analysis on the seismic peak displacement and characteristic period to identify effective seismic waves;
[0062] The encryption module is used to calculate the dynamic impact factor according to the current system environment and network status; according to the dynamic impact factor, the effective seismic wave is encrypted to generate an encrypted signal.
[0063] In the embodiment of the present invention, the seismic signal of the seismic station can be captured instantly to ensure the timeliness and accuracy of the information; the seismic wave can be accurately identified from the complex seismic signal, which is helpful for the accuracy of the subsequent analysis; through the recognition algorithm, the key seismic wave data can be quickly extracted to improve the processing efficiency; polarization analysis can provide the propagation direction and vibration characteristics of the seismic wave; by identifying and eliminating the interference noise, the signal-to-noise ratio of the seismic wave signal can be significantly improved, so that the subsequent analysis is more accurate, and the purified seismic wave signal can more truly reflect the actual situation of the earthquake event, and improve the reliability of the early warning system; by analyzing the purified seismic wave signal, the peak displacement and characteristic period of the earthquake motion are obtained, and the possible impact of the earthquake can be more accurately predicted. The compatibility analysis of the peak displacement and characteristic period of the earthquake motion is helpful to identify and exclude abnormal data and ensure the accuracy of the early warning information. The dynamic impact factor is calculated according to the system environment and network status, so that the encryption process is more flexible and unpredictable, and the security of the data is enhanced. By encrypting the effective seismic wave and generating an encrypted signal, sensitive information can be prevented from being accessed or tampered with by unauthorized means, and the confidentiality of the earthquake early warning information can be ensured.
[0064] In an embodiment of the present invention, real-time acquisition of seismic signals from seismic stations includes:
[0065] In the signal acquisition module, a group of particles are initialized, each particle represents a seismic signal state, and the particle state includes the amplitude, frequency, and phase characteristics of the signal;
[0066] For each particle, a weight is assigned according to the matching degree between the signal state it represents and the seismic signal acquired in real time;
[0067] According to the weight of the particles, the particle set is resampled, and the current seismic signal state is estimated according to the resampled particle set;
[0068] As new seismic signals are acquired, the particle set and state are continuously updated to obtain seismic signals processed by particle filtering. Specifically, after resampling, some or all particles in the original particle set are replaced with newly selected particles. If necessary, new particles can also be added to keep the size of the particle set unchanged. After updating the particle set, the weight of each particle needs to be recalculated or adjusted to ensure that the sum of their weights is 1. This is usually achieved through normalization. As new observation data arrives, the above steps are repeated to continuously optimize the particle set to more accurately reflect the system state. The weight calculation formula is:
[0069] ,in, represents the weight of the i-th particle, It represents the value of the i-th particle on the j-th feature, and represents a point of the particle in the multidimensional feature space. represents the value of the real-time signal on the jth feature, represents the exponential parameter, A coefficient representing the effect of noise level, represents the coefficient of the dynamic difference, n represents the dimension of the signal feature, Represents the average value of the real-time signal, and Represents the particles at adjacent time points and The status value of and Respectively represent the real-time signal at adjacent time points and The value of and Indicates the moments of adjacent time points; i represents the index of the data point; j represents the summation symbol In the loop, j is a loop variable used to iterate over all integers from 1 to n; k represents the index.
[0070] In an embodiment of the present invention, through the particle filtering algorithm, the system can dynamically adjust the particle set so that the state of the particles gradually approaches the real state of the real-time seismic signal. This method takes into account multiple characteristics of the signal (such as amplitude, frequency, phase), so that the changes in the seismic signal can be captured more comprehensively and the accuracy of the signal state estimation can be improved. The weight calculation formula takes into account the noise level (through the β coefficient) and the dynamic change of the signal (through the γ coefficient), which enables the algorithm to maintain good performance in the face of noise interference or rapid signal changes. Therefore, the system can operate stably in a complex and changeable seismic environment. As new seismic signals are acquired, the system can update the particle set and state estimation in real time, ensuring a rapid response to the current seismic signal.
[0071] In an embodiment of the present invention, the particle set is resampled according to the weight of the particle, and the current seismic signal state is estimated according to the resampled particle set, including:
[0072] According to the weight of the particles, the particle set is resampled, and the resampled particle set is
[0073] Calculate the current seismic signal state, where is the current state of the seismic signal; N is the number of particles; is the state vector of the ith particle; is the weighted average of all particle states, is the covariance matrix of the state of the ith particle, and T represents the transpose of the vector; Represents the summation symbol, which is used to sum all data points from 1 to N.
[0074] In an embodiment of the present invention, by comprehensively considering the weight, state vector and covariance matrix of each particle, the method can provide a more accurate estimation of the state of the seismic signal. The weighted average and the inverse of the covariance matrix in the formula ensure that the state of particles with less uncertainty is given greater attention during the estimation process, thereby improving the accuracy of the overall estimation. The method effectively integrates information from different particles. Each particle represents a possible state of the seismic signal. Through weighted average and covariance adjustment, the system can comprehensively consider the information of all particles and obtain a more reliable state estimation. Since the weights of the particles are dynamically updated, the method can quickly adapt to changes in the seismic signal. The resampling process ensures that the particle set can always reflect the most likely signal state at the moment, thereby improving the dynamic response capability of the system. By introducing the inverse of the covariance matrix, the method can take into account the uncertainty of the states of different particles in the state estimation, which means that even if there is a large uncertainty in the state of some particles, the method can still robustly estimate the current state of the seismic signal.
[0075] In an embodiment of the present invention, identifying seismic waves in seismic signals includes:
[0076] Extracting features related to seismic waves from seismic signals processed by particle filtering, including waveform, amplitude and frequency, specifically includes: obtaining seismic signals processed by particle filtering; determining the number of decomposition layers of wavelet transform according to the signal characteristics to be analyzed and the required time-frequency resolution, the number of decomposition layers determines the degree of detail of the frequency components that can be extracted by wavelet transform; using Haar wavelet basis function to perform multi-level decomposition of the signal, in each level of decomposition, the signal is decomposed into two parts: approximate coefficient (low-frequency part) and detail coefficient (high-frequency part), the approximate coefficient reflects the low-frequency component of the signal, which is related to the overall trend or main waveform of the signal; the detail coefficient reflects the high-frequency component of the signal, which is related to the mutation or detail change of the signal; by observing the changes in the approximate coefficient and the detail coefficient, the key waveform features in the signal can be identified, for example, the mutation point or periodic component in the signal can be detected by finding the peak in the detail coefficient; in order to more accurately describe the waveform features, the identified features can be quantified. For example, the amplitude, position, width and other parameters of the peak and trough can be calculated, or the frequency and amplitude of the periodic component can be calculated.
[0077] Traverse the entire signal and find the maximum value point in the signal. The value of this point is the maximum amplitude. Find the absolute value of all sampling points in the signal, and then calculate the average of these absolute values to get the average amplitude. The average amplitude reflects the overall strength level of the signal. Select a suitable window size (such as several sampling points) and slide the window on the signal. In each window, calculate the difference between the maximum and minimum amplitudes, and then divide it by the window size to get the amplitude change rate in the window. The amplitude change rate reflects how fast the amplitude changes in the signal.
[0078] The seismic signal is processed using the Fast Fourier Transform (FFT) algorithm. Through FFT, the signal can be converted from the time domain to the frequency domain to obtain the signal's spectrum. The result of FFT is a set of complex numbers, whose modulus represents the amplitude of the corresponding frequency component, and whose angle represents the phase.
[0079] According to the relevant features, the preset seismic wave recognition model is used for recognition to obtain the seismic waves in the seismic signal, which specifically includes: determining the specific needs of seismic wave recognition, such as the type of seismic waves to be recognized (natural earthquakes, non-natural earthquakes, etc.), as well as the accuracy and speed requirements of recognition; determining the dimension of the input data (such as time series length, number of channels, etc.) according to the characteristics of the seismic wave signal; determining the number of convolutional layers, and gradually increasing the number of channels of the feature map from shallow to deep; selecting the appropriate convolution kernel size and step size to capture the key features in the seismic wave signal, and using activation functions (such as ReLU) to increase the nonlinearity of the model; adding a pooling layer after the convolution layer to reduce the number of parameters and enhance the robustness of the model; adding a fully connected layer to the last part of the network to map the learned features to the final classification output; using the softmax function to output the probability distribution of each category; obtaining a seismic wave dataset containing labels such as natural earthquakes and non-natural earthquakes from a public seismic data center or research institution; removing high-frequency noise and low-frequency interference, apply wavelet transform to reduce random noise in the signal, and standardize the data to the same level so that the model can better learn features; divide the data into training set, validation set and test set, and the ratio can be flexibly adjusted according to the size of the data set (such as 70%:15%:15%); install deep learning frameworks such as TensorFlow or PyTorch, and configure the corresponding operating environment; initialize the model according to the designed CNN architecture, set the loss function (such as cross entropy loss) and optimizer (such as Adam); load the training set and perform batch training. At the end of each epoch, use the validation set to evaluate the model performance, adjust the learning rate, batch size and other hyperparameters according to the verification results, and save the model weights with the best performance during the training process; load the test set and use the trained model for prediction, calculate the accuracy, recall rate, F1 score and other indicators on the test set, evaluate whether the performance of the model meets the requirements, and perform necessary model optimization or adjustment according to the test results to obtain the trained recognition model.
[0080] The feature vector extracted from the seismic wave signal is input into the trained recognition model. These features include waveform features, spectrum features, statistical features, etc. They are obtained from the original seismic wave signal through a series of processing and analysis. The specific form and dimension of the feature vector depends on the previous feature extraction process.
[0081] When the feature vector is input into the recognition model, the convolutional neural network (CNN) is processed through multiple convolutional layers, pooling layers, and fully connected layers. Each layer will gradually extract higher-level features, and finally integrate these features for classification or recognition; after being processed by the model, one or more classification results will be obtained. These results are expressed as probability distributions or confidence scores, reflecting the model's judgment that the input features belong to various categories. In seismic wave recognition, these categories include natural earthquakes, non-natural earthquakes, other types of vibrations, etc.; based on the probability distribution or confidence score output by the model, it can be determined which category the input seismic wave signal is most likely to belong to. For example, if the model has the highest output probability for the "natural earthquake" category, then it can be considered that the input signal is a fluctuation caused by a natural earthquake.
[0082] In the embodiment of the present invention, polarization analysis is performed on seismic waves to obtain analysis results, including:
[0083] Determine the time window containing the target wave field and extract the data in the time window from the three-component seismic record, specifically including: find the time window containing the target wave field (for example, first arrival wave, reflection wave, etc.) by identifying the obvious waveform changes on the seismogram. The time window should contain the complete waveform and avoid overlapping with other wave fields. Once the time window is determined, extract the data in the time window from the three-component (X, Y, Z directions) seismic records. These data exist in the form of time series, reflecting the amplitude changes of seismic waves at different time points.
[0084] According to the data in the extracted time window, the center of gravity position of the particle in the three-dimensional space is calculated, specifically including: for each time point, according to the amplitude values in the three directions of X, Y, and Z, the "center of gravity" position of the particle at that time point can be calculated, such as taking a weighted average of the amplitude values to determine the average position of the particle in the three-dimensional space;
[0085] According to the data and the center of gravity position in the time window, the coefficients of the spatial linear equation are solved. Specifically, based on the extracted time window data and the calculated center of gravity position, a spatial linear equation can be established. This equation describes the trajectory of the particle changing over time. The coefficients of the linear equation are solved by mathematical methods (such as the least squares method). These coefficients will be used to describe the propagation characteristics of seismic waves, for example:
[0086] Assume that the data within the time window has been extracted from the three-component seismic record, and the position of the center of gravity of the particle at each time point (x i ,y i , z i ), where i represents different time points. The spatial linear equation can be expressed as:
[0087]
[0088] in, , , , , and is the coefficient to be solved, and t represents time. To solve these coefficients, the least squares method can be used. Taking the x direction as an example, the following residual sum of squares needs to be minimized:
[0089] ;
[0090] Through Respectively and Taking the partial derivative and setting it to 0, we can get two equations:
[0091]
[0092] Solving this system of equations, we can get and Similarly, the same process can be performed on the y and z directions to obtain , , , Finally, the obtained spatial linear equation is:
[0093]
[0094] in, , , , , , It is the estimated value of coefficients obtained by solving the least square method. These coefficients describe the approximate linear trajectory of the particle in three-dimensional space, thus reflecting the propagation characteristics of seismic waves;
[0095] According to the coefficients of the spatial linear equation, the propagation direction of the seismic wave in three-dimensional space and the polarization vector of the vibration characteristics are determined, specifically including: extracting key information from the coefficients of the spatial linear equation previously solved by the least squares method. These coefficients describe the movement trend of the particle in the three directions of X, Y, and Z; the polarization vector is a three-dimensional vector, whose direction and magnitude represent the main vibration direction and intensity of the seismic wave. According to the coefficients of the spatial linear equation, we can calculate this vector. Specifically, each component of the vector (in the X, Y, and Z directions) can be derived from the coefficients of the linear equation in the corresponding direction. For example, if the linear equation in the X direction is x = + ×t, then the polarization vector component in the X direction may be (indicates the rate of change over time). In order to more clearly indicate the vibration direction, the polarization vector is normalized, that is, its length is scaled to unit length, so that the processed vector only indicates the direction.
[0096] Analyze the polarization vector to obtain analysis results, which include the vibration direction and propagation path of the seismic wave, including: the direction of the polarization vector represents the main vibration direction of the seismic wave. By analyzing the direction of this vector (for example, using the angle in the three-dimensional coordinate system to represent it), it can be clear in which direction the seismic wave vibrates most strongly. In order to better understand the vibration direction, the polarization vector can be represented on the chart using a three-dimensional graph or arrow, which helps to intuitively see the vibration direction of the seismic wave; collect geological information of the study area, including stratigraphic structure, rock type, fault distribution, etc. By comparing the direction of the polarization vector and the geological information, it can be inferred along which stratigraphic layers or faults the seismic wave may propagate. For example, if the direction of the polarization vector is parallel to a known fault, then the seismic wave may propagate along this fault; combine the geological structure, rock properties, seismic wave velocity and other information, as well as the direction of the polarization vector, and comprehensively judge the propagation path of the seismic wave.
[0097] In the embodiment of the present invention, the propagation path of the seismic wave is comprehensively determined by combining information such as geological structure, rock properties, seismic wave velocity, and the direction of the polarization vector, specifically including:
[0098] According to the geological structure and stratigraphic distribution, the study area is divided into small grid units; each grid unit is assigned corresponding material properties, such as elastic modulus, Poisson's ratio, density, etc. These properties should be determined based on the actual rock properties.
[0099] Set the initial state of the seismic wave, including the location of the earthquake source, the initial velocity of the vibration, the acceleration, etc., and set the initial vibration direction of the seismic wave according to the direction of the polarization vector; set appropriate conditions on the boundary of the model, such as free surface boundary conditions, artificial absorption boundary conditions, etc., to reduce the impact of boundary reflection on the simulation results; select a suitable seismic source function, such as the source time function of the Ricker wavelet, to simulate the vibration process of the earthquake, and determine the intensity and frequency characteristics of the source according to the actual seismic data. The formula of the source time function of the Ricker wavelet is:
[0100] ,in, is the amplitude at time t, is the center frequency of the Ricker wavelet, and t represents time. Specifically, t is the time offset calculated from a certain starting time point; determine the type of finite element unit (such as linear unit, quadratic unit, etc.) and material properties (such as elastic modulus, density, etc.) used in the finite element model; for each finite element unit, according to its type, size and material properties, the stiffness matrix and mass matrix of the unit can be calculated. These matrices describe the response characteristics of the unit when subjected to external loads or dynamic excitations. Among them, the stiffness matrix reflects the deformation characteristics of the unit when subjected to static loads. It is obtained by taking the second derivative of the unit's strain energy expression with respect to the node displacement. The mass matrix is used to describe the inertial effect of the unit under dynamic loads. It can be obtained by taking the second derivative of the unit's kinetic energy expression with respect to the node velocity; after calculating the stiffness matrix and mass matrix of each unit, the next step is to assemble these unit matrices into the entire The global stiffness matrix and mass matrix of the finite element model, where the global stiffness matrix is obtained by superimposing the stiffness matrices of each unit according to the node degrees of freedom; the global mass matrix is similar to the global stiffness matrix and is obtained by superimposing the mass matrices of each unit; after assembling the complete local stiffness matrix and mass matrix, boundary conditions and loads are applied according to the actual situation of the finite element model, which includes fixing the displacement of certain nodes (such as constraints), applying external forces or moments, etc.; finally, using the assembled global stiffness matrix and mass matrix, as well as the applied boundary conditions and loads, the finite element equation can be established to obtain the displacement, velocity, acceleration and other responses of the finite element model at each node; the finite element equation is solved by time integration methods (such as central difference method, etc.), and an appropriate time step is set to ensure the stability and accuracy of the simulation; the displacement, velocity, acceleration and other data of key nodes are extracted from the simulation results.
[0101] Among them, when it is applied specifically, assuming that the global stiffness matrix K and the mass matrix M, as well as the external load F(t) are already available, the global stiffness matrix K and the mass matrix M will degenerate into a single value, namely the stiffness k and the mass m. Therefore, the finite element equation can be:
[0102] ;
[0103] in, is the acceleration, is the displacement, is an external force that varies with time.
[0104] To solve this equation, we can choose the central difference method as the time integration method. The central difference method is an explicit numerical integration method that uses the displacement of the previous and next time steps to represent the acceleration and velocity of the current time step. Assume that the time step is , the current time step is n, then the central difference of acceleration and velocity is approximately:
[0105]
[0106] Substituting the central difference expression of acceleration into the dynamic equilibrium equation, we obtain:
[0107] ;
[0108] Rearranging this equation gives us a The expression is:
[0109] ;
[0110] represents the external force at the nth time step, represents a certain state of the object at the nth time step, It means that in the previous time step (i.e. time steps) of the object, Represents the next time step (i.e. time steps) of the object.
[0111] In an embodiment of the present invention, identifying and removing part of the interference noise in the analysis result to obtain a purified seismic wave signal includes:
[0112] Performing initial triangulation on the vibration direction and propagation path of the seismic wave to obtain each triangle after analysis, specifically including: obtaining the original data of the seismic wave signal, which is time series data, recording the amplitude and direction of the seismic wave at different time points, selecting a suitable triangulation algorithm, such as Delaunay triangulation, which can generate a series of non-intersecting triangles based on a given point set, and the circumscribed circles of these triangles do not contain other points in the point set; taking the sampling points of the seismic wave signal as input, applying the selected triangulation algorithm, and obtaining a series of triangles, each of which represents the propagation path and vibration direction of the seismic wave in a local area;
[0113] Compare the geometric and physical properties of each triangle obtained after analysis to identify abnormal triangles. The physical properties include the area, side length ratio, and internal angle of the triangle. Specifically, for each triangle obtained after analysis, calculate its area, side length ratio (ratio of the maximum side length to the minimum side length) and internal angle (especially the maximum internal angle); set normal ranges for each physical property of the triangle based on historical data. For example, the area should not be too large or too small, the side length ratio should be within a certain range, and the internal angle should not be too large or too small; compare the properties of each triangle with the set normal range to identify abnormal triangles whose properties are beyond the normal range;
[0114] Set a discrimination threshold. When the physical property of any triangle is greater than or equal to the discrimination threshold, the corresponding triangle is regarded as abnormal data caused by noise. Specifically, this threshold can be set based on historical experience. For example, an area threshold can be set, and triangles exceeding this threshold are considered abnormal; compare the physical properties of each triangle with the discrimination threshold. If any physical property exceeds the threshold, the triangle is marked as abnormal data caused by noise;
[0115] The abnormal triangles identified as noise are removed from the seismic wave signal to obtain a purified seismic wave signal, which specifically includes: marking the triangles identified as abnormal in the data structure of the seismic wave signal; deleting or replacing the data points related to the abnormal triangles from the seismic wave signal according to the marking. This can be achieved through interpolation technology to ensure that the seismic wave signal after removing the abnormal data still maintains continuity and consistency; and performing quality checks on the purified seismic wave signal to ensure that the abnormal data has been effectively removed and the overall quality and accuracy of the signal has been improved.
[0116] In an embodiment of the present invention, by removing abnormal data caused by noise, the interference components in the seismic wave signal can be effectively reduced, thereby improving the accuracy and reliability of the data. The purified seismic wave signal has a higher signal-to-noise ratio, that is, the ratio of the effective components in the signal to the noise is higher. This helps researchers to more clearly identify the various characteristics of seismic waves, such as seismic phase, amplitude, frequency, etc., so as to have a deeper understanding of the physical process of earthquakes and the nature of earthquake sources. Unprocessed seismic wave signals may contain a large amount of useless noise data, which will increase the complexity of data processing and analysis. By removing noise, the data set can be simplified, allowing researchers to process and interpret seismic wave signals more efficiently, thereby saving time and computing resources. Accurate seismic wave signals are an important basis for earthquake emergency response and disaster management decision-making. The purified signal can provide decision makers with more reliable information, helping them to make more wise and timely decisions to reduce the losses caused by earthquake disasters.
[0117] In the embodiment of the present invention, the purified seismic wave signal is processed to obtain the seismic peak displacement and characteristic period of the trigger information, and the compatibility analysis is performed on the seismic peak displacement and characteristic period to identify the effective seismic wave, including:
[0118] In each triangular unit, the peak displacement of the seismic wave is calculated by the interpolation method, which specifically includes: obtaining purified seismic wave signal data, which has been processed by noise removal and has high quality; selecting a suitable interpolation method, such as linear interpolation, etc., and in each triangular unit, using the selected interpolation method to calculate the peak displacement of the seismic wave according to the known sampling point data, which involves fitting the data in each triangle and finding the maximum value on the fitting curve, which is the peak displacement;
[0119] The characteristic period value is obtained by measuring the time interval between two adjacent peaks in the seismic wave signal, specifically including: identifying all peak points in the seismic wave signal, which can be achieved by finding the local maximum value, that is, comparing the size relationship between each data point and its adjacent points; once the peak point is identified, the time interval between two adjacent peak points can be calculated, and this time interval is a candidate value of the characteristic period; statistical analysis is performed on multiple candidate values of the characteristic period, such as calculating the average value, median, etc., to obtain a representative characteristic period value;
[0120] Compare the peak displacement and characteristic period value of the seismic wave with the known seismic data to obtain the comparison result, specifically including: obtaining a reliable seismic data set, which contains the peak displacement and characteristic period value of the known seismic event; comparing the calculated peak displacement and characteristic period value of the seismic wave with the known seismic data, which can be achieved by drawing a scatter plot and calculating the Pearson correlation coefficient; recording the results of the comparative analysis, including similarities, differences, possible outliers and other information;
[0121] According to the comparison results and the compatibility of the known seismic data with the peak displacement and characteristic period value of the earthquake motion, the effective seismic waves are determined, specifically including: based on the comparison results, evaluating the compatibility of the calculated peak displacement and characteristic period value of the seismic waves with the known seismic data, which can be achieved by setting a certain threshold, for example, data points with a certain level of similarity are considered compatible; according to the results of the compatibility evaluation, determining which seismic waves are effective. Seismic waves with high compatibility are considered effective seismic waves, while seismic waves with low compatibility may be considered abnormal or invalid data.
[0122] In an embodiment of the present invention, by further processing and analyzing the purified seismic wave signal, key parameters of ground motion, such as peak displacement and characteristic period, can be extracted more accurately. Compatibility analysis helps to identify and eliminate abnormal or invalid seismic wave signals that are incompatible with known seismic data, thereby improving the reliability of seismic wave signals. This helps to reduce false alarms and missed alarms and improve the performance of earthquake monitoring and early warning systems. By automatically processing and statistically analyzing a large number of seismic wave signals, the efficiency of data analysis can be greatly improved. In addition, compatibility analysis can also help researchers quickly screen out valid seismic wave signals and reduce unnecessary data processing and analysis work.
[0123] In an embodiment of the present invention, a dynamic impact factor is calculated according to the current system environment and network status; and effective seismic waves are encrypted according to the dynamic impact factor to generate an encrypted signal, including:
[0124] According to the current system environment and network conditions,
[0125] Calculating Dynamic Impact Factor ,in, Indicates the current CPU usage, the value range is [0, 1]; Indicates the current memory usage, the value range is [0, 1]; Indicates the average delay time of the current network; Indicates the data transmission rate, Represents the threshold of network bandwidth; Represents the packet loss rate of the current network, and the value range is [0, 1]; , b, c, d, and is the adjustment factor; is the current time; , indicating periodic changes within 24 hours a day; is a phase shift; is the adjustment factor; is the base of natural logarithms;
[0126] The basic key and dynamic impact factor Combining by concatenation to obtain combined data, specifically including: converting the dynamic impact factor into a string format by using a corresponding str function, such as converting a floating point number into a string; concatenating the basic key and the dynamic impact factor converted into a string, and the concatenation may be achieved by a string concatenation operation, such as using a string concatenation operator or function in a programming language; and storing the concatenated data as a new string variable;
[0127] Passing the combined data to the SHA-256 hash function so that the SHA-256 hash function converts the combined data into a hash value of a fixed length, specifically including: in a programming environment, selecting a hash function library that supports the SHA-256 algorithm; using the selected hash function library, taking the concatenated data as input data, and calling the SHA-256 hash function; the SHA-256 hash function processes the input data and outputs a hash value of a fixed length (256 bits, i.e., 32 bytes), which is the unique digital fingerprint of the input data; storing the calculated hash value as a new variable, which will be used for the next encryption operation;
[0128] The effective seismic wave is encrypted by a hash value to generate an encrypted signal, specifically including: using a hash value as a key or part of a key through a symmetric encryption algorithm (such as AES) or an asymmetric encryption algorithm (such as RSA); further processing the hash value to generate a suitable encryption key according to the selected encryption algorithm. For example, if a symmetric encryption algorithm is used, a fixed-length key may need to be derived from the hash value; using the generated encryption key and the selected encryption algorithm, the effective seismic wave data is encrypted, and the encrypted signal is stored or transmitted to the receiver through the network. The receiver needs to use the same key and encryption algorithm to decrypt and restore the original seismic wave data.
[0129] In an embodiment of the present invention, seismic wave data is encrypted by a dynamic impact factor, which can greatly improve the security of the data. The dynamic impact factor is generated according to the real-time system environment and network conditions, so that the encryption process has higher dynamics and randomness, thereby increasing the difficulty of cracking and effectively preventing data leakage or tampering. Since the dynamic impact factor is calculated in real time according to the current system environment and network conditions, the method can adapt well to different environments and network conditions. Whether under high load or low load conditions, a suitable encryption key can be generated to ensure the safe transmission of data. The SHA-256 hash function is used to convert the combined data into a hash value of a fixed length as an encryption key. The SHA-256 hash function is efficient and fast, and can generate a secure encryption key in a short time, thereby improving encryption efficiency. The calculation formula of the dynamic impact factor contains multiple adjustment coefficients, which can be adjusted according to actual needs to meet different security levels and encryption requirements.
[0130] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A system for encrypting earthquake early warning information, characterized in that: include: A signal acquisition module is used to acquire seismic signals from seismic stations in real time; An identification module, used for identifying seismic waves in seismic signals; A polarization analysis module is used to perform polarization analysis on seismic waves to obtain analysis results; The discrimination module is used to identify and remove some interference noise in the analysis results to obtain a purified seismic wave signal; An analysis module is used to process the purified seismic wave signal, obtain the seismic peak displacement and characteristic period of the trigger information, and perform compatibility analysis on the seismic peak displacement and characteristic period to identify effective seismic waves; The encryption module is used to calculate the dynamic impact factor according to the current system environment and network status; According to the dynamic influencing factors, the effective seismic waves are encrypted to generate encrypted signals; Real-time acquisition of seismic signals from seismic stations, including: In the signal acquisition module, a group of particles are initialized, each particle represents a seismic signal state, and the particle state includes the amplitude, frequency, and phase characteristics of the signal; For each particle, a weight is assigned according to the matching degree between the signal state it represents and the seismic signal acquired in real time; According to the weight of the particles, the particle set is resampled, and the current seismic signal state is estimated according to the resampled particle set; As new seismic signals are acquired, the particle set and state are continuously updated to obtain seismic signals processed by particle filtering; The weight calculation formula is: ,in, represents the weight of the i-th particle, It represents the value of the i-th particle on the j-th feature, and represents a point of the particle in the multidimensional feature space. represents the value of the real-time signal on the jth feature, represents the exponential parameter, A coefficient representing the effect of noise level, represents the coefficient of the dynamic difference, n represents the dimension of the signal feature, Represents the average value of the real-time signal, and Represents the particles at adjacent time points and The status value of and Respectively represent the real-time signal at adjacent time points and The value of and Indicates the moments of adjacent time points; i represents the index of the data point; j represents the summation symbol In the example, j is a loop variable used to iterate over all integers from 1 to n; k represents the index; According to the weight of the particles, the particle set is resampled, and the current seismic signal state is estimated based on the resampled particle set, including: According to the weight of the particles, the particle set is resampled, and the resampled particle set is Calculate the current seismic signal state, where is the current state of the seismic signal; N is the number of particles; is the state vector of the ith particle; is the weighted average of all particle states, is the covariance matrix of the state of the ith particle, and T represents the transpose of the vector; Represents the summation symbol, which is used to sum all data points from 1 to N; According to the current system environment and network conditions, the dynamic impact factor is calculated; according to the dynamic impact factor, the effective seismic wave is encrypted to generate an encrypted signal, including: According to the current system environment and network conditions, Calculating Dynamic Impact Factor ,in, Indicates the current CPU usage, the value range is [0, 1]; Indicates the current memory usage, the value range is [0, 1]; Indicates the average delay time of the current network; Indicates the data transmission rate, Represents the threshold of network bandwidth; Represents the packet loss rate of the current network, and the value range is [0, 1]; , b, c, d, and is the adjustment factor; is the current time; , indicating periodic changes within 24 hours a day; is a phase shift; is the adjustment factor; is the base of natural logarithms; The basic key and dynamic impact factor Combining by splicing to obtain combined data; Passing the combined data to the SHA-256 hash function so that the SHA-256 hash function converts the combined data into a hash value of a fixed length; The valid seismic waves are encrypted by hash values to generate an encrypted signal.
2. The system for encrypting earthquake early warning information according to claim 1, characterized in that: Identify seismic waves in seismic signals, including: Extracting seismic wave-related features from seismic signals processed by particle filtering, including waveform, amplitude and frequency; According to the relevant characteristics, the seismic waves in the seismic signal are identified through the preset seismic wave identification model.
3. The system for encrypting earthquake early warning information according to claim 2, characterized in that: Polarization analysis is performed on seismic waves to obtain analysis results, including: Determine a time window containing a target wave field, and extract data within the time window from the three-component seismic record; Calculate the center of gravity position of the particle in three-dimensional space based on the data in the extracted time window; Solve the coefficients of the spatial linear equation based on the data and the center of gravity position in the time window; According to the coefficients of the spatial linear equation, the propagation direction of the seismic wave in three-dimensional space and the polarization vector of the vibration characteristics are determined; The polarization vector is analyzed to obtain an analysis result, wherein the analysis result includes a vibration direction and a propagation path of the seismic wave.
4. The system for encrypting earthquake early warning information according to claim 3, characterized in that: Identify and remove some of the interfering noise in the analysis results to obtain purified seismic wave signals, including: Perform initial triangulation on the vibration direction and propagation path of the seismic wave to obtain each triangle after analysis; Compare the geometric and physical properties of each triangle obtained after analysis to identify abnormal triangles; A discrimination threshold is set. When the physical attribute of any triangle is greater than or equal to the discrimination threshold, the corresponding triangle is regarded as abnormal data caused by noise. The abnormal triangles identified as noise are removed from the seismic wave signal to obtain a purified seismic wave signal.
5. The system for encrypting earthquake early warning information according to claim 4, characterized in that: Physical properties include the area, side ratio, and interior angles of a triangle.
6. The system for encrypting earthquake early warning information according to claim 5, characterized in that: Process the purified seismic wave signal, obtain the peak displacement and characteristic period of the seismic motion trigger information, and perform compatibility analysis on the peak displacement and characteristic period of the seismic motion to identify effective seismic waves, including: In each triangular unit, the peak displacement of the seismic wave is calculated by interpolation method; By measuring the time interval between two adjacent peaks in the seismic wave signal, the characteristic period value can be obtained; Compare the peak displacement and characteristic period value of the seismic wave with known seismic data to obtain a comparison result; The effective seismic waves are determined based on the comparison results and the compatibility of the known seismic data with the peak displacement and characteristic period values of the seismic motion.
Citation Information
Patent Citations
Earthquake magnitude estimation method and device based on characteristic waveform
CN114167487A
Earthquake magnitude prediction method and device, electronic equipment and storage medium
CN117849856A
Cross-correlation seismic interference HSP method, storage medium and electronic equipment
CN118191923A
Earthquake warning system
US20130328688A1
