Traffic Information Detection Based on Scattered Sensor Data: Model and Algorithms