Data display method and device, electronic equipment and readable storage medium

By acquiring geological stratigraphic data and performing coordinate transformation, downsampling, and color rendering, the problem of low efficiency in displaying massive geological stratigraphic data in existing technologies has been solved. This enables integrated management and efficient display of above-ground and underground data, generating clear geological stratigraphic images.

CN122023682APending Publication Date: 2026-05-12CHINA NAT PETROLEUM CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA NAT PETROLEUM CORP
Filing Date
2024-11-12
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing technologies suffer from low loading efficiency and inability to display massive amounts of geological stratigraphic data with high precision, especially for data of hundreds of gigabytes, failing to meet the needs of integrated seismic geology and engineering.

Method used

By acquiring geological stratigraphic data, determining the coordinates of the stratigraphic points in the model coordinate system, performing downsampling and color rendering, generating geological stratigraphic images, realizing integrated management of above-ground and underground data, and determining the resolution according to the preset display area and scaling ratio to meet the image requirements of different clarity.

Benefits of technology

It improves the management and display efficiency of geological stratigraphic data, realizes integrated management of above-ground and underground data, and can generate clear and intuitive geological stratigraphic images, making it easier for users to understand and analyze.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122023682A_ABST
    Figure CN122023682A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data display method and device, electronic equipment and a readable storage medium. The method comprises the steps of obtaining geologic horizon data of a target area; determining a second horizontal axis coordinate and a second vertical axis coordinate of the horizon point in the model coordinate system according to the first horizontal axis coordinate and the first vertical axis coordinate of the horizon point in the geologic horizon data; according to the vertical axis coordinate of the horizon point in the geologic horizon data, determining the depth feature of the horizon point; carrying out at least two times of downsampling on coordinate data of each horizon point in the model coordinate system based on the at least two resolutions to obtain at least two data matrixes; determining a first data matrix of which the resolution meets a preset requirement from the at least two data matrixes according to the size and the scaling of the preset display area; performing color rendering on the first data matrix according to the depth features to obtain a geologic horizon image; and the geological horizon image is displayed in the display area, so that the efficiency of displaying massive geological data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of geophysical exploration technology, specifically to a data display method, apparatus, electronic device, and readable storage medium. Background Technology

[0002] With the continuous deepening of exploration work and the rapid development of methods and technologies, the quantity and speed of geological information collection have been greatly improved. Oil and gas exploration data are increasingly characterized by large data volume and complex and diverse types, which also brings challenges to the interpretation and analysis of data. The integration of seismic geology and engineering requires reference to a large amount of surface collection information in pre-drilling engineering such as well site selection and surface engineering construction.

[0003] Existing technologies mainly focus on surface and image data management. GeoEast software can use multiple modules to load geological stratigraphic data, but for hundreds of gigabytes of data, it often uses thinning methods, which cannot load massive amounts of geological stratigraphic data with high precision and has low display efficiency. Summary of the Invention

[0004] This invention provides a data display method, apparatus, electronic device, and readable storage medium, which can improve the efficiency of managing and displaying underground stratum data.

[0005] To address the aforementioned problems, this invention discloses a data display method, the method comprising:

[0006] Obtain geological stratigraphic data for the target area;

[0007] Based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratigraphic data, determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system;

[0008] The depth characteristics of the stratum site are determined based on the vertical axis coordinates of the stratum site in the geological stratigraphic data.

[0009] Based on at least two resolutions, the coordinate data of each layer point in the model coordinate system are downsampled at least twice to obtain at least two data matrices;

[0010] Based on the area and scaling ratio of the preset display area, determine a first data matrix whose resolution meets the preset requirements from the at least two data matrices;

[0011] The first data matrix is ​​color-rendered according to the depth features to obtain the geological stratigraphic image corresponding to the geological stratigraphic data.

[0012] The geological strata image is displayed in the display area.

[0013] Optionally, determining a first data matrix whose resolution meets preset requirements from the at least two data matrices based on the area and scaling ratio of the preset display area includes:

[0014] The first resolution is determined based on the width and height of the preset display area and the scaling ratio;

[0015] The data matrix with the first resolution among the at least two data matrices is determined as the second data matrix;

[0016] The user selects a sub-data matrix from the second data matrix, and then crops the data in the second data matrix other than the sub-data matrix to obtain the first data matrix; the resolution of the sub-data matrix is ​​equal to the number of pixels that the preset display area can display.

[0017] Optionally, determining the second horizontal and second vertical coordinates of the stratum point in the model coordinate system based on the first horizontal and first vertical coordinates of the stratum point in the geological stratigraphic data includes:

[0018] Select at least three stratigraphic points from the geological stratigraphic data, and set the first position of the at least three stratigraphic points in the model coordinate system;

