A well logging lithology interpretation method and related devices

By constructing a lithology-boundary multi-task sequence model and utilizing sample confidence and boundary zone labels, the problems of thin-layer information loss and interface drift in well logging lithology identification were solved, generating continuous and complete lithological segments, thus improving the accuracy of lithology classification and the model's generalization ability.

CN123180282APending Publication Date: 2026-11-27徐矿集团哈密能源有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611378476.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing well logging lithology identification methods suffer from the loss of fine geological information and label noise in the processing of thin-layer information within the drilling interval. Furthermore, fragmented layers and interface drift are prone to occur in lithology gradient sections, making it difficult for the model's generalization ability to accurately reflect the situation.

Method used

By constructing a lithology-boundary multi-task sequence model, using sample confidence and boundary zone labels, a multivariate logging sequence window is trained, lithology category probabilities are calculated, and a candidate set of lithology interfaces is generated. The layer is then reconstructed by combining minimum layer thickness and lithology combination judgment conditions.

Benefits of technology

It enables the coordinated use of drilling main monitoring and thin-layer weak monitoring information to generate continuous and complete lithological segments, reducing label noise interference and inaccurate interface identification, and improving the accuracy of lithological classification and the continuity of segments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180282A_ABST
    Figure CN123180282A_ABST
Patent Text Reader

Abstract

The present disclosure provides a well logging lithology interpretation method and related equipment, including: acquiring continuous logging curves and drilling lithology sublayer data of multiple boreholes in a target area, and preprocessing to obtain lithology data; determining sample confidence based on the lithology data and the continuous logging curves; obtaining a lithology sequence in depth order, and determining a boundary zone label based on the lithology categories of adjacent depth sampling points; constructing a multivariate logging sequence window, training a lithology-boundary multi-task sequence model in combination with the sample confidence and the boundary zone label; inputting the multivariate logging sequence window of a borehole to be measured into the model to obtain lithology category probabilities, calculating probability change scores of adjacent sampling points, and obtaining a lithology interface candidate set through screening and constraint; dividing the borehole to be measured based on the lithology interface candidate set to obtain initial lithology intervals, and reconstructing to obtain continuous lithology intervals. The present disclosure can make full use of drilling sublayer and thin layer related information, and realize automatic generation of continuous lithology intervals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of geophysical well logging exploration technology, and in particular to a well logging lithology interpretation method and related equipment. Background Technology

[0002] In drilling lithological stratification for coal, oil and gas, geothermal, and underground engineering exploration, logging curves such as natural gamma, resistivity, density, gamma-gamma, and borehole diameter can continuously reflect formation properties along the borehole depth. Drilling lithological stratification has direct geological evidence, but it is generally recorded in discrete intervals; logging data has continuous sampling characteristics from centimeter to decimeter level, and the two differ in depth benchmark, sampling scale, and formation interface location.

[0003] Most existing well logging lithology identification methods directly construct supervised classification models using drilled sections. However, discarding thin geological information within drilled sections, which is reflected by multiple well logging curves, leads to the loss of detailed geological information. Furthermore, using the same weight for thin-layer information obtained from well logging identification and drilled layer labels as training ground values ​​treats interpretations with varying degrees of evidence as equally reliable sample labels, introducing label noise and affecting model training performance. Additionally, existing methods employ a point-by-point lithology classification model, which is prone to fragment layers and stratigraphic interface drift in interbedded or lithologically transitional sections, failing to fully utilize geological constraints such as classification probability variations, boundary uncertainties, and minimum layer thickness. Moreover, the dataset partitioning method can easily lead to inflated model evaluation results, making it difficult to accurately reflect the model's generalization ability.

[0004] It should be noted that the above description of the technical background is only for the purpose of providing a clear and complete explanation of the technical solutions of the present invention and facilitating understanding by those skilled in the art. It should not be assumed that the above technical solutions are known to those skilled in the art simply because they have been described in the background section of this invention. Summary of the Invention

[0005] In view of this, the purpose of one or more embodiments of this disclosure is to provide a well logging lithology interpretation method and related equipment to solve or partially solve the problems raised in the background art.

[0006] To achieve the above objectives, this disclosure provides a well logging lithology interpretation method, the method comprising:

[0007] Acquire continuous logging curves and drilling lithology stratification data from multiple boreholes within the target area, and preprocess them to obtain lithology data; Based on the lithological data and the continuous logging curves, the sample confidence level of each sample is determined; The lithological data are sorted according to the measured depth to obtain the lithological sequence corresponding to each borehole, and the boundary zone label is determined based on the lithological category of adjacent depth sampling points in the lithological sequence. A multivariate logging sequence window is constructed based on the continuous logging curves, and a lithology-boundary multi-task sequence model is trained using the multivariate logging sequence window, the sample confidence level, and the boundary zone label. Continuous logging curves of the borehole to be tested are obtained, and a multivariate logging sequence window of the borehole to be tested is constructed; the multivariate logging sequence window of the borehole to be tested is input into the lithology-boundary multi-task sequence model to obtain the lithology category probability; Based on the probability of the lithology category, the probability change score of adjacent sampling points is calculated, and the probability change score is filtered and constrained to obtain a candidate set of lithology interfaces. The borehole to be tested is divided based on the candidate set of lithological interfaces to obtain initial lithological segments, and the initial lithological segments are reconstructed to obtain continuous lithological segments.

