The invention discloses a space-time trajectory accompanying analysis method and related components, and the method comprises: obtaining the original data of a collection object, carrying out the coding of spatial data in the original data, generating a character string, adding the character string to the original data, and generating preprocessing data; writing the preprocessed data into a time sequence library Druid, and pre-aggregating the preprocessed data by the time sequence library according to time granularity during writing to realize initial deduplication; receiving a trajectory query request for the target object, searching data and performing secondary deduplication to generate a first spatial-temporal trajectory of the target object and a second spatial-temporal trajectory ofthe accompanying object; and determining the number of accompanying times of the second space-time trajectory and the first space-time trajectory, and determining the accompanying degree of each second space-time trajectory and the first space-time trajectory. Rough deduplication is realized through the pre-aggregation operation by utilizing the time sequence library, data redundancy is avoided, space occupation is reduced, the secondary deduplication calculation speed is increased, a nonlinear data model does not need to be constructed for fitting during adjoint analysis, and the calculationcomplexity is reduced.