Mining mobile object trajectories: frameworks and algorithms