Data processing method, system and device of three-dimensional simulation model of oil reservoir and medium

By parsing and converting the data of the reservoir 3D simulation model into a triangular mesh model and storing it in a lightweight manner, the problem of displaying and interacting with the reservoir 3D simulation model on multiple platforms is solved, enabling the widespread application and efficient utilization of the model.

CN122241947APending Publication Date: 2026-06-19RICHFIT INFORMATION TECH +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
RICHFIT INFORMATION TECH
Filing Date
2024-12-17
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

Due to their large scale, special data format, and complex attribute parameters, reservoir 3D simulation models are difficult to integrate, display, and analyze in other platforms or software of oilfield enterprises, resulting in low versatility and utilization.

Method used

By parsing, formatting, and lightweighting the data of the reservoir 3D simulation model, it is transformed into a triangular mesh model and then compressed and fragmented for storage, enabling the display and interaction of the reservoir 3D simulation model on multiple platforms.

Benefits of technology

The model size was reduced, the operating efficiency was improved, and the rendering and interaction of the reservoir 3D simulation model on the browser side were realized, thereby enhancing its versatility and utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122241947A_ABST
    Figure CN122241947A_ABST
Patent Text Reader

Abstract

This application provides a data processing method, system, device, and medium for a three-dimensional reservoir simulation model, belonging to the field of oil and gas reservoir data processing technology. The method includes: parsing the model data file of any three-dimensional reservoir simulation model to obtain initial reservoir model data, which indicates that the three-dimensional reservoir simulation model is a corner mesh model; converting the format of the initial reservoir model data to obtain target reservoir model data, which indicates that the converted three-dimensional reservoir simulation model is a triangular mesh model; and performing lightweight storage of the target reservoir model data based on a preset storage strategy to obtain lightweight model data of the three-dimensional reservoir simulation model. This method achieves format conversion of the model data, reduces the model size, decreases processing pressure, enables the three-dimensional reservoir simulation model to be displayed on multiple platforms, improves operating efficiency, and enhances the versatility of the three-dimensional reservoir simulation model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of oil and gas reservoir data processing technology, and in particular to a data processing method, system, equipment and medium for a three-dimensional simulation model of an oil reservoir. Background Technology

[0002] In the field of oil and gas reservoir numerical simulation, reservoir numerical simulation technology based on oil and gas geological modeling, which integrates multi-source data such as seismic, well logging, and production data, can simulate the geological structure, reservoir characteristics, and fluid properties of oil reservoirs. Currently, reservoir numerical simulation software is commonly used to simulate the dynamics of oil, gas, and water flows in underground oil reservoirs. The three-dimensional simulation model of the reservoir, as the result file, records various attribute information of the underground oil reservoir, which provides data reference for optimizing production plans in multiple stages such as exploration, development, production, and management.

[0003] However, due to the large scale, special data format, and complex attribute parameters of reservoir 3D simulation models, they are currently mainly limited to use within reservoir numerical simulation software and are difficult to integrate, display, and analyze through other platforms or software of oilfield enterprises. This situation hinders the widespread application of reservoir 3D simulation models in the daily management of oilfield operations, resulting in low versatility and utilization of these models. Summary of the Invention

[0004] This application provides a data processing method, system, device, and medium for a three-dimensional reservoir simulation model. This reduces the model size, decreases processing pressure, enables the three-dimensional reservoir simulation model to be displayed on multiple platforms, improves operational efficiency, and enhances the versatility and utilization of the three-dimensional reservoir simulation model. The technical solution is as follows:

[0005] On the one hand, a data processing method for a three-dimensional simulation model of an oil reservoir is provided, the method comprising:

[0006] Data parsing is performed on the model data file of any reservoir 3D simulation model to obtain initial reservoir model data. The model data file includes a mesh file, an attribute file, and a dynamic result file. The initial reservoir model data indicates that the reservoir 3D simulation model is a corner mesh model. The initial reservoir model data includes initial geometric data and initial attribute data.

[0007] The initial reservoir model data is converted to obtain the target reservoir model data. The target reservoir model data indicates that the three-dimensional simulation model of the reservoir after the format conversion is a triangular mesh model. The target reservoir model data includes target geometric data and target attribute data.

[0008] Based on a preset storage strategy, the target reservoir model data is stored in a lightweight manner to obtain lightweight model data of the reservoir three-dimensional simulation model. The preset storage strategy indicates that the target reservoir model data is compressed and fragmented.

[0009] In some embodiments, the process of converting the format of the initial reservoir model data to obtain the target reservoir model data includes:

[0010] The initial geometric data is converted to a new format to obtain the target geometric data, which is stored in the form of a triangular mesh.

[0011] Based on the target geometric data, the initial attribute data is reorganized to obtain the target attribute data.

[0012] In some embodiments, the process of converting the format of the initial geometric data to obtain the target geometric data includes:

[0013] Based on the initial geometric data, mesh coordinate data is determined, which includes the vertex coordinates of multiple hexahedral meshes in the corner mesh model;

[0014] Based on the grid coordinate data, the target geometric data is determined according to a preset transformation rule. The preset transformation rule is used to transform each face of each hexahedral grid in the corner grid model into two triangles respectively.

[0015] In some embodiments, the target geometric data includes vertex coordinates, texture mapping coordinates, normal vectors, and index values. The vertex coordinates are used to define the shape and structure of the reservoir 3D simulation model, the texture mapping coordinates are used to map image textures onto the reservoir 3D simulation model, the normal vectors are used for lighting processing and rendering, and the index values ​​are used to reference vertices.

[0016] In some embodiments, the initial attribute data includes initial static attribute data and initial dynamic attribute data. The initial static attribute data is used to describe the basic attributes of the reservoir three-dimensional simulation model, and the initial dynamic attribute data is used to describe the corresponding results of numerical simulation based on the reservoir three-dimensional simulation model.

[0017] In some embodiments, the lightweight model data includes lightweight geometric data and lightweight attribute data. The lightweight model data is stored in fragmented form in the form of a model structure tree, which includes tree nodes corresponding to different vertices and different meshes. The lightweight geometric data includes multiple vertex coordinates and an index value corresponding to each vertex coordinate. Each triangle indicated by the lightweight data includes three index values ​​corresponding to different vertex coordinates. The lightweight attribute data includes attribute data corresponding to each tree node, and the lightweight attribute data is stored in a server.

