CN116186187A - Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity - Google Patents

Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity Download PDF

Info

Publication number
CN116186187A
CN116186187A CN202310429539.8A CN202310429539A CN116186187A CN 116186187 A CN116186187 A CN 116186187A CN 202310429539 A CN202310429539 A CN 202310429539A CN 116186187 A CN116186187 A CN 116186187A
Authority
CN
China
Prior art keywords
pipeline
pipelines
grouping
data
pipe
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.)
Granted
Application number
CN202310429539.8A
Other languages
Chinese (zh)
Other versions
CN116186187B (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.)
Shandong Provincial Institute of Land Surveying and Mapping
Original Assignee
Shandong Provincial Institute of Land Surveying and Mapping
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 Shandong Provincial Institute of Land Surveying and Mapping filed Critical Shandong Provincial Institute of Land Surveying and Mapping
Priority to CN202310429539.8A priority Critical patent/CN116186187B/en
Publication of CN116186187A publication Critical patent/CN116186187A/en
Application granted granted Critical
Publication of CN116186187B publication Critical patent/CN116186187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/909Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to the technical field of mapping, and provides a method, a system, a medium and equipment for constructing a pipeline combined entity in a grouping recursion mode, aiming at the defect of connectivity calculation by utilizing a network analysis function provided by professional space analysis software, the provided technical scheme is as follows: identifying all mutually communicated pipe points and pipelines by adopting a grouping recursion method and searching and calculating the attribute of the pipe point data and the pipe point data; constructing a pipeline combination geographic entity based on the communication relation between all the interconnected pipe points and the pipeline; the pipeline combination entity can be constructed according to the connected analysis result, the pipeline data is not required to have accurate flow direction information, and the data semanteme analysis requirement under the novel basic mapping background is met.

