CN112150578A - Shaft curve drawing system and method - Google Patents

Shaft curve drawing system and method Download PDF

Info

Publication number
CN112150578A
CN112150578A CN202011334972.6A CN202011334972A CN112150578A CN 112150578 A CN112150578 A CN 112150578A CN 202011334972 A CN202011334972 A CN 202011334972A CN 112150578 A CN112150578 A CN 112150578A
Authority
CN
China
Prior art keywords
curve
data
shaft
symbol
query
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011334972.6A
Other languages
Chinese (zh)
Inventor
程诗翩
卿粼波
何海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU WESTIMAGE TECHNOLOGY CO LTD
Original Assignee
CHENGDU WESTIMAGE TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU WESTIMAGE TECHNOLOGY CO LTD filed Critical CHENGDU WESTIMAGE TECHNOLOGY CO LTD
Priority to CN202011334972.6A priority Critical patent/CN112150578A/en
Publication of CN112150578A publication Critical patent/CN112150578A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing

Abstract

The invention discloses a shaft curve drawing system and a shaft curve drawing method. The shaft curve drawing method is applied to the shaft curve drawing system, and is used for acquiring and inputting query request information to a database server; if the database server is successfully queried, outputting feedback data; if the query fails, outputting a query failure prompt; analyzing the feedback data of the database server to obtain the shaft data of the query well; and calling a corresponding drawing function of the ZRender according to the shaft data to draw a shaft curve track head, a coordinate background and shaft curve track bodies of different types, namely finishing the drawing of the shaft curve.

Description

