The invention provides a vehicle trajectory generation method, including steps of 1, querying through-pass records of vehicles in a
database in a period from beginning time to ending time, and ordering records according to the chronological order; 2, calculating a
time difference between a current vehicle-through
record and a next vehicle-through
record, and querying an average vehicle-through time between two passes of the current vehicle-through
record and the next vehicle-through record; 3, determining whether a vehicle stops moving between the two passes according to the
time difference, the average vehicle-through time and a preset vehicle stopping time, if so, carrying out a step 4, and if not, carrying out a step 5; 4, taking a pass corresponding to the current vehicle-pass record as a
tail pass of a vehicle trajectory, so that the trajectory generation is finished; and 5, taking the pass corresponding to the current vehicle-pass record as a non-
tail pass of the vehicle trajectory, and taking the next vehicle-through record as a current vehicle-through record, and re-executing the step 2. The invention also provides a vehicle trajectory aggregation method. The invention can generate
vehicle driving trajectory rules based on vehicle-through records in the
database.