[0019] Based on the second and first positions of the at least three layer sites in the initial coordinate system, establish the correspondence between the initial coordinate system and the model coordinate system;

[0020] Based on the first horizontal axis coordinates and the first vertical axis coordinates of the stratum point in the geological stratigraphic data and the corresponding relationship, the second horizontal axis coordinates and the second vertical axis coordinates of the stratum point in the model coordinate system are determined.

[0021] Optionally, the method further includes:

[0022] Based on the distribution range of all layer points in the model coordinate system, a first target range is constructed; the first target range is greater than or equal to the distribution range.

[0023] When the first target range is larger than the distribution range, the void point is interpolated based on the values ​​of the adjacent layer points of the void point; the void point exists between the first target range and the distribution range.

[0024] Optionally, the step of interpolating the cavity point based on the values ​​of adjacent layer points includes:

[0025] Add all void points to the preset queue;

[0026] If the preset queue is not empty, the interpolation process is performed sequentially on each empty point in the preset queue.

[0027] Once the interpolation of the first void point is completed, the first void point is removed from the preset queue;

[0028] If the interpolation of the first void point is not completed, the first void point is added to the tail of the preset queue;

[0029] The interpolation process for each empty point in the preset queue is executed repeatedly until the preset queue is empty.

[0030] On the other hand, embodiments of the present invention provide a data display device, the device comprising:

[0031] The acquisition module is used to acquire geological stratigraphic data of the target area;

[0032] The first determining module is used to determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratum data.

[0033] The second determining module is used to determine the depth characteristics of the stratum site based on the vertical axis coordinates of the stratum site in the geological stratum data.

[0034] The downsampling module is used to downsample the coordinate data of each layer point in the model coordinate system at least twice based on at least two resolutions to obtain at least two data matrices.

[0035] The third determining module is used to determine a first data matrix whose resolution meets the preset requirements from the at least two data matrices based on the size and scaling ratio of the preset display area.

[0036] The rendering module is used to perform color rendering on the first data matrix according to the depth features to obtain the geological stratum image corresponding to the geological stratum data.

[0037] A display module is used to display the geological stratigraphic image in the display area.

[0038] This invention also discloses an electronic device, which includes a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus. The memory is used to store executable instructions, which cause the processor to execute the aforementioned data display method.

[0039] This invention also discloses a readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, it implements the aforementioned data display method.

[0040] The embodiments of the present invention have the following advantages:

[0041] In this embodiment of the invention, geological stratigraphic data of the target area is acquired, including surface data and subsurface data. Based on the first horizontal and first vertical coordinates of the stratigraphic points in the geological stratigraphic data, the second horizontal and second vertical coordinates of the stratigraphic points in the model coordinate system are determined, achieving integrated management of above-ground and subsurface data. Based on the vertical coordinates of the stratigraphic points in the geological stratigraphic data, the depth characteristics of the stratigraphic points are determined, converting the three-dimensional data into two-dimensional data. Based on at least two resolutions, the coordinate data of each stratigraphic point in the model coordinate system are downsampled at least twice to obtain at least two data matrices. According to the size and scaling ratio of the preset display area, a first data matrix whose resolution meets the preset requirements is determined from the at least two data matrices, satisfying the user's needs for images of different clarity. Color rendering is performed on the first data matrix based on the depth characteristics to obtain a geological stratigraphic image corresponding to the geological stratigraphic data, so that different depth feature numerical ranges correspond to different colors, facilitating intuitive understanding and analysis of geological data by the user. Attached Figure Description

[0042] Figure 1 This is a flowchart illustrating the steps of a data display method embodiment provided by the present invention;

[0043] Figure 2 This invention provides a geological stratigraphic image for displaying partial geological stratigraphic data.

[0044] Figure 3 This is a structural block diagram of a data display device provided in an embodiment of the present invention;

[0045] Figure 4 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0046] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0047] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0048] Method Implementation Examples

[0049] The data display method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0050] Reference Figure 1 , Figure 1 This application provides a flowchart illustrating the steps of a data display method according to an embodiment of the present application. Figure 1 As shown, the method specifically includes the following steps:

[0051] Step S101: Obtain geological stratigraphic data of the target area.

[0052] Geological stratigraphic data refers to data reflecting the undulations and structure of geology, obtained through the interpretation of data obtained during geological exploration. Specifically, geological stratigraphic data includes: surface data and subsurface data.

[0053] Geological stratigraphic data can be obtained in various ways, and this embodiment of the invention does not impose specific limitations. For example, before obtaining the geological stratigraphic data, the method may further include: converting seismic data into geological stratigraphic data through methods such as seismic stratigraphic interpretation and extraction of stratigraphic attributes; or directly importing the interpreted geological stratigraphic data.