Shaft curve drawing system and method
Technical Field
The invention relates to the technical field of shaft curve drawing, in particular to a shaft curve drawing system and a shaft curve drawing method.
Background
Exploration is an important part in oil and gas field development, and oil exploration personnel use geological knowledge to research underground geological conditions, know structural characteristics and sedimentary strata, combine oil reservoir description research, oil reservoir engineering research and other technical subjects, and reasonably arrange research work of links such as drilling, logging, well cementation, well completion and the like. With the construction of oil field digital work and the rapid development of the information era, an exploration and production information system becomes one of important portals of petroleum and is mainly divided into four parts, namely production dynamics, production results, reserve results and shaft curves. The well bore curve is a precious data resource in the exploration and development process and is the key point in information work. Wellbore data is various data information obtained from drilling work around a well, and mainly comes from exploration information data such as logging, drilling, logging, oil testing, development and the like.
Before information construction, because different departments manage data information of different specialties, well bore curves are divided into twenty types in total, such as well logging curves, comprehensive curves, special well bore curves and the like, and various data are complex. Because the data volume of the shaft information is huge, geological researchers are required to collect data when drawing the graph, and then graph drawing is carried out through single-machine software, so that a large amount of manpower and material resources are consumed; meanwhile, a uniform drawing standard is not established in the drawing aspect, and difficulty is caused to the storage and the viewing of data. The traditional exploration shaft curve drawing greatly influences the development efficiency of geologists. At present, in the aspect of webpage-version shaft curve drawing, a drawing scheme based on SVG and Canvas exists, wherein the SVG is a language defined by XML and is used for describing two-dimensional vectors and vector/grid graphs; a Canvas may use a script (usually JavaScript) to draw the HTML elements of the image within; however, these schemes have the disadvantages of unsmooth drawing, slow response speed, unsmooth lines, etc. due to the defects of the underlying technology and the architectural design.
Disclosure of Invention
The present invention is directed to a wellbore profile plotting system and a method thereof for solving the above problems.
In order to achieve the above object, the present invention relates to a wellbore profile drawing method, comprising:
after acquiring query request information initiated by a user, inputting the query request information to a database server;
the database server inquires the database according to the inquiry request information and feeds back an inquiry result;
if the query is successful, outputting feedback data; if the query fails, outputting a query failure prompt;
analyzing the feedback data of the database server to obtain the queried shaft data;
and calling a corresponding drawing function of the ZRender according to the shaft data to draw shaft curve track heads, coordinate backgrounds and shaft curve track bodies of different types, wherein the shaft curve track bodies comprise broken line curve tracks and lithological symbol tracks, and drawing the shaft curve.
Optionally, the wellbore curve body comprises a broken line curve, and the step of drawing the broken line curve is as follows:
acquiring curve data of all depths of a well, and screening well depth data in a display area;
judging the curve to be a logarithmic curve or a constant curve, calculating the linear proportion of the constant curve relative to the width of the curve according to the minimum value and the maximum value of the attribute unit of the constant curve, calculating the exponential proportion of the logarithmic curve relative to the numerical value change range, and then respectively calculating the attribute value of the constant curve and the corresponding abscissa deviation on the display of the attribute value of the logarithmic curve;
calculating to obtain the corresponding vertical coordinate offset of the curve depth on the display according to the depth value and the display area;
a series of discrete points can be determined in the canvas by the horizontal and vertical coordinate offset, and a straight line segment is drawn to connect the points to complete the polyline representation of a single attribute value, so that a polyline curve path is obtained.
Optionally, the wellbore curve track body includes a lithology symbol track, and the lithology symbol track is drawn by the following steps:
obtaining lithology symbol drawing command data and symbol track data of all depths of a well;
analyzing lithology symbolic track data;
calculating a display area, and judging whether the lithology symbol depth is in the display area, if so, not drawing;
calculating the drawing position and size of the lithology symbol;
analyzing the lithology symbol drawing command data and drawing lithology symbols in the designated area;
and judging whether the single-layer lithology symbol is obtained, if so, performing rotational translation on the even-numbered lines of symbols and then filling, otherwise, directly filling, and drawing to obtain the lithology symbol track.
The invention also relates to a shaft curve drawing system, which applies the shaft curve drawing method and comprises the following steps:
the data query module is used for inputting query request information; the data query module is in communication connection with the database server;
the data acquisition module is used for outputting data fed back by the database server according to the query request information; the database server is in communication connection with the data acquisition module;
the data analysis module is used for analyzing the data acquired by the data acquisition module to acquire data; the data analysis module is in communication connection with the data acquisition module and outputs the shaft data inquired by the data inquiry module;
the curve drawing module is used for drawing a shaft curve according to shaft data; the curve drawing module is in communication connection with the data analysis module, and calls a Zrender to draw the shaft curve road head, the coordinate background and shaft curve road bodies of different types.
The invention has the beneficial effects that:
the invention relates to a shaft curve drawing system and a shaft curve drawing method, which can perform information query and data acquisition of a corresponding shaft through simple user interaction, firstly draw a shaft curve head and a coordinate background after data is analyzed by a server, and then call different types of shaft volume drawing functions to perform shaft volume drawing, thereby completing the complete shaft curve drawing. The interaction is convenient, the drawing process is fast and smooth, the practicability is strong, and the method has the advantages of cross-platform performance, transportability, simplicity and easiness in use.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart of a wellbore profiling method according to the present invention;
FIG. 2 is a structural composition diagram of a wellbore profile;
FIG. 3 is a flow chart of a method for drawing a polyline curve according to the present invention;
FIG. 4 is a flow chart of a lithology symbolic track drawing method according to the present invention.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
The invention relates to a WebService-based data transmission and access technology, a B/S mode software architecture of HTML5, a software development framework of Spring MVC and a Web-end shaft curve drawing system of a ZRender drawing engine.
The drawing system builds a Web application program through a Tomcat server and a Spring MVC framework, the adopted MVC three-layer framework is divided into a data layer, a service layer and a presentation layer, and a design mode completely follows the principle of high cohesion and low coupling of the system. On the presentation layer, data interaction is carried out by adopting an Ajax transmission technology and a server of a service layer, and a shaft curve is browsed and operated through a mainstream browser; and the business layer carries out related deployment on the website by utilizing the construction of the Tomcat server. On the data layer, a request for inquiring shaft data is sent to a database server through a WebService transmission technology, and the inquired shaft data is obtained.
The invention relates to a wellbore curve drawing method, as shown in figure 1, comprising the following steps:
after acquiring query request information initiated by a user, inputting the query request information to a database server, wherein the query request information comprises well characters, well numbers and the like;
the database server inquires the database according to the inquiry request information and feeds back an inquiry result;
if the query is successful, outputting feedback data in a JSON format; if the query fails, outputting a query failure prompt;
analyzing the feedback data of the database server to obtain the shaft data of the query well, wherein the shaft data comprises information such as the number of the well, the initial well section, the termination well section and curve data of the acquired well;
and calling a corresponding drawing function of the ZRender according to the shaft data to draw a shaft curve track head, a coordinate background and shaft curve track bodies of different types, namely finishing the drawing of the shaft curve.
The structure composition of the shaft curve track is shown in figure 2, and comprises a curve track head, a curve track body and a coordinate background, wherein the curve track body can be divided into three categories of a broken line curve track, a lithologic symbol track and a text track according to different drawing modes and coordinates.
Based on the wellbore curve drawing method, the present disclosure provides a broken-line curve drawing method for a commonly used wellbore curve-broken-line curve, as shown in fig. 3, including the following:
acquiring curve data of all depths of a well, and screening well depth data in a display area;
judging the curve to be a logarithmic curve or a constant curve, calculating the linear proportion of the constant curve relative to the width of the curve according to the minimum value and the maximum value of the attribute unit of the constant curve, calculating the exponential proportion of the logarithmic curve relative to the numerical value change range, and then respectively calculating the constant curve attribute value and the corresponding abscissa deviation on a logarithmic curve attribute value display, wherein the calculation formula is as follows:
Figure 840893DEST_PATH_IMAGE002
(1)
Figure 226875DEST_PATH_IMAGE004
(2)
where x refers to the current depth attribute value size, VminAnd VmaxRespectively representing the minimum value and the maximum value corresponding to the curve, and w representing the width of the curve channel on Canvas. Formulas (1) and (2) are respectively used for calculating the corresponding abscissa deviation of the constant and the logarithmic curve attribute value on the screen;
and calculating to obtain the corresponding vertical coordinate offset of the curve depth on the display according to the depth value and the display area, wherein the calculation formula is as follows:
Figure 101552DEST_PATH_IMAGE006
(3)
where y is the depth value, viewport Range ViewminValue limit of inner y is defined in sum ViewmaxIn the determined depth range, the formula calculates to obtain the corresponding vertical coordinate offset of the curve depth on the screen;
a series of discrete points can be determined in the canvas by the horizontal and vertical coordinate offset, and a straight line segment is drawn to connect the points to complete the polyline representation of a single attribute value, so that a polyline curve road body is obtained.
Based on the wellbore curve drawing method, the present disclosure provides a lithology symbolic track drawing method for a commonly used wellbore curve track-lithology symbolic track, as shown in fig. 4, including the following:
obtaining lithology symbol drawing command data and symbol track data of all depths of a well;
analyzing lithology symbolic track data;
calculating a display area, and judging whether the lithology symbol depth is in the display area, if so, not drawing;
calculating the drawing position and size of the lithology symbol;
analyzing the lithology symbol drawing command data and drawing lithology symbols in the designated area;
and judging whether the single-layer lithology symbol is obtained, if so, performing rotational translation on the even-numbered lines of symbols and then filling, otherwise, directly filling, and drawing to obtain a lithology symbol track body. Even-numbered lines of symbols refer to the fact that the same lithology symbols continuously appear in a certain depth, the symbols in adjacent positions need to be rotated by 180 degrees by taking the upper left corner of the symbol as an origin, and then the symbols are translated to the corresponding depth positions, so that the symbols are presented in a symmetrical overlapping mode.
The invention also relates to a wellbore curve drawing system, which applies the wellbore curve drawing method and comprises the following steps:
the data query module is used for inputting query request information; the data query module is in communication connection with the database server. The data query module acquires query request information such as well characters and well numbers selected by a user and sends the query request information of the user to the database server for query.
The data acquisition module is used for outputting data fed back by the database server according to the query request information; the database server is in communication connection with the data acquisition module.
The data analysis module is used for analyzing the feedback data of the database server; the data analysis module is in communication connection with the data acquisition module and outputs the shaft data inquired by the data inquiry module. The data analysis module analyzes and splices the acquired shaft data, acquires information such as the well number, the initial well section, the termination well section, curve data and the like of the well, and sends the processed data to the curve drawing module.
A profile rendering module for rendering a wellbore profile based on the wellbore data; the curve drawing module is in communication connection with the data analysis module, and calls a Zrender to draw the shaft curve road head, the coordinate background and shaft curve road bodies of different types. The ZRender is a lightweight Canvas class library, provides multiple rendering modes including Canvas and SVG, has superior performance, is simple and easy to learn, is easy to expand and has rich graphic options. And the curve drawing module is used for respectively packaging drawing functions of the shaft curve road head, the coordinate background and shaft curve road bodies of different types according to the structure of the shaft curve, and calling corresponding drawing functions according to the analyzed data as required to draw the shaft curve.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (4)

