CN113536504B - Well seat type determining method, well seat type determining device, computer equipment and readable storage medium - Google Patents

Well seat type determining method, well seat type determining device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN113536504B
CN113536504B CN202110839988.0A CN202110839988A CN113536504B CN 113536504 B CN113536504 B CN 113536504B CN 202110839988 A CN202110839988 A CN 202110839988A CN 113536504 B CN113536504 B CN 113536504B
Authority
CN
China
Prior art keywords
target
determining
well seat
pipelines
type
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.)
Active
Application number
CN202110839988.0A
Other languages
Chinese (zh)
Other versions
CN113536504A (en
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.)
Glodon Co Ltd
Original Assignee
Glodon 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 Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202110839988.0A priority Critical patent/CN113536504B/en
Publication of CN113536504A publication Critical patent/CN113536504A/en
Application granted granted Critical
Publication of CN113536504B publication Critical patent/CN113536504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Abstract

The invention discloses a well seat type determining method, which can solve the technical problem that the judgment result of the well seat type in the prior art is inaccurate and affects the accurate calculation amount in the later period, and comprises the following steps: acquiring a preset engineering project diagram, and identifying a target well seat in the engineering project diagram; determining a target pipe connected to the target well base; and when the number of the target pipelines meets a preset well seat type judging condition, determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines. The invention also discloses a well seat type determining device, a computer device and a computer readable storage medium.

Description