[0008] Based on the same inventive concept, this disclosure also provides a well logging lithology interpretation system, the system comprising: The acquisition module is configured to acquire continuous logging curves and drilling lithology stratification data of multiple boreholes within the target area, and preprocess them to obtain lithology data. The first determining module is configured to determine the sample confidence level of each sample based on the lithological data and the continuous logging curves. The second determining module is configured to sort the lithological data according to the measured depth to obtain the lithological sequence corresponding to each borehole, and determine the boundary zone label based on the lithological category of adjacent depth sampling points in the lithological sequence; The construction module is configured to construct a multivariate logging sequence window based on the continuous logging curves, and use the multivariate logging sequence window, the sample confidence and the boundary zone label to train a lithology-boundary multi-task sequence model. The output module is configured to acquire continuous logging curves of the borehole to be tested, construct a multivariate logging sequence window of the borehole to be tested, and input the multivariate logging sequence window of the borehole to be tested into the lithology-boundary multi-task sequence model to obtain the lithology category probability. The calculation module is configured to calculate the probability change score of adjacent sampling points based on the lithology category probability, and to perform filtering and constraint processing on the probability change score to obtain a candidate set of lithology interfaces. The reconstruction module is configured to divide the borehole to be tested based on the candidate set of lithological interfaces to obtain an initial lithological segment, and to reconstruct the initial lithological segment to obtain a continuous lithological segment.

[0009] Based on the same inventive concept, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a well logging lithology interpretation method as described in any of the preceding claims.

[0010] Based on the same inventive concept, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute any of the above-described well logging lithology interpretation methods.

[0011] Based on the same inventive concept, this disclosure also provides a computer program product, including one or more computer programs, which, when executed by one or more processors, implement any of the above-described well logging lithology interpretation methods.

[0012] As can be seen from the above, the well logging lithology interpretation method provided in this disclosure distinguishes training samples by introducing sample confidence levels, constructs a lithology-boundary multi-task sequence model by combining boundary zone labels, calculates probability change scores based on lithology category probabilities, filters constraints to obtain a candidate set of lithological interfaces, and performs reconstruction processing on the initial lithological segments obtained from well section division. This solves the technical problems of difficulty in simultaneously taking into account reliable drilling layering and thin-layer information, and the fragmentation of lithological segment division, when directly using drilling labels to train the model. The technical solution of this disclosure achieves the coordinated use of drilling main supervision and thin-layer weak supervision information, simultaneously completing lithology classification and lithology transformation neighborhood identification, generating continuous and complete lithological segments, and effectively solving the problems of weak label noise interfering with model training, inaccurate lithological interface identification, segment fragmentation, and interface repetition. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in one or more embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings described below are only one or more embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 A schematic flowchart of a well logging lithology interpretation method provided in this embodiment of the disclosure; Figure 2 This is a schematic diagram of the lithology-boundary multi-task sequence model structure provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of the lithological probability variation interface candidate extraction process provided in an embodiment of the present disclosure; Figure 4 This is a schematic diagram of the structure of a well logging lithology interpretation system provided in an embodiment of the present disclosure; Figure 5 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0015] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0016] It should be noted that, unless otherwise defined, the technical or scientific terms used in one or more embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar words used in one or more embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0017] As described in the background section, the relevant technologies have the following problems: I. Drilling lithological stratification records are discrete segments, while well logging data are continuously sampled data. The two differ in depth benchmark, sampling scale, and interface location. Current automatic identification methods are mostly based on directly supervised training of classification models for drilling segments, which presents a contradiction in the processing of thin-layer information within drilling segments: discarding thin-layer information will result in the loss of fine geological information, while using drilling labels and well logging thin-layer labels equally will introduce label noise.

[0018] Second, current methods simply output point-by-point lithology categories, which can easily lead to fragmentation and interface drift problems in areas with frequent interlayering, gradual transitions, and sand-mud transitions. They also fail to uniformly utilize geological constraints such as evidence of adjacent depth changes in classification probability, uncertainty of boundary neighborhoods, and minimum layer thickness.

[0019] Third, when dividing the training dataset, if adjacent logging windows of the same borehole are randomly assigned to the training and test sets, the model evaluation results may be artificially inflated, and the model's generalization ability may not be truly reflected.

[0020] Therefore, there is an urgent need to develop a technical solution for well logging lithology interpretation to meet the practical requirements of distinguishing the reliability of drilling master labels and thin-layer weak labels, jointly learning lithology categories and lithology boundaries, and generating verifiable interface candidates based on continuous probability changes.

[0021] Based on some implementations of this disclosure, a scheme for well logging lithology interpretation is provided. In this scheme, a lithology-boundary multi-task sequence model is used to process multivariate well logging sequence windows, obtaining lithology category probabilities and boundary probabilities. Based on the boundary probabilities, a candidate set of lithological interfaces is obtained, and boreholes are segmented to obtain initial lithological intervals. Then, by combining the main lithology category, minimum layer thickness condition, abnormal well section information, and lithology combination judgment conditions, interval reconstruction is completed, outputting continuous lithological intervals. This scheme reduces the impact of label noise, suppresses fragment layer and interface drift problems, overcomes the defect of mismatch between drilling stratification and well logging sampling scale, and outputs geologically verifiable lithology interpretation results.

[0022] refer to Figure 1 The present invention discloses a well logging lithology interpretation method, comprising the following steps: Step S101: Obtain continuous logging curves and drilling lithology stratification data of multiple boreholes in the target area, and perform preprocessing to obtain lithology data.

[0023] Step S1011: Obtain continuous logging curves and drilling lithology stratification data of multiple boreholes within the target area; wherein, the continuous logging curves include long-spacing gamma-gamma curves (GGFR), natural gamma curves (GR), caliper curves (CAL), and resistivity curves (RT).