[0054] The data display method provided in this invention can be applied to the field of massive data management, enabling unified management and analysis of geological stratigraphic data composed of massive above-ground and underground data, and displaying it in the form of images.

[0055] Step S102: Based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratum data, determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system.

[0056] It should be noted that geological stratigraphic data includes surface data and subsurface data. The coordinate systems of the surface data and subsurface data can be the same or different. If the coordinate systems of the surface data and subsurface data are different, the surface data and subsurface data will be unified into the same coordinate system.

[0057] For example, surface data is typically based on latitude and longitude coordinates in the Earth coordinate system, while subsurface stratigraphic data is typically based on the geodetic coordinate system. When the surface and subsurface data reside in different coordinate systems, the latitude and longitude coordinates of the surface data are transformed to the geodetic coordinate system. Then, based on the first horizontal and first vertical coordinates of the stratigraphic point in the geodetic coordinate system, the second horizontal and second vertical coordinates of the stratigraphic point in the model coordinate system are determined. Specifically, by performing linear transformations such as scaling, rotation, and translation on the first horizontal and first vertical coordinates of the stratigraphic point in the geological stratigraphic data, the second horizontal and second vertical coordinates of the stratigraphic point in the model coordinate system are obtained.

[0058] Step S103: Determine the depth characteristics of the stratum location based on the vertical axis coordinates of the stratum location in the geological stratum data.

[0059] It should be noted that the layer points correspond to three-dimensional coordinate data, including: horizontal axis coordinates, vertical axis coordinates, and vertical axis coordinates. A two-dimensional array is constructed based on the horizontal and vertical axis coordinates of all layer points; the vertical axis coordinates of all layer points are added to a one-dimensional array. The two-dimensional array reflects the position of all layer points on the same plane, and the vertical axis coordinates reflect the depth characteristics of the layer points.

[0060] Step S104: Based on at least two resolutions, downsample the coordinate data of each layer point in the model coordinate system at least twice to obtain at least two data matrices.

[0061] It should be noted that once the x-axis and y-axis coordinates of all layer points in the model coordinate system are determined, these coordinates can form an initial two-dimensional data matrix. The resolution corresponding to this initial two-dimensional data matrix is ​​set as the initial resolution. Downsampling of the initial two-dimensional data matrix yields a two-dimensional data matrix with reduced resolution.

[0062] Downsampling can be performed in various ways, and this embodiment of the invention does not limit the specific methods used. For example, the user presets a sampling rate and uses uniform downsampling or random downsampling to downsample the initial two-dimensional data matrix.

[0063] In this embodiment of the invention, the number of resolutions and the value of the resolutions preset by the user are equivalent to the number of downsampling times preset by the user. For example, N different resolutions are preset, and the initial two-dimensional data matrix is ​​downsampled N times to obtain N data matrices with different resolutions. The initial two-dimensional data matrix is ​​then added to the original data matrix, resulting in a total of N+1 data matrices with different resolutions.

[0064] Optionally, an index can be created for each data matrix based on its row and column range, so that the corresponding data matrix can be quickly accessed through the index.

[0065] Step S105: Based on the size and scaling ratio of the preset display area, determine the first data matrix whose resolution meets the preset requirements from the at least two data matrices.

[0066] The preset display area is used to display the image obtained based on the data matrix. The shape of the display area can be polygonal, circular, etc. The size of the preset display area is measured in pixels, and there is a positive correlation between the size of the preset display area and the number of pixels it can display. The larger the size of the preset display area, the more pixels it can display.

[0067] The scaling factor is used to quantify the degree to which the data matrix is ​​reduced or enlarged. The scaling factor can range from negative integers to 0 and positive integers. For example, a scaling factor of 0 means no reduction or enlargement is performed on the data matrix; a scaling factor greater than 0 means the data matrix is ​​enlarged; and a scaling factor less than 0 means the data matrix is ​​reduced. The number of scaling factors is equal to the number of data matrices obtained after sampling the coordinate data of each layer point in the model coordinate system in step S104. For example, if N+1 data matrices are obtained in step S104, then the scaling factor corresponds to N+1 values.

[0068] It should be noted that the display resolution is determined based on the size of the preset display area. When the scaling ratio is set to 0, a display resolution equal to the number of pixels that the preset display area can display is determined based on the size of the preset display area. Based on the display resolution, a third data matrix with a resolution equal to the display resolution is selected from all data matrices obtained in step S104. A scaling ratio greater than 0 means that the third data matrix is ​​enlarged; a scaling ratio less than 0 means that the third data matrix is ​​reduced. The display resolution is less than or equal to the initial resolution in step S104. A second resolution is determined based on the preset display area size and the scaling ratio of the third data matrix, and a data matrix with a resolution equal to the second resolution is selected from all data matrices obtained in step S104. Specifically, after the second resolution is determined, the data matrix with a resolution equal to the second resolution is called as the first data matrix that meets the preset requirements through the corresponding index.