Description

Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity
Technical Field
The invention belongs to the technical field of mapping, and particularly relates to a method, a system, a medium and equipment for constructing a pipeline combination entity in a grouping recursion mode.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
Pipelines are important urban infrastructure, the distribution of various underground pipelines is more and more complex along with the pace of urban construction, and the reliable construction of pipe network connectivity is a precondition for business application and management maintenance. The conventional communication analysis firstly processes pipeline data into a network data set, and uses a network analysis function provided by professional space analysis software to perform connectivity calculation, so that firstly, professional software is needed, the cost is high, secondly, the data quality requirement is high, a large amount of data modeling work is needed to be performed on the data according to preset conditions, the time consumption is long, the fault tolerance is low, and the analysis result is incomplete or the analysis fails. The existing pipeline communication relation algorithm is required to be constructed based on the attribute, and has the premise that a pipeline has definite flow direction information, but according to analysis of detection data of an actual pipeline, the pipeline of the types such as natural gas, heat and the like often does not detect the flow direction information, and the starting point number and the ending point number in the attribute of the pipeline only represent two end points of the pipeline and are not inflow points and outflow points in a strict sense, so that the existing analysis algorithm does not have universality.
In addition, pipeline data is an important geographical entity data type under the novel basic mapping background, a connected relation is an important pipeline semantic relation type, and constructing a pipeline combination entity by means of the connected relation is a technical problem to be solved urgently at present. Because the novel basic mapping is currently in a trial exploration stage, no mature pipeline combination entity construction scheme based on the communication relationship exists.
Disclosure of Invention
In order to solve at least one technical problem in the background art, the invention provides a method, a system, a medium and equipment for constructing a grouping recursion type pipeline combined entity, which do not need professional space analysis software, do not need to acquire accurate flow direction information of pipeline data, can identify all mutually communicated pipeline points and pipelines only by searching and calculating the attribute of pipeline data and pipeline data, and construct the pipeline points and the pipeline as the combined geographic entity by depending on a communication relation.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
a first aspect of the present invention provides a method of constructing a pipeline combining entity of the packet recursion type, comprising the steps of:
acquiring pipeline data and pipe point data;
identifying all mutually communicated pipe points and pipelines by adopting a grouping recursion method and searching and calculating the attribute of the pipe point data and the pipe point data;
a pipeline combination geographic entity is constructed based on the connectivity relationship of all interconnected pipe points and pipelines.
Further, the pipeline data and pipe point data are generated directly using pipeline probing.
Further, the method adopting the grouping recursion method identifies all the mutually connected pipe points and pipelines through the retrieval and calculation of the attribute of the pipe point data and the pipe point data, and comprises the following steps:
adding a packet number field to the pipeline data and pipe point data;
recursively calculating packet number values of the pipeline according to the rules; wherein, the mutually communicated pipe points are the same as the grouping number values of the pipelines, and the non-communicated pipe points are different from the grouping number values of the pipelines;
grouping pipeline data according to the grouping number value to obtain a set of starting point numbers and end point numbers of all pipelines in the grouping;
inquiring the pipe points with the point numbers in the starting point number and the ending point number sets of all the pipelines in the pipe point data, and setting the grouping number values of the pipe points to be the same as those of the corresponding pipelines;
and constructing a combined entity by using the pipe points with the same packet number value and the pipeline entity.
Further, the recursively calculating the packet number value of the pipeline according to the rule specifically includes:
step one: any record with empty packet number is taken out from the pipeline data, and the packet number of the pipeline is set asiThe first time this step is invoked,i=1, once for each subsequent call,ithe value is increased by 1, and the starting point number and the ending point number of the pipeline are obtained;
step two: searching all pipelines with starting point numbers or ending point numbers equal to the starting point numbers and the ending point numbers of the pipelines from the remaining records with empty grouping numbers, setting grouping number values of the pipelines to be the same as the pipelines, and simultaneously acquiring all the starting point numbers and the ending point numbers of the pipelines;
step three: taking the starting point number and the ending point number of the pipeline inquired in the second step as input conditions, and recursively calling the second step;
step four: if the query result is not null, recursively calling the second step, wherein the result of the previous call is used as the input condition of the next call; if the query result is empty, calling the first step; if no record with the empty packet number exists in the first step, calling the fifth step;
step five: grouping pipeline data according to the grouping number value, acquiring a set of starting point numbers and end point numbers of all pipelines in the grouping, inquiring the pipeline points with the point numbers in the set in the pipeline point data, and setting the grouping number value of the pipeline points to be the same as the corresponding pipeline.
Further, after the pipeline combined geographic entity is constructed, a spatial identity code is calculated according to the spatial range of the combined entity and the pipeline type, and the combined relation is recorded in a relation table.
A second aspect of the present invention provides a packet recursive pipeline combining entity building system comprising:
a data acquisition module configured to: acquiring pipeline data and pipe point data;
a recursive call module configured to: identifying all mutually communicated pipe points and pipelines by adopting a grouping recursion method and searching and calculating the attribute of the pipe point data and the pipe point data;
an entity building module configured to: a pipeline combination geographic entity is constructed based on the connectivity relationship of all interconnected pipe points and pipelines.
Further, in the recursive call module, the method adopting the grouping recursive method identifies all the mutually connected pipe points and pipelines through the retrieval and calculation of the attribute of the pipe point data and the pipe point data, and comprises the following steps:
adding a packet number field to the pipeline data and pipe point data;
recursively calculating packet number values of the pipeline according to the rules; wherein, the mutually communicated pipe points are the same as the grouping number values of the pipelines, and the non-communicated pipe points are different from the grouping number values of the pipelines;
grouping pipeline data according to the grouping number value to obtain a set of starting point numbers and end point numbers of all pipelines in the grouping;
inquiring the pipe points with the point numbers in the starting point number and the ending point number sets of all the pipelines in the pipe point data, and setting the grouping number values of the pipe points to be the same as those of the corresponding pipelines;
and constructing a combined entity by using the pipe points with the same packet number value and the pipeline entity.
Further, in the recursive call module, the recursive calculation of the packet number value of the pipeline according to the rule specifically includes:
step one: any record with empty packet number is taken out from the pipeline data, and the packet number of the pipeline is set asiThe first time this step is invoked,i=1, once for each subsequent call,ithe value is increased by 1, and the starting point number and the ending point number of the pipeline are obtained;
step two: searching all pipelines with starting point numbers or ending point numbers equal to the starting point numbers and the ending point numbers of the pipelines from the remaining records with empty grouping numbers, setting grouping number values of the pipelines to be the same as the pipelines, and simultaneously acquiring all the starting point numbers and the ending point numbers of the pipelines;
step three: taking the starting point number and the ending point number of the pipeline inquired in the second step as input conditions, and recursively calling the second step;
step four: if the query result is not null, recursively calling the second step, wherein the result of the previous call is used as the input condition of the next call; if the query result is empty, calling the first step; if no record with the empty packet number exists in the first step, calling the fifth step;
step five: grouping pipeline data according to the grouping number value, acquiring a set of starting point numbers and end point numbers of all pipelines in the grouping, inquiring the pipeline points with the point numbers in the set in the pipeline point data, and setting the grouping number value of the pipeline points to be the same as the corresponding pipeline.
A third aspect of the present invention provides a computer-readable storage medium.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps in the method of constructing a pipeline combining entity of the packet recursion of the first aspect.
A fourth aspect of the invention provides an electronic device.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the pipeline combining entity construction method of the first aspect of the packet recursion when the program is executed.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention designs a method for constructing a combined entity of a pipeline in a grouping recursion mode, does not need professional space analysis software and does not need connectivity analysis based on accurate flow direction information of pipeline data, and all mutually communicated pipeline points and pipelines can be identified only by searching and calculating the attribute of the pipeline points and the pipeline data, so that the method has universality, and the pipeline points and the pipeline are constructed into a combined geographic entity by virtue of a communication relationship, so that the cost is greatly reduced;
2. according to the invention, pipeline points and pipeline data generated by pipeline detection can be directly used, so that data preprocessing work is not needed, and the process flow is reduced;
3. according to the invention, the pipeline combination entity can be constructed according to the communication analysis result, and the data semanteme analysis requirement under the novel basic mapping background is met.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention.
FIG. 1 is a flow chart of a method for constructing a pipeline combining entity of a packet recursion type according to an embodiment of the present invention;
fig. 2 is a block diagram of a pipeline combining entity constructing system of a packet recursion type provided in the second embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and examples.
It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present invention. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
As mentioned in the background art, the prior art uses the network analysis function provided by the professional space analysis software to perform connectivity calculation, and the method firstly needs to rely on the professional software, has high price, secondly has high requirements on data quality, needs to perform a large amount of data modeling work on the data according to preset conditions, and has long time consumption and low fault tolerance, thus leading to incomplete analysis results or analysis failure.
The invention provides a method, a system, a medium and equipment for constructing a grouping recursion type pipeline combination entity aiming at the technical problem, which directly uses pipeline points and pipeline data generated by pipeline detection, does not need to carry out connectivity analysis based on accurate flow direction information of the pipeline data, does not need to purchase special space analysis software, can identify all mutually communicated pipeline points and pipelines only by searching and calculating the attribute of the pipeline points and the pipeline data, and can construct the pipeline combination entity according to the communication analysis result, thereby meeting the data semantical analysis requirement under the background of novel basic mapping.
Example 1
The embodiment provides a method for constructing a combined pipeline entity in a grouped recursion mode, which can identify all mutually communicated pipeline points and pipelines only by searching and calculating the attributes of the pipeline points and the pipeline data on the basis of acquiring the pipeline data and the pipeline point data, and constructs the pipeline points and the pipeline as the combined geographic entity by relying on a communication relation.
The pipeline combination entity construction method specifically comprises the following steps:
step one: acquiring pipeline data and pipe point data;
in this embodiment, the pipeline data and pipe point data are generated by directly using pipeline probing. The method has the technical advantages that data preprocessing is not needed, the process flow is reduced, and the construction efficiency is improved.
Step two: adding a packet number field to the pipeline data and pipe point data;
in the second step, the principle of adding the packet number field to the pipeline data and the pipe point data is as follows: the interconnected pipe points are the same as the pipeline grouping number values, and the non-interconnected pipe points are different from the pipeline grouping number values.
Step three: any record with empty packet number is taken out from the pipeline data, and the packet number of the pipeline is set asi(first time this step is invoked)i=1, once for each subsequent call,ithe value increases by 1), and the starting point number and the ending point number of the pipeline are obtained;
step four: searching all pipelines with starting point numbers or ending point numbers equal to the starting point numbers and the ending point numbers of the pipelines from the remaining records with empty grouping numbers, setting grouping number values of the pipelines to be the same as the pipelines, and simultaneously acquiring all the starting point numbers and the ending point numbers of the pipelines;
step five: taking the starting point number and the ending point number of the pipeline inquired in the step four as input conditions, and recursively calling the step four;
step six: if the query result is not null, recursively calling the fourth step, wherein the result of the previous call is used as the input condition of the next call; if the query result is empty, calling the third step; if no record with the empty packet number exists in the third step, calling a seventh step;
step seven: grouping pipeline data according to a grouping number value, acquiring a set of starting point numbers and end point numbers of all pipelines in the grouping, inquiring the pipeline points with the point numbers in the set in the pipeline point data, and setting the grouping number value of the pipeline points to be the same as that of the corresponding pipelines;
step eight: and constructing a combined entity by using the pipe points and pipeline entities with the same group number value, calculating a spatial identity code according to the spatial range and the pipeline type of the combined entity, and recording the combined relation in a relation table.
The technical scheme has the advantages that all mutually communicated pipe points and pipelines can be identified only by searching and calculating the attribute of the pipe point and pipeline data, the universality is realized, and the pipe points and pipelines are constructed into combined geographic entities by virtue of the communication relationship, so that the cost is greatly reduced; meanwhile, a pipeline combination entity can be constructed according to the connected analysis result, so that the data semanteme analysis requirement under the novel basic mapping background is met.
Example two
The present embodiment provides a pipeline combining entity construction system of packet recursion, including:
a data acquisition module configured to: acquiring pipeline data and pipe point data;
a recursive call module configured to: identifying all mutually communicated pipe points and pipelines by adopting a grouping recursion method and searching and calculating the attribute of the pipe point data and the pipe point data;
an entity building module configured to: constructing a pipeline combination geographic entity based on the communication relation between all the interconnected pipe points and the pipeline; a spatial identity code is calculated based on the spatial extent of the pipeline combination geographic entity and the pipeline type.
In the recursive call module, the method adopting the grouping recursive method identifies all the mutually communicated pipe points and pipelines through the retrieval and calculation of the attribute of the pipe point data and the pipe point data, and comprises the following steps:
adding a packet number field to the pipeline data and pipe point data;
recursively calculating packet number values of the pipeline according to the rules; wherein, the mutually communicated pipe points are the same as the grouping number values of the pipelines, and the non-communicated pipe points are different from the grouping number values of the pipelines;
grouping pipeline data according to the grouping number value to obtain a set of starting point numbers and end point numbers of all pipelines in the grouping;
inquiring the pipe points with the point numbers in the starting point number and the ending point number sets of all the pipelines in the pipe point data, and setting the grouping number values of the pipe points to be the same as those of the corresponding pipelines;
and constructing a combined entity by using the pipe points with the same packet number value and the pipeline entity.
In the recursive call module, the recursive calculation of the packet number value of the pipeline according to the rule specifically includes:
step one: any record with empty packet number is taken out from the pipeline data, and the packet number of the pipeline is set asiThe first time this step is invoked,i=1, once for each subsequent call,ithe value is increased by 1, and the starting point number and the ending point number of the pipeline are obtained;
step two: searching all pipelines with starting point numbers or ending point numbers equal to the starting point numbers and the ending point numbers of the pipelines from the remaining records with empty grouping numbers, setting grouping number values of the pipelines to be the same as the pipelines, and simultaneously acquiring all the starting point numbers and the ending point numbers of the pipelines;
step three: taking the starting point number and the ending point number of the pipeline inquired in the second step as input conditions, and recursively calling the second step;
step four: if the query result is not null, recursively calling the second step, wherein the result of the previous call is used as the input condition of the next call; if the query result is empty, calling the first step; if no record with the empty packet number exists in the first step, calling the fifth step;
step five: grouping pipeline data according to the grouping number value, acquiring a set of starting point numbers and end point numbers of all pipelines in the grouping, inquiring the pipeline points with the point numbers in the set in the pipeline point data, and setting the grouping number value of the pipeline points to be the same as the corresponding pipeline.
The technical advantage of the scheme is that all mutually communicated pipe points and pipelines can be identified only by searching and calculating the attributes of the pipe point and pipeline data without professional space analysis software, so that the scheme has universality, and the pipe points and pipelines are constructed into combined geographic entities by means of communication relations, so that the cost is greatly reduced.
Example III
The present embodiment provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps in a pipeline combining entity construction method of the packet recursion type as described above.
Example IV
The present embodiment provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps in the method for constructing a pipeline combining entity in a packet recursion manner as described above when the processor executes the program.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The method for constructing the pipeline combination entity of the packet recursion is characterized by comprising the following steps:
acquiring pipeline data and pipe point data;
identifying all mutually communicated pipe points and pipelines by adopting a grouping recursion method and searching and calculating the attribute of the pipe point data and the pipe point data;
a pipeline combination geographic entity is constructed based on the connectivity relationship of all interconnected pipe points and pipelines.
2. The method of claim 1, wherein the pipeline data and pipe point data are generated directly using pipeline probing.
3. The method for constructing a pipeline assembly entity of a packet recursion type as set forth in claim 1, wherein the method for identifying all the interconnected pipeline points and pipelines by retrieving and calculating the pipeline data and the attribute of the pipeline point itself comprises the steps of:
adding a packet number field to the pipeline data and pipe point data;
recursively calculating packet number values of the pipeline according to the rules; wherein, the mutually communicated pipe points are the same as the grouping number values of the pipelines, and the non-communicated pipe points are different from the grouping number values of the pipelines;
grouping pipeline data according to the grouping number value to obtain a set of starting point numbers and end point numbers of all pipelines in the grouping;
inquiring the pipe points with the point numbers in the starting point number and the ending point number sets of all the pipelines in the pipe point data, and setting the grouping number values of the pipe points to be the same as those of the corresponding pipelines;
and constructing a combined entity by using the pipe points with the same packet number value and the pipeline entity.
4. A method of constructing a pipeline combining entity of the packet recursion type as claimed in claim 3, wherein the recursively calculating the packet number values of the pipeline according to the rules comprises:
step one: any record with empty packet number is taken out from the pipeline data, and the packet number of the pipeline is set asiThe first time this step is invoked,i=1, once for each subsequent call,ithe value is increased by 1, and the starting point number and the ending point number of the pipeline are obtained;
step two: searching all pipelines with starting point numbers or ending point numbers equal to the starting point numbers and the ending point numbers of the pipelines from the remaining records with empty grouping numbers, setting grouping number values of the pipelines to be the same as the pipelines, and simultaneously acquiring all the starting point numbers and the ending point numbers of the pipelines;
step three: taking the starting point number and the ending point number of the pipeline inquired in the second step as input conditions, and recursively calling the second step;
step four: if the query result is not null, recursively calling the second step, wherein the result of the previous call is used as the input condition of the next call; if the query result is empty, calling the first step; if no record with the empty packet number exists in the first step, calling the fifth step;
step five: grouping pipeline data according to the grouping number value, acquiring a set of starting point numbers and end point numbers of all pipelines in the grouping, inquiring the pipeline points with the point numbers in the set in the pipeline point data, and setting the grouping number value of the pipeline points to be the same as the corresponding pipeline.
5. The method of claim 4, wherein after constructing the pipeline combining geographic entity, the spatial identity code is calculated according to the spatial range of the combining entity and the pipeline type, and the combining relationship is recorded in the relationship table.
6. A system for constructing a pipeline combining entity of a packet recursion type, comprising:
a data acquisition module configured to: acquiring pipeline data and pipe point data;
a recursive call module configured to: identifying all mutually communicated pipe points and pipelines by adopting a grouping recursion method and searching and calculating the attribute of the pipe point data and the pipe point data;
an entity building module configured to: a pipeline combination geographic entity is constructed based on the connectivity relationship of all interconnected pipe points and pipelines.
7. The system for constructing a pipeline combining entity of a packet recursion type as set forth in claim 6, wherein the method for identifying all interconnected pipe points and pipelines by retrieving and calculating the attributes of the pipe data and the pipe point data itself using the packet recursion type in the recursion call module comprises the steps of:
adding a packet number field to the pipeline data and pipe point data;
recursively calculating packet number values of the pipeline according to the rules; wherein, the mutually communicated pipe points are the same as the grouping number values of the pipelines, and the non-communicated pipe points are different from the grouping number values of the pipelines;
grouping pipeline data according to the grouping number value to obtain a set of starting point numbers and end point numbers of all pipelines in the grouping;
inquiring the pipe points with the point numbers in the starting point number and the ending point number sets of all the pipelines in the pipe point data, and setting the grouping number values of the pipe points to be the same as those of the corresponding pipelines;
and constructing a combined entity by using the pipe points with the same packet number value and the pipeline entity.
8. The system for constructing a pipeline combining entity of a packet recursion type according to claim 7, wherein in the recursion calling module, the recursively calculating the packet number value of the pipeline according to the rule comprises:
step one: any record with empty packet number is taken out from the pipeline data, and the packet number of the pipeline is set asiThe first time this step is invoked,i=1, once for each subsequent call,ithe value is increased by 1, and the starting point number and the ending point number of the pipeline are obtained;
step two: searching all pipelines with starting point numbers or ending point numbers equal to the starting point numbers and the ending point numbers of the pipelines from the remaining records with empty grouping numbers, setting grouping number values of the pipelines to be the same as the pipelines, and simultaneously acquiring all the starting point numbers and the ending point numbers of the pipelines;
step three: taking the starting point number and the ending point number of the pipeline inquired in the second step as input conditions, and recursively calling the second step;
step four: if the query result is not null, recursively calling the second step, wherein the result of the previous call is used as the input condition of the next call; if the query result is empty, calling the first step; if no record with the empty packet number exists in the first step, calling the fifth step;
step five: grouping pipeline data according to the grouping number value, acquiring a set of starting point numbers and end point numbers of all pipelines in the grouping, inquiring the pipeline points with the point numbers in the set in the pipeline point data, and setting the grouping number value of the pipeline points to be the same as the corresponding pipeline.
9. A computer readable storage medium, having stored thereon a computer program, which when executed by a processor, implements the steps of the method of constructing a pipeline combining entity of the packet recursion of any one of claims 1-5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the steps in the packet-recursive pipeline combination entity construction method of any one of claims 1-5.
CN202310429539.8A 2023-04-21 2023-04-21 Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity Active CN116186187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310429539.8A CN116186187B (en) 2023-04-21 2023-04-21 Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310429539.8A CN116186187B (en) 2023-04-21 2023-04-21 Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity

Publications (2)

Publication Number Publication Date
CN116186187A true CN116186187A (en) 2023-05-30
CN116186187B CN116186187B (en) 2023-07-14

Family

ID=86450873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310429539.8A Active CN116186187B (en) 2023-04-21 2023-04-21 Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity

Country Status (1)

Country Link
CN (1) CN116186187B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011149325A1 (en) * 2010-05-27 2011-12-01 Mimos Bhd. A method for conducting a visual query and a system therefor
US20120282785A1 (en) * 2009-11-03 2012-11-08 Orica Explosives Technology Pty Ltd Connector, and methods of use
CN103914564A (en) * 2014-04-18 2014-07-09 山东泰华电讯有限责任公司 Method and system for updating and warehousing urban pipelines on basis of ArcGIS (geographic information system)
CN103927419A (en) * 2014-04-18 2014-07-16 山东泰华电讯有限责任公司 Data processing method and system for CAD urban pipeline as-built drawing based on ArcGIS platform
CN109190174A (en) * 2018-08-03 2019-01-11 武汉众智鸿图科技有限公司 A kind of method and system for establishing pipe-network data model
CN110111410A (en) * 2019-03-22 2019-08-09 武汉众智鸿图科技有限公司 A kind of two three-dimensional pipe network data organizations and display methods based on spatial database
CN114840627A (en) * 2022-05-24 2022-08-02 中国电建集团成都勘测设计研究院有限公司 Urban underground comprehensive pipe network connectivity analysis method based on GIS + graph database

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120282785A1 (en) * 2009-11-03 2012-11-08 Orica Explosives Technology Pty Ltd Connector, and methods of use
WO2011149325A1 (en) * 2010-05-27 2011-12-01 Mimos Bhd. A method for conducting a visual query and a system therefor
CN103914564A (en) * 2014-04-18 2014-07-09 山东泰华电讯有限责任公司 Method and system for updating and warehousing urban pipelines on basis of ArcGIS (geographic information system)
CN103927419A (en) * 2014-04-18 2014-07-16 山东泰华电讯有限责任公司 Data processing method and system for CAD urban pipeline as-built drawing based on ArcGIS platform
CN109190174A (en) * 2018-08-03 2019-01-11 武汉众智鸿图科技有限公司 A kind of method and system for establishing pipe-network data model
CN110111410A (en) * 2019-03-22 2019-08-09 武汉众智鸿图科技有限公司 A kind of two three-dimensional pipe network data organizations and display methods based on spatial database
CN114840627A (en) * 2022-05-24 2022-08-02 中国电建集团成都勘测设计研究院有限公司 Urban underground comprehensive pipe network connectivity analysis method based on GIS + graph database

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
WU SAISAI等: "Annotation method for joint extraction of domin-oriented entities and relations", 《JOURNAL OF COMPUTER AOOLICATIONS》, vol. 41, no. 10, pages 2858 - 2863 *
周静等: "管线地理实体编码体系与组织管理模式探索", 《北京测绘》, vol. 35, no. 9, pages 1157 - 1161 *
房彩丽等: "面向地下管线空间数据匹配的概念语义相似性方法", 《计算机辅助设计与图形学学报》, vol. 29, no. 04, pages 720 - 727 *