[0024] In some embodiments, different lithologies differ in mineral composition, clay content, bulk density, pore structure, and water-bearing state, thereby forming well logging response combinations with corresponding patterns.

[0025] In some embodiments, the natural gamma-ray curve (GR) primarily reflects the variation in formation mud content. Mudstone generally exhibits a high GR response, siltstone's GR response falls between that of mudstone and sandstone, while sandstone and coal seams generally show relatively low GR responses. Due to interference from argillaceous sandstone, carbonaceous mudstone, and sand-mud transition layers, there is overlap in the GR responses corresponding to different lithologies. The long-spacing gamma-ray curve (GGFR) is strongly correlated with formation bulk density and lithological composition, and can help identify low-density coal seams, weakly cemented sandstone, and relatively dense argillaceous rock layers. Simultaneously, the amplitude of the GGFR response is constrained by the degree of formation porosity development, wellbore variation, and instrument calibration conditions. The wellbore diameter curve (CAL) is used to characterize borehole enlargement, reduction, and wellbore stability. It can reflect formation sections prone to wellbore disturbance, such as weakly cemented sandstone, mudstone, and coal seams, and can also serve as a quality control basis for verifying the reliability of GGFR and RT logging data. The resistivity curve RT can reflect the differences in the electrical properties of strata formed by the combined effects of rock skeleton, mud content, pore structure, pore water salinity, and water saturation. Coal seams usually have high resistivity, while mudstone is affected by clay minerals and bound water content, and generally exhibits low resistivity. The resistivity of sandstone fluctuates greatly with the degree of cementation, pore water characteristics, and groundwater salinity. The resistivity response of siltstone is generally between that of mudstone and sandstone.

[0026] In summary, for the four lithologies of mudstone, siltstone, sandstone, and coal seam, there is no single logging threshold applicable to all boreholes. Especially in thin interbedded layers of weakly cemented sandstone and mudstone, and in high-mineralized aquifers, the responses of individual logging curves for each lithology tend to overlap. Therefore, this disclosure comprehensively utilizes the sensitivity of GR to mud content, the response characteristics of GGFR to formation density and lithological composition, the indication ability of CAL to wellbore conditions, and the comprehensive characterization ability of RT to lithology-porosity-aquifer state. By relying on the combined characteristics of multiple curves, the identification of the four lithologies is achieved, thereby mitigating the adverse effects of anomalies in a single logging curve on the lithological interpretation results.

[0027] Step S1012: Preprocess the continuous logging curves and drilling lithology stratification data to obtain lithology data; wherein, the lithology data includes lithology master labels generated from drilling lithology stratification data and thin-layer weak labels generated from the response characteristics of continuous logging curves.

[0028] In some embodiments, to eliminate interference caused by baseline offset and dimensional differences between different boreholes, independent in-well standardization is performed on each borehole's individual logging curve, using Z-score standardization to normalize the curve. The standardization process relies solely on the statistical characteristics of the curve within a single borehole, without introducing data from other boreholes or true lithological information, effectively avoiding cross-well data leakage. Simultaneously, by setting a minimal constant, calculation anomalies with zero denominators are avoided, ultimately resulting in standardized continuous logging curves with uniform dimensions and regular baselines.

[0029] After completing data quality control and standardization, the drilling lithological stratification data and continuous logging curve projections are aligned to a unified logging depth domain using marker layers, coal seam top and bottom plates, abrupt changes in logging curves, or depth corrections. Thin-layer information is identified based on the response characteristics of the aligned continuous logging curves to construct thin-layer weak labels. Simultaneously, formation lithology information is extracted from the aligned drilling lithological stratification data to construct lithological master labels, resulting in lithological data containing both the lithological master labels and the thin-layer weak labels. Then, the lithological master labels and the thin-layer weak labels are fused within the unified logging depth domain to reconstruct four types of lithological labels: mudstone, siltstone, sandstone, and coal seam.

[0030] In some embodiments, the thin-layer weak label is a thin lithological segment identified based on the local consistency response of multiple well logging curves. These segments lack layer-by-layer verification using continuous coring data, and their supervisory reliability is lower than that of the lithological master label derived from drilling. The evidence quality of the thin-layer weak label is assessed by combining the support level of the drilling layer, the consistency of responses from multiple well logging curves, and well diameter conditions, and a corresponding confidence level is assigned. This confidence level characterizes the evidentiary reliability of the thin-layer weak label. During training, the lithological master label corresponding to the drilling lithological layer is used as the primary supervisory information, and the thin-layer weak label is used as supplementary supervisory information. When there is an information conflict between the thin-layer weak label and the lithological master label, the sample training weights are adjusted based on their consistency and the strength of evidence from multiple curves, thereby constraining the impact of the thin-layer weak label on model parameter updates.

[0031] Step S102: Based on the lithological data and the continuous logging curves, determine the sample confidence level of each sample.

[0032] In some embodiments, determining the sample confidence level of each sample based on the lithological data and the continuous logging curves includes: Based on the matching relationship between the thin-layer weak label and the lithology main label, the evidence strength of multiple consecutive logging curves for the thin layer, and well diameter conditions, the sample confidence level of each sample is determined. Specifically, the sample confidence level corresponding to the lithology main label is set to a first preset value, which can be 1.0; for thin-layer weak labels that are consistent with the drilling horizon and supported by multiple logging curves, the sample confidence level is set to a second preset value, which can be 0.8-1.0; for thin-layer weak labels that are inconsistent with the lithology main label but supported by multiple logging curve responses, the sample confidence level is set to a third preset value, which can be 0. If a sample has significant enlargement, missing logging curves, or unclear logging response characteristics, the sample confidence level is set to a fourth preset value, which can be 0, and such samples are not included in subsequent lithology loss calculations.