1. The well bore curve drawing method is characterized by comprising the following steps: the method comprises the following steps:
after acquiring query request information initiated by a user, inputting the query request information to a database server;
the database server inquires the database according to the inquiry request information and feeds back an inquiry result;
if the query is successful, outputting feedback data; if the query fails, outputting a query failure prompt;
analyzing the feedback data of the database server to obtain the queried shaft data;
and calling a corresponding drawing function of the ZRender according to the shaft data to draw the shaft curve head, the coordinate background and different types of shaft curve bodies.
2. The wellbore profiling method of claim 1, wherein: the shaft curve path body comprises a broken line curve path, and the drawing steps of the broken line curve path are as follows:
acquiring curve data of all depths of a well, and screening well depth data in a display area;
judging the curve to be a logarithmic curve or a constant curve, calculating the linear proportion of the constant curve relative to the width of the curve according to the minimum value and the maximum value of the attribute unit of the constant curve, calculating the exponential proportion of the logarithmic curve relative to the numerical value change range, and then respectively calculating the attribute value of the constant curve and the corresponding abscissa deviation on the display of the attribute value of the logarithmic curve;
calculating to obtain the corresponding vertical coordinate offset of the curve depth on the display according to the depth value and the display area;
a series of discrete points may be identified in the canvas by the abscissa and ordinate offsets, and a drawing straight line segment connects the points to complete a polyline representation of a single attribute value.
3. The wellbore profiling method of claim 1, wherein: the shaft curve track body comprises a lithologic symbol track, and the lithologic symbol track is drawn by the following steps:
obtaining lithology symbol drawing command data and symbol track data of all depths of a well;
analyzing lithology symbolic track data;
calculating a display area, and judging whether the lithology symbol depth is in the display area, if so, not drawing;
calculating the drawing position and size of the lithology symbol;
analyzing the lithology symbol drawing command data and drawing lithology symbols in the designated area;
and judging whether the symbol is a single-layer lithology symbol, if so, performing rotational translation on the even-numbered lines of symbols and then filling, and if not, directly filling.
4. A wellbore profiling system, comprising:
the data query module is used for inputting query request information; the data query module is in communication connection with the database server;
the data acquisition module is used for outputting data fed back by the database server according to the query request information; the database server is in communication connection with the data acquisition module;
the data analysis module is used for analyzing the data acquired by the data acquisition module to acquire data; the data analysis module is in communication connection with the data acquisition module and outputs the shaft data inquired by the data inquiry module;
the curve drawing module is used for drawing a shaft curve according to shaft data; the curve drawing module is in communication connection with the data analysis module, and calls a Zrender to draw the shaft curve road head, the coordinate background and shaft curve road bodies of different types.
CN202011334972.6A 2020-11-25 2020-11-25 Shaft curve drawing system and method Pending CN112150578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011334972.6A CN112150578A (en) 2020-11-25 2020-11-25 Shaft curve drawing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011334972.6A CN112150578A (en) 2020-11-25 2020-11-25 Shaft curve drawing system and method

