The invention provides a track flow data-oriented continuous range query method and
system. The
system comprises a position information sending module, an index module and a query module. According to the invention, an index module is improved firstly, it can be guaranteed that track points are rapidly inserted according to the spatial positions and the
time sequence of the track points, and ID-
time range query and spatial range query of tracks are supported. Thirdly, a query module is improved, an internal and external memory combined query mechanism is adopted, and the number of times of spatial intersection judgment and the number of times of data needing to be retrieved are reduced to the maximum extent; and furthermore, an index module and a query module are supplemented, so that the query accuracy can be ensured under the condition that the query is changed. Finally, a memory cleaning module is further included, when the number of query times and the number of concurrent queries are increased, a
result set is reduced, and the memory burden is relieved. According to the invention, under the condition of ensuring real-time updating of data,
time range query and space range query are realized at the same time, and the efficiency of continuous range query is improved.