[0033] After completing the basic sample confidence calculation, and combining the subsequently obtained boundary zone labels, the confidence of samples located near the lithological interface is further reduced based on their basic sample confidence.

[0034] Step S103: Sort the lithological data according to the measured depth to obtain the lithological sequence corresponding to each borehole, and determine the boundary zone label based on the lithological category of adjacent depth sampling points in the lithological sequence.

[0035] In some embodiments, sorting the lithological data according to the measured depth to obtain a lithological sequence corresponding to each borehole, and determining boundary zone labels based on the lithological categories of adjacent depth sampling points in the lithological sequence, includes: Step S1031: Sort the thin-layer weak labels and the lithological master labels according to the measured depth to obtain the lithological sequence corresponding to each borehole. Specifically, a merging process is performed on the lithological labels, unifying fine sandstone, medium sandstone, and coarse sandstone into sandstone. Grain size variations within sandstone are not considered differences in lithological category.

[0036] Step S1032: Traverse the lithology categories of adjacent sampling points in the lithology sequence and identify the conversion sampling points with different lithology categories; wherein, the conversion sampling points correspond to effective lithology interfaces, and the depth set of all effective lithology interfaces is recorded as the effective interface depth set.

[0037] Step S1033: Delineate a preset depth neighborhood centered on the converted sampling point, and mark the sampling points within the preset depth neighborhood as boundary labels.

[0038] In some embodiments, the distance between each sampling point and each interface depth within the effective interface depth set is determined; if the sampling point falls within the preset depth neighborhood, the sampling point is marked as a boundary zone label, otherwise it is marked as a non-boundary zone label; wherein, the preset depth neighborhood is used to accommodate the registration deviation between drilling layer and logging depth, and does not indicate that the neighborhood is an actual geological transition layer.

[0039] Step S104: Construct a multivariate logging sequence window based on the continuous logging curves, and train a lithology-boundary multi-task sequence model using the multivariate logging sequence window, the sample confidence level, and the boundary zone label.

[0040] In some embodiments, the step of constructing a multivariate logging sequence window based on the continuous logging curves, and training a lithology-boundary multi-task sequence model using the multivariate logging sequence window, the sample confidence level, and the boundary zone label, includes: Step S1041: Select the target logging sampling point in the continuous logging curve as the center point of the window.

[0041] In some embodiments, all valid logging sampling points are traversed along the borehole depth direction, and each valid sampling point is used as the center point of the window in sequence to ensure that a corresponding independent logging sequence sample can be obtained at each depth position, thereby achieving dense construction of sequence samples for the entire well section.

[0042] Step S1042: Based on the center point of the window, extract a preset number of logging sampling points upwards and downwards along the drilling depth direction.

[0043] In some embodiments, sampling points in the upper and lower neighborhoods are symmetrically selected based on the center point of the window according to a preset window scale, and the depth span of the sequence window is fixed to ensure that the dimensions of logging sequence samples generated by different boreholes and different depth locations are uniform, thus meeting the input requirements for batch training of the model.

[0044] Step S1043: Combine the multiple continuous logging curves corresponding to the center point of the window, the logging sampling points extracted upwards, and the logging sampling points extracted downwards to generate a multivariate logging sequence window.

[0045] In some embodiments, the multivariate logging sequence window integrates logging curve parameters with different physical meanings, and includes local logging response characteristics of the target center point and sequence variation information of the vertical neighborhood. It can fully characterize the local response law and depth evolution characteristics of formation lithology, and provide multidimensional sequence feature support for lithology identification and boundary determination.

[0046] Step S1044: Using the multivariate logging sequence window as model input, and combining the corresponding sample confidence and boundary zone labels, a lithology-boundary multi-task sequence model is trained.

[0047] In some embodiments, an end-to-end lithology-boundary multi-task training mechanism is constructed, where the models share the same set of sequence feature extraction backbone networks, simultaneously completing lithology classification and lithology boundary identification tasks. During training, the training weights of different samples are adaptively adjusted based on sample confidence levels to resist interference from low-reliability samples and ambiguous lithology interface samples on model parameter updates. Simultaneously, the feature learning of lithology transition intervals is utilized using the boundary-labeled constraint model, and through multi-task joint optimization, a lithology-boundary multi-task sequence model with both fine lithology identification and accurate boundary localization capabilities is trained.

[0048] Step S105: Obtain the continuous logging curves of the borehole to be tested, and construct a multivariate logging sequence window for the borehole to be tested; input the multivariate logging sequence window of the borehole to be tested into the lithology-boundary multi-task sequence model to obtain the lithology category probability.

[0049] In some embodiments, the lithology-boundary multi-task sequence model uses a Transformer–BiLSTM–Attention network to extract well logging sequence features. The model is configured with two output tasks: lithology classification and lithology boundary recognition. During the model training phase, two types of loss functions are set for labeled training samples: the lithology main task uses a normalized cross-entropy loss that combines sample confidence and class weights. This loss allows weakly labeled samples with low confidence and a few lithology classes to participate in gradient updates, while avoiding the loss scale drift problem caused by fluctuations in the total effective weights across different training batches; the boundary auxiliary task uses an asymmetric weighted binary cross-entropy loss, assigning differentiated weights to boundary samples and non-boundary samples to enhance the gradient contribution of sparse boundary zone samples and suppress the dominant role of non-boundary samples, which constitute a large proportion, in model training. The boundary recognition probability output by the model is only used to assist model training and evaluate the model's response to the lithology transformation neighborhood, and is not used as the sole basis for determining the location of the lithology interface.