Also Published As

Publication number Publication date
CN116186187B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
Bodlaender Kernelization: New upper and lower bound techniques
CN102270225B (en) Data change daily record method for supervising and data change daily record supervising device
CN110472068A (en) Big data processing method, equipment and medium based on heterogeneous distributed knowledge mapping
CN103793422A (en) Methods for generating cube metadata and query statements on basis of enhanced star schema
CN111814289B (en) Water supply pipe network pipe burst analysis method and analysis system based on schema theory
CN110175027A (en) A kind of method and apparatus for developing business function
CN104881427A (en) Data blood relationship analyzing method for power grid regulation and control running
CN114968727B (en) Database through infrastructure fault positioning method based on artificial intelligence operation and maintenance
CN115630105A (en) Micro-service architecture management method and system based on knowledge graph
CN116911386B (en) Knowledge graph construction method of hydroelectric equipment based on knowledge context service-oriented scene
CN116186187B (en) Method, system, medium and equipment for constructing grouping recursion type pipeline combination entity
CN113138906A (en) Call chain data acquisition method, device, equipment and storage medium
CN105573984B (en) The recognition methods of socio-economic indicator and device
CN110263108A (en) A kind of keyword Skyline fuzzy query method and system based on road network
CN110147313A (en) A kind of log-output method and device
CN114860851A (en) Data processing method, device, equipment and storage medium
CN108920664A (en) A kind of database intelligence index implementation method based on index value
EP2005332A1 (en) Management of statistical views in a database system
CN109639520B (en) Computer-aided test method for network communication of reactor protection system
CN111459965B (en) Information monitoring system for edge calculation
CN113821896B (en) Dynamic loading method and system for topological data of power distribution network
CN118069701B (en) Reverse query link construction method, reverse query link construction device, computer equipment and storage medium
CN110515923B (en) Data migration method and system between distributed databases
CN109885936B (en) Tracking and identifying method and system for geological boundary in two-dimensional geological section diagram
CN115374224A (en) Multi-source data conversion method for city independent coordinate system

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