CN103425751A - Linkage increment updating method of vector space data based on dependency - Google Patents

Linkage increment updating method of vector space data based on dependency Download PDF

Info

Publication number
CN103425751A
CN103425751A CN2013103132455A CN201310313245A CN103425751A CN 103425751 A CN103425751 A CN 103425751A CN 2013103132455 A CN2013103132455 A CN 2013103132455A CN 201310313245 A CN201310313245 A CN 201310313245A CN 103425751 A CN103425751 A CN 103425751A
Authority
CN
China
Prior art keywords
database
node
spatial
dependence
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103132455A
Other languages
Chinese (zh)
Inventor
杜震洪
张丰
刘仁义
何榕健
周烨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN2013103132455A priority Critical patent/CN103425751A/en
Publication of CN103425751A publication Critical patent/CN103425751A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a linkage increment updating method of vector space data based on dependency. The linkage incremental updating method includes the following steps that firstly, topology dependency, time dependency and attribute dependency are set up for different vector space database nodes, each database node participating in linkage upgrading stores a synchronous dependency table, and the database node to undergo linage upgrading is named to be a database node to be upgraded; secondly, upgrading increments of the vector space database nodes which are modified are extracted according to the dependency on the database nodes of the database node to be upgraded; thirdly, upgrading increments of the vector space date nodes which are modified are distributed in a transmission mode according to the structures of the database nodes; fourthly, the database node to be upgraded receives the upgrading increments of the vector space database nodes which are modified, and increment upgrading is performed. The linkage increment updating method effectively solves the problem that a great number of manual upgrading operation is needed for maintaining the up-to-date performance and consistency among different vector space databases.

Description

A kind of interlock increment updating method of the Vector spatial data based on dependence
Technical field
The present invention relates to the technical field of the interlock renewal of Vector spatial data, relate in particular to a kind of interlock increment updating method of the Vector spatial data based on dependence.
Background technology
It is the trend of the times and the conforming important method of guaranteeing various tight land resources Vector spatial datas that the interlock of Vector spatial data is upgraded, utilize the interlock renewal of Vector spatial data to avoid a large amount of artificial data renewal operation institutes to make the mistake and error, so each land resources data management service is all urgently sought the solution that interlock general, extendible Vector spatial data is upgraded.For this eager demand of each land resources department, mainly contain at present the incremental update disposal route based on the local topology interlock, the space-time database increment updating method based on event, the increment updating method based on the spatiotemporal data update model etc.
But, the interlock that the research that these update methods are upgraded for the interlock of spatial data only rests between local, single lane database different spaces key element layer is upgraded, and also proposes to solve the scheme that the data linkage between long-range, extendible a plurality of rules in spatial database of vector data models is upgraded.
Summary of the invention
The objective of the invention is to solve a large amount of artificial regeneration operation of dependence and go to safeguard the trend of the times and a conforming difficult problem between different rules in spatial database of vector data models, a kind of interlock increment updating method of the Vector spatial data based on dependence is provided.
The interlock increment updating method of the Vector spatial data based on dependence comprises the steps:
1) set up topological dependence, Time Dependent and Feature Dependence relation for different rules in spatial database of vector data model nodes, by Object Persistence, the dependence of all establishments is kept in the dependence table, each participates in the database node of interlock renewal and respectively preserves a synchronous dependence table, in the database node structure of upgrading in whole interlock, the database node that change has occurred is called the database node, and the database node that the interlock renewal will occur is called database node to be updated;
2) dependence to the database node according to database node to be updated, the more new increment of the rules in spatial database of vector data model node of change has occurred in extraction;
3) according to the structure transmission of database node distribute the more new increment of the rules in spatial database of vector data model node changed;
4) database node to be updated receives the more new increment of the rules in spatial database of vector data model node changed, and carries out incremental update.
Described step 2) comprising:
(1) rules in spatial database of vector data model node 0 " the increments of change Δ " the most initial as the local data base Node leading-in, in database node O, newly-built spatial database version V0 carries out to upgrade and operates, and now upgrades front version V0 and upgrade rear version V1 to exist simultaneously;
(2) the dependence table in the reading database node, extract all records that rules in spatial database of vector data model node 0 is occurred to for dependence, by ORM is shone upon each dependence instantiation;
(3) dependence is divided into groups according to back end, if rules in spatial database of vector data model node 1,2,3 ... n relies on back end 0, set R1, R2, R3 ... Rn refers to respectively rules in spatial database of vector data model node 1,2,3 ... the dependence collection of n, R1, R2, R3 ... the Rn dependency information is kept in a sequence container R_List;
(4) read n the element Rn of sequence container R_List, the dependence of all back end n in traversal Rn to rules in spatial database of vector data model node 0, according to dependency information, n { 0,1,2,3...}, in the incremental update data " increments of change Δ _ n " of rules in spatial database of vector data model node 0 extraction back end n.
Described step 3) comprises:
(1) " increments of change Δ _ n " converted to " the increments of change Δ GML_n " of general GML form;
(2) send engine " increments of change Δ GML_n " sent to rules in spatial database of vector data model node n by the programme message that realizes of Socket.
Described step 4) comprises:
(1) rules in spatial database of vector data model node n receives " the increments of change Δ GML_n " that rules in spatial database of vector data model node 0 distributes, and " increments of change Δ GML_n " is converted to " the increments of change Δ _ n " of this localityization form;
(2) read " increments of change Δ _ n ", determine the type of variation of the spatial object of the spatial object that needs change and change by topology dependence, Time Dependent, Feature Dependence;
(3) the database update operation map is carried out in spatial object and corresponding incremental update data, the change type of needs change, change into the database manipulation order by a series of " insertions ", " renewal ", " deletion " combination, to the renewal that links of the data of rules in spatial database of vector data model node n.
 
The beneficial effect that the present invention compared with prior art has:
(1) designed the thinking that the incremental update data were extracted and distributed to dependency information between the Vector spatial data node of root separate sources, realized that transmission between multi-source Vector spatial data interlock upgrades, embodied Vector spatial data interlock increment updating method of the present invention from the flexible establishment of dependence and management aspect and there is good extendability;
(2) Vector spatial data interlock increment updating method of the present invention has solved and has relied on a large amount of manually-operateds to go to safeguard the trend of the times and consistance between different land resources rules in spatial database of vector data models;
(3) the interlock increment updating method of Vector spatial data of the present invention is with good expansibility, and can be promoted at application and the management domain of land resources Vector spatial data.
The accompanying drawing explanation:
Accompanying drawing is based on the process flow diagram of interlock increment updating method of the Vector spatial data of dependence.
Embodiment:
The interlock increment updating method of the Vector spatial data based on dependence comprises the steps:
1) set up topological dependence, Time Dependent and Feature Dependence relation for different rules in spatial database of vector data model nodes, by Object Persistence, the dependence of all establishments is kept in the dependence table, each participates in the database node of interlock renewal and respectively preserves a synchronous dependence table, in the database node structure of upgrading in whole interlock, the database node that change has occurred is called the database node, and the database node that the interlock renewal will occur is called database node to be updated;
2) dependence to the database node according to database node to be updated, the more new increment of the rules in spatial database of vector data model node of change has occurred in extraction;
3) according to the structure transmission of database node distribute the more new increment of the rules in spatial database of vector data model node changed;
4) database node to be updated receives the more new increment of the rules in spatial database of vector data model node changed, and carries out incremental update.
Described step 2) comprising:
(1) rules in spatial database of vector data model node 0 " the increments of change Δ " the most initial as the local data base Node leading-in, in database node O, newly-built spatial database version V0 carries out to upgrade and operates, and now upgrades front version V0 and upgrade rear version V1 to exist simultaneously;
(2) the dependence table in the reading database node, extract all records that rules in spatial database of vector data model node 0 is occurred to for dependence, by ORM is shone upon each dependence instantiation;
(3) dependence is divided into groups according to back end, if rules in spatial database of vector data model node 1,2,3 ... n relies on back end 0, set R1, R2, R3 ... Rn refers to respectively rules in spatial database of vector data model node 1,2,3 ... the dependence collection of n, R1, R2, R3 ... the Rn dependency information is kept in a sequence container R_List;
(4) read n the element Rn of sequence container R_List, the dependence of all back end n in traversal Rn to rules in spatial database of vector data model node 0, according to dependency information, n { 0,1,2,3...}, in the incremental update data " increments of change Δ _ n " of rules in spatial database of vector data model node 0 extraction back end n.
Described step 3) comprises:
(1) " increments of change Δ _ n " converted to " the increments of change Δ GML_n " of general GML form;
(2) send engine " increments of change Δ GML_n " sent to rules in spatial database of vector data model node n by the programme message that realizes of Socket.
Described step 4) comprises:
(1) rules in spatial database of vector data model node n receives " the increments of change Δ GML_n " that rules in spatial database of vector data model node 0 distributes, and " increments of change Δ GML_n " is converted to " the increments of change Δ _ n " of this localityization form;
(2) read " increments of change Δ _ n ", determine the type of variation of the spatial object of the spatial object that needs change and change by topology dependence, Time Dependent, Feature Dependence;
(3) the database update operation map is carried out in spatial object and corresponding incremental update data, the change type of needs change, change into the database manipulation order by a series of " insertions ", " renewal ", " deletion " combination, to the renewal that links of the data of rules in spatial database of vector data model node n.
Embodiment:
The first step, select land use data that certain area puts sometime and standard farm field data as experimental data, for land use data spatial database and standard farmland spatial database are set up topological dependence, Time Dependent and Feature Dependence relation, by Object Persistence, the dependence of all establishments is kept in the dependence table, two database nodes are respectively preserved a synchronous dependence table.
Second step, topology dependence, Time Dependent and Feature Dependence relation according to standard farm field data storehouse node to the Database of Land Use node, the more new increment of the rules in spatial database of vector data model of change has occurred in extraction;
The 3rd step, according to the dependency structure of Database of Land Use node and standard farm field data storehouse node, the Database of Land Use node to the node transmission of standard farm field data storehouse distribute the more new increment of the rules in spatial database of vector data model that change has occurred;
The 4th step, standard farm field data storehouse node receives the more new increment of the Vector spatial data that change has occurred, spatial data object and corresponding incremental update data, the change type that is about to occur to change carried out to the database update operation map, change into the database manipulation order by a series of " insertions ", " renewal ", " deletion " combination, to the renewal that links of the data of rules in spatial database of vector data model node n.

Claims (4)

1. the interlock increment updating method of the Vector spatial data based on dependence, is characterized in that comprising the steps:
1) set up topological dependence, Time Dependent and Feature Dependence relation for different rules in spatial database of vector data model nodes, by Object Persistence, the dependence of all establishments is kept in the dependence table, each participates in the database node of interlock renewal and respectively preserves a synchronous dependence table, in the database node structure of upgrading in whole interlock, the database node that change has occurred is called the database node, and the database node that the interlock renewal will occur is called database node to be updated;
2) dependence to the database node according to database node to be updated, the more new increment of the rules in spatial database of vector data model node of change has occurred in extraction;
3) according to the structure transmission of database node distribute the more new increment of the rules in spatial database of vector data model node changed;
4) database node to be updated receives the more new increment of the rules in spatial database of vector data model node changed, and carries out incremental update.
2. the interlock increment updating method of a kind of Vector spatial data based on dependence according to claim 1, is characterized in that described step 2) comprising:
(1) rules in spatial database of vector data model node 0 " the increments of change Δ " the most initial as the local data base Node leading-in, in database node O, newly-built spatial database version V0 carries out to upgrade and operates, and now upgrades front version V0 and upgrade rear version V1 to exist simultaneously;
(2) the dependence table in the reading database node, extract all records that rules in spatial database of vector data model node 0 is occurred to for dependence, by ORM is shone upon each dependence instantiation;
(3) dependence is divided into groups according to back end, if rules in spatial database of vector data model node 1,2,3 ... n relies on back end 0, set R1, R2, R3 ... Rn refers to respectively rules in spatial database of vector data model node 1,2,3 ... the dependence collection of n, R1, R2, R3 ... the Rn dependency information is kept in a sequence container R_List;
(4) read n the element Rn of sequence container R_List, the dependence of all back end n in traversal Rn to rules in spatial database of vector data model node 0, according to dependency information, n { 0,1,2,3...}, in the incremental update data " increments of change Δ _ n " of rules in spatial database of vector data model node 0 extraction back end n.
3. the interlock increment updating method of a kind of Vector spatial data based on dependence according to claim 1 is characterized in that described step 3) comprises:
(1) " increments of change Δ _ n " converted to " the increments of change Δ GML_n " of general GML form;
(2) send engine " increments of change Δ GML_n " sent to rules in spatial database of vector data model node n by the programme message that realizes of Socket.
4. the interlock increment updating method of a kind of Vector spatial data based on dependence according to claim 1 is characterized in that described step 4) comprises:
(1) rules in spatial database of vector data model node n receives " the increments of change Δ GML_n " that rules in spatial database of vector data model node 0 distributes, and " increments of change Δ GML_n " is converted to " the increments of change Δ _ n " of this localityization form;
(2) read " increments of change Δ _ n ", determine the type of variation of the spatial object of the spatial object that needs change and change by topology dependence, Time Dependent, Feature Dependence;
(3) the database update operation map is carried out in spatial object and corresponding incremental update data, the change type of needs change, change into the database manipulation order by a series of " insertions ", " renewal ", " deletion " combination, to the renewal that links of the data of rules in spatial database of vector data model node n.
CN2013103132455A 2013-07-24 2013-07-24 Linkage increment updating method of vector space data based on dependency Pending CN103425751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103132455A CN103425751A (en) 2013-07-24 2013-07-24 Linkage increment updating method of vector space data based on dependency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103132455A CN103425751A (en) 2013-07-24 2013-07-24 Linkage increment updating method of vector space data based on dependency

Publications (1)

Publication Number Publication Date
CN103425751A true CN103425751A (en) 2013-12-04

Family

ID=49650490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103132455A Pending CN103425751A (en) 2013-07-24 2013-07-24 Linkage increment updating method of vector space data based on dependency

Country Status (1)

Country Link
CN (1) CN103425751A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069045A (en) * 2015-07-23 2015-11-18 百度在线网络技术(北京)有限公司 Method and system for updating non-permanent relational data in database
CN106874182A (en) * 2016-07-05 2017-06-20 阿里巴巴集团控股有限公司 Code abnormality processing, code execution method and device
CN108009799A (en) * 2017-12-21 2018-05-08 泰康保险集团股份有限公司 The method and device of workflow persistence, storage medium, electronic equipment
CN108415998A (en) * 2018-02-24 2018-08-17 平安科技(深圳)有限公司 Using dependence update method, terminal, equipment and storage medium
CN109189999A (en) * 2018-07-26 2019-01-11 浙江省测绘科学技术研究院 A kind of vector dynamic updating method based on Spatio-Temporal Data Model for Spatial
CN112866306A (en) * 2019-11-12 2021-05-28 阿里巴巴集团控股有限公司 Resource management method and cloud service platform
CN116166765A (en) * 2023-04-23 2023-05-26 国家基础地理信息中心 Vector data updating method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124328A1 (en) * 2002-01-18 2007-05-31 Boundary Solutions, Incorporated Computerized national online parcel-level map data portal
CN101556165A (en) * 2009-04-24 2009-10-14 方舟信息技术(苏州)有限公司 Method for updating embedded mobile electronic map data base in real time

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124328A1 (en) * 2002-01-18 2007-05-31 Boundary Solutions, Incorporated Computerized national online parcel-level map data portal
CN101556165A (en) * 2009-04-24 2009-10-14 方舟信息技术(苏州)有限公司 Method for updating embedded mobile electronic map data base in real time

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
唐远彬: "土地利用更新的联动机制与增量提取", 《中国博士学位论文全文数据库基础科学辑》, 15 November 2011 (2011-11-15) *
林艳: "GIS数据库增量更新的模型研究", 《中国测绘学会九届四次理事会暨2008年学术年会》, 30 November 2008 (2008-11-30) *
王育红: "GIS客户数据库更新的基本问题", 《地理信息世界》, 31 January 2008 (2008-01-31), pages 4 - 1 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069045A (en) * 2015-07-23 2015-11-18 百度在线网络技术(北京)有限公司 Method and system for updating non-permanent relational data in database
CN105069045B (en) * 2015-07-23 2018-07-31 百度在线网络技术(北京)有限公司 Update the data the method and system of relation data non-permanent in library
CN106874182A (en) * 2016-07-05 2017-06-20 阿里巴巴集团控股有限公司 Code abnormality processing, code execution method and device
CN106874182B (en) * 2016-07-05 2020-03-10 阿里巴巴集团控股有限公司 Code exception handling method and device, and code execution method and device
CN108009799A (en) * 2017-12-21 2018-05-08 泰康保险集团股份有限公司 The method and device of workflow persistence, storage medium, electronic equipment
CN108009799B (en) * 2017-12-21 2021-12-31 泰康保险集团股份有限公司 Method and device for persistence of workflow, storage medium and electronic equipment
CN108415998A (en) * 2018-02-24 2018-08-17 平安科技(深圳)有限公司 Using dependence update method, terminal, equipment and storage medium
WO2019161620A1 (en) * 2018-02-24 2019-08-29 平安科技(深圳)有限公司 Application dependency update method, terminal and device, and storage medium
CN109189999A (en) * 2018-07-26 2019-01-11 浙江省测绘科学技术研究院 A kind of vector dynamic updating method based on Spatio-Temporal Data Model for Spatial
CN112866306A (en) * 2019-11-12 2021-05-28 阿里巴巴集团控股有限公司 Resource management method and cloud service platform
CN112866306B (en) * 2019-11-12 2024-05-28 阿里巴巴集团控股有限公司 Resource management method and cloud service platform
CN116166765A (en) * 2023-04-23 2023-05-26 国家基础地理信息中心 Vector data updating method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103425751A (en) Linkage increment updating method of vector space data based on dependency
CN101706803B (en) Method for migrating production data of weaving workshop
CN102023983B (en) Managing method of statistical space-time database
CN107077479B (en) A kind of method and system updating column storage database system
CN104318481A (en) Power-grid-operation-oriented holographic time scale measurement data extraction conversion method
CN102426587B (en) Method for customizing and inquiring heterogeneous BOM (Bill of Materiel) based on complex product
JP2013033583A (en) System for updating associative memory
CN104205039A (en) Interest-driven business intelligence systems and methods of data analysis using interest-driven data pipelines
CN109508355A (en) A kind of data pick-up method, system and terminal device
CN102651007A (en) Method and device for managing database indexes
CN107562931A (en) Data pick-up system and data abstracting method
AU2012327168B2 (en) Amethod and structure for managing multiple electronic forms and their records using a static database
CN105320680A (en) Data synchronization method and device
CN104408067B (en) A kind of database design method and device of polytree structure
CN108153804B (en) Metadata log updating method for symmetric distributed file system
CN113010696A (en) Engineering field knowledge graph construction method based on metadata model
CN105677889A (en) Partial updating and reduction overall incremental updating method for spatial data
CN101727322A (en) Method and device for optimizing bill of material management interface
CN104021210B (en) Geographic data reading and writing method of MongoDB cluster of geographic data stored in GeoJSON-format semi-structured mode
CN112364046A (en) Knowledge graph-based main data management method in heterogeneous environment
CN106202378A (en) The immediate processing method of a kind of streaming meteorological data and system
CN102902811A (en) Database design method for quickly generating tree structure
CN106991190A (en) A kind of database automatically creates subdata base system
CN104008209B (en) Reading-writing method for MongoDB cluster geographic data stored with GeoJSON format structuring method
CN104636265B (en) A kind of access method of efficient memory model tissue of CIMXML document

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131204

WD01 Invention patent application deemed withdrawn after publication