With the number of private car in the city growing rapidly,in order to improve the efficiency of urban traffic,while providing users with timely urban road information updates,Real-time traffic system collects road conditions in the city and update the city traffic information to the user regularly.At the same time,the system also will plan the current optimal route for the user,which can improve the user’s travel efficiency,reduce congestion traffic pressure.This paper is the design and the implementation of Real-time traffic information enhancement module based on activity recognition.The information of urban road in Real-time traffic system is mainly depend on the position data which returned by the floating vehicle model.But the restrictions of the data source will lead to some of the city road information can not be truly reflected in the application.In this module,in order to improve the data volume and accuracy of the urban road information,the user’s sensor data is identified and the current state of the user is obtained through the training model,while we can get the speed of the user by the position data,so we know the road traffic around the user,which make the Real-time traffic system information more accurate.The realization of this module is divided into two parts,the first is the activity recognition and the second is the speed calculation.In the first part,through the data collection,data cleaning,feature extraction,model training,model selection and other stages,according to the sampling theorem and Fourier transform theory,we recognize the user’s activity.In the second part,with the position data and some strategies,we map the user’s route to the road network and calculate the speed of the user.The real time data is the main source of the information,sometimes we also need refer to historical data.The Real-time traffic system with the information enhancement module can be used to calculate the traffic information with more data sources.The sensor data and position data returned by the user improve the accuracy of the road forecast.Compared with the original system,the new system improves the experience of using the product. |