[0018] On the other hand, a data processing system for a three-dimensional simulation model of a reservoir is provided, which includes a data acquisition module, a data processing module, a data storage module, a user interaction module, and a system management module.

[0019] The data acquisition module is used to acquire the model data file of the reservoir three-dimensional simulation model and to parse the model data file to obtain the initial reservoir model data. The model data file includes a mesh file, an attribute file, and a dynamic result file. The initial reservoir model data indicates that the reservoir three-dimensional simulation model is a corner mesh model. The initial reservoir model data includes initial geometric data and initial attribute data.

[0020] The data processing module is used to convert the initial reservoir model data into the internal storage format of the data processing system of the reservoir three-dimensional simulation model to obtain the target reservoir model data. The target reservoir model data indicates that the reservoir three-dimensional simulation model after the conversion is a triangular mesh model. The target reservoir model data includes target geometric data and target attribute data.

[0021] The data storage module is used to fragment the target reservoir model data according to the model structure tree to obtain the lightweight model data of the reservoir three-dimensional simulation model. The model structure tree includes tree nodes corresponding to different vertices and different grids.

[0022] The user interaction module is used to enable rendering and interaction of the reservoir's three-dimensional simulation model on the browser side.

[0023] In some embodiments, the data processing module is further configured to determine grid coordinate data based on the initial geometric data, the grid coordinate data including the vertex coordinates of multiple hexahedral grids in the corner grid model; determine the target geometric data based on the grid coordinate data according to a preset transformation rule, the preset transformation rule being used to convert each face of each hexahedral grid in the corner grid model into two triangles respectively; and reorganize the initial attribute data based on the target geometric data to obtain the target attribute data.

[0024] In some embodiments, the target geometric data includes vertex coordinates, texture mapping coordinates, normal vectors, and index values. The vertex coordinates are used to define the shape and structure of the reservoir 3D simulation model, the texture mapping coordinates are used to map image textures onto the reservoir 3D simulation model, the normal vectors are used for lighting processing and rendering, and the index values ​​are used to reference vertices.

[0025] In some embodiments, the initial attribute data includes initial static attribute data and initial dynamic attribute data. The initial static attribute data is used to describe the basic attributes of the reservoir three-dimensional simulation model, and the initial dynamic attribute data is used to describe the corresponding results of numerical simulation based on the reservoir three-dimensional simulation model.

[0026] In some embodiments, the lightweight model data includes lightweight geometric data and lightweight attribute data; the lightweight geometric data includes multiple vertex coordinates and an index value corresponding to each vertex coordinate, each triangle indicated by the lightweight data includes three index values ​​corresponding to different vertex coordinates, the lightweight attribute data includes attribute data corresponding to each tree node, and the lightweight attribute data is stored in a server.

[0027] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory being used to store at least one computer program, the at least one computer program being loaded and executed by the processor to implement the data processing method for the reservoir three-dimensional simulation model in the embodiments of this application.

[0028] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor to implement the data processing method of the reservoir three-dimensional simulation model in the embodiments of this application.

[0029] On the other hand, a computer program product is provided, including a computer program that is executed by a processor to implement the data processing method for the reservoir three-dimensional simulation model in the embodiments of this application.

[0030] This application provides a data processing method for a three-dimensional reservoir simulation model. In this method, initial reservoir model data is obtained by parsing the model data file of the three-dimensional reservoir simulation model. Then, the initial reservoir model data is converted to a new format to obtain the target reservoir model data. For the parsed and converted data, data compression and fragmentation are performed according to a preset storage strategy, thereby achieving lightweight processing and lightweight storage. This method achieves format conversion of model data, reduces model size, decreases processing pressure, and improves operating efficiency. Based on the above technical solution, it is possible to read and convert files of underground reservoir three-dimensional twin models, facilitating the subsequent display of the reservoir three-dimensional simulation model on platforms other than reservoir numerical simulation software, such as rendering, displaying, and interacting with the reservoir three-dimensional simulation model in a browser, while ensuring that geometric information and attribute characteristics are consistent with the original model. This enables the widespread application of reservoir three-dimensional simulation models and improves their versatility and utilization. Attached Figure Description

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

[0032] Figure 1 This is a flowchart of a data processing method for a three-dimensional simulation model of a reservoir according to an embodiment of this application;

[0033] Figure 2 This is a flowchart of another data processing method for a three-dimensional reservoir simulation model provided in the embodiments of this application;

[0034] Figure 3 This is a schematic diagram of a corner grid provided in this application;

[0035] Figure 4 This is a schematic diagram of a class library provided according to an embodiment of this application;

[0036] Figure 5 This is a schematic diagram of a data parsing result provided according to an embodiment of this application;

[0037] Figure 6 This is a schematic diagram of a mesh conversion process provided according to an embodiment of this application;

[0038] Figure 7 This is a schematic diagram illustrating the visualization of model parameters in a numerical simulation software according to an embodiment of this application;

[0039] Figure 8 This is a schematic diagram illustrating the visualization of model parameters in this system according to an embodiment of this application;

[0040] Figure 9 This is a block diagram of a data processing system for a three-dimensional reservoir simulation model provided in an embodiment of this application;

[0041] Figure 10 This is a schematic diagram of the structure of a terminal according to an embodiment of this application;

[0042] Figure 11 This is a schematic diagram of the structure of a server according to an embodiment of this application. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0044] In this application, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function. It should be understood that there is no logical or temporal dependency between "first," "second," and "n," nor is there any limitation on the quantity or execution order.

[0045] In this application, the term "at least one" means one or more, and "multiple" means two or more.

[0046] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the model data files involved in this application were obtained with full authorization.

[0047] Figure 1 This is a flowchart of a data processing method for a three-dimensional reservoir simulation model according to an embodiment of this application. The method is applied to a data processing system for a three-dimensional reservoir simulation model and includes the following steps:

[0048] 101. The system parses the model data file of any reservoir 3D simulation model to obtain the initial reservoir model data. The model data file includes a mesh file, an attribute file, and a dynamic result file. The initial reservoir model data indicates that the reservoir 3D simulation model is a corner mesh model. The initial reservoir model data includes initial geometric data and initial attribute data.

