A well structure design method and device based on minimum service unit
By adopting a wellbore structure design method based on the smallest business unit, and utilizing data lakes and mapping components, the rapid generation and real-time sharing of wellbore structure atlases are achieved. This solves the problems of complex accidents and poor data interaction in stand-alone software in ultra-deep well design, and improves design efficiency and the ability to share results.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- RICHFIT INFORMATION TECH
- Filing Date
- 2024-12-24
- Publication Date
- 2026-06-26
AI Technical Summary
In existing technologies, the wellbore structure design of ultra-deep wells is prone to complex accidents such as wellbore instability, casing deformation, and stuck drill bits. In addition, stand-alone software has problems such as a large amount of preliminary data preparation work, poor data interaction, and difficulty in sharing results, which affect drilling efficiency and risk.
The wellbore structure design method based on the minimum business unit is adopted. The data lake is used as the source and sink area, the minimum business unit is used as the minimum production workshop, and the mapping component is used as the mapping tool. This enables data to be pushed on demand, mapping tools to generate maps with one click, and research results to be shared in real time. The mapping component is used to draw wellbore structure maps in the preset drawing area and push them to the designated file library of the data lake.
It enables the rapid generation and real-time sharing of wellbore structure atlases, improves design efficiency, solves the problems of large data preparation workload and difficulty in sharing results, breaks down professional barriers and geographical limitations, and achieves efficient wellbore structure design.
Smart Images