Publications (1)

Publication Number Publication Date
CN112150578A true CN112150578A (en) 2020-12-29

Family

ID=73887362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011334972.6A Pending CN112150578A (en) 2020-11-25 2020-11-25 Shaft curve drawing system and method

Country Status (1)

Country Link
CN (1) CN112150578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177241A (en) * 2021-05-08 2021-07-27 北京金阳普泰石油技术股份有限公司 Method and system for quickly adjusting curve path in horizontal well guiding model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110112802A1 (en) * 2009-11-12 2011-05-12 Wilson Brian D System and Method For Visualizing Data Corresponding To Physical Objects
CN104533400A (en) * 2014-11-12 2015-04-22 中国海洋石油总公司 Method for reconstructing logging curve
CN105569648A (en) * 2014-11-07 2016-05-11 中国石油化工股份有限公司 Reservoir automatic identification method based on log data
US20180253873A1 (en) * 2014-12-03 2018-09-06 Drilling Info, Inc. Raster log digitization system and method
CN110874846A (en) * 2018-09-03 2020-03-10 中国石油天然气股份有限公司 Color curve bitmap vectorization method, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110112802A1 (en) * 2009-11-12 2011-05-12 Wilson Brian D System and Method For Visualizing Data Corresponding To Physical Objects
CN105569648A (en) * 2014-11-07 2016-05-11 中国石油化工股份有限公司 Reservoir automatic identification method based on log data
CN104533400A (en) * 2014-11-12 2015-04-22 中国海洋石油总公司 Method for reconstructing logging curve
US20180253873A1 (en) * 2014-12-03 2018-09-06 Drilling Info, Inc. Raster log digitization system and method
CN110874846A (en) * 2018-09-03 2020-03-10 中国石油天然气股份有限公司 Color curve bitmap vectorization method, computer equipment and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
CHUNSHENG LI 等: "A Platform to Integrate Well-Log Information Applications on Heterogeneous Environments", 《PROCEEDINGS OF THE 2ND INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY FOR APPLICATION》 *
刘远刚 等: "地质柱状图中测井曲线自动绘制方法探讨", 《石油天然气学报》 *
杨尧 等: "基于B/S结构的测井曲线SVG矢量绘制", 《计算机与数字工程》 *
毛敏芳 等: "基于SVG的岩性符号的绘制与应用", 《计算机与数字工程》 *
邹修梅 等: "柱状图中矢量岩性图例的动态绘制与编辑", 《计算机与数字工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177241A (en) * 2021-05-08 2021-07-27 北京金阳普泰石油技术股份有限公司 Method and system for quickly adjusting curve path in horizontal well guiding model
CN113177241B (en) * 2021-05-08 2022-06-24 北京金阳普泰石油技术股份有限公司 Method and system for quickly adjusting curve path in horizontal well guiding model