[0049] In this embodiment, the mesh file is used to define the geometric features of the mesh structure, such as point coordinates, coordinate lines, and depth coordinates. The attribute file contains static attribute information, such as porosity, permeability, and net-to-gross ratio. The attribute file is used to provide the starting state for the simulation. The dynamic result file contains dynamic attribute information, such as pressure field, oil-gas-water saturation field, and dissolved gas-oil ratio. The dynamic result file is used to restart the simulation and for analysis and debugging. Initial attribute data is divided into initial static attribute data and initial dynamic attribute data. Initial static attribute data is used to describe the basic attributes of the reservoir 3D simulation model, and initial dynamic attribute data is used to describe the corresponding results of numerical simulation based on the reservoir 3D simulation model.

[0050] Optionally, the model data file is the output file of the numerical simulation software. Based on the understanding of the corner mesh and reservoir attribute parameters, the model data file of the three-dimensional reservoir simulation model can be parsed to obtain the initial reservoir model data. Through the attribute parameter values ​​in the initial reservoir model data, the physical structural characteristics of the three-dimensional reservoir simulation model can be defined, the pore structure and porosity-permeability characteristics of the reservoir can be characterized, which helps to predict the reservoir development effect.

[0051] 102. The system converts the initial reservoir model data into a format to obtain the target reservoir model data. The target reservoir model data indicates that the three-dimensional simulation model of the reservoir after format conversion is a triangular mesh model. The target reservoir model data includes target geometric data and target attribute data.

[0052] In this embodiment of the application, the initial reservoir model data needs to be format-converted, requiring the corner mesh model to be converted into a triangular mesh model. Accordingly, the target geometric data is stored in the form of a triangular mesh.

[0053] In this context, a triangular mesh refers to a polygonal mesh composed entirely of triangles. Triangular meshes allow continuous surfaces or volumes to be discretized into a series of triangles. The basic unit of a triangular mesh is the triangle itself. Each triangle consists of three vertices and three sides, and multiple triangles are interconnected by sharing vertices or sides to form a complete mesh structure. The transformation from a corner mesh model to a triangular mesh model is achieved by converting each face of each hexahedron into two corresponding triangles.

[0054] 103. Based on a preset storage strategy, the system performs lightweight storage on the target reservoir model data to obtain lightweight model data of the reservoir three-dimensional simulation model. The preset storage strategy indicates that the target reservoir model data is compressed and fragmented.

[0055] In this embodiment, the lightweight model data includes lightweight geometric data and lightweight attribute data. The lightweight geometric data includes multiple vertex coordinates and an index value corresponding to each vertex coordinate. Each triangle indicated by the lightweight data includes three index values ​​corresponding to different vertex coordinates. The lightweight attribute data is associated with the lightweight geometric data through a unique identifier. The lightweight model data is stored in fragments in the form of a model structure tree, which includes tree nodes corresponding to different vertices and different meshes. It should be noted that this is an exemplary method of storing lightweight model data in blocks, and this embodiment does not limit its scope.

[0056] This application provides a data processing method for a three-dimensional reservoir simulation model. In this method, initial reservoir model data is obtained by parsing the model data file of the three-dimensional reservoir simulation model. Then, the initial reservoir model data is converted to a new format to obtain the target reservoir model data. For the parsed and converted data, data compression and fragmentation are performed according to a preset storage strategy, thereby achieving lightweight processing and lightweight storage. This method achieves format conversion of the model data, reducing the model size. Based on the above technical solution, it is possible to read and convert files of underground reservoir three-dimensional twin models, facilitating the subsequent display of the reservoir three-dimensional simulation model on platforms other than reservoir numerical simulation software, such as rendering, displaying, and interacting with the reservoir three-dimensional simulation model in a browser, while ensuring that the geometric information and attribute characteristics are consistent with the original model. This enables the widespread application of reservoir three-dimensional simulation models and improves their versatility and utilization.

[0057] The above Figure 1 This paper introduces a simplified process for data processing of three-dimensional reservoir simulation models. A detailed explanation follows. (See below for more information.) Figure 2 As shown. Figure 2 This is a flowchart of another data processing method for a three-dimensional reservoir simulation model according to an embodiment of this application. The method is applied to a data processing system for a three-dimensional reservoir simulation model and includes the following steps:

[0058] 201. The system parses the model data file of any reservoir 3D simulation model to obtain the initial reservoir model data.

[0059] In this embodiment, the model data file includes a mesh file, an attribute file, and a dynamic results file. The mesh file defines the geometric features of the mesh structure, including point coordinates, coordinate lines, and depth coordinates. The attribute file contains static attribute information, such as porosity, permeability, and net-to-gross ratio. The attribute file is crucial for simulation processes such as history fitting and future prediction, providing the starting state of the simulation. The dynamic results file contains dynamic attribute information, such as pressure fields, oil-gas-water saturation fields, and dissolved gas-oil ratios. The dynamic results file is used to restart the simulation and for analysis and debugging. More specifically, the dynamic results file indicates the state under specific conditions; that is, the dynamic results file includes the results of each time step of the numerical simulation. This allows users to restart the simulation process after an interruption and continue from the last saved state.

[0060] The following explanation uses the example of a model data file output by the numerical simulation software Eclipse. The output file of this software consists of three parts: a mesh file, a property file, and a dynamic result file. The software supports both single-file and multi-file output modes, and offers both binary and text formats. Text files, when used as output files, consume significant memory, are inefficient and time-consuming to read, severely reducing the efficiency of model visualization. Binary files, on the other hand, are more efficient and faster to read. Therefore, in this embodiment, the model data file is selected from the binary format output by the numerical simulation software.

[0061] To facilitate the description of the file type, file format, and file extension of the output files of this numerical simulation software, please refer to Table 1 below.

[0062] Table 1. Information on Eclipse output files

[0063]

[0064]

[0065] Since the model data files in this embodiment use the binary format output by the numerical simulation software, the extensions for mesh files and attribute files in the model data files are GRID or EGRID, INIT, and UNRST or Xnnnn. It should be noted that the EGRID format saves more memory space than the GRID format, as it does not need to store a large number of overlapping corner coordinates, only recording coordinate lines and depth coordinate information. Therefore, the model data files can further use EGRID format mesh files.

[0066] It should be noted that the above-mentioned file selection is only illustrative and does not constitute a limitation. This application embodiment supports the selection of result files output by other numerical simulation software as model data files, and supports the selection of model data files in other formats, which will not be elaborated here.

