A regional earthquake safety assessment method and system based on database technology
Through the regional earthquake safety assessment method based on database technology, the problems of traditional earthquake safety assessment that are time-consuming, laborious and insufficient in accuracy are solved, a systematic and refined assessment of earthquake risks is achieved, scientific decision-making support is provided, and earthquake safety is improved. Real-time and accurate evaluation.
Patent Information
- Application Number
- CN202410678411.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-29
AI Technical Summary
Traditional earthquake safety assessment methods are time-consuming and labor-intensive, and their accuracy and efficiency cannot meet the needs of modern disaster prevention and reduction. Especially under complex geological conditions, there is a lack of systematic and refined earthquake safety assessment tools, which leads to huge risks in urban planning and infrastructure construction. .
A regional seismic safety assessment method based on database technology is used to establish a seismic risk prediction model by collecting and preprocessing historical earthquake data, geological exploration data, etc., and calculating the seismic risk level based on the building structure type and seismic fortification level, using crawler technology Get real-time information to ensure data accuracy and timeliness.
It realizes the effective integration and management of massive earthquake data, provides scientific decision-making support, and provides accurate earthquake risk assessment for urban planning, land use, architectural design and emergency response, improves the real-time and accuracy of earthquake safety assessment, and reduces the cost of Risk of earthquake disaster.
Smart Images

