Spatial Data Structure Merge for Storage and Query Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional databases are inefficient in managing and querying spatial data, often struggling with storage and performance due to their inability to handle spatial data types and operations effectively.
Innovation Solution
A system that merges two data structures storing spatial data into a single optimized data structure by determining the best type based on statistics, calculating storage and query performance costs, and applying modifications to optimize storage and querying efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If traditional databases are used to store spatial data, then storage capability is provided, but query performance deteriorates significantly
Solution Approach 1:
The patent segments spatial data into multiple data structures with different types (e.g., point data structures, line data structures, polygon data structures) and stores them separately. Each data structure is optimized for its specific geometry type, allowing efficient querying without loading entire datasets, thus improving query performance while maintaining storage capability.
Solution Approach 2:
The patent applies local quality by creating specialized data structures tailored to specific spatial data characteristics. Different data structure types are selected based on the specific geometry being stored (points, lines, polygons), with each structure optimized for its particular spatial properties and query patterns, thereby enhancing both storage efficiency and query performance for each data type.
2Device complexity
If a single data structure type is used for all spatial data, then device complexity is reduced, but adaptability to different spatial data types deteriorates
Solution Approach 1:
The patent implements universality by creating a unified spatial data management system that can handle multiple types of spatial data (points, lines, polygons) through a common framework. The system provides a consistent interface for storing and querying different geometry types while maintaining the benefits of specialized structures for each type, thus achieving both simplicity and versatility.
Solution Approach 2:
The patent applies dynamics by enabling the system to dynamically select and switch between different data structure types based on the specific spatial data being processed. The system can adapt its internal structure at runtime, choosing the most appropriate data structure for efficient storage and querying of different geometry types without requiring manual configuration or complex hard-coded logic.
3Quantity of substance
If spatial data is stored without modifications tracking, then storage usage is reduced, but ability to handle updates deteriorates
Solution Approach 1:
The patent applies preliminary action by maintaining separate modification data structures that track changes to spatial data before they are applied. These modification structures store information about updates, deletions, and other changes in advance, allowing the system to efficiently process updates by applying pre-computed modifications rather than processing them in real-time, thus improving update handling without significant storage overhead.
Solution Approach 2:
The patent implements beforehand cushioning by creating backup structures that preserve historical versions of spatial data and modification information. These cushioning structures allow the system to recover from updates, perform temporal queries, and maintain data integrity during transitions, thereby enhancing update handling capability while keeping storage usage manageable through selective preservation of critical modification information.
Data Source
AI summary
Some embodiments provide a non-transitory machine-readable medium that stores a program. The program identifies a first data structure having a first type. The first data structure is configured to store a set of geometries. The program further identifies a second data structure associated with the first data structure. The second data structure is configured to store modifications to the set of geometries. The program also perform a merge operation on the first data structure and the second data structure to form a third data structure.


