Compound Geo-Location Indexing for On-Demand Spatial Queries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional spatial indexes in multi-tenant cloud-based computing environments are not adaptable to on-demand environments, as they cannot easily mix with other data columns, making it difficult to perform queries using spatial information and provide geo-location support for mobile applications.

Innovation Solution

A method is introduced that uses a compound geo-location data type with separate fields for longitude and latitude, employing a distance filtering mechanism to reduce computational complexity by filtering records using regular indexes, and only performing distance calculations for records within a defined radius, thereby enhancing query efficiency in multi-tenant databases.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional spatial indexes are used in multi-tenant cloud-based environments, then spatial queries can be performed, but they cannot easily mix with other data columns making the system inadaptable to on-demand environments

Engineering Contradiction:
Improveadaptability to on-demand environmentVSAvoidcomplexity of spatial index structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The spatial index is segmented into compound data types that separate spatial coordinates (latitude, longitude) from other data columns. This segmentation allows spatial queries to be performed while maintaining the ability to mix with other data types in the same index structure, resolving the contradiction between adaptability and complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The index structure is designed to be universal by supporting both spatial data (through compound geo-location fields) and non-spatial data (through regular columns) within the same indexing mechanism. This multi-functionality enables the system to adapt to on-demand environments while avoiding the need for separate specialized spatial indexes.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Measurement precision

If distance calculations are performed on all records in the database, then complete geo-location search results are obtained, but computational complexity increases significantly

Engineering Contradiction:
Improveaccuracy of geo-location searchVSAvoidquery execution speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system performs preliminary filtering by creating a bounding box around the target location before executing distance calculations. Records outside this bounding box are excluded in advance, so distance calculations are only performed on a subset of records that are geographically relevant. This preliminary action maintains measurement precision for the final results while dramatically improving productivity by reducing the number of computationally expensive distance calculations needed.

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If regular indexes are used instead of specialized spatial indexes, then the system is simpler and more adaptable, but geo-location queries cannot be efficiently performed

Engineering Contradiction:
Improvesimplicity of index structureVSAvoidgeo-location query efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent merges the functionality of regular indexes with spatial query capabilities by using compound data types that include both spatial coordinates and regular data columns in the same index structure. This merging allows the system to maintain simplicity and adaptability of regular indexes while enabling efficient geo-location queries through the integrated spatial components.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9418077B2System and method for geo-location data type searching in an on demand environment
Publication Date: 2016.08.16 SALESFORCE INC
  • US9418077B2 patent drawing
  • US9418077B2 patent drawing
  • US9418077B2 patent drawing

AI summary

Methods and systems are provided for retrieving, from a database containing a list of records, a subset of the list of records located within a user defined distance from a target point, each record in the list of records having a compound geo-location data type including a first data field and a second data field. The method involves generating a circle around the target point; identifying records having a geo-location within the circle; including the identified records in a result set; and presenting the result set to a user on a display screen. The method further includes treating the first data field and the second data field as a single data element.