[0069] Step S106: Render the first data matrix with color according to the depth features to obtain the geological stratum image corresponding to the geological stratum data.

[0070] Color is described using the RGB color model, which uses three values ​​(r, g, b) to describe a color. A mapping relationship is established between the feature values ​​of depth features and (r, g, b). For example, the feature values ​​are divided into multiple intervals, with different intervals corresponding to different (r, g, b) values. Different colors are assigned to different depth points in the image, making it easier for users to view the trends of geological undulations.

[0071] Step S107: Display the geological stratum image in the display area.

[0072] It should be noted that, in this embodiment of the invention, the data matrix obtained in step S104 is written into the same file. Based on the size of the preset display area (view display window) in the interactive interface and the scaling ratio, the required resolution level is determined, and the level parameter is passed to the function that retrieves the data matrix. The corresponding data matrix is ​​then retrieved through the function and displayed as image data. For example, Figure 2 This is a geological stratum image based on data from a portion of the geological strata.

[0073] In this embodiment of the invention, geological stratigraphic data of the target area is acquired, including surface data and subsurface data. Based on the first horizontal and first vertical coordinates of the stratigraphic points in the geological stratigraphic data, the second horizontal and second vertical coordinates of the stratigraphic points in the model coordinate system are determined, achieving integrated management of above-ground and subsurface data. Based on the vertical coordinates of the stratigraphic points in the geological stratigraphic data, the depth characteristics of the stratigraphic points are determined, converting the three-dimensional data into two-dimensional data. Based on at least two resolutions, the coordinate data of each stratigraphic point in the model coordinate system are downsampled at least twice to obtain at least two data matrices. According to the size and scaling ratio of the preset display area, a first data matrix whose resolution meets the preset requirements is determined from the at least two data matrices, satisfying the user's needs for images of different clarity. Color rendering is performed on the first data matrix based on the depth characteristics to obtain a geological stratigraphic image corresponding to the geological stratigraphic data, so that different depth feature numerical ranges correspond to different colors, facilitating intuitive understanding and analysis of geological data by the user.

[0074] Optionally, determining a first data matrix whose resolution meets preset requirements from the at least two data matrices based on the size and scaling ratio of the preset display area includes:

[0075] Step 11: Determine the first resolution based on the width and height of the preset display area and the scaling ratio;

[0076] Step 12: Determine the data matrix with the first resolution from the at least two data matrices as the second data matrix;

[0077] Step 13: The user selects a sub-data matrix from the second data matrix, and crops the data in the second data matrix other than the sub-data matrix to obtain the first data matrix; the resolution of the sub-data matrix is ​​equal to the number of pixels that the preset display area can display.

[0078] The width and height of the preset display area are in pixels. The first resolution consists of two parts (best_image_width, best_image_height). best_image_width refers to the number of pixels in the horizontal direction of the image, and best_image_height refers to the number of pixels in the vertical direction of the image. The product of best_image_width and best_image_height equals the total number of pixels contained in the image.

[0079] It should be noted that the first resolution is determined by the product of the width, height and scaling ratio of the preset display area; specifically, the width of the preset display area and n raised to the power of the scaling ratio are used to determine the number of pixels in the horizontal direction in the first resolution; the height of the preset display area and n raised to the power of the scaling ratio are used to determine the number of pixels in the vertical direction in the first resolution.

[0080] The formula for determining the first resolution is as follows:

[0081] best_image_width=viewport_width×n zoom_level (1)

[0082] best_image_height=viewport_height×n zoom_level (2)

[0083] In equations (1) and (2), viewport_width refers to the width of the preset display area, viewport_height refers to the height of the preset display area, and zoom_level refers to the scaling ratio. The value of n is a positive integer greater than 1, such as 2, 3, 4, etc. In general, n is set to 2.

[0084] As can be seen from equations (1) and (2), when the scaling ratio increases, the first resolution increases accordingly. Since the size of the preset display area remains unchanged, the information displayed in the preset display area is more detailed and more local. When the scaling ratio decreases, the first resolution decreases accordingly. Since the size of the preset display area remains unchanged, the information displayed in the preset display area is coarser and more macroscopic.