Figure CN118247108B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data analysis technology, and in particular to a regional earthquake safety assessment method and system based on database technology. Background Art
[0002] Traditional earthquake safety assessment methods rely heavily on manual on-site surveys, statistical analysis of historical earthquake data, and simple mathematical model predictions. These methods are not only time-consuming and labor-intensive, but also often lack the accuracy and efficiency to meet the demands of modern disaster prevention and mitigation. In particular, the lack of systematic and sophisticated earthquake safety assessment tools in regional development planning under complex geological conditions poses significant risks to urban planning, infrastructure construction, and other areas.
[0003] Against this backdrop, the rapid development of database and information technology has revolutionized the field of earthquake safety assessment. By building a regional earthquake safety assessment system based on database technology, it is possible to effectively integrate and manage massive amounts of multi-source data, including earthquake data, geological information, and building information. However, this system is still unable to comprehensively assess key factors and provide scientific decision-making support for urban planning, land use, building design, and emergency response. Summary of the Invention
[0004] The embodiment of the present invention provides a regional earthquake safety assessment method and system based on database technology, which can at least solve the problem that existing technologies are unable to comprehensively evaluate key factors and provide scientific decision-making support for urban planning, land use, architectural design and emergency response.
[0005] In a first aspect, an embodiment of the present invention provides a regional earthquake safety assessment method based on database technology, comprising:
[0006] Collect historical earthquake data, geological exploration data, topographic information, geological structure information, geophysical exploration information, site seismic parameter information, and building attribute information as data required for earthquake safety assessment, and store them in a central database after pre-processing;
[0007] Using database query to extract the data required for earthquake safety assessment corresponding to the target area from the central database;
[0008] Establishing an earthquake hazard prediction model based on the data required for the earthquake safety assessment to evaluate the frequency of earthquakes in the target area within a preset time period;
[0009] Assess the vulnerability level of the target area under earthquake action based on the structural type, construction year and seismic fortification level of the buildings in the target area;
[0010] Based on the earthquake frequency and vulnerability level, the earthquake risk level of the target area is calculated.
[0011] Optionally, the step of extracting data required for earthquake safety assessment corresponding to the target area from the central database by using database query includes:
[0012] The central database uses crawler technology to automatically capture earthquake news and disaster reports on the Internet to supplement real-time information, so as to provide the data required for earthquake safety evaluation corresponding to the target area;
[0013] The central database also includes detailed design drawings and construction records of buildings in the target area to ensure the accuracy of the building's structural type, construction year and seismic fortification level.
[0014] Optionally, the step of establishing an earthquake hazard prediction model based on the data required for the earthquake safety assessment to evaluate the frequency of earthquakes in the target area within a preset time period includes:
[0015] The data required for earthquake safety assessment in the target area extracted from the central database is cleaned, outliers are removed, and missing values are filled to ensure data quality;
[0016] Based on the pre-processed data required for earthquake safety evaluation, a hybrid model framework is used to construct an earthquake hazard prediction model. The earthquake hazard prediction model combines seismological theory with a deep learning model, uses the data required for earthquake safety evaluation in the target area as a training set, adjusts the model hyperparameters through cross-validation, and optimizes the prediction performance of the earthquake hazard prediction model.
[0017] Optionally, the step of constructing an earthquake hazard prediction model using a hybrid model framework includes:
[0018] Using deep learning architecture and generative adversarial networks to simulate the uncertainty of seismic activity, the advantages of the model are combined through a weighted fusion ensemble method;
[0019] Its deep learning framework structure can be expressed as:
[0020] ;
[0021] in, Represents the time step The hidden state of It is the data required for earthquake safety evaluation. and are nonlinear activation functions, and are model parameters;
[0022] Construct a conditional adversarial network to simulate the uncertainty of seismic activity, the conditional adversarial network includes a generator and the discriminator , the expression of the conditional adversarial network is:
[0023] ;
[0024] In the earthquake prediction scenario, Used to generate new samples of seismic data, It is used to judge whether the input data is real earthquake data or a new earthquake data sample, where: is the input noise, which is sampled from a Gaussian distribution and serves as a seed for generating new samples of seismic data.
[0025] Optionally, it also includes:
[0026] The weighted average expression of the weighted fusion integration method is as follows:
[0027] ;
[0028] in, is the final prediction output, Indicates the The prediction function of the model, is the weight assigned to the model;
[0029] Secondly, design as follows:
[0030] ;
[0031] in, and Is a constant used to adjust the size of the overall weight; and is an index adjusted according to feature importance.
[0032] Optionally, the step of evaluating the vulnerability level of the target area under earthquake action based on the structural type, construction year, and seismic fortification level information of buildings in the target area includes:
[0033] Calculate the seismic resistance index of a building based on its structural type ,in , represents the site correction factor, It represents the average value of shear wave velocity measured at the first 30 meters depth;
[0034] Introducing a building age reduction factor based on the year of construction ,in is the aging rate constant, The age of the building is used to adjust the building's earthquake resistance;
[0035] Determine the seismic performance evaluation index based on the preset seismic fortification level information , the calculation formula is ,in is the structural durability coefficient, is the damage tolerance factor, is the vulnerability index under earthquake action;
[0036] The vulnerability level of the target area under earthquake action is determined based on the seismic capacity index, the building age reduction factor and the seismic performance evaluation index.
[0037] Optionally, the step of determining the vulnerability level of the target area under earthquake action based on the seismic capacity index, the building age reduction factor, and the seismic performance evaluation index includes:
[0038] According to the seismic resistance index of each building , age reduction factor and seismic performance evaluation indicators , calculate the comprehensive vulnerability score for each building , the expression is as follows:
[0039] ;
[0040] in, Represents all buildings in the area The average value is used for standardization; , , is the weight of each factor, represents the age reduction factor, It represents the evaluation index of seismic performance;
[0041] The comprehensive vulnerability score Compared with the preset standard threshold set, the buildings are divided into several vulnerability levels, and the following classification rules are set:
[0042] - Low vulnerability: ;
[0043] -Medium vulnerability: ;
[0044] - High vulnerability: ;
[0045] - Extremely high vulnerability: ;
[0046] in, , , are the thresholds for low, medium, and high vulnerability, respectively.
[0047] In a second aspect, an embodiment of the present invention provides a regional earthquake safety assessment system based on database technology, comprising:
[0048] The collection module is used to collect earthquake historical data, geological exploration data, topographic information, geological structure information, geophysical exploration information, site seismic parameter information, and building attribute information as data required for earthquake safety assessment, and then store them in the central database after preprocessing;
[0049] A query module is used to extract data required for earthquake safety assessment corresponding to the target area from the central database using database query;
[0050] A first evaluation module is used to establish an earthquake hazard prediction model based on the data required for the earthquake safety evaluation to evaluate the frequency of earthquakes in the target area within a preset time period;
[0051] The second assessment module is used to assess the vulnerability level of the target area under earthquake action by combining the structural type, construction year and seismic fortification level information of the buildings in the target area;
[0052] The calculation module is used to calculate the earthquake risk level of the target area based on the earthquake frequency and vulnerability level.
[0053] In a third aspect, an embodiment of the present invention provides an electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the regional earthquake safety assessment method based on database technology described in the first aspect.
[0054] In a fourth aspect, an embodiment of the present invention provides a readable storage medium, characterized in that a computer program is stored in the readable storage medium, the computer program includes a program code for controlling a process to execute a process, and the process includes the regional earthquake safety assessment method based on database technology described in the first aspect.
[0055] The embodiment of the present invention collects earthquake historical data, geological exploration data, topographic information, geological structure information, geophysical exploration information, site seismic parameter information, and building attribute information as data required for earthquake safety evaluation, and stores them in a central database after preprocessing; uses database query to extract the data required for earthquake safety evaluation corresponding to the target area from the central database; establishes an earthquake hazard prediction model based on the data required for earthquake safety evaluation to evaluate the frequency of earthquakes in the target area within a preset time period; evaluates the vulnerability level of the target area under the action of earthquakes based on the structural type, construction year and seismic fortification level information of the buildings in the target area; calculates the earthquake risk level of the target area based on the earthquake frequency and vulnerability level, realizes the quantitative evaluation of the earthquake hazard of the target area, combines the earthquake frequency with the building vulnerability level, and determines the overall earthquake risk level of the target area through cross-analysis.
[0056] The beneficial effects of the embodiments of the present invention can be referred to the technical effects corresponding to the technical features in the specific implementation methods, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 A schematic diagram of a regional earthquake safety assessment method module based on database technology provided by an embodiment of the present invention;
[0058] Figure 2 A schematic diagram of the middle process of another regional earthquake safety assessment method based on database technology provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0059] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0060] The following specific embodiments are used to describe the technical solution of the present invention in detail. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0061] In today's society, with the acceleration of urbanization and the frequent occurrence of global seismic activity, ensuring the safety of urban construction and major engineering projects, especially their ability to withstand earthquake disasters, has become a crucial task. Traditional earthquake safety assessment methods rely on manual on-site surveys, manual statistical analysis of historical earthquake data, and simple mathematical model predictions. These methods are not only time-consuming and labor-intensive, but also often lack the accuracy and efficiency to meet the needs of modern disaster prevention and mitigation. In particular, the lack of systematic and sophisticated earthquake safety assessment tools in regional development planning under complex geological conditions poses significant risks to areas such as urban planning and infrastructure construction.
[0062] Against this backdrop, the rapid development of database and information technology has revolutionized the field of earthquake safety assessment. By building a regional earthquake safety assessment system based on database technology, it is possible to effectively integrate and manage massive amounts of multi-source data, including earthquake data, geological information, and building information. This system can update global and local earthquake monitoring data in real time and utilize advanced data analysis algorithms to comprehensively assess key factors such as seismic activity patterns, geological structural stability, soil liquefaction potential, and building seismic performance. This provides scientific decision-making support for urban planning, land use, building design, and emergency response.
[0063] This embodiment provides a specific implementation method of a regional earthquake safety assessment system based on database technology, as shown in Question 1, the method includes:
[0064] Step 1: Data collection and integration: collect historical earthquake data, geological exploration data, topographic information, geological structure information, geophysical exploration information, site seismic parameter information, and building attribute information as data required for earthquake safety assessment, and store them in the central database after preprocessing;
[0065] In an embodiment of the present invention, data source collection means that the system first widely collects historical earthquake data (including earthquake time, magnitude, intensity, etc.) of the target area and its surrounding areas, geological exploration data (such as soil type, fault distribution), topographic and geomorphological information (altitude, slope), geological structure information (stratum structure, fault activity), geophysical exploration information (gravity, magnetic anomalies), site seismic parameters (such as peak acceleration PGA), and detailed attribute information of buildings (such as structure type, construction year, floor height, seismic resistance level) from authoritative channels such as the National Earthquake Bureau, geological survey institutions, topographic and geomorphological research departments, and building management departments.
[0066] Data preprocessing involves cleaning, formatting, and removing outliers from collected data to ensure data quality before storing it in a central database. This database utilizes an efficient data model for rapid retrieval and analysis.
[0067] Through this step, a comprehensive and accurate basic database of earthquake safety in the target area was established, which laid a solid foundation for subsequent analysis and ensured the reliability and accuracy of the evaluation results.
[0068] Step 2: Data analysis and processing: using database query to extract the data required for earthquake safety assessment corresponding to the target area from the central database;
[0069] In an embodiment of the present invention, based on the geographic coordinate range of a specific target area, SQL query language or other database query tools are used to accurately extract relevant earthquake historical records, geological information and building attribute data from the central database, thereby achieving a quantitative assessment of the earthquake hazard in the target area, providing scientific risk warning information to local governments and construction units, and helping to formulate reasonable land use planning and earthquake-resistant fortification strategies.
[0070] Step 3: Earthquake hazard assessment: establishing an earthquake hazard prediction model based on the data required for the earthquake safety assessment to evaluate the frequency of earthquakes in the target area within a preset time period;
[0071] The embodiment of the present invention is based on the extracted data and uses statistical methods or machine learning algorithms (such as logistic regression and neural networks) to establish an earthquake hazard prediction model. The model takes into account factors such as the earthquake activity cycle and geological conditions to predict the probability of earthquakes and the possible maximum magnitude in the target area within a preset time period in the future (such as 10 years or 50 years).
[0072] Step 4: Vulnerability analysis of buildings and infrastructure: Combined with the structural type, construction year, and seismic fortification level of buildings in the target area, the vulnerability level of the target area under earthquake action is assessed;
[0073] Among them, the vulnerability index calculation: for each building in the target area, the seismic capacity index, age reduction factor and seismic performance evaluation index are calculated according to its structural type (such as frame, brick-concrete), construction year and seismic fortification level (such as design intensity), as described above.
[0074] Vulnerability level classification: Based on the above indicators, a multi-criteria assessment method (such as the hierarchical analysis method and fuzzy comprehensive evaluation) is used to classify the seismic vulnerability levels of buildings, such as low, medium, high, and very high, to clearly point out the seismic weaknesses of different buildings in the area, provide a basis for prioritizing reinforcement and renovation, and reduce the casualties and property losses that may be caused by earthquake disasters.
[0075] Step 5: Comprehensive risk assessment: Based on the earthquake frequency and vulnerability level, the earthquake risk level of the target area is calculated.
[0076] In the embodiment of the present invention, the risk matrix is constructed by combining the earthquake frequency with the building vulnerability level to construct an earthquake risk level matrix. Through cross-analysis, the overall earthquake risk level of the target area is determined.
[0077] Risk level classification is based on the risk matrix results, dividing the target area into low risk, medium risk, high risk and extremely high risk levels. Each level corresponds to different response measures and resource allocation recommendations.
[0078] The resulting earthquake risk map for the target area provides intuitive guidance for government decision-making, community planning, and the formulation of emergency response plans, promoting the rational allocation of resources and the effective prevention and control of earthquake disasters.
[0079] Furthermore, in another embodiment provided by the present invention, the step of extracting data required for earthquake safety assessment corresponding to the target area from the central database by using database query includes:
[0080] The central database uses crawler technology to automatically capture earthquake news and disaster reports on the Internet to supplement real-time information, so as to provide the data required for earthquake safety evaluation corresponding to the target area;
[0081] During this step, the system regularly and automatically accesses authoritative earthquake information websites, news portals, and social media platforms, filtering and capturing the latest earthquake news, disaster reports, and real-time monitoring data based on keywords such as "earthquake," "geological disaster," and "rescue operation." This captured information includes, but is not limited to, the earthquake's time, location, magnitude, impact area, and preliminary damage assessment reports. This real-time data is cleaned, deduplicated, and standardized, and then synchronized to a central database in real time to ensure the evaluation system can promptly reflect earthquake activity. Furthermore, within the central database, a dedicated real-time information table can be established to store data captured from the internet. This table is intelligently linked with other tables, such as historical earthquake data and geological exploration data, to form a rich data resource pool. Data fusion algorithms are used to ensure that the newly added real-time data can be seamlessly integrated into the existing data system, improving its comprehensiveness and timeliness.
[0082] The central database also includes detailed design drawings and construction records of buildings in the target area to ensure the accuracy of the building's structural type, construction year and seismic fortification level.
[0083] The central database features a specially designed building information subsystem. This subsystem not only stores basic building information collected from official channels (such as address, structure type, and construction year), but also incorporates detailed design drawings and construction records for buildings within the target area. Design drawings include floor plans and structural designs, while construction records cover key information such as building materials, construction techniques, and seismic fortification ratings. This data is automatically entered into the database through collaboration with construction companies and design institutes, as well as digital scanning and optical character recognition (OCR) technology, ensuring data accuracy.
[0084] Furthermore, data verification and updates can be implemented in real-world applications. This involves implementing a regular data verification process, using automated scripts to compare the actual building status with database records. This includes checking the consistency between on-site inspections and drawing reviews, and between construction records and completion acceptance reports. Any inconsistencies or missing information discovered are immediately verified and updated to maintain data freshness and reliability.
[0085] Through the above-mentioned implementations, this system significantly improves the real-time and accuracy of earthquake safety assessments. The automatic capture and integration of internet data enables the system to rapidly respond to earthquake events, providing data support for immediate assessments and emergency response. Furthermore, by integrating detailed design drawings and construction records, it ensures the accuracy of building seismic performance assessments, providing a solid data foundation for developing targeted disaster prevention and mitigation measures. This series of measures collectively promotes the scientific and refined level of earthquake risk management, providing strong technical support for protecting people's lives and property.
[0086] Furthermore, in another embodiment provided by the present invention, the step of establishing an earthquake hazard prediction model based on the data required for earthquake safety assessment to evaluate the frequency of earthquakes in a target area within a preset time period includes:
[0087] The data required for earthquake safety assessment in the target area extracted from the central database is cleaned, outliers are removed, and missing values are filled to ensure data quality;
[0088] In this embodiment of the present invention, in-depth feature engineering is performed on the earthquake safety assessment data for the target area extracted from a central database, including but not limited to feature selection, feature transformation, and feature construction. The goal of this stage is to identify key factors influencing seismic hazard and ensure data quality and consistency. Preprocessing may involve operations such as standardization and normalization to eliminate dimensionality effects and improve model convergence. Specifically, datasets related to earthquake history, geological characteristics, topography, and geomorphology relevant to the target area are extracted from the central database. Data cleaning tools and algorithms (such as the Python Pandas library) are used to remove duplicate records, fill missing values (using interpolation or estimation methods based on data distribution), and identify and remove outliers (using Z-score or IQR methods) to ensure data accuracy and completeness. Based on seismological theory, meaningful features are extracted from the preprocessed data, such as historical earthquake activity frequency, fault distance, geological stability indicators, and topographic influencing factors. Feature selection methods (such as recursive feature elimination and correlation coefficient analysis) are used to streamline the feature set, reduce redundancy, and improve model efficiency.
[0089] Based on the pre-processed data required for earthquake safety evaluation, a hybrid model framework is used to construct an earthquake hazard prediction model. The earthquake hazard prediction model combines seismological theory with a deep learning model, uses the data required for earthquake safety evaluation in the target area as a training set, adjusts the model hyperparameters through cross-validation, and optimizes the prediction performance of the earthquake hazard prediction model.
[0090] The steps of constructing an earthquake hazard prediction model using a hybrid model framework include:
[0091] Using deep learning architecture and generative adversarial networks to simulate the uncertainty of seismic activity, the advantages of the model are combined through a weighted fusion ensemble method;
[0092] Its deep learning framework structure can be expressed as:
[0093] ;
[0094] in, Represents the time step The hidden state of It is the data required for earthquake safety evaluation. and are nonlinear activation functions, and are model parameters;
[0095] Construct a conditional adversarial network to simulate the uncertainty of seismic activity, the conditional adversarial network includes a generator and the discriminator , the expression of the conditional adversarial network is:
[0096] ;
[0097] In the earthquake prediction scenario, Used to generate new samples of seismic data, It is used to judge whether the input data is real earthquake data or a new earthquake data sample, where: is the input noise, which is sampled from a Gaussian distribution and serves as a seed for generating new samples of seismic data.
[0098] In the context of earthquake prediction using generative adversarial networks (GANs), the two core components are the generator (G) and the discriminator (D). These components work together through an adversarial learning process to improve model performance, particularly in generating realistic and diverse seismic activity patterns. The following explains the functions of these two components in detail:
[0099] Generator (G)
[0100] Representative significance: The generator G is a deep learning model whose goal is to create new samples that are as close as possible to real earthquake data. In the context of earthquake prediction, G is designed to generate a series of possible seismic activity patterns. These patterns reflect the spatiotemporal characteristics of earthquake occurrence, such as frequency and intensity distribution. The generated data can be earthquake time series data, seismic waveforms, or certain statistical characteristics of seismic activity.
[0101] How it works: The generator typically receives a random noise vector z (usually drawn from a simple probability distribution, such as a Gaussian distribution) as input. Then, through a series of transformations (implemented by a multi-layer neural network), it transforms this noise into realistic-looking seismic data samples. As training progresses, G learns how to better use z to generate data, making it increasingly difficult to distinguish from real data.
[0102] Discriminator (D)
[0103] Representative significance: The discriminator D is also a deep learning model, but its task is the opposite of the generator: to determine whether a given earthquake data sample is real (from an actual observation dataset) or forged (generated by the generator G). In the context of earthquake prediction, D needs to learn to identify complex patterns and regularities in earthquake data in order to accurately distinguish real earthquake records from synthetic data.
[0104] How it works: D takes a sample of earthquake data as input and outputs a probability value between 0 and 1, representing the probability that the sample is considered real. Initially, D can easily distinguish between real and generated samples. However, as the quality of data generated by G improves, the challenge for D increases, requiring it to continuously refine its discrimination criteria. This process forces D to deeply learn the complex details of earthquake activity.
[0105] During adversarial training, G and D compete with each other, with G generating more realistic, indistinguishable seismic activity patterns to deceive D, while D attempts to more accurately identify which seismic data is real and which is generated by G. This dynamic, mutually reinforcing mechanism improves the performance of both parties. Ultimately, G is able to generate highly realistic seismic data samples, while the presence of D enables G to better capture the uncertainties of seismic activity, thereby enhancing the overall predictive ability and robustness of the model.
[0106] In the training loop, the specific update process is as follows:
[0107] For generator G:
[0108] Input noise (z): Usually sampled from a uniform distribution or Gaussian distribution, it serves as a seed for generating new samples. Its dimension determines the size of the potential space of generated data.
[0109] Loss function: Binary cross entropy loss is usually used to measure the probability that D misclassifies samples generated by G as real. The goal is to maximize this probability, that is, to make G better at deceiving D.
[0110] For the discriminator D
[0111] Real data: samples from actual earthquake records.
[0112] Generated data: Simulated seismic activity data generated by G based on the noise vector.
[0113] Loss function: It contains two parts, one is the loss of the probability that the real data is judged to be true, and the other is the loss of the probability that the generated data is judged to be false. The goal is to minimize the loss of the real data being misclassified and maximize the loss of correctly identifying the generated data.
[0114] Alternating training: In each iteration, the parameters of the discriminator D are updated first, and then the parameters of the generator G are updated based on the updated D. This ensures that the performance of both sides can be gradually improved.
[0115] Gradient penalty: In practice, gradient penalty (such as the gradient penalty GP of Wasserstein distance, or the more common R1 regularization) may be added to stabilize training and prevent mode collapse.
[0116] Learning rate decay: Gradually reducing the learning rate as training progresses helps the model converge to a better solution.
[0117] Early stopping strategy: observe the performance indicators on the validation set and stop training when there is no longer significant improvement to avoid overfitting.
[0118] Through the above steps, the generative adversarial network can gradually optimize the realism of the generated seismic activity pattern and improve the model's performance in the face of earthquake prediction uncertainty.
[0119] Furthermore, in order to make it more complex and changeable, you can design i The specific expression of is used to reflect the characteristics of earthquake data. In the field of earthquake prediction, different features (such as magnitude, focal depth, and historical earthquake activity frequency) may contribute differently to the prediction results. Therefore, the embodiment of the present invention can dynamically adjust the weight of each feature based on the relevance, importance, and reliability of the feature. The weighted average expression of the weighted fusion integration method is as follows:
[0120] ;
[0121] in, is the final prediction output, Indicates the The prediction function of the model, is the weight assigned to the model;
[0122] Secondly, design as follows:
[0123] ;
[0124] in, and Is a constant used to adjust the size of the overall weight; and Is an index adjusted according to the importance of the feature. If a feature is more important, the corresponding These parameters can be learned during the training of the prediction model using optimization algorithms (such as gradient descent) or can be pre-set based on statistical analysis of historical data.
[0125] Specifically, in actual operations, whether learning parameters through optimization algorithms or setting parameters based on statistical analysis of historical data, it is necessary to follow a certain methodology. The following are specific examples of the two approaches:
[0126] By optimizing the learning parameters of the algorithm, it is assumed that a machine learning model (such as a neural network or support vector machine) is used to predict earthquake hazard, and the model directly or indirectly contains the above weight parameters 、 、 and In this scenario, it is common to use gradient descent to optimize these parameters. The following is a brief example process based on gradient descent:
[0127] 1. Model definition: Construct a model whose output is related to earthquake hazard prediction, in which w is embedded directly or through an activation function. i For example, if a neural network is used, a weight matrix can be designed at a certain layer of the network, and the elements of the matrix are 、 、 and Calculated by combination.
[0128] 2. Loss function definition: Choose an appropriate loss function, such as mean squared error (MSE) or cross entropy loss, to measure the difference between the model prediction value and the actual earthquake data.
[0129] 3. Gradient calculation: Model parameters (including 、 、 and ) is used to calculate the gradient of the loss function. This step is usually done automatically by the backpropagation algorithm.
[0130] 4. Parameter update: According to the gradient descent rule, update the parameters with the learning rate η. For example, for the parameter , the update formula is , Similarly, update other parameters accordingly.
[0131] 5. Iterative optimization: Repeat steps 3-4 until the model loss no longer decreases significantly or the predetermined number of iterations is reached.
[0132] Pre-set based on statistical analysis of historical data:
[0133] If you choose to set these parameters based on statistical analysis of historical data, you can do so by following these steps:
[0134] 1. Data collection and preprocessing: Collect a large amount of earthquake event data, including magnitude, focal depth, etc., and perform necessary data cleaning and preprocessing.
[0135] 2. Feature importance assessment: Use statistical methods (such as correlation analysis, mutual information, and chi-square test) or machine learning feature selection methods (such as feature importance of random forest and sparsity of LASSO regression) to evaluate the importance of each feature (such as magnitude and focal depth) for earthquake hazard prediction.
[0136] 3. Parameter estimation: set based on feature importance results and For example, if the analysis shows that the magnitude is highly correlated with the earthquake hazard, At the same time, the initial values of α and γ are determined based on expert knowledge or data distribution to ensure the rationality of the weight factors.
[0137] 4. Verification and adjustment: Use methods such as cross-validation to verify the performance of the model on historical data, and fine-tune the parameters based on the verification results until the model performance reaches a satisfactory level.
[0138] Through these two methods, whether through an automatic learning process or manual setting based on statistical analysis, the parameters can be effectively determined. 、 、 and value, thereby improving the accuracy and reliability of the earthquake hazard prediction model.
[0139] In an embodiment of the present invention, by assigning higher weights to more relevant features, the impact of irrelevant or noisy features can be reduced, thereby improving the accuracy and reliability of the prediction model; as seismological research deepens, new discoveries can be quickly reflected in the weight distribution, allowing the model to evolve with the advancement of scientific cognition; with limited computing resources, focusing on high weights for key features can help converge to an effective model more quickly, saving time and computing costs; weight distribution reveals which factors are most critical in earthquake prediction, which is crucial for understanding and communicating prediction results, especially in risk assessment and emergency response planning.
[0140] In another embodiment provided by the present invention, the step of evaluating the vulnerability level of the target area under earthquake action, based on the structural type, construction year, and seismic fortification level information of the buildings in the target area, includes:
[0141] Calculate the seismic resistance index of a building based on its structural type ,in , represents the site correction factor, It represents the average value of shear wave velocity measured at the first 30 meters depth;
[0142] Introducing a building age reduction factor based on the year of construction ,in is the aging rate constant, The age of the building is used to adjust the building's earthquake resistance;
[0143] Determine the seismic performance evaluation index based on the preset seismic fortification level information , the calculation formula is ,in is the structural durability coefficient, is the damage tolerance factor, is the vulnerability index under earthquake action;
[0144] The vulnerability level of the target area under earthquake action is determined based on the seismic capacity index, the building age reduction factor and the seismic performance evaluation index.
[0145] Furthermore, the step of determining the vulnerability level of the target area under earthquake action based on the seismic capacity index, the building age reduction factor and the seismic performance evaluation index includes:
[0146] According to the seismic resistance index of each building , age reduction factor and seismic performance evaluation indicators , calculate the comprehensive vulnerability score for each building , the expression is as follows:
[0147] ;
[0148] in, Represents all buildings in the area The average value is used for standardization; , , is the weight of each factor, represents the age reduction factor, It represents the evaluation index of seismic performance;
[0149] The comprehensive vulnerability score Compared with the preset standard threshold set, the buildings are divided into several vulnerability levels, and the following classification rules are set:
[0150] - Low vulnerability: ;
[0151] -Medium vulnerability: ;
[0152] - High vulnerability: ;
[0153] - Extremely high vulnerability: ;
[0154] in, , , are the thresholds for low, medium, and high vulnerability, respectively.
[0155] Assuming we are evaluating the seismic resistance of buildings located in a specific target area, the following is an example of how to proceed according to the above method:
[0156] 1. Calculate the seismic resistance index Vs30:
[0157] Site correction coefficient Kz: Based on geological exploration data, it was determined that the target area was a soft soil site. After consulting relevant specifications, Kz=1.2 was obtained.
[0158] Average shear wave velocity Sds: Through geological radar detection, the average shear wave velocity in the first 30 meters depth was measured to be 300 meters per second.
[0159] Calculate Vs30: Substituting into the formula, we get Vs30 = Kz × Sds = 1.2 × 300 = 360 m / s. This indicates that the site in this area has good seismic resistance.
[0160] 2. Building age reduction factor Af:
[0161] Aging rate constant λ: Based on the building materials and maintenance conditions, it is assumed that λ=0.005 years^-1.
[0162] Building age t: A building was built in 1990. The current year is 2023, so t = 2023 − 1990 = 33 years.
[0163] Calculate Af: Substituting into the formula, we obtain Af = e − λt = e − 0.005 × 33 ≈ 0.84. This means that the building's earthquake resistance has decreased due to aging.
[0164] 3. Seismic performance evaluation index QBR
[0165] Structural durability coefficient Rd: According to the building structural design documents, the building is a reinforced concrete structure, Rd=0.9.
[0166] Damage tolerance coefficient Cd: Referring to the building code, the damage tolerance of this type of building is relatively high, and Cd=0.8 is set.
[0167] Vulnerability index Ie under earthquake action: Based on statistical analysis of the impact of historical earthquakes on this type of building, Ie=0.7.
[0168] Calculate QBR: Substituting into the formula, we obtain QBR = Rd × Cd × Ie = 0.9 × 0.8 × 0.7 = 0.504. This indicates that the building's seismic performance evaluation index is relatively moderate.
[0169] 4. Determine vulnerability level
[0170] Comprehensive assessment: Vs30=360m / s indicates good site conditions, Af=0.84 shows that the building has been damaged due to age, and QBR=0.504 indicates that the building's seismic performance is moderate.
[0171] Vulnerability level classification: Assume that the classification criteria are as follows:
[0172] High: Vs30 < 300 m / s and QBR < 0.4
[0173] Medium: 300≤Vs30<400m / s and 0.4≤QBR<0.6
[0174] Low: Vs30 ≥ 400 m / s and QBR ≥ 0.6
[0175] Based on the above conditions, the building site is in good condition, but due to the reduced seismic capacity due to its age and the moderate seismic performance evaluation index, the building can be classified as "medium vulnerability." This embodiment of the present invention demonstrates how to apply theoretical formulas to the seismic capacity assessment of actual buildings through specific numerical calculations, thereby determining their vulnerability level under earthquake action.
[0176] In another embodiment provided by the present invention, a regional earthquake safety assessment system based on database technology is provided. Figure 2 Shown, including:
[0177] Collection module 01 is used to collect earthquake historical data, geological exploration data, topographic information, geological structure information, geophysical exploration information, site seismic parameter information, and building attribute information as data required for earthquake safety assessment, and then store them in the central database after preprocessing;
[0178] Query module 02, used to extract data required for earthquake safety assessment corresponding to the target area from the central database using database query;
[0179] A first evaluation module 03 is used to establish an earthquake hazard prediction model based on the data required for the earthquake safety evaluation to evaluate the frequency of earthquakes in the target area within a preset time period;
[0180] The second assessment module 04 is used to assess the vulnerability level of the target area under earthquake action by combining the structural type, construction year and seismic fortification level information of the buildings in the target area;
[0181] The calculation module 05 is used to calculate the earthquake risk level of the target area based on the earthquake frequency and vulnerability level.
[0182] An embodiment of the present invention further provides an electronic device, including:
[0183] processor;
[0184] a memory for storing processor-executable instructions;
[0185] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0186] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method described above is implemented.
[0187] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0188] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A regional earthquake safety assessment method based on database technology, characterized in that: include: Collect historical earthquake data, geological exploration data, topographic information, geological structure information, geophysical exploration information, site seismic parameter information, and building attribute information as data required for earthquake safety assessment, and store them in a central database after pre-processing; Using database query to extract the data required for earthquake safety assessment corresponding to the target area from the central database; Establishing an earthquake hazard prediction model based on the data required for the earthquake safety assessment to evaluate the frequency of earthquakes in the target area within a preset time period; Based on the structural type, construction year, and seismic fortification level information of buildings in the target area, the vulnerability level of the target area under earthquake action is assessed, including the following steps: Calculate the seismic resistance index of a building based on its structural type ,in , represents the site correction factor, It represents the average value of shear wave velocity measured at the first 30 meters depth; Introducing a building age reduction factor based on the year of construction ,in is the aging rate constant, The age of the building is used to adjust the building's earthquake resistance; Determine the seismic performance evaluation index based on the preset seismic fortification level information , the calculation formula is ,in is the structural durability coefficient, is the damage tolerance factor, is the vulnerability index under earthquake action; Determining the vulnerability level of the target area under earthquake action based on the seismic capacity index, the building age reduction factor, and the seismic performance evaluation index, the steps include: According to the seismic resistance index of each building , age reduction factor and seismic performance evaluation indicators , calculate the comprehensive vulnerability score for each building , the expression is as follows: ; in, Represents all buildings in the area The average value is used for standardization; , , is the weight of each factor, represents the age reduction factor, It represents the evaluation index of seismic performance; The comprehensive vulnerability score Compared with the preset standard threshold set, the buildings are divided into several vulnerability levels, and the following classification rules are set: - Low vulnerability: ; -Medium vulnerability: ; - High vulnerability: ; - Extremely high vulnerability: ; in, , , are the thresholds for low, medium, and high vulnerability, respectively; Based on the earthquake frequency and vulnerability level, the earthquake risk level of the target area is calculated; The step of establishing an earthquake hazard prediction model based on the data required for the earthquake safety assessment to evaluate the frequency of earthquakes in the target area within a preset time period includes: The data required for earthquake safety assessment in the target area extracted from the central database is cleaned, outliers are removed, and missing values are filled to ensure data quality; Based on the pre-processed data required for earthquake safety evaluation, a hybrid model framework is used to construct an earthquake hazard prediction model. The earthquake hazard prediction model combines seismological theory with a deep learning model, uses the data required for earthquake safety evaluation in the target area as a training set, adjusts the model hyperparameters through cross-validation, and optimizes the prediction performance of the earthquake hazard prediction model.
2. The regional earthquake safety assessment method based on database technology according to claim 1 is characterized in that: The steps of extracting data required for earthquake safety assessment corresponding to the target area from the central database by using database query include: The central database uses crawler technology to automatically capture earthquake news and disaster reports on the Internet to supplement real-time information, so as to provide the data required for earthquake safety evaluation corresponding to the target area; The central database also includes detailed design drawings and construction records of buildings in the target area to ensure the accuracy of the building's structural type, construction year and seismic fortification level.
3. The regional earthquake safety assessment method based on database technology according to claim 1 is characterized in that: The steps of constructing an earthquake hazard prediction model using a hybrid model framework include: Using deep learning architecture and generative adversarial networks to simulate the uncertainty of seismic activity, the advantages of the model are combined through a weighted fusion ensemble method; The expression of its deep learning framework structure is: ; in, Represents the time step The hidden state of It is the data required for earthquake safety evaluation. and are nonlinear activation functions, and are model parameters; Construct a conditional adversarial network to simulate the uncertainty of seismic activity, the conditional adversarial network includes a generator and the discriminator , the expression of the conditional adversarial network is: ; In the earthquake prediction scenario, Used to generate new samples of seismic data, It is used to judge whether the input data is real earthquake data or a new earthquake data sample, where: is the input noise, which is sampled from a Gaussian distribution and serves as a seed for generating new samples of seismic data.
4. The regional earthquake safety assessment method based on database technology according to claim 3 is characterized in that: Also includes: The weighted average expression of the weighted fusion integration method is as follows: ; in, is the final prediction output, Indicates the The prediction function of the model, is the weight assigned to the model; Secondly, design as follows: ; in, and Is a constant used to adjust the size of the overall weight; and is an index adjusted according to feature importance.
5. A regional earthquake safety assessment system based on database technology, characterized in that: include: The collection module is used to collect earthquake historical data, geological exploration data, topographic information, geological structure information, geophysical exploration information, site seismic parameter information, and building attribute information as data required for earthquake safety assessment, and then store them in the central database after preprocessing; A query module is used to extract data required for earthquake safety assessment corresponding to the target area from the central database using database query; A first evaluation module is used to establish an earthquake hazard prediction model based on the data required for the earthquake safety evaluation to evaluate the frequency of earthquakes in the target area within a preset time period; The second assessment module is used to assess the vulnerability level of the target area under earthquake action by combining the structural type, construction year, and seismic fortification level information of the buildings in the target area, and the steps include: Calculate the seismic resistance index of a building based on its structural type ,in , represents the site correction factor, It represents the average value of shear wave velocity measured at the first 30 meters depth; Introducing a building age reduction factor based on the year of construction ,in is the aging rate constant, The age of the building is used to adjust the building's earthquake resistance; Determine the seismic performance evaluation index based on the preset seismic fortification level information , the calculation formula is ,in is the structural durability coefficient, is the damage tolerance factor, is the vulnerability index under earthquake action; Determining the vulnerability level of the target area under earthquake action based on the seismic capacity index, the building age reduction factor, and the seismic performance evaluation index, the steps include: According to the seismic resistance index of each building , age reduction factor and seismic performance evaluation indicators , calculate the comprehensive vulnerability score for each building , the expression is as follows: ; in, Represents all buildings in the area The average value is used for standardization; , , is the weight of each factor, represents the age reduction factor, It represents the evaluation index of seismic performance; The comprehensive vulnerability score Compared with the preset standard threshold set, the buildings are divided into several vulnerability levels, and the following classification rules are set: - Low vulnerability: ; -Medium vulnerability: ; - High vulnerability: ; - Extremely high vulnerability: ; in, , , are the thresholds for low, medium, and high vulnerability, respectively; A calculation module is used to calculate the earthquake risk level of the target area based on the earthquake frequency and vulnerability level; The step of establishing an earthquake hazard prediction model based on the data required for the earthquake safety assessment to evaluate the frequency of earthquakes in the target area within a preset time period includes: The data required for earthquake safety assessment in the target area extracted from the central database is cleaned, outliers are removed, and missing values are filled to ensure data quality; Based on the pre-processed data required for earthquake safety evaluation, a hybrid model framework is used to construct an earthquake hazard prediction model. The earthquake hazard prediction model combines seismological theory with a deep learning model, uses the data required for earthquake safety evaluation in the target area as a training set, adjusts the model hyperparameters through cross-validation, and optimizes the prediction performance of the earthquake hazard prediction model.
6. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the regional earthquake safety assessment method based on database technology as described in any one of claims 1 to 4.
7. A readable storage medium, characterized in that: The readable storage medium stores a computer program, which includes a program code for controlling a process to execute a process, and the process includes the regional seismic safety assessment method based on database technology according to any one of claims 1 to 4.