[0050] In some embodiments, the multivariate logging sequence window obtained from the borehole to be tested is input into the trained frozen lithology-boundary multi-task sequence model, forward inference calculation is performed, and the lithology category probability vector corresponding to each depth location is output.

[0051] Step S106: Calculate the probability change score of adjacent sampling points based on the lithology category probability, and perform screening and constraint processing on the probability change score to obtain a candidate set of lithology interfaces.

[0052] In some embodiments, the step of calculating the probability change score of adjacent sampling points based on the lithology category probability, and then filtering and constraining the probability change score to obtain a candidate set of lithological interfaces includes: Step S1061: Calculate the probability change score between adjacent depth sampling points based on the lithology category probability of each sampling point at the depth of the borehole to be tested.

[0053] In some embodiments, a probability change score is constructed based on the multi-type lithology prediction probability distribution of each depth sampling point to characterize the degree of difference in lithology distribution between adjacent depth points; wherein, the larger the probability change score, the more significant the difference in lithology probability composition between two adjacent depth sampling points, thereby characterizing the possibility of a change in stratigraphic lithology.

[0054] Step S1062: Perform threshold filtering on the local peak values ​​of the probability change scores to obtain candidate points.

[0055] In some embodiments, the entire well depth sequence is traversed to identify local peaks in probability change scores, and local peaks with scores greater than a preset interface change score threshold are used as preliminary candidate points.

[0056] Step S1063: Perform non-maximum suppression and minimum spacing constraint processing on the candidate points to obtain a candidate set of lithological interfaces.

[0057] In some embodiments, non-maximum suppression is performed on the preliminary candidate points according to the probability change scores from high to low. At the same time, a minimum depth spacing constraint is introduced to eliminate neighboring candidate points whose depth distance is less than the preset minimum spacing, thereby suppressing the occurrence of multiple repeated false detection peaks near the same lithological interface and outputting a lithological interface candidate set.

[0058] It should be noted that the candidate set of lithological interfaces obtained through the above processing is only a preliminary reference result and does not mean that all candidate points correspond to the actual lithological interfaces. The actual determination of lithological interfaces still requires comprehensive interpretation and analysis based on the original logging curves, the probability of lithological categories at each depth, and the lithological columns obtained from drilling.

[0059] Step S107: Divide the borehole to be tested based on the candidate set of lithological interfaces to obtain initial lithological segments, and reconstruct the initial lithological segments to obtain continuous lithological segments.

[0060] In some embodiments, the step of dividing the borehole to be tested based on the candidate set of lithological interfaces to obtain initial lithological segments, and reconstructing the initial lithological segments to obtain continuous lithological segments, includes: Step S1071: Divide the borehole to be tested using the depth points in the candidate set of lithological interfaces to obtain several initial lithological segments.

[0061] In some embodiments, the well section of the borehole to be tested is divided into multiple consecutive initial lithological segments by using the depth points within the candidate set of lithological interfaces as boundaries.

[0062] Step S1072: Based on the main lithology category within each initial lithological interval, and according to the preset minimum layer thickness constraint, preset abnormal well section information, and lithology combination judgment conditions, the initial lithological interval is reconstructed to obtain continuous lithological intervals.

[0063] In some embodiments, the probability distribution of lithological categories within each initial lithological segment is statistically analyzed to determine the dominant lithological category within each segment interval; combined with a preset minimum layer thickness constraint to filter out thin layers with excessive thickness, and with reference to abnormal well section information and lithological combination consistency conditions, the initial lithological segments are merged and corrected to eliminate unreasonable thin layer divisions and reconstruct continuous and complete lithological segments.

[0064] Step S1073: Output multi-class analysis results data.

[0065] In some embodiments, after the lithological interval reconstruction is completed, the original logging curves, lithological category probabilities, boundary probabilities, interface change scores, lithological interface candidate sets, and the final continuous lithological column are output simultaneously.

[0066] This disclosure uses drilled intervals as a highly reliable primary supervisor and thin-layer interpretation within the intervals as a tiered weak supervisor. Confidence weights are used to adjust the role of labels from different sources in model training, mitigating the noise impact of weak labels while preserving thin-layer information. A lithology-boundary multi-task learning model with shared features is constructed, enabling the model to learn the mapping relationship between logging response and lithology while identifying lithology transition neighborhoods. Change information at adjacent depths is extracted based on continuous lithology probabilities, and lithology interface candidates are generated using local peak detection, non-maximum suppression, and minimum spacing constraints to reduce interval fragmentation and interface repetition. Furthermore, intermediate outputs such as lithology probability, boundary response, and interface change scores are retained, supporting comparison and verification of interpretation results with original logging curves and drilled intervals. Combined with a data partitioning strategy involving mutually exclusive boreholes, the reliability of cross-well lithology interpretation and evaluation is improved.

[0067] It is understandable that this method can be executed by any device, equipment, platform, or cluster of devices with computing and processing capabilities.

[0068] It should be noted that the methods of one or more embodiments of this disclosure can be executed by a single device, such as a computer or server. The methods of this embodiment can also be applied in a distributed scenario, where multiple devices cooperate to complete the process. In such a distributed scenario, one of these devices may execute only one or more steps of the methods of one or more embodiments of this disclosure, and the multiple devices will interact with each other to complete the method described.

[0069] It should be noted that the above description pertains to specific embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than those shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0070] The following example, using a coal-bearing strata from a mining area, illustrates this disclosure. This example is intended to clarify the implementation path and parameter range of the technical solution and does not constitute a limitation on the scope of protection.

