CN116882407A - Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities - Google Patents

Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities Download PDF

Info

Publication number
CN116882407A
CN116882407A CN202311133640.5A CN202311133640A CN116882407A CN 116882407 A CN116882407 A CN 116882407A CN 202311133640 A CN202311133640 A CN 202311133640A CN 116882407 A CN116882407 A CN 116882407A
Authority
CN
China
Prior art keywords
geographic
data
target
entity data
geographic entity
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
CN202311133640.5A
Other languages
Chinese (zh)
Other versions
CN116882407B (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.)
Aerospace Hongtu Information Technology Co Ltd
Original Assignee
Aerospace Hongtu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aerospace Hongtu Information Technology Co Ltd filed Critical Aerospace Hongtu Information Technology Co Ltd
Priority to CN202311133640.5A priority Critical patent/CN116882407B/en
Publication of CN116882407A publication Critical patent/CN116882407A/en
Application granted granted Critical
Publication of CN116882407B publication Critical patent/CN116882407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • G06F40/295Named entity recognition
    • 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/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method, a device and equipment for constructing hierarchical connectivity of multi-granularity geographic entities, comprising the following steps: obtaining geographic element data of each ground object in a research area under a plurality of scales; generating target geographic entity data under a plurality of spatial granularities based on geographic element data corresponding to each ground object; and matching the target geographic entity data with different spatial granularities to construct a hierarchical communication relationship between the target geographic entity data with different spatial granularities. The invention makes up for the situation that a large number of non-same-name geographic entities exist in actual application and operation, and can meet the application requirements of matching and updating the current geographic entities.

Description

Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities
Technical Field
The present invention relates to the field of knowledge graph technology of geographic entities, and in particular, to a method, an apparatus, and a device for establishing hierarchical connectivity of multiple granularity geographic entities.
Background
Currently, aiming at space data matching and expression based on a space database, the prior art generally uses a multi-scale space database to search space data with the same name under different scales by methods of geometric matching, semantic matching and the like so as to realize data matching. Meanwhile, hierarchical communication relations among the same-name space data with different scales are constructed, so that the expression of the same space data with different scales is realized.
However, in the prior art, data matching is performed on the same-name geographic entities based on a multi-scale space database, and features need to exist in data with different scales at the same time and can be matched through matching methods such as geometry, semantics and the like, namely the same-name geographic entities need to exist; if the geographical entities with the same name do not exist, matching cannot be performed, so that the application requirements of the matching update of the current geographical entities cannot be met.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, an apparatus, and a device for establishing hierarchical connectivity of multi-granularity geographic entities, which make up for the situation that a large number of non-same name geographic entities exist in actual application and operation, and can satisfy the application requirements of matching and updating current geographic entities.
In a first aspect, an embodiment of the present invention provides a method for constructing a hierarchical connectivity relationship of a multi-granularity geographic entity, including:
obtaining geographic element data of each ground object in a research area under a plurality of scales;
generating target geographic entity data under a plurality of spatial granularities based on the geographic element data corresponding to each ground object;
and matching the target geographic entity data with different spatial granularities to construct a hierarchical communication relationship between the target geographic entity data with different spatial granularities.
In one embodiment, generating target geographic entity data of the research area under a plurality of spatial granularities based on the geographic element data corresponding to each feature includes:
carrying out structuring processing on the geographic element data of the ground object under each scale to obtain geographic entity data of the ground object under the scale;
determining a plurality of spatial granularities;
and for each space granularity, determining a target ground object belonging to the space granularity from ground objects contained in the research area, and fusing the geographic entity data of the target ground object under each scale to obtain target geographic entity data under the space granularity.
In one embodiment, the geographic element data includes geometric information; carrying out structuring treatment on the geographic element data of the ground object under the scale to obtain geographic entity data of the ground object under the scale:
determining the element type of the geographic element data based on the geometric information of the ground feature under the scale; wherein the element types include a point element, a line element, and a plane element;
if the geographic element data belongs to the point element, ignoring the geographic element data;
if the geographic element data belongs to the line element, constructing the geographic element data to obtain geographic entity data of the ground feature under the scale;
and if the geographic element data belongs to the surface element and the geographic element data comprises a plurality of layers of surface elements, carrying out parallel operation on each layer of surface elements in the geographic element data to obtain an outer contour, and converting the outer contour into geographic entity data of the ground object under the scale.
In one embodiment, the geographic element data includes attribute information and geometric information; fusing the geographic entity data of the target ground object under each scale to obtain target geographic entity data under the spatial granularity, wherein the method comprises the following steps:
keeping the attribute information corresponding to the target ground object unchanged, and determining target geometric information from each piece of geometric information corresponding to the target ground object;
taking the geographic entity data under the scale of the target geometric information as target geographic entity data under the spatial granularity; and the target geographic entity data is associated with the attribute information and the target geometric information.
In one embodiment, matching the target geographic entity data with different spatial granularities to construct a hierarchical connectivity relationship between the target geographic entity data with different spatial granularities includes:
if the geographic element data are two-dimensional data, performing geometric matching on the target geographic entity data under the two spatial granularities based on target geometric information associated with the target geographic entity data under the two spatial granularities; or, based on the attribute information associated with the target geographic entity data under the two spatial granularities, carrying out semantic matching on the target geographic entity data under the two spatial granularities;
and taking the matching result as a hierarchical communication relation between the target geographic entity data under the two spatial granularities.
In one embodiment, matching the target geographic entity data with different spatial granularities to construct a hierarchical connectivity relationship between the target geographic entity data with different spatial granularities, further includes:
and if the geographic element data are three-dimensional data, determining a hierarchical connectivity relationship between the target geographic entity data under the two spatial granularities based on bounding boxes of the target geographic entity data under the two spatial granularities.
In one embodiment, after constructing the hierarchical connectivity relationship between the geographic entity data of different said granularities, the method further comprises:
updating a multi-scale space database by using the hierarchical connectivity relationship; the multi-scale space database is used for storing geographic element data of each ground feature under a plurality of scales;
or updating the geographic entity space database by using the hierarchical connectivity relationship; the geographic entity space database is used for storing geographic entity data;
or, expressing the target geographic entity data by using the hierarchical connectivity relation.
In a second aspect, an embodiment of the present invention further provides a hierarchical connectivity relationship construction apparatus for multi-granularity geographic entities, including:
the multi-scale data acquisition module is used for acquiring geographic element data of each ground feature in the research area under a plurality of scales;
the multi-granularity entity generation module is used for generating target geographic entity data under a plurality of spatial granularities based on the geographic element data corresponding to each ground feature;
and the relation construction module is used for matching the target geographic entity data with different spatial granularities so as to construct hierarchical communication relations among the target geographic entity data with different spatial granularities.
In a third aspect, an embodiment of the present invention further provides an electronic device comprising a processor and a memory storing computer-executable instructions executable by the processor to implement the method of any one of the first aspects.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of the first aspects.
The embodiment of the invention provides a hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities, which comprises the steps of firstly acquiring geographic element data of each ground object in a research area under multiple scales; then generating target geographic entity data under a plurality of spatial granularities based on geographic element data corresponding to each ground object; and finally, matching the target geographic entity data with different spatial granularities to construct a hierarchical communication relationship between the target geographic entity data with different spatial granularities. According to the method, the target geographic entity data under multiple spatial granularities are generated on the basis of the multi-scale geographic element data, and the hierarchical communication relation among the target geographic entity data with different spatial granularities can be constructed by matching the target geographic entity data with different spatial granularities.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a hierarchical connectivity construction method for multi-granularity geographic entities according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of multi-scale geographic entity data according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of target geographic entity data with different spatial granularity according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for establishing hierarchical connectivity between multi-granularity geographic entities according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a hierarchical connectivity construction device for multi-granularity geographic entities according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described in conjunction with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. 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.
Currently, the prior art has the following disadvantages: in the prior art, data matching is performed on the same-name geographic entities based on a multi-scale space database, and features need to exist in data of different scales at the same time and can be matched through matching methods such as geometry, semantics and the like, namely the same-name (geographic) entities need to exist; if there is no entity with the same name (geography), the matching cannot be performed; the data to be processed are usually two-dimensional graphics. Under the background of the current live-action three-dimensional construction, most of the space data are three-dimensional data, and due to the concept of geographic entities, a large number of non-identical (geographic) entities exist in actual application and operation, so that the prior art cannot meet the application requirements of matching and updating the current geographic entities.
Based on the method, the device and the equipment for constructing the hierarchical connectivity relationship of the multi-granularity geographic entities, the situation that a large number of non-same-name geographic entities exist in actual application and operation is made up, and the application requirements of matching and updating of the current geographic entities can be met.
For the convenience of understanding the present embodiment, first, a method for constructing a hierarchical connectivity relationship of a multi-granularity geographic entity disclosed in the present embodiment will be described in detail, referring to a schematic flow chart of a method for constructing a hierarchical connectivity relationship of a multi-granularity geographic entity shown in fig. 1, the method mainly includes the following steps S102 to S106:
step S102, geographic element data of each ground feature in the research area under multiple scales is obtained.
In one example, the geographic element represents an object located on or near the surface of the earth, and the geographic element is usually represented by a point element, a line element, or a plane element, and may be mainly a two-dimensional graph or three-dimensional data. The geographic element data includes attribute information for describing attributes of the feature, such as address information of the feature, and geometric information, which may include geometric coordinate information of the feature.
In one example, multi-scale refers primarily to different scales. At different scales, the geometric forms of spatial data (including geographic elements, geographic entities, images, oblique photography, etc.) may vary. Spatial data matching based on a multi-scale spatial database mainly uses a matching technology based on geometry and semantics to search and construct hierarchical connectivity relations of homonymous entities.
In one embodiment, the geographic element data may be read directly from the multi-scale space database. By way of example, assuming that n scale-space databases are preconfigured, n geographic element data can be acquired from the n scale-space databases at most for the same ground object.
Step S104, generating target geographic entity data under a plurality of spatial granularities based on the geographic element data corresponding to each ground object.
In one example, the concept of a geographic entity is as follows: according to the relevant documents, a geographical entity refers to a geographical object occupying a certain and continuous spatial position and range in the real world, having individually the same attribute or complete function. For example, an "X world" campus is a (combined) geographic entity formed by yards, interior roads, greenbelts, buildings, affiliated facilities, etc. that have the same right, space continuity; the Y building in the campus may be considered a single entity. The geographic entity contains two-dimensional and three-dimensional graphics.
In one example, entity data spatial granularity (spatial granularity for short) refers to the basic spatial units of geographic entity data collection and expression. Different spatial granularity can be generated according to different acquisition methods and expression modes. For example, focusing on the location and number of all parks of a target market, one may take "parks" as the basic space unit, focusing on a certain building in each park, not the park; when focusing on office buildings in a campus for a target city, the focus is on the buildings in the campus, where the campus entities still exist, but are composed of some geographical entities. The two cases are different spatial granularities of the geographical entities.
In one embodiment, for each scale and each ground feature, the geographic element data of the ground feature under the scale can be subjected to analysis processing and structuring processing to obtain geographic entity data of the ground feature under the scale; and then, for each space granularity, carrying out fusion processing on the geographic entity data of each target ground object belonging to the space granularity under a plurality of scales to obtain the target geographic entity data under the granularity space.
And S106, matching the target geographic entity data with different spatial granularities to construct a hierarchical communication relationship between the target geographic entity data with different spatial granularities.
In one example, the hierarchical connectivity relationship may include inclusion relationships, combination relationships, and the like.
In one embodiment, for the target geographic entity data of two granularity spaces, a hierarchical connectivity relationship between the target geographic entity data of the two granularity spaces is determined through geometric matching or semantic matching.
According to the hierarchical connectivity construction method for the multi-granularity geographic entities, the target geographic entity data under the multiple spatial granularities are generated on the basis of the multi-scale geographic element data, and the hierarchical connectivity construction between the target geographic entity data with different spatial granularities can be realized by matching the target geographic entity data with different spatial granularities.
For facilitating understanding, the embodiment of the invention provides a specific implementation method of a hierarchical connectivity relation construction method of multi-granularity geographic entities.
For the foregoing step S102, the geographic element data may be directly read from the multiscale spatial database, including geometric information and attribute information. For the same ground feature, at most n geographic element data can be acquired from n scale space databases.
For the foregoing step S104, the embodiment of the present invention provides an implementation manner of generating target geographic entity data of a research area under a plurality of spatial granularities based on geographic element data corresponding to each feature, see the following steps 1 to 3:
step 1, carrying out structuring processing on the geographic element data of the ground object under each scale to obtain geographic entity data of the ground object under the scale.
In an alternative embodiment, before executing step 1, the geographic element data may be parsed, taking the GeoJSON format as an example, where the process of parsing the geographic element data is as follows: according to the space database field, the attribute field name and the attribute value in each piece of data are respectively written into the properties object of the GeoJSON, and the geometric coordinate information is written into the geometry object according to the GeoJSON format.
On the basis, the geographic element data of the ground object under a plurality of scales can be further subjected to structural processing. Specifically, the structuring process uses a custom data processing rule to process the geographic element data, and structured geographic entity data is obtained. Wherein the data processing rules are as follows in steps 1.1 to 1.4:
and 1.1, determining the element type of the geographic element data based on the geometric information of the ground feature under the scale. Wherein the element types include a point element, a line element, and a plane element. In one embodiment, the element type to which the geographic element data belongs may be represented by geometric coordinate information.
And 1.2, if the geographic element data belongs to the point element, ignoring the geographic element data.
In one example, the point elements will not be converted to geographic entities.
And 1.3, if the geographic element data belong to the line element, constructing the geographic element data to obtain geographic entity data of the ground feature under the scale. Wherein the line elements are divided into a closed line, an edge line, a central line, a fracture line and a multi-layer edge line; the geographic entity data may be face entity data.
In one example, if the line element is a closed line, the closed line is configured to generate a corresponding surface entity; if the boundary is a line, connecting the break points and constructing the surface to generate a corresponding surface entity; if the plane is a neutral line, buffering, manually processing, constructing a plane, and generating a corresponding plane entity; if the surface is a fracture line or a multi-layer edge line, the surface is manually repaired and constructed, and a corresponding surface entity is generated.
And 1.4, if the geographic element data belongs to the surface element and the geographic element data comprises multi-layer elements, carrying out parallel operation on each layer of elements in the geographic element data to obtain an outer contour, and converting the outer contour into geographic entity data of the ground object under the scale.
In one example, if the surface element is a multi-layer surface, the outline is extracted to generate the corresponding surface entity.
And 2, determining a plurality of space granularities.
Alternatively, the required spatial granularity may be preconfigured, such as with a campus spatial granularity, a building spatial granularity, etc., and the division of the spatial granularity is not limited in the embodiment of the present invention.
And 3, determining a target ground object belonging to each spatial granularity from ground objects contained in the research area, and fusing the geographic entity data of the target ground object under each scale to obtain target geographic entity data under the spatial granularity.
Illustratively, assuming at a campus space granularity, all parks within the research area will be determined to belong to the target ground object at that campus space granularity; similarly, assuming that at a building space granularity, all buildings in a campus are the target ground objects that belong to that building space granularity.
In a specific implementation, in the multi-scale space data, there are different-scale geographic entity data generated according to the data precision, such as a schematic diagram of the multi-scale geographic entity data shown in fig. 2, where the different-scale geographic entity data are fused into the same granularity: the attribute information is unchanged and the geometric information uses the finest one of the multi-scale data.
For easy understanding, the step of fusing the geographic entity data of the target ground object under each scale to obtain the target geographic entity data under the spatial granularity may be performed according to the following steps 3.1 to 3.2:
and 3.1, keeping the attribute information corresponding to the target ground object unchanged, and determining target geometric information from each piece of geometric information corresponding to the target ground object.
It can be understood that, under different scales, the attribute information corresponding to the same ground object is the same, and the geometric information of the attribute information is different. The embodiment of the invention selects the finest target geometric information in the multi-scale data, namely the geometric information with the largest scale as the target geometric information.
Step 3.2, taking the geographic entity data under the scale of the target geometric information as the target geographic entity data under the spatial granularity; and the target geographic entity data is associated with the attribute information and the target geometric information.
It will be appreciated that the geographic entity data depicted by the target geometry information is the most refined, and therefore the geographic entity data is taken as the target geographic entity data at the spatial granularity.
For each park in the research area, the geographic entity data corresponding to the park are fused, namely the attribute information is unchanged, and the geometric information uses the finest one of the multi-scale data, so that the target geographic entity data corresponding to each park under the park space granularity is obtained; similarly, the target geographic entity data corresponding to each building under the spatial granularity of the building can be obtained.
For the foregoing step S106, the embodiment of the present invention provides an implementation manner of matching target geographic entity data with different spatial granularities to construct a hierarchical connectivity relationship between target geographic entity data with different spatial granularities, see the following manner one to manner two:
in one aspect, for two-dimensional data, the step of matching the target geographic entity data is performed according to the following steps a to b:
and a step a, constructing hierarchical communication relations among target geographic entity data with different space granularities through geometric matching or semantic matching.
Referring to the schematic diagram of the target geographic entity data under different spatial granularities shown in fig. 3, taking two-dimensional data as an example, coarse granularity data is shown on the left side aiming at geographic entity data sets with different granularities, park (geographic) entities are used as attention points, fine granularity data is shown on the right side, and building (geographic) entities are used as attention points. Where it is necessary to construct a relationship between two geographic entities at different granularities, the "Y building" (i.e., building) and the "X-day" (i.e., campus).
Specifically, the method comprises the following (one) to (two):
and (I) performing geometric matching on the target geographic entity data under the two spatial granularities based on the target geometric information associated with the target geographic entity data under the two spatial granularities.
In the concrete implementation, first, the 'Y building' (geographic) entity has no corresponding homonymous entity under coarse granularity, and the 'Y building' and the 'X heaven and earth' are judged to have the inclusion relationship through the geometric relationship.
And secondly, carrying out semantic matching on the target geographic entity data under the two spatial granularities based on the attribute information associated with the target geographic entity data under the two spatial granularities.
In a specific implementation, according to the attribute of the two, for example, the attribute value of the address field in the attribute field of the 'Y building' is '1 road of certain district of certain city of certain province X-heaven-earth 4-span', and the attribute value of the address in the attribute of the 'X-heaven-earth' is '1 road of certain district of certain city of certain province', both are known to be positioned in the 'X-heaven-earth' according to the attribute value, so that the relation between the 'Y building' entity and the 'X-heaven-earth' entity can be constructed as a combined relation.
And b, taking the matching result as a hierarchical communication relation between the target geographic entity data under two spatial granularities.
Mode two, for three-dimensional data:
and if the geographic element data are three-dimensional data, determining the hierarchical connectivity relationship between the target geographic entity data under the two spatial granularities based on bounding boxes of the target geographic entity data under the two spatial granularities. In practical application, bounding boxes of target geographic entity data under two spatial granularities can be calculated, the relationship of the two bounding boxes is obtained, the relationship between (geographic) entities is further judged, and the relationship is determined to be a hierarchical communication relationship.
In one embodiment, after constructing the hierarchical connectivity relationship between the geographic entity data of different granularities, the following steps may also be performed:
(1) Updating the multi-scale space database by using the hierarchical connectivity relationship; the multi-scale space database is used for storing geographic element data of each ground feature under a plurality of scales; (2) Updating the geographic entity space database by using the hierarchical connectivity relationship; the geographic entity space database is used for storing geographic entity data; (3) And expressing the target geographic entity data by using the hierarchical connectivity relationship.
In the concrete implementation, the acquired hierarchical connectivity relationship is directly supplemented into the geographic entity data to be updated. Specific: the obtained hierarchical connected relation can be used for updating an original spatial database (namely, the multi-scale spatial database), constructing a new geographic entity spatial database with relation, or directly applying multi-scale multi-granularity expression with geographic entities.
In summary, the method for constructing hierarchical connectivity relationships of multi-granularity geographic entities provided by the embodiment of the invention has at least the following characteristics:
(1) The situation that a large number of non-identical (geographic) entities exist in actual application and operation is made up, and the application requirements of matching and updating the current geographic entities can be met.
(2) And processing the geographic element data by using a user-defined data processing rule to obtain structured geographic entity data, thereby providing a method support for converting the geographic element into the geographic entity.
For easy understanding, another implementation manner of the hierarchical connectivity relationship construction method of multi-granularity geographic entities is provided in the embodiment of the present invention, and referring to a flow chart of another hierarchical connectivity relationship construction method of multi-granularity geographic entities shown in fig. 4, the method mainly includes steps S402 to S410:
step S402, obtaining geographic entity data with different granularities from a multi-scale geographic entity space database.
And step S404, matching the geographic entity data with different granularities, and constructing a hierarchical communication relationship between the entities with different granularities.
In step S406, the obtained hierarchical connectivity relationship may be used to update the original database.
In step S408, the obtained hierarchical connectivity relationship may be used to construct a new geographic entity space database with relationships.
In step S410, the obtained hierarchical connectivity relationship may be used for expression of the geographic entity.
The embodiment of the invention makes up for the situation that a large number of non-same name (geographic) entities exist in actual application and operation, and can meet the application requirements of matching and updating the current geographic entities; in addition, the geographic element data is processed by using the custom data processing rule processing to obtain the structured geographic entity data, and a method support is provided for converting the geographic element into the geographic entity.
For the method for constructing the hierarchical connectivity relationship of the multi-granularity geographic entity provided in the foregoing embodiment, the embodiment of the present invention provides a device for constructing the hierarchical connectivity relationship of the multi-granularity geographic entity, referring to a schematic structural diagram of the device for constructing the hierarchical connectivity relationship of the multi-granularity geographic entity shown in fig. 5, where the device mainly includes the following parts:
the multi-scale data acquisition module 502 is configured to acquire geographic element data of each ground feature in the research area under multiple scales;
a multi-granularity entity generation module 504, configured to generate target geographic entity data under multiple spatial granularities based on geographic element data corresponding to each feature;
the relationship construction module 506 is configured to match target geographic entity data with different spatial granularities, so as to construct a hierarchical connectivity relationship between the target geographic entity data with different spatial granularities.
According to the hierarchical connectivity relation construction device for the multi-granularity geographic entities, provided by the embodiment of the invention, the target geographic entity data under a plurality of spatial granularities are generated on the basis of the multi-scale geographic element data, and the hierarchical connectivity relation construction between the target geographic entity data with different spatial granularities can be realized by matching the target geographic entity data with different spatial granularities.
In one embodiment, the multi-granularity entity generation module 504 is further configured to:
for the geographic element data of the ground object under each scale, carrying out structuring treatment on the geographic element data of the ground object under the scale to obtain geographic entity data of the ground object under the scale;
determining a plurality of spatial granularities;
and for each space granularity, determining a target ground object belonging to the space granularity from ground objects contained in the research area, and fusing the geographic entity data of the target ground object under each scale to obtain target geographic entity data under the space granularity.
In one embodiment, the geographic element data includes geometric information; the multi-granularity entity generation module 504 is further configured to:
determining the element type of the geographic element data based on the geometric information of the ground feature under the scale; wherein the element types include a point element, a line element, and a plane element;
if the geographic element data belongs to the point element, neglecting the geographic element data;
if the geographic element data belongs to the line element, constructing the geographic element data to obtain geographic entity data of the ground feature under the scale;
and if the geographic element data belongs to the surface element and the geographic element data comprises a plurality of layers of elements, carrying out sum operation on each layer of elements in the geographic element data to obtain an outline, and converting the outline into geographic entity data of the ground object under the scale.
In one embodiment, the geographic element data includes attribute information and geometric information; the multi-granularity entity generation module 504 is also configured to:
keeping the attribute information corresponding to the target ground object unchanged, and determining target geometric information from each piece of geometric information corresponding to the target ground object;
taking the geographic entity data under the scale of the target geometric information as the target geographic entity data under the spatial granularity; and the target geographic entity data is associated with the attribute information and the target geometric information.
In one embodiment, the relationship construction module 506 is further configured to:
if the geographic element data are two-dimensional data, performing geometric matching on the target geographic entity data under the two spatial granularities based on the target geometric information associated with the target geographic entity data under the two spatial granularities; or, performing semantic matching on the target geographic entity data under the two spatial granularities based on the attribute information associated with the target geographic entity data under the two spatial granularities;
and taking the matching result as a hierarchical communication relation between the target geographic entity data under two spatial granularities.
In one embodiment, the relationship construction module 506 is further configured to:
and if the geographic element data are three-dimensional data, determining the hierarchical connectivity relationship between the target geographic entity data under the two spatial granularities based on bounding boxes of the target geographic entity data under the two spatial granularities.
In one embodiment, the method further comprises updating the expression module for:
updating the multi-scale space database by using the hierarchical connectivity relationship; the multi-scale space database is used for storing geographic element data of each ground feature under a plurality of scales;
or updating the geographic entity space database by using the hierarchical connectivity relationship; the geographic entity space database is used for storing geographic entity data;
alternatively, the target geographic entity data is expressed using a hierarchical connectivity relationship.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
The embodiment of the invention provides electronic equipment, which comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the embodiments described above.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 100 includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, the processor 60, the communication interface 63 and the memory 61 being connected by the bus 62; the processor 60 is arranged to execute executable modules, such as computer programs, stored in the memory 61.
The memory 61 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is achieved via at least one communication interface 63 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Bus 62 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 6, but not only one bus or type of bus.
The memory 61 is configured to store a program, and the processor 60 executes the program after receiving an execution instruction, and the method executed by the apparatus for flow defining disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 60 or implemented by the processor 60.
The processor 60 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 60. The processor 60 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 61 and the processor 60 reads the information in the memory 61 and in combination with its hardware performs the steps of the method described above.
The computer program product of the readable storage medium provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where the program code includes instructions for executing the method described in the foregoing method embodiment, and the specific implementation may refer to the foregoing method embodiment and will not be described herein.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The method for constructing the hierarchical connectivity relationship of the multi-granularity geographic entity is characterized by comprising the following steps of:
obtaining geographic element data of each ground object in a research area under a plurality of scales;
generating target geographic entity data under a plurality of spatial granularities based on the geographic element data corresponding to each ground object;
and matching the target geographic entity data with different spatial granularities to construct a hierarchical communication relationship between the target geographic entity data with different spatial granularities.
2. The hierarchical connectivity construction method of multi-granularity geographic entities according to claim 1, wherein generating target geographic entity data of the research area at a plurality of spatial granularities based on the geographic element data corresponding to each feature comprises:
carrying out structuring processing on the geographic element data of the ground object under each scale to obtain geographic entity data of the ground object under the scale;
determining a plurality of spatial granularities;
and for each space granularity, determining a target ground object belonging to the space granularity from ground objects contained in the research area, and fusing the geographic entity data of the target ground object under each scale to obtain target geographic entity data under the space granularity.
3. The hierarchical connectivity construction method of multi-granularity geographic entities according to claim 2, wherein the geographic element data comprises geometric information; carrying out structuring treatment on the geographic element data of the ground object under the scale to obtain geographic entity data of the ground object under the scale:
determining the element type of the geographic element data based on the geometric information of the ground feature under the scale; wherein the element types include a point element, a line element, and a plane element;
if the geographic element data belongs to the point element, ignoring the geographic element data;
if the geographic element data belongs to the line element, constructing the geographic element data to obtain geographic entity data of the ground feature under the scale;
and if the geographic element data belongs to the surface element and the geographic element data comprises a plurality of layers of surface elements, carrying out parallel operation on each layer of surface elements in the geographic element data to obtain an outer contour, and converting the outer contour into geographic entity data of the ground object under the scale.
4. The hierarchical connectivity construction method of multi-granularity geographic entities according to claim 2, wherein the geographic element data comprises attribute information and geometric information; fusing the geographic entity data of the target ground object under each scale to obtain target geographic entity data under the spatial granularity, wherein the method comprises the following steps:
keeping the attribute information corresponding to the target ground object unchanged, and determining target geometric information from each piece of geometric information corresponding to the target ground object;
taking the geographic entity data under the scale of the target geometric information as target geographic entity data under the spatial granularity; and the target geographic entity data is associated with the attribute information and the target geometric information.
5. The hierarchical connectivity relationship construction method of multi-granularity geographic entities according to claim 1, wherein matching the target geographic entity data of different spatial granularities to construct the hierarchical connectivity relationship between the target geographic entity data of different spatial granularities comprises:
if the geographic element data are two-dimensional data, performing geometric matching on the target geographic entity data under the two spatial granularities based on target geometric information associated with the target geographic entity data under the two spatial granularities; or, based on the attribute information associated with the target geographic entity data under the two spatial granularities, carrying out semantic matching on the target geographic entity data under the two spatial granularities;
and taking the matching result as a hierarchical communication relation between the target geographic entity data under the two spatial granularities.
6. The hierarchical connectivity relationship construction method of multi-granularity geographic entities according to claim 1, wherein matching the target geographic entity data of different spatial granularities to construct hierarchical connectivity relationships between the target geographic entity data of different spatial granularities further comprises:
and if the geographic element data are three-dimensional data, determining a hierarchical connectivity relationship between the target geographic entity data under the two spatial granularities based on bounding boxes of the target geographic entity data under the two spatial granularities.
7. The method for constructing hierarchical connectivity relationships among multi-granularity geographic entities according to claim 1, further comprising, after constructing hierarchical connectivity relationships among the geographic entity data of different granularities:
updating a multi-scale space database by using the hierarchical connectivity relationship; the multi-scale space database is used for storing geographic element data of each ground feature under a plurality of scales;
or updating the geographic entity space database by using the hierarchical connectivity relationship; the geographic entity space database is used for storing geographic entity data;
or, expressing the target geographic entity data by using the hierarchical connectivity relation.
8. A hierarchical connectivity construction device for multi-granularity geographic entities, comprising:
the multi-scale data acquisition module is used for acquiring geographic element data of each ground feature in the research area under a plurality of scales;
the multi-granularity entity generation module is used for generating target geographic entity data under a plurality of spatial granularities based on the geographic element data corresponding to each ground feature;
and the relation construction module is used for matching the target geographic entity data with different spatial granularities so as to construct hierarchical communication relations among the target geographic entity data with different spatial granularities.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 7.
CN202311133640.5A 2023-09-05 2023-09-05 Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities Active CN116882407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311133640.5A CN116882407B (en) 2023-09-05 2023-09-05 Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311133640.5A CN116882407B (en) 2023-09-05 2023-09-05 Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities

Publications (2)

Publication Number Publication Date
CN116882407A true CN116882407A (en) 2023-10-13
CN116882407B CN116882407B (en) 2023-12-15

Family

ID=88262410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311133640.5A Active CN116882407B (en) 2023-09-05 2023-09-05 Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities

Country Status (1)

Country Link
CN (1) CN116882407B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200257731A1 (en) * 2019-02-08 2020-08-13 Intuit Inc. Disambiguation of massive graph databases
CN113312369A (en) * 2021-07-30 2021-08-27 自然资源部第三地理信息制图院 Multi-scale map database cascading updating method based on unique identification code
CN115563324A (en) * 2022-08-22 2023-01-03 武汉大学 Map multi-scale mixed indexing method and device based on block-layer-target
CN116050429A (en) * 2023-04-03 2023-05-02 中国电子科技集团公司第十五研究所 Geographic environment entity construction system and method based on multi-mode data association
CN116450765A (en) * 2023-06-16 2023-07-18 山东省国土测绘院 Polymorphic geographic entity coding consistency processing method and system
CN116663662A (en) * 2023-07-31 2023-08-29 航天宏图信息技术股份有限公司 Geographic entity multi-level relation construction method and device based on multi-source semantic network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200257731A1 (en) * 2019-02-08 2020-08-13 Intuit Inc. Disambiguation of massive graph databases
CN113312369A (en) * 2021-07-30 2021-08-27 自然资源部第三地理信息制图院 Multi-scale map database cascading updating method based on unique identification code
CN115563324A (en) * 2022-08-22 2023-01-03 武汉大学 Map multi-scale mixed indexing method and device based on block-layer-target
CN116050429A (en) * 2023-04-03 2023-05-02 中国电子科技集团公司第十五研究所 Geographic environment entity construction system and method based on multi-mode data association
CN116450765A (en) * 2023-06-16 2023-07-18 山东省国土测绘院 Polymorphic geographic entity coding consistency processing method and system
CN116663662A (en) * 2023-07-31 2023-08-29 航天宏图信息技术股份有限公司 Geographic entity multi-level relation construction method and device based on multi-source semantic network

Also Published As

Publication number Publication date
CN116882407B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
CN111695488B (en) Method, device, equipment and storage medium for identifying interest surface
CN107389078B (en) A kind of route recommendation method, apparatus and computer readable storage medium
CN111161279A (en) Medical image segmentation method and device and server
CN111429560B (en) Three-dimensional terrain service fusion method, device and server
Liu et al. Image-translation-based road marking extraction from mobile laser point clouds
CN117033366A (en) Knowledge-graph-based ubiquitous space-time data cross verification method and device
CN113642313A (en) Address text processing method, device, equipment, storage medium and program product
CN112685616A (en) Precise power component management method based on space grid and building information model
CN111652658A (en) Portrait fusion method, apparatus, electronic device and computer readable storage medium
CN111597279A (en) Information prediction method based on deep learning and related equipment
CN114283148A (en) Road element extraction method and device, storage medium and electronic equipment
CN115841558B (en) Urban road modeling method, device, electronic equipment and storage medium
CN114595302A (en) Method, device, medium, and apparatus for constructing multi-level spatial relationship of spatial elements
CN116882407B (en) Hierarchical connectivity construction method, device and equipment for multi-granularity geographic entities
CN112215864B (en) Contour processing method and device of electronic map and electronic equipment
CN114049616B (en) Three-dimensional space target detection method and system based on fuzzy classification
CN113849498B (en) Index construction and query method
Yarroudh et al. 3D MODELING OF ROAD INFRASTRUCTURES ACCORDING TO CITYGML 3.0 AND ITS CITYJSON ENCODING
CN111241103B (en) Data storage method, data query method and related device
Thiemann et al. An automatic approach for generalization of land-cover data from topographic data
CN112181978A (en) Address storage structure, address resolution method, device, medium and computer equipment
CN115858519B (en) DEM leveling method and device
CN115641430B (en) Method, device, medium and computer equipment for determining interest surface
CN117556079B (en) Remote sensing image content retrieval method, remote sensing image content retrieval device, electronic equipment and medium
CN111696184B (en) Bone skin fusion determination method, device, equipment and storage medium

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