Construction parameter optimization method and device for leakage prevention of drilling fluid while drilling
By real-time monitoring and dynamic optimization of construction parameters, the problems of low plugging success rate and reservoir contamination caused by changes in downhole leakage layers were solved, achieving efficient plugging effect and reservoir protection.
Patent Information
- Application Number
- CN202511493679.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-20
- Publication Date
- 2025-11-28
AI Technical Summary
Existing plugging technologies cannot respond in real time to changes in downhole leakage layers, resulting in a low success rate of plugging. Furthermore, conventional plugging materials may cause irreversible contamination of carbon dioxide reservoirs, affecting storage efficiency.
By acquiring real-time monitoring data while drilling, identifying the characteristics of the leaking layer, and matching suitable plugging materials from a pre-built knowledge base of plugging materials, the system calculates and optimizes construction parameters, including injection pressure, discharge rate, and material concentration, to ensure dynamic adaptation of construction parameters to the state of the leaking layer.
It improved the success rate of leak plugging, ensured the integrity of the carbon dioxide reservoir, avoided secondary damage to the reservoir, and achieved precise and dynamic adaptation of construction parameters.
Smart Images

Figure CN121024506A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of drilling engineering, and more specifically, to a method and apparatus for optimizing construction parameters for drilling fluid leakage prevention during drilling. Background Technology
[0002] In the drilling process of carbon dioxide injection wells (such as carbon dioxide geological storage wells and CCUS project injection wells), well leakage is a common and complex technical problem. Compared with conventional oil and gas wells, the leakage zones in carbon dioxide injection wells have three significant characteristics: First, they are highly heterogeneous, with complex and diverse leakage zone types, possibly containing multiple seepage channels such as microfractures, macrofractures, pores, and caverns; second, the leakage rate is dynamically changing, affected by drilling fluid circulation pressure, wellbore pressure fluctuations, and the interaction between carbon dioxide and formation fluids, resulting in real-time changes in the leakage situation; third, they must be strictly compatible with carbon dioxide reservoir protection, as conventional plugging materials may cause irreversible contamination and damage to future carbon dioxide injection channels, affecting storage efficiency.
[0003] Existing well plugging technologies are mostly based on static, experience-based construction plans. This means that after a well leakage is detected, plugging materials and construction parameters are selected based on experience for a one-time injection. This method has significant drawbacks: 1) It cannot adapt to the dynamic changes in the characteristics of the leaking formation, resulting in a low success rate and potentially requiring multiple operations, leading to inefficiency; 2) Material selection and parameter setting are often arbitrary, easily causing secondary damage to the reservoir or plugging failure due to material performance mismatch with the leaking formation or excessive construction pressure; 3) It lacks specific consideration for the protective characteristics of carbon dioxide reservoirs, potentially creating hidden dangers for subsequent carbon dioxide injection.
[0004] Therefore, there is an urgent need in this field for a dynamic optimization method that can respond to downhole changes in real time, intelligently match plugging needs, and take into account reservoir protection. Summary of the Invention
[0005] The purpose of this application is to provide a method and apparatus for optimizing drilling fluid leakage prevention during drilling, which enables precise and dynamic adaptation of drilling parameters to the current leakage state, thereby effectively improving the success rate of leakage plugging and ensuring the integrity of carbon dioxide reservoirs.
[0006] Firstly, a method for optimizing drilling fluid leakage prevention during drilling is provided, which may include: Real-time acquisition of drilling monitoring data, which includes at least drilling fluid pool volume change data, riser pressure, and leakage rate; Based on the drilling monitoring data, the current leaky layer and its corresponding characteristics are identified in real time. Based on the identified leakage characteristics, suitable plugging materials are matched from a pre-built knowledge base of plugging materials, which includes reservoir protection performance indicators of the materials. Based on the identified leakage layer characteristics and the matched sealing materials, an optimized set of construction parameters is calculated.
[0007] In one possible implementation, the set of construction parameters includes injection pressure, flow rate, material concentration, and injection timing.
[0008] In one possible implementation, based on the drilling monitoring data, the current lost layer and its corresponding characteristics are identified in real time, including: The data on riser pressure and drilling fluid pool volume change are processed to extract characteristic parameters including leakage rate, riser pressure change rate and riser pressure fluctuation frequency. The above feature parameters are input into a preset rule base for fuzzy logic classification to obtain a preliminary judgment result of the leakage layer type; the leakage layer type includes crack type, pore type, cavern type and their composite types; The preliminary judgment results are dynamically verified and updated based on the acquired subsequent drilling monitoring data, and the final leakage layer characteristics are output.
[0009] In one possible implementation, the rule base includes a rule that preliminarily determines the leakage layer type as a large crack or karst type if the leakage rate is greater than a first threshold, the riser pressure change rate is negative and the absolute value is greater than a second threshold, and the riser pressure fluctuation frequency is lower than a third threshold.
[0010] In one possible implementation, the reservoir protection performance indicators in the plugging material knowledge base include at least: the chemical stability, long-term integrity, and degradability of the material in a carbon dioxide environment; Match suitable leak-sealing materials from a pre-built leak-sealing material knowledge base, including: Using the maximization of sealing strength and the minimization of reservoir damage as multi-objective optimization functions, the optimal plugging material is selected from the knowledge base; Specifically, when the identified leakage layer characteristics indicate that the leakage layer is a dynamically changing crack, the multi-objective optimization function preferentially matches elastic granular materials with adaptive deformation capabilities.
[0011] In one possible implementation, based on the identified leakage layer characteristics and the matched sealing material, an optimized set of construction parameters is calculated, including: A computational model was constructed that couples formation mechanical parameters, hydrodynamic parameters, and the rheological properties of the matched plugging material; With the goal of forming an effective sealing ring in the near-wellbore zone of the leaking layer, and with the constraint that the construction pressure is lower than the formation fracturing pressure, the optimal combination of injection pressure and discharge rate is solved by reverse engineering to calculate the optimized set of construction parameters.
[0012] Secondly, a drilling fluid leakage prevention and control construction parameter optimization device is provided, which may include: The acquisition unit is used to acquire real-time monitoring data while drilling, which includes at least drilling fluid pool volume change data, riser pressure and leakage rate. The identification unit is used to identify the current leaky layer and its corresponding features in real time based on the drilling monitoring data. The matching unit is used to match suitable plugging materials from a pre-built plugging material knowledge base based on the identified leakage layer characteristics. The plugging material knowledge base includes reservoir protection performance indicators of the materials. The calculation unit is used to calculate an optimized set of construction parameters based on the identified leak characteristics and the matched sealing materials.
[0013] Thirdly, an electronic device is provided, which includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements any of the steps described in the first aspect above.
[0014] Fourthly, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when executed by a processor, the computer program implements the steps of any of the methods described in the first aspect above.
[0015] The drilling fluid leakage prevention construction parameter optimization method and apparatus provided in this application embodiment acquires real-time drilling monitoring data, which includes at least drilling fluid pool volume change data, riser pressure, and leakage rate. Based on the drilling monitoring data, the current leakage zone and its corresponding characteristics are identified in real time. According to the identified leakage zone characteristics, suitable plugging materials are matched from a pre-built plugging material knowledge base, which includes reservoir protection performance indicators of the materials. Based on the identified leakage zone characteristics and the matched plugging materials, an optimized set of construction parameters is calculated. This method achieves accurate and dynamic adaptation of construction parameters to the current leakage zone state, thereby effectively improving the plugging success rate and ensuring the integrity of the carbon dioxide reservoir. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A flowchart illustrating a method for optimizing drilling fluid leakage prevention during drilling, provided in an embodiment of this application; Figure 2 This is a schematic diagram of a drilling fluid leakage prevention and control device for construction parameters provided in an embodiment of this application. Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Unless otherwise defined, the technical or scientific terms used in this application should have the ordinary meaning understood by those skilled in the art. The words "first," "second," and similar terms used in this application do not indicate any order, quantity, or importance, but are only used to distinguish different components. The words "comprising" or "including," etc., mean that the element or object preceding the word covers the element or object listed after the word and its equivalents, but do not exclude other elements or objects. The words "connected," "coupled," or "connected," etc., are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up," "down," "left," "right," etc., are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0019] The drilling fluid leak-proofing construction parameter optimization method provided in this application uses the drilling fluid pool volume change, riser pressure, and calculated real-time leakage rate obtained in real time from the drilling monitoring system as input data. By establishing a dynamic mapping relationship between "leaking layer-material-parameter", the optimized construction parameter set can include injection pressure, discharge rate, plugging material concentration, and injection timing, etc., to achieve accurate and dynamic adaptation of construction parameters to the current leaking layer state, thereby effectively improving the success rate of leak plugging and ensuring the integrity of the carbon dioxide reservoir.
[0020] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.
[0021] Figure 1 This is a flowchart illustrating a method for optimizing drilling fluid leakage prevention during drilling, as provided in an embodiment of this application. Figure 1 As shown, the method may include: Step S110: Acquire real-time monitoring data while drilling. The monitoring data while drilling may include at least drilling fluid pool volume change data, riser pressure, and leakage rate.
[0022] Step S120: Based on the drilling monitoring data, identify the current leaky layer and its corresponding characteristics in real time.
[0023] In practice, the riser pressure and drilling fluid pool volume change data are processed to extract feature parameters including leakage rate (V_loss), riser pressure change rate (dP / dt), and riser pressure fluctuation frequency (f). Specifically, the real-time input riser pressure and drilling fluid pool volume data are filtered and denoised, and their change rate (first derivative) and fluctuation frequency are calculated (pressure fluctuation frequency is analyzed using Fast Fourier Transform). The leakage rate (V_loss), riser pressure change rate (dP / dt), and pressure fluctuation frequency (f) are used as the core feature vectors for identifying the type and state of the leakage layer.
[0024] Then, the above feature parameters are input into the preset rule base for fuzzy logic classification to obtain a preliminary judgment result of the leakage layer type; the leakage layer type can include crack type, pore type, cave type and its composite type.
[0025] The pre-defined rule base is built upon expert experience and experimental data. For example: If V_loss is high, dP / dt is a large negative value (sudden pressure drop), and f is low, then the initial judgment is that it is a large crack or cavern type leakage. This can be summarized as follows: The rule base includes the following rule: if the leakage rate (V_loss) is greater than the first threshold, the riser pressure change rate (dP / dt) is negative and its absolute value is greater than the second threshold, and the riser pressure fluctuation frequency (f) is lower than the third threshold, then the initial judgment is that the leakage layer type is a large crack or cavern type.
[0026] If V_loss is moderate and stable (within a preset stable threshold range), dP / dt is close to zero, and f is high (above a preset threshold), then it is initially judged to be a porosity-type or microcrack-type leakage.
[0027] If V_loss exhibits periodic or intermittent drastic fluctuations and is associated with drastic changes in dP / dt and f, it is judged to be a dynamically changing composite leakage layer, whose seepage channels may open and close with pressure fluctuations.
[0028] Since the preliminary classification results output in this step are not the final conclusion, it is necessary to continuously monitor subsequent data. That is, based on the acquired subsequent drilling monitoring data, the preliminary judgment results are dynamically verified and updated to output the final leakage characteristics (such as fracture width distribution, cave size, and dynamic characteristics). If the actual leakage dynamics do not match the classification prediction (for example, classified as porosity-type but with a continuously increasing leakage rate), a self-learning mechanism is activated to adjust the classification weights or trigger re-identification, ensuring the real-time nature and accuracy of the identification.
[0029] Step S130: Based on the identified leakage layer characteristics, match suitable sealing materials from the pre-built sealing material knowledge base.
[0030] A knowledge base for plugging materials can include reservoir protection performance indicators for materials.
[0031] In practice, the optimal plugging material is selected from a knowledge base of plugging materials, using the multi-objective optimization function of maximizing plugging strength and minimizing reservoir damage. Specifically, when the identified leaky layer characteristics indicate that the leaky layer is a dynamically changing fracture, the multi-objective optimization function prioritizes matching elastic particulate materials with adaptive deformation capabilities. (1) Establish a knowledge base for plugging materials: This knowledge base not only includes conventional material parameters (such as particle size distribution, acid solubility, and pressure bearing capacity), but also defines key performance indicators specifically for the protection of carbon dioxide reservoirs, including: chemical stability in a carbon dioxide environment, long-term integrity under the expected storage temperature and pressure, and degradability (for temporary plugging materials, it is required that they can be unplugged in a specific way after well completion).
[0032] (2) Multi-objective optimization matching algorithm: The matching process is not a simple table lookup. Based on the above identification results (such as crack width distribution, cavity size, and dynamic characteristics), with the dual objectives of maximizing sealing strength and minimizing reservoir damage, a multi-objective optimization algorithm (such as genetic algorithm or particle swarm optimization algorithm) is used to search in the knowledge base of plugging materials. For example, for dynamically changing cracks, the algorithm will prioritize recommending elastic granular materials with adaptive deformation capabilities rather than rigid materials to adapt to the opening and closing of cracks.
[0033] Step S140: Calculate the optimized set of construction parameters based on the identified leakage layer characteristics and the matched sealing materials.
[0034] The set of construction parameters may include injection pressure, flow rate, material concentration, and injection timing.
[0035] In practice, a computational model was constructed that couples formation mechanical parameters, hydrodynamic parameters, and the rheological properties of the matched plugging material. With the goal of forming an effective plugging ring in the near-wellbore zone of the leaking layer, and with the constraint that the construction pressure is lower than the formation fracturing pressure, the optimal combination of injection pressure and displacement was solved in reverse to calculate the optimized set of construction parameters. Specifically: (1) Establishing a coupled calculation model: This model couples formation mechanics (burden rupture pressure), fluid mechanics (flow resistance of non-Newtonian fluids in complex channels), and the rheological properties of the selected plugging material. The core inputs of the model are the real-time identified characteristics of the bursting layer and the optimized material properties.
[0036] (2) Parameter inverse solution: The model is not a forward simulation, but rather uses the constraint that "while forming an effective sealing ring in the near-wellbore zone of the leaking layer, the construction pressure is always lower than the formation fracture pressure and safety threshold" to solve for the optimal construction parameters in reverse.
[0037] (3) Injection pressure and displacement: Through iterative calculation, the pressure-displacement combination that allows the plugging grout to effectively enter the target leak layer without fracturing new formations or causing existing fractures to expand uncontrollably is determined. The model will consider the influence of changes in material concentration on fluid viscosity and friction.
[0038] (4) Material concentration: It is not a fixed value, but is dynamically adjusted according to the real-time leakage rate and the calculated required sealing volume. In the early stage, a lower concentration can be used to penetrate deeper, and in the later stage, the concentration is gradually increased to strengthen the sealing.
[0039] (5) Injection timing: The calculation of this parameter is particularly critical. The system will combine drilling conditions (such as tripping in and out of the well, connecting a single joint) to predict wellbore pressure fluctuations in the future period, and select a window period when the wellbore pressure is relatively stable or showing a downward trend for injection, so as to avoid the plugging slurry being drawn into the lost layer at high speed, which would cause material separation failure. This reflects the depth response to the dynamic changes in leakage.
[0040] In some embodiments, after outputting the construction parameter set and performing the plugging construction in step S4, real-time monitoring data can be obtained and the plugging effect can be judged based on the data. If the plugging effect does not meet expectations, the following steps are triggered: based on the monitoring data, the current leaking layer and the corresponding leaking layer characteristics are identified in real time to dynamically adjust the construction parameter set until effective plugging is achieved, thereby realizing closed-loop control.
[0041] The technical effects of this application include: Dynamic adaptive: It breaks through the limitations of static empirical methods and can respond to changes in downhole leakage layers in real time, so that the construction parameters always maintain the best match with the current working conditions, significantly improving the success rate of one-time plugging.
[0042] Highly targeted reservoir protection: Taking the long-term needs of carbon dioxide reservoir protection (material chemical stability, unblocking capability) as one of the core optimization objectives, it avoids the contamination of the injection site by plugging operations from the source, ensuring the safety and efficiency of carbon dioxide sequestration.
[0043] Corresponding to the above method, this application also provides a drilling fluid leakage prevention and control construction parameter optimization device, such as... Figure 2 As shown, the device includes: The acquisition unit 210 is used to acquire real-time monitoring data while drilling, which includes at least drilling fluid pool volume change data, riser pressure and leakage rate. The identification unit 220 is used to identify the current leaky layer and its corresponding features in real time based on the drilling monitoring data. The matching unit 230 is used to match suitable plugging materials from a pre-built plugging material knowledge base based on the identified leakage layer characteristics. The plugging material knowledge base includes reservoir protection performance indicators of the materials. The calculation unit 240 is used to calculate an optimized set of construction parameters based on the identified leakage layer characteristics and the matched sealing material.
[0044] The functions of each functional unit of the drilling fluid leakage prevention construction parameter optimization device provided in the above embodiments of this application can be realized through the above methods and steps. Therefore, the specific working process and beneficial effects of each unit in the drilling fluid leakage prevention construction parameter optimization device provided in the embodiments of this application will not be repeated here.
[0045] This application also provides an electronic device, such as... Figure 3 As shown, it includes a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340.
[0046] Memory 330 is used to store computer programs; When the processor 310 executes the program stored in the memory 330, it performs the following steps: Real-time acquisition of drilling monitoring data, which includes at least drilling fluid pool volume change data, riser pressure, and leakage rate; Based on the drilling monitoring data, the current leaky layer and its corresponding characteristics are identified in real time. Based on the identified leakage characteristics, suitable plugging materials are matched from a pre-built knowledge base of plugging materials, which includes reservoir protection performance indicators of the materials. Based on the identified leakage layer characteristics and the matched sealing materials, an optimized set of construction parameters is calculated.
[0047] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0048] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0049] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0050] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0051] The implementation methods and beneficial effects of the various components of the electronic device in the above embodiments for solving the problem can be found in [reference needed]. Figure 1 The steps in the illustrated embodiments are used to implement the electronic device. Therefore, the specific working process and beneficial effects of the electronic device provided in this application will not be repeated here.
[0052] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the drilling fluid leakage prevention construction parameter optimization method described in any of the above embodiments.
[0053] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the drilling fluid leakage prevention construction parameter optimization method described in any of the above embodiments.
[0054] Those skilled in the art will understand that the embodiments in this application can be provided as methods, systems, or computer program products. Therefore, the embodiments in this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments in this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0055] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0056] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0057] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0058] Although preferred embodiments have been described in this application, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of this application.
[0059] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims in this application and their equivalents, then this application also intends to include these modifications and variations.
Claims
1. A method for optimizing construction parameters for drilling fluid leakage prevention during drilling, characterized in that, The method includes: Real-time acquisition of drilling monitoring data, which includes at least drilling fluid pool volume change data, riser pressure, and leakage rate; Based on the drilling monitoring data, the current leaky layer and its corresponding characteristics are identified in real time. Based on the identified leakage characteristics, suitable plugging materials are matched from a pre-built knowledge base of plugging materials, which includes reservoir protection performance indicators of the materials. Based on the identified leakage layer characteristics and the matched sealing materials, an optimized set of construction parameters is calculated.
2. The method as described in claim 1, characterized in that, The set of construction parameters includes injection pressure, discharge rate, material concentration, and injection timing.
3. The method as described in claim 1, characterized in that, Based on the aforementioned monitoring data while drilling, the current lost layer and its corresponding characteristics are identified in real time, including: The data on riser pressure and drilling fluid pool volume change are processed to extract characteristic parameters including leakage rate, riser pressure change rate and riser pressure fluctuation frequency. The above feature parameters are input into a preset rule base for fuzzy logic classification to obtain a preliminary judgment result of the leakage layer type; the leakage layer type includes crack type, pore type, cavern type and their composite types; The preliminary judgment results are dynamically verified and updated based on the acquired subsequent drilling monitoring data, and the final leakage layer characteristics are output.
4. The method as described in claim 3, characterized in that, The rule base includes: if the leakage rate is greater than the first threshold, the riser pressure change rate is negative and the absolute value is greater than the second threshold, and the riser pressure fluctuation frequency is lower than the third threshold, then the leakage layer type is initially determined to be a large crack or karst type.
5. The method as described in claim 3, characterized in that, The reservoir protection performance indicators in the knowledge base of plugging materials include at least: the chemical stability, long-term integrity and degradability of the material in a carbon dioxide environment; Match suitable leak-sealing materials from a pre-built leak-sealing material knowledge base, including: Using the maximization of sealing strength and the minimization of reservoir damage as multi-objective optimization functions, the optimal plugging material is selected from the knowledge base; Specifically, when the identified leakage layer characteristics indicate that the leakage layer is a dynamically changing crack, the multi-objective optimization function preferentially matches elastic granular materials with adaptive deformation capabilities.
6. The method as described in claim 1, characterized in that, Based on the identified leakage layer characteristics and the matched sealing materials, an optimized set of construction parameters is calculated, including: A computational model was constructed that couples formation mechanical parameters, hydrodynamic parameters, and the rheological properties of the matched plugging material; With the goal of forming an effective sealing ring in the near-wellbore zone of the leaking layer, and with the constraint that the construction pressure is lower than the formation fracturing pressure, the optimal combination of injection pressure and discharge rate is solved by reverse engineering to calculate the optimized set of construction parameters.
7. A drilling fluid leakage prevention and control construction parameter optimization device, characterized in that, The device includes: The acquisition unit is used to acquire real-time monitoring data while drilling, which includes at least drilling fluid pool volume change data, riser pressure and leakage rate. The identification unit is used to identify the current leaky layer and its corresponding features in real time based on the drilling monitoring data. The matching unit is used to match suitable plugging materials from a pre-built plugging material knowledge base based on the identified leakage layer characteristics. The plugging material knowledge base includes reservoir protection performance indicators of the materials. The calculation unit is used to calculate an optimized set of construction parameters based on the identified leak characteristics and the matched sealing materials.
8. The apparatus as claimed in claim 7, characterized in that, The set of construction parameters includes injection pressure, discharge rate, material concentration, and injection timing.
9. An electronic device, characterized in that, The electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method of any one of claims 1-6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-6.