[0071] I. Data Acquisition, Alignment, and Tag Construction Obtain GGFR, GR, CAL, and RT logging curves and drilling lithological intervals from multiple boreholes; sort the data according to the measurement depth and establish a unified depth index; correct the depth deviation between drilling depth and logging depth based on the top and bottom plates of the coal seam, marker beds, and curve abrupt change locations. Map the drilling lithological records into four lithologies: mudstone, siltstone, sandstone, and coal seam; fine sandstone, medium sandstone, and coarse sandstone are uniformly grouped into the sandstone category.

[0072] Samples corresponding to the drilled intervals are used as lithological master label samples, with a confidence weight of 1.0 for this type of sample. Within the drilled intervals, thin-layer candidates are identified based on the synergistic local response of at least two logging curves. For example, a decrease in the natural gamma curve accompanied by synergistic changes in gamma-gamma, resistivity, or caliper curves can identify sandy thin-layer candidates; a combination of low-density response and high resistivity can identify coal seam candidates.

[0073] For thin-layer weakly labeled samples that are consistent with the drilling master label and supported by multiple logging curves, their weight is set to 0.8–1.0; for thin-layer weakly labeled samples that are inconsistent with the drilling master label but supported by multiple logging curves, their weight is set to 0.4–0.6; samples located in the neighborhood of the lithological interface are weighted less than their original weights; samples with continuous missing labels, significantly enlarged well diameters, or distorted responses in multiple logging curves are weighted to 0. Each thin-layer candidate record includes the start and end depths, candidate lithology category, supporting logging curves, consistency with the master label, and well diameter quality information.

[0074] For the mapped label sequence, if the lithology categories of adjacent depth sampling points are different, the location is determined to be a valid lithology transition interface. Centered on the depth of this lithology transition interface, [the following parameters are defined] above and below it. Construct binary boundary band labels within the depth range; The range of sampling intervals (0.10–0.30 m) can be selected based on the drilling-logging registration error. In this embodiment... Take 0.15m.

[0075] II. Preprocessing and Multi-task Model Training For each borehole, logging data was validated for repeated depths, single-point missing data, continuous missing data, and abnormal response data. For a small number of locally missing data points, linear interpolation was used to fill in the gaps. For well sections with continuous missing data or significantly distorted logging curves, an invalid mask was applied. In-well Z-score standardization was performed on each logging curve for each borehole to eliminate the effects of inter-well dimensional differences and baseline offset.

[0076] indexed by depth Centered on the target, select points upwards and downwards. Each sampling point constitutes a length A multivariate logging sequence window with logging curve dimension D. In this embodiment, the logging sampling interval is approximately 0.05m. Window length Curve dimension It covers a depth range of approximately 3.0m and can simultaneously include the main logging response of the thin layer and the lithological background information of the surrounding rocks above and below it.

[0077] Figure 2 This is a schematic diagram of the lithology-boundary multi-task sequence model structure provided in this embodiment. Figure 2As shown, the model sequentially includes: a multi-curve window (L×D), linear embedding + positional encoding, a non-local dependency encoder (Transformer), a bidirectional sequence encoder (BiLSTM), and attention convergence + center feature. The output of the attention convergence + center feature is input to the four types of lithology probability heads and the boundary zone probability head, respectively. Specifically, the non-local dependency encoder (Transformer) is used to extract non-local correlation features within the sequence window; the bidirectional sequence encoder (BiLSTM) is used to extract vertical context features; the features obtained from attention convergence are concatenated with the window center features and then input to the four types of lithology probability heads and the boundary zone probability head, respectively.

[0078] The Transformer encoder is configured with one layer and four attention heads, with a feedforward network dimension of 64; the bidirectional long short-term memory network is configured with one layer and a unidirectional hidden layer dimension of 32; the dropout rate is set to 0.4. The lithology classification head outputs the probabilities of four lithology types through the Softmax function. The boundary recognition head outputs the boundary probability through the Sigmoid function. .

[0079] The lithology classification loss uses a normalized cross-entropy loss adjusted by both sample confidence weights and class weights; the boundary identification loss uses a weighted binary cross-entropy loss with different weights for positive and negative samples in the boundary zone; the total model loss is the weighted sum of the two class losses. This embodiment uses the AdamW optimizer with a batch size of 128 and an initial learning rate of... The maximum number of training rounds is 20; an early shutdown strategy is implemented based on the comprehensive score of the verification wells, and the optimal model checkpoint is saved.

[0080] III. Interface Candidate Extraction and Continuous Segment Reconstruction The sequence windows corresponding to each depth of the borehole to be tested are input into the trained frozen model, and the four types of lithology probability vectors along the depth direction are output. .

[0081] like Figure 3 As shown, the change score is calculated using the K-class probability vectors of adjacent depths as input. Using total variation distance Characterizes the degree of change in lithological probability distribution between adjacent depth sampling points; filters out samples exceeding a threshold. Local peak values ​​are then subjected to non-maximum suppression and minimum spacing. The process combines minimum layer thickness, anomalous sections, and lithological combination constraints to output a candidate set of interfaces and continuous lithological intervals.

[0082] First, filter out Greater than the threshold Furthermore, the depth position belongs to a local maximum in the neighborhood; then, non-maximum suppression is performed according to the score from high to low: retain the candidate position with the highest current score, and eliminate those with a depth distance less than that position. The remaining candidate points are processed cyclically until all candidate points have been filtered. In this embodiment, the threshold is determined by the verification well. Minimum depth spacing .

