Geographic object lifecycle management method and apparatus, electronic device

By constructing a spatiotemporal knowledge graph-based approach, the problems of data chaos and redundancy in geographic object management are solved, enabling efficient data querying and storage, and supporting full lifecycle management of geographic objects.

CN115934870BActive Publication Date: 2026-01-27AEROSPACE INFORMATION RES INST CAS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211409805.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-10
Publication Date
2026-01-27
Estimated Expiration
2042-11-10

AI Technical Summary

Technical Problem

Existing geographic object management methods result in chaotic data management, low query efficiency, redundant storage, system instability, and failure to effectively utilize the value of obsolete geographic objects.

Method used

By adopting a spatiotemporal knowledge graph-based approach, spatial data files of geographic objects are acquired, data parsing and feature information extraction are performed, and a spatiotemporal knowledge graph is constructed. Triple sets are used to represent the temporal, spatial, and attribute information of geographic objects, thereby realizing the full lifecycle management of geographic objects.

Benefits of technology

It reduces the cost of updating and storing geographic object data, improves data processing efficiency, facilitates data querying and management, avoids data layer isolation and redundant storage, and supports full lifecycle management of geographic objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115934870B_ABST
    Figure CN115934870B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of geographic resource management, and more particularly to a geographic object life cycle management method and device based on a spatiotemporal knowledge graph and an electronic device. The geographic object life cycle management method comprises: after obtaining a spatial data file related to a geographic object, performing data analysis and feature information extraction on the spatial data file to obtain feature information related to the geographic object; and finally constructing a spatiotemporal knowledge graph for storing the geographic object and related feature information according to the feature information related to the geographic object. According to the spatiotemporal knowledge graph, the change information of the geographic object throughout the life cycle can be fully described and stored, technical problems such as a large amount of data overlap, data layer fracture and redundant storage do not occur, and data query of the geographic object is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of geographic resource management technology, and in particular to a method, apparatus, and electronic device for geographic object lifecycle management based on spatiotemporal knowledge graphs. Background Technology

[0002] In existing technologies, the management of geographic objects reveals that their lifecycle comprises three stages: emergence, development, and disappearance. The emergence stage signifies the appearance of a new geographic object patch in remote sensing imagery. For example, the construction of a new building will result in a corresponding patch appearing in the image, indicating that the building is in the emergence stage. The development stage includes dynamic changes in attributes or attribute values, such as a change in ownership of a building. It also includes dynamic changes in geometric form, such as the expansion of a building. The disappearance stage signifies the disappearance of geographic patches in remote sensing imagery, such as the demolition of a building, which will cause the corresponding patch to disappear from the image.

[0003] Full lifecycle management of geographic objects helps in the dynamic monitoring and management of geographic objects such as illegal buildings (at the start of construction, under construction, after completion, and demolition), bare soil, green spaces, ponds, and polluted water bodies.

[0004] Existing methods for managing geographic objects mainly include: during the emergence stage of geographic objects, remote sensing processing technology is used to convert image patches into SHP (a common spatial data format) files and store them in a geographic object management system, such as a file system or database; during the development stage of geographic objects, the description files of geographic objects in the management system are directly modified based on changes in attributes, attribute values, and geometric shapes; and during the extinction stage, the corresponding geographic object files are directly deleted.

[0005] When the geometry of a geographic object changes, modifying the geometry of the changed geographic object on the original SHP file will result in multiple identical geographic objects within the same spatial area, with significant overlap between these objects, causing data management chaos. If the geometry of the changed geographic object is redrawn on a new SHP file, the management of the same geographic object is forcibly separated into two independent SHP files, creating a data layer separation for the full lifecycle management of geographic objects, which is not conducive to convenient management and related queries of the same geographic object.

[0006] Regarding changes in geographic object attributes and attribute values, some geographic objects may require frequent addition of extra attribute fields to describe them during the development phase. Frequent field addition operations (and in some cases, deletion operations) make it difficult to automatically optimize data table retrieval, leading to a sharp decrease in system retrieval efficiency. Furthermore, there is significant uncertainty as to whether changes to database fields affect the system's pre-defined data read / write logic, resulting in system instability and greatly increasing system maintenance and auditing costs. Additionally, directly deleting geographic objects during their extinction phase fails to consider the value inherent in the extinguished objects.

[0007] In addition, different geographic objects may have multiple identical attribute values, or the same geographic object may have a lot of duplicate information in data from different periods (for example, geographic objects that have not changed will have the same geometric features and attribute features as those in the old period stored repeatedly in the new period's data). These values ​​will be stored multiple times in traditional geographic object management systems, resulting in redundant storage and wasting storage resources. Summary of the Invention

[0008] This invention provides a method, apparatus, and electronic device for managing the lifecycle of geographic objects based on spatiotemporal knowledge graphs, in order to solve the technical problem of chaotic data management of geographic objects in the prior art, which is not conducive to querying.

[0009] On the one hand, this invention provides a method for managing the lifecycle of geographic objects based on spatiotemporal knowledge graphs, including:

[0010] Obtain spatial data files related to geographic objects;

[0011] Data parsing and / or feature information extraction are performed on the spatial data file to obtain feature information related to geographic objects;

[0012] Based on the feature information related to the geographic object, a spatiotemporal knowledge graph is constructed to store the geographic object and related feature information.

[0013] On the other hand, the present invention also provides a geographic object lifecycle management device based on spatiotemporal knowledge graph, comprising:

[0014] The acquisition module is used to acquire spatial data files related to geographic objects;

[0015] The feature extraction module is used to perform data parsing and / or feature information extraction on the spatial data file to obtain feature information related to geographic objects;

[0016] The graph construction module is used to construct a spatiotemporal knowledge graph for storing the geographic object and related feature information based on the feature information related to the geographic object.

[0017] On the other hand, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the geographic object lifecycle management method as described above.

[0018] On the other hand, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the geographic object lifecycle management method as described in any of the preceding claims.

[0019] According to the spatiotemporal knowledge graph-based geographic object lifecycle management method provided by this invention, after acquiring spatial data files related to geographic objects, data parsing and feature information extraction are performed on the spatial data files to obtain feature information related to geographic objects. Finally, based on the feature information related to geographic objects, a spatiotemporal knowledge graph is constructed to store geographic objects and related feature information. Using a spatiotemporal knowledge graph, the change information of geographic objects throughout their entire lifecycle can be fully described and stored, avoiding technical problems such as large data overlap, data layer fragmentation, and redundant storage, thus facilitating data retrieval of geographic objects. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0021] Figure 1 This is one of the flowcharts of the geographic object lifecycle management method provided by the present invention;

[0022] Figure 2 This is a schematic diagram illustrating the main feature information of the geographic object provided by the present invention;

[0023] Figure 3 This is a schematic diagram of a spatiotemporal knowledge graph constructed based on the geographic object lifecycle management method provided by the present invention;

[0024] Figure 4 This is the second schematic diagram of the geographic object lifecycle management method provided by the present invention;

[0025] Figure 5 This is one of the schematic diagrams of the geographic entity update map provided by the present invention;

[0026] Figure 6 This is the second schematic diagram of the geographic entity update map provided by the present invention;

[0027] Figure 7 This is the third schematic diagram of the geographic entity update map provided by the present invention;

[0028] Figure 8 This is the fourth schematic diagram of the geographic entity update map provided by the present invention;

[0029] Figure 9 This is a schematic diagram of the structure of the geographic object lifecycle management device provided by the present invention;

[0030] Figure 10 This is a schematic diagram of the geographic object lifecycle management system provided by the present invention;

[0031] Figure 11 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0033] This invention is based on spatiotemporal knowledge graph technology. It uses a set of triples of geographic entities to represent the time, space and attribute information of geographic objects. It transforms the geographic objects stored in SHP in the traditional method into a set of triples in the form of geographic entities in a graph structure. This helps to reduce the cost of updating and storing geographic objects, improve data processing efficiency and facilitate data storage and querying.

[0034] Example 1:

[0035] This embodiment provides a method for managing the lifecycle of geographic objects based on spatiotemporal knowledge graphs, such as... Figure 1 The management method in this embodiment includes:

[0036] Step 101: Obtain spatial data files related to geographic objects.

[0037] In this embodiment, the spatial data files are mainly records or reports made by relevant departments such as environmental monitoring units or urban planning units regarding changes in the geographical objects of the city.

[0038] Step 102: Perform data parsing and feature information extraction on the spatial data file to obtain feature information related to geographic objects.

[0039] For example, in this embodiment, keyword extraction is performed on the acquired spatial data file to obtain the type and related feature information of the geographic object, such as obtaining the start date of construction of Building A as August 10, 2022. In some scenarios, if the format of the acquired spatial data file cannot be directly used for keyword extraction, this embodiment also uses a corresponding data conversion algorithm to convert the spatial data file into data that can be directly extracted for keywords.

[0040] Step 103: Based on the feature information related to geographic objects, construct a spatiotemporal knowledge graph for storing geographic objects and related feature information.

[0041] In this embodiment, a spatiotemporal knowledge graph is used to store the relevant feature information of geographic objects. The spatiotemporal knowledge graph uses triples to store data, which does not delete or fragment the early data of geographic objects, thus ensuring the integrity and relevance of the data and facilitating information tracing and querying.

[0042] Specifically, in this embodiment, geographic objects are represented as a collection of geographic entities. This facilitates the updating of the geometric features (location, shape) and attribute features of geographic objects. For example... Figure 4 Furthermore, the entire lifecycle management of geographic entities is summarized into four operation modes: geographic entity generation, geographic entity storage, geographic entity updating (including update mechanism judgment methods), and geographic entity archiving. These four operation modes are universal operation paradigms for the three lifecycle stages of geographic objects. This ensures that the way geographic objects are operated is consistent and standardized, thus facilitating the management of geographic objects.

[0043] Among them, the generation and storage operations of geographic entities in the knowledge graph can be used in the emergence stage of geographic objects, the updating, archiving and storage operations of geographic entities can be used in the development stage of geographic objects, and the archiving operation of geographic entities corresponds to the extinction stage, which is mainly used to represent the attribute concepts or spatial concepts of geographic objects.

[0044] In this embodiment, the feature information related to geographic objects includes: temporal information, spatial information, and attribute information. The temporal information includes the creation time of the geographic object, the time points of changes in its spatial and attribute information, the time of its extinction, and an identifier indicating whether it is archived (e.g., "archived" or "not archived"). The spatial information includes the geometric category of the geographic object, the size information representing the corresponding geometric category, and the location of the geographic object. The attribute information includes the type of the geographic object, its ownership category, the owner, and its spatial relationship with other geographic objects.

[0045] In constructing the spatiotemporal knowledge graph, the data in GeoJSON format is first converted. Traditional methods for managing geographic objects typically store and manage them in SHP file format; this invention further improves upon this. First, these SHP files are converted into GeoJSON format data using a conversion program. In these GeoJSON files, each geographic object is categorized as a feature; the feature contains the geographic object's geometry and properties. The geometry describes the geographic object's geometric type and spatial location, while the properties describe various temporal information, the geographic object's category label, and other attribute information specific to this category of geographic objects.

[0046] For example, the description of this geographic object's features in the document reveals that its geometric type is "Polygon," meaning an isometric feature, and its spatial location is described using a coordinate set. The attribute information shows its category label is "Building." If information comparison indicates this is the first appearance of the geographic object, a unique identifier is assigned to it using a preset identity representation allocation method. The unique identifier (InnerGUID) for this geographic object is recorded, along with the entry time. Furthermore, this geographic object possesses other building-specific attributes, including its property type as "residential property owned by other economic organizations," its owner as "Wu Qian," and its building use as "commercial." For example, feature extraction reveals that the geographic object's geometric type is "Line," meaning a linear feature, and its spatial location is described using a coordinate set. The attribute information shows its category label as "ROAD," and it possesses a unique identifier (InnerGUID) for this geographic object, along with the entry time. In addition, this geographic object also has other attributes unique to roads, such as feature information including a road width of 24.6 meters, 4 lanes, and a road level of "main road".

[0047] Furthermore, constructing a spatiotemporal knowledge graph includes: building the conceptual layer of the spatiotemporal knowledge graph. The conceptual layer of the spatiotemporal knowledge graph describes the relevant concepts of geographic objects. In the conceptual layer, classifying and standardizing relevant concepts can unify the descriptive structure of different geographic objects, thereby generating geographic entities with unified specifications.

[0048] In this embodiment, the feature concepts contained in a geographic object can be categorized into temporal concepts, spatial concepts, and attribute concepts. Essentially, it involves describing the geographic object conceptually at the three levels of time, space, and attributes. Each category of concept includes three description types: class, object attribute, and numerical attribute. The class is the core of the concept, describing the various categories contained within the geographic object. For example, if a geographic entity is a surface, it possesses the geometric shape of "surface," so it can be understood as containing the class "surface." Object attributes describe the relationships between classes, between geographic entities, and between classes and geographic entities. For example, if two geographic entities have an intersecting relationship, the object attribute "intersects" can be used to describe the relationship between these two geographic entities. Numerical attributes are used to describe the relationship between a geographic entity and the assigned value when assigning a value to it. For example, a geographic entity can be described using a WKT (geographic coordinate) coordinate value; the relationship between the geographic entity and the coordinate value can be represented by the numerical attribute "has WKT coordinates." It can be observed that all relationships between nodes in the spatiotemporal knowledge graph must be defined in both object attributes and numerical attributes.

[0049] All time-related classes belong to time information and can be understood as subclasses of "time objects." Similarly, all spatial classes belong to spatial information and can be understood as subclasses of "spatial objects." The concepts of time and space respectively describe the temporal and spatial classes possessed by geographic objects and the relationships between these classes. For example, the description of "geometric form" in geographic objects belongs to the spatial concept. "Geometric form" is divided into three types: "point" (e.g., building center point), "line" (e.g., road centerline), and "area" (e.g., building outline). These three types, as subclasses of "geometric form," are also essential terms for describing geographic objects in the spatiotemporal knowledge graph.

[0050] Attribute information is used to describe the attributes contained in a geographic object, and all attribute classes are subclasses of "attribute objects". For example, geographic objects can be categorized into various types such as "building" and "road". Therefore, "building" and "road" are necessary terms for describing geographic objects as classes. Based on the core terms, more conceptual terms can be iterated out (for example, the attribute concept of "property rights category" can be expanded into the attribute concept of "building"), ultimately forming a complete spatiotemporal knowledge graph concept layer, thereby improving the description of geographic objects.

[0051] The conceptual layer of the spatiotemporal knowledge graph is semantically represented using the OWL ontology language. OWL is a semantic description method recommended by the W3C (Internet Consortium), possessing strong semantic expressive power and adept at describing common features in concepts such as attribute definitions, class equivalence, and disjoint class definitions. It can express the concepts and relationships between concepts in the conceptual layer of this invention in a standardized and complete manner. In the specific implementation, the OWL-Time ontology (i.e., the time ontology) is used to describe time concepts, and the GeoSPARQL ontology (i.e., the space ontology) is used to describe space concepts. These two ontology ontologies recommended by the OGC (Open Geospatial Information Consortium) and the W3C organization for describing spatiotemporal information. Reusing these two ontology ontologies ensures that this invention conforms to international standards and specifications in framework establishment and spatiotemporal object description. For attribute concepts, Protégé software is used to construct attribute concepts in the conceptual layer. Protégé is an ontology editing and knowledge acquisition software developed based on the Java language. Protégé is a mainstream open-source tool for building ontology, supports many plugins, and its flexible API-based calling method gives it strong extensibility. During the construction process, multiple national standards, such as the "Classification of Current Land Use" (GB / T 21010-2017), will be comprehensively referenced when classifying conceptual terms to ensure the standardization and completeness of the attribute concept hierarchy.

[0052] This embodiment generates a set of triples describing geographic entities by establishing relationships between geographic objects and conceptual terms in the schema layer. In the specific implementation, an automated program is written to convert geoJSON-formatted geographic object data into geographic entity triples. For example, if a geoJSON file describes a building geographic object, multiple triples will be added when generating the geographic entity, such as (Building_AED07F69, type, "Building"), (Building_AED07F69_geom, hasGeometry, Polygon), etc. In these triples, "Building" corresponds to the conceptual term "building" in the schema layer, and "Polygon" corresponds to the conceptual term "surface" in the schema layer. In this way, a connection is established between this geographic entity and the concepts of the spatiotemporal knowledge graph. For example, Figure 3 This is a schematic diagram illustrating the structure of the spatiotemporal knowledge graph constructed according to an embodiment of this application. All geographic entities, as data instances, constitute the data layer of the spatiotemporal knowledge graph. Simultaneously, each conceptual term or geographic entity's triple node has a unique URI identifier for differentiation to avoid ambiguity. Geographic entities in the spatiotemporal knowledge graph are represented by multiple triples; in this step, the generated triple set is expandable. At other stages of the geographic entity's lifecycle, if necessary, the triples within the geographic entity may be expanded to more fully describe the geographic entity's state (e.g., when a geographic entity is stored, associating the geographic entity with a geocode generates a new triple).

[0053] Geographic entities must be stored in a stable environment and properly maintained to ensure their security and integrity. In this embodiment, the triple data of the spatiotemporal knowledge graph is stored on a server. All geographic entities, as data instances, constitute the data layer of the knowledge graph, and the data layer and concept layer of the knowledge graph are closely related. Therefore, storing the set of triples for geographic entities is storing the triples in the spatiotemporal knowledge graph. In addition, to more fully describe the spatial information of geographic entities, a set of triples representing geocoding is also stored, and these triples will be included in the geographic entity at this stage of its lifecycle.

[0054] In one embodiment, the spatial information related to a geographic object also includes the geographic code of the geographic object. To more fully describe the spatial information of geographic entities, this embodiment extracts and stores a set of triples representing the geographic code when constructing the spatiotemporal knowledge graph, and automatically associates them with the triples in the geographic entity, thereby improving the spatial description of the geographic entity by expanding the set of triples in the geographic entity. The geographic code is a representation of tile map coordinates. Tile maps convert the description method of Earth's latitude and longitude coordinates into a tile coordinate description method (x, y, z) in the Earth's plane coordinate system using Mercator projection, where x represents the horizontal coordinate of the tile in the Earth's plane, y represents the vertical coordinate of the tile in the Earth's plane, and z represents different scaling levels in the plane. Within the same geographic area, the larger the z value, the more tiles there are, and the higher the resolution. Therefore, in this invention, the geographic code consists of three values: x, y, and z, and it is a fixed number. For example, the triple (Building_AED07F69, hasTileCode, z14_x13335_y6860) indicates that the geographic entity "Building_AED07F69" has the tile code "z14_x13335_y6860", meaning that this geographic entity is located within a spatial region with a horizontal coordinate of 13335, a vertical coordinate of 6860, and a zoom level of 14. This invention supports tile zoom levels ranging from 0 to 26, storing a fixed number of tile codes for each level in the graph database. Then, geographic entities are associated with their corresponding tiles to more fully describe the spatial information of the geographic entities. Compared to representing spatial information using an infinite number of latitude and longitude coordinates, geocoding is a more convenient method for retrieving and managing geographic entities, and it is also more conducive to exploring the spatial relationships between geographic entities.

[0055] In this embodiment, after parsing and extracting feature information from the spatial data file (specifically, a vector file in shp format) to obtain the feature information related to the geographic object, it is first determined whether the geographic object already exists in the spatiotemporal knowledge graph. If it does not exist, it means that a new node for the geographic object needs to be created in the spatiotemporal knowledge graph. At this time, a unique identifier is assigned to the geographic object to represent its identity information. The geographic object and its corresponding feature information are used as nodes in the spatiotemporal knowledge graph to construct the spatiotemporal knowledge graph. If it is detected that the geographic object already exists in the spatiotemporal knowledge graph, it means that the node of the geographic object needs to be associated and expanded. Then, the currently obtained feature information is associated and stored with the corresponding node in the spatiotemporal knowledge graph.

[0056] Using a spatiotemporal knowledge graph for storing geographic objects also facilitates the updating of the knowledge graph. For example, it can receive an input update request command, parse the update request command to obtain the content information that needs to be updated, generate update control commands based on the content information to be updated, and update the spatiotemporal knowledge graph according to the update control commands.

[0057] In the specific implementation, a parsing program is written to generate SPARQL statements for querying and updating based on user needs. These statements are then sent to the graph database server. The graph database performs corresponding calculations in the spatiotemporal knowledge graph based on the SPARQL statements and returns the query or update results to the user. For example, when a building geographic object is expanded, the corresponding geographic entity is in the geographic entity update lifecycle stage. To update the geometric boundary changes caused by the building's expansion, the user sends an update request and a set of coordinates for the expanded building's boundary. The program parsing block parses the request and generates a SPARQL update statement based on the user-provided coordinate set. After receiving the update statement, the graph database server filters out the set of triples for the building's geographic entity, creates a new geometric object node (Building_RecordingGeom) and a time object node (Building_RecordingTime) representing the current time record for the building, and creates triples describing the expanded building for both object nodes. For example, it creates a new coordinate description triplet and a record time description triplet: (Building_RecordingGeom, asWKT, WKT coordinate description) and (Building_RecordingTime, inXSDDateTimeStamp, time description). In addition, it re-associates the unchanged attribute object node (Building_RecordingProp) with the new time object node to generate the following triplet: (Building_RecordingProp, hasTimeObject, Building_RecordingTime). Furthermore, it adds an archive identifier to the original spatial and time objects. Then, the parsing block resolves the updated set of geographic entity triples into a user-friendly result (such as drawing the outline of the expanded building on a map) and returns it to the user. For example... Figure 8This diagram illustrates the update of a spatiotemporal knowledge graph. Attribute object 1 is a pre-existing node, while time object 2 and space object 2 are newly added nodes during the update. Similarly, for changes in the attributes of geographic objects, such as changes in building ownership, the update method described above is applied. After sending the parsing request, a new attribute object node (Building_RecordingProp) and a current time object node (Building_RecordingTime) are created. Triples describing the ownership change are established for both object nodes. The unchanged geometric shape object node (Building_RecordingGeom) is re-associated with the new time object node. Archive markers are added to the original attribute and time objects. Finally, the parsing results are parsed and the request is fed back to the user.

[0058] Generally, geographic entity update operations typically face four possible scenarios:

[0059] The first scenario: The new geographic entity remains unchanged relative to the old entity. Figure 5 For example, the core nodes of existing old geographic entities in the knowledge graph (below) Figure 5 Create a new time object node in the "Geographic Entity" field to record the current time information. Figure 5 In the context of "Time Object 2", a triple describing the time location of the geographic entity is created based on conceptual layer terminology. Then, the unchanged attribute object nodes ( Figure 5 "Attribute Object 1" and the new time object node ( Figure 5 Re-associate "Time Object 2" in the data, and re-associate the unchanged spatial object nodes. Figure 5 "Spatial object 1" and the new time object node ( Figure 5 Re-associate the "Time Object 2" in the diagram. Finally, archive the time object of the old geographic entity ("Time Object 1" in Figure 7).

[0060] The second scenario: The new geographic entity undergoes attribute changes relative to the old entity. Figure 6 For example, the core nodes of existing old geographical entities in the knowledge graph ( Figure 6 Create a new attribute object node (in the "Geographic Entities" section) Figure 6 "Attribute object 2" in the text), and a time object node that records the current time information. Figure 6 In the context of "Time Object 2", and based on conceptual layer terminology, create triples describing the geographic entity's attributes for the new attribute object, and create triples describing the geographic entity's temporal location for the time object. Then, add the unchanged spatial object nodes ( Figure 6 "Spatial object 1" and the new time object node ( Figure 6Re-associate "Time Object 2" in the data, and re-associate the new attribute object node ( Figure 6 "Attribute Object 2" and the new time object node ( Figure 6 Reassociate the "Time Object 2" in the image below. Finally, reassociate the time object ("Time Object 1" in the image below) and attribute object (in the image below) of the old geographic entity. Figure 6 Archive the "attribute object 1" in the file.

[0061] The third scenario: The new geographic entity undergoes spatial changes relative to the old entity. This involves the core nodes of the existing old geographic entities in the knowledge graph ( Figure 7 Create a new spatial object node (in the "geographic entity" field) Figure 7 "Spatial object 2" and a time object node representing the current time record. Figure 7 In the context of "Time Object 2", a triple describing the spatial location of the geographic entity is created for the new spatial object based on conceptual layer terminology, and a triple describing the temporal location of the geographic entity is created for the new time object. Then, the unchanged attribute object nodes ( Figure 7 "Attribute Object 1" and the new time object node ( Figure 7 Re-associate "Time Object 2" in the data, and re-associate the new spatial object node ( Figure 7 "Spatial object 2" and the new time object node ( Figure 7 Reassociate the "Time Object 2" in the old geographic entity. Finally, reassociate the spatial object of the old geographic entity ( Figure 7 "Spatial object 1" and time object (in the context of space objects) Figure 7 Archive the "Time Object 1" in the file.

[0062] The fourth scenario: The attributes and spatial nature of the new geographic entity have changed: This involves the core nodes of existing geographic entities in the knowledge graph. Figure 8 Create a new spatial object node (in the "geographic entity" field) Figure 8 (In the diagram, "Spatial Object 2"), an attribute object node ("Attribute Object 2" in the diagram), and a time object node representing the current time record. Figure 8 In the context of "Time Object 2", and based on conceptual layer terminology, create triples describing the spatial location of the geographic entity for the new spatial object, triples describing the attributes of the geographic entity for the new attribute object, and triples describing the temporal location of the geographic entity for the new time object. Then, create new attribute object nodes ( Figure 8 "Attribute Object 2" and the new time object node ( Figure 8 Re-associate "Time Object 2" in the data, and re-associate the new spatial object node ( Figure 8 "Spatial object 2" and the new time object node ( Figure 8Reassociate the "Time Object 2" in the old geographic entity. Finally, reassociate the spatial object of the old geographic entity ( Figure 8 "Space object 1" and attribute object ( Figure 8 "Attribute object 1" and time object (in the text) Figure 8 Archive the "Time Object 1" in the file.

[0063] For example, when a new geographic entity enters the knowledge graph, the following situations need to be determined in advance:

[0064] Scenario 1: This geographic entity is a completely new geographic entity that does not exist in the existing knowledge graph;

[0065] Scenario 2: This geographic entity is a geographic entity that already exists in the knowledge graph.

[0066] For case 1, this embodiment performs a "store" operation, directly importing the triple corresponding to the geographic entity into the knowledge graph; for case 2, an "update" operation needs to be performed on both the new and old geographic entities involved.

[0067] In addition, considering the accuracy of spatial registration of data (the spatial location offset of the same geographic object is within the tolerable range), if the following formula is satisfied, it can be judged as case 1; otherwise, it is case 2.

[0068]

[0069] Among them, S intersect S represents the intersection area of ​​the old and new entities. new For the new physical area, S old The area is the old entity area, and t is a custom threshold.

[0070] In addition, if the geographic entity update judgment mechanism determines that a geographic entity has been updated, then when updating the entity, an archive flag is first added to all time objects to indicate that the data already in the knowledge graph is historical data.

[0071] In one embodiment, the geographic object lifecycle management method further includes: receiving a query request input from a requesting end, parsing the query request instruction to obtain the content information to be queried; generating a query instruction based on the content information to be queried, retrieving the spatiotemporal knowledge graph according to the query instruction to obtain the query result, and feeding back the query result to the requesting end, thus facilitating users to query the information they need.

[0072] In one embodiment, the management method further includes: receiving an input archiving instruction, archiving the corresponding geographic entity, and determining one or more archiving attributes corresponding to the geographic entity's time object, spatial object, or attribute object based on the changes in the geographic entity, and adding an archiving identifier based on the archiving attribute. When a geographic entity has become a past entity object (historical geographic entity), its related objects (time object, spatial object, attribute object) can be archived. Archiving does not mean that the related objects in the geographic entity are no longer available; it simply means that they are no longer needed in the current data organization. Archived geographic entities are an important part of the full lifecycle management of geographic objects and can still serve as empirical data to provide a reference for historical geographic entities in certain data analysis scenarios. In particular, in the archiving operation of geographic entities, this invention adds archiving attributes to the archived time objects, spatial objects, and attribute objects in the geographic entity. The archiving attribute includes archived and unarchived, that is, a triple with the head entity being "time object," "spatial object," or "attribute object," the relationship being "archived or not," and the tail entity being "yes" or "no." "Archived or not" marks the current archiving status of the geographic entity. For example, when a time object changes and is not specified, an archive flag is added to the time object to archive it.

[0073] In the specific implementation, for archived geographic entities, the SPARQL update statement adds a triple of the following form: (geographic entity object, whether archived, yes).

[0074] This invention introduces spatiotemporal knowledge graph technology, using a set of triplets of geographic entities to represent the temporal, spatial, and attribute information of geographic objects. It transforms the geographic objects stored in SHP (Spatial Hierarchical Graph) in traditional methods into a set of triplets of geographic entities in a graph structure, thus reducing the cost of updating geographic objects. Furthermore, it summarizes the operational patterns of each life stage of a geographic entity's emergence, development, and demise, thereby improving processing efficiency and reducing management costs.

[0075] Example 2:

[0076] The following describes the geographic object lifecycle management device based on spatiotemporal knowledge graph provided by the present invention. The geographic object lifecycle management device described below can be referred to in correspondence with the geographic object lifecycle management method described above.

[0077] like Figure 9 The geographic object lifecycle management device 200 based on spatiotemporal knowledge graph provided in this embodiment includes: an acquisition module 201, a feature extraction module 202, and a graph construction module 203.

[0078] The device comprises the following modules: an acquisition module 201 acquires spatial data files related to geographic objects; a feature extraction module 202 performs data parsing and / or feature information extraction on the spatial data files to obtain feature information related to geographic objects; and a graph construction module 203 constructs a spatiotemporal knowledge graph for storing geographic objects and related feature information based on the feature information related to geographic objects. In another embodiment, the geographic object lifecycle management device based on the spatiotemporal knowledge graph further includes an update module 204 and a query module 205. The update module 204 receives an input update request, parses the update request to obtain the content information to be updated, which generally includes the geographic object to be updated and the feature information to be updated; generates an update instruction based on the content information to be updated, and updates the spatiotemporal knowledge graph according to the update instruction. The query module 205 receives an input query request, parses the query request instruction to obtain the content information to be queried, which generally includes the identity information of the geographic object to be queried and the feature information to be queried; generates a query instruction based on the content information to be queried, searches the spatiotemporal knowledge graph according to the query instruction to obtain the query result, and feeds the query result back to the requesting end.

[0079] The implementation methods of the above-mentioned functional modules in the geographic object lifecycle management device of this embodiment are the same as those in the first embodiment. In other words, since the implementation principle and effect of the device provided in this embodiment are similar to those of the above method embodiments, they will not be described again here.

[0080] Example 3:

[0081] This embodiment provides a geographic object lifecycle management system based on spatiotemporal knowledge graphs, such as... Figure 10 The system includes a management device 200, a server 300, and a client 400.

[0082] The management device 200 and server 300 are communicatively connected. Server 300 is used to store and manage relevant data of the spatiotemporal knowledge graph. For example, query module 205 receives query requests sent by the user terminal, parses the query requests to obtain the identity information of the geographic object to be queried, and then sends a query instruction to the server based on the identity information of the geographic object to obtain the query results fed back by server 300, and then feeds back the query results to user terminal 400. For example, update module 204 receives update requests input by user terminal 400, parses the update requests to obtain the content information that needs to be updated, generates update instructions according to the content information to be updated, and updates the spatiotemporal knowledge graph data stored in server 300 according to the update instructions.

[0083] Figure 11The example provides a schematic diagram of the physical structure of an electronic device. Figure 6 The electronic device may include a processor 810, a communications interface 820, a memory 830, and a communication bus 840, wherein the processor 810, communications interface 820, and memory 830 communicate with each other via the communication bus 840. The processor 810 can call logical instructions in the memory 830 to execute a geographic object lifecycle management method based on a spatiotemporal knowledge graph. This method includes: acquiring spatial data files related to geographic objects; parsing and / or extracting feature information from the spatial data files to obtain feature information related to geographic objects; and constructing a spatiotemporal knowledge graph for storing geographic objects and related feature information based on the feature information related to geographic objects.

[0084] Furthermore, the logical instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0085] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the geographic object lifecycle management method based on spatiotemporal knowledge graph provided by the above methods. The method includes: acquiring spatial data files related to geographic objects; performing data parsing and / or feature information extraction on the spatial data files to obtain feature information related to geographic objects; and constructing a spatiotemporal knowledge graph for storing geographic objects and related feature information based on the feature information related to geographic objects.

[0086] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program is implemented to perform the geographic object lifecycle management method based on spatiotemporal knowledge graph provided by the above methods. The method includes: acquiring spatial data files related to geographic objects; performing data parsing and / or feature information extraction on the spatial data files to obtain feature information related to geographic objects; and constructing a spatiotemporal knowledge graph for storing geographic objects and related feature information based on the feature information related to geographic objects.

[0087] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0088] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for managing the lifecycle of geographic objects based on spatiotemporal knowledge graphs, characterized in that, include: Obtain spatial data files related to geographic objects; Data parsing and / or feature information extraction are performed on the spatial data file to obtain feature information related to geographic objects; Based on the feature information related to the geographic object, a spatiotemporal knowledge graph is constructed to store the geographic object and related feature information. The feature information related to the geographic object includes: temporal information related to the geographic object, spatial information related to the geographic object, and attribute information related to the geographic object. The time information related to the geographic object includes the creation time of the geographic object, the time nodes of changes in the spatial information and attribute information of the geographic object, the extinction time of the geographic object, and the identifier of whether it is archived. The spatial information related to the geographic object includes the geometric category of the geographic object, the size information representing the corresponding geometric category of the geographic object, the location information of the geographic object, the geographic code of the geographic object, and an identifier indicating whether the spatial information is archived; The attribute information related to the geographic object includes the geographic object's type, property category, property owner, spatial relationship between the geographic object and other geographic objects, and an identifier indicating whether the attribute information is archived. The step of constructing a spatiotemporal knowledge graph for storing the geographic object and related feature information based on the feature information related to the geographic object includes: Assign a unique identifier to the geographic object to represent its identity information; The geographic objects and their corresponding feature information are used as nodes in the spatiotemporal knowledge graph to construct the spatiotemporal knowledge graph. After parsing the spatial data file and extracting feature information to obtain the feature information related to the geographic object, the process further includes: Determine whether the currently extracted geographic object exists in the spatiotemporal knowledge graph. If so, associate and store the currently obtained feature information with the corresponding node in the spatiotemporal knowledge graph. If not, assign a unique identifier to the current geographic object to represent its identity information, and add the current geographic object and its corresponding feature information to the spatiotemporal knowledge graph.

2. The method for managing the lifecycle of geographic objects based on spatiotemporal knowledge graphs according to claim 1, characterized in that, Also includes: Receive an input update request, parse the update request to obtain the content information that needs to be updated; An update instruction is generated based on the content information that needs to be updated, and the spatiotemporal knowledge graph is updated according to the update instruction; Upon receiving the input archiving instruction, the corresponding geographic entity is archived. Simultaneously, based on the changes in the geographic entity, one or more archiving attributes corresponding to the geographic entity's time object, spatial object, or attribute object are determined, and an archiving identifier is added based on the archiving attributes.

3. The method for managing the lifecycle of geographic objects based on spatiotemporal knowledge graphs according to claim 2, characterized in that, Also includes: Receive an input query request, parse the query request instruction to obtain the content information to be queried; A query instruction is generated based on the content information to be queried. The spatiotemporal knowledge graph is then searched according to the query instruction to obtain the corresponding query results, and the query results are then fed back to the requesting end.

4. A geographic object lifecycle management device based on spatiotemporal knowledge graph, characterized in that, include: The acquisition module is used to acquire spatial data files related to geographic objects; The feature extraction module is used to perform data parsing and / or feature information extraction on the spatial data file to obtain feature information related to geographic objects; The graph construction module is used to construct a spatiotemporal knowledge graph for storing the geographic object and related feature information based on the feature information related to the geographic object. The feature information related to the geographic object includes: temporal information related to the geographic object, spatial information related to the geographic object, and attribute information related to the geographic object. The time information related to the geographic object includes the creation time of the geographic object, the time nodes of changes in the spatial information and attribute information of the geographic object, the extinction time of the geographic object, and the identifier of whether it is archived. The spatial information related to the geographic object includes the geometric category of the geographic object, the size information representing the corresponding geometric category of the geographic object, the location information of the geographic object, the geographic code of the geographic object, and an identifier indicating whether the spatial information is archived; The attribute information related to the geographic object includes the geographic object's type, property category, property owner, spatial relationship between the geographic object and other geographic objects, and an identifier indicating whether the attribute information is archived. The step of constructing a spatiotemporal knowledge graph for storing the geographic object and related feature information based on the feature information related to the geographic object includes: Assign a unique identifier to the geographic object to represent its identity information; The geographic objects and their corresponding feature information are used as nodes in the spatiotemporal knowledge graph to construct the spatiotemporal knowledge graph. After parsing the spatial data file and extracting feature information to obtain the feature information related to the geographic object, the process further includes: Determine whether the currently extracted geographic object exists in the spatiotemporal knowledge graph. If so, associate and store the currently obtained feature information with the corresponding node in the spatiotemporal knowledge graph. If not, assign a unique identifier to the current geographic object to represent its identity information, and add the current geographic object and its corresponding feature information to the spatiotemporal knowledge graph.

5. A geographic object lifecycle management system based on spatiotemporal knowledge graphs, characterized in that, Includes management devices and servers; The management device includes an acquisition module, a feature extraction module, and a graph construction module; the acquisition module is used to acquire spatial data files related to geographic objects; the feature extraction module is used to perform data parsing and feature information extraction on the spatial data files to obtain feature information related to geographic objects; the graph construction module is used to construct a spatiotemporal knowledge graph for storing geographic objects and related feature information based on the feature information related to geographic objects; the server is used to store triplet data of the spatiotemporal knowledge graph. The management device further includes a query module; the query module receives query requests sent by the user terminal, parses the query requests to obtain the identity information of the geographic object to be queried; then sends a query instruction to the server based on the identity information of the geographic object to obtain the query results fed back by the server, and feeds back the query results to the user terminal; The feature information related to the geographic object includes: temporal information related to the geographic object, spatial information related to the geographic object, and attribute information related to the geographic object. The time information related to the geographic object includes the creation time of the geographic object, the time nodes of changes in the spatial information and attribute information of the geographic object, the extinction time of the geographic object, and the identifier of whether it is archived. The spatial information related to the geographic object includes the geometric category of the geographic object, the size information representing the corresponding geometric category of the geographic object, the location information of the geographic object, the geographic code of the geographic object, and an identifier indicating whether the spatial information is archived; The attribute information related to the geographic object includes the geographic object's type, property category, property owner, spatial relationship between the geographic object and other geographic objects, and an identifier indicating whether the attribute information is archived. The step of constructing a spatiotemporal knowledge graph for storing the geographic object and related feature information based on the feature information related to the geographic object includes: Assign a unique identifier to the geographic object to represent its identity information; The geographic objects and their corresponding feature information are used as nodes in the spatiotemporal knowledge graph to construct the spatiotemporal knowledge graph. After parsing the spatial data file and extracting feature information to obtain the feature information related to the geographic object, the process further includes: Determine whether the currently extracted geographic object exists in the spatiotemporal knowledge graph. If so, associate and store the currently obtained feature information with the corresponding node in the spatiotemporal knowledge graph. If not, assign a unique identifier to the current geographic object to represent its identity information, and add the current geographic object and its corresponding feature information to the spatiotemporal knowledge graph.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the geographic object lifecycle management method as described in any one of claims 1 to 3.

7. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the geographic object lifecycle management method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • GraphDB-based space-time knowledge graph construction method and device, medium and equipment

    CN112732939A

  • Geographic unit full life cycle management system

    CN113486132A