[0085] It should be noted that if the resolution of the second data matrix is ​​greater than the number of pixels that the preset display area can display, the user can manually select a sub-data matrix from the second data matrix to be displayed in the preset display area. The resolution of the sub-data matrix is ​​equal to the number of pixels that the preset display area can display. After selecting the sub-data matrix, the data in the second data matrix other than the sub-data matrix is ​​cropped to ensure that the displayed data can completely and accurately reflect the geological stratigraphic information.

[0086] In this embodiment of the invention, a first resolution is determined based on the width, height, and scaling ratio of a preset display area. A second data matrix is ​​defined from at least two data matrices that have the first resolution. The size and scaling ratio of the preset display area are set by the user to meet the user's needs for images of different resolutions. The user selects a sub-data matrix from the second data matrix, and the data in the second data matrix excluding the sub-data matrix is ​​cropped to obtain a first data matrix, thus meeting the user's needs for data at different positions within the second data matrix.

[0087] Optionally, determining the second horizontal and second vertical coordinates of the stratum point in the model coordinate system based on the first horizontal and first vertical coordinates of the stratum point in the geological stratigraphic data includes:

[0088] Step 21: Select at least three stratigraphic points from the geological stratigraphic data, and set the first position of the at least three stratigraphic points in the model coordinate system;

[0089] Step 22: Determine the correspondence between the initial coordinate system and the model coordinate system based on the second position and the first position of the at least three layer points in the initial coordinate system;

[0090] Step 23: Based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratum data and the corresponding relationship, determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system.

[0091] The first position refers to the coordinate data of at least three layer points in the model coordinate system. For example, if three layer points p1, p2, and p3 are selected, the coordinates of p1 in the model coordinate system are (x1, y1), the coordinates of p2 in the model coordinate system are (x2, y2), and the coordinates of p3 in the model coordinate system are (x3, y3). The first position refers to the array composed of (x1, y1), (x2, y2), and (x3, y3).

[0092] It should be noted that three factors—scaling factor, shear factor, and offset—can be used to represent the correspondence between the initial coordinate system and the model coordinate system. For example, three stratigraphic points are selected from the geological stratigraphic data. Based on the first coordinates of these three stratigraphic points in the initial coordinate system and the second coordinates of these three stratigraphic points in the model coordinate system, the scaling factor, shear factor, and offset are calculated using the following formulas:

[0093] to_point_x=Para[0]×from_point_x+Para[1]×from_point_y+Para[2] (3)

[0094] to_point_y=Para[3]×from_point_x+Para[4]×from_point_y+Para[5] (4)

[0095] In equations (3) and (4), from_point_x and from_point_y represent the horizontal and vertical coordinates of the layer point in the initial coordinate system, and to_point_x and to_point_y represent the horizontal and vertical coordinates of the layer point in the model coordinate system. Para[0] represents the scaling factor of the horizontal axis, which determines the scaling of the layer point in the horizontal direction; Para[1] represents the shear factor of the horizontal axis, which represents the influence of the coordinate change in the vertical direction on the horizontal axis coordinate; Para[2] represents the translation amount in the horizontal direction, which represents the offset of the horizontal axis coordinate after transformation. Para[3] represents the shear factor in the vertical direction, which represents the influence of the coordinate change in the horizontal direction on the vertical axis coordinate. Para[3] represents the scaling factor of the vertical axis, which determines the scaling of the input point in the vertical direction. Para[5] represents the translation amount in the vertical direction, which represents the offset of the vertical axis coordinate after transformation.

[0096] According to formulas (3) and (4), a six-variable linear equation is listed. By solving Gaussian equations, the values ​​of the six coefficients Para[0], Para[1], Para[2], Para[3], Para[4], and Para[5] are obtained. The first horizontal axis coordinate and the first vertical axis coordinate of all layer points in the initial coordinate system are substituted into the known formulas (3) and (4) of Para[0], Para[1], Para[2], Para[3], Para[4], and Para[5] to determine the second horizontal axis coordinate and the second vertical axis coordinate of all layer points in the model coordinate system.

[0097] In this embodiment of the invention, at least three stratigraphic points are selected from geological stratigraphic data, and a first position of at least three stratigraphic points is set in the model coordinate system. Based on the second and first positions of the at least three stratigraphic points in the initial coordinate system, the correspondence between the initial coordinate system and the model coordinate system is determined. Based on the first horizontal axis coordinate, the first vertical axis coordinate, and the correspondence of the stratigraphic points in the geological stratigraphic data, the second horizontal axis coordinate and the second vertical axis coordinate of the stratigraphic points in the model coordinate system are determined, thereby improving the efficiency of determining the second horizontal axis coordinate and the second vertical axis coordinate of the stratigraphic points in the model coordinate system.

[0098] Optionally, the method further includes:

[0099] Step 31: Construct a first target range based on the distribution range of all layer points in the model coordinate system; the first target range is greater than or equal to the distribution range.

