A complex geological factor information vector encoding and decoding method
By constructing a geological factor classification system and a decoding mapping rule table, geological information is converted into a multi-dimensional vector, solving the problem of geological information standardization and realizing accurate information transmission and digital support for disaster assessment.
Patent Information
- Application Number
- CN202611694855.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-30
- Publication Date
- 2026-11-27
AI Technical Summary
The existing methods of expressing geological information lack standardization, making it difficult to directly input into machine learning models. This leads to ambiguity and distortion during information transmission, makes cross-project comparison difficult, and hinders intelligent disaster assessment.
A geological factor classification system was constructed, and one-hot encoding and numerical encoding were used to convert geological factors into multi-dimensional vectors. A decoding mapping rule table was established to realize the standardization and reversible conversion of geological information.
It enables structured processing of geological information, ensuring the accuracy and consistency of information transmission, supporting cross-regional comparison, and providing a digital foundation for disaster assessment.
Smart Images

Figure CN123178499A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of geological information processing technology for tunnel group construction, specifically a method for vector encoding and decoding of complex geological factors. Background Technology
[0002] In the construction of high-speed railway tunnel complexes, complex and variable geological conditions are a key factor restricting project progress and construction safety. In geologically active areas, multiple complex geological factors such as faults, rock joints, weak surrounding rocks, and abundant groundwater often coexist. How to systematically and accurately express this complex geological environment information has become a fundamental problem that urgently needs to be solved in the fields of construction planning and disaster identification.
[0003] Currently, the expression of geological information in the field of tunnel engineering still relies mainly on traditional methods, including the following forms: I. Textual Description Methods. Geological survey reports, construction logs, and technical documents record geological information in natural language. This type of unstructured text contains rich geological information, but its irregularity and ambiguity make it difficult for traditional computer programs to directly understand and process it. Many professional terms in geological data (such as rock names, geological structure types, and stratigraphic codes) lack standardized expressions. The same geological phenomenon is described differently in different reports, leading to the loss of details and ambiguities in understanding during information transmission and interdepartmental collaboration.
[0004] II. Map Labeling and Image Visualization Methods. Geological maps, cross-sections, and borehole columnar sections present geological information in graphical form. While highly intuitive, these methods suffer from diverse formats and inconsistent standards, making direct comparison and reuse between maps from different regions or projects difficult. Furthermore, the geological information in these maps is largely based on manual interpretation and labeling, lacking an effective mapping mechanism between the maps and digital models.
[0005] Third, fragmented digital storage methods. Although some geological data has been digitized, it is mostly limited to scanned copies or PDF document archives, failing to achieve structured and standardized digital representation of information. The lack of a unified coding mechanism and correlation model among various types of geological information makes it difficult for data to circulate and be shared between different systems.
[0006] The aforementioned prior art has the following main drawbacks: (1) Existing geological information is mostly unstructured or semi-structured data, lacking standardized digital representation, making it difficult to directly input into machine learning models for intelligent analysis and processing. With the rapid development of intelligent construction technology for full-face tunnel boring machines, machine learning algorithms require a large amount of comprehensive and detailed digitized geological information as a foundation, but traditional geological data formats cannot meet this requirement.
[0007] (2) Due to the lack of unified coding standards and standardized data formats, geological information relies on manual interpretation and experience judgment when it is transmitted between different professions and departments. Ambiguity and distortion are easily generated in the transmission of information, making it difficult to guarantee the accuracy and consistency of information transmission.
[0008] (3) Geological data are diverse and have different formats. There is a lack of comparable data systems between different regions or projects, making data reuse and cross-project comparison difficult. Existing geological data is difficult to be effectively reused and transferred in subsequent projects.
[0009] (4) There is a lack of effective digital interface between the existing geological information expression methods and disaster assessment models. Geological features cannot be quantified into numerical inputs that can be directly used by the model, which makes it difficult to support intelligent disaster assessment and limits the level of intelligence of geological disaster early warning and assessment.
[0010] Therefore, there is an urgent need for a technical solution that can support the standardized classification and vector encoding-decoding of geological factor information, effectively quantify complex geological condition information, improve the digitization level of tunnel engineering under complex geological conditions, and provide a standardized digital information conversion basis for disaster assessment. Summary of the Invention
[0011] (a) Technical problems to be solved In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a method for encoding and decoding complex geological factor information vectors to solve the problems mentioned in the background art.
[0012] (II) Technical Solution To achieve the above objectives, the present invention provides a method for encoding and decoding information vectors of complex geological factors, comprising the following steps: Step S1: Construct a geological factor classification system: Based on the geological factors involved in tunnel construction, establish a multi-level factor classification system that includes topography, strata, joints, mechanical properties, soil, and hydrology. Standardize the naming and data types of each geological factor to form a coded geological factor catalog. Step S2: Collect and extract geological information of the target area: Obtain geological information data of the target area through geological exploration, borehole detection, core observation and groundwater testing, and extract the corresponding geological factor information according to the geological factor catalog. Step S3: Vector encoding of geological factors: Select the corresponding encoding method according to the characteristic attributes of each geological factor, convert categorical geological factors into binary vectors using One-Hot encoding, convert numerical geological factors into numerical vectors using SI numerical encoding, and concatenate the encoding results of all geological factors in the order set in the geological factor catalog to generate a multi-dimensional vector, which serves as the standardized geological feature vector of the target area. Step S4: Construct a decoding mapping rule table: Establish a correspondence between each encoded dimension and the geological semantic description to form a decoding mapping rule table, so that the multidimensional vector can be restored into readable geological information according to the decoding mapping rule table.
[0013] Furthermore, in step S1, the geological factor classification system covers the main factors affecting geological stability during tunnel construction: The topographic and geomorphic categories include: elevation, topographic relief, slope aspect, slope position, normalized vegetation index, distance from fault, distance from river, and humidity index. The stratigraphic types include: rock mass composition, rock mass cementation coefficient, rock mass deformation characteristics, rock mass weathering degree, rock mass structure type, structural plane type, average stability time of rock mass, rock mass quality Q value, rock mass BQ value, rock mass RMR score, rock mass quality index RQD, weak interlayer material composition and weak interlayer filling degree. The joint types include: joint spacing, joint surface opening, properties of joint infill material, thickness of joint infill material, joint undulation, and joint roughness; The mechanical properties include: rock elastic modulus, rock Poisson's ratio, rock tensile strength, rock compressive strength, rock cohesion, and rock internal friction angle; The soil types include: soil density, soil compression modulus, soil natural unit weight, soil particle size distribution, and soil plasticity index. The hydrological parameters include: porosity, effective porosity, fracture ratio, fracture characteristics, karst ratio, permeability coefficient, seepage velocity, hydraulic gradient, water capacity, water holding capacity, water supply, water saturation, unconfined aquifer depth, confined aquifer depth, unconfined aquifer thickness, and mineralization.
[0014] Further, in step S2, the geological information includes: Information on geological structure and stratigraphic structure is obtained through geological surveys; Hydrogeological parameters were obtained through groundwater testing and borehole water extraction tests. Lithological characteristics and physical and mechanical parameters were obtained through core observation and indoor geotechnical tests. The acquired raw geological data is preprocessed to unify the data format and dimensions, forming standardized input data.
[0015] Furthermore, in step S3, the selection rule for the encoding method is as follows: For geological factors with a clear category affiliation, One-Hot coding is used. The coding length is equal to the total number of categories contained in the factor, where only the position corresponding to the actual category is coded as 1, and the rest of the positions are coded as 0. For geological factors with continuous numerical attributes, a fixed-length numerical code is used. The coded values are expressed in SI units, and the number of digits is preset according to the range of values of the factor in actual engineering. Each spatial unit corresponds to a multidimensional vector, the vector dimension of which is determined by the total number of geological factors and the coding length of each factor.
[0016] Furthermore, in step S3, when there are missing data in the collected geological information, the Bayes estimation method is used to complete the missing items, specifically as follows: For missing numerical geological factors, the expected value of the posterior distribution probability of the factor under known geological information conditions is used as the completion value. For missing categorical geological factors, the maximum a posteriori probability criterion is used, where the category with the highest a posteriori probability is encoded as 1, and the remaining categories are encoded as 0.
[0017] Further, in step S4, the decoding mapping rule table is a structured mapping database, which includes: The name of the geological factor corresponding to each coding dimension; The encoding method corresponding to each encoding dimension; The encoding length corresponding to each encoding dimension; The geological semantic interpretation and / or actual numerical meaning of each coded value or coded interval; This allows for the reconstruction of a complete geological information description dimension by dimension based on the decoding mapping rule table after inputting any encoding vector.
[0018] A system for encoding and decoding information vectors of complex geological factors, used to implement a method for encoding and decoding information vectors of complex geological factors, includes: The geological factor system construction module is used to establish a multi-level factor classification system based on the geological factors involved in tunnel engineering, and to standardize the naming and data types of each geological factor. The geological information acquisition module is used to acquire geological information data of the target area through various exploration and testing methods, and to extract the corresponding geological factor information according to the geological factor catalog. The vector encoding module is used to select the appropriate encoding method according to the characteristic attributes of each geological factor, convert categorical geological factors into binary vectors using One-Hot encoding, convert numerical geological factors into numerical vectors using numerical encoding, and concatenate the encoding results of all factors into a unified multidimensional vector. The decoding mapping module is used to store and manage the decoding mapping rule table, and realize the conversion and restoration of multi-dimensional vectors into geological semantic descriptions; The missing data processing module is used to fill in the missing items in the collected data using the Bayesian estimation method, generating a complete encoding vector.
[0019] Furthermore, the standardized geological feature vectors generated by the vector encoding module can serve as a data input interface, directly connecting to the tunnel engineering geological hazard identification model and construction risk assessment model, thereby achieving end-to-end digital information conversion from geological information collection to hazard assessment.
[0020] (III) Beneficial Effects This invention provides a method for vector encoding and decoding of complex geological factors, which has the following advantages: 1. This invention constructs a unified geological factor classification system to systematically sort out and standardize the naming of geological factors such as topography, strata lithology, joint characteristics, mechanical properties, soil parameters, and hydrological conditions. One-Hot encoding and numerical encoding are used for different factors respectively, and all factors are spliced into a unified multi-dimensional vector. This realizes the conversion of unstructured geological information into standardized and structured numerical vectors, making geological information computable and directly input into machine learning models. 2. This invention establishes a complete decoding mapping rule table for each encoding dimension, recording the correspondence between each vector dimension and its geological semantics. The encoded vector can be accurately restored to the original geological information according to the mapping table, realizing bidirectional reversibility of encoding and decoding, and ensuring the accuracy and consistency of information in the transmission process. 3. This invention converts geological data from different sources and in different formats into standardized vector data through unified coding rules, enabling cross-regional and cross-project geological information to have a comparable and transferable digital foundation; 4. This invention uses the encoded geological feature vector as a standardized input to the disaster identification model, realizing end-to-end digital information conversion from geological information collection to disaster assessment, and providing a directly usable data input basis for early warning and assessment of geological disasters in tunnel engineering; 5. This invention uses Bayes estimation to complete missing terms, uses the expected value of the posterior probability distribution to complete numerical coding factors, and uses the maximum posterior probability position to complete One-Hot coding factors by setting 1 for the position and 0 for the other positions, thus ensuring the integrity of the coding vector and its practicality in engineering. Attached Figure Description
[0021] Figure 1 This is an overall flowchart of a method for encoding and decoding complex geological factor information vectors according to the present invention. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] The present invention will be described in detail below through specific embodiments, specifically as follows: The present invention provides a method for encoding and decoding information vectors of complex geological factors, such as... Figure 1 As shown, it includes the following steps: Step S1: Construct a geological factor classification system Based on the geological factors involved in tunnel construction, a multi-level factor classification system is established. The complexity of geological conditions in tunnel construction is reflected in several aspects: topography determines the macro-geological environment of the tunnel; strata lithology is the direct object of tunnel excavation; the degree of joint development directly affects the integrity of the surrounding rock; mechanical properties determine the bearing capacity of the surrounding rock; soil parameters affect the stability of the tunnel entrance and shallow buried sections; and hydrological conditions are closely related to the risk of sudden water inrush during tunnel construction. Therefore, this invention classifies geological factors into six categories, standardizes the naming and data types of each geological factor, and forms a coded geological factor catalog.
[0024] Specifically, the geological factor classification system includes the following six categories and a total of 54 factors: The topography category includes: elevation, topographic relief, slope aspect, slope position, normalized difference vegetation index (NDVI), distance from fault, distance from river, and humidity index, totaling 8 items. Elevation refers to the distance from a point along a plumb line to the absolute datum. Different elevations have different effects on tunnel stability. The higher the entrance elevation, the greater the displacement and internal force response of the tunnel lining at the entrance section. Topographic relief refers to the difference between the highest and lowest elevations in the area. Large undulations can easily lead to groundwater inrush problems. Slope aspect is the direction of the projection of the slope normal onto the horizontal plane. The rock strata in the middle of a syncline tunnel are heavier and prone to collapse. The construction of anticline tunnels can easily lead to a rise in the groundwater level. Slope position refers to the geomorphic location of the slope, which is directly related to the stability of the tunnel entrance and construction safety. NDVI reflects the vegetation growth status and coverage. A high NDVI means good moisture conditions, while a low NDVI means exposed rock and thin soil layers. Distance from faults and distance from rivers reflect the spatial relationship between the tunnel and fault zones and surface water bodies, respectively. Humidity index reflects the degree of climate humidity. A high humidity index means abundant groundwater.
[0025] The stratigraphic category includes: rock mass composition, rock mass cementation coefficient, rock group deformation characteristics, rock mass weathering degree, rock mass structure type, structural plane type, rock mass mean stability time, rock mass quality Q value, rock mass BQ value, rock mass RMR score, rock mass quality index RQD, weak interlayer material composition, and weak interlayer filling degree, totaling 13 items. The composition of rock mass determines its basic mechanical properties. Soft rocks have low strength and significant plastic deformation, while hard rocks have high strength and are prone to rockburst. The cementation coefficient is related to the influence of creep. The deformation characteristics of rock groups reflect the degree of plastic deformation of metamorphic rocks. The weathering degree of rock mass is divided into five levels, and different weathering degrees have different effects on stability. Rock mass structure types are divided into four categories: integral massive structure, layered structure, fractured structure, and granular structure. Structural plane types are divided into three categories: primary structural plane, tectonic structural plane, and secondary structural plane. The mean stability time of rock mass reflects the self-stabilizing ability of the surrounding rock after excavation. Rock mass quality Q value, BQ value, RMR score, and RQD index comprehensively evaluate rock mass quality from different perspectives. The material composition and filling degree of weak interlayers directly affect the mechanical behavior of the surrounding rock.
[0026] Joints are categorized into six types: joint spacing, joint surface opening, properties of joint infill material, thickness of joint infill material, joint undulation, and joint roughness. Smaller joint spacing indicates higher joint density and less stable rock mass. Joint surface opening is classified into three types: closed, cracked, and open. Infill material properties are divided into cemented and uncemented infill; uncemented infill containing poorly expansive minerals exhibits poorer mechanical properties. Infill thickness is classified into thin-film infill, continuous infill, discontinuous infill, and thick-layer infill. Joint undulation characterizes large-scale undulation patterns, classified into planar, wavy, and stepped shapes. Joint roughness characterizes small-scale irregular bumps and depressions, classified into three levels: rough, flat, and smooth.
[0027] Mechanical properties include: rock elastic modulus, rock Poisson's ratio, rock tensile strength, rock compressive strength, rock cohesion, and rock internal friction angle, totaling six items. A higher elastic modulus indicates greater rock stiffness and stronger resistance to bending and deformation; a higher Poisson's ratio indicates more significant lateral shrinkage or expansion of the material; tensile strength and compressive strength characterize the ultimate bearing capacity of rock under tensile and compressive stresses, respectively; cohesion and internal friction angle are shear strength parameters of rock and soil materials, reflecting the magnitude of friction between particles.
[0028] Soil properties include: soil density, soil compression modulus, soil natural unit weight, soil particle size distribution, and soil plasticity index, totaling five items. Higher soil density results in greater pressure on the surrounding rock of the tunnel; a low compression modulus leads to more significant tunnel deformation; soil layers with high natural unit weight are prone to surface subsidence; poor soil particle size distribution results in fewer particle contact points and a looser structure; clay with a high plasticity index swells significantly when exposed to water.
[0029] Hydrological parameters include: porosity, effective porosity, fracture ratio, fracture characteristics, karst ratio, permeability coefficient, seepage velocity, hydraulic gradient, water holding capacity, water yield, water saturation, unconfined aquifer depth, confined aquifer depth, unconfined aquifer thickness, and mineralization, totaling 16 parameters. Porosity and effective porosity determine the material's storage capacity and fluid permeability; fracture ratio reflects the degree of fracture development in rock strata; fracture characteristics are classified by origin into diagenetic fractures, tectonic fractures, and weathering fractures; karst ratio is significantly correlated with the risk of karst collapse; permeability coefficient, seepage velocity, and hydraulic gradient reflect the characteristics of groundwater transport; water holding capacity, water yield, and water saturation reflect the water storage and release capacity of soil and rock masses; unconfined aquifer depth, confined aquifer depth, and unconfined aquifer thickness reflect the spatial distribution of groundwater; and mineralization reflects the total amount of chemical components in the water.
[0030] The above classification system enables a systematic sorting and standardized naming of various geological factors in tunnel construction, providing a unified data foundation for subsequent coding.
[0031] Step S2: Collect and extract geological information of the target area. Geological information data of the target area is obtained through geological exploration, borehole detection, core observation and groundwater testing, and the corresponding geological factor information is extracted according to the geological factor catalog.
[0032] Specifically, geological information collection includes the following methods: Geological surveys are used to obtain information on geological structures and stratigraphic structures, including macroscopic geological features such as fault distribution, stratigraphic attitude, and fold morphology. Information about deep strata is obtained through borehole exploration, including lithological variations and rock mass integrity at different depths; Lithological characteristics, including rock type, mineral composition, degree of weathering, and joint development, are obtained through core observation. Physical and mechanical parameters, including density, compression modulus, and shear strength, are obtained through indoor geotechnical tests. Hydrogeological parameters, including permeability coefficient, groundwater level, and water inflow, are obtained through groundwater testing and borehole water yield tests.
[0033] The acquired raw geological data is preprocessed to standardize the data format and units, forming standardized input data. For example, elevation data is standardized to meters (m), and permeability coefficients are standardized to centimeters per second (cm / s) or meters per day (m / d), ensuring the comparability of subsequent coded values.
[0034] Step S3: Vector encoding of geological factors Based on the characteristic attributes of each geological factor, the corresponding encoding method is selected, and the encoding results of all geological factors are concatenated in the order set in the geological factor catalog to generate a multi-dimensional vector, which serves as the standardized geological feature vector of the target area.
[0035] Specifically, the rules for selecting the encoding method are as follows: For geological factors with a clearly defined category (i.e., categorical geological factors), One-Hot encoding is used. One-Hot encoding is an encoding method that converts categorical variables into binary vectors. The encoding length is equal to the total number of categories contained in the factor, where only the positions corresponding to the actual category are encoded as 1, and the remaining positions are encoded as 0.
[0036] For example, slope aspect factors can be divided into 8 directional categories with a code length of 8. If the actual slope aspect is northeast, the code is "01000000" (assuming the order is: North, Northeast, East, Southeast, South, Southwest, West, Northwest); slope position factors are divided into 5 categories with a code length of 5. If the actual slope position is a medium slope, the code is "00100"; rock mass composition factors have a code length set according to rock type. If it is sandstone, the corresponding position is coded as 1; rock mass deformation characteristic factors have a code length of 3. If it is plastic deformation, the corresponding position is coded as "010"; The code length for the body structure type factor is 4; if it is a fragmented structure, it is coded as "0001". The code length for the structure surface type factor is 3; if it is a bedding surface, it is coded as "100". The code length for the soft interlayer material composition factor is 4; if it is a clay interlayer, it is coded as "0010". The code length for the joint filling material property factor is 3; if it is soft filling, it is coded as "010". The code length for the soil particle size distribution factor is 2; if it is well-graded, it is coded as "01". The code length for the fracture characteristic factor is 3; if it is a weathered fracture, it is coded as "100".
[0037] For geological factors with continuous numerical attributes (i.e., numerical geological factors), a fixed-length numerical code is used. The coded values are expressed in the International System of Units (SI), and the number of digits is pre-set based on the range of values the factor takes in actual engineering applications. For example, elevation uses a 4-digit code (e.g., "0850" represents 850m), topographic relief uses a 3-digit code (e.g., "120" represents a relief height of 120m), distance from a fault uses a 4-digit code (e.g., "0300" represents a distance of 300m from a fault), joint spacing uses a 3-digit code (e.g., "032" represents a joint spacing of 32cm), rock elastic modulus uses a 4-digit code (e.g., "3200" represents an elastic modulus of 3200MPa), and permeability coefficient uses a 4-digit code (e.g., "0012" represents a permeability coefficient). ).
[0038] During the encoding process, each spatial unit corresponds to a multidimensional vector, and the vector dimension is determined by the total number of geological factors and the encoding length of each factor. In this embodiment, the 54 geological factors are arranged in a fixed order, and the encoding results of all factors are concatenated sequentially to form a unified multidimensional vector.
[0039] For example, if the geological information of a spatial unit is encoded according to the above encoding rules, the following encoding vector is obtained: 0850 120 01000000 00100 065 0300 0150 110 001000 085 010 070 0001 1000120 025 060 075 085 0010 090 032 006 010 010 045 060 3200 025 012 1200 085032 185 0250 180 01 022 035 028 040 100 015 0012 085 012 060 045 030 100 01200300 0045 1500.
[0040] The segments in the above encoded vector correspond to the following in sequence: elevation (0850), topographic relief (120), slope aspect (01000000), slope position (00100), NDVI (065), distance from fault (0300), distance from river (0150), humidity index (110), rock mass composition (001000), rock mass cementation coefficient (085), rock mass deformation characteristics (010), rock mass weathering degree (070), and rock mass structure type (0...). 001), Structural plane type (100), Mean stability time of rock mass (0120), Rock mass quality Q value (025), Rock mass BQ value (060), Rock mass RMR score (075), Rock mass quality index RQD (085), Composition of weak interlayer material (0010), Filling degree of weak interlayer (090), Joint spacing (032), Joint opening degree (006), Properties of joint filling material (010), Thickness of joint filling material (010). Joint undulation (045), joint roughness (060), rock elastic modulus (3200), rock Poisson's ratio (025), rock tensile strength (012), rock compressive strength (1200), rock cohesion (085), rock internal friction angle (032), soil density (185), soil compression modulus (0250), soil natural unit weight (180), soil particle size distribution (01), soil plasticity index (022), porosity (035). Effective porosity (028), fracture ratio (040), fracture characteristics (100), karst ratio (015), permeability coefficient (0012), seepage velocity (085), hydraulic gradient (012), water capacity (060), water holding capacity (045), water yield (030), water saturation (100), phreatic depth (0120), confined aquifer depth (0300), phreatic aquifer thickness (0045), mineralization (1500).
[0041] This encoded vector is the standardized geological feature vector of the spatial unit, which can be directly used for subsequent storage, transmission and calculation.
[0042] When missing data exists in the collected geological information, the Bayesian estimation method is used to complete the missing items. The specific method is as follows: Let the geological information vector of a certain spatial unit be... Some factors are missing. Let the missing factors be X, and the known factors be C. According to Bayes' theorem, the posterior probability distribution of the missing factor X given the known factor C is: ; Wherein, P(X) is the prior probability distribution of the missing factor, which can be obtained based on existing geological data or regional geological statistics of the region; P(C|X) is the conditional probability of the occurrence of known geological information under the given missing factor values; P(C) is the marginal probability of the known geological information, which is used as a normalization constant.
[0043] For missing numerical factors, the expected value of the posterior probability distribution is used as the imputation value, expressed as: ; Where m represents the nth missing factor.
[0044] For categorical missing factors (One-Hot encoded factors), the maximum a posteriori probability criterion is used for completion, that is, the position of the category with the highest posterior probability is encoded as 1, and the other positions are encoded as 0.
[0045] By using the Bayesian estimation method described above, complete and reasonable encoding vectors can be generated even when the data is incomplete, thereby enhancing the data adaptability and robustness of this invention in practical engineering.
[0046] Step S4: Construct the decoding mapping rule table A correspondence is established between each encoding dimension and the geological semantic description to form a decoding mapping rule table, so that the multidimensional vector can be restored into readable geological information according to the decoding mapping rule table.
[0047] The decoding mapping rule table is a structured mapping database, which contains the following: The geological factor name corresponding to each coded dimension is used to identify the type of geological parameter represented by that dimension; The encoding method corresponding to each encoding dimension is used to determine whether the dimension uses One-Hot encoding or numerical encoding; The encoding length corresponding to each encoding dimension is used to determine the start and end positions of that dimension in the vector; The geological semantic interpretation and / or actual numerical meaning corresponding to each coded value or coded interval are used to realize the conversion from coding to geological information.
[0048] For example, a portion of the decoding mapping rule table is shown in the table below: ; ; ; ; When geological information for a specific spatial unit is needed, the multidimensional encoding vector of that unit is input, and decoding is performed dimension by dimension according to the decoding mapping rule table: for numerical encoding dimensions, the encoded values are directly restored to their corresponding physical quantities and units; for One-Hot encoding dimensions, the corresponding category is determined based on the position of the "1" in the encoding. Finally, the decoding results of all dimensions are summarized to restore the complete geological information description.
[0049] This invention provides a system for encoding and decoding information vectors of complex geological factors, used to implement a method for encoding and decoding information vectors of complex geological factors. The system includes the following modules: The geological factor system construction module is used to establish a multi-level factor classification system based on the geological factors involved in tunnel engineering, and to standardize the naming and data type of each geological factor. This module internally stores a standardized catalog of 54 geological factors across six categories, including metadata information such as the name, data type (categorical or numerical), encoding method, encoding length, and value range of each factor.
[0050] The geological information acquisition module is used to acquire geological information data of the target area through various exploration and testing methods, and extract corresponding geological factor information according to the geological factor catalog. This module supports access from multiple data sources, including geological exploration data interfaces, borehole detection data interfaces, core observation and recording interfaces, and groundwater testing data interfaces, and can uniformly convert raw geological data from different sources and in different formats into a standardized input format.
[0051] The vector encoding module selects the appropriate encoding method based on the characteristic attributes of each geological factor. It converts categorical geological factors into binary vectors using One-Hot encoding and numerical geological factors into numerical vectors using numerical encoding. The module then concatenates the encoding results of all factors into a unified multidimensional vector. This module processes each factor sequentially according to the order specified in the geological factor catalog, generating a complete standardized geological feature vector.
[0052] The decoding mapping module stores and manages the decoding mapping rule table, enabling the conversion and restoration of multi-dimensional vectors into geological semantic descriptions. This module contains a complete decoding mapping database, supports dimension-by-dimensional decoding of arbitrary encoded vectors, and outputs readable geological information descriptions.
[0053] The missing data processing module is used to complete missing items in the collected data using Bayesian estimation methods, generating complete encoding vectors. This module has a built-in Bayesian estimation algorithm that can perform probabilistic inference and reasonable completion of missing factors based on known geological information.
[0054] In summary, this invention, by constructing a standardized geological factor coding system and a reversible decoding mapping mechanism, transforms complex geological condition information into a unified multidimensional vector expression, effectively solving the industry pain point of low digitization of geological information and difficulty in supporting intelligent analysis in the field of tunnel engineering, and has significant engineering practical value.
[0055] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Any modifications, alterations, substitutions, and variations made by those skilled in the art to the above embodiments are within the scope of the present invention.
Claims
1. A method for vector encoding and decoding of complex geological factor information, characterized in that, Includes the following steps: Step S1: Construct a geological factor classification system: Based on the geological factors involved in tunnel construction, establish a multi-level factor classification system that includes topography, strata, joints, mechanical properties, soil, and hydrology. Standardize the naming and data types of each geological factor to form a coded geological factor catalog. Step S2: Collect and extract geological information of the target area: Obtain geological information data of the target area through geological exploration, borehole detection, core observation and groundwater testing, and extract the corresponding geological factor information according to the geological factor catalog. Step S3: Vector encoding of geological factors: Select the corresponding encoding method according to the characteristic attributes of each geological factor, convert categorical geological factors into binary vectors using One-Hot encoding, convert numerical geological factors into numerical vectors using SI numerical encoding, and concatenate the encoding results of all geological factors in the order set in the geological factor catalog to generate a multi-dimensional vector, which serves as the standardized geological feature vector of the target area. Step S4: Construct a decoding mapping rule table: Establish a correspondence between each encoded dimension and the geological semantic description to form a decoding mapping rule table, so that the multidimensional vector can be restored into readable geological information according to the decoding mapping rule table.
2. The method for encoding and decoding complex geological factor information vectors according to claim 1, characterized in that, In step S1, the geological factor classification system covers the main factors that affect geological stability during tunnel construction: The topographic and geomorphic categories include: elevation, topographic relief, slope aspect, slope position, normalized vegetation index, distance from fault, distance from river, and humidity index. The stratigraphic types include: rock mass composition, rock mass cementation coefficient, rock mass deformation characteristics, rock mass weathering degree, rock mass structure type, structural plane type, average stability time of rock mass, rock mass quality Q value, rock mass BQ value, rock mass RMR score, rock mass quality index RQD, weak interlayer material composition and weak interlayer filling degree. The joint types include: joint spacing, joint surface opening, properties of joint infill material, thickness of joint infill material, joint undulation, and joint roughness; The mechanical properties include: rock elastic modulus, rock Poisson's ratio, rock tensile strength, rock compressive strength, rock cohesion, and rock internal friction angle; The soil types include: soil density, soil compression modulus, soil natural unit weight, soil particle size distribution, and soil plasticity index. The hydrological parameters include: porosity, effective porosity, fracture ratio, fracture characteristics, karst ratio, permeability coefficient, seepage velocity, hydraulic gradient, water capacity, water holding capacity, water supply, water saturation, unconfined aquifer depth, confined aquifer depth, unconfined aquifer thickness, and mineralization.
3. The method for encoding and decoding complex geological factor information vectors according to claim 1, characterized in that, In step S2, the geological information includes: Information on geological structure and stratigraphic structure is obtained through geological surveys; Hydrogeological parameters were obtained through groundwater testing and borehole water extraction tests. Lithological characteristics and physical and mechanical parameters were obtained through core observation and indoor geotechnical tests. The acquired raw geological data is preprocessed to unify the data format and dimensions, forming standardized input data.
4. The method for encoding and decoding complex geological factor information vectors according to claim 1, characterized in that, In step S3, the selection rule for the encoding method is as follows: For geological factors with a clear category affiliation, One-Hot coding is used. The coding length is equal to the total number of categories contained in the factor, where only the position corresponding to the actual category is coded as 1, and the rest of the positions are coded as 0. For geological factors with continuous numerical attributes, a fixed-length numerical code is used. The coded values are expressed in SI units, and the number of digits is preset according to the range of values of the factor in actual engineering. Each spatial unit corresponds to a multidimensional vector, the vector dimension of which is determined by the total number of geological factors and the coding length of each factor.
5. The method for encoding and decoding complex geological factor information vectors according to claim 1, characterized in that, In step S3, when there are missing data in the collected geological information, the Bayes estimation method is used to complete the missing items, specifically as follows: For missing numerical geological factors, the expected value of the posterior distribution probability of the factor under known geological information conditions is used as the completion value. For missing categorical geological factors, the maximum a posteriori probability criterion is used, where the category with the highest a posteriori probability is encoded as 1, and the remaining categories are encoded as 0.
6. The method for encoding and decoding complex geological factor information vectors according to claim 1, characterized in that, In step S4, the decoding mapping rule table is a structured mapping database, which includes: The name of the geological factor corresponding to each coding dimension; The encoding method corresponding to each encoding dimension; The encoding length corresponding to each encoding dimension; The geological semantic interpretation and / or actual numerical meaning of each coded value or coded interval; This allows for the reconstruction of a complete geological information description dimension by dimension based on the aforementioned decoding mapping rule table after inputting any encoded vector.
7. A complex geological factor information vector encoding and decoding system, used to implement the complex geological factor information vector encoding and decoding method according to any one of claims 1-6, characterized in that, include: The geological factor system construction module is used to establish a multi-level factor classification system based on the geological factors involved in tunnel engineering, and to standardize the naming and data types of each geological factor. The geological information acquisition module is used to acquire geological information data of the target area through various exploration and testing methods, and to extract the corresponding geological factor information according to the geological factor catalog. The vector encoding module is used to select the appropriate encoding method according to the characteristic attributes of each geological factor, convert categorical geological factors into binary vectors using One-Hot encoding, convert numerical geological factors into numerical vectors using numerical encoding, and concatenate the encoding results of all factors into a unified multidimensional vector. The decoding mapping module is used to store and manage the decoding mapping rule table, and realize the conversion and restoration of multi-dimensional vectors into geological semantic descriptions; The missing data processing module is used to fill in the missing items in the collected data using the Bayesian estimation method, generating a complete encoding vector.
8. The complex geological factor information vector encoding and decoding system according to claim 7, characterized in that, The standardized geological feature vectors generated by the vector encoding module can serve as a data input interface, directly connecting to the tunnel engineering geological hazard identification model and construction risk assessment model, thereby achieving end-to-end digital information conversion from geological information collection to hazard assessment.