Well seat type determining method, well seat type determining device, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a well seat type determining method, a well seat type determining device, a computer device, and a computer readable storage medium.
Background
The drainage engineering mainly realizes collection, transportation, treatment and drainage according to the well seat and the pipeline, wherein the drainage comprises domestic sewage, industrial wastewater, precipitation and mixed sewage. Before the actual construction of drainage engineering, the calculation of the well seats in the drainage engineering is generally required in advance, but the calculation standards of different types of well seats are different.
At present, the prior art only determines the type of the well seat according to the number of pipelines connected with the well seat, however, the inventor finds that the well seat type judgment result in the prior art has lower accuracy in the research process, and is not beneficial to later accurate calculation.
Disclosure of Invention
The invention aims to provide a well seat type determining method, a well seat type determining device, computer equipment and a computer readable storage medium, so as to solve the technical problem that in the prior art, the well seat type judging result is inaccurate and influences the later accurate calculation.
One aspect of the invention provides a well seat type determination method, comprising: acquiring a preset engineering project diagram, and identifying a target well seat in the engineering project diagram; determining a target pipe connected to the target well base; and when the number of the target pipelines meets a preset well seat type judging condition, determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines.
Optionally, the determining a target pipe connected to the target well base includes: determining all pipelines connected with the target well seat from the engineering project graph; determining the pipeline with the lowest elevation from all pipelines connected with the target well seat; calculating the elevation difference value between each pipeline connected with the target well seat and the pipeline with the lowest elevation; and determining the pipeline with the elevation difference meeting the preset elevation condition from all pipelines connected with the target well seat as the target pipeline.
Optionally, determining all pipes connected with the target well base from the engineering project graph includes: determining the regional range of the target well seat from the engineering project map; and when one end of the pipeline is positioned in the area range of the target well seat, determining that the pipeline is connected with the target well seat.
Optionally, when the number of the target pipelines meets a preset well seat type determination condition, determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines includes: when the number of the target pipelines meets a preset well seat type judging condition, acquiring a corresponding preset angle range set according to the number of the target pipelines; and determining the type of the target well seat according to the relation between the included angle between the target pipelines and the elements in the preset angle range set.
Optionally, the determining the type of the target well base according to the relationship between the included angle between the target pipelines and the elements in the preset angle range set includes: when the number of the target pipelines is equal to 2, calculating an included angle between the two target pipelines; and matching the calculated included angle with elements in the preset angle range set, and determining the type of the target well seat as straight-through, 45-degree elbow or 90-degree elbow according to the successfully matched elements.
Optionally, the determining the type of the target well base according to the relationship between the included angle between the target pipelines and the elements in the preset angle range set includes: when the number of the target pipelines is equal to 3, calculating an included angle between every two target pipelines; determining a minimum included angle from the calculated included angles; and matching the determined minimum included angle with elements in the preset angle range set, and determining that the type of the target well seat is 45-degree tee joint or 90-degree tee joint according to the successfully matched elements.
Optionally, the determining the type of the target well base according to the relationship between the included angle between the target pipelines and the elements in the preset angle range set includes: when the number of the target pipelines is equal to 4, calculating an included angle between every two target pipelines; determining a maximum included angle from the calculated included angles; taking the two target pipelines corresponding to the determined maximum included angle as a main line, and respectively calculating the target included angles of the remaining two target pipelines and the main line; and determining the type of the target well seat according to the relation between the calculated target included angle and the elements in the preset angle range set.
Optionally, the determining the type of the target well seat according to the relationship between the calculated target included angle and the elements in the preset angle range set includes: matching the calculated target included angle with elements in the preset angle range; when the successfully matched element is an angle range A, determining that the type of the target well seat is 90-45 degrees four-way; when the successfully matched element is in an angle range B and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is 90-135 degrees four-way; and when the successfully matched element is in the angle range C and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is four-way.
Optionally, after the determining the target pipe connected to the target well base, the method further comprises: and when the number of the target pipelines does not meet the preset well seat type judging condition, determining the type of the target well seat according to the number of the target pipelines.
Optionally, when the number of the target pipelines does not meet the preset well seat type determination condition, determining the type of the target well seat according to the number of the target pipelines includes: when the number of the target pipelines is smaller than 2, determining the type of the target well seat as an upright elbow; and when the number of the target pipelines is greater than 4, determining the type of the target well seat to be four-way.
Another aspect of the invention provides a well seat type determination apparatus, the apparatus comprising: the acquisition module is used for acquiring a preset engineering project diagram and identifying a target well seat in the engineering project diagram; the first determining module is used for determining a target pipeline connected with the target well seat; and the second determining module is used for determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines when the number of the target pipelines meets the preset well seat type judging condition.
Yet another aspect of the present invention provides a computer apparatus comprising: the well seat type determining method according to any of the above embodiments is implemented by a memory, a processor, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program.
A further aspect of the invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a well seat type determination method as described in any of the above embodiments.
According to the well seat type determining method provided by the invention, the fact that inflow and outflow of pipelines connected with the well seat in different directions exist in actual engineering is considered, so that different types of well seat construction processes and manufacturing costs exist greatly are different, therefore, when the well seat type is determined, the number of target pipelines connected with the well seat is considered, the included angles among the target pipelines in all directions are considered, then the type of the target well seat is determined through the number of the target pipelines and the included angles among the target pipelines, the accuracy of well seat type determination is improved, the accuracy of well seat calculation is further improved, and the technical problem that the later-stage accurate calculation is affected due to inaccurate well seat type determination results in the prior art is solved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of a method for determining a type of a well base according to a first embodiment of the present invention;
FIG. 2A is a schematic diagram of a through-well base according to a first embodiment of the present invention;
FIG. 2B is a schematic diagram of a 45 degree elbow well seat according to an embodiment of the present invention;
FIG. 2C is a schematic diagram of a 90 degree elbow well seat according to one embodiment of the present invention;
fig. 3A shows a schematic diagram of a 45-degree three-way well seat according to an embodiment of the present invention;
FIG. 3B is a schematic diagram of a 90 degree three-way well seat according to an embodiment of the present invention;
fig. 4A shows a schematic diagram of a 90-45-degree four-way well seat according to an embodiment of the present invention;
FIG. 4B is a schematic diagram of a 90-135 degree four-way well seat according to an embodiment of the present invention;
fig. 4C is a schematic diagram of a four-way well base according to a first embodiment of the present invention;
FIG. 5 is a schematic view of an upstanding elbow well seat according to a first embodiment of the invention;
FIG. 6 is a schematic diagram of a method for determining a type of a well base according to a first embodiment of the present invention;
FIG. 7 is a block diagram of a well seat type determination apparatus according to a second embodiment of the present invention;
fig. 8 shows a block diagram of a computer device adapted to implement a well seat type determination method according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Example 1
Fig. 1 shows a flowchart of a well seat type determining method according to a first embodiment of the present invention, and as shown in fig. 1, the well seat type determining method may include steps S1 to S3, where:
step S1, a preset engineering project diagram is obtained, and a target well seat is identified in the engineering project diagram.
The engineering project map comprises, but is not limited to, a top view or a front view of the engineering project, as long as the connection relation of the well seat, the pipeline, the well seat and the pipeline and the angle between the pipeline and the pipeline can be determined according to the engineering project map; in addition, the target well seat can be any well seat in the engineering project drawing, and can also be a well seat designated by a user.
For example, the engineering project graph is a plan view of the engineering project, in which all the well seats and all the pipes in the engineering project are drawn, where in the plan view, the well seats may be a circle, the pipes may be a line, and any well seat may be determined as a target well seat in this embodiment.
And S2, determining a target pipeline connected with the target well seat.
The steps S2 and S3 are processes for determining the type of one well seat in the engineering project drawing, and when there are a plurality of well seats in the engineering project drawing, the process for determining the type of each of the remaining well seats is the same as the steps S2 and S3, and will not be repeated here.
In this embodiment, the number of target pipes may be zero, one, two or more. Alternatively, each pipe connected to the target well base may be referred to as a target pipe, but in a practical scenario, not all pipes connected to the target well base may be used to determine the type of the target well base, that is, some pipes that are not connected may exist in all pipes connected to the target well base, and after excluding these pipes that are not connected, the remaining pipes connected to the target well base are referred to as pipes that are effectively connected, that is, the target pipes in this embodiment, determining the well base type by effectively connecting the pipes may improve the accuracy of the determination result. Specifically, step S2 includes steps S21 to S24, wherein:
and S21, determining all pipelines connected with the target well seat from the engineering project graph.
In the engineering project drawing, if one end of the pipe is located within the area of the well seat, it is determined that the pipe is connected to the well seat, based on this, step S21 may include step S211 and step S212, where:
step S211, determining the area range of the target well seat from the engineering project diagram;
and step S212, determining that the pipeline is connected with the target well seat when one end of the pipeline is positioned in the area range of the target well seat.
It should be noted that, step S212 is a process of determining whether one pipe in the engineering project drawing is connected to the target well seat, and a process of determining whether other pipes in the engineering project drawing are connected to the target well seat is the same, which is not described herein.
And S22, determining the pipeline with the lowest elevation from all pipelines connected with the target well seat.
The pipe with the lowest elevation can be called the pipe with the lowest elevation in the pipe bottom.
And S23, calculating the elevation difference value between each pipeline connected with the target well seat and the pipeline with the lowest elevation.
And traversing all the pipelines connected with the target well seat (including the pipeline with the lowest elevation), and then sequentially calculating the elevation difference value between each pipeline and the pipeline with the lowest elevation, wherein the elevation difference value between each pipeline and the pipeline with the lowest elevation is 0 when traversing to the pipeline with the lowest elevation.
And step S24, determining the pipeline with the elevation difference meeting the preset elevation condition from all pipelines connected with the target well seat as the target pipeline.
The preset elevation condition may be that the elevation difference value is equal to or less than a preset elevation threshold value, for example, 240mm, and the pipeline with each elevation difference value meeting the preset elevation condition may be referred to as a target pipeline.
And S3, when the number of the target pipelines meets a preset well seat type judging condition, determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines.
The preset well seat type judging conditions may be: the number of the target pipelines is greater than or equal to 2 and less than or equal to 4, that is, when the number of the target pipelines is greater than or equal to 2 and less than or equal to 4, corresponding processing logic can be selected according to the number of the target pipelines and the included angle between the target pipelines so as to determine the type of the target well base.
Alternatively, step S3 may include step S31 and step S32, wherein:
step S31, when the number of the target pipelines meets a preset well seat type judging condition, acquiring a corresponding preset angle range set according to the number of the target pipelines;
and step S32, determining the type of the target well seat according to the relation between the included angle between the target pipelines and the elements in the preset angle range set.
Wherein the number of different target pipes corresponds to different sets of preset angle ranges, each element in each set of preset angle ranges uniquely corresponds to a type of well seat under the number of target pipes associated with the preset angle range, and each element in the set of preset angle ranges is one or more angle ranges. For example, when the number of the target pipelines is 2, three types of corresponding well seats are provided, and 3 elements are included in the corresponding preset angle range, and each element uniquely corresponds to one type of well seat.
In this embodiment, different preset angle range sets are selected for the number of different target pipelines, and then the type of the target well seat is determined according to the selected preset angle range sets, so that the purpose of determining the type of the target well seat under the number can be flexibly achieved for the number of various target pipelines meeting the well seat type determination condition.
Alternatively, step S32 may include step S322 and step S322, wherein:
step S321, calculating an included angle between the two target pipelines when the number of the target pipelines is equal to 2;
step S322, matching the calculated included angle with elements in the preset angle range set, and determining that the type of the target well seat is straight, 45-degree elbow or 90-degree elbow according to the successfully matched elements.
When the number of the target pipelines is equal to 2, the included angle between the target pipelines is only one, and three possibilities exist for the type of the target well base, namely: through, 45 degree elbows, 90 degree elbows include three elements in the corresponding default angle range collection this moment, and every element is unique to correspond above-mentioned one type, and every element is an angle range, and these three elements are respectively: 150-180 degrees, 120-150 degrees and 0-120 degrees. As shown in fig. 2A, when the calculated included angle is between 150 degrees and 180 degrees, the type of the target well seat is straight-through; as shown in fig. 2B, when the calculated included angle is between 120 degrees and 150 degrees, the type of the target well seat is a 45-degree elbow; as shown in fig. 2C, when the calculated included angle is between 0 and 120 degrees, the type of target well seat is a 90 degree elbow.
Optionally, step S32 may further include step S321 'to step S323', wherein:
step S321', when the number of the target pipelines is equal to 3, calculating an included angle between every two target pipelines;
step S322', determining the minimum included angle from the calculated included angles;
step S323', the determined minimum included angle is matched with the elements in the preset angle range set, and the type of the target well seat is determined according to the successfully matched elements.
When the number of the target pipelines is equal to 3, the included angles among the target pipelines are 3, and two types of the target well seats are possible, namely: 45 degrees tee bend, 90 degrees tee bend include two elements in the corresponding default angle range collection this moment, and every element is unique to above-mentioned one type, and every element is an angle range, and these two elements are respectively: between 0 and 60 degrees and between 60 and 120 degrees. As shown in fig. 3A, when the calculated minimum included angle is between 0 and 60 degrees, the type of the target well seat is 45-degree tee; as shown in fig. 3B, when the calculated minimum included angle is between 60 degrees and 120 degrees, the type of the target well base is 90 degrees tee.
Optionally, step S32 may further include steps S321 "to S324", where:
step S321', when the number of the target pipelines is equal to 4, calculating an included angle between every two target pipelines;
step S322', determining the maximum included angle from the calculated included angles;
step 323', taking the two target pipelines corresponding to the determined maximum included angle as a main line, and respectively calculating the target included angles of the remaining two target pipelines and the main line;
step S324', determining the type of the target well base according to the relation between the calculated target included angle and the elements in the preset angle range set.
When the number of the target pipelines is equal to 4, 12 included angles are formed between the target pipelines, 2 included angles are formed between the target pipelines, and the 2 included angles are respectively: the target included angle a between the remaining target pipeline a and the main line, the target included angle b between the remaining target pipeline b and the main line, and the types of the target well seats have three possibilities, namely: the four-way device comprises a four-way device with 90-45 degrees, a four-way device with 90-135 degrees and a four-way device with 90-135 degrees, wherein the corresponding preset angle range set comprises three elements, each element uniquely corresponds to one type, and each element is in one or two angle ranges. When one element in the preset angle range set comprises an angle range, representing that the included angles of the two targets are in the angle range; when a certain element in the preset angle range set comprises two angle ranges, the two target included angles are characterized to be respectively in one angle range.
Specifically, step S324″ may include:
matching the calculated target included angle with elements in the preset angle range;
when the successfully matched element is an angle range A, determining that the type of the target well seat is 90-45 degrees four-way;
when the successfully matched element is in an angle range B and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is 90-135 degrees four-way;
and when the successfully matched element is in the angle range C and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is four-way.
Wherein, the elements in the preset angle range set are respectively: angle range a, angle range B, and angle range C, wherein angle range a is: between 0 and 60 degrees, between x and 120 degrees, x is a specific angle value of a target included angle between 0 and 60 degrees; the angle range B is: 0-60 degrees; the angle range C is: 60-120 degrees. When the element successfully matched is the angle range a, the target included angle a is between 0 and 60 degrees, the target included angle b is between x and 120 degrees, and the value of x at this time is the specific angle value of the target included angle a.
As shown in fig. 4A, when the elements successfully matched are between 0 and 60 degrees and between a and 120 degrees (the specific angle value of the target included angle a is a, and the value of x is a), the type of the target well seat is a four-way of 90 degrees to 45 degrees; as shown in fig. 4B, when the elements successfully matched are between 0 and 60 degrees, and the target pipeline a and the target pipeline B are respectively positioned at two sides of the main line, the type of the target well seat is a four-way of 90 degrees to 135 degrees; as shown in fig. 4C, when the elements successfully matched are between 60 degrees and 120 degrees, and the target pipe a and the target pipe b are respectively located at two sides of the main line, the type of the target well seat is four-way.
It should be noted that, in this embodiment, when calculating the included angle between any two target pipelines or calculating the target included angle between any one target pipeline and the main line, for each included angle: there may be two angle values calculated counterclockwise and calculated clockwise, and the embodiment preferably selects the smallest angle value as the specific angle value of the included angle.
Optionally, after step S2, the well seat type determining method may further include step A1, wherein:
and A1, determining the type of the target well seat according to the number of the target pipelines when the number of the target pipelines does not meet the preset well seat type judging condition.
When the number of the target pipelines is less than 2 or greater than 4, the type of the target well seat can be determined directly according to the number of the target pipelines. Specifically, step A1 may include:
when the number of the target pipelines is smaller than 2, determining the type of the target well seat as an upright elbow;
and when the number of the target pipelines is greater than 4, determining the type of the target well seat to be four-way.
As shown in fig. 5, when the number of target pipes is equal to 0 or 1, the type of target well base can be directly determined as an upstanding elbow. In addition, when the number of the target pipelines is greater than or equal to 5, the type of the target well seat can be directly determined as four-way without considering the angle problem.
The well seat type determining method provided by the embodiment does not all determine the type of the well seat by only using the number of the pipelines as in the prior art, does not all determine the type of the well seat according to the number of the target pipelines and the included angle, but sets two processing logics based on the number of the target pipelines, determines what processing logic should be selected to determine the type of the target well seat based on the number of the target pipelines, and accordingly selects different processing modes according to different situations, and accuracy of determining the type of the well seat is further improved.
Optionally, the well seat type determining method may further include step B1, wherein:
determining the number of each type of target well seats from all the target well seats in the engineering project graph;
and generating a well seat type report according to the determined number of each type of target well seats.
For example, there are 10 target seats in the engineering project diagram, 3 target seats in the straight through, 5 target seats in the 45 degree elbow, and 2 target seats in the four-way.
In this embodiment, by summarizing the number of each type of target well seats and embodying the number in the report, the user can clearly grasp the number of different types of well seats, so as to facilitate accurate budget and construction preparation in the early stage of construction.
Taking fig. 6 as an example, the operation flow of the well seat type determining method provided by the present invention is described in detail, where fig. 6 shows a schematic diagram of the well seat type determining method provided by the first embodiment of the present invention, as shown in fig. 6, information of all well seats and pipelines are firstly extracted from an engineering project diagram, well seats and pipelines with connection relation are mapped, then each well seat (also called as target well seat) is traversed, a pipeline with mapping relation with the well seat is obtained, that is, a pipeline with connection relation with the well seat is determined, further an invalid connection pipeline is discharged, a pipeline (namely a target pipeline) with effective connection with the well seat is obtained, when the number of the pipelines with effective connection meets a preset well seat type determining condition, an included angle between the pipelines with effective connection is calculated, and the type of the well seat is determined according to the number and the included angle of the pipelines with effective connection; the number of the effectively connected pipelines does not meet the preset well seat type judging condition, and the type of the well seat is directly determined according to the number of the effectively connected pipelines, wherein the type of the well seat can be determined for each well seat by the same judging logic until the type of each extracted well seat is determined.
Example two
The second embodiment of the present invention further provides a well seat type determining device, which corresponds to the well seat type determining method provided in the first embodiment, and corresponding technical features and technical effects are not described in detail in this embodiment, and reference is made to the first embodiment for relevant points. Specifically, fig. 7 shows a block diagram of a well seat type determining apparatus according to a second embodiment of the present invention. As shown in fig. 7, the well seat type determining apparatus 700 may include an acquisition module 701, a first determination module 702, and a second determination module 703, wherein:
the acquiring module 701 is configured to acquire a preset engineering project map, and identify a target well seat in the engineering project map;
a first determining module 702 configured to determine a target tubular connected to the target well base;
and a second determining module 703, configured to determine the type of the target well base according to the number of the target pipelines and the included angle between the target pipelines when the number of the target pipelines meets a preset well base type determination condition.
Optionally, the first determining module is further configured to: determining all pipelines connected with the target well seat from the engineering project graph; determining the pipeline with the lowest elevation from all pipelines connected with the target well seat; calculating the elevation difference value between each pipeline connected with the target well seat and the pipeline with the lowest elevation; and determining the pipeline with the elevation difference meeting the preset elevation condition from all pipelines connected with the target well seat as the target pipeline.
Optionally, the first determining module is further configured, when performing the step of determining all pipes connected to the target well base from the engineering project map, to: determining the regional range of the target well seat from the engineering project map; and when one end of the pipeline is positioned in the area range of the target well seat, determining that the pipeline is connected with the target well seat.
Optionally, the second determining module is further configured to: when the number of the target pipelines meets a preset well seat type judging condition, acquiring a corresponding preset angle range set according to the number of the target pipelines; and determining the type of the target well seat according to the relation between the included angle between the target pipelines and the elements in the preset angle range set.
Optionally, when the second determining module performs the step of determining the type of the target well base according to the relationship between the included angle between the target pipelines and the elements in the preset angle range set, the second determining module is further configured to: when the number of the target pipelines is equal to 2, calculating an included angle between the two target pipelines; and matching the calculated included angle with elements in the preset angle range set, and determining the type of the target well seat as straight-through, 45-degree elbow or 90-degree elbow according to the successfully matched elements.
Optionally, when the second determining module performs the step of determining the type of the target well base according to the relationship between the included angle between the target pipelines and the elements in the preset angle range set, the second determining module is further configured to: when the number of the target pipelines is equal to 3, calculating an included angle between every two target pipelines; determining a minimum included angle from the calculated included angles; and matching the determined minimum included angle with elements in a preset angle range set, and determining that the type of the target well seat is 45-degree tee joint or 90-degree tee joint according to the successfully matched elements.
Optionally, when the second determining module performs the step of determining the type of the target well base according to the relationship between the included angle between the target pipelines and the elements in the preset angle range set, the second determining module is further configured to: when the number of the target pipelines is equal to 4, calculating an included angle between every two target pipelines; determining a maximum included angle from the calculated included angles; taking the two target pipelines corresponding to the determined maximum included angle as a main line, and respectively calculating the target included angles of the remaining two target pipelines and the main line; and determining the type of the target well seat according to the relation between the calculated target included angle and the elements in the preset angle range set.
Optionally, when the second determining module performs the step of determining the type of the target well base according to the relationship between the calculated target included angle and the elements in the preset angle range set, the second determining module is further configured to: matching the calculated target included angle with elements in the preset angle range; when the successfully matched element is an angle range A, determining that the type of the target well seat is 90-45 degrees four-way; when the successfully matched element is in an angle range B and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is 90-135 degrees four-way; and when the successfully matched element is in the angle range C and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is four-way.
Optionally, the apparatus further comprises: and the third determining module is used for determining the type of the target well seat according to the number of the target pipelines when the number of the target pipelines does not meet the preset well seat type judging condition after determining the target well seat and the target pipelines connected with the target well seat from the engineering project graph.
Optionally, the third determining module is further configured to: when the number of the target pipelines is smaller than 2, determining the type of the target well seat as an upright elbow; and when the number of the target pipelines is greater than 4, determining the type of the target well seat to be four-way.
Example III
Fig. 8 shows a block diagram of a computer device adapted to implement a well seat type determination method according to a third embodiment of the present invention. In this embodiment, the computer device 800 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including a stand-alone server or a server cluster formed by a plurality of servers) for executing a program, etc. As shown in fig. 8, the computer device 800 of the present embodiment includes at least, but is not limited to: a memory 801, a processor 802, and a network interface 803 which can be communicatively connected to each other through a system bus. It is noted that FIG. 8 only shows a computer device 800 having components 801-803, but it is understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
In this embodiment, the memory 803 includes at least one type of computer-readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 801 may be an internal storage unit of the computer device 800, such as a hard disk or memory of the computer device 800. In other embodiments, the memory 801 may also be an external storage device of the computer device 800, such as a plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash memory Card (Flash Card) or the like, which are provided on the computer device 800. Of course, the memory 801 may also include both internal storage elements of the computer device 800 and external storage devices. In the present embodiment, the memory 801 is generally used to store an operating system installed on the computer device 800 and various types of application software, such as program codes of a well seat type determination method including: acquiring a preset engineering project diagram, and identifying a target well seat in the engineering project diagram; determining a target pipe connected to the target well base; and when the number of the target pipelines meets a preset well seat type judging condition, determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines.
The processor 802 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 802 is generally used to control the overall operation of the computer device 800. Such as performing control and processing related to data interaction or communication with the computer device 800. In this embodiment, the processor 802 is configured to execute program codes of a well seat type determining method stored in the memory 801.
In this embodiment, the well seat type determining method stored in the memory 801 may also be divided into one or more program modules and executed by one or more processors (the processor 802 in this embodiment) to complete the present invention.
The network interface 803 may include a wireless network interface or a wired network interface, the network interface 803 typically being used to establish a communication link between the computer device 800 and other computer devices. For example, the network interface 803 is used to connect the computer device 800 to an external terminal through a network, establish a data transmission channel and a communication link between the computer device 800 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a global system for mobile communications (Global System of Mobile communication, abbreviated as GSM), wideband code division multiple access (Wideband Code Division Multiple Access, abbreviated as WCDMA), a 4G network, a 5G network, bluetooth (Bluetooth), wi-Fi, etc.
Example IV
The present embodiment also provides a computer readable storage medium including a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., having stored thereon a computer program which, when executed by a processor, implements the steps of a well seat type determination method comprising: acquiring a preset engineering project diagram, and identifying a target well seat in the engineering project diagram; determining a target pipe connected to the target well base; and when the number of the target pipelines meets a preset well seat type judging condition, determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
It should be noted that, the embodiment numbers of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. A method of well seat type determination, the method comprising:
acquiring a preset engineering project diagram, and identifying a target well seat in the engineering project diagram;
determining a target pipe connected to the target well base;
when the number of the target pipelines meets a preset well seat type judging condition, acquiring a corresponding preset angle range set according to the number of the target pipelines;
determining the type of the target well seat according to the relation between the included angle between the target pipelines and the elements in the preset angle range set;
wherein, the determining the type of the target well base according to the relation between the included angle between the target pipelines and the elements in the preset angle range set includes:
when the number of the target pipelines is equal to 4, calculating an included angle between every two target pipelines;
determining a maximum included angle from the calculated included angles; taking the two target pipelines corresponding to the determined maximum included angle as a main line, and respectively calculating the target included angles of the remaining two target pipelines and the main line;
matching the calculated target included angle with elements in the preset angle range set;
when the successfully matched element is in the angle range A, determining the type of the target well seat as a 90-45-degree four-way;
when the successfully matched element is in an angle range B and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is 90-135 degrees four-way;
and when the successfully matched element is in the angle range C and the two remaining target pipelines are respectively positioned at two sides of the main line, determining that the type of the target well seat is four-way.
2. The method of claim 1, wherein the determining a target tubular connected to the target well base comprises:
determining all pipelines connected with the target well seat from the engineering project graph;
determining the pipeline with the lowest elevation from all pipelines connected with the target well seat;
calculating the elevation difference value between each pipeline connected with the target well seat and the pipeline with the lowest elevation;
and determining the pipeline with the elevation difference meeting the preset elevation condition from all pipelines connected with the target well seat as the target pipeline.
3. The method of claim 2, wherein determining all tubing connected to the target well base from the engineering project map comprises:
determining the regional range of the target well seat from the engineering project map;
and when one end of the pipeline is positioned in the area range of the target well seat, determining that the pipeline is connected with the target well seat.
4. The method of claim 1, wherein determining the type of the target well base based on the relationship between the included angle between the target pipes and the elements in the set of preset angle ranges comprises:
when the number of the target pipelines is equal to 2, calculating an included angle between the two target pipelines;
and matching the calculated included angle with elements in the preset angle range set, and determining the type of the target well seat as straight-through, 45-degree elbow or 90-degree elbow according to the successfully matched elements.
5. The method of claim 1, wherein determining the type of the target well base based on the relationship between the included angle between the target pipes and the elements in the set of preset angle ranges comprises:
when the number of the target pipelines is equal to 3, calculating an included angle between every two target pipelines;
determining a minimum included angle from the calculated included angles;
and matching the determined minimum included angle with elements in the preset angle range set, and determining that the type of the target well seat is 45-degree tee joint or 90-degree tee joint according to the successfully matched elements.
6. The method of claim 1, wherein after the determining a target tubular connected to the target well base, the method further comprises:
and when the number of the target pipelines does not meet the preset well seat type judging condition, determining the type of the target well seat according to the number of the target pipelines.
7. The method of claim 6, wherein determining the type of the target well base from the number of target pipes when the number of target pipes does not satisfy the preset well base type determination condition comprises:
when the number of the target pipelines is smaller than 2, determining the type of the target well seat as an upright elbow;
and when the number of the target pipelines is greater than 4, determining the type of the target well seat to be four-way.
8. A well seat type determining apparatus for implementing the method of any one of claims 1 to 7, the apparatus comprising:
the acquisition module is used for acquiring a preset engineering project diagram and identifying a target well seat in the engineering project diagram;
the first determining module is used for determining a target pipeline connected with the target well seat;
and the second determining module is used for determining the type of the target well seat according to the number of the target pipelines and the included angle between the target pipelines when the number of the target pipelines meets the preset well seat type judging condition.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any of claims 1 to 7.
CN202110839988.0A 2021-07-22 2021-07-22 Well seat type determining method, well seat type determining device, computer equipment and readable storage medium Active CN113536504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110839988.0A CN113536504B (en) 2021-07-22 2021-07-22 Well seat type determining method, well seat type determining device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110839988.0A CN113536504B (en) 2021-07-22 2021-07-22 Well seat type determining method, well seat type determining device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113536504A CN113536504A (en) 2021-10-22
CN113536504B true CN113536504B (en) 2024-02-13