[0100] Step 32: When the first target range is larger than the distribution range, interpolate the void point according to the values ​​of the adjacent layer points of the void point; the void point exists between the first target range and the distribution range.

[0101] It should be noted that, based on the distribution range of all layer points in the model coordinate system, the first target range is constructed, including: obtaining the coordinate data of all layer points in the model coordinate system, and determining the minimum x-coordinate of the horizontal axis in the horizontal direction of all layer points in the model coordinate system. min Maximum value x max The minimum value of the vertical axis coordinate y along the vertical axis. min Maximum value y max The width of the first target range is determined by the first absolute value s1, which is the difference between the minimum and maximum values ​​of the horizontal axis coordinates; the height of the first target range is determined by the second absolute value s2, which is the difference between the minimum and maximum values ​​of the vertical axis coordinates. The width of the first target range is greater than or equal to the first absolute value, and the height of the first target range is greater than or equal to the second absolute value.

[0102] Since the distribution range of all layer points in the model coordinate system can be rectangular, circular, or irregular polygonal, the first target range is set to a rectangular range to adapt to the shape of the display area. The first target range needs to completely cover the distribution range; therefore, the first target range is greater than or equal to the distribution range. When the distribution range is irregularly shaped, there are gaps between the first target range and the distribution range. These gaps refer to areas between the first target range and the distribution range where there is no coordinate data or depth feature of the layer points.

[0103] Interpolating void points refers to setting corresponding depth features for the horizontal and vertical coordinates of the void points.

[0104] It should be noted that before interpolating the void points, the x-axis and y-axis coordinates of the void points need to be obtained. Based on the x-axis and y-axis coordinates of the void points and the layer points, the adjacent layer points corresponding to each void point are determined. Various methods can be used to represent the distance between void points and layer points, and this embodiment of the invention does not limit this. Specifically, Euclidean distance can be used to represent the distance between void points and layer points, and layer points whose Euclidean distance from the void point is less than or equal to a preset threshold are considered as adjacent layer points of the void point. For example: select a void point, obtain the Euclidean distance between the void point and all layer points, and consider layer points whose Euclidean distance from the void point is less than or equal to a preset threshold as adjacent layer points of the void point.

[0105] After determining the adjacent layer sites of the cavity, the depth features of the adjacent layer sites are obtained. Various interpolation algorithms can be used to interpolate the cavity, and this embodiment of the invention does not limit this approach. Examples include nearest neighbor interpolation and bilinear interpolation. In the process of nearest neighbor interpolation, the feature values ​​of the depth features of all adjacent layer sites can be averaged, and the average value is used as the depth feature corresponding to the cavity.

[0106] In this embodiment of the invention, a first target range is constructed based on the coordinate data of all layer points in the model coordinate system. If the first target range is larger than the distribution range, void points exist between the first target range and the distribution range. The void points are interpolated based on the depth features of adjacent layer points. By constructing the first target range, the shape of the subsequent display area is adapted. Interpolating the void points based on the depth features of adjacent layer points ensures that the depth features corresponding to the void points are close to the depth features of the adjacent layer points.

[0107] Optionally, the step of interpolating the cavity point based on the values ​​of adjacent layer points includes:

[0108] Step 41: Add all void points to the preset queue;

[0109] Step 42: If the preset queue is not empty, perform the interpolation process sequentially on each empty point in the preset queue.

[0110] Step 43: After the interpolation of the first void point is completed, remove the first void point from the preset queue and perform the interpolation process for the next void point;

[0111] Step 44: If the interpolation of the first void point is not completed, perform the interpolation process for the next void point and add the first void point to the tail of the preset queue.

[0112] Step 45: Repeatedly execute the interpolation process for each empty point in the preset queue until the preset queue is empty.

[0113] During the interpolation process for void points, a preset threshold is set. Layer points whose distance to the void point is less than or equal to the preset threshold are identified as adjacent layer points corresponding to the void point. A void point is retrieved from a preset queue, and it is checked whether there is a layer point whose distance to it is less than the preset threshold. If no layer point with a distance less than the preset threshold exists, the void point is added back to the end of the preset queue, awaiting the next interpolation process.

[0114] It should be noted that an interpolation function is defined, whose inputs are: the coordinate data of the cavity point, the coordinate data of adjacent layer points, and the depth features of the adjacent layer points; the output of the interpolation function is: the depth features of the cavity point. For example, when a cavity point is detected to have layer points whose distance from it is less than a preset threshold, these layer points are identified as the adjacent layer points corresponding to the cavity point. The depth features of the layer point closest to the cavity point among the adjacent layer points are identified as the depth features of the cavity point; or the median of the depth features of all adjacent layer points is identified as the depth features of the cavity point; or the mode of the depth features of all adjacent layer points is identified as the depth features of the cavity point; or the depth features of the cavity point are predicted by combining the overall geological undulation trend.

[0115] In this embodiment of the invention, all void points are added to a preset queue. If the preset queue is not empty, an interpolation process is performed on each void point in the preset queue sequentially. If the interpolation of the first void point is completed, the first void point is removed from the preset queue, and the interpolation process is performed on the next void point. If the interpolation of the first void point is not completed, the interpolation process is performed on the next void point, and the first void point is added to the tail of the preset queue. The interpolation process for each void point in the preset queue is executed cyclically until the preset queue is empty. Based on the first-in-first-out (FIFO) data structure characteristic of the queue, void points are added to the queue and re-entered, while adjacent layer points are directly interpolated and then dequeued, thus improving the memory pressure drawback caused by the recursive method.

[0116] Device Examples

[0117] Module 310 is used to acquire geological stratigraphic data of the target area;

[0118] The first determining module 320 is used to determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratum data.

[0119] The second determining module 330 is used to determine the depth characteristics of the stratum site based on the vertical axis coordinates of the stratum site in the geological stratum data.

[0120] Downsampling module 340 is used to downsample the coordinate data of each layer point in the model coordinate system at least twice based on at least two resolutions to obtain at least two data matrices;

[0121] The third determining module 350 is used to determine a first data matrix whose resolution meets the preset requirements from the at least two data matrices based on the area and scaling ratio of the preset display area.

[0122] Rendering module 360 ​​is used to perform color rendering on the first data matrix according to the depth features to obtain a geological layer image corresponding to the geological layer data.

[0123] Display module 370 is used to display the geological stratum image in the display area.

[0124] Optionally, the third determining module includes:

[0125] The first determining submodule is used to determine the first resolution based on the width and height of the preset display area and the scaling ratio;

[0126] The second determining submodule is used to determine the data matrix with a first resolution among the at least two data matrices as the second data matrix;

[0127] The cropping module is used to allow the user to select a sub-data matrix from the second data matrix, and to crop the data in the second data matrix other than the sub-data matrix to obtain the first data matrix; the resolution of the sub-data matrix is ​​equal to the number of pixels that the preset display area can display.

[0128] Optionally, the first determining module includes:

[0129] The setting module is used to select at least three strata points from the geological stratigraphic data and set the first position of the at least three strata points in the model coordinate system;

[0130] The third determining submodule is used to determine the correspondence between the initial coordinate system and the model coordinate system based on the second position and the first position of the at least three layer points in the initial coordinate system;

[0131] The fourth determination submodule is used to determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratum data and the corresponding relationship.

[0132] Optionally, the device further includes:

[0133] A construction module is used to construct a first target range based on the coordinate data of all layer points in the model coordinate system; the first target range is greater than or equal to the distribution range of all layer points;

[0134] An interpolation module is used to interpolate the void point based on the values ​​of adjacent layer points when the first target range is larger than the distribution range; the void point is between the first target range and the distribution range.

[0135] Optionally, the interpolation module includes:

[0136] The first addition module is used to add all void points to the preset queue;

[0137] The interpolation submodule is used to perform an interpolation process on each empty point in the preset queue in sequence when the preset queue is not an empty queue.

[0138] A clearing module is used to clear the first void point from the preset queue after the first void point interpolation is completed;

[0139] The second addition module is used to add the first void point to the tail of the preset queue if the first void point interpolation is not completed.

[0140] The loop module is used to repeatedly execute the interpolation process for each empty point in the preset queue until the preset queue is empty.

[0141] In summary, this invention provides a data display device for acquiring geological stratigraphic data of a target area, including surface data and subsurface data. Based on the first horizontal and first vertical coordinates of the stratigraphic points in the geological stratigraphic data, the device determines the second horizontal and second vertical coordinates of the stratigraphic points in a model coordinate system, achieving integrated management of above-ground and subsurface data. Based on the vertical coordinates of the stratigraphic points in the geological stratigraphic data, the device determines the depth characteristics of the stratigraphic points, converting the three-dimensional data into two-dimensional data. Based on at least two resolutions, the coordinate data of each stratigraphic point in the model coordinate system are downsampled at least twice to obtain at least two data matrices. According to the size and scaling ratio of a preset display area, a first data matrix whose resolution meets preset requirements is determined from the at least two data matrices, satisfying the user's needs for images of different resolutions. Color rendering is performed on the first data matrix based on the depth characteristics to obtain a geological stratigraphic image corresponding to the geological stratigraphic data, so that different depth feature numerical ranges correspond to different colors, facilitating intuitive understanding and analysis of geological data by the user.

[0142] As the apparatus embodiment is basically similar to the method embodiment, it is described in a relatively simple manner. For relevant details, please refer to the description of the method embodiment.

[0143] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0144] Regarding the processor in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0145] This application also provides an electronic device, which includes a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus. The memory is used to store executable instructions, which enable the processor to execute the various steps of the above-described data display method embodiments and achieve the same technical effect. To avoid repetition, these instructions will not be described again here.

[0146] In embodiments of this application, the memory can be used to store software programs and various data. The memory may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, applications or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0147] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly handles operations related to the operating system, user interface, and applications, while the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor.

[0148] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described data display method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0149] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0150] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above data display method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0151] It should be understood that the chip involved in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0152] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the data display method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0153] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0154] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0155] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A data display method, characterized in that, Applied to electronic devices, the method includes: Obtain geological stratigraphic data for the target area; Based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratigraphic data, determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system; The depth characteristics of the stratum site are determined based on the vertical axis coordinates of the stratum site in the geological stratigraphic data. Based on at least two resolutions, the coordinate data of each layer point in the model coordinate system are downsampled at least twice to obtain at least two data matrices; Based on the size and scaling ratio of the preset display area, determine a first data matrix whose resolution meets the preset requirements from the at least two data matrices; The first data matrix is ​​color-rendered according to the depth features to obtain the geological stratigraphic image corresponding to the geological stratigraphic data. The geological strata image is displayed in the display area.

2. The method according to claim 1, characterized in that, The step of determining a first data matrix whose resolution meets preset requirements from the at least two data matrices based on the size and scaling ratio of the preset display area includes: The first resolution is determined based on the width and height of the preset display area and the scaling ratio; The data matrix with the first resolution among the at least two data matrices is determined as the second data matrix; The user selects a sub-data matrix from the second data matrix, and then crops the data in the second data matrix other than the sub-data matrix to obtain the first data matrix; the resolution of the sub-data matrix is ​​equal to the number of pixels that the preset display area can display.

3. The method according to claim 1, characterized in that, The step of determining the second horizontal and second vertical coordinates of the stratum point in the model coordinate system based on the first horizontal and first vertical coordinates of the stratum point in the geological stratigraphic data includes: Select at least three stratigraphic points from the geological stratigraphic data, and set the first position of the at least three stratigraphic points in the model coordinate system; Based on the second and first positions of the at least three layer sites in the initial coordinate system, establish the correspondence between the initial coordinate system and the model coordinate system; Based on the first horizontal axis coordinates and the first vertical axis coordinates of the stratum point in the geological stratigraphic data and the corresponding relationship, the second horizontal axis coordinates and the second vertical axis coordinates of the stratum point in the model coordinate system are determined.

4. The method according to claim 1, characterized in that, The method further includes: Based on the distribution range of all layer points in the model coordinate system, a first target range is constructed; the first target range is greater than or equal to the distribution range. When the first target range is larger than the distribution range, the void point is interpolated based on the values ​​of the adjacent layer points of the void point; the void point exists between the first target range and the distribution range.

5. The method according to claim 4, characterized in that, The step of interpolating the cavity point based on the values ​​of adjacent layer points includes: Add all void points to the preset queue; If the preset queue is not empty, the interpolation process is performed sequentially on each empty point in the preset queue. Once the interpolation of the first void point is completed, the first void point is removed from the preset queue; If the interpolation of the first void point is not completed, the first void point is added to the tail of the preset queue; The interpolation process for each empty point in the preset queue is executed repeatedly until the preset queue is empty.

6. A data display device, characterized in that, The device includes: The acquisition module is used to acquire geological stratigraphic data of the target area; The first determining module is used to determine the second horizontal axis coordinate and the second vertical axis coordinate of the stratum point in the model coordinate system based on the first horizontal axis coordinate and the first vertical axis coordinate of the stratum point in the geological stratum data. The second determining module is used to determine the depth characteristics of the stratum site based on the vertical axis coordinates of the stratum site in the geological stratum data. The downsampling module is used to downsample the coordinate data of each layer point in the model coordinate system at least twice based on at least two resolutions to obtain at least two data matrices. The third determining module is used to determine a first data matrix whose resolution meets the preset requirements from the at least two data matrices based on the size and scaling ratio of the preset display area. The rendering module is used to perform color rendering on the first data matrix according to the depth features to obtain the geological stratum image corresponding to the geological stratum data. A display module is used to display the geological stratigraphic image in the display area.

7. An electronic device, characterized in that, The electronic device includes a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; The memory is used to store executable instructions that cause the processor to perform the data display method as described in any one of claims 1 to 5.

8. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the data display method of any one of claims 1 to 5.