[0067] Based on the understanding of corner meshes and reservoir attribute parameters, it is possible to parse the model data file of the 3D reservoir simulation model, thereby obtaining the initial reservoir model data, which is a type of intermediate data. Since the initial reservoir model data indicates that the 3D reservoir simulation model is a corner mesh model, a brief introduction to corner meshes is given. Corner meshes are structured meshes, and the number of corner mesh divisions in the X, Y, and Z directions is set to NI, NJ, and NK respectively. Therefore, the number of meshes in the XY plane is NI*NJ, and the total number of 3D meshes is NI*NJ*NZ.

[0068] In this context, the X, Y, and Z directions refer to three mutually perpendicular directions. These three directions indicate the grid coordinate system. For example, by taking the top-left corner as the origin of the grid coordinate system, the left direction as the X direction, the outer edge of the screen as the Y direction, and the bottom direction as the Z direction, a grid coordinate system can be constructed. The grid coordinate system allows us to determine the coordinates of a specific vertex within the grid model. It's important to note that the grid coordinate system remains unchanged during subsequent data transformations; that is, the specific numerical values ​​of the vertex coordinates remain the same.

[0069] For a clearer description of the corner mesh, see [link to relevant documentation]. Figure 3 As shown, Figure 3 This is a schematic diagram of a corner grid according to the present application. Wherein, Figure 3 Figure (a) is a schematic diagram of a corner grid arrangement. Figure 3 Figure (b) is a schematic diagram illustrating the sorting of vertex coordinates of a corner grid. See also Figure 3 As shown in Figure (a), there are 3 grids in each of the X, Y, and Z directions, so there are 9 grids in the XY plane and a total of 27 grids in the three dimensions.

[0070] In this embodiment, the initial reservoir model data includes initial geometric data and initial attribute data. The initial attribute data is further divided into initial static attribute data and initial dynamic attribute data. The initial static attribute data describes the basic attributes of the three-dimensional reservoir simulation model, while the initial dynamic attribute data describes the corresponding results of numerical simulations based on the three-dimensional reservoir simulation model. The initial reservoir model data indicates that the three-dimensional reservoir simulation model is a corner mesh model.

[0071] The initial geometric data includes parameter values ​​such as DX (representing the grid step size in the X direction), DY (representing the grid step size in the Y direction), DZ (representing the grid thickness in the Z direction), DEPTH (representing the grid center depth), and TOPS (representing the top depth), as well as parameter values ​​such as COORD (defining the coordinate system) and ZCORN (defining the eight vertices of each grid). The grid center depth is used to determine the specific location of the grid. The top depth is used to describe the specific location of the top surface of the grid. The initial static attribute data includes parameter values ​​such as NTG (representing the net-to-gross ratio), PORO (representing porosity), PORV (representing pore volume), PERM (representing permeability), and TRANX (representing conductivity). The net-to-gross ratio represents the ratio of net reservoir volume to total reservoir volume, used to assess the effective reservoir storage space. Porosity represents the percentage of pore volume to total volume. Pore volume represents the total volume of pores. Permeability represents the ability of fluids to pass through pores. Conductivity represents the ability of fluids to conduct, used to describe the flow characteristics of fluids in the reservoir. The initial dynamic attribute data includes parameter values ​​such as PRESSURE (pressure), RS (dissolved gas-oil ratio), SGAS (gas saturation), SOIL (oil saturation), and SWAT (water saturation). The dynamic attributes correspond to time steps. Pressure represents the fluid pressure in the reservoir. Dissolved gas-oil ratio represents the ratio of dissolved gas to crude oil volume. Gas saturation represents the volume percentage of gas in the reservoir. Oil saturation represents the volume percentage of crude oil in the reservoir. Water saturation represents the volume percentage of water in the reservoir.

[0072] To facilitate the description of parameter types, parameter keywords, and parameter meanings in the initial reservoir model data, please refer to Table 2 below.

[0073] Table 2 Initial reservoir model data

[0074]

[0075]

[0076] By using the attribute parameter values ​​in the initial reservoir model data, the physical structural characteristics of the reservoir's three-dimensional simulation model can be defined, the pore structure and porosity-permeability of the reservoir can be characterized, which helps to predict the reservoir development effect, formulate reasonable development strategies, and select the best development scheme.

[0077] For a clearer description of how data parsing is implemented, see [link to documentation]. Figure 4 As shown, Figure 4 This is a schematic diagram of a class library provided according to an embodiment of this application. The class library is built using a programming language. The system can read and parse model data files by calling this class library.

[0078] For a clearer description of the data parsing results, please refer to [link / reference]. Figure 5 As shown, Figure 5 This is a schematic diagram of a data parsing result provided according to an embodiment of this application. When the model is successfully read, the number and keywords of static attributes and dynamic attributes, as well as the time steps, total number of grids, number of valid grids, and output file name, will be displayed. For example, the total number of grids is 24 * 25 * 12 = 7200, the number of static attributes is 45, the number of time steps is 41, and the number of dynamic attributes is 10.

[0079] 202. The system converts the format of the initial geometric data to obtain the target geometric data.

[0080] In this embodiment of the application, the reservoir 3D simulation model after the target geometric data indicator format is converted is a triangular mesh model. Accordingly, the target geometric data is stored in the form of a triangular mesh.

[0081] Triangular meshes are polygonal meshes composed entirely of triangles. They allow continuous surfaces or volumes to be discretized into a series of triangles. The basic unit of a triangular mesh is the triangle itself. Each triangle consists of three vertices and three sides, and multiple triangles are connected to each other by sharing vertices or sides to form a complete mesh structure. Choosing triangular meshes for 3D model rendering not only simplifies the subsequent model rendering process, reduces computational load, and avoids various problems that may occur in polygon rendering, but also ensures compatibility with graphics APIs (Application Programming Interfaces) such as WebGL (Web Graphics Library), enabling the creation and rendering of complex graphics and models in a browser.

[0082] In some embodiments, the target geometric data includes vertex coordinates, texture mapping coordinates, normal vectors, and index values. Vertex coordinates define the shape and structure of the reservoir 3D simulation model, texture mapping coordinates map image textures onto the reservoir 3D simulation model, normal vectors are used for lighting processing and rendering, and index values ​​reference vertices. Optionally, the target geometric data can be divided into vertex data and triangle data. Vertex data indicates information about all vertices in the triangular mesh, including vertex coordinates, texture mapping coordinates, and normal vectors for each vertex. Triangle data indicates information about all triangles in the triangular mesh; each triangle consists of three index values, each pointing to a vertex in the vertex data.

