Commuting scene recognition method and system based on driving data of intelligent connected vehicles
Building a commuting scene determination model based on historical data of intelligent connected vehicles solves the problem of insufficient commuting scene recognition in intelligent connected vehicle systems, achieves high-accuracy commuting scene identification and intelligent service recommendation, and improves user experience and service levels. .
Patent Information
- Application Number
- CN202210687155.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-06-16
AI Technical Summary
It is difficult for existing intelligent connected car systems to accurately identify users' commuting scenarios, resulting in insufficient coverage and accuracy of service recommendations, and the inability to directly obtain the addresses and commuting times of users' homes and workplaces.
Through the historical data of intelligent connected vehicles, we use vehicle longitude and latitude annotation tools to identify residential addresses and company addresses, perform data preprocessing and feature engineering, build a commuting scene determination model, use gradient boosting decision tree algorithms for training, and deploy it on the Internet of Vehicles platform. Identify and recommend.
It has realized intelligent scenario-based applications in the field of Internet of Vehicles, and the accuracy of commuting scene recognition has reached more than 80%, improving the level of informatization and intelligence of user experience and services.
Smart Images

Figure CN114970748B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of scene recognition technology, and in particular to a commuting scene recognition method and system based on driving data of intelligent connected vehicles. Background Art
[0002] With the advancement of science and technology, the application of big data and AI technology in various fields has deepened, and intelligent and scenario-based applications in the field of Internet of Vehicles have gradually become the mainstream of the industry. The coverage, accuracy and sophistication of scene recognition have become the key to improving the user experience. At present, the service scenarios of smart cars are becoming more and more abundant. Systematically and systematically conducting scene recognition in the process of car use to support the design and implementation of scenario-based intelligent services is an important issue to be solved in the research and development of intelligent networked vehicles.
[0003] Many innovative methods have emerged around the analysis and application of Internet of Vehicles big data, laying a certain foundation for the improvement of backward services and experience. In the recognition of vehicle intelligent service scenarios, the recognition coverage, accuracy, and systematization of life travel scenarios need to be deepened.
[0004] The current practice in the industry is to target service scenarios and splice rules. When certain rules are triggered, it is considered that the scenario status is identified, and backward service recommendations are made based on the configured scenario rules.
[0005] In the existing recommendation system based on the vehicle network, personalized recommendations are mainly based on the user's hobbies and interests. Since the user's home and work addresses and commuting time cannot be directly obtained, there is a lack of commuting scene applications. In order to enrich the intelligent scenario applications of the Internet of Vehicles, how to accurately and efficiently identify the user's commuting scene is a technical problem that needs to be solved urgently. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a commuting scene recognition method and system based on the driving data of intelligent networked vehicles. Based on the historical data of vehicles on the intelligent networked platform, a combination model is constructed by extracting features of multiple dimensions, thereby forming a commuting scene determination model for networked vehicle owners, and deploying the model on the Qiming Internet of Vehicles platform. Through the marked home and work addresses of the vehicle owner, as well as the time points of commuting (going to and from get off work), it is determined whether the user is in a commuting scene and relevant intelligent message recommendations are made.
[0007] The objective of the present invention is achieved through the following technical solutions:
[0008] The commuting scene recognition method based on intelligent connected vehicle driving data includes:
[0009] Step 1: Based on the vehicle condition data, use the vehicle latitude and longitude annotation tool to annotate the data and identify the user's home address and company address;
[0010] Step 2: Preprocess the historical data of vehicles on the intelligent network platform, process the time series of the vehicle TBOX uploaded data and encode the geographical location with 10-digit Pluscode, and finally form 16 indicators to constitute the indicator system of the model;
[0011] Step 3: Use box plots and comparative analysis techniques to perform feature engineering on the pre-processed historical data of intelligent connected platform vehicles, obtain the value information of the data, and select key indicators with relatively strong correlation with the classification results as model independent variables;
[0012] Step 4: Based on the processed sample data, the gradient boosting decision tree algorithm is used and Python tools are used to build a classification model for training;
[0013] Step 5: Use the AUC evaluation index to evaluate the classification effect of the classification model;
[0014] Step 6: Deploy the classification model on the Internet of Vehicles platform for commuting scene recognition.
[0015] Specifically, the step 1 specifically includes the following steps:
[0016] S11, collect sample vehicle condition data, and output offline files from the historical vehicle condition data reported by TBOX;
[0017] S12, label the sample data, use Amap to develop a data labeling program, automatically mark the vehicle's driving trajectory, and extract the user's address and company location information.
[0018] Specifically, the step 2 specifically includes the following steps:
[0019] S21, outputting vehicle condition data including latitude, longitude and time according to the data marked in step 1;
[0020] S22, using the Openlocationcode algorithm library of Python tools, Pluscodes the longitude and latitude so that the location dimension covers the randomness of the actual vehicle start and stop positions;
[0021] S23, arranging the data in chronological order, calculating the time intervals between adjacent elements, setting the interval threshold, thereby determining the stop point and the departure point, and obtaining the stop time and the travel time;
[0022] S24, using Python tools Numpy and Chinese_Calendar algorithm library, to process and calculate data, and finally get the number of stops on the 30th working day, the proportion of the 20th working day, and the average stop time on the 10th;
[0023] S25, for the case of stopping at a location for multiple consecutive days, construct a feature weight function to handle exceptions and delete outliers.
[0024] Specifically, the step three specifically includes the following steps:
[0025] S31, data collation, taking the data marked in step 1 as the model dependent variable, taking the 16 indicator data preprocessed in step 2 as the independent variable, summarizing the data set, and marking the current stop point as 1 if it is the company address, and marking it as 0 if it is not the company address;
[0026] S32, data exploration, based on Python tools such as Numpy, Pandas and Seaborn, conducts exploratory analysis on data through comparative analysis, box plot drawing and other technical means to explore the possible value information of each indicator;
[0027] S33, feature screening, selects 6 key indicators with strong correlation with the dependent variable as the characteristic variables of the model.
[0028] Specifically, the step 4 specifically includes the following steps:
[0029] S41, data set segmentation, taking the feature variables selected in step 3 as the sample data set, the data set is randomly divided into a training set and a test set based on the Random algorithm library of the Python tool, where the training set and the test set account for 70% and 30% respectively;
[0030] S42, class imbalance processing, using the EasyEnsemble algorithm library of Python tools to randomly extract and generate 10 sub-samples;
[0031] S43, model construction, based on the above 10 sub-sample data sets, adopts the gradient boosting decision tree GBDT algorithm, uses the XGboost algorithm library of the Python tool to generate 10 base classifiers, and finally performs weighted combination on the results of the 10 base classifiers to build a user commuting scene recognition model;
[0032] S44, model parameter adjustment: Use the GridSearchCV algorithm library of Python tools to tune the model parameters.
[0033] Specifically, the step five specifically includes the following steps:
[0034] S51, model prediction: bring the test set data into the user commuting scene recognition model for calculation;
[0035] S52, effect evaluation: Based on the AUC evaluation index of the classification model, the Sklearn algorithm library of the Python tool is used to finally calculate the classification accuracy of the user commuting scene recognition model on the test set;
[0036] S53, model saving: using the Pickle algorithm library of the Python tool to save the constructed user commuting scene recognition model.
[0037] Specifically, the step six specifically includes the following steps:
[0038] S61, storing the calculation result of the trained user commuting scene recognition model into the user portrait table;
[0039] S62, combining the real-time vehicle condition data, obtains matching results and provides intelligent recommendation reminders for the user's commuting scenarios.
[0040] The commuting scene recognition system based on driving data of intelligent networked vehicles is implemented by using the above-mentioned commuting scene recognition method based on driving data of intelligent networked vehicles, including:
[0041] The data annotation module is used to annotate the vehicle condition data using the vehicle latitude and longitude annotation tool to identify the user's residential address and company address;
[0042] The data preprocessing module is used to preprocess the historical data of vehicles on the intelligent network platform, process the time series of the vehicle TBOX uploaded data, and encode the geographical location into 10-digit Pluscode, ultimately forming 16 indicators that constitute the indicator system of the model;
[0043] The feature engineering processing module is used to perform feature engineering processing on the pre-processed historical data of the intelligent network platform vehicles using box plots and comparative analysis techniques to obtain the value information of the data, and select key indicators with relatively strong correlation with the classification results as model independent variables according to the preset correlation threshold;
[0044] The model training module uses the gradient boosting decision tree algorithm based on the sample data processed by feature engineering and uses Python tools to build a classification model for training;
[0045] The effect evaluation module uses the AUC evaluation index to evaluate the classification effect of the classification model;
[0046] The model deployment module deploys the classification model on the Internet of Vehicles platform for commuting scene recognition.
[0047] Beneficial effects of the present invention:
[0048] 1. It realizes intelligent and scenario-based applications in the field of Internet of Vehicles. The present invention successfully realizes the recognition of users' commuting scenarios based on the driving data of intelligent networked vehicles, and the recognition accuracy rate is over 80%, and the vehicle terminal data is successfully applied in scenarios;
[0049] 2. This invention effectively combines Internet of Vehicles technology with big data technology, and uses advanced technical means such as Spark big data processing technology and machine learning algorithms to successfully integrate and apply technologies, which will provide technical support for intelligent applications based on commuting scenarios in the automotive industry;
[0050] 3. From the perspective of solving practical problems, the present invention achieves the purpose of improving user experience and promoting intelligent and humanized services, and comprehensively improves the level of informatization and intelligence of user services in the automotive industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of the method of the present invention;
[0052] Figure 2 Schematic diagram of the data annotation process;
[0053] Figure 3 Schematic diagram for processing time series data;
[0054] Figure 4 Box plot example 1 for data exploration analysis;
[0055] Figure 5 This is the second example of data exploration and analysis box plot;
[0056] Figure 6 This is the third example of data exploration and analysis box plot;
[0057] Figure 7 This is the fourth example of data exploration and analysis box plot;
[0058] Figure 8 It is the data exploration analysis box plot example five;
[0059] Fig. 9 This is the sixth example of data exploration and analysis box plot;
[0060] Fig.10 This is the example 1 of the comparative analysis result diagram;
[0061] Fig.11 This is the second example of comparative analysis result diagram;
[0062] Fig.12 This is the comparative analysis result diagram example 3;
[0063] Fig.13This is the fourth example of comparative analysis result diagram;
[0064] Fig.14 Example 5 of comparative analysis result chart
[0065] Fig.15 This is the comparative analysis result diagram example 6;
[0066] Fig.16 This is a schematic diagram of the application of the model in the commuting scenario. DETAILED DESCRIPTION
[0067] In order to have a clearer understanding of the technical features, purposes and beneficial effects of the present invention, the technical solution of the present invention is now described in detail below. Obviously, the implementation cases described are part of the embodiments of the present invention, not all of the embodiments, and cannot be understood as limiting the scope of the implementation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.
[0068] Embodiment 1:
[0069] In order to realize intelligent and scenario-based applications in the field of Internet of Vehicles, the present invention combines big data processing technology with Internet of Vehicles technology and proposes a user commuting scene recognition method based on machine learning algorithm. It can automatically calculate indicators, recognize commuting scenes and push related messages based on the data uploaded by the vehicle TBOX of the Qiming intelligent network platform, thus achieving the purpose of intelligent and humanized services and further improving the user's driving experience. The specific implementation process of the method of the present invention is as follows:
[0070] In this embodiment, Figure 1 As shown, a method for commuting scene recognition based on intelligent connected vehicle driving data includes the following steps:
[0071] Step 1: Based on the vehicle condition data, independently develop a vehicle latitude and longitude annotation tool to annotate the data and identify the user's home and company addresses;
[0072] Step 2: Preprocess the historical data of the vehicle on the Qiming ICV platform, mainly by processing the time series of the vehicle TBOX uploaded data and encoding the geographic location with 10-digit Pluscode, and finally form 16 indicators to form the indicator system of the model;
[0073] Step 3: Use technical means such as box plots and comparative analysis to perform feature engineering processing, obtain valuable information of the data, and select key indicators with relatively strong correlation with the classification results as model independent variables;
[0074] Step 4: Based on the processed sample data, the gradient boosted decision tree (GBDT) algorithm is used to build a classification model using Python's XGboost, GridSearchCV, EasyEnsemble and other tools;
[0075] Step 5: Use the AUC evaluation index to evaluate the classification effect of the model;
[0076] Step 6: Deploy the model on the Qiming Internet of Vehicles platform.
[0077] In this embodiment, step one specifically includes the following steps:
[0078] 1. Collect sample vehicle condition data and output offline files from the historical vehicle condition data reported by TBOX;
[0079] 2. Label the sample data and use Amap to develop a data labeling program to automatically mark the vehicle's driving trajectory and extract the location of home and company.
[0080] In this embodiment, step 2 specifically includes the following steps:
[0081] 1. For the vehicles marked in the previous step, output the vehicle condition data including latitude, longitude and time;
[0082] 2. Use the Openlocationcode algorithm library of Python tools to perform Pluscode encoding on the longitude and latitude, so that the location dimension covers the randomness of the actual vehicle start and stop positions;
[0083] 3. Arrange the data in chronological order, calculate the time interval between adjacent elements, set the interval threshold, and thus determine the stop point and departure point, and obtain the stop time and travel time;
[0084] 4. Use Python tools such as Numpy and Chinese_Calendar algorithm libraries to process and calculate data, and finally obtain 16 dimensions of data, including the number of stops on the 30th working day, the proportion of the 20th working day, and the average stop time on the 10th;
[0085] 5. For the case of stopping at a location for multiple consecutive days, a feature weight function is constructed to handle exceptions so that the feature weight will not be greatly affected by vehicles that stop at a location for a long time, and outliers are deleted.
[0086] In this embodiment, step three specifically includes the following steps:
[0087] 1. Data collation: Use the data marked in step 1 as the model dependent variable, and the 16 indicator data preprocessed in step 2 as the independent variable. Summarize the data set and mark the current stop as 1 if it is the company address and 0 if it is not the company address.
[0088] 2. Data exploration: Based on Python tools such as Numpy, Pandas, and Seaborn, we use comparative analysis, box plots, and other technical means to perform exploratory analysis on the data and explore the possible value information of each indicator. Figure 4-Figure 9 An example of a box plot for data exploration analysis is given. Figure 10-15 Examples of comparative analysis results from data exploratory analysis are given.
[0089] 3. Feature screening: In order to improve the simplicity of the model, following the principle of correlation between independent variables and dependent variables, six key indicators with strong correlation with the dependent variables are selected as the characteristic variables of the model.
[0090] In this embodiment, step 4 specifically includes the following steps:
[0091] 1. Dataset segmentation: Use the dataset selected in step 3 as the sample dataset, and randomly divide the dataset into a training set and a test set based on the Random algorithm library of the Python tool, where the training set and the test set account for 70% and 30% respectively;
[0092] 2. Dealing with the problem of class imbalance: Since the proportion of data marked as 0 in the sample data set is much higher than the proportion of data marked as 1, the problem of class imbalance occurs. In accordance with the principle of not wasting sample data, the method of combining models is used to increase the value of sample data, thereby enhancing the training effect of the model. The specific operation method is: Use the EasyEnsemble algorithm library of the Python tool to randomly extract and generate 10 sub-samples;
[0093] 3. Model construction: Based on the above 10 sub-sample data sets, the gradient boosting decision tree (GBDT) algorithm is used to generate 10 base classifiers using the XGboost algorithm library of the Python tool. Finally, the results of the 10 base classifiers are weighted and combined to build a user commuting scene recognition model;
[0094] 4. Model parameter adjustment: The GridSearchCV algorithm library of the Python tool is used to tune the model parameters to enhance the classification effect of the model. The final classification accuracy of the model on the training set is about 76.34%.
[0095] In this embodiment, step five specifically includes the following steps:
[0096] 1. Model prediction: Bring the test set data into the model for calculation;
[0097] 2. Effect evaluation: Based on the AUC evaluation index of the classification model, the Sklearn algorithm library of the Python tool was used. The final calculation showed that the classification accuracy of the model on the test set was about 83.72%, and the classification effect was good;
[0098] 3. Model saving: Use the Pickle algorithm library of Python tools to save the constructed model.
[0099] In this embodiment, step six specifically includes the following steps:
[0100] 1. Store the results of the trained model calculation in the user portrait table;
[0101] 2. Combined with real-time vehicle condition data, matching results are obtained to provide intelligent recommendation reminders for users’ commuting scenarios.
[0102] Embodiment 2:
[0103] In this embodiment, based on the method provided in the first embodiment, a commuting scene recognition system based on driving data of intelligent networked vehicles is provided, and the system includes the following modules:
[0104] The data annotation module is used to annotate the vehicle condition data using the vehicle latitude and longitude annotation tool to identify the user's residential address and company address;
[0105] The data preprocessing module is used to preprocess the historical data of vehicles on the intelligent network platform, process the time series of the vehicle TBOX uploaded data, and encode the geographical location into 10-digit Pluscode, ultimately forming 16 indicators that constitute the indicator system of the model;
[0106] The feature engineering processing module is used to perform feature engineering processing on the pre-processed historical data of intelligent network platform vehicles using box plots and comparative analysis techniques, obtain the value information of the data, and select key indicators with relatively strong correlation with the classification results as model independent variables;
[0107] The model training module uses the gradient boosting decision tree algorithm based on the sample data processed by feature engineering and uses Python tools to build a classification model for training;
[0108] The effect evaluation module uses the AUC evaluation index to evaluate the classification effect of the classification model;
[0109] The model deployment module deploys the classification model on the Internet of Vehicles platform for commuting scene recognition.
[0110] In this embodiment, the data annotation module workflow is as follows:
[0111] 1. Collect sample vehicle condition data and output offline files from the historical vehicle condition data reported by TBOX;
[0112] 2. Label the sample data and use Amap to develop a data labeling program to automatically mark the vehicle's driving trajectory and extract the location of home and company.
[0113] In this embodiment, the data preprocessing module workflow is as follows:
[0114] 1. For the vehicles marked in the previous step, output the vehicle condition data including latitude, longitude and time;
[0115] 2. Use the Openlocationcode algorithm library of Python tools to perform Pluscode encoding on the longitude and latitude, so that the location dimension covers the randomness of the actual vehicle start and stop positions;
[0116] 3. Arrange the data in chronological order, calculate the time interval between adjacent elements, set the interval threshold, and thus determine the stop point and departure point, and obtain the stop time and travel time;
[0117] 4. Use Python tools such as Numpy and Chinese_Calendar algorithm libraries to process and calculate data, and finally obtain 16 dimensions of data, including the number of stops on the 30th working day, the proportion of the 20th working day, and the average stop time on the 10th;
[0118] 5. For the case of stopping at a location for multiple consecutive days, a feature weight function is constructed to handle exceptions so that the feature weight will not be greatly affected by vehicles that stop at a location for a long time, and outliers are deleted.
[0119] In this embodiment, the feature engineering processing module workflow is as follows:
[0120] 1. Data collation: Take the data marked in step 1 as the dependent variable of the model, and take the 16 indicator data preprocessed in step 2 as the independent variable. Summarize the data set and mark the current stop point as 1 if it is the company address and 0 if it is not the company address.
[0121] 2. Data exploration: Based on Python tools such as Numpy, Pandas, and Seaborn, we use technical means such as comparative analysis and box plotting to conduct exploratory analysis of data and explore the possible value information of each indicator;
[0122] 3. Feature screening: In order to improve the simplicity of the model, following the principle of correlation between independent variables and dependent variables, six key indicators with strong correlation with the dependent variables are selected as the characteristic variables of the model.
[0123] In this embodiment, the model training module workflow is as follows:
[0124] 1. Dataset segmentation: Use the dataset selected in step 3 as the sample dataset, and randomly divide the dataset into a training set and a test set based on the Random algorithm library of the Python tool, where the training set and the test set account for 70% and 30% respectively;
[0125] 2. Dealing with the problem of class imbalance: Since the proportion of data marked as 0 in the sample data set is much higher than the proportion of data marked as 1, the problem of class imbalance occurs. In accordance with the principle of not wasting sample data, the method of combining models is used to increase the value of sample data, thereby enhancing the training effect of the model. The specific operation method is: Use the EasyEnsemble algorithm library of the Python tool to randomly extract and generate 10 sub-samples;
[0126] 3. Model construction: Based on the above 10 sub-sample data sets, the gradient boosting decision tree (GBDT) algorithm is used to generate 10 base classifiers using the XGboost algorithm library of the Python tool. Finally, the results of the 10 base classifiers are weighted and combined to build a user commuting scene recognition model;
[0127] 4. Model parameter adjustment: The GridSearchCV algorithm library of the Python tool is used to tune the model parameters to enhance the classification effect of the model. The final classification accuracy of the model on the training set is about 76.34%.
[0128] In this embodiment, the workflow of the effect evaluation module is as follows:
[0129] 1. Model prediction: Bring the test set data into the model for calculation;
[0130] 2. Effect evaluation: Based on the AUC evaluation index of the classification model, the Sklearn algorithm library of the Python tool was used. The final calculation showed that the classification accuracy of the model on the test set was about 83.72%, and the classification effect was good;
[0131] 3. Model saving: Use the Pickle algorithm library of Python tools to save the constructed model.
[0132] In this embodiment, the model deployment module workflow is as follows:
[0133] 1. Store the results of the trained model calculation in the user portrait table;
[0134] 2. Combined with real-time vehicle condition data, matching results are obtained to provide intelligent recommendation reminders for users’ commuting scenarios.
[0135] In this embodiment, Fig.16 As shown in the figure, the application process of the system is: first extract the vehicle's driving status data, read and parse the TBOX upload, and predict the company address based on the model to determine whether the vehicle enters the punch-in range; if the vehicle enters the punch-in range, push the commuting information to the on-board terminal (vehicle computer), mobile phone APP, etc. If the vehicle does not enter the punch-in range, end the current judgment process.
[0136] The present invention realizes intelligent and scenario-based applications in the field of Internet of Vehicles. The present invention successfully realizes the recognition of users' commuting scenarios based on the driving data of intelligent networked vehicles, and the recognition accuracy rate reaches more than 80%, and the vehicle terminal data is successfully applied in scenarios;
[0137] This invention effectively combines Internet of Vehicles technology with big data technology, and uses advanced technical means such as Spark big data processing technology and machine learning algorithms to successfully integrate and apply technologies, which will provide technical support for intelligent applications based on commuting scenarios in the automotive industry.
[0138] From the perspective of solving practical problems, the present invention achieves the purpose of improving user experience and promoting intelligent and humanized services, and comprehensively improves the informationization and intelligence level of user services in the automotive industry.
[0139] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of the present invention to be protected is defined by the attached claims and their equivalents.
Claims
1. A commuting scene recognition method based on driving data of intelligent connected vehicles, characterized in that: include: Step 1: Based on the vehicle condition data, use the vehicle latitude and longitude annotation tool to annotate the data and identify the user's home address and company address; Step 2: Preprocess the historical data of vehicles on the intelligent network platform, process the time series of the vehicle TBOX uploaded data and encode the geographical location with 10-digit Pluscode, and finally form 16 indicators to constitute the indicator system of the model; Step 3: Use box plots and comparative analysis techniques to perform feature engineering on the pre-processed historical data of intelligent connected platform vehicles, obtain the value information of the data, and select key indicators with relatively strong correlation with the classification results as model independent variables; Step 4: Based on the sample data processed by feature engineering, the gradient boosting decision tree algorithm is used, and the classification model is constructed and trained using Python tools; Step 5: Use the AUC evaluation index to evaluate the classification effect of the classification model; Step 6: Deploy the classification model on the Internet of Vehicles platform for commuting scene recognition.
2. The commuting scene recognition method based on intelligent connected vehicle driving data according to claim 1 is characterized in that: The step 1 specifically includes the following steps: S11, collect sample vehicle condition data, and output offline files from the historical vehicle condition data reported by TBOX; S12, label the sample data, use Amap to develop a data labeling program, automatically mark the vehicle's driving trajectory, and extract the user's address and company location information.
3. The commuting scene recognition method based on intelligent connected vehicle driving data according to claim 1 is characterized in that: The step 2 specifically includes the following steps: S21, outputting vehicle condition data including latitude, longitude and time according to the data marked in step 1; S22, using the Openlocationcode algorithm library of Python tools, Pluscode encoding is performed on the longitude and latitude, so that the location dimension covers the randomness of the actual vehicle start and stop positions; S23, arranging the data in chronological order, calculating the time intervals between adjacent elements, setting the interval threshold, thereby determining the stop point and the departure point, and obtaining the stop time and the travel time; S24, using Python tools Numpy and Chinese_Calendar algorithm library, to process and calculate data, and finally get the number of stops on the 30th working day, the proportion of the 20th working day, and the average stop time on the 10th; S25, for the case of stopping at a location for multiple consecutive days, construct a feature weight function to handle exceptions and delete outliers.
4. The commuting scene recognition method based on intelligent connected vehicle driving data according to claim 1 is characterized in that: The step three specifically includes the following steps: S31, data collation, taking the data marked in step 1 as the model dependent variable, taking the 16 indicator data preprocessed in step 2 as the independent variable, summarizing the data set, and marking the current stop point as 1 if it is the company address, and marking it as 0 if it is not the company address; S32, data exploration, based on Python tools such as Numpy, Pandas, and Seaborn algorithm libraries, conducts exploratory analysis of data through comparative analysis and drawing box plots to explore the possible value information of each indicator; S33, feature screening, selects 6 key indicators with strong correlation with the dependent variable as the characteristic variables of the model.
5. The commuting scene recognition method based on intelligent connected vehicle driving data according to claim 1 is characterized in that: The step 4 specifically includes the following steps: S41, data set segmentation, taking the feature variables selected in step 3 as the sample data set, the data set is randomly divided into a training set and a test set based on the Random algorithm library of the Python tool, where the training set and the test set account for 70% and 30% respectively; S42, class imbalance processing, using the EasyEnsemble algorithm library of Python tools to randomly extract and generate 10 sub-samples; S43, model construction, based on the above 10 sub-sample data sets, adopts the gradient boosting decision tree GBDT algorithm, uses the XGboost algorithm library of the Python tool to generate 10 base classifiers, and finally performs weighted combination on the results of the 10 base classifiers to build a user commuting scene recognition model; S44, model parameter adjustment: Use the GridSearchCV algorithm library of Python tools to tune the model parameters.
6. The commuting scene recognition method based on intelligent connected vehicle driving data according to claim 1 is characterized in that: The step five specifically includes the following steps: S51, model prediction: bring the test set data into the user commuting scene recognition model for calculation; S52, effect evaluation: Based on the AUC evaluation index of the classification model, the Sklearn algorithm library of the Python tool is used to finally calculate the classification accuracy of the user commuting scene recognition model on the test set; S53, model saving: using the Pickle algorithm library of the Python tool to save the constructed user commuting scene recognition model.
7. The commuting scene recognition method based on intelligent connected vehicle driving data according to claim 1 is characterized in that: The step six specifically includes the following steps: S61, storing the calculation result of the trained user commuting scene recognition model into the user portrait table; S62, combining the real-time vehicle condition data, obtains matching results and provides intelligent recommendation reminders for the user's commuting scenarios.
8. A commuting scene recognition system based on driving data of intelligent networked vehicles, which is implemented by the commuting scene recognition method based on driving data of intelligent networked vehicles as described in any one of claims 1 to 7, characterized in that: include The data annotation module is used to annotate the vehicle condition data using the vehicle latitude and longitude annotation tool to identify the user's residential address and company address; The data preprocessing module is used to preprocess the historical data of vehicles on the intelligent network platform, process the time series of the vehicle TBOX uploaded data, and encode the geographical location into 10-digit Pluscode, ultimately forming 16 indicators that constitute the indicator system of the model; The feature engineering processing module is used to perform feature engineering processing on the pre-processed historical data of the intelligent network platform vehicles using box plots and comparative analysis techniques to obtain the value information of the data, and select key indicators with relatively strong correlation with the classification results as model independent variables according to the preset correlation threshold; The model training module uses the gradient boosting decision tree algorithm based on the sample data processed by feature engineering and uses Python tools to build a classification model for training; The effect evaluation module uses the AUC evaluation index to evaluate the classification effect of the classification model; The model deployment module deploys the classification model on the Internet of Vehicles platform for commuting scene recognition.
Citation Information
Patent Citations
Commuting private car dynamic car-sharing recommendation method
CN107038858A
Driving scene judgment method and device, equipment and storage medium
CN113071497A
Ai attendance prediction system based on commuting action pattern
KR102109187B1