Figure CN122286871A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wellbore structure design technology, and in particular to a wellbore structure design method and apparatus based on the smallest operational unit. Background Technology
[0002] Ultra-deep wells typically present significant challenges due to their deep target formations, complex geological conditions, and extremely high temperatures and pressures. Wellbore structure design is crucial for achieving ultra-deep drilling objectives; an inadequate design can easily lead to complex downhole accidents such as wellbore instability, casing deformation, stuck pipe, and drill string breakage. For some ultra-deep wells, the design may need to consider the unique pressure locations of oil and gas formations, unconformities, fractured cavities, gypsum rocks, and igneous intrusions, further increasing the design complexity. Therefore, designing a wellbore structure suitable for ultra-deep wells is essential for improving drilling efficiency and reducing drilling risks. Summary of the Invention
[0003] To enable on-demand data delivery, one-click mapping with mapping tools, and real-time sharing of research results, thus supporting rapid and high-quality completion of wellbore structure design, this invention provides a wellbore structure design method and apparatus based on the smallest business unit.
[0004] In a first aspect, embodiments of the present invention provide a wellbore structure design method based on the minimum operational unit, comprising:
[0005] Obtain the smallest business unit corresponding to the well structure, wherein the smallest business unit includes configured data resource retrieval rules, tool resource invocation rules, and application scenario attribution rules;
[0006] Based on the aforementioned tool resource call rules, the corresponding image generation component is retrieved;
[0007] Based on data resource retrieval rules, the corresponding dataset is extracted from the pre-defined data lake;
[0008] Based on the dataset, the mapping component is used to draw a wellbore structure map set in a preset drawing area. The wellbore structure map set includes at least a well depth line and label, a formation distribution map, a drilling fluid density distribution map, and a wellbore structure map.
[0009] Based on the application scenario attribution rules, the well structure atlas is pushed to the designated file library of the data lake.
[0010] Optionally, the dataset includes at least formation layering data, basic well information, wellbore structure design data, and drilling fluid density data;
[0011] Based on the dataset, the mapping component is used to draw a wellbore structure atlas in a preset drawing area. The wellbore structure atlas includes at least well depth lines and markings, a formation distribution map, a drilling fluid density distribution map, and a wellbore structure diagram, including:
[0012] Using the mapping component, the depth of the target well is determined based on the basic well information, and well depth lines and markings are drawn in a preset mapping area;
[0013] Using the mapping component, based on the stratigraphic layering data, a stratigraphic distribution map is drawn in a preset mapping area according to the depth order of the stratigraphic layers;
[0014] Using the mapping component, based on the drilling fluid density data, the drilling fluid density at different depths of the target well is determined, and a drilling fluid density distribution map is drawn in a preset mapping area according to the depth order of the target well.
[0015] Using the mapping component, a wellbore structure diagram is drawn in a preset drawing area based on the wellbore structure design data;
[0016] Using the mapping component, combined with the well depth lines and markings, the formation distribution map, the drilling fluid density distribution map, and the wellbore structure map, a wellbore structure map set is formed.
[0017] Optionally, the preset drawing area includes stratigraphic stratification traces;
[0018] The step of using the mapping component to draw a stratigraphic distribution map in a preset mapping area according to the depth order of the stratigraphic layers based on the stratigraphic layering data includes:
[0019] Based on the stratigraphic layering data, the top and bottom boundary depths of each stratigraphic layer are determined using the mapping component.
[0020] Based on the first coordinate system pre-configured in the stratigraphic stratification map, the mapping component calculates the vertical coordinate position of the top and bottom boundaries of each stratigraphic layer in the first coordinate system according to the top and bottom boundary depths of each stratigraphic layer, and sorts the stratigraphic layers according to their depth order to obtain the sorted stratigraphic distribution.
[0021] Based on the sorted stratigraphic distribution, the mapping component is used to draw stratigraphic rectangles corresponding to each stratigraphic layer on the stratigraphic stratification map, and corresponding stratigraphic name labels are added within the stratigraphic rectangles to obtain the stratigraphic distribution map.
[0022] Optionally, the preset drawing area includes wellbore structure diagrams;
[0023] The step of using the mapping component to draw a wellbore structure diagram in a preset drawing area based on the wellbore structure design data includes:
[0024] Based on the second coordinate system pre-configured in the well structure diagram, the positions of each wellbore and each casing in the second coordinate system are determined according to the well structure design data, and the corresponding wellbore graphic frame and casing graphic frame are drawn in the second coordinate system using the drawing component.
[0025] The wellbore graphic frame and the casing graphic frame are combined using the drawing component to form a wellbore structure diagram.
[0026] Optionally, the step of determining the positions of each wellbore and each casing in the second coordinate system based on the wellbore structure design data, according to the second coordinate system pre-configured in the wellbore structure diagram, and drawing the corresponding wellbore and casing graphic frames in the second coordinate system using the mapping component, includes:
[0027] Based on the wellbore structure design data, the wellbore size and depth of each sub-wellbore are determined using the mapping component, and the position of each sub-wellbore in the second coordinate system is determined. The corresponding wellbore graphic frame is then drawn in the second coordinate system of the wellbore structure map.
[0028] Based on the wellbore structure design data, the casing size, top depth, and bottom depth of each casing are determined using the mapping component. The horizontal and vertical coordinates of each casing in the second coordinate system are calculated, and the corresponding casing graphic frame is drawn in the second coordinate system of the wellbore structure map.
[0029] Optionally, after pushing the wellbore structure atlas to a designated file repository in the data lake based on the application scenario affiliation rules, the process includes:
[0030] Based on the actual application scenario input by the user, it is determined whether the actual application scenario matches the application scenario attribution rule. If they match, the well structure atlas is extracted from the specified file library of the data lake.
[0031] Optionally, the smallest operational unit corresponding to the wellbore structure can be determined in the following manner:
[0032] For the wellbore structure, intermediate business units are identified, wherein the intermediate business units include at least a wellbore structure design intermediate business unit;
[0033] Based on the intermediate business unit for wellbore structure design, the business unit for compiling wellbore structure diagrams for drilling design is obtained, and the business unit for compiling wellbore structure diagrams for drilling design is taken as the smallest business unit.
[0034] Based on the analysis of the minimum business unit, the data resource retrieval rules, tool resource invocation rules, and application scenario attribution rules of the minimum business unit are determined; wherein, the data resource retrieval rules include extracting the corresponding dataset from the preset data lake; the tool resource invocation rules include retrieving the corresponding mapping components; and the application scenario attribution rules include pushing the wellbore structure atlas to a designated file library in the data lake.
[0035] Secondly, embodiments of the present invention provide a wellbore structure design device based on the minimum operational unit, comprising:
[0036] The data acquisition module is used to acquire the smallest business unit corresponding to the well structure. The smallest business unit includes configured data resource retrieval rules, tool resource call rules, and application scenario affiliation rules.
[0037] The mapping component invocation module is used to retrieve the corresponding mapping component based on the tool resource invocation rules;
[0038] The data extraction module is used to extract the corresponding dataset from the preset data lake based on data resource retrieval rules;
[0039] The drawing module is used to draw a wellbore structure map atlas in a preset drawing area based on the dataset and using the mapping component. The wellbore structure map atlas includes at least well depth lines and markings, formation distribution map, drilling fluid density distribution map, and wellbore structure map.
[0040] The output module is used to push the well structure atlas to a designated file library in the data lake based on the application scenario affiliation rules.
[0041] Thirdly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the wellbore structure design method based on the minimum business unit as described in the first aspect.
[0042] Fourthly, embodiments of the present invention provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the program to implement the wellbore structure design method based on the minimum business unit as described in the first aspect.
[0043] Fifthly, embodiments of the present invention provide a computer program product containing instructions that, when run on a computer device, cause the computer device to execute the wellbore structure design method based on the minimum business unit as described in the first aspect.
[0044] The beneficial effects of the above-mentioned technical solutions provided in the embodiments of the present invention include at least the following:
[0045] This invention provides a wellbore structure design method based on a minimum business unit. The minimum business unit includes configured data resource retrieval rules, tool resource invocation rules, and application scenario affiliation rules. Based on the data resource retrieval rules, the minimum business unit can extract the corresponding dataset from a preset data lake, ensuring that the minimum business unit can efficiently and accurately extract the required dataset from the data lake, providing reliable data support for compiling wellbore structure atlases.
[0046] Based on the tool resource call rules, the smallest business unit can call the corresponding mapping component, use the mapping component to process the dataset and generate wellbore structure atlases, thus achieving rapid generation of wellbore structure atlases.
[0047] Based on application scenario affiliation rules, the smallest business unit can push well structure atlases to a designated file repository in the data lake. Within the data lake, the well structure atlas data is securely and efficiently stored and can be shared by other businesses, becoming a data source for them and enabling real-time sharing of well structure atlases. This solves the problems of large upfront data preparation workload, poor data interaction, and difficulties in sharing results inherent in existing standalone software, effectively improving the efficiency of well structure design.
[0048] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings.
[0049] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0050] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0051] Figure 1 This is an example diagram of the wellbore structure design system provided in an embodiment of the present invention;
[0052] Figure 2 This is a flowchart of a wellbore structure design method based on the minimum business unit provided in an embodiment of the present invention;
[0053] Figure 3 These are example diagrams of the wellbore structure diagrams provided in the embodiments of the present invention;
[0054] Figure 4 This is a schematic diagram of a wellbore structure design device based on the minimum business unit provided in an embodiment of the present invention. Detailed Implementation
[0055] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0056] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," "far," "near," "front," and "rear," etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings and are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0057] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0058] The inventors discovered that the mainstream software currently used for wellbore structure design includes CasingSeat, Drillingoffice, Wellead, etc. Since these software are mainly standalone versions, there are problems such as a large amount of preliminary data preparation work, poor data interaction, and difficulty in sharing results in actual application, which affect the efficiency of wellbore structure design and restrict the efficient development process of oilfields.
[0059] To address the aforementioned issues, the inventors developed a wellbore structure design method and device based on the minimum business unit, enabling on-demand data delivery, one-click mapping with drafting tools, and real-time sharing of research results. This method supports the rapid and high-quality completion of wellbore structure design work.
[0060] Example 1
[0061] This embodiment provides a wellbore structure design method based on the minimum operational unit. This method uses a wellbore structure design system for wellbore structure design. (See attached document.) Figure 1 The wellbore structure design system uses a data lake as the source and sink area, the smallest business unit as the smallest production workshop, and mapping components as the mapping tools.
[0062] The data lake, developed based on the PetroChina Exploration and Development Data Model (EPDM), integrates key functions such as master data management, metadata management, quality management, data integration and acquisition chain, security management, and data services to achieve unified governance, management, and shared application of data across the entire upstream business chain. The data lake is a centralized database in the petroleum exploration and development field, managed according to unified standards and the principle of data interconnection. Specifically, the data lake stores data according to professional categories within the petroleum exploration and development field. Data undergoes source collection and multi-layered quality control before being stored in the data lake for sharing. After processing, the final results are then shared again within the lake. Standardized collection and entry of geophysical and geochemical exploration, drilling, completion, and production data into the lake creates an authoritative data source. In this application, the data lake provides master data for wellbore locations and manages collected data. Specifically, basic data includes the geological unit to which the wellbore belongs, geophysical exploration area, station / database, pipelines, organizational structure, equipment, project, and well identification.
[0063] The smallest business unit is the unique and indivisible business activity in oil exploration and development. It can be viewed as the smallest production workshop capable of data reception, data processing, map generation, results storage, and results quality control. (See also...) Figure 1 The smallest business unit can receive datasets from the data lake and push the datasets to the graph generation component (i.e., Figure 1 The drilling design wellbore structure drawing component shown in the figure is processed to generate a wellbore structure drawing set (i.e., as shown in the figure). Figure 1 The wellbore structure diagram shown in the figure is used to save the wellbore structure diagram set to the results list, and then the quality control is carried out in the lake to realize the rapid generation and real-time sharing of the wellbore structure diagram set.
[0064] The mapping component is a professional graphics visualization component embedded in the smallest business unit. It has functions such as data receiving, data processing, and map generation. By receiving the dataset and processing it, it can generate a well structure map set with one click.
[0065] See Figure 2 The wellbore structure design method based on the minimum business unit can specifically include the following steps:
[0066] Step S1: Obtain the smallest business unit corresponding to the well structure. The smallest business unit includes the configured data resource retrieval rules, tool resource call rules, and application scenario affiliation rules.
[0067] Step S2: Based on the tool resource calling rules, retrieve the corresponding image generation component;
[0068] Step S3: Based on the data resource retrieval rules, extract the corresponding dataset from the preset data lake;
[0069] Step S4: Based on the dataset, use the mapping component to draw a wellbore structure map set in a preset drawing area, wherein the wellbore structure map set includes at least well depth lines and markings, formation distribution map, drilling fluid density distribution map and wellbore structure map;
[0070] Step S5: Based on the application scenario attribution rules, push the well structure atlas to the designated file library of the data lake.
[0071] To provide a clearer explanation of the wellbore structure design method based on the minimum business unit, each step will be explained in detail below.
[0072] In step S1 above, the smallest operational unit corresponding to the wellbore structure is determined in the following manner:
[0073] Step S11: For the well structure, intermediate business units are identified, including at least the well structure design intermediate business unit.
[0074] In step S11 above, for the drilling acceleration theme of oil and gas engineering technology business, the work of sorting out seven primary business units was completed, including well structure, well location and trajectory design, drilling fluid design, drilling acceleration research, cementing design, well integrity, and well control design. Subsequently, for the well structure, three intermediate business units were sorted out, namely, mandatory sealing point analysis, drilling fluid density design, and well structure design.
[0075] Step S12: Based on the intermediate business unit of wellbore structure design, the wellbore structure diagram compilation business unit of drilling design is obtained, and the wellbore structure diagram compilation business unit of drilling design is taken as the smallest business unit.
[0076] In step S12 above, the intermediate business unit for well structure design is sorted out into business units such as well structure design data table compilation, well structure scheme design table compilation, drilling design well structure diagram compilation, and block well structure design schematic diagram compilation, with the drilling design well structure diagram compilation business unit being the smallest business unit.
[0077] Step S13: Analyze based on the smallest business unit to determine the data resource retrieval rules, tool resource call rules, and application scenario affiliation rules for the smallest business unit.
[0078] In step S13 above, the data resource retrieval rules include extracting the corresponding dataset from a pre-defined data lake. The dataset must include at least formation stratification data, basic well information, wellbore structure design data, and drilling fluid density data. The tool resource retrieval rules include retrieving the corresponding mapping components. (See also...) Figure 1The application scenario attribution rules include pushing wellbore structure atlases to designated file repositories in the data lake. The application scenarios configured for these file repositories are drilling engineering design, integrated drilling and geological engineering design, single-well drilling plans, oil production engineering plans, and gas production engineering plans. Data resource retrieval rules, tool resource invocation rules, and application scenario attribution rules are configured for this minimum business unit. Additionally, result pre-selection rules can be configured for this minimum business unit, including saving the wellbore structure atlas to a designated result list. After completing the above configuration, this minimum business unit forms a minimum production workshop capable of data reception, data processing, map generation, result saving, and result quality control (i.e., the process of pushing the wellbore structure atlas to the designated file repository in the data lake).
[0079] Through the configuration of the above rules, this smallest business unit forms a complete data processing chain: from data reception (data resource retrieval rules) to data processing (tool resource retrieval rules), then to map generation (output), and finally to result storage and quality control (application scenario attribution rules and result pre-selection rules). This process enables the business unit to function as an efficient and autonomous minimum production workshop, providing accurate and reliable wellbore structure atlases for drilling engineering design and other application scenarios.
[0080] In step S2 above, the mapping component is embedded within the smallest business unit and is part of that unit. (See also...) Figure 1 The mapping component includes a mapping template and a mapping data module. The mapping template is existing software capable of drawing wellbore structure atlases, and can use HTML5, GraphicExpress, etc. (See also...) Figure 3 The drawing template is configured with a preset drawing area, which can be divided into four parallel areas. Specifically, the preset drawing area includes vertical depth tracks (i.e.,...) Figure 3 The vertical depth shown), stratigraphic stratification chart (i.e. Figure 3 The formation shown), drilling fluid density map (i.e. Figure 3 The drilling fluid density shown), wellbore structure diagram (i.e. Figure 3(See the wellbore structure diagram shown). It is important to note that when arranging the four channels, ensure that the upper ends of all four channels are on the same horizontal line, so that the starting points of the vertical coordinates of the coordinate systems configured in the four channels are all on the same horizontal line. This facilitates comparison of data such as vertical depth, drilling fluid density, casing depth, and casing dimensions for the same well section after the wellbore structure atlas is completed. The vertical depth channel can be used to display the calculated bottom vertical depth of different formations; the formation layering channel can be used to display the calculated formation distribution map, i.e., the boundaries, systems, series, groups, and sections of different formations; the drilling fluid density channel can be used to display the calculated lower and upper limits of drilling fluid density for different depth sections; and the wellbore structure channel can be used to display the calculated wellbore structure diagram, showing the complete wellbore structure including information such as casing outer diameter, casing top depth, and casing depth.
[0081] In step S3 above, see [reference] Figure 1 Based on data resource retrieval rules, the smallest business unit can only extract stratified data from the data lake (i.e., Figure 1 (Formation layering design), basic well information, wellbore structure design data, and drilling fluid density data (i.e., Figure 1 Data such as drilling fluid density design can be used. Standard interfaces or APIs can be set up in the data lake to facilitate access to the smallest business unit. By configuring data resource retrieval rules, it can be ensured that the smallest business unit can efficiently and accurately extract the required datasets from the data lake, providing reliable data support for compiling wellbore structure atlases.
[0082] In one specific embodiment, the mapping data module can be bound to a data lake, extracting datasets from the data lake through a standard interface and processing the datasets into a format recognizable by the mapping template. Taking HTML5 as an example, the mapping data module can use a Handsontable online table, storing the extracted datasets in the Handsontable online table, processing the datasets into the styles required by HTML5, converting them into JSON format, and exchanging them with HTML5 for plotting.
[0083] In step S4 above, the specific process of drawing a wellbore structure atlas in a preset drawing area based on the dataset and using the mapping component may include:
[0084] Step S41: Using the mapping component, determine the depth of the target well based on the basic well information, and draw the well depth line and markings in the preset drawing area.
[0085] In step S41 above, the depth of the target well is determined based on the basic well information using the mapping component, and well depth lines and markings are drawn in the preset drawing area. Specifically, well depth lines and markings can be drawn in the vertical depth map.
[0086] Taking HTML5 as an example, the HTML5 `<canvas>` tag can be used for drawing graphics. The `Canvas` is the preset drawing area mentioned above, where well structure diagrams can be drawn. When drawing well depth lines and annotations on the `Canvas`, the following two path drawing methods can be used in combination: `ctx.moveTo()` and `ctx.lineTo()`. For details, please refer to [link to documentation]. Figure 3 The vertical depth map has a preset coordinate system. Based on the depth of the target well, the vertical coordinates of different depth positions of the target well are determined and denoted as y. The pen is moved to the specified coordinate (x1,y) using ctx.moveTo(x1,y) as the starting point. Then, a straight line of length x2 is drawn at the starting point using ctx.lineTo(x2,y) to form the well depth line.
[0087] In HTML5, the `ctx.fillText()` method can be used to draw filled text on a Canvas. This method can also be used to add annotations to indicate the depth of the target well. Specifically, the syntax is `ctx.fillText(text, x3, y, maxWidth)`, where `text` represents the string of text to be drawn, such as... Figure 3 In the diagram, "1080" is shown; x3 represents the x-coordinate of the text's starting point; y represents the y-coordinate of the text baseline, which is the bottom of the text and used to determine its position; maxWidth is an optional parameter used to specify the maximum width of the text. The drawn well depth lines and annotations can show the bottom vertical depth of different strata, such as... Figure 3 The "1080" shown indicates a stratum with a vertical depth of 1080m.
[0088] Step S42: Using the mapping component, based on the stratigraphic layering data, draw a stratigraphic distribution map in the preset drawing area according to the depth order of the stratigraphic layers.
[0089] In step S42 above, the specific process of drawing the stratigraphic distribution map may include:
[0090] Step S421: Based on the stratigraphic layering data, use the mapping component to determine the top and bottom boundary depths of each stratigraphic layer.
[0091] Step S422: Based on the first coordinate system pre-configured in the stratigraphic stratification map, the top and bottom boundaries of each stratum are calculated using the mapping component according to their top and bottom depths in the first coordinate system. The strata are then sorted according to their depth order to obtain the sorted strata distribution.
[0092] In step S422 above, a first coordinate system is pre-configured in the stratigraphic stratification map. This configuration rule should satisfy the condition that the positive direction of the vertical axis is set downwards along the stratigraphic stratification map, and the horizontal axis represents the horizontal direction. Taking HTML5 as an example, the Canvas pre-configures the first coordinate system, sorting the stratigraphic stratification data according to depth order, so that the strata can be drawn sequentially from shallow to deep during drawing, resulting in the sorted stratigraphic distribution.
[0093] Step S423: Based on the sorted stratigraphic distribution, use the mapping component to draw stratigraphic rectangles corresponding to each stratigraphic layer on the stratigraphic stratification map, and add corresponding stratigraphic name labels within the stratigraphic rectangles to obtain the stratigraphic distribution map.
[0094] In step S423 above, taking the use of HTML5 for mapping templates as an example, the vertical coordinates of the top and bottom boundaries of each stratum in the first coordinate system are calculated based on the top and bottom boundary depths, and denoted as y1 and y2 respectively. (See also...) Figure 3 The `ctx.rect()` method creates a path for a stratum rectangle. Its syntax is `ctx.rect(x, y1, width, height)`, where `x` represents the x-coordinate of the top boundary of each stratum; `(x, y1,)` represents the coordinates of the top-left corner of the stratum rectangle; the `width` parameter specifies the width of the stratum rectangle; and the `height` parameter specifies the height of the stratum rectangle, with a value of `(y2-y1)`. Since `ctx.rect()` only defines the path of the stratum rectangle, to make the stratum rectangle visible, the `ctx.stroke` method needs to be called to stroke the outline of the stratum rectangle, resulting in a stratum rectangle that represents the stratum.
[0095] For each stratigraphic rectangle, the `ctx.fillText()` method can be used to draw the filling text on the Canvas. This method adds stratigraphic name labels within the rectangles, resulting in a stratigraphic distribution map. Specifically, the syntax of this method can be set to `ctx.fillText(text, x', y', maxWidth)`, where the `text` parameter specifies the string of text to be drawn, such as... Figure 3The text is labeled "Quaternary". The x' and y' parameters specify the starting coordinates of the text's baseline, where the value of y' should be greater than y1 and less than y2, and x' can be greater than x, so that the text is within the stratum rectangle; maxWidth is an optional parameter used to specify the maximum width of the text.
[0096] Step S43: Using the mapping component, based on the drilling fluid density data, determine the drilling fluid density at different depths of the target well, and draw the drilling fluid density distribution map in the preset mapping area according to the depth order of the target well.
[0097] In step S43 above, see [reference] Figure 3 Using a mapping component, based on drilling fluid density data, the drilling fluid density at different depths of the target well is determined. Specifically, the lower and upper limits of the drilling fluid density at different depth segments of the target well are determined. The `ctx.rect()` method is used to define a path for a drilling fluid rectangle within the drilling fluid density trace of a preset drawing area. To make this drilling fluid rectangle visible, the `ctx.fill` method is called to fill the drilling fluid rectangle, resulting in the following... Figure 3 The image shows a rectangle containing drilling fluid. The horizontal width of this rectangle represents the drilling fluid density range, and the vertical height represents the well depth range. The rectangles are arranged in order of the target well's depth. The `ctx.fillText()` method can be used to add drilling fluid density markers at appropriate locations (even outside the rectangles) to display the lower and upper limits of the drilling fluid density at different depths. Figure 3 The drilling fluid density of the first rectangular box shown is labeled as 1.05-1.15, indicating that the lower limit of the drilling fluid density in the first section of the target well is 1.05 g / cm³. 3 The upper limit for drilling fluid density is 1.15 g / cm³. 3 You can also mark the design value of drilling fluid density from the drilling fluid density data at a specified location in a preset drawing area, such as... Figure 3 The design value for the drilling fluid density shown is 1.05-1.15 g / cm³. 3 The syntax for the ctx.rect() and ctx.fillText() methods can be found in step S423 above, and will not be repeated here.
[0098] Step S44: Using the mapping component, draw the well structure diagram in the preset drawing area based on the well structure design data.
[0099] In step S44 above, the specific process of drawing the wellbore structure diagram may include the following steps:
[0100] Step S441: Based on the second coordinate system pre-configured in the well structure diagram, determine the position of each sub-wellbore and each sub-casing in the second coordinate system according to the well structure design data, and use the drawing component to draw the corresponding wellbore graphic frame and casing graphic frame in the second coordinate system.
[0101] In step S441 above, the specific process of drawing the corresponding wellbore graphic frame and casing graphic frame in the second coordinate system using the drawing component may include the following steps:
[0102] Step S4411: Based on the wellbore structure design data, use the mapping component to determine the wellbore size and depth of each sub-wellbore, determine the position of each sub-wellbore in the second coordinate system, and draw the corresponding wellbore graphic frame in the second coordinate system of the wellbore structure map.
[0103] In step S4411 above, based on the well structure design data, the drawing component is used to traverse each wellbore, calculate the bottom coordinates of the wellbore graphic frame according to the well depth, determine the horizontal coordinate position of the wellbore in the second coordinate system according to the wellbore size, that is, the width of the wellbore graphic frame can be obtained, thereby determining the position of the wellbore in the second coordinate system, and the ctx.rect() method is used to draw the wellbore graphic frame in the second coordinate system of the well structure drawing.
[0104] Step S4412: Based on the wellbore structure design data, use the mapping component to determine the casing size, casing top depth and casing bottom depth of each casing section, and calculate the horizontal and vertical coordinate positions of each casing section in the second coordinate system, and draw the corresponding casing graphic frame in the second coordinate system of the wellbore structure map.
[0105] In step S4412 above, based on the wellbore structure design data, the mapping component traverses each casing section. The vertical coordinate of the casing in the second coordinate system is calculated based on its top and bottom depths, thus determining the top and bottom coordinates of the casing graphic frame. The horizontal coordinate of the casing in the second coordinate system is then determined based on its dimensions, yielding the width of the casing graphic frame. Based on the top and bottom coordinates and the width of the casing graphic frame, the ctx.rect() method is used to draw the casing graphic frame in the second coordinate system of the wellbore structure diagram.
[0106] Step S442: Use the drawing component to combine the wellbore graphic frame and the casing graphic frame to form a wellbore structure diagram.
[0107] In step S442 above, see [reference] Figure 3The filled graphic frame is the wellbore graphic frame, and the blue line frame is the casing graphic frame. For each wellbore structural component (wellbore or casing), add annotations at its bottom using the `ctx.fillText()` method. Annotations can include wellbore dimensions, casing outer diameter, well depth, casing top depth, and casing bottom depth, etc. Figure 3 The annotation text φ508mm(20”)×200m shown in the figure means: casing with a running depth of 200m, a specification of 20”, and an outer diameter of 508mm. The annotation text φ660.4mm(26”)×200m means: wellbore with a well depth of 200m, a specification of 26”, and a wellbore size of 660.4mm.
[0108] Step S45: Using the mapping component, combine the well depth line and annotation, formation distribution map, drilling fluid density distribution map and well structure map to form a well structure map set.
[0109] In step S5 above, based on the application scenario attribution rules, the well structure atlas is pushed to the designated file repository of the data lake. In the data lake, the well structure atlas data is securely and efficiently stored and can be shared and used by other businesses, becoming a data source for those businesses. After pushing the well structure atlas to the designated file repository of the data lake, the following steps may also be included:
[0110] Based on the actual application scenario input by the user, it is determined whether the actual application scenario matches the application scenario attribution rule. If they match, the well structure atlas is extracted from the specified file library of the data lake.
[0111] Specifically, users input their actual application scenarios through a front-end interface or other means. The system then determines the application scenario's suitability, checking if the user-input scenario matches the application scenario classification rules. If a match is found, the system accesses a designated file repository in the data lake, extracts the corresponding wellbore structure atlas from the repository, and then publishes the extracted wellbore structure atlas... Figure 3 The image shown is presented to the user. If a match fails, the system prompts the user to re-enter the information or select another practical application scenario.
[0112] This embodiment utilizes the smallest business unit and relies on the dataset of a data lake to conveniently and quickly generate wellbore structure design atlases through a mapping component. These atlases are then pushed to a designated file library within the data lake, enabling rapid generation and real-time sharing of wellbore structure atlases. This transforms the traditional offline design model of "fragmented technical departments and relay-style research" into a new "closed-loop integrated" online collaborative design model that breaks down professional barriers, departmental boundaries, and geographical limitations, significantly improving the mapping efficiency of wellbore structure design. It also solves the problems of large amounts of preliminary data preparation, poor data interaction, and difficulties in sharing results inherent in existing standalone software, effectively improving the efficiency of wellbore structure design.
[0113] Example 2
[0114] Based on the same inventive concept, see [reference] Figure 4 This embodiment proposes a wellbore structure design device based on the minimum service unit, including:
[0115] Data acquisition module 101 is used to acquire the smallest business unit corresponding to the well structure. The smallest business unit includes the configured data resource retrieval rules, tool resource call rules and application scenario affiliation rules.
[0116] The mapping component calling module 102 is used to call the corresponding mapping component based on the tool resource calling rules;
[0117] Data extraction module 103 is used to extract the corresponding dataset from the preset data lake based on data resource retrieval rules;
[0118] The drawing module 104 is used to draw a well structure map atlas in a preset drawing area based on a dataset using a mapping component. The well structure map atlas includes at least a well depth line and label, a formation distribution map, a drilling fluid density distribution map, and a well structure map.
[0119] Output module 105 is used to push the well structure atlas to a designated file library in the data lake based on the application scenario attribution rules.
[0120] The wellbore structure design device based on the minimum business unit provided in this embodiment of the invention has a similar implementation principle and technical effect to that of Embodiment 1, and will not be repeated here.
[0121] Example 3
[0122] Based on the same inventive concept, this application also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the wellbore structure design device based on the minimum business unit as described in Embodiment 1.
[0123] The computer-readable storage medium may be included in the device / apparatus described in the above embodiments; or it may exist independently and not assembled into the device / apparatus. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to Embodiment 1 of the present invention.
[0124] According to embodiments of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0125] Example 4
[0126] Based on the same inventive concept, this application also proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the wellbore structure design device based on the minimum business unit as described in Embodiment 1.
[0127] Example 5
[0128] Based on the same inventive concept, this application proposes a computer program product containing instructions. When the computer program product is run on a computer device, the computer device executes the well shaft structure design device based on the minimum business unit in Embodiment 1.
[0129] The principles by which the above-mentioned devices, clients, media, and related equipment in this embodiment of the invention solve the problem are similar to those of the aforementioned methods. Therefore, their implementation can refer to the implementation of the aforementioned methods, and repeated details will not be repeated.
[0130] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0131] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0132] 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.
[0133] 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.
[0134] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. This disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims. Thus, if these modifications and variations of the invention fall within the scope of the claims of the invention and their equivalents, the invention is also intended to include these modifications and variations.
Claims
1. A method for designing a well profile based on a minimum service unit, characterized by, include: Obtain the smallest business unit corresponding to the well structure, wherein the smallest business unit includes configured data resource retrieval rules, tool resource invocation rules, and application scenario attribution rules; Based on the aforementioned tool resource call rules, the corresponding image generation component is retrieved; Based on data resource retrieval rules, the corresponding dataset is extracted from the pre-defined data lake; Based on the dataset, the mapping component is used to draw a wellbore structure map set in a preset drawing area. The wellbore structure map set includes at least a well depth line and label, a formation distribution map, a drilling fluid density distribution map, and a wellbore structure map. Based on the application scenario attribution rules, the well structure atlas is pushed to the designated file library of the data lake.
2. The minimum service unit based well architecture design method of claim 1, wherein, The dataset includes at least formation layering data, basic well information, wellbore structure design data, and drilling fluid density data. Based on the dataset, the mapping component is used to draw a wellbore structure atlas in a preset drawing area. The wellbore structure atlas includes at least well depth lines and markings, a formation distribution map, a drilling fluid density distribution map, and a wellbore structure diagram, including: Using the mapping component, the depth of the target well is determined based on the basic well information, and well depth lines and markings are drawn in a preset mapping area; Using the mapping component, based on the stratigraphic layering data, a stratigraphic distribution map is drawn in a preset mapping area according to the depth order of the stratigraphic layers; Using the mapping component, based on the drilling fluid density data, the drilling fluid density at different depths of the target well is determined, and a drilling fluid density distribution map is drawn in a preset mapping area according to the depth order of the target well. Using the mapping component, a wellbore structure diagram is drawn in a preset drawing area based on the wellbore structure design data; Using the mapping component, combined with the well depth lines and markings, the formation distribution map, the drilling fluid density distribution map, and the wellbore structure map, a wellbore structure map set is formed.
3. The minimum service unit based well architecture design method of claim 2, wherein, The preset drawing area includes stratigraphic stratification maps; The step of using the mapping component to draw a stratigraphic distribution map in a preset mapping area according to the depth order of the stratigraphic layers based on the stratigraphic layering data includes: Based on the stratigraphic layering data, the top and bottom boundary depths of each stratigraphic layer are determined using the mapping component. Based on the first coordinate system pre-configured in the stratigraphic stratification map, the mapping component calculates the vertical coordinate position of the top and bottom boundaries of each stratigraphic layer in the first coordinate system according to the top and bottom boundary depths of each stratigraphic layer, and sorts the stratigraphic layers according to their depth order to obtain the sorted stratigraphic distribution. Based on the sorted stratigraphic distribution, the mapping component is used to draw stratigraphic rectangles corresponding to each stratigraphic layer on the stratigraphic stratification map, and corresponding stratigraphic name labels are added within the stratigraphic rectangles to obtain the stratigraphic distribution map.
4. The wellbore structure design method based on the minimum operational unit according to claim 2, characterized in that, The preset drawing area includes well structure diagrams; The step of using the mapping component to draw a wellbore structure diagram in a preset drawing area based on the wellbore structure design data includes: Based on the second coordinate system pre-configured in the well structure diagram, the positions of each wellbore and each casing in the second coordinate system are determined according to the well structure design data, and the corresponding wellbore graphic frame and casing graphic frame are drawn in the second coordinate system using the drawing component. The wellbore graphic frame and the casing graphic frame are combined using the drawing component to form a wellbore structure diagram.
5. The wellbore structure design method based on the minimum operational unit according to claim 4, characterized in that, Based on the second coordinate system pre-configured in the wellbore structure diagram, and according to the wellbore structure design data, the positions of each wellbore and each casing in the second coordinate system are determined, and the corresponding wellbore and casing graphic frames are drawn in the second coordinate system using the mapping component, including: Based on the wellbore structure design data, the wellbore size and depth of each sub-wellbore are determined using the mapping component, and the position of each sub-wellbore in the second coordinate system is determined. The corresponding wellbore graphic frame is then drawn in the second coordinate system of the wellbore structure map. Based on the wellbore structure design data, the casing size, top depth, and bottom depth of each casing are determined using the mapping component. The horizontal and vertical coordinates of each casing in the second coordinate system are calculated, and the corresponding casing graphic frame is drawn in the second coordinate system of the wellbore structure map.
6. The wellbore structure design method based on the minimum operational unit according to claim 1, characterized in that, After pushing the wellbore structure atlas to the designated file repository of the data lake based on the application scenario attribution rules, the process includes: Based on the actual application scenario input by the user, it is determined whether the actual application scenario matches the application scenario attribution rule. If they match, the well structure atlas is extracted from the specified file library of the data lake.
7. The wellbore structure design method based on the minimum operational unit according to any one of claims 1-6, characterized in that, The smallest operational unit corresponding to the wellbore structure shall be determined in the following manner: For the wellbore structure, intermediate business units are identified, wherein the intermediate business units include at least a wellbore structure design intermediate business unit; Based on the intermediate business unit for wellbore structure design, the business unit for compiling wellbore structure diagrams for drilling design is obtained, and the business unit for compiling wellbore structure diagrams for drilling design is taken as the smallest business unit. Based on the analysis of the minimum business unit, the data resource retrieval rules, tool resource invocation rules, and application scenario attribution rules of the minimum business unit are determined; wherein, the data resource retrieval rules include extracting the corresponding dataset from the preset data lake; the tool resource invocation rules include retrieving the corresponding mapping components; and the application scenario attribution rules include pushing the wellbore structure atlas to a designated file library in the data lake.
8. A wellbore structure design device based on the minimum operational unit, characterized in that, include: The data acquisition module is used to acquire the smallest business unit corresponding to the well structure. The smallest business unit includes configured data resource retrieval rules, tool resource call rules, and application scenario affiliation rules. The mapping component invocation module is used to retrieve the corresponding mapping component based on the tool resource invocation rules; The data extraction module is used to extract the corresponding dataset from the preset data lake based on data resource retrieval rules; The drawing module is used to draw a wellbore structure map atlas in a preset drawing area based on the dataset and using the mapping component. The wellbore structure map atlas includes at least well depth lines and markings, formation distribution map, drilling fluid density distribution map, and wellbore structure map. The output module is used to push the well structure atlas to a designated file library in the data lake based on the application scenario affiliation rules.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the wellbore structure design method based on the minimum business unit as described in any one of claims 1-7.
10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the wellbore structure design method based on the minimum business unit as described in any one of claims 1-7.
11. A computer program product containing instructions that, when run on a computer device, causes the computer device to perform the wellbore structure design method based on the minimum business unit as described in any one of claims 1-7.