This invention discloses a spatiotemporal data indexing query method,
system, medium, and device based on GPU
ray tracing, belonging to the field of spatial data indexing technology. The method includes responding to a point query request, obtaining the query coordinates, query time, and target
object identifier from the point query request, emitting a vertical
ray along a preset direction starting from the query coordinates and starting height, performing GPU
ray traversal of the nearest intersection point on the vertical ray using a pre-established spatiotemporal index structure, and returning the intersecting
geometric primitive with the smallest ray parameter, whose
object identifier matches the target
object identifier, and is a valid data
record, as the query result of the point query request. This invention achieves
hardware acceleration of spatiotemporal indexing query by uniformly mapping two-dimensional spatial coordinates and time dimension to a three-dimensional coordinate
system and utilizing a
bounding volume hierarchy and its corresponding geometric acceleration structure.