Drilling-based data visualization method, device, equipment, medium and program product
By receiving data visualization requests, running HTML files, and transforming drilling-related data to generate visualized data charts, the problem of scattered drilling data is solved, enabling comprehensive display and remote viewing of multi-dimensional data and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- RICHFIT INFORMATION TECH
- Filing Date
- 2024-12-10
- Publication Date
- 2026-06-12
AI Technical Summary
Currently, drilling engineering data and formation geological data are usually displayed separately, resulting in fragmented data and making it impossible for users to conduct comprehensive analysis.
This paper presents a data visualization method based on drilling. By receiving data visualization requests, running HTML files, acquiring and transforming drilling-related data from multiple dimensions, and using a drawing module to generate visualized data graphs, a comprehensive display of multi-dimensional data can be achieved.
It improves the user's visual experience, enables comprehensive analysis of drilling-related data, and supports remote viewing, thus enhancing the user experience.
Smart Images

Figure CN122196068A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a data visualization method, apparatus, equipment, medium and program product based on drilling. Background Technology
[0002] With the growth of global energy demand, the development of oil and gas resources is becoming increasingly sophisticated, especially drilling activities under complex geological conditions are becoming more frequent. To ensure the safety and economy of drilling operations, Measurement While Drilling (MWD) and Logging While Drilling (LWD) technologies have been widely applied. MWD and LWD technologies can measure drilling engineering data and formation geological data in real time during the drilling process and upload the data to the surface control system via mud pulse transmission or electromagnetic wave transmission.
[0003] Currently, the display of drilling engineering data and formation geological data usually separates the data for each dimension, resulting in data fragmentation and making it impossible for users to conduct comprehensive analysis. Summary of the Invention
[0004] This application provides a data visualization method, apparatus, equipment, medium, and program product based on drilling, which solves the problem that the current data display of drilling engineering data and formation geological data usually separates the data of each dimension, resulting in data dispersion and making it impossible for users to perform comprehensive analysis.
[0005] Firstly, this application provides a data visualization method based on drilling, including:
[0006] Receive a data visualization request, wherein the data visualization request includes the address of the visualization interface;
[0007] The corresponding HTML file is executed based on the address of the visualization interface; the HTML file includes a drawing module and preset class objects;
[0008] Obtain the initial data corresponding to the data to be displayed in the visualization interface. The initial data includes drilling-related data from multiple dimensions.
[0009] Each of the aforementioned preset class objects is used to perform corresponding transformation processing on the corresponding initial data to obtain target data in multiple dimensions; each of the aforementioned preset class objects includes a data visualization processing program for the corresponding initial data;
[0010] The drawing module is used to generate a visual data graph based on the target data.
[0011] In one possible design, the drilling-related data includes measurement-while-drilling data and design well data; the preset object class includes a data visualization processing program for the measurement-while-drilling data and a data visualization processing program for the design well data; both the data visualization processing program for the measurement-while-drilling data and the data visualization processing program for the design well data include a minimum curvature algorithm and a preset coordinate projection algorithm;
[0012] The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including:
[0013] The actual well trajectory spatial coordinate data is determined using the minimum curvature algorithm and based on the measurement-while-drilling data; the actual well trajectory spatial coordinate data is three-dimensional data.
[0014] The minimum curvature algorithm is used, and the spatial coordinate data of the design well trajectory is determined based on the design well data; the spatial coordinate data of the design well trajectory is three-dimensional data.
[0015] The actual well trajectory plane coordinate data is determined by employing the preset coordinate projection algorithm and based on the actual well trajectory spatial coordinate data; the actual well trajectory plane coordinate data is two-dimensional data.
[0016] The design well trajectory plane coordinate data is determined by employing the preset coordinate projection algorithm and based on the design well trajectory spatial coordinate data; the design well trajectory plane coordinate data is two-dimensional data.
[0017] The actual well trajectory plane coordinate data and / or the designed well trajectory plane coordinate data are used as the target data.
[0018] In one possible design, the drilling-related data includes logging-while-drilling data; the preset object class includes a data visualization processing program for the logging-while-drilling data; and the data visualization processing program for the logging-while-drilling data includes a preset logging curve projection formula.
[0019] The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including:
[0020] The logging curve coordinate data are determined by using a preset logging curve projection formula and based on the logging-while-drilling data.
[0021] The well logging curve coordinate data is used as the target data.
[0022] In one possible design, the expression for the preset logging curve projection formula is as follows:
[0023]
[0024] Among them, L i L represents the depth data of sampling point i in the well logging curve. k This represents the depth measurement data of point k corresponding to the actual well trajectory, VS k L represents the apparent translation data of point k corresponding to the actual well trajectory. k+1 This represents the depth data of point k+1 corresponding to the actual well trajectory, VS k+1 L represents the apparent translation data of point k+1 corresponding to the actual well trajectory. i Located in L k and L k+1 between.
[0025] In one possible design, the drilling-related data includes target data and formation data; the preset object class includes a data visualization processing program for target data and a data visualization processing program for formation data; the data visualization processing programs for target data and formation data include a preset coordinate projection algorithm.
[0026] The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including:
[0027] A preset coordinate projection algorithm is used to determine the target point plane coordinate data based on the target point data; the target point plane coordinate data is two-dimensional data.
[0028] A preset coordinate projection algorithm is used to determine the stratigraphic plane coordinate data based on the stratigraphic data; the stratigraphic plane coordinate data is two-dimensional data.
[0029] The target point plane coordinate data and the formation plane coordinate data are used as the target data.
[0030] In one possible design, the preset coordinate projection algorithm includes:
[0031] Acquire spatial coordinate data; the spatial coordinate data includes horizontal coordinate data, vertical coordinate data, and vertical coordinate data;
[0032] Trigonometric function calculations are performed based on the horizontal and vertical coordinate data to obtain the target horizontal coordinate data.
[0033] The vertical coordinate data is determined as the target ordinate data;
[0034] The target x-coordinate data and the target y-coordinate data are determined as the projected planar coordinate data.
[0035] In one possible design, the drilling-related data includes lithological data; the preset object class includes a data visualization processing program for the lithological data; and the data visualization processing program for the lithological data includes a preset linear interpolation formula.
[0036] The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including:
[0037] Lithological plane data is determined using a preset linear interpolation formula and based on the lithological data; the lithological plane data is two-dimensional data.
[0038] The lithological plane data is used as the target data.
[0039] In one possible design, after employing the drawing module and generating a visualization data graph based on the target data, the method further includes:
[0040] Get the updated initial data;
[0041] The initial data to be updated is transformed using the preset class object to obtain the updated target data;
[0042] The drawing module is used to generate an updated visualization data map based on the updated target data.
[0043] In one possible design, there are multiple wells, and each well has corresponding target data in multiple dimensions;
[0044] The step of using the drawing module and generating a visual data map based on each of the target data includes:
[0045] Obtain the pre-configured visualization layout of the target data corresponding to each well; the visualization layout of the target data corresponding to each well is consistent with the layout of each well.
[0046] The drawing module is used to generate a visual data map based on the visual layout of each well and the corresponding target data.
[0047] Secondly, this application provides a data visualization device based on drilling, comprising:
[0048] The receiving module is used to receive data visualization requests;
[0049] The execution module is used to run the corresponding HTML file based on the address of the visual interface;
[0050] The acquisition module is used to acquire the initial data corresponding to the data to be displayed in the visualization interface;
[0051] The transformation module is used to perform corresponding transformation processing on the corresponding initial data using each of the preset class objects to obtain target data in multiple dimensions.
[0052] A generation module is used to generate a visualization data map based on the drawing module and each of the target data.
[0053] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0054] The memory stores the instructions that the computer executes;
[0055] The processor executes computer-executable instructions stored in memory to implement the method as described in any of the first aspects.
[0056] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any of the first aspects.
[0057] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method as described in the first aspect.
[0058] This application provides a data visualization method, apparatus, device, medium, and program product based on drilling. It receives a data visualization request, which includes the address of a visualization interface. Based on the address of the visualization interface, it runs a corresponding HTML file. The HTML file includes a drawing module and preset class objects. It obtains initial data corresponding to the data to be displayed in the visualization interface, the initial data including drilling-related data in multiple dimensions. It uses each of the preset class objects to perform corresponding transformation processing on the initial data to obtain target data in multiple dimensions. Each preset class object includes a data visualization processing program corresponding to the initial data. It uses the drawing module and generates a visualized data graph based on the target data. Because the HTML file of the visualization interface is preset, upon receiving a data visualization request, the corresponding HTML file can be obtained and run according to the visualization interface address included in the data visualization request. The HTML file includes a drawing module for drawing and a data visualization processing program for transforming and processing the data. Therefore, after running the HTML file, the initial data corresponding to the data to be displayed in the visualization interface is obtained. Since the initial data includes drilling-related data from multiple dimensions, the preset objects of the data visualization processing program corresponding to the initial data are used to transform each initial data to obtain target data from multiple dimensions. Finally, the drawing module generates a visualization data chart based on each target data. Compared to single-dimensional data display, displaying target data from multiple dimensions simultaneously allows for a comprehensive and intuitive analysis of drilling-related data, improving the user's visual experience. Moreover, users can generate visualization data charts on any terminal device through the address of the visualization interface, enabling remote viewing of drilling conditions and further enhancing the user experience. Attached Figure Description
[0059] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0060] Figure 1 This is an application scenario diagram of a drilling-based data visualization method provided in one embodiment of this application;
[0061] Figure 2 A flowchart illustrating a drilling-based data visualization method provided in an embodiment of this application;
[0062] Figure 3 A template illustration of a visualization data graph provided in one embodiment of this application;
[0063] Figure 4 A visualization of the updated data provided in one embodiment of this application;
[0064] Figure 5 A visualization of multiple drilling data provided in one embodiment of this application;
[0065] Figure 6 A flowchart illustrating a drilling-based data visualization method provided in another embodiment of this application;
[0066] Figure 7 This is a schematic diagram of the structure of a drilling-based data visualization device provided in an embodiment of this application;
[0067] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0068] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0069] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0070] To clearly understand the technical solution of this application, the solutions of the prior art will be described in detail first.
[0071] With the continuous development of oil and gas resources, traditional wireline logging and post-drilling logging methods can no longer meet the needs of modern drilling operations. Therefore, measurement while drilling (MWD) and logging-while-drilling (LWD) technologies have been developed, enabling real-time measurement of drilling-related parameters such as drilling engineering parameters, measurement engineering parameters, and formation geological parameters during the drilling process. Currently, after obtaining these drilling-related parameters, software provided by LWD instrument manufacturers for local use at the well site is typically used for single-dimensional data visualization. This results in an inability to comprehensively display all drilling-related parameters in the images, thus limiting real-time comprehensive analysis of the drilling situation.
[0072] Therefore, when facing technical problems in existing technologies, in order to intuitively display drilling-related parameters, the data of each dimension is processed separately so that they can be displayed simultaneously in the same image, thereby achieving a comprehensive visualization of multi-dimensional data. Specifically, since the data visualization request includes the address of the visualization interface, upon receiving the data visualization request, the corresponding HTML file can be run based on the address of the visualization interface. The HTML file includes a drawing module and preset class objects. Further, the initial data corresponding to the data to be displayed in the visualization interface is obtained, and the initial data includes drilling-related data from multiple dimensions. Since each preset class object includes a data visualization processing program that transforms the corresponding initial data, the initial data, after transformation and processing, can be displayed in the same image. Therefore, after acquiring drilling-related data from multiple dimensions, the corresponding initial data is transformed using preset object classes to obtain target data from multiple dimensions. Then, a drawing module is used to generate a visual data chart based on the target data, thereby achieving a comprehensive display of drilling-related data from multiple dimensions, improving the user's visual experience. Furthermore, users can generate visual data charts on any terminal device through the address of the visualization interface, thus enabling remote viewing of drilling conditions and improving the user experience.
[0073] Figure 1 This is an application scenario diagram of a drilling-based data visualization method provided in one embodiment of this application, such as... Figure 1 As shown in the embodiments of this application, the application scenario corresponding to the drilling-based data visualization method includes: a terminal device 101, a server 102, and a preset database 103. The preset database 103 stores drilling-related data across multiple dimensions. When a user inputs the URL of the visualization interface into the terminal device 101, the terminal device sends a data visualization request to the server 102. This data visualization request includes the URL of the visualization interface. Upon receiving the data visualization request, the server 102 runs the corresponding HTML file based on the URL of the visualization interface included in the request and retrieves the initial data corresponding to the data to be displayed in the visualization interface from the preset database 103. The HTML file includes a drawing module and preset class objects, which can be used to create and display the visualization interface. The preset class objects include data visualization processing programs corresponding to each initial data point, which can be used to transform and process the initial data. The initial data includes drilling-related data across multiple dimensions. Therefore, after obtaining the initial data corresponding to the data to be displayed, the server 102 uses each preset class object to perform corresponding transformation processing on the corresponding initial data, thereby obtaining target data in multiple dimensions. Then, it uses the drawing module to generate a visual data graph based on each target data, and displays it visually on the visualization interface of the terminal device 101.
[0074] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0075] Figure 2 A flowchart of a drilling-based data visualization method provided in an embodiment of this application is shown below. Figure 2 As shown, the execution subject of this embodiment is a drilling-based data visualization device. This drilling-based data visualization device can be implemented through a computer program, or through a medium storing the relevant computer program, such as a USB flash drive and / or optical disc; alternatively, it can be implemented through a physical device that integrates or installs the relevant computer program, such as a chip or electronic device. The drilling-based data visualization method provided in this embodiment includes the following steps:
[0076] S201, Receive data visualization request.
[0077] The data visualization request includes the address of the visualization interface. The address of the visualization interface can be a URL. A URL (Uniform Resource Locator) is a string used to identify the location of a resource on the Internet.
[0078] Specifically, users trigger a data visualization request by entering the URL of the visualization interface on their terminal device, and then send the data visualization request to the server.
[0079] S202, run the corresponding HTML file based on the address in the visual interface.
[0080] The HTML file includes a drawing module and preset class objects. The HTML (HyperText MarkupLanguage) file is used to create and display visual web page content. The drawing module is a drawing tool that can be used to create and manipulate graphic content on a web page. A class object is a template used to create objects with similar properties and methods. Preset class objects are pre-created data visualization programs that transform and process data.
[0081] Specifically, the server retrieves the corresponding HTML file for creating the visual interface from a preset database based on the address of the visual interface, and then runs the HTML file.
[0082] After running the HTML file, a preset initialization function will be executed first, and a visual interface for initialization will be displayed on the terminal device.
[0083] Understandably, the initialization function is a function called when the visual interface loads, used to generate and display the initialized visual interface.
[0084] Optionally, the initialized visualization interface may include preset coordinate axes, the name of the visualization data graph, and user interaction buttons, etc., which are not limited in this embodiment.
[0085] S203, obtain the initial data corresponding to the data to be displayed in the visualization interface.
[0086] The initial data consists of data that has not undergone any transformation. This initial data includes drilling-related data from multiple dimensions.
[0087] Optionally, drilling-related data may include measurement-while-drilling data of the main well, logging-while-drilling data, and drilling-related data of adjacent wells, etc., which are not limited in this embodiment.
[0088] Measurement while drilling (MSW) data contains data related to the drilling process itself. Logging while drilling (LOD) data contains geological and engineering data. The main well is the primary well selected by the user for display, and adjacent wells are wells adjacent to the main well.
[0089] Specifically, in this embodiment, the user selects data to be displayed through the visual interface, the terminal device sends the data to the server, and the server uses the WebSocket protocol to retrieve the initial data corresponding to the data to be displayed in the visual interface from a preset database.
[0090] Understandably, drilling-related data from multiple dimensions can be centrally displayed in a single image on a visualization interface.
[0091] Optionally, the server can also automatically retrieve the initial data corresponding to the data to be displayed in the visualization interface from a preset database using the WebSocket protocol, based on the data to be displayed pre-defined in the HTML file.
[0092] WebSocket is a full-duplex communication protocol that enables the acquisition of real-time updated data.
[0093] Optionally, the initial data stored in the preset database can be pre-stored data or data stored in the preset database in real time.
[0094] S204 uses preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data in multiple dimensions.
[0095] Each preset object includes a data visualization program for the corresponding initial data. The target data is the transformed data used for display on preset coordinate axes.
[0096] Understandably, each preset object encapsulates a data visualization processing program corresponding to the initial data to be displayed, enabling the corresponding processing of each initial data. This includes preset transformation and display algorithms for each initial data set. After transformation and processing, the initial data yields target data with multiple dimensions, which can be simultaneously visualized in the same image.
[0097] Specifically, in this embodiment, after the server obtains each initial data, it uses a preset class object to perform corresponding transformation processing on each initial data, transforming each initial data into target data that can be displayed on a preset coordinate axis.
[0098] By pre-setting class objects, each initial data can be input into the corresponding class object for transformation processing after it is obtained. Since the data visualization processing program corresponding to the initial data can be pre-encapsulated in the preset class object, the efficiency of data processing is improved.
[0099] S205 uses a drawing module to generate visual data charts based on each target data.
[0100] Specifically, in this embodiment, the server calls the drawing module and draws each target data on a preset coordinate axis according to the preset drawing method of each target data, thereby generating a visual data graph.
[0101] Optionally, the drawing module can be a Canvas drawing module or other drawing modules; this embodiment does not impose any limitations.
[0102] The Canvas drawing module is a drawing tool based on the HTML5 Canvas API, allowing developers to create and manipulate graphical content on web pages. The data visualization module displays images that visualize various target data.
[0103] For example, such as Figure 3 As shown, Figure 3This is a template for a data visualization chart, including the chart's name and coordinate system. The horizontal axis (X-axis) represents the apparent translation, with 0 representing the distance from the wellhead. The positive direction represents the XY line from the wellhead to the bottom of the well. The lower half of the X-axis represents the depth, from 0 to 3345 meters. The outer edge of the left vertical axis represents the elevation, from -388 to -448 meters, and the inner edge represents the vertical depth, from 1710 to 1770 meters. The right vertical axis displays the color codes and numerical ranges of the logging curves. The horizontal axis also includes depth, which corresponds to the apparent translation. The vertical axis corresponds to elevation.
[0104] Apparent translation describes the displacement of the wellbore on the horizontal plane. Measuring depth (MD) is the distance along the length of the wellbore from the wellhead to a point downhole, usually measured in meters. Elevation refers to the height of a point relative to sea level. Sea level is usually defined as zero elevation, while points above sea level have positive elevation values, and points below sea level have negative elevation values.
[0105] This embodiment provides a drilling-based data visualization method that receives a data visualization request, which includes the address of a visualization interface; runs a corresponding HTML file based on the address of the visualization interface; the HTML file includes a drawing module and preset class objects; obtains initial data corresponding to the data to be displayed in the visualization interface, the initial data including drilling-related data in multiple dimensions; performs corresponding transformation processing on the corresponding initial data using each preset class object to obtain target data in multiple dimensions; each preset class object includes a data visualization processing program for the corresponding initial data; and uses the drawing module to generate a visualization data graph based on each target data. Since the HTML file of the visualization interface is pre-defined, upon receiving a data visualization request, the corresponding HTML file can be obtained and run according to the visualization interface address included in the data visualization request. The HTML file includes a drawing module for drawing and a data visualization processing program for transforming and processing the data. Therefore, after running the HTML file, the initial data corresponding to the data to be displayed in the visualization interface is obtained. Since the initial data includes drilling-related data from multiple dimensions, the preset objects of the data visualization processing program corresponding to the initial data are used to transform each initial data to obtain target data from multiple dimensions. Finally, the drawing module generates a visualization data chart based on each target data. Compared to single-dimensional data display, displaying target data from multiple dimensions simultaneously allows for a comprehensive and intuitive analysis of drilling-related data, improving the user's visual experience. Moreover, users can generate visualization data charts on any terminal device through the address of the visualization interface, enabling remote viewing of drilling conditions and further enhancing the user experience.
[0106] As an optional implementation, based on the above embodiments, the drilling-related data includes measurement-while-drilling data and design well data; the preset object includes a data visualization processing program for measurement-while-drilling data and a data visualization processing program for design well data; both the data visualization processing program for measurement-while-drilling data and the data visualization processing program for design well data include a minimum curvature algorithm and a preset coordinate projection algorithm;
[0107] Each preset object class is used to perform corresponding transformations on the initial data to obtain target data in multiple dimensions, including:
[0108] The minimum curvature algorithm was used to determine the actual well trajectory spatial coordinate data based on measurement-while-drilling data; the actual well trajectory spatial coordinate data is three-dimensional data.
[0109] The minimum curvature algorithm was used to determine the spatial coordinate data of the design well trajectory based on the design well data; the spatial coordinate data of the design well trajectory is three-dimensional data.
[0110] A preset coordinate projection algorithm is used to determine the actual well trajectory plane coordinate data based on the actual well trajectory spatial coordinate data; the actual well trajectory plane coordinate data is two-dimensional data.
[0111] A preset coordinate projection algorithm is used to determine the planar coordinate data of the design well trajectory based on the spatial coordinate data of the design well trajectory; the planar coordinate data of the design well trajectory is two-dimensional data.
[0112] Use the actual well trajectory plane coordinate data and / or the designed well trajectory plane coordinate data as the target data.
[0113] Measurement while drilling (MWD) data includes MD (Measuring Depth), INCL (Inclination), and AZIM (Azimuth). Measuring Depth (MD) is the distance along the wellbore from the wellhead to a point downhole, usually measured in meters. Inclination (INCL) is the angle between the wellbore axis and the gravity line, usually measured in degrees. A 0° inclination angle indicates the wellbore is vertically downward, while an inclination greater than 0° indicates the wellbore deviates from the vertical direction. Azimuth (AZIM) is the angle between the projection of the wellbore axis onto the horizontal plane and the geographic north direction, usually measured in degrees, with clockwise being positive.
[0114] The design well data refers to the drilling data of the corresponding well that is preset before drilling begins, including MD (depth sounding), INCL (inclination), and AZIM (azimuth).
[0115] It is understandable that the well corresponding to the measurement-while-drilling (MWD) data and the well corresponding to the design well are the same well. MWD data is the data actually obtained during drilling. Both MWD data and design well data consist of depth, inclination, and azimuth data from multiple points.
[0116] The formula corresponding to the minimum curvature algorithm is as follows:
[0117]
[0118] Where, ΔL i α represents the increment of the measurement depth between adjacent measuring points; i-1 α i These represent the well inclination angles of adjacent measuring points, one above the other. These represent the well inclination azimuths of adjacent measuring points, respectively; RF is the correction coefficient; ΔE i ΔN represents the east-west displacement increment in the transformed horizontal coordinate system. i ΔH represents the north-south displacement increment in the transformed horizontal coordinate system. i This represents the vertical depth increment in the transformed horizontal coordinate system. (x) a ,ya ,z a (x) represents the spatial coordinates of the initial point. n ,y n ,z n ) represents the spatial coordinates of each point on the calculated well trajectory, where n is a positive integer greater than or equal to 1. The correction factor RF is used to correct the coefficients of the logging-while-drilling and measurement-while-drilling data.
[0119] Among them, the minimum curvature algorithm can be applied to drilling trajectory calculation, and can accurately calculate the three-dimensional spatial trajectory of the wellbore.
[0120] Understandably, the designed well trajectory is an ideal path determined before drilling based on geological data, reservoir models, and other engineering parameters. The actual well trajectory is the path the wellbore actually travels during the drilling process.
[0121] Specifically, after acquiring the measurement-while-drilling (MWD) data and the depth, inclination, and azimuth of the designed well, the depth, inclination, and azimuth data of each point corresponding to the MWD data and the designed well data are substituted into formulas (1)-(6) to calculate the spatial coordinate data of the actual well trajectory and the spatial coordinate data of the designed well trajectory, respectively. Since the trajectory direction can be observed intuitively on a two-dimensional plane, it is easier to identify potential problems. Therefore, the spatial coordinate data of the actual well trajectory and the spatial coordinate data of the designed well trajectory are calculated using a preset coordinate projection algorithm to calculate the profile projection coordinates, and then the spatial coordinate data of the actual well trajectory and the spatial coordinate data of the designed well trajectory are transformed into the planar coordinate data of the actual well trajectory and the planar coordinate data of the designed well trajectory.
[0122] Furthermore, by defining the actual well trajectory plane coordinate data and the designed well trajectory plane coordinate data as target data, users can clearly see the actual well trajectory and the designed well trajectory, and clearly compare the differences between the actual drilling trajectory and the designed drilling trajectory, which in turn helps users make decisions.
[0123] Alternatively, the actual well trajectory plane coordinate data or the designed well trajectory plane coordinate data can be determined as the target data, so as to display the corresponding well trajectory according to the needs, which can improve the flexibility of data display.
[0124] Among them, the preset coordinate projection algorithm is an algorithm used to project the calculated actual well trajectory spatial coordinate data and the designed well trajectory spatial coordinate data into a vertical profile, which can transform the actual well trajectory spatial coordinate data and the designed well trajectory spatial coordinate data into the actual well trajectory plane coordinate data and the designed well trajectory plane coordinate data.
[0125] The drilling-based data visualization method provided in this embodiment uses drilling-related data, including measurement-while-drilling (MWD) data and design well data. Preset object classes include data visualization processing programs for both MWD and design well data. Both MWD and design well data visualization processing programs include a minimum curvature algorithm and a preset coordinate projection algorithm. Each preset object class is used to transform the corresponding initial data to obtain target data in multiple dimensions, including: determining the actual well trajectory spatial coordinates based on MWD data using the minimum curvature algorithm; the actual well trajectory spatial coordinates are three-dimensional data; determining the design well trajectory spatial coordinates based on design well data using the minimum curvature algorithm; the design well trajectory spatial coordinates are three-dimensional data; determining the actual well trajectory planar coordinates based on the actual well trajectory spatial coordinates using the preset coordinate projection algorithm; the actual well trajectory planar coordinates are two-dimensional data; determining the design well trajectory planar coordinates based on the design well trajectory spatial coordinates using the preset coordinate projection algorithm; the design well trajectory planar coordinates are two-dimensional data; and using the actual well trajectory planar coordinates and the design well trajectory planar coordinates as target data. Because the minimum curvature algorithm is used to calculate the measurement-while-drilling data and the design well data separately, the spatial coordinates of the actual well trajectory and the spatial coordinates of the design well trajectory can be accurately determined. In order to intuitively display the wellbore direction, a preset coordinate projection algorithm is used to transform the spatial coordinates of the actual well trajectory and the spatial coordinates of the design well trajectory into planar coordinates of the actual well trajectory and the planar coordinates of the design well trajectory. At least one of the planar coordinates of the actual well trajectory and the planar coordinates of the design well trajectory is determined as the target data. This allows users to clearly see at least one of the actual well trajectory and the design well trajectory on the plane, which helps to analyze the direction of the well trajectory.
[0126] As an optional implementation, based on the above embodiments, the drilling-related data includes logging-while-drilling data; the preset object includes a data visualization processing program for logging-while-drilling data; and the data visualization processing program for logging-while-drilling data includes a preset logging curve projection formula.
[0127] Each preset object class is used to perform corresponding transformations on the initial data to obtain target data in multiple dimensions, including:
[0128] The well logging curve coordinate data are determined by using a preset well logging curve projection formula and based on the well logging data while drilling.
[0129] Use well logging curve coordinate data as target data.
[0130] The well-travel data includes depth logging, GR (gamma-ray), RILD (deep resistivity), and RILM (deep resistivity). Gamma-ray logging records the intensity of naturally occurring gamma rays in the formation, which can be used to identify formation types and distinguish between mudstone and sandstone. Deep resistivity logging records resistivity values at deep formation depths, reflecting formation fluid properties and porosity. Intermediate resistivity logging records resistivity values at intermediate formation depths, used to further refine formation assessments, especially providing additional information between shallow and deep intrusion zones. GR (gamma-ray), RILD (deep resistivity), and RILM (deep resistivity) are logging curves.
[0131] The data composition of gamma rays, deep resistivity and deep resistivity may include the depth measurement of the curve sampling point and the curve value corresponding to the depth measurement, such as (depth measurement, gamma ray value), (depth measurement, deep resistivity value), (depth measurement, medium resistivity value).
[0132] Specifically, in this embodiment, after obtaining the depth of the sampling point corresponding to each logging curve and the curve value corresponding to the depth, in order to display each logging curve in the visualization data map, a preset logging curve projection formula is used to calculate the apparent translation based on the depth of the curve sampling point, and the logging curve coordinate data is determined with the corresponding curve value, that is, (apparent translation, logging curve value), so as to determine the logging curve coordinate data as the target data.
[0133] It is understandable that the logging curve values match the depth measurements corresponding to the apparent translation.
[0134] The preset logging curve projection formula is used to convert the logging curve sampling points into visual translation, thereby enabling the logging curve to be displayed in the visualization data chart.
[0135] This embodiment provides a data visualization method based on drilling. Drilling-related data includes logging-while-drilling (LWD) data; preset object classes include a data visualization processing program for LWD data; the LWD data visualization processing program includes a preset logging curve projection formula; each preset object class is used to transform the corresponding initial data to obtain multi-dimensional target data, including: determining logging curve coordinate data based on the LWD data using the preset logging curve projection formula; and using the logging curve coordinate data as the target data. Since depth measurement refers to the actual path length along the wellbore from the wellhead to a certain point downhole, to more intuitively see the geological conditions of the drilling, the preset logging curve projection formula is used to transform the LWD data accordingly, thereby determining the logging curve coordinate data. The logging curve coordinate data is horizontal plane-based coordinate data, thus ensuring display in the coordinate system of the visualized data graph.
[0136] As an optional implementation, based on the above embodiments, the expression for the preset well logging curve projection formula is as follows:
[0137]
[0138] Among them, L i L represents the depth data of sampling point i in the well logging curve. k This represents the depth measurement data of point k corresponding to the actual well trajectory, VS k L represents the apparent translation data of point k corresponding to the actual well trajectory. k+1 This represents the depth data of point k+1 corresponding to the actual well trajectory, VS k+1 L represents the apparent translation data of point k+1 corresponding to the actual well trajectory. i Located in L k and L k+1 Between points i and k+1, point k is the closest point before and after point i. The values of i and k are positive integers greater than or equal to 1.
[0139] After calculating the actual well trajectory spatial coordinate data, the x-axis and y-axis coordinate data of each point in the actual well trajectory spatial coordinate data can be used to determine the apparent translation of each point in the actual well trajectory.
[0140] The data visualization method based on drilling provided in this embodiment uses the following expression for the preset well logging curve projection formula:
[0141]
[0142] Among them, L i L represents the depth data of sampling point i in the well logging curve. k This represents the depth measurement data of point k corresponding to the actual well trajectory, VS k L represents the apparent translation data of point k corresponding to the actual well trajectory. k+1 This represents the depth data of point k+1 corresponding to the actual well trajectory, VS k+1 L represents the apparent translation data of point k+1 corresponding to the actual well trajectory. i Located in L k and L k+1 Between these two values, i and k are positive integers greater than or equal to 1. The preset logging curve projection formula can calculate the apparent translation corresponding to the depth data of the logging curve sampling point i, so that it can be matched with the x-axis coordinate in the visualization data graph, thereby realizing the display of the logging curve coordinate data in the visualization data graph.
[0143] As an optional implementation, based on the above embodiments, the drilling-related data includes target data and formation data; the preset object includes a data visualization processing program for target data and a data visualization processing program for formation data; the data visualization processing program for target data and the data visualization processing program for formation data include a preset coordinate projection algorithm;
[0144] Each preset object class is used to perform corresponding transformations on the initial data to obtain target data in multiple dimensions, including:
[0145] A preset coordinate projection algorithm is used to determine the target point plane coordinate data based on the target point data; the target point plane coordinate data is two-dimensional data;
[0146] A preset coordinate projection algorithm was used to determine the stratigraphic plane coordinate data based on stratigraphic data; the stratigraphic plane coordinate data is two-dimensional data.
[0147] The target plane coordinate data and the formation plane coordinate data are used as the target data.
[0148] Among them, target data refers to the geological target location to be achieved during drilling, which is three-dimensional coordinate data (X, Y, Z). X is the east-facing coordinate. Y is the north-facing coordinate. Z is the elevation. Stratigraphic data is used to describe the geometric features and distribution of strata, usually as three-dimensional scattered coordinate data, [(x1, y1, z1), (x2, y2, z2), ..., (x n ,y n ,z n x represents the eastward coordinate. y represents the northward coordinate. z represents the altitude.
[0149] Specifically, in this embodiment, after obtaining the target data and the formation data, the server substitutes the X and Y coordinates of each point in the target data and the x and y coordinates of each point in the formation data into a preset coordinate projection algorithm. The preset coordinate projection algorithm is used to calculate the projected visual translation of each point in the target data and the projected visual translation of each point in the formation data. The target plane coordinates are determined based on the Z coordinate of the target data, and the formation plane coordinates are determined based on the z coordinate of the formation data. Thus, the target plane coordinates and the formation plane coordinates are used as target data.
[0150] This embodiment provides a data visualization method based on drilling. Drilling-related data includes target data and formation data. Preset object classes include data visualization processing programs for target data and formation data. Both target data and formation data visualization processing programs include preset coordinate projection algorithms. Each preset object class is used to transform the corresponding initial data to obtain multi-dimensional target data. This includes: determining target plane coordinates based on target data using the preset coordinate projection algorithm; the target coordinates are two-dimensional data; determining formation plane coordinates based on formation data using the preset coordinate projection algorithm; the formation coordinates are two-dimensional data; and using the target plane coordinates and formation plane coordinates as target data. Since target data and formation data are three-dimensional data, projecting them onto a two-dimensional plane using the preset coordinate projection algorithm allows for a direct visualization of the target and formation distribution, achieving multi-dimensional data display and facilitating user analysis and decision-making.
[0151] As an optional implementation, based on the above embodiments, a preset coordinate projection algorithm is provided, including:
[0152] Obtain spatial coordinate data; spatial coordinate data includes horizontal coordinate data, vertical coordinate data, and vertical coordinate data;
[0153] Trigonometric function calculations are performed based on the x-axis and y-axis data to obtain the target x-axis data.
[0154] Define the vertical coordinate data as the target ordinate data;
[0155] The target's x-coordinate data and y-coordinate data are determined as the projected planar coordinate data.
[0156] Among them, the projected planar coordinate data is the planar coordinate data that projects the spatial coordinate data onto a preset plane.
[0157] Optionally, the preset plane can be a horizontal plane or a vertical plane, etc., and this embodiment is not limited.
[0158] Specifically, in this embodiment, spatial coordinate data to be projected is obtained. The abscissa and ordinate data in the spatial coordinate data are then used to perform trigonometric function calculations based on the viewing azimuth angle of the desired projection, thereby calculating the target abscissa data projected onto a preset plane. The ordinate data in the spatial coordinate data is then used as the target ordinate data projected onto the preset plane. Further, the target abscissa and ordinate data are used as the projected planar coordinate data.
[0159] The azimuth angle is the angle between the line connecting the wellhead and the bottom of the well and the preset plane.
[0160] The expression corresponding to the preset coordinate projection algorithm can be seen as follows:
[0161]
[0162] Where θ represents the apparent azimuth angle, (x i ,y i ,z i (x) represents the spatial coordinate data of any point. , i ,y i , ) represents the projected planar coordinate data.
[0163] The drilling-based data visualization method provided in this embodiment includes a preset coordinate projection algorithm, comprising: acquiring spatial coordinate data; the spatial coordinate data including abscissa data, ordinate data, and vertical coordinate data; performing trigonometric function calculations based on the abscissa and ordinate data to obtain target abscissa data; determining the vertical coordinate data as target ordinate data; and determining the target abscissa and target ordinate data as projected planar coordinate data. The preset coordinate projection algorithm can convert the corresponding spatial coordinate data in drilling-related data into planar coordinate data, thereby facilitating users' intuitive viewing of well trajectory, target points, and other data, and aiding in comprehensive analysis.
[0164] As an optional implementation, based on the above embodiments, the drilling-related data includes lithological data; the preset object includes a data visualization processing program for lithological data; and the data visualization processing program for lithological data includes a preset linear interpolation formula.
[0165] Each preset object class is used to perform corresponding transformations on the initial data to obtain target data in multiple dimensions, including:
[0166] Lithological plane data were determined using a preset linear interpolation formula and based on lithological data; the lithological plane data is two-dimensional data.
[0167] Lithological plane data were used as the target data.
[0168] Among them, the lithology data includes multiple segments of lithology interpretation data. The lithology interpretation data includes the top depth of lithology interpretation (fromMD), the bottom depth of lithology interpretation (toMD), and the lithology interpretation conclusion (lithologyName), that is, (fromMD, toMD, lithologyName). The top depth of lithology interpretation is the top depth of a specific rock layer or geological unit in the borehole, used to identify the position where the rock layer starts to appear. The bottom depth of lithology interpretation represents the bottom depth of the same rock layer or geological unit in the borehole. It is the end point of lithology interpretation, used to determine the position where the rock layer ends. The lithology interpretation conclusion is the description and naming of the rock type or geological characteristics within a specific depth interval. Each segment of lithology interpretation includes the top depth of lithology interpretation, the bottom depth of lithology interpretation, and the lithology interpretation conclusion. The top depth of lithology interpretation and the bottom depth of lithology interpretation are both sounding data. The lithology plane data can be (the apparent shift corresponding to the top depth of lithology interpretation, lithology interpretation conclusion), (the apparent shift corresponding to the bottom depth of lithology interpretation, lithology interpretation conclusion).
[0169] Specifically, in this embodiment, the server determines the points adjacent to the sounding corresponding to the top depth of lithology interpretation and the points adjacent to the sounding corresponding to the bottom depth of lithology interpretation in the well trajectory of the main well according to the top depth of lithology interpretation and the bottom depth of lithology interpretation in each segment of lithology interpretation data and traverses the main well trajectory data. And the preset linear interpolation formula is used to calculate the apparent shifts corresponding to the top depth of lithology interpretation and the bottom depth of lithology interpretation respectively, so as to determine the apparent shifts corresponding to the positions of the top depth of lithology interpretation and the bottom depth of lithology interpretation in each segment of lithology interpretation data, and generate lithology plane data with the lithology interpretation conclusion, so as to use the lithology plane data as the target data.
[0170] Specifically, after calculating the well trajectory, the sounding, vertical depth, apparent shift and other information corresponding to each point in the well trajectory can be known. Therefore, after obtaining a segment of lithology interpretation data (fromMD x , toMD x , lithologyName), in order to calculate the apparent shifts corresponding to the top depth of lithology interpretation and the bottom depth of lithology interpretation, the data of each point in the well trajectory is traversed respectively based on the sounding data corresponding to the top depth of lithology interpretation and the bottom depth of lithology interpretation, and it is determined that MD[j]<fromMD x <MD[j + 1], that is, the two points adjacent to the top depth of lithology interpretation on the well trajectory and MD[j]<toMD x <MD[j + 1], that is, the two points adjacent to the bottom depth of lithology interpretation on the well trajectory. Therefore, the sounding, apparent shift and vertical depth at the two positions j and j + 1 adjacent to the top depth of lithology interpretation and the bottom depth of lithology interpretation in the well trajectory and fromMD x and toMD xThe corresponding depth measurements are calculated using a preset linear interpolation formula to determine the apparent translation of the x-point corresponding to the top and bottom depths of lithological interpretation.
[0171] The expression for the preset linear interpolation formula is as follows:
[0172]
[0173] Among them, VS x VS[j] represents the apparent translation of point x, which corresponds to the top or bottom depth of lithological interpretation. TVD[j] represents the vertical depth of point j adjacent to point x in the determined well trajectory, MD[j] represents the depth sounding of point j adjacent to point x in the determined well trajectory, MD[j+1] represents the depth sounding of point j+1 adjacent to point x in the determined well trajectory, VS[j+1] represents the apparent translation of point j+1 adjacent to point x in the determined well trajectory, and VS[j] represents the apparent translation of point j adjacent to point x in the determined well trajectory.
[0174] This embodiment provides a data visualization method based on drilling. Drilling-related data includes lithological data; preset object classes include a data visualization processing program for lithological data; the lithological data visualization processing program includes a preset linear interpolation formula; each preset object class is used to transform the corresponding initial data to obtain multi-dimensional target data, including: determining lithological plane data based on the lithological data using the preset linear interpolation formula; the lithological plane data is two-dimensional data; and using the lithological plane data as the target data. Because the lithological plane data is determined based on the lithological data using the preset linear interpolation formula, the lithology at each location can be seen from the perspective of visual translation, making it easier to identify lithological changes in the formation, promptly identify geological anomalies and potential risks, and improve the user's visual experience.
[0175] As an optional implementation, based on the above embodiments, after employing a drawing module and generating a visualization data graph based on the target data, the method further includes:
[0176] Get the updated initial data;
[0177] The initial data to be updated is transformed using a preset class object to obtain the updated target data;
[0178] The drawing module is used to generate updated visualizations based on the updated target data.
[0179] Specifically, in this embodiment, after generating a visualization data graph based on the target data, the server receives updated initial data from a preset database. Therefore, the server calls the corresponding preset class object to perform corresponding transformation processing based on the updated initial data, thereby obtaining the updated target data. Then, the drawing module is used to draw the updated target data on the generated visualization data graph and dynamically display it on the visualization interface, thus obtaining the updated visualization data graph.
[0180] Understandably, if drilling is carried out in real time on site, the corresponding drilling data is also acquired in real time. Therefore, when the server connects to the preset database using the WebSocket protocol, after generating a visualization data graph based on the obtained data, it receives updated initial data, transforms and processes the updated initial data, and dynamically displays it in the generated visualization data graph.
[0181] For example, such as Figure 4 As shown, Figure 4 This is a visualization of the updated data, showing one well as the master well. The initial data for the master well includes measurement-while-drilling (MWD) data, design well data, logging-while-drilling (LOD) data, target data, formation data, and lithology data. In the diagram, the black curve represents the design well trajectory, with black dots on the design well trajectory representing target points. The blue curve represents the actual well trajectory and the corresponding lithology data with apparent translation. The pink area represents formation data, and each colored curve represents its corresponding logging curve. Figure 4 The initial data is projected onto the straight line connecting the wellhead and the bottom of the main well using a preset coordinate projection algorithm.
[0182] Optionally, from Figure 4 As can be seen, clicking on any point on the curve will display the initial data corresponding to that point.
[0183] The drilling-based data visualization method provided in this embodiment, after generating a visualization data map based on target data using a drawing module, further includes: acquiring updated initial data; transforming the updated initial data using a preset class object to obtain updated target data; and generating an updated visualization data map using the drawing module based on the updated target data. Since updated initial data is acquired, the preset class object is automatically invoked to transform the updated initial data, thereby generating updated target data. Then, the drawing module is used to draw the updated target data, generating an updated visualization data map. Therefore, dynamic updating of the visualization data map is achieved, enabling real-time monitoring of the drilling process and ensuring timely adjustments to the drilling path.
[0184] As an optional implementation, based on the above embodiments, there are multiple wells, and each well has corresponding target data in multiple dimensions;
[0185] The drawing module is used to generate visual data charts based on the target data, including:
[0186] Obtain the pre-configured visualization layout of the target data corresponding to each well; the visualization layout of the target data corresponding to each well is consistent with the layout of each well.
[0187] The system uses a drawing module to generate visual data maps based on the visual layout of each well and the corresponding target data.
[0188] It is understandable that when generating a visualization data map, there is a main display of the master well data, which is the relevant data of the well to be analyzed. Based on the master well, there are adjacent wells around the master well. Therefore, in order to achieve comprehensive analysis of the master well, the data of the adjacent wells can be obtained, and when displaying the visualization data map, the data is displayed according to the positional relationship between the master well and the adjacent wells on the horizontal plane.
[0189] The arrangement of each well refers to the actual location of each well.
[0190] Specifically, in this embodiment, the server obtains the pre-matched visualization layout of the target data corresponding to each well. Therefore, the drawing module is used to draw the target data corresponding to each well in the visualization data map according to the visualization layout of each well, thereby generating the visualization data map.
[0191] It is understood that the calculation of the target data corresponding to the adjacent well data can refer to the calculation method of the corresponding initial data in the above embodiment, and will not be repeated in this embodiment.
[0192] For example, such as Figure 5 As shown, Figure 5 This is a visualization of data from multiple wells, specifically three wells: the main well, Well 1, and Well 2. The arrangement of the main well, Well 1, and Well 2 is Well 1, Main Well, Well 2. Therefore, it can be seen from the diagram that the visualization of the target data for each well is also Well 1, Main Well, Well 2.
[0193] The initial data for the main well includes measurement-while-drilling (MWD) data, design well data, logging-while-drilling (LOD) data, target data, formation data, and lithological data. Data from adjacent wells includes gamma-ray data, lithological data, hydrocarbon interpretation, stratigraphy, and depth. The elevation in adjacent wells corresponds to the elevation values on the coordinate axes. Depth is vertical depth, and stratigraphy data includes geological stratigraphy.
[0194] Optionally, from Figure 5 As can be seen, clicking on any point on the curve will display the initial data corresponding to that point.
[0195] This embodiment provides a data visualization method based on drilling, where there are multiple drilling wells, each with corresponding target data across multiple dimensions. The method employs a drawing module to generate a visualization data map based on each target data, including: obtaining a pre-configured visualization layout for the target data corresponding to each drilling well; ensuring the visualization layout for the target data for each drilling well is consistent with the layout of each drilling well; and generating a visualization data map using the drawing module based on the visualization layout of each drilling well and its corresponding target data. Since there are multiple drilling wells, to facilitate accurate analysis of the drilling data, the visualization layout for the target data corresponding to each drilling well is pre-set to be consistent with the layout of each drilling well. Therefore, the server can use the drawing module to generate a visualization data map based on the visualization layout of each drilling well and its corresponding target data, thereby accurately displaying the target data of each drilling well and aiding users in understanding and analysis.
[0196] Figure 6 A flowchart of a drilling-based data visualization method provided in another embodiment of this application is shown below. Figure 6 As shown, the data visualization method based on drilling provided in this embodiment includes a specific process for generating a visualized data map. The data visualization method based on drilling provided in this embodiment includes the following steps:
[0197] S301 receives data visualization requests triggered by users through the user interface.
[0198] S302, runs the corresponding HTML file based on the address in the visual interface.
[0199] S303 receives the data to be displayed as specified by the user through the operation interface.
[0200] S304: Retrieve the initial data corresponding to the data to be displayed in the visualization interface from the preset database.
[0201] S305 uses preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data in multiple dimensions.
[0202] S306 uses a drawing module to generate visual data charts based on each target data.
[0203] S307, Receive updated initial data.
[0204] S308 uses a preset class object to transform the initial data to obtain the updated target data.
[0205] S309 uses a drawing module to plot the updated target data on the generated visualization data chart, thereby generating an updated visualization data chart.
[0206] In this embodiment, the implementation method and technical effect of S301-S309 are similar to the implementation method of the corresponding solution in the above embodiments, and will not be described again here.
[0207] Figure 7 This is a schematic diagram of the structure of a drilling-based data visualization device provided in an embodiment of this application, as shown below. Figure 7 As shown, the drilling-based data visualization device provided in this embodiment is located in an electronic device. The drilling-based data visualization device 40 provided in this embodiment includes: a receiving module 41, a running module 42, an acquisition module 43, a conversion module 44, and a generation module 45.
[0208] The system includes a receiving module 41 for receiving data visualization requests; a running module 42 for running the corresponding HTML file based on the address of the visualization interface; an acquisition module 43 for acquiring the initial data corresponding to the data to be displayed in the visualization interface; a transformation module 44 for performing corresponding transformation processing on the corresponding initial data using various preset class objects to obtain target data in multiple dimensions; and a generation module 45 for generating a visualization data graph using a drawing module based on the target data.
[0209] The drilling-based data visualization device provided in this embodiment can perform... Figure 2 The implementation principles and technical effects of the methods shown are similar, and will not be repeated here.
[0210] Optionally, drilling-related data includes measurement-while-drilling data and design well data; the preset object class includes data visualization processing programs for measurement-while-drilling data and design well data; both the data visualization processing programs for measurement-while-drilling data and design well data include minimum curvature algorithm and preset coordinate projection algorithm.
[0211] Correspondingly, the transformation module 44, when using various preset object classes to perform corresponding transformation processing on the corresponding initial data to obtain target data in multiple dimensions, specifically performs the following: using the minimum curvature algorithm and based on the measurement while drilling data to determine the actual well trajectory spatial coordinate data; the actual well trajectory spatial coordinate data is three-dimensional data; using the minimum curvature algorithm and based on the design well data to determine the design well trajectory spatial coordinate data; the design well trajectory spatial coordinate data is three-dimensional data; using a preset coordinate projection algorithm and based on the actual well trajectory spatial coordinate data to determine the actual well trajectory planar coordinate data; the actual well trajectory planar coordinate data is two-dimensional data; using a preset coordinate projection algorithm and based on the design well trajectory spatial coordinate data to determine the design well trajectory planar coordinate data; the design well trajectory planar coordinate data is two-dimensional data; and using the actual well trajectory planar coordinate data and the design well trajectory planar coordinate data as target data.
[0212] Optionally, drilling-related data includes logging-while-drilling data; preset object classes include data visualization processing programs for logging-while-drilling data; and the data visualization processing programs for logging-while-drilling data include preset logging curve projection formulas.
[0213] Correspondingly, when the conversion module 44 performs corresponding conversion processing on the corresponding initial data using each preset class object to obtain target data in multiple dimensions, it is specifically used to: determine the logging curve coordinate data by using a preset logging curve projection formula and based on the logging-while-drilling data; and use the logging curve coordinate data as the target data.
[0214] Optionally, drilling-related data includes target data and formation data; preset object classes include data visualization processing programs for target data and formation data; the data visualization processing programs for target data and formation data include preset coordinate projection algorithms;
[0215] Correspondingly, when the conversion module 44 performs corresponding conversion processing on the corresponding initial data using each preset object class to obtain target data in multiple dimensions, it is specifically used to: determine the target plane coordinate data using a preset coordinate projection algorithm based on the target data; the target plane coordinate data is two-dimensional data; determine the stratum plane coordinate data using a preset coordinate projection algorithm based on the stratum data; the stratum plane coordinate data is two-dimensional data; and use the target plane coordinate data and the stratum plane coordinate data as target data.
[0216] Optionally, a preset coordinate projection algorithm is included, comprising: acquiring spatial coordinate data; the spatial coordinate data including abscissa data, ordinate data and vertical coordinate data; performing trigonometric function calculations based on the abscissa data and ordinate data to obtain target abscissa data; determining the vertical coordinate data as target ordinate data; and determining the target abscissa data and target ordinate data as projected planar coordinate data.
[0217] Optionally, drilling-related data includes lithological data; preset object classes include data visualization processing programs for lithological data; and the data visualization processing programs for lithological data include preset linear interpolation formulas.
[0218] Correspondingly, when the conversion module 44 uses each preset object to perform corresponding conversion processing on the corresponding initial data to obtain target data in multiple dimensions, it is specifically used to: use a preset linear interpolation formula and determine lithological plane data based on lithological data; the lithological plane data is two-dimensional data; and use the lithological plane data as target data.
[0219] Optionally, the acquisition module 43 is further configured to acquire updated initial data after the drawing module generates a visualization data graph based on the target data. The transformation module 44 is further configured to transform the updated initial data using a preset class object to obtain updated target data. The generation module 45 is further configured to generate an updated visualization data graph using the drawing module and based on the updated target data.
[0220] Optionally, there may be multiple wells, and each well may have corresponding target data in multiple dimensions.
[0221] Accordingly, the generation module 45, when using the drawing module to generate a visualization data map based on each target data, is specifically used for: obtaining the pre-configured visualization layout of the target data corresponding to each well; the visualization layout of the target data corresponding to each well is consistent with the layout of each well; and using the drawing module to generate a visualization data map based on the visualization layout of each well and the corresponding target data.
[0222] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, as shown below. Figure 8 As shown, the electronic device 50 provided in this embodiment includes a processor 51 and a memory 52 that is communicatively connected to the processor.
[0223] The memory 52 stores computer-executable instructions; the processor 51 executes the computer-executable instructions stored in the memory 52 to implement the drilling-based data visualization method provided in any of the above embodiments. Related explanations can be understood by referring to the descriptions and effects corresponding to the steps in the accompanying drawings, and will not be elaborated upon here.
[0224] The program may include program code, which includes computer-executable instructions. Memory 52 may include high-speed RAM, and may also include non-volatile memory, such as at least one disk storage device.
[0225] In this embodiment, the memory 52 and the processor 51 are connected via a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0226] This application also provides a computer-readable storage medium storing computer-executable instructions. When executed by a processor, these instructions are used to implement the drilling-based data visualization method provided in any of the above embodiments. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device.
[0227] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the drilling-based data visualization method provided in any of the above embodiments.
[0228] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0229] It should be further noted that although the steps in the flowchart are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0230] It should be understood that the above-described device embodiments are merely illustrative, and the device of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, or integrated into another system, or some features may be ignored or not executed.
[0231] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of this application can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.
[0232] When integrated units / modules are implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor can be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.
[0233] If the integrated unit / module is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0234] In the above embodiments, the descriptions of each embodiment have their own emphasis. Parts not described in detail in a particular embodiment can be referred to in the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as these combinations of technical features do not contradict each other, they should be considered within the scope of this specification. Those skilled in the art, upon considering the specification and practicing the invention disclosed herein, will readily conceive of other embodiments of this application. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary technical means in the art not disclosed in this application. The specification and embodiments are considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0235] It should be understood that this application is not limited to the precise structure 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 application is limited only by the appended claims.
Claims
1. A data visualization method based on drilling, characterized in that, The method includes: Receive a data visualization request, wherein the data visualization request includes the address of the visualization interface; The corresponding HTML file is executed based on the address of the visualization interface; the HTML file includes a drawing module and preset class objects; Obtain the initial data corresponding to the data to be displayed in the visualization interface. The initial data includes drilling-related data in multiple dimensions. Each of the aforementioned preset class objects is used to perform corresponding transformation processing on the corresponding initial data to obtain target data in multiple dimensions; each of the aforementioned preset class objects includes a data visualization processing program for the corresponding initial data; The drawing module is used to generate a visual data graph based on the target data.
2. The method according to claim 1, characterized in that, The drilling-related data includes measurement-while-drilling data and design well data; the preset object class includes a data visualization processing program for measurement-while-drilling data and a data visualization processing program for design well data; both the data visualization processing program for measurement-while-drilling data and the data visualization processing program for design well data include a minimum curvature algorithm and a preset coordinate projection algorithm. The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including: The actual well trajectory spatial coordinate data is determined using the minimum curvature algorithm and based on the measurement-while-drilling data; the actual well trajectory spatial coordinate data is three-dimensional data. The minimum curvature algorithm is used, and the spatial coordinate data of the design well trajectory is determined based on the design well data; the spatial coordinate data of the design well trajectory is three-dimensional data. The actual well trajectory plane coordinate data is determined by employing the preset coordinate projection algorithm and based on the actual well trajectory spatial coordinate data; the actual well trajectory plane coordinate data is two-dimensional data. The design well trajectory plane coordinate data is determined by employing the preset coordinate projection algorithm and based on the design well trajectory spatial coordinate data; the design well trajectory plane coordinate data is two-dimensional data. The actual well trajectory plane coordinate data and / or the designed well trajectory plane coordinate data are used as the target data.
3. The method according to claim 1, characterized in that, The drilling-related data includes logging-while-drilling data; the preset object class includes a data visualization processing program for the logging-while-drilling data; the data visualization processing program for the logging-while-drilling data includes a preset logging curve projection formula. The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including: The logging curve coordinate data are determined by using a preset logging curve projection formula and based on the logging-while-drilling data. The well logging curve coordinate data is used as the target data.
4. The method according to claim 3, characterized in that, The expression for the preset well logging curve projection formula is as follows: Among them, L i L represents the depth data of sampling point i in the well logging curve. k This represents the depth measurement data of point k corresponding to the actual well trajectory, VS k L represents the apparent translation data of point k corresponding to the actual well trajectory. k+1 This represents the depth data of point k+1 corresponding to the actual well trajectory, VS k+1 L represents the apparent translation data of point k+1 corresponding to the actual well trajectory. i Located in L k and L k+1 between.
5. The method according to claim 1, characterized in that, The drilling-related data includes target data and formation data; the preset object class includes a data visualization processing program for target data and a data visualization processing program for formation data; the data visualization processing programs for target data and formation data include a preset coordinate projection algorithm. The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including: A preset coordinate projection algorithm is used to determine the target point plane coordinate data based on the target point data; the target point plane coordinate data is two-dimensional data. A preset coordinate projection algorithm is used to determine the stratigraphic plane coordinate data based on the stratigraphic data; the stratigraphic plane coordinate data is two-dimensional data. The target point plane coordinate data and the formation plane coordinate data are used as the target data.
6. The method according to claim 2 or 5, characterized in that, The preset coordinate projection algorithm includes: Acquire spatial coordinate data; the spatial coordinate data includes horizontal coordinate data, vertical coordinate data, and vertical coordinate data; Trigonometric function calculations are performed based on the horizontal and vertical coordinate data to obtain the target horizontal coordinate data. The vertical coordinate data is determined as the target ordinate data; The target x-coordinate data and the target y-coordinate data are determined as the projected planar coordinate data.
7. The method according to claim 1, characterized in that, The drilling-related data includes lithological data; the preset object class includes a data visualization processing program for lithological data; the data visualization processing program for lithological data includes a preset linear interpolation formula; The step involves using each of the preset class objects to perform corresponding transformation processing on the corresponding initial data to obtain target data with multiple dimensions, including: Lithological plane data is determined using a preset linear interpolation formula and based on the lithological data; the lithological plane data is two-dimensional data. The lithological plane data is used as the target data.
8. The method according to claim 1, characterized in that, After using the drawing module and generating a visualization data graph based on the target data, the method further includes: Get the updated initial data; The initial data to be updated is transformed using the preset class object to obtain the updated target data; The drawing module is used to generate an updated visualization data map based on the updated target data.
9. The method according to claim 1, characterized in that, The number of wells is multiple, and each well has corresponding target data in multiple dimensions; The step of using the drawing module and generating a visual data map based on each of the target data includes: Obtain the pre-configured visualization layout of the target data corresponding to each well; the visualization layout of the target data corresponding to each well is consistent with the layout of each well. The drawing module is used to generate a visual data map based on the visual layout of each well and the corresponding target data.
10. A data visualization device based on drilling, characterized in that, include: The receiving module is used to receive data visualization requests; The execution module is used to run the corresponding HTML file based on the address of the visual interface; The acquisition module is used to acquire the initial data corresponding to the data to be displayed in the visualization interface; The transformation module is used to perform corresponding transformation processing on the corresponding initial data using each of the preset class objects to obtain target data in multiple dimensions. A generation module is used to generate a visualization data map based on the drawing module and each of the target data.
11. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 9.
13. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1 to 9.