Method and device for generating legend of oilfield exploitation current situation diagram
By acquiring and verifying oilfield production data from the database, generating well location layers and adjusting map positions, the problems of time-consuming and obstructive generation of oilfield production status maps in the existing technology are solved, and efficient and accurate oilfield production status map display is achieved.
Patent Information
- Application Number
- CN202410345838.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-26
- Publication Date
- 2025-09-26
AI Technical Summary
The existing method for generating oilfield production status maps is too time-consuming, data acquisition and screening are cumbersome, parameter configuration is complex, and unreasonable map layout leads to occlusion and lack of information. Cumulative and daily production cannot be displayed simultaneously, making map reading difficult.
By obtaining oilfield production data from the database based on user requests, performing data verification and cleaning, generating a well location data layer, and using well identification symbols, half pie charts, and bar charts to form maps, the system automatically identifies and adjusts map positions, resolves overlapping areas, and combines them into a legend.
It improves data acquisition efficiency, displays more mining information, solves the problem of map occlusion, and realizes the rapid and accurate generation of oilfield mining status maps.
Smart Images

Figure CN120707688A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil and gas exploration and development, and in particular to a method and device for generating a legend for an oilfield mining status map. Background Art
[0002] Oilfield production status maps are often used to assist in geological research on oil and gas field development. A common approach involves collecting and organizing data such as well names and categories, importing this data into specialized software, and then using pie charts of varying radii to represent the fluid production of each well. Existing techniques, such as those proposed in "Microcomputer Applications," combine the functions of MapViewer software with parameter settings to create oil and gas field production status maps. However, this method requires complex parameter configuration and can result in occlusion issues.
[0003] Based on this, the existing technology has the following defects: First, the process of acquiring, screening and organizing oilfield production data takes too long; second, parameters such as cumulative production and daily production cannot be displayed at the same time, and information is lacking; third, the layout of the maps is unreasonable, resulting in some maps being too large, blocking the maps of neighboring wells, and increasing the difficulty of map recognition and reading.
[0004] Therefore, there is an urgent need for a new legend generation method for oil field production status maps. Summary of the Invention
[0005] In view of the above problems, the present invention is proposed to provide a method and device for generating a legend for an oilfield production status map that overcomes the above problems or at least partially solves the above problems.
[0006] Other features and advantages of the present invention will become apparent from the following detailed description, or may be learned in part by practice of the present invention.
[0007] According to a first aspect of an embodiment of the present invention, a method for generating a legend for an oilfield production status map is provided. The method for generating a legend for an oilfield production status map comprises:
[0008] Obtaining oilfield production data from a database based on a user's production data request, and automatically verifying the oilfield production data based on data cleaning technology to confirm whether the oilfield production data meets availability conditions, wherein the availability conditions include a first condition, a second condition, and a third condition. The first condition is that the oilfield production data meets the requirement of accuracy, the second condition is that the oilfield production data meets the requirement of no duplication, and the third condition is that the oilfield production data meets the requirement of completeness. The oilfield production data includes well location data and indicator data necessary for an oilfield production status map;
[0009] Generate a layer corresponding to the number of well locations in the well location data according to a user's layer request instruction or preset configuration information and based on the verified oil field production data;
[0010] Generate a corresponding map for each well location based on the verified oilfield production data, wherein the map consists of a well identification symbol, a half pie chart, and a bar chart;
[0011] Add the graphics corresponding to all well locations to the layers respectively, wherein the graphics for each well location are placed in one layer, and confirm whether there is an overlapping area on the display interface for the layers corresponding to all the graphics. For the layers with overlapping areas, move the graphics corresponding to any of the layers in the overlapping area to the blank area of the layer, and draw an indicator line from the well identification symbol to the half pie chart and the bar chart, and finally combine all the layers into a legend.
[0012] In some embodiments of the present invention, obtaining oilfield production data from a database based on a user's production data request includes:
[0013] Connect to the database based on the user's mining data request and verify the user's access permission level;
[0014] For users who meet the access permission level, the extraction data request is parsed and the corresponding oilfield extraction data is obtained from the database.
[0015] In some embodiments of the present invention, the method further comprises:
[0016] When the result of the verification is that the oilfield production data does not satisfy at least one of the first condition, the second condition, and the third condition, a problem report is generated and returned.
[0017] In some embodiments of the present invention, the method further includes: when the verification result shows that the oilfield production data does not meet the first condition and / or the third condition, selecting historical oilfield production data corresponding to the most recent time node of the oilfield production data as a replacement.
[0018] In some embodiments of the present invention, generating a corresponding map for each well location based on the verified oilfield production data includes:
[0019] Generate a corresponding well identification symbol for each well location according to the oilfield production data, mark the corresponding well location name, and place the well identification symbol at the center of the map;
[0020] A half-pie chart is arranged below the well identification symbol, wherein the setting radius of the half-pie chart is positively correlated with the cumulative production in the indicator data;
[0021] A bar graph is arranged above the well identification symbol, and the setting height of the bar graph is positively correlated with the daily output in the indicator data.
[0022] In some embodiments of the present invention, determining whether there is an overlapping area on the display interface between the layers corresponding to all the graphics includes:
[0023] It is determined whether all layers on the display interface overlap between half pie charts, between half pie charts and bar charts, and between bar charts and bar charts, wherein the corresponding judgment condition is selected according to the type of overlapping area.
[0024] In some embodiments of the present invention, selecting a corresponding judgment condition according to the type of the overlapping area includes:
[0025] For the half-pie charts, determine the left and right endpoint coordinates of any two half-pie charts in the diameter direction, calculate the corresponding areas of the two half-pie charts, and determine whether the two half-pie charts overlap based on the area size relationship between the two half-pie charts and the difference between the areas of the two half-pie charts.
[0026] For the half pie chart and the bar chart, respectively determine the coordinate values of the left and right endpoints of the half pie chart in the diameter direction and the coordinate values of the left and right endpoints above the bar chart, and determine whether the half pie chart and the bar chart overlap based on the relative positions of the left and right endpoints of the half pie chart in the diameter direction and the left and right endpoints above the bar chart;
[0027] For the bar graphs, the coordinate values of the lower left endpoint and the upper right endpoint of any two bar graphs are determined respectively, and whether the bar graphs overlap is determined based on the relative positions of the lower left endpoint and the upper right endpoint of the two bar graphs.
[0028] According to a second aspect of an embodiment of the present invention, a device for generating a legend for an oilfield production status map is provided, which is applied to any of the above methods for generating a legend for an oilfield production status map. The device for generating a legend for an oilfield production status map comprises:
[0029] a data screening module for obtaining oilfield production data from a database based on a user's production data request, and automatically verifying the oilfield production data based on data cleaning technology to confirm whether the oilfield production data meets availability conditions, wherein the availability conditions include a first condition, a second condition, and a third condition, wherein the first condition is that the oilfield production data meets the requirement of accuracy, the second condition is that the oilfield production data meets the requirement of no duplication, and the third condition is that the oilfield production data meets the requirement of completeness, and the oilfield production data includes the well location data and indicator data necessary for the oilfield production status map;
[0030] A layer calibration module is used to generate a layer corresponding to the number of well locations in the well location data according to a user's layer request instruction or preset configuration information and based on the verified oil field production data;
[0031] A map generating module, configured to generate a corresponding map for each well location based on the verified oilfield production data, wherein the map consists of a well identification symbol, a half pie chart, and a bar chart;
[0032] A legend generation module is used to add the graphics corresponding to all well locations to layers respectively, wherein the graphics for each well location are placed in one layer, and confirm whether there is an overlapping area on the display interface for the layers corresponding to all the graphics. For the layers with overlapping areas, the graphics corresponding to any of the layers in the overlapping area are moved to a blank area of the layer, and an indicator line is drawn from the well identification symbol to the half pie chart and the bar chart, and finally all the layers are combined into a legend.
[0033] According to a third aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which computer program instructions are stored. The computer program instructions are loaded and executed by a processor to implement the operations performed by any of the methods described above.
[0034] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided, comprising a processor and a memory, wherein the memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, it implements instructions of any of the methods described above.
[0035] The technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0036] An embodiment of the present invention provides a method and device for generating a legend for an oilfield exploitation status map. The method for generating a legend for an oilfield exploitation status map described in the embodiment of the present invention responds to a user's exploitation data request, and directly obtains the corresponding oilfield exploitation data from a corresponding database after selecting the oilfield exploitation data to be obtained, thereby improving the efficiency of data acquisition and reducing system time consumption. At the same time, one or more layers are generated according to the user's layer request instructions, so that more exploitation status information can be displayed, solving the problem in the prior art that cumulative output and daily output cannot be displayed at the same time. For the occlusion problem between maps caused by unreasonable layout, the method can also automatically identify the overlapping areas between maps and adjust the positions of the maps when overlap is confirmed, solving the problem of difficulty in map recognition caused by map occlusion.
[0037] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 A schematic flow chart of a method for generating a legend for an oilfield production status map provided by an embodiment of the present invention;
[0040] Figure 2 A reference schematic diagram of an oil well map in an embodiment of the present invention;
[0041] Figure 3 A reference schematic diagram of a water injection well diagram in an embodiment of the present invention;
[0042] Figure 4 A reference schematic diagram of overlapping drawings in an embodiment of the present invention;
[0043] Figure 5 This is a reference schematic diagram after the overlapping of drawings is removed in an embodiment of the present invention;
[0044] Figure 6 A schematic diagram of the principle structure of a device for generating a legend for an oilfield production status map provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] Exemplary embodiments of the present disclosure will be described below in more detail with reference to the accompanying drawings.
[0046] The accompanying drawings illustrate various schematic diagrams of structures according to embodiments of the present disclosure. These figures are not drawn to scale, and for the purpose of clarity, certain details are exaggerated and certain details may be omitted. The shapes of the various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary and may deviate in practice due to manufacturing tolerances or technical limitations. Those skilled in the art may design regions / layers with different shapes, sizes, and relative positions as needed.
[0047] In the context of this disclosure, when a layer / element is referred to as being "on" another layer / element, the layer / element may be directly on the other layer / element or an intervening layer / element may exist therebetween. Additionally, if a layer / element is "on" another layer / element in one orientation, the layer / element may be "below" the other layer / element when the orientation is reversed. In the context of this disclosure, similar or identical components may be denoted by the same or similar reference numerals.
[0048] In order to better understand the above technical solution, the above technical solution will be described in detail below in combination with specific implementation methods. It should be understood that the embodiments of the present disclosure and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations on the technical solution of the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0049] Figure 1 FIG. 1 is a flow chart of a method for generating a legend for an oilfield mining status map provided by an embodiment of the present invention. Figure 1 As shown in FIG, the legend generation method of the oilfield production status map includes the following steps:
[0050] S1. Obtaining oilfield production data from a database based on a user's production data request, and automatically verifying the oilfield production data based on data cleaning technology to confirm whether the oilfield production data meets availability conditions, wherein the availability conditions include a first condition, a second condition, and a third condition. The first condition is that the oilfield production data meets a requirement for accuracy, the second condition is that the oilfield production data meets a requirement for non-duplication, and the third condition is that the oilfield production data meets a requirement for completeness. The oilfield production data includes well location data and indicator data necessary for an oilfield production status map.
[0051] In an embodiment of the present invention, the database is the A2 database in the oil, gas and water well production data management system. The embodiment of the present invention responds to the user's production data request and obtains the corresponding oilfield production data from the corresponding database according to the production data request.
[0052] The oilfield production data includes the necessary well location data and indicator data for the oilfield production status map, wherein the well location data includes the oil production plant, operating area, block, combination unit, well location name and the corresponding number of well locations, etc. The indicator data includes cumulative production and daily production, such as daily liquid production, daily oil production, cumulative liquid production, cumulative oil production of oil production wells, daily water injection and cumulative water injection of injection wells, cumulative liquid production and cumulative oil production of shut-down oil production wells, cumulative water injection of shut-down injection wells, etc.
[0053] Specifically, the embodiment of the present invention needs to verify the user's identity information and the corresponding access permission level before feeding back the oilfield production data. The embodiment of the present invention obtains the oilfield production data from the database based on the user's production data request, including linking to the database according to the user's production data request, verifying the user's access permission level, and for users who meet the access permission level, parsing the production data request and obtaining the corresponding oilfield production data from the database, thereby improving the security of data acquisition.
[0054] At the same time, in order to ensure the availability of the acquired oilfield production data, an embodiment of the present invention verifies the oilfield production data based on data cleaning technology to confirm whether the oilfield production data meets the availability conditions. The availability conditions include a first condition, a second condition and a third condition. The first condition is that the oilfield production data meets the correctness requirement, the second condition is that the oilfield production data meets the non-duplication requirement, and the third condition is that the oilfield production data meets the integrity requirement. That is, for the availability of the oilfield production data, it is necessary to ensure that the oilfield production data is correct (correctness), non-duplication (singleness) and non-missing (integrity). When the verification result is that the oilfield production data does not meet at least one of the first condition, the second condition and the third condition, the embodiment of the present invention generates and returns a problem report. The problem report is used to send to data maintenance personnel and users to facilitate rapid confirmation of the problem and execution of subsequent production adjustments.
[0055] Among them, confirming that the oilfield production data meets the requirements for correctness means complying with natural and production laws, for example, the liquid production is greater than or equal to the oil production, the block production volume and injection volume are within a preset range, etc.; in some embodiments of the present invention, when the verification result is that the oilfield production data does not meet the first condition and / or the third condition, the embodiment of the present invention can select the historical oilfield production data most recent at the time node of the current oilfield production data as a replacement. If the verification result is that the oilfield production data does not meet the second condition, it can be selected to delete duplicate oilfield production data and generate a problem report.
[0056] S2. generating a layer corresponding to the number of well locations in the well location data according to a user's layer request instruction or preset configuration information and based on the verified oilfield production data;
[0057] The embodiment of the present invention selects a layer generation method based on the user's layer request instruction, and automatically generates a layer corresponding to the number of well locations in the well location data based on the verified oil field production data. In other embodiments of the present invention, one or more layers can also be generated according to the type of well location, or well locations of the same type can be configured in the same layer. The types of well locations include but are not limited to oil wells, water injection wells, shut-down oil wells, shut-down water injection wells, etc.
[0058] Of course, it should be noted that, in other embodiments of the present invention, one or more layers may also be directly generated through preset configuration information (configuration template).
[0059] S3. Generate a corresponding map for each well location based on the verified oilfield production data, wherein the map consists of a well identification symbol, a half pie chart, and a bar chart;
[0060] See Figure 2-3 As shown, it is a reference schematic diagram of the oil well map and the water injection well map in an embodiment of the present invention. The embodiment of the present invention generates a corresponding well identification symbol for each well location based on the oil field production data, and marks the corresponding well location name, and places the well identification symbol at the center of the map; a half pie chart is configured below the well identification symbol, and the setting radius of the half pie chart is positively correlated with the cumulative production in the indicator data; a bar chart is configured above the well identification symbol, and the setting height of the bar chart is positively correlated with the daily production in the indicator data.
[0061] For the half-pie chart, the half-pie chart sectors of oil production wells and shut-in oil production wells represent the cumulative oil and water production, and the setting radius of the half-pie chart is positively correlated with the cumulative liquid production (cumulative oil + cumulative water production); the half-pie chart sectors of water injection wells and shut-in water injection wells represent the cumulative water injection, and the setting radius of the half-pie chart is positively correlated with the cumulative water injection.
[0062] Specifically, in the embodiment of the present invention, the radius of the half pie chart is set Wherein, P is the cumulative fluid production (or cumulative water injection) corresponding to the well location, M is the maximum cumulative fluid production (or cumulative water injection) of all well locations in the mining data, the setting radius r of the half pie chart is in cm, and 2.5 is the adjustment coefficient of the half pie chart. It can be adjusted for the applicability of mining status maps of different scales and screens of different resolutions, and the present invention has no limitation on this.
[0063] For the bar chart, the bar chart of the oil production wells represents the daily liquid production and daily oil production, the bar chart of the water injection wells represents the daily water injection, and the shut-down oil production wells and shut-down water injection wells do not display the bar chart. The height of the bar chart is positively correlated with the daily liquid production, daily oil production or daily water injection volume.
[0064] Specifically, in the embodiment of the present invention, the setting height of the bar graph is Wherein, p is the daily liquid production (or daily water injection) of the well, m is the maximum daily liquid production (or daily water injection) of all wells in the mining data, the setting height h of the bar graph is in cm, and 2.5 is the bar graph adjustment coefficient. It can be adjusted for the applicability of mining status maps of different scales and screens of different resolutions, and the present invention has no limitation on this.
[0065] S4. Add the graphics corresponding to all well locations to the layers respectively, wherein the graphics for each well location are placed in one layer, and confirm whether there is an overlapping area on the display interface for the layers corresponding to all the graphics. For the layers with overlapping areas, move the graphics corresponding to any of the layers in the overlapping area to the blank area of the layer, and draw an indicator line from the well identification symbol to the half pie chart and the bar chart, and finally combine all the layers into a legend.
[0066] See Figure 4-5 As shown, Figure 4 is a reference schematic diagram of overlapping drawings in an embodiment of the present invention, Figure 5 This is a reference schematic diagram after the overlapping of drawings is removed in an embodiment of the present invention;
[0067] Before integrating all layers into a legend, an embodiment of the present invention needs to confirm whether there is an overlapping area on the display interface among the layers corresponding to all the graphics, including separately determining whether all layers on the display interface overlap between half pie charts and half pie charts, between half pie charts and bar charts, and between bar charts and bar charts. The corresponding judgment condition is selected according to the type of overlapping area.
[0068] The display interface is an area on the screen for displaying data, and can be adjusted to suit the required scenario according to the screen resolution and actual application requirements.
[0069] Specifically, the selection of corresponding judgment conditions according to the type of overlapping area includes:
[0070] In an embodiment of the present invention, the middle position of the well identification symbol can be selected as the origin of the coordinate system, or any other fixed point can be selected as the origin of the coordinate system, and the diameter extension direction of the half pie chart (i.e., the horizontal direction) can be used as the x-axis. The relative positions of the left and right endpoints corresponding to the diameter direction of the half pie chart and the left and right endpoints above the bar chart and the origin are determined to obtain the coordinate values of the left and right endpoints corresponding to the diameter direction of the half pie chart and the coordinate values of the left and right endpoints above the bar chart.
[0071] Among them, for the half-pie charts, the left and right endpoint coordinate values corresponding to any two half-pie charts in the diameter direction are determined respectively, and the corresponding areas of the two half-pie charts are calculated. Based on the area size relationship between the two half-pie charts and the difference in the areas corresponding to the two half-pie charts, it is determined whether the two half-pie charts overlap; let the left and right endpoint coordinate values corresponding to the first half-pie chart in the diameter direction be (x1, y1), (x2, y1), let the left and right endpoint coordinate values corresponding to the second half-pie chart in the diameter direction be (x3, y2), (x4, y2), where y1>y2; to improve the calculation efficiency, the half-pie chart can be approximated as an isosceles right triangle, then the areas of the first half-pie chart and the second half-pie chart are respectively and The overlapping part of the half pie chart can also be approximated as an isosceles right triangle. Let Δy=y1-y2, then the hypotenuse length of the overlapping triangle is Δx=max(0,min(x2-Δy,x4)-max(x1+Δy,x3)), and the area of the overlapping part is If S 12 / min(S1, S2)>δ, where δ is a preset parameter, then it is considered that the first half of the pie chart overlaps with the second half of the pie chart, and the preset parameter δ can be determined according to actual needs.
[0072] For the half pie chart and the bar chart, determine the coordinate values of the left and right endpoints of the half pie chart in the diameter direction and the coordinate values of the left and right endpoints above the bar chart respectively, and determine whether the half pie chart and the bar chart overlap based on the relative positions of the left and right endpoints of the half pie chart in the diameter direction and the left and right endpoints above the bar chart; suppose the coordinate values of the left and right endpoints of the half pie chart in the diameter direction are (x1, y1), (x2, y1), and the coordinate values of the left and right endpoints above the bar chart are (x5, y3), (x6, y3). If y1>y3 and min(x2-y1+y3,x5)-max(x1+y1-y3,x6)>0, then it is considered that the half pie chart and the bar chart overlap.
[0073] For the histograms, determine the coordinate values of the lower left endpoint and the upper right endpoint of any two histograms respectively, and determine whether the histograms overlap based on the relative positions of the lower left endpoint and the upper right endpoint of the two histograms; suppose the coordinates of the lower left endpoint and the upper right endpoint of the first histogram are (x5, y1) and (x6, y3) respectively, and the coordinates of the lower left endpoint and the upper right endpoint of the second histogram are (x7, y2) and (x8, y4) respectively. If min(x6, x8) ≥ max(x5, x8) and min(y3, y4) ≥ max(y1, y2), then the first histogram is considered to overlap with the second histogram.
[0074] For the layers with overlapping areas, an embodiment of the present invention automatically moves the graphics corresponding to any of the layers in the overlapping area (or the graphics with the largest area) to the blank area of the layer, and draws an indicator line from the well identification symbol to the half pie chart and the bar chart, or customizes the moving position of the graphics based on the user's graphics movement request. The indicator line can be a dotted line or an indicator line with other guiding functions.
[0075] The method of combining the layers into a legend is to overlay the layers. In other implementations, other combination methods may also be considered.
[0076] The method for generating a legend for an oilfield production status map according to an embodiment of the present invention has the following advantages over the prior art:
[0077] 1. Respond to the user's request for mining data. After selecting the oilfield mining data to be obtained, directly obtain the corresponding oilfield mining data from the corresponding database, which improves the efficiency of data acquisition and reduces system time consumption;
[0078] 2. Generate one or more layers based on the user's layer request instructions, thereby displaying more mining status information, solving the problem of the existing technology that cumulative production and daily production cannot be displayed simultaneously;
[0079] 3. For the occlusion problem between drawings due to unreasonable layout, the system can also automatically identify the overlapping areas between drawings on the display interface and adjust the positions of drawings when overlap is confirmed, solving the problem of difficulty in reading drawings due to drawing occlusion;
[0080] 4. In view of the lack of data information on water injection wells, sealed wells and abandoned wells, the existing maps lack corresponding data. The embodiments of the present invention obtain oil field production data from the database and add it to the map, thereby enriching the well location information and improving the user experience.
[0081] On the basis of the above embodiment, as the above Figure 1 The present invention provides an embodiment of a device for generating a legend for an oilfield production status map. Figure 1 The device can be applied to various electronic devices, see Figure 6 As shown, the legend generating device of the oilfield production status map includes:
[0082] The data screening module 100 is used to obtain oilfield production data from the database based on the user's production data request, and automatically verify the oilfield production data based on data cleaning technology to confirm whether the oilfield production data meets the availability conditions, wherein the availability conditions include a first condition, a second condition, and a third condition. The first condition is that the oilfield production data meets the requirement of accuracy, the second condition is that the oilfield production data meets the requirement of no duplication, and the third condition is that the oilfield production data meets the requirement of completeness. The oilfield production data includes the well location data and indicator data necessary for the oilfield production status map;
[0083] The layer calibration module 200 is configured to generate a layer corresponding to the number of well locations in the well location data according to a user's layer request instruction or preset configuration information and based on the verified oilfield production data;
[0084] A map generating module 300 is configured to generate a corresponding map for each well location based on the verified oilfield production data, wherein the map comprises a well identification symbol, a half pie chart, and a bar chart;
[0085] The legend generation module 400 is used to add the graphics corresponding to all well locations to the layers respectively, wherein the graphics of each well location are placed in one layer, and confirm whether there is an overlapping area on the display interface for the layers corresponding to all the graphics. For the layers with overlapping areas, the graphics corresponding to any of the layers in the overlapping area are moved to the blank area of the layer, and indicator lines are drawn from the well identification symbols to the half pie chart and the bar chart, and finally all the layers are combined into a legend.
[0086] The legend generating device for the oilfield exploitation status map described in the embodiment of the present invention can execute the legend generating method for the oilfield exploitation status map provided in the above embodiment. The legend generating device for the oilfield exploitation status map has the corresponding functional steps and beneficial effects of the legend generating method for the oilfield exploitation status map described in the above embodiment. Please refer to the embodiment of the legend generating method for the oilfield exploitation status map described in the above embodiment for details. The embodiment of the present invention will not be repeated here.
[0087] An embodiment of the present invention further provides an electronic device, which may include a processor and a memory, wherein the processor and the memory may be connected via a bus or other means. The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the above-mentioned various chips. The memory, as a non-transient computer-readable storage medium, may be used to store non-transient software programs, non-transient computer executable programs and modules, such as the program instructions / modules corresponding to the method for generating a legend for the oilfield mining status map in the embodiment of the present invention. The processor executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory, i.e., implementing the method for generating a legend for the oilfield mining status map in the above-mentioned method embodiment.
[0088] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. The one or more modules are stored in the memory, and when executed by the processor, the legend generation method of the oil field mining status map in the above-mentioned method embodiment is executed. The specific details of the above-mentioned electronic device can be understood by corresponding to the corresponding descriptions and effects in the above-mentioned method embodiment, and will not be repeated here. Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. The storage medium may be a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium may also include a combination of the above types of memory.
[0089] In the description provided herein, numerous specific details are described. However, it is understood that embodiments of the present invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.
[0090] Similarly, it should be understood that in order to streamline the present disclosure and aid understanding of one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Accordingly, the claims that follow the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of the invention.
[0091] It should be noted that the above-mentioned embodiments illustrate rather than limit the invention and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims.
Claims
1. A method for generating a legend for an oilfield mining status map, characterized in that: The legend generation method of the oilfield production status map comprises: Obtaining oilfield production data from a database based on a user's production data request, and automatically verifying the oilfield production data based on data cleaning technology to confirm whether the oilfield production data meets availability conditions, wherein the availability conditions include a first condition, a second condition, and a third condition. The first condition is that the oilfield production data meets the requirement of accuracy, the second condition is that the oilfield production data meets the requirement of no duplication, and the third condition is that the oilfield production data meets the requirement of completeness. The oilfield production data includes well location data and indicator data necessary for an oilfield production status map; Generate a layer corresponding to the number of well locations in the well location data according to a user's layer request instruction or preset configuration information and based on the verified oil field production data; Generate a corresponding map for each well location based on the verified oilfield production data, wherein the map consists of a well identification symbol, a half pie chart, and a bar chart; Add the graphics corresponding to all well locations to the layers respectively, wherein the graphics for each well location are placed in one layer, and confirm whether there is an overlapping area on the display interface for the layers corresponding to all the graphics. For the layers with overlapping areas, move the graphics corresponding to any of the layers in the overlapping area to the blank area of the layer, and draw an indicator line from the well identification symbol to the half pie chart and the bar chart, and finally combine all the layers into a legend.
2. The method for generating a legend for an oilfield production status map according to claim 1, wherein: The acquiring of oilfield production data from the database based on the user's production data request comprises: Connect to the database based on the user's mining data request and verify the user's access permission level; For users who meet the access permission level, the extraction data request is parsed and the corresponding oilfield extraction data is obtained from the database.
3. The method for generating a legend for an oilfield production status map according to claim 1, wherein: The method further comprises: When the result of the verification is that the oilfield production data does not satisfy at least one of the first condition, the second condition, and the third condition, a problem report is generated and returned.
4. The method for generating a legend for an oilfield production status map according to claim 3, wherein: The method further includes: when the verification result shows that the oilfield production data does not meet the first condition and / or the third condition, selecting historical oilfield production data corresponding to the most recent time node of the oilfield production data as a replacement.
5. The method for generating a legend for an oilfield production status map according to claim 1, wherein: Generating a corresponding map for each well location based on the verified oilfield production data includes: Generate a corresponding well identification symbol for each well location according to the oilfield production data, mark the corresponding well location name, and place the well identification symbol at the center of the map; A half-pie chart is arranged below the well identification symbol, wherein the setting radius of the half-pie chart is positively correlated with the cumulative production in the indicator data; A bar graph is arranged above the well identification symbol, and the setting height of the bar graph is positively correlated with the daily output in the indicator data.
6. The method for generating a legend for an oilfield production status map according to claim 1, wherein: The determining whether there is an overlapping area on the display interface of the layers corresponding to all the drawings includes: It is determined whether all layers on the display interface overlap between half pie charts, between half pie charts and bar charts, and between bar charts and bar charts, wherein the corresponding judgment condition is selected according to the type of overlapping area.
7. The method for generating a legend for an oilfield production status map according to claim 6, wherein: The selection of corresponding judgment conditions according to the type of overlapping area includes: For the half-pie charts, determine the left and right endpoint coordinates of any two half-pie charts in the diameter direction, calculate the corresponding areas of the two half-pie charts, and determine whether the two half-pie charts overlap based on the area size relationship between the two half-pie charts and the difference between the areas of the two half-pie charts. For the half pie chart and the bar chart, respectively determine the coordinate values of the left and right endpoints of the half pie chart in the diameter direction and the coordinate values of the left and right endpoints above the bar chart, and determine whether the half pie chart and the bar chart overlap based on the relative positions of the left and right endpoints of the half pie chart in the diameter direction and the left and right endpoints above the bar chart; For the bar graphs, the coordinate values of the lower left endpoint and the upper right endpoint of any two bar graphs are determined respectively, and whether the bar graphs overlap is determined based on the relative positions of the lower left endpoint and the upper right endpoint of the two bar graphs.
8. A device for generating a legend for an oilfield exploitation status map, applied to the method for generating a legend for an oilfield exploitation status map according to any one of claims 1 to 7, characterized in that: The legend generating device of the oilfield production status map comprises: a data screening module for obtaining oilfield production data from a database based on a user's production data request, and automatically verifying the oilfield production data based on data cleaning technology to confirm whether the oilfield production data meets availability conditions, wherein the availability conditions include a first condition, a second condition, and a third condition, wherein the first condition is that the oilfield production data meets the requirement of accuracy, the second condition is that the oilfield production data meets the requirement of no duplication, and the third condition is that the oilfield production data meets the requirement of completeness, and the oilfield production data includes the well location data and indicator data necessary for the oilfield production status map; A layer calibration module is used to generate a layer corresponding to the number of well locations in the well location data according to a user's layer request instruction or preset configuration information and based on the verified oil field production data; A map generating module, configured to generate a corresponding map for each well location based on the verified oilfield production data, wherein the map consists of a well identification symbol, a half pie chart, and a bar chart; A legend generation module is used to add the graphics corresponding to all well locations to layers respectively, wherein the graphics for each well location are placed in one layer, and confirm whether there is an overlapping area on the display interface for the layers corresponding to all the graphics. For the layers with overlapping areas, the graphics corresponding to any of the layers in the overlapping area are moved to a blank area of the layer, and an indicator line is drawn from the well identification symbol to the half pie chart and the bar chart, and finally all the layers are combined into a legend.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, which are loaded and executed by a processor to implement the operations performed by the method according to any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, characterized in that: The memory stores computer program instructions that can be executed by the processor, and when the processor executes the computer program instructions, the processor implements the method according to any one of claims 1 to 7.