[0083] The well section is divided using the candidate adjacent lithological interfaces obtained through screening, resulting in several initial lithological intervals. The dominant lithological category of each interval is determined based on the average lithological probability within each interval. For intervals with a thickness less than the preset minimum layer thickness, merging is performed or the interval is marked as a thin-layer verification object, taking into account the lithological probabilities on both sides of the interval, boundary response, original logging curve variation characteristics, and lithological combination rules. If an interval is entered into a well section with abnormal well diameter or distorted logging curve, the confidence level of that interval is reduced, and a verification mark is generated.

[0084] IV. Application and Effect Verification in Mining Areas This embodiment uses data from 19 boreholes in the mining area, with a total of 183,679 sampling points. Among them, 17 boreholes have 1,590 original drilling lithological intervals, while the remaining 2 boreholes have no drilling stratification data. Combining drilling intervals, existing interpretation results, and local response characteristics of multiple logging curves, 282 thin-layer weak labels with thicknesses ranging from 0.30m to 2.00m were obtained.

[0085] The training set, validation set, independent test set, and unlabeled prediction set are divided according to the borehole mutual exclusion principle, with all sequence windows of the same borehole belonging to only one subset of data. Model checkpoints, boundary probability thresholds, interface change score thresholds, and minimum spacing parameters are all determined on the validation set, and the parameters are frozen before evaluation on the independent test set.

[0086] The multi-task network was trained using a 61×4 sequential window. On 14036 independent test windows, the accuracy was 0.7701, the macro-F1 score was 0.7441, and the weighted-F1 score was 0.7705; the boundary-F1 score was 0.6200. Experimental results show that, based solely on drilling labels, introducing thin-layer weak labels, confidence weights, and boundary auxiliary tasks sequentially improved the F1 score for the siltstone category from 0.3000 to 0.5923.

[0087] The key parameters for model and interface extraction in the above embodiments are shown in Table 1.

[0088] Table 1. Model and Interface Extraction Results for the Mining Area Example

[0089] The results show that the graded weak supervision mechanism can preserve fine geological information without directly treating thin-layer interpretation results as true drilling values. Boundary auxiliary tasks and probability-based interface extraction methods can improve the interpretation of continuous lithology in sand-mud transition zones and frequently interbedded zones. For unlabeled boreholes, this method can simultaneously output continuous lithology probabilities, predicted lithology columns, and candidate lithology interfaces, allowing geological technicians to verify these results in conjunction with the original logging curves.

[0090] Those skilled in the art can adaptively adjust the sequence encoder structure, loss function weights, interface identification thresholds, and post-processing rules based on the combination of logging curves, lithology classification, logging sampling intervals, and formation thickness scale of the target work area. As long as the differentiated supervision mechanism of geological main label and hierarchical weak label, the lithology-boundary joint learning mechanism, and the technical concept of extracting interface candidates based on the probability change of adjacent lithologies are still adopted, they all fall within the protection scope of this invention.

[0091] Based on the same inventive concept, corresponding to any of the methods in the above embodiments, this disclosure also provides a well logging lithology interpretation system. For example... Figure 4 As shown, the above system includes: The acquisition module 401 is configured to acquire continuous logging curves and drilling lithology stratification data of multiple boreholes within the target area, and perform preprocessing to obtain lithology data. The first determining module 402 is configured to determine the sample confidence level of each sample based on the lithological data and the continuous logging curves. The second determining module 403 is configured to sort the lithological data according to the measured depth to obtain the lithological sequence corresponding to each borehole, and determine the boundary zone label based on the lithological category of adjacent depth sampling points in the lithological sequence; The construction module 404 is configured to construct a multivariate logging sequence window based on the continuous logging curves, and use the multivariate logging sequence window, the sample confidence and the boundary zone label to train a lithology-boundary multi-task sequence model. Output module 405 is configured to acquire continuous logging curves of the borehole to be tested, construct a multivariate logging sequence window of the borehole to be tested, and input the multivariate logging sequence window of the borehole to be tested into the lithology-boundary multi-task sequence model to obtain the lithology category probability. The calculation module 406 is configured to calculate the probability change score of adjacent sampling points based on the lithology category probability, and to perform filtering and constraint processing on the probability change score to obtain a candidate set of lithology interfaces. The reconstruction module 407 is configured to divide the borehole to be tested based on the lithological interface candidate set to obtain an initial lithological segment, and to reconstruct the initial lithological segment to obtain a continuous lithological segment.

[0092] For ease of description, the above system is described by dividing it into various modules based on their functions. Of course, when implementing one or more embodiments of this disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0093] The system described above is used to implement the corresponding methods in the foregoing embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0094] Figure 5 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

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

[0096] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this disclosure are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0097] The input / output interface 1030 is used to connect input / output modules to realize information input and output. The input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices may include displays, speakers, vibrators, indicator lights, etc.

[0098] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0099] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0100] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this disclosure, and not necessarily all the components shown in the figures.

[0101] The electronic devices described above are used to implement the corresponding methods in the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0102] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0103] Based on the same inventive concept, corresponding to the well logging lithology interpretation method in any of the above embodiments, this disclosure also provides a computer program product, which includes one or more computer programs. In some embodiments, the one or more computer programs are executable by one or more processors to cause the one or more processors to perform the well logging lithology interpretation method. Corresponding to the execution entity for each step in each embodiment of the well logging lithology interpretation method, the processor executing the corresponding step may belong to the corresponding execution entity. The computer program product of the above embodiments is used to cause the processor to execute the well logging lithology interpretation method as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0104] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of one or more embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.

