Method for Creating a Scalable Graph Database Using Coordinate Data Elements
First Claim
1. A method comprising:
- defining a geospatial datatype for encoding a plurality of coordinate points in a two-dimensional data space into a single datum that includes respective pairs of an X-ordinate and a Y-ordinate;
dividing the two-dimensional data space into a plurality of uniform Y strips, each of a defined width;
converting the X-ordinates and Y-ordinates to a normalized number format;
defining a data structure for the datum comprising a strip number followed by X-ordinate data followed by Y-ordinate data for each strip of the plurality of Y strips;
defining a sub-type based on the X-ordinate data, Y-ordinate data and the defined width of a Y strip; and
encoding the sub-type in the data structure, wherein the component fields of the data structure are arranged so that the datum can be sorted linearly as a single unsigned integer.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of a method for creating a graph database which is arranged to store data in the form of graph tuples comprising n-parts, are described. In an embodiment, each tuple-part is encoded into a unique part identifier (UPI). A geospatial UPI is defined for two-dimensional data elements that include a plurality of data points defined by respective pairs of an X-ordinate and a Y-ordinate. A two-dimensional data space is divided into a plurality of uniform Y strips of defined widths. The Y-strip width is selected to correspond approximately to an anticipated Y dimension of a typical search region of interest. The geospatial UPI encodes a plurality of coordinate points in a two-dimensional data space into a single datum that includes respective pairs of an X-ordinate and a Y-ordinate. The geospatial UPI comprises a data structure arranged in order of sort priority by the geospatial UPI type code, geospatial subtype, and Y-strip identifier followed by the X-ordinate data and Y-ordinate data. The component fields of the data structure are arranged so that the datum can be sorted linearly as a single unsigned integer, thus facilitating a search over a two dimensional region of the data by allowing a search process to linearly scan a limited identifiable region of each of the several strips overlapping the search region of interest.
70 Citations
22 Claims
-
1. A method comprising:
-
defining a geospatial datatype for encoding a plurality of coordinate points in a two-dimensional data space into a single datum that includes respective pairs of an X-ordinate and a Y-ordinate; dividing the two-dimensional data space into a plurality of uniform Y strips, each of a defined width; converting the X-ordinates and Y-ordinates to a normalized number format; defining a data structure for the datum comprising a strip number followed by X-ordinate data followed by Y-ordinate data for each strip of the plurality of Y strips; defining a sub-type based on the X-ordinate data, Y-ordinate data and the defined width of a Y strip; and encoding the sub-type in the data structure, wherein the component fields of the data structure are arranged so that the datum can be sorted linearly as a single unsigned integer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method of encoding geospatial coordinate data consisting of pairs or X-ordinates and Y-ordinates into a single sortable data structure comprising:
-
defining a first field as a geospatial datatype identifier; defining a second field as a geospatial subtype identifier; defining a third field as a Y-strip identifier, the Y-strip identifier identifying a specific Y-strip of a plurality of Y-strips into which a two-dimensional data space the geospatial coordinate data is divided; defining a fourth field as a normalized X-ordinate value; and defining a fifth field as a normalized Y-ordinate value. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
-
Specification