Family

ID=78088882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110839988.0A Active CN113536504B (en) 2021-07-22 2021-07-22 Well seat type determining method, well seat type determining device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113536504B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101732439B1 (en) * 2017-04-11 2017-05-04 아이맵 주식회사 Gis aided topography based underground pipeline alignment optimization method and computer readable recording medium storing program performing the method
CN107747323A (en) * 2017-10-19 2018-03-02 刘华英 A kind of municipal works Safety manhole cover to paint
CN108073775A (en) * 2017-12-29 2018-05-25 武汉智博创享科技股份有限公司 A kind of method and drawing apparatus for drawing elbow and pipe network connectivity device
CN207538081U (en) * 2017-10-18 2018-06-26 浙江前泽嘉盛排水材料有限公司 A kind of general-purpose injection inspection shaft
CN108763807A (en) * 2018-06-07 2018-11-06 安徽省(水利部淮河水利委员会)水利科学研究院(安徽省水利工程质量检测中心站) A method of arrangement counts accessory automatically in design of pipe networks
CN110415349A (en) * 2019-07-12 2019-11-05 中冶京诚工程技术有限公司 Three-dimensional tube modeling method and device
KR102050535B1 (en) * 2019-06-13 2019-12-02 주식회사 태울코리아 Method and apparatus for hooking up pipes in three-dimensional modeling information based on various pipe bend angles
CN111488664A (en) * 2020-04-17 2020-08-04 同瀚建筑科技(杭州)有限公司 Automatic spraying pipeline connecting system and method based on revit
CN111737788A (en) * 2019-03-25 2020-10-02 巧夺天宫(深圳)科技有限公司 Fire fighting engineering drawing generation method and system and computer readable storage medium
CN111814223A (en) * 2019-03-25 2020-10-23 巧夺天宫(深圳)科技有限公司 Water supply and drainage engineering drawing generation method and system and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101732439B1 (en) * 2017-04-11 2017-05-04 아이맵 주식회사 Gis aided topography based underground pipeline alignment optimization method and computer readable recording medium storing program performing the method
CN207538081U (en) * 2017-10-18 2018-06-26 浙江前泽嘉盛排水材料有限公司 A kind of general-purpose injection inspection shaft
CN107747323A (en) * 2017-10-19 2018-03-02 刘华英 A kind of municipal works Safety manhole cover to paint
CN108073775A (en) * 2017-12-29 2018-05-25 武汉智博创享科技股份有限公司 A kind of method and drawing apparatus for drawing elbow and pipe network connectivity device
CN108763807A (en) * 2018-06-07 2018-11-06 安徽省(水利部淮河水利委员会)水利科学研究院(安徽省水利工程质量检测中心站) A method of arrangement counts accessory automatically in design of pipe networks
CN111737788A (en) * 2019-03-25 2020-10-02 巧夺天宫(深圳)科技有限公司 Fire fighting engineering drawing generation method and system and computer readable storage medium
CN111814223A (en) * 2019-03-25 2020-10-23 巧夺天宫(深圳)科技有限公司 Water supply and drainage engineering drawing generation method and system and computer readable storage medium
KR102050535B1 (en) * 2019-06-13 2019-12-02 주식회사 태울코리아 Method and apparatus for hooking up pipes in three-dimensional modeling information based on various pipe bend angles
CN110415349A (en) * 2019-07-12 2019-11-05 中冶京诚工程技术有限公司 Three-dimensional tube modeling method and device
CN111488664A (en) * 2020-04-17 2020-08-04 同瀚建筑科技(杭州)有限公司 Automatic spraying pipeline connecting system and method based on revit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BIM技术在预制装配式检查井施工中的应用;黄国忠;伍伟军;钟钙冰;陈利堂;;施工技术(19);57-60、65 *