[0105] Additionally, to simplify the description and discussion, and to avoid obscuring one or more embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring one or more embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which one or more embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuitry) are set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that one or more embodiments of this disclosure may be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0106] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0107] This disclosure includes one or more embodiments intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for interpreting well logging lithology, characterized in that, The method includes: Acquire continuous logging curves and drilling lithology stratification data from multiple boreholes within the target area, and preprocess them to obtain lithology data; Based on the lithological data and the continuous logging curves, the sample confidence level of each sample is determined; The lithological data are sorted according to the measured depth to obtain the lithological sequence corresponding to each borehole, and the boundary zone label is determined based on the lithological category of adjacent depth sampling points in the lithological sequence. A multivariate logging sequence window is constructed based on the continuous logging curves, and a lithology-boundary multi-task sequence model is trained using the multivariate logging sequence window, the sample confidence level, and the boundary zone label. Continuous logging curves of the borehole to be tested are obtained, and a multivariate logging sequence window of the borehole to be tested is constructed; the multivariate logging sequence window of the borehole to be tested is input into the lithology-boundary multi-task sequence model to obtain the lithology category probability; Based on the probability of the lithology category, the probability change score of adjacent sampling points is calculated, and the probability change score is filtered and constrained to obtain a candidate set of lithology interfaces. The borehole to be tested is divided based on the candidate set of lithological interfaces to obtain initial lithological segments, and the initial lithological segments are reconstructed to obtain continuous lithological segments.

2. The method according to claim 1, characterized in that, The process of acquiring continuous logging curves and drilling lithological stratification data from multiple boreholes within the target area, and preprocessing them to obtain lithological data, includes: Acquire continuous logging curves and drilling lithological stratification data from multiple boreholes within the target area; The continuous logging curves and drilling lithological stratification data are preprocessed to obtain lithological data; wherein, the lithological data includes lithological master labels generated from the drilling lithological stratification data, and thin-layer weak labels generated from the response characteristics of the continuous logging curves.

3. The method according to claim 2, characterized in that, The step of sorting the lithological data according to the measured depth to obtain the lithological sequence corresponding to each borehole, and determining the boundary zone label based on the lithological categories of adjacent depth sampling points in the lithological sequence, includes: The thin-layer weak labels and the lithological master labels are sorted according to the measurement depth to obtain the lithological sequence corresponding to each borehole; Traverse the lithology categories of adjacent sampling points in the lithology sequence and identify transition sampling points with different lithology categories; A preset depth neighborhood is defined centered on the converted sampling point, and the sampling points within the preset depth neighborhood are marked as boundary labels.

4. The method according to claim 1, characterized in that, The process of constructing a multivariate logging sequence window based on the continuous logging curves, and training a lithology-boundary multi-task sequence model using the multivariate logging sequence window, the sample confidence level, and the boundary zone label, includes: The target logging sampling point in the continuous logging curve is selected as the center point of the window; Based on the center point of the window, a preset number of logging sampling points are extracted upwards and downwards along the drilling depth direction, respectively. The window center point, the upward-extracted logging sampling points, and the downward-extracted logging sampling points are combined to generate a multivariate logging sequence window. The multivariate logging sequence window is used as the model input, and combined with the corresponding sample confidence and boundary zone labels, a lithology-boundary multi-task sequence model is trained.

5. The method according to claim 1, characterized in that, The probability change score of adjacent sampling points is calculated based on the probability of the lithology category. The probability change score is then filtered and constrained to obtain a candidate set of lithological interfaces, including: Based on the probability of lithology category at each depth sampling point of the borehole to be tested, calculate the probability change score between adjacent depth sampling points; The local peak values ​​of the probability change scores are filtered by thresholding to obtain candidate points; The candidate points are subjected to non-maximum suppression and minimum spacing constraint processing to obtain a candidate set of lithological interfaces.

6. The method according to claim 1, characterized in that, The process of dividing the borehole to be tested based on the candidate set of lithological interfaces to obtain initial lithological segments, and then reconstructing the initial lithological segments to obtain continuous lithological segments, includes: The borehole to be tested is divided using the depth points in the candidate set of lithological interfaces to obtain several initial lithological segments; Based on the primary lithology category within each initial lithological interval, and according to preset minimum layer thickness constraints, preset abnormal well section information, and lithology combination determination conditions, the initial lithological intervals are reconstructed to obtain continuous lithological intervals.

7. A well logging lithology interpretation system, characterized in that, The system includes: The acquisition module is configured to acquire continuous logging curves and drilling lithology stratification data of multiple boreholes within the target area, and preprocess them to obtain lithology data. The first determining module is configured to determine the sample confidence level of each sample based on the lithological data and the continuous logging curves. The second determining module is configured to sort the lithological data according to the measured depth to obtain the lithological sequence corresponding to each borehole, and determine the boundary zone label based on the lithological category of adjacent depth sampling points in the lithological sequence; The construction module is configured to construct a multivariate logging sequence window based on the continuous logging curves, and use the multivariate logging sequence window, the sample confidence and the boundary zone label to train a lithology-boundary multi-task sequence model. The output module is configured to acquire continuous logging curves of the borehole to be tested, construct a multivariate logging sequence window of the borehole to be tested, and input the multivariate logging sequence window of the borehole to be tested into the lithology-boundary multi-task sequence model to obtain the lithology category probability. The calculation module is configured to calculate the probability change score of adjacent sampling points based on the lithology category probability, and to perform filtering and constraint processing on the probability change score to obtain a candidate set of lithology interfaces. The reconstruction module is configured to divide the borehole to be tested based on the candidate set of lithological interfaces to obtain an initial lithological segment, and to reconstruct the initial lithological segment to obtain a continuous lithological segment.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executed by the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions for causing the computer to perform the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that, It includes one or more computer programs that, when executed by one or more processors, implement the method as described in any one of claims 1 to 6.