Similar Documents

Publication Publication Date Title
US20130321407A1 (en) Spatial data services
US20110320182A1 (en) Method and system for dynamic, three-dimensional geological interpretation and modeling
US11269110B2 (en) Computing system assessment of geological similarity of wells employing well-log data
CN103345540B (en) Method for stimulating and displaying geological drilling information on digital earth software platform
WO2009018525A2 (en) Method and system for dynamic, three-dimensional geological interpretation and modeling
EP2756337A2 (en) Core-plug to giga-cells lithological modeling
CN105684047A (en) Dynamically updating compartments representing one or more geological structures
CN106484943A (en) A kind of online generation method of the log sheet based on nonlinear fitting control
US20160063070A1 (en) Project time comparison via search indexes
Bertotti et al. Toward a quantitative definition of mechanical units: New techniques and results from an outcropping deep-water turbidite succession (Tanqua-Karoo Basin, South Africa)
US10260318B2 (en) Three-dimensional interactive wellbore model simulation system
US9542064B2 (en) Information pinning for contexual and task status awareness
US20190017378A1 (en) Natural Resource Reservoir Charging
CN112150578A (en) Shaft curve drawing system and method
CN111243088A (en) True three-dimensional aerial remote sensing geological interpretation method and system in engineering geological investigation
WO2014089135A1 (en) Deviated well log curve grids workflow
EP3500916B1 (en) Graphical representation management
US8255816B2 (en) Modifying a magnified field model
CN111767662B (en) Method and device for correcting azimuth information of single sand body of oil reservoir
CN113534283A (en) Quantitative evaluation method for ore formation element characteristics of sandstone-type uranium ore
CN112307541A (en) Urban underground space rock-soil informatization comprehensive integrated digital delivery method
CN111751880B (en) Well earthquake data combined display method and device
CN114063155B (en) Method, system, storage medium and electronic device for optimizing seismic profile analysis
Liu Stratigraphic Horizon Prediction Integrating Wells and Seismic Data Based on Kriging Interpolation
CN112991531B (en) Dynamic construction method of refined three-dimensional hydrogeologic model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201229

RJ01 Rejection of invention patent application after publication