Also Published As

Publication number Publication date
CN113536504A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN109342989B (en) Error analysis method and device for electric energy meter
CN109697333B (en) Detection method and device of pipeline detection database and electronic equipment
JP2018531458A6 (en) Automatic discovery method, automatic discovery apparatus, storage medium and equipment for gas station POI
WO2017148276A1 (en) Location-based service implementing method and apparatus
CN111259137A (en) Method and system for generating knowledge graph abstract
CN113536504B (en) Well seat type determining method, well seat type determining device, computer equipment and readable storage medium
CN109871408B (en) Multi-type database adaptation method, device, electronic equipment and storage medium
JP7015266B2 (en) Data creation device, data creation method, and program
EP1643042A1 (en) Device and method for estimating occurrence and distribution of unascertained water, and recording medium
CN109670201B (en) Pipeline connection method and device and multi-split air conditioning system
CN106844290A (en) A kind of time series data processing method based on curve matching
CN110826606A (en) Element matching method, device, server and readable storage medium
CN114328017A (en) Database backup method, system, computer equipment and storage medium
CN110674182A (en) Big data analysis method and data analysis server
CN112781251B (en) Water outlet temperature determination method for water heater and electronic equipment
CN111291649B (en) Image recognition method and device and electronic equipment
CN116628914B (en) Inflow and infiltration analysis method for drainage pipe network, computer equipment and medium
CN111581695B (en) Automatic modeling method and device of valve combination based on BIM and storage medium
WO2023231587A1 (en) Method and apparatus for water softening device to determine hardness of raw water
CN113689526B (en) Method and device for dividing invalid area in map and electronic equipment
CN115604658B (en) Signal source positioning method and device, electronic equipment and readable medium
CN116579109A (en) Data processing method and device
CN113192189B (en) Method, device and equipment for correcting connection relation and readable storage medium
CN114943112B (en) Automatic generation method, device, equipment and medium for arrangement scheme along building line
CN117647963B (en) Intelligent liquid discharge control method and system for natural gas square well pool

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
GR01 Patent grant
GR01 Patent grant