[0083] The transformation from a corner mesh model to a triangular mesh model is achieved by converting each face of each hexahedron into two corresponding triangles. Accordingly, each original hexahedral mesh includes 8 vertices and 6 quadrilaterals. Each triangular mesh includes 8 vertices, corresponding to 8 vertex coordinates, 8 texture mapping coordinates, and 8 normal vectors. Each triangular mesh also includes 12 triangles and 36 index values. That is, each triangle consists of 3 index values, each of which corresponds to a vertex.

[0084] For a clearer description of the specific mesh transformation method, please refer to [link / reference]. Figure 6 As shown, Figure 6 This is a schematic diagram of a mesh transformation process provided according to an embodiment of this application. Wherein, Figure 6 Figure (a) shows a schematic diagram of converting the top and bottom surfaces of a hexahedral mesh into a triangular mesh. Figure 6 Figure (b) shows a schematic diagram of converting the left and right faces of a hexahedral mesh into a triangular mesh. Figure 6 Figure (c) shows a schematic diagram of converting the front and back sides of a hexahedral mesh into a triangular mesh. Each quadrilateral in the original hexahedral mesh is converted into two corresponding triangles as shown in the diagram.

[0085] In some embodiments, mesh coordinate data forms the basis for the transformation to triangular meshes. Accordingly, the system determines mesh coordinate data based on initial geometric data, which includes the vertex coordinates of multiple hexahedral meshes in the corner mesh model; based on the mesh coordinate data, the system determines target geometric data according to a preset transformation rule, which is used to transform each face of each hexahedral mesh in the corner mesh model into two triangles respectively.

[0086] For a clearer description of the process of extracting grid coordinate data, see [link to documentation]. Figure 3 As shown in Figure (a), during the extraction of grid coordinate data, the coordinate information of the grids in layers k2, k3, ..., kn are read sequentially downwards from the top layer k1 along the k(z) direction. For each grid layer, the coordinate information of the grids in subsequent rows is read sequentially from the first row along the i(x) direction. For example, for the k1-th grid layer, the coordinate information of each grid is read sequentially according to the grid numbers (1, 1, 1), (2, 1, 1), (3, 1, 1), (1, 2, 1), (2, 2, 1), (3, 2, 1), (1, 3, 1), (2, 3, 1), (3, 3, 1). See also Figure 3 As shown in Figure (b), during the process of extracting the coordinate information of each grid, for each corner hexahedral grid, the coordinates of the eight vertices of the grid are recorded in the order of numbered vertices P1, P2, P3, P4, P5, P6, P7, and P8.

[0087] 203. The system reorganizes the initial attribute data based on the target geometric data to obtain the target attribute data.

[0088] In this embodiment, the target attribute data includes target static attribute data and target dynamic attribute data. The target static attribute data is used to describe the basic attributes of the transformed reservoir 3D simulation model, and the target dynamic attribute data is used to record the numerical simulation results of the transformed reservoir 3D simulation model.

[0089] In this context, each initial cell in the untransformed corner mesh, indicated by the initial geometric data, is associated with a corresponding data point in the initial attribute data. This initial cell is either a hexahedral mesh or a vertex within a hexahedral mesh. Similarly, each target cell in the transformed triangular mesh, indicated by the target geometric data, is associated with a corresponding data point in the target attribute data. This target cell is either a triangle or a vertex within a triangle.

[0090] In some embodiments, the initial attribute data is reorganized according to the correspondence between the initial unit and the target unit. For any initial unit indicated by the initial geometric data, a portion of the initial attribute data associated with the initial unit is determined; based on the correspondence between the initial unit and the target unit, the target unit corresponding to the initial unit is determined; the portion of the initial attribute data is associated with the target unit corresponding to the initial unit to obtain the transformed target attribute data.

[0091] Specifically, when the initial element is a hexahedral mesh and the target element is a triangle, the correspondence between the initial and target elements indicates the correspondence between each face of the hexahedral mesh and the corresponding triangle. When the initial element is a vertex in the hexahedral mesh and the target element is a vertex in a triangle, the correspondence between the initial and target elements indicates the correspondence between the hexahedral mesh containing the vertex and the triangle containing the vertex.

[0092] It should be noted that steps 202 and 203 above are an exemplary method for converting the format of the initial reservoir model data to obtain the target reservoir model data. The target reservoir model data includes target geometric data and target attribute data. The target reservoir model data indicates that the reservoir 3D simulation model after format conversion is a triangular mesh model. Through the format conversion of the initial reservoir model data in steps 202 and 203 above, the parsed initial reservoir model data is converted into the system's internal format. The internal data storage framework corresponding to the system's internal format is based on WebGL or WebGPU 3D graphics technology, which will not be elaborated here.

[0093] 204. Based on a preset storage strategy, the system performs lightweight storage of the target reservoir model data to obtain lightweight model data of the reservoir three-dimensional simulation model.

[0094] In this embodiment, a preset storage strategy instructs the target reservoir model data to be compressed and fragmented. That is, the system addresses the model's lightweighting issue from two aspects, relying on two backend service technologies: data compression and data fragmentation.

[0095] The lightweight model data includes lightweight geometric data and lightweight attribute data. The lightweight geometric data includes multiple vertex coordinates and the corresponding index value for each vertex coordinate. Each triangle indicated by the lightweight data includes three index values ​​corresponding to different vertex coordinates. That is, the transformed triangular mesh forms a regular hexahedron. Vertex coordinates shared by adjacent hexahedrons are reused through indexing, thereby achieving data compression of the target geometric data and reducing the corresponding data volume. The lightweight attribute data is stored on the server. The lightweight attribute data is associated with the lightweight geometric data through a unique identifier. This identifier can correspond to each hexahedron mesh or each vertex; this embodiment does not impose any limitation on this. By storing the attribute data on the server, lightweight local storage is achieved. By associating the attribute data with the geometric data, subsequent data reading and retrieval processes are facilitated.

[0096] The lightweight model data is stored in fragments as a model structure tree, which includes tree nodes corresponding to different vertices and meshes. The lightweight attribute data includes the attribute data corresponding to each tree node. In other words, by storing the lightweight model data in blocks, data fragmentation is achieved, improving data rendering and display efficiency.

[0097] To facilitate the description of the storage method for the target reservoir model data, a summary is provided below. Based on geometric data, static attribute data, and dynamic attribute data, a suitable data storage framework was determined. This framework is used to store three types of data. The first type of data is the model structure tree used to organize the lightweight model data. The second type of data is lightweight geometric data stored in the form of a triangular mesh. The third type of data is lightweight attribute data stored on the server, including attribute names, attribute values, and attribute groupings.

[0098] 205. The system renders the reservoir 3D simulation model on the browser based on lightweight model data and interacts with the reservoir 3D simulation model.

[0099] In this embodiment, based on data parsing, format conversion, and lightweight storage, the amount of model data is reduced, which facilitates efficient rendering and interaction of the model.

[0100] In some embodiments, during real-time interaction with the reservoir 3D simulation model, the system employs a visibility preprocessing method based on model geometric features. Based on the visibility preprocessing results, relevant data is extracted from the grid data structure where the viewpoint is located for calculation. This eliminates the need for the system to process the entire reservoir 3D simulation model, thereby improving real-time calculation speed. Here, the viewpoint refers to the part of the model structure to be rendered and interacted with. This grid data structure is also known as the model structure tree. When a part of the converted reservoir 3D simulation model is queried, the corresponding lightweight geometric data is retrieved from the local machine or server, and the corresponding lightweight attribute data is retrieved from the server, thus reducing the difficulty of local storage and achieving lightweight local storage.

[0101] It should be noted that since this system analyzes and reproduces the original grid data, the interactive requirements it supports include those supported by numerical simulation software. Accordingly, the system supports various interactions with the reservoir 3D simulation model, including zooming, translation, rotation, highlighting, showing / hiding, viewpoint control, sectioning, and panning. A rainbow color scale is applied to characterize and define various attribute parameters of the reservoir 3D simulation model, thereby achieving the desired display effect and improving the intuitiveness and efficiency of information presentation.

[0102] In some embodiments, CTM database technology is employed to store, read, parse, and transform geometric objects in a triangular mesh data format. This means storing lightweight geometric data in a triangular mesh data format and encrypting the corresponding database. The CTM database uses B+ tree disk storage and data compression technology. Its layered architecture facilitates data partitioning and management, while providing powerful multidimensional analysis and data mining capabilities. It also features high security, reliability, and easy deployment and scalability.

[0103] To better illustrate the visualization of the reservoir 3D simulation model in numerical simulation software and its visualization in this system, please refer to [link / reference]. Figure 7 and Figure 8 As shown, Figure 7 This is a schematic diagram illustrating the visualization of model parameters in numerical simulation software according to an embodiment of this application. Figure 8 This is a schematic diagram illustrating the visualization of model parameters in this system according to an embodiment of this application. Figure 7 Figure (a) shows the visualization of the center depth parameter DEPTH in the numerical simulation software. Figure 7 Figure (b) shows the visualization of the porosity parameter PORO in the numerical simulation software. Figure 8 Figure (a) shows the visualization of the center depth parameter DEPTH in this system. Figure 8Figure (b) shows the visualization of the porosity parameter PORO in this system. (Through...) Figure 7 and Figure 8 It can be seen that the display effect of the reservoir 3D simulation model is similar in numerical simulation software and in this system, and both can clearly represent the changes in model attribute values.

[0104] This application provides a data processing method for a three-dimensional reservoir simulation model. In this method, initial reservoir model data is obtained by parsing the model data file of the three-dimensional reservoir simulation model. Then, the initial reservoir model data is converted to a new format to obtain the target reservoir model data. For the parsed and converted data, data compression and fragmentation are performed according to a preset storage strategy, thereby achieving lightweight processing and lightweight storage. Finally, the three-dimensional reservoir simulation model is rendered and displayed using computer graphics technology. This method reduces the model size, decreases processing pressure, and improves operating efficiency. The method enables the reading and conversion of the model data file of the three-dimensional reservoir simulation model, and also enables the rendering and display of the three-dimensional reservoir simulation model on a browser. Because this solution ensures the consistency of model features with the original model features, and enables the display and interaction of the model on platforms other than numerical simulation software, it facilitates integrated twin simulation of above-ground and underground systems, realizing the integrated display and analysis management of the entire oilfield industry chain on different platforms and systems. This enables the widespread application of the three-dimensional reservoir simulation model and improves the model's versatility and utilization.

[0105] Figure 9 This is a block diagram of a data processing system for a three-dimensional reservoir simulation model according to an embodiment of this application. The system is used to execute the steps of the data processing method for the aforementioned three-dimensional reservoir simulation model, see [link to relevant documentation]. Figure 9 The data processing system for the three-dimensional simulation model of the reservoir includes: a data acquisition module 901, a data processing module 902, a data storage module 903, a user interaction module 904, and a system management module 905.

[0106] The data acquisition module 901 is used to acquire the model data file of the reservoir three-dimensional simulation model and parse the model data file to obtain the initial reservoir model data. The model data file includes a mesh file, an attribute file, and a dynamic result file. The initial reservoir model data indicates that the reservoir three-dimensional simulation model is a corner mesh model. The initial reservoir model data includes initial geometric data and initial attribute data.

[0107] Data processing module 902 is used to convert the initial reservoir model data into the internal storage format of the data processing system for the reservoir three-dimensional simulation model, thereby obtaining the target reservoir model data. The target reservoir model data indicates that the reservoir three-dimensional simulation model after the format conversion is a triangular mesh model. The target reservoir model data includes target geometric data and target attribute data.

[0108] Data storage module 903 is used to fragment the target reservoir model data according to the model structure tree to obtain lightweight model data of the reservoir three-dimensional simulation model. The model structure tree includes tree nodes corresponding to different vertices and different grids.

[0109] User interaction module 904 is used to enable rendering and interaction of the reservoir 3D simulation model on the browser side;

[0110] System management module 905 is used to manage other modules in the data processing system.

[0111] In some embodiments, the data processing module 902 is further configured to determine grid coordinate data based on initial geometric data, the grid coordinate data including vertex coordinates of multiple hexahedral grids in the corner grid model; determine target geometric data based on the grid coordinate data according to a preset transformation rule, the preset transformation rule being used to convert each face of each hexahedral grid in the corner grid model into two triangles respectively; and reorganize the initial attribute data based on the target geometric data to obtain target attribute data.

[0112] In some embodiments, the target geometric data includes vertex coordinates, texture mapping coordinates, normal vectors, and index values. Vertex coordinates are used to define the shape and structure of the reservoir 3D simulation model, texture mapping coordinates are used to map image textures onto the reservoir 3D simulation model, normal vectors are used for lighting processing and rendering, and index values ​​are used to reference vertices.

[0113] In some embodiments, the initial attribute data includes initial static attribute data and initial dynamic attribute data. The initial static attribute data is used to describe the basic attributes of the reservoir three-dimensional simulation model, and the initial dynamic attribute data is used to describe the corresponding results of numerical simulation based on the reservoir three-dimensional simulation model.

[0114] In some embodiments, the data storage module 903 is further configured to implement the storage function of the internal data format, the storage function including establishing a model structure tree to manage the lightweight model data, the storage function also including the triangular mesh information transformed by the lightweight geometric data storage, and the storage function also including storing lightweight attribute information through a database server.

[0115] In some embodiments, lightweight model data includes lightweight geometric data and lightweight attribute data; lightweight geometric data includes multiple vertex coordinates and an index value corresponding to each vertex coordinate, each triangle indicated by the lightweight data includes three index values ​​corresponding to different vertex coordinates, and lightweight attribute data includes attribute data corresponding to each tree node, and lightweight attribute data is stored in a server.

[0116] This application provides a data processing system for a three-dimensional reservoir simulation model. Through the aforementioned modules, this system can realize multiple functions, including front-end interface display, back-end services, database services, data visualization framework, scene management, API interface communication, and user authentication and authorization. Specifically, this system can read and convert model data files of the three-dimensional reservoir simulation model, and can also render and display the model in a browser. This system reduces the model size, decreases processing pressure, and improves operating efficiency. Because this system, while ensuring consistency between the model features and the original model features, enables model display and interaction on platforms other than numerical simulation software, it facilitates integrated twin simulation of above-ground and underground systems. It enables integrated display and analysis management of the entire oilfield industry chain across different platforms and systems, achieving widespread application of the three-dimensional reservoir simulation model and improving its versatility and utilization.

[0117] It should be noted that the data processing system for the reservoir 3D simulation model provided in the above embodiments is only illustrated by the division of the above functional modules when running the application. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal can be divided into different functional modules to complete all or part of the functions described above. In addition, the data processing system for the reservoir 3D simulation model provided in the above embodiments and the data processing method embodiments for the reservoir 3D simulation model belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0118] Figure 10 This is a schematic diagram of a terminal according to an embodiment of this application. The terminal 1000 can be a portable mobile terminal, such as a smartphone, tablet, laptop, or desktop computer. The terminal 1000 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other names. The terminal 1000 may be equipped with one or more modules from the data processing system of the reservoir three-dimensional simulation model provided in the above embodiments.

[0119] Typically, terminal 1000 includes a processor 1001 and a memory 1002.

[0120] Processor 1001 may include one or more processing cores, such as a quad-core processor, a deca-core processor, etc. Processor 1001 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1001 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1001 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0121] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1002 are used to store at least one computer program, which is executed by the processor 1001 to implement the data processing method for the reservoir three-dimensional simulation model provided in the method embodiments of this application.

[0122] In some embodiments, the terminal 1000 may also optionally include a peripheral device interface 1003 and at least one peripheral device. The processor 1001, memory 1002, and peripheral device interface 1003 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007, and a power supply 1008.

[0123] Peripheral device interface 1003 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1001 and memory 1002. In some embodiments, processor 1001, memory 1002 and peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1001, memory 1002 and peripheral device interface 1003 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0124] The radio frequency (RF) circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1004 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1004 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1004 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0125] Display screen 1005 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1005 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1001 for processing. In this case, display screen 1005 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1005, disposed on the front panel of terminal 1000; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments, display screen 1005 may be a flexible display screen, disposed on a curved or folded surface of terminal 1000. Furthermore, display screen 1005 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0126] The camera assembly 1006 is used to acquire images or videos. In some embodiments, the camera assembly 1006 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0127] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1001 for processing, or input to the radio frequency circuit 1004 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1000. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1007 may also include a headphone jack.

[0128] The power supply 1008 is used to power the various components in the terminal 1000. The power supply 1008 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0129] In some embodiments, the terminal 1000 further includes one or more sensors 1009. The one or more sensors 1009 include, but are not limited to: an acceleration sensor 1010, a gyroscope sensor 1011, a pressure sensor 1012, an optical sensor 1013, and a proximity sensor 1014.

[0130] Accelerometer 1010 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal 1000. For example, accelerometer 1010 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1001 can control display screen 1005 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1010. Accelerometer 1010 can also be used for games or for acquiring user motion data.

[0131] The gyroscope sensor 1011 can detect the orientation and rotation angle of the terminal 1000. The gyroscope sensor 1011 can work in conjunction with the accelerometer sensor 1010 to collect the user's 3D movements on the terminal 1000. Based on the data collected by the gyroscope sensor 1011, the processor 1001 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0132] The pressure sensor 1012 can be disposed on the side bezel of the terminal 1000 and / or on the lower layer of the display screen 1005. When the pressure sensor 1012 is disposed on the side bezel of the terminal 1000, it can detect the user's grip signal on the terminal 1000, and the processor 1001 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1012. When the pressure sensor 1012 is disposed on the lower layer of the display screen 1005, the processor 1001 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1005. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0133] An optical sensor 1013 is used to collect ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the display screen 1005 based on the ambient light intensity collected by the optical sensor 1013. Optionally, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is decreased. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera assembly 1009 based on the ambient light intensity collected by the optical sensor 1013.

[0134] The proximity sensor 1014, also known as a distance sensor, is installed on the front panel of the terminal 1000. The proximity sensor 1014 is used to detect the distance between the user and the front of the terminal 1000. In one embodiment, when the proximity sensor 1014 detects that the distance between the user and the front of the terminal 1000 is gradually decreasing, the processor 1001 controls the display screen 1005 to switch from a screen-on state to a screen-off state; when the proximity sensor 1014 detects that the distance between the user and the front of the terminal 1000 is gradually increasing, the processor 1001 controls the display screen 1005 to switch from a screen-off state to a screen-on state.

[0135] Those skilled in the art will understand that Figure 10 The structure shown does not constitute a limitation on terminal 1000 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0136] Figure 11This is a schematic diagram of a server structure according to an embodiment of this application. The server 1100 can deploy one or more modules from the data processing system of the reservoir three-dimensional simulation model provided in the above embodiments. The server 1100 can vary significantly due to different configurations or performance, and may include one or more Central Processing Units (CPUs) 1101 and one or more memories 1102. The memory 1102 stores at least one computer program, which is loaded and executed by the processor 1101 to implement the data processing method for the reservoir three-dimensional simulation model provided in the various method embodiments above. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated here.

[0137] This application also provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to implement the data processing method for the reservoir three-dimensional simulation model in the above embodiments. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, or optical data storage device, etc.

[0138] This application also provides a computer program product, including a computer program that is executed by a processor to implement the data processing method for the reservoir three-dimensional simulation model in this application embodiment.

[0139] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0140] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A data processing method for a three-dimensional simulation model of an oil reservoir, characterized in that, A data processing system for three-dimensional simulation models of oil reservoirs, the method comprising: Data parsing is performed on the model data file of any reservoir 3D simulation model to obtain initial reservoir model data. The model data file includes a mesh file, an attribute file, and a dynamic result file. The initial reservoir model data indicates that the reservoir 3D simulation model is a corner mesh model. The initial reservoir model data includes initial geometric data and initial attribute data. The initial reservoir model data is converted to obtain the target reservoir model data. The target reservoir model data indicates that the three-dimensional simulation model of the reservoir after the format conversion is a triangular mesh model. The target reservoir model data includes target geometric data and target attribute data. Based on a preset storage strategy, the target reservoir model data is stored in a lightweight manner to obtain lightweight model data of the reservoir three-dimensional simulation model. The preset storage strategy indicates that the target reservoir model data is compressed and fragmented.

2. The data processing method for a three-dimensional simulation model of an oil reservoir according to claim 1, characterized in that, The process of converting the initial reservoir model data to obtain the target reservoir model data includes: The initial geometric data is converted to a new format to obtain the target geometric data, which is stored in the form of a triangular mesh. Based on the target geometric data, the initial attribute data is reorganized to obtain the target attribute data.

3. The data processing method for a three-dimensional simulation model of an oil reservoir according to claim 2, characterized in that, The process of converting the format of the initial geometric data to obtain the target geometric data includes: Based on the initial geometric data, mesh coordinate data is determined, which includes the vertex coordinates of multiple hexahedral meshes in the corner mesh model; Based on the grid coordinate data, the target geometric data is determined according to a preset transformation rule. The preset transformation rule is used to transform each face of each hexahedral grid in the corner grid model into two triangles respectively.

4. The data processing method for a three-dimensional simulation model of an oil reservoir according to claim 2, characterized in that, The target geometric data includes vertex coordinates, texture mapping coordinates, normal vectors, and index values. The vertex coordinates are used to define the shape and structure of the reservoir 3D simulation model. The texture mapping coordinates are used to map image textures onto the reservoir 3D simulation model. The normal vectors are used for lighting processing and rendering. The index values ​​are used to reference vertices.

5. The data processing method for three-dimensional simulation models of oil reservoirs according to claim 2, characterized in that, The initial attribute data includes initial static attribute data and initial dynamic attribute data. The initial static attribute data is used to describe the basic attributes of the reservoir three-dimensional simulation model, and the initial dynamic attribute data is used to describe the corresponding results of numerical simulation based on the reservoir three-dimensional simulation model.

6. The data processing method for a three-dimensional reservoir simulation model according to claim 1, wherein the lightweight model data includes lightweight geometric data and lightweight attribute data, and the lightweight model data is stored in fragments in the form of a model structure tree, wherein the model structure tree includes tree nodes corresponding to different vertices and different grids; The lightweight geometric data includes multiple vertex coordinates and an index value corresponding to each vertex coordinate. Each triangle indicated by the lightweight data includes three index values ​​corresponding to different vertex coordinates. The lightweight attribute data includes attribute data corresponding to each tree node. The lightweight attribute data is stored in the server.

7. A data processing system for a three-dimensional simulation model of an oil reservoir, characterized in that, The data processing system for the reservoir 3D simulation model includes a data acquisition module, a data processing module, a data storage module, a user interaction module, and a system management module. The data acquisition module is used to acquire the model data file of the reservoir three-dimensional simulation model and to parse the model data file to obtain the initial reservoir model data. The model data file includes a mesh file, an attribute file, and a dynamic result file. The initial reservoir model data indicates that the reservoir three-dimensional simulation model is a corner mesh model. The initial reservoir model data includes initial geometric data and initial attribute data. The data processing module is used to convert the initial reservoir model data into the internal storage format of the data processing system of the reservoir three-dimensional simulation model to obtain the target reservoir model data. The target reservoir model data indicates that the reservoir three-dimensional simulation model after the conversion is a triangular mesh model. The target reservoir model data includes target geometric data and target attribute data. The data storage module is used to fragment the target reservoir model data according to the model structure tree to obtain the lightweight model data of the reservoir three-dimensional simulation model. The model structure tree includes tree nodes corresponding to different vertices and different grids. The user interaction module is used to enable rendering and interaction of the reservoir's three-dimensional simulation model on the browser side.

8. The data processing system for the three-dimensional simulation model of the reservoir according to claim 7, characterized in that, The data processing module is further configured to determine grid coordinate data based on the initial geometric data, the grid coordinate data including the vertex coordinates of multiple hexahedral grids in the corner grid model; based on the grid coordinate data, determine the target geometric data according to a preset transformation rule, the preset transformation rule being used to convert each face of each hexahedral grid in the corner grid model into two triangles respectively; and based on the target geometric data, reorganize the initial attribute data to obtain the target attribute data.

9. The data processing system for the three-dimensional simulation model of the reservoir according to claim 7, characterized in that, The lightweight model data includes lightweight geometric data and lightweight attribute data; The lightweight geometric data includes multiple vertex coordinates and an index value corresponding to each vertex coordinate. Each triangle indicated by the lightweight data includes three index values ​​corresponding to different vertex coordinates. The lightweight attribute data includes attribute data corresponding to each tree node. The lightweight attribute data is stored in the server.

10. A computer device, characterized in that, The computer device includes a processor and a memory, the memory being used to store at least one computer program, the at least one computer program being loaded and executed by the processor, and the data processing method for the reservoir three-dimensional simulation model according to any one of claims 1 to 6.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store at least one computer program, which is used to run the data processing method for the reservoir three-dimensional simulation model according to any one of claims 1 to 6.

12. A computer program product, comprising a computer program, characterized in that, The computer program, when run by a processor, implements the data processing method for the reservoir three-dimensional simulation model as described in any one of claims 1 to 6.