Synchronization of databases comprising spatial entity attributes
Abstract:
The present disclosure relates to a method for determining a synchronization state between a primary database 250 and one or more secondary databases communicatively coupled with the primary database to form a distributed and nonhierarchical database cluster, wherein the primary and secondary databases store attributes 320 of spatial entities 300 of a space modeled using a spatial model, and each database comprises data entities representing spatial entities 300 with defined spatial boundaries within at least a segment of the spatial model, where the attributes 320 of the spatial entities 300 are coupled to the data entities. The method comprises: generating a snapshot comprising information relating to data entities within a first segment of the spatial model in the primary database at a snapshot time Ts, said information identifying changes to the data entities where each change comprises a time stamp 340, wherein only data entities with a time stamp ≤T0, where Ts>T0, are included in the snapshot, although changes to the data entities up to the time Ts have been received and stored in the primary database 250; receiving, from one or more secondary databases in the cluster, corresponding generated snapshots, each snapshot comprising data entities within the same first segment of the spatial model in said secondary database, wherein only data entities with a time stamp ≤T0, where Ts>T0, are included in the snapshot; and determining a synchronization state based on a comparison between the generated and received snapshots, wherein the synchronization state is determined to be not synchronized if the generated snapshot and the received corresponding snapshots do not all match.
Information query
Patent Agency Ranking
0/0