Internet of vehicles data transmission quality evaluation method, system, device and medium

By classifying and anomaly analyzing the Internet of Vehicles data, and using the variational autoencoder model and kernel density estimation algorithm, the deficiencies of time series data processing in the existing technology for evaluating the transmission quality of Internet of Vehicles data are solved, and the accuracy of the assessment and Reliability of terminal type selection.

CN118656746APending Publication Date: 2024-09-17CHONGQING CHANGAN AUTOMOBILE CO LTD

Patent Information

Application Number
CN202410821141.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing IoV data transmission quality assessment methods are not ideal for time series data, and the accuracy of identifying abnormal data is low. Especially for time series data, statistical methods need to know the data distribution in advance and cannot be directly applied, resulting in in-vehicle errors. Poor performance in network data transmission quality assessment.

Method used

By classifying the vehicle's data transmission terminal types, a target data set is constructed, using the variational autoencoder model and kernel density estimation algorithm to analyze the outliers of the Internet of Vehicles data in each abnormal dimension, and calculate the data quality based on the outliers and weights. Outliers, and finally determine the best type of terminal for data transfer.

Benefits of technology

It improves the accuracy of Internet of Vehicles data transmission quality assessment, can more effectively identify abnormal data, and helps select the best data transmission terminal type, thus improving the reliability of overall data quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656746A
    Figure CN118656746A
Patent Text Reader

Abstract

The embodiment of the invention provides an Internet of Vehicles data transmission quality evaluation method, system and device and a medium, and the method comprises the steps: classifying the Internet of Vehicles data of each vehicle based on the type of a data transmission terminal of the vehicle, and obtaining a target data set corresponding to the type of the data transmission terminal; analyzing and processing the Internet of Vehicles data of the single vehicle in the target data set, and determining an abnormal value of the Internet of Vehicles data of the single vehicle in each abnormal dimension; determining a data quality abnormal value of the single vehicle according to the abnormal value and the weight of each abnormal dimension; according to the data quality abnormal value of each vehicle in the target data set, determining a data abnormal average value and a data abnormal variance of a data transmission terminal type corresponding to the target data set; and determining an optimal data transmission terminal type according to the data anomaly average value and the data anomaly variance of various data transmission terminal types. The objective of the invention is to improve the accuracy of data transmission quality evaluation and provide data support for data transmission terminal selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission quality assessment, and specifically to a method, system, device and medium for assessing the transmission quality of Internet of Vehicles data. Background Art

[0002] At present, the Internet of Vehicles technology is developing rapidly. Internet of Vehicles devices usually upload part of the data generated during vehicle operation to the cloud and store it in the data warehouse built by the data platform, so that the data platform can monitor and analyze the vehicle accordingly according to business needs. With the continuous expansion of the scope of data collection and storage scale, how to mine effective data value from these massive data becomes more and more important, and the quality of data transmission between Internet of Vehicles devices and the cloud will directly affect the value of data analysis. Therefore, it is very important to evaluate the quality of Internet of Vehicles data transmission. At present, most of the anomaly detection methods for data transmission quality are based on statistics, mainly including deviation-based methods, methods based on the distribution of specified recommended score values, distance-based methods, and density-based methods. However, these types of methods require the distribution of data to be known in advance, which is not applicable to time series data. If they are directly applied to time series data, the effect will not be ideal, and the accuracy of identifying abnormal data is low. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a method, system, device and medium for evaluating the transmission quality of Internet of Vehicles data, aiming to improve the accuracy of evaluating the data transmission quality and provide data support for the selection of data transmission terminals.

[0004] A first aspect of an embodiment of the present application provides a method for evaluating the transmission quality of Internet of Vehicles data, the method comprising:

[0005] Classify the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle to obtain a target data set corresponding to the data transmission terminal type;

[0006] By analyzing and processing the Internet of Vehicles data of a single vehicle in the target data set, outliers of the Internet of Vehicles data of the single vehicle in each outlier dimension are determined;

[0007] Determine the data quality outlier value of the single vehicle according to the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension;

[0008] Determine the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set according to the data quality anomaly value of each vehicle in the target data set;

[0009] The optimal data transmission terminal type is determined based on the data anomaly mean and data anomaly variance of various data transmission terminal types.

[0010] Optionally, the outlier values ​​of the Internet of Vehicles data of a single vehicle in the target data set in each abnormal dimension are determined by analyzing and processing the Internet of Vehicles data of the single vehicle, including:

[0011] By performing target abnormality dimension analysis on each piece of data in the Internet of Vehicles data of the single vehicle, determining whether each piece of data is abnormal data under the target abnormality dimension, wherein the target abnormality dimension includes an accuracy abnormality dimension, a completeness abnormality dimension, and a timeliness abnormality dimension;

[0012] According to the total number of Internet of Vehicles data of the single vehicle and the number of abnormal data under the target abnormal dimension, the abnormal value of the single vehicle under the target abnormal dimension is determined.

[0013] Optionally, when the target abnormal dimension is the accuracy abnormal dimension, by performing analysis and processing of the target abnormal dimension on each piece of Internet of Vehicles data of the single vehicle, determining whether each piece of Internet of Vehicles data is abnormal data under the target abnormal dimension includes:

[0014] Input each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model for processing, and obtain a reconstruction error of each piece of data;

[0015] According to the relationship between the reconstruction error of the data and the set threshold, it is determined whether the data is abnormal data under the accuracy abnormality dimension.

[0016] Optionally, each piece of data in the Internet of Vehicles data of a single vehicle in the target data set is input into the variational autoencoder model for processing to obtain a reconstruction error of each piece of data, including:

[0017] Input each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model, and extract the latent variable distribution parameters of the input data through the encoder of the variational autoencoder model;

[0018] Processing the latent variable distribution parameters through the random noise layer of the variational autoencoder model to obtain latent space distribution parameters;

[0019] Reconstructing the latent space distribution parameters through the decoder of the variational autoencoder model to obtain target data;

[0020] A reconstruction error of the input data is determined according to the input data and the target data.

[0021] Optionally, before inputting each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model for processing and obtaining the reconstruction error of each piece of data, the method further includes:

[0022] The constructed initial variational autoencoder model is trained through the training sample set;

[0023] Determining a training result of the initial variational autoencoder model by a target loss function, wherein the target loss function includes a reconstruction loss and a divergence loss;

[0024] When the training result meets the set conditions, the variational autoencoder model that has passed the training is obtained.

[0025] Optionally, determining the data quality outlier value of the single vehicle according to the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension includes:

[0026] Determine the weight of each abnormal dimension through a combination algorithm;

[0027] Multiply the outlier values ​​of each outlier dimension by their corresponding weights to obtain the target outlier values ​​of each outlier dimension;

[0028] The target outlier values ​​of each outlier dimension are added together to obtain the data quality outlier value of the single vehicle.

[0029] Optionally, determining the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set according to the data quality anomaly value of each vehicle in the target data set includes:

[0030] Performing kernel density estimation on the data quality outliers of each vehicle in the target data set by using a first kernel density estimation algorithm to obtain probability density values ​​of the data quality outliers of each vehicle;

[0031] Determining a bandwidth correction coefficient for kernel density estimation according to the probability density value;

[0032] The bandwidth correction coefficient and the first kernel density estimation algorithm are used to estimate the mean and variance of the data quality anomaly values ​​of each vehicle in the target data set, so as to obtain the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set.

[0033] Optionally, the Internet of Vehicles data of each vehicle is classified based on the data transmission terminal type of the vehicle to obtain a target data set corresponding to the data transmission terminal type, including:

[0034] According to the business demand, extract first data related to the business demand from the Internet of Vehicles data of each vehicle;

[0035] Classifying the first data of each vehicle based on the data transmission terminal type of the vehicle to obtain a first data set corresponding to the data transmission terminal type;

[0036] According to a preset extraction rule, extracting a preset number of first data from the first data set to form a corresponding second data set;

[0037] The corresponding target data set is obtained by performing short-term sampling on each first data in the second data set.

[0038] A second aspect of an embodiment of the present application provides a system for evaluating transmission quality of Internet of Vehicles data, characterized in that the system comprises:

[0039] A classification module, used to classify the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle, and obtain a target data set corresponding to the data transmission terminal type;

[0040] An analysis and processing module, configured to determine abnormal values ​​of the Internet of Vehicles data of a single vehicle in each abnormal dimension by analyzing and processing the Internet of Vehicles data of the single vehicle in the target data set;

[0041] A first calculation module, used for determining the data quality outlier value of the single vehicle according to the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension;

[0042] A second calculation module is used to determine the data anomaly average and data anomaly variance of the data transmission terminal type corresponding to the target data set according to the data quality anomaly value of each vehicle in the target data set;

[0043] The optimal data transmission terminal type determination module is used to determine the optimal data transmission terminal type according to the data anomaly average values ​​and data anomaly variances of various data transmission terminal types.

[0044] A third aspect of an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, it implements the steps in a method for evaluating the transmission quality of Internet of Vehicles data as described in the first aspect of the present application.

[0045] The fourth aspect of an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the method for evaluating the transmission quality of Internet of Vehicles data as described in the first aspect of the present application are implemented.

[0046] The transmission quality assessment method of Internet of Vehicles data provided by this application has the following advantages:

[0047] An embodiment of the present application provides a method for evaluating the transmission quality of Internet of Vehicles data. The method classifies the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle to obtain a target data set corresponding to the data transmission terminal type; determines the outlier values ​​of the Internet of Vehicles data of the single vehicle in each outlier dimension by analyzing and processing the Internet of Vehicles data of the single vehicle in the target data set; determines the data quality outlier values ​​of the single vehicle based on the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension; determines the data outlier mean value and data outlier variance of the data transmission terminal type corresponding to the target data set based on the data quality outlier values ​​of each vehicle in the target data set; and determines the optimal data transmission terminal type based on the data outlier mean values ​​and data outlier variances of various data transmission terminal types. Therefore, the present application performs evaluation and calculation of multiple abnormal dimensions for the Internet of Vehicles data of a single vehicle, and determines the abnormal value of the data transmission quality of the Internet of Vehicles data of a single vehicle based on the calculation results of different abnormal dimensions and the weights of different abnormal dimensions, thereby making the evaluation of the data transmission quality of a single vehicle more accurate; at the same time, the evaluation of the data transmission quality of the same data transmission terminal type is calculated and determined using the data transmission quality evaluation results of a large number of vehicles using the same data transmission terminal type, and then the data transmission quality evaluation results of various data transmission terminal types are compared to determine a data transmission terminal type with the best data transmission quality, thereby providing data support for the selection of the best data transmission terminal type. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0049] Figure 1 A flow chart of a method for evaluating the transmission quality of Internet of Vehicles data shown in one embodiment of the present application;

[0050] Figure 2 A processing flow chart of a variational autoencoder model in a method for evaluating transmission quality of Internet of Vehicles data shown in one embodiment of the present application;

[0051] Figure 3 A flowchart of a calculation process of probability density estimation in a method for evaluating transmission quality of Internet of Vehicles data shown in one embodiment of the present application;

[0052] Figure 4 Another flow chart of a method for evaluating the transmission quality of Internet of Vehicles data shown in one embodiment of the present application;

[0053] Figure 5 A schematic diagram of a system for evaluating the transmission quality of Internet of Vehicles data according to an embodiment of the present application. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0055] refer to Figure 1 , Figure 1 This is a schematic diagram of a method for evaluating the transmission quality of Internet of Vehicles data according to an embodiment of the present application. Figure 1 As shown, the present application provides a method for evaluating the transmission quality of Internet of Vehicles data, including:

[0056] Step S1: Classify the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle to obtain a target data set corresponding to the data transmission terminal type.

[0057] In this embodiment, the Internet of Vehicles data is various vehicle information data transmitted to the information network platform by the vehicle-mounted data transmission terminal through wireless communication technology, and the various vehicle information data include but are not limited to CAN data, buried point data and TLV data (data in TLV (Type-Length-Value) format), etc. The Internet of Vehicles data of each vehicle is collected to obtain a large number of vehicle Internet of Vehicles data, and then the Internet of Vehicles data of all vehicles collected are classified according to the type of data transmission terminal carried by the vehicle, and the Internet of Vehicles data of all vehicles equipped with the same type of data transmission terminal are divided into the same category to form a target data set corresponding to the same data transmission terminal type. Among them, the Internet of Vehicles data of a vehicle includes multiple data types and a large amount of data content. The Internet of Vehicles data in the target data set will be stored according to different vehicles. When the Internet of Vehicles data in the target data set is processed, all the data content included in the Internet of Vehicles data of a single vehicle can be obtained in a targeted manner.

[0058] For example, the Internet of Vehicles data of vehicles A1 to A500 are collected, and the Internet of Vehicles data of vehicle Ai is represented by Bi, where i ranges from 1 to 500. The data transmission terminal type carried by vehicles A1 to A200 is type X, the data transmission terminal type carried by vehicles A201 to A300 is type Y, and the data transmission terminal type carried by vehicles A301 to A500 is type Z. The Internet of Vehicles data of each vehicle is classified based on the type of data transmission terminal carried by the vehicle, and a target data set corresponding to the data transmission terminal type X composed of Internet of Vehicles data B1 to B200 of vehicles A1 to A200 will be formed, and a target data set corresponding to the data transmission terminal type Y will be formed, and a target data set corresponding to the data transmission terminal type Z will be formed, composed of Internet of Vehicles data B201 to B300 of vehicles A201 to A300.

[0059] Step S2: analyzing and processing the Internet of Vehicles data of a single vehicle in the target data set to determine the outlier values ​​of the Internet of Vehicles data of the single vehicle in each outlier dimension.

[0060] In this embodiment, through step S1, for each type of data transmission terminal, a corresponding target data set is obtained through classification processing of the Internet of Vehicles data. The implementation method for determining the data quality abnormal value of any vehicle in any target data set is the same. Here, the determination of the data quality abnormal value of a vehicle is used as an example for explanation. Specifically: by analyzing and processing the Internet of Vehicles data of a single vehicle in the target data set in multiple abnormal dimensions, the abnormal value of the single vehicle under each abnormal dimension is obtained. Among them, the multiple abnormal dimensions at least include accuracy abnormality dimension, integrity abnormality dimension, and timeliness abnormality dimension. The accuracy abnormality dimension refers to the deviation abnormality between the Internet of Vehicles data of the vehicle and the true value of the objective entity, the integrity abnormality dimension refers to the missing abnormality of the Internet of Vehicles data of the vehicle, and the timeliness abnormality dimension refers to the timeliness abnormality of the collection of the Internet of Vehicles data of the vehicle. For example, if the deviation between the Internet of Vehicles data of the vehicle and the true value of the objective entity exceeds a certain value, it is determined that there is an accuracy abnormality; if there is data missing in the Internet of Vehicles data of the vehicle, it is determined that there is an integrity abnormality, and the data missing includes the missing record of the entire data and the missing information of a certain field in the data; if the time interval of the Internet of Vehicles data collection of the vehicle is greater than the specified collection time interval, it is determined that there is a timeliness abnormality.

[0061] In this embodiment, the Internet of Vehicles data based on a single vehicle includes multiple types and a large amount of data content. When the Internet of Vehicles data of a single vehicle in the target data set is analyzed and processed in multiple abnormal dimensions to determine the abnormal values ​​of the Internet of Vehicles data of the single vehicle in each abnormal dimension, the more abnormal data items in the Internet of Vehicles data of the single vehicle under the corresponding abnormal dimension, the larger the abnormal value under the abnormal dimension is determined. Based on the same implementation method, the Internet of Vehicles data of any vehicle in any target data set can determine the abnormal values ​​of the Internet of Vehicles data of any vehicle under each abnormal dimension.

[0062] Step S3: Determine the data quality outlier value of the single vehicle according to the outlier value of each outlier dimension and the weight corresponding to each outlier dimension.

[0063] In this embodiment, the application sets corresponding weights for the importance of each abnormal dimension. After determining the abnormal values ​​of the Internet of Vehicles data of each vehicle in all target data sets under each abnormal dimension through step S2, the abnormal values ​​of the Internet of Vehicles data of the same vehicle under each abnormal dimension are weighted and summed with their corresponding weights to obtain the data quality abnormal value of the Internet of Vehicles data of the same vehicle. The data quality abnormal value represents the transmission quality of the vehicle's Internet of Vehicles data transmitted to the cloud. The larger the value, the worse the transmission quality. Based on the same implementation method, the data quality abnormal value of the Internet of Vehicles data of any vehicle in any target data set can be determined.

[0064] Step S4: According to the data quality abnormal value of each vehicle in the target data set, determine the data abnormality average value and data abnormality variance of the data transmission terminal type corresponding to the target data set.

[0065] In this embodiment, after the data quality anomaly value of the Internet of Vehicles data of each vehicle in all target data sets is calculated by step S3, the data quality anomaly value of all vehicles in the same target data set is calculated to obtain the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the same target data set. Based on the same implementation method, a corresponding data anomaly mean value and a data anomaly variance will be calculated for each target data set, and the target data set corresponds to the data transmission terminal type, that is, a corresponding data anomaly mean value and a data anomaly variance will be calculated for each data transmission terminal type.

[0066] Step S5: Determine the best data transmission terminal type according to the data anomaly average values ​​and data anomaly variances of various data transmission terminal types.

[0067] In this embodiment, after calculating a corresponding data anomaly mean value and a data anomaly variance for each data transmission terminal type in step S4, the data anomaly mean value and data anomaly variance corresponding to each data transmission terminal type are calculated respectively by a preset algorithm to obtain the coefficient of variation corresponding to each data transmission terminal type. The expression of the preset algorithm is: Among them, C is the coefficient of variation corresponding to the data transmission terminal type, D ∧ is the data anomaly variance corresponding to the data transmission terminal type, E ∧ is the data anomaly average value corresponding to the data transmission terminal type. The best data transmission terminal type is determined by comparing the data anomaly average value and the coefficient of variation obtained for each data transmission terminal type. When the data anomaly average value corresponding to one data transmission terminal type is greater than the data anomaly average value corresponding to another data transmission terminal type, it is determined that the average performance of the data transmission quality of the one data transmission terminal type is worse than the average performance of the data transmission quality of the other data transmission terminal type; when the coefficient of variation corresponding to one data transmission terminal type is greater than the coefficient of variation corresponding to another data transmission terminal type, it is determined that the abnormal fluctuation degree of the data transmission quality of the one data transmission terminal type is greater than the abnormal fluctuation degree of the data transmission quality of the other data transmission terminal type. That is, when determining the best data transmission terminal type for vehicle network data transmission, select the data transmission terminal type corresponding to a smaller data anomaly average value and a smaller fluctuation coefficient.

[0068] An embodiment of the present application provides a method for evaluating the transmission quality of Internet of Vehicles data. The method classifies the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle to obtain a target data set corresponding to the data transmission terminal type; determines the outlier values ​​of the Internet of Vehicles data of the single vehicle in each outlier dimension by analyzing and processing the Internet of Vehicles data of the single vehicle in the target data set; determines the data quality outlier values ​​of the single vehicle based on the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension; determines the data outlier mean value and data outlier variance of the data transmission terminal type corresponding to the target data set based on the data quality outlier values ​​of each vehicle in the target data set; and determines the optimal data transmission terminal type based on the data outlier mean values ​​and data outlier variances of various data transmission terminal types. Therefore, the present application performs evaluation and calculation of multiple abnormal dimensions for the Internet of Vehicles data of a single vehicle, and determines the abnormal value of the data transmission quality of the Internet of Vehicles data of a single vehicle based on the calculation results of different abnormal dimensions and the weights of different abnormal dimensions, thereby making the evaluation of the data transmission quality of a single vehicle more accurate; at the same time, the evaluation of the data transmission quality of the same data transmission terminal type is calculated and determined using the data transmission quality evaluation results of a large number of vehicles using the same data transmission terminal type, and then the data transmission quality evaluation results of various data transmission terminal types are compared to determine a data transmission terminal type with the best data transmission quality, thereby providing data support for the selection of the best data transmission terminal type and improving the reliability of improving the overall data quality from the perspective of the data generation source.

[0069] In combination with the above embodiments, in one implementation, the embodiment of the present application further provides a method for evaluating the transmission quality of Internet of Vehicles data. In the method for evaluating the transmission quality of Internet of Vehicles data, step S1 may include steps S11 to S14:

[0070] Step S11: extracting first data related to the business demand from the Internet of Vehicles data of each vehicle according to the business demand.

[0071] In this embodiment, since the Internet of Vehicles data uploaded by the vehicle end to the cloud includes multiple data types and a large amount of data content, in order to improve the evaluation efficiency of data transmission quality, this application extracts part of the collected Internet of Vehicles data of the vehicle for subsequent data transmission quality evaluation. This application finds that although the Internet of Vehicles data uploaded by the vehicle end to the cloud includes multiple data types and a large amount of data content, not all data content transmission quality will affect the subsequent cloud-based analysis and processing of the received data. Therefore, this application first determines which data types will be affected by the data transmission quality when the cloud performs data analysis, and creates corresponding business requirements for these data types. The business requirements record these data types. When extracting the Internet of Vehicles data of the vehicle, based on the created business requirements, extract the data related to these data types in the Internet of Vehicles data, and the extracted data is the first data of the vehicle. The first data related to the created business requirements are extracted for the Internet of Vehicles data of each vehicle in the same implementation method. Among them, the business requirements created for all vehicles are the same, that is, when extracting the Internet of Vehicles data for each vehicle, the same data types are extracted.

[0072] Step S12: Classifying the first data of each vehicle based on the data transmission terminal type of the vehicle to obtain a first data set corresponding to the data transmission terminal type.

[0073] In this embodiment, after the first data related to the business needs are extracted from the Internet of Vehicles data of each vehicle in step S11, the first data of all vehicles are classified according to the data transmission terminal type carried by the vehicle, and the first data of all vehicles carrying the same data transmission terminal type are classified into the same category to form a first data set corresponding to the same data transmission terminal type. Thus, a corresponding first data set will be obtained for each data transmission terminal type.

[0074] Step S13: according to a preset extraction rule, extract a preset number of first data from the first data set to form a corresponding second data set.

[0075] In this embodiment, since the amount of data in the first data sets of different data transmission terminal types may be different when collecting data, and the first data set of one data transmission terminal type may involve the first data of multiple car series, in order to avoid the influence of other irrelevant variables when subsequently determining the data anomaly mean and data anomaly variance of various data transmission terminal types, the present application further extracts the first data set corresponding to each data transmission terminal type.

[0076] Specifically: according to the preset extraction rule, the same preset number of first data is extracted from the first data set of each type of data transmission terminal to form the corresponding second data set. First, it is determined that each first data set extracts a preset number of first data to form the corresponding second data set. The preset extraction rule means: in the extraction process, for any first data set, the proportion of the amount of first data corresponding to any car series in the first data set to the total amount of first data in the first data set is determined, and the corresponding number is obtained by multiplying the ratio by the preset number, and then the first data corresponding to the car series of the number is extracted from the first data set, and the number of first data to be extracted for each car series in the first data set is determined in this way, and then the second data set corresponding to the first data set is formed based on all the extracted first data. For each first data set, the corresponding second data set is obtained by the same extraction method. Among them, the preset number can be set according to the actual application scenario, and is not specifically limited here, such as 200, 500, etc., which is not specifically limited here.

[0077] For example, a first data set P includes first data C1 to C200, assuming that the preset number is 40, wherein the first data C1 to C50 are sent to the cloud by 50 vehicles of vehicle series a, the first data C51 to C100 are sent to the cloud by 50 vehicles of vehicle series b, and the first data C101 to C200 are sent to the cloud by 100 vehicles of vehicle series c. First, it is determined that 40 first data are to be extracted from the first data set P to form the corresponding second data set. The number of first data of vehicle series a is 50, accounting for 1 / 4 of the total number of first data of the first data set P (200); the number of first data of vehicle series b is 50, accounting for 1 / 4 of the total number of first data of the first data set P (200); the number of first data of vehicle series c is 100, accounting for 1 / 2 of the total number of first data of the first data set P (200). Therefore, it is determined that 10 first data are randomly selected from the first data C1 to C50 of the vehicle series a, 10 first data are randomly selected from the first data C51 to C100 of the vehicle series b, and 20 first data are randomly selected from the first data C101 to C100 of the vehicle series c. A total of 40 first data are selected to form the second data set corresponding to the first data set P.

[0078] Step S14: Obtain a corresponding target data set by performing short-term sampling on each first data in the second data set.

[0079] In this embodiment, after determining the second data sets corresponding to various data transmission terminal types through step S13, a short-term data extraction of a second preset time length is performed for each first data in the second data set after each interval of the first preset time length, and the data obtained after the short-term data sampling constitutes the target data set corresponding to the second data set, and the data recorded in the target data set are all data sent to the cloud by the data transmission terminal type corresponding to the second data set. It should be understood that the data obtained by short-term sampling of the first data in the target data set obtained in this embodiment is also the Internet of Vehicles data corresponding to the vehicle, but the initial large amount of Internet of Vehicles data is partially extracted to form a smaller amount of Internet of Vehicles data.

[0080] For example, for each first data in the second data set that is 24 hours of data sent by the vehicle, 1 hour of data is extracted from the first data every 2 hours, so that for each first data including 24 hours of data, 8 hours of data will be extracted from the first data.

[0081] In combination with the above embodiments, in one implementation, the embodiment of the present application further provides a method for evaluating the transmission quality of Internet of Vehicles data. In the method for evaluating the transmission quality of Internet of Vehicles data, step S2 may include steps S21 to S22:

[0082] Step S21: by analyzing and processing each piece of data in the Internet of Vehicles data of the single vehicle according to the target abnormality dimension, it is determined whether each piece of data is abnormal data under the target abnormality dimension, and the target abnormality dimension includes the accuracy abnormality dimension, the completeness abnormality dimension, and the timeliness abnormality dimension.

[0083] In this embodiment, each piece of data in the Internet of Vehicles data of a single vehicle is analyzed and processed under the target abnormal dimension to determine whether each piece of data is abnormal data under the target abnormal dimension. The target abnormal dimension includes at least the accuracy abnormal dimension, the integrity abnormal dimension, and the timeliness abnormal dimension.

[0084] In this embodiment, when the target abnormal dimension is the accuracy abnormal dimension, each piece of data in the Internet of Vehicles data of a single vehicle is analyzed and processed under the accuracy abnormal dimension to determine whether the collected value or observed value of each piece of data exceeds the set range of the objective entity true value. If the collected value or observed value of a piece of data exceeds the set range of the objective entity true value, the data is determined to be abnormal data under the accuracy abnormal dimension.

[0085] In this embodiment, when the target abnormal dimension is the integrity abnormal dimension, each piece of data in the Internet of Vehicles data of a single vehicle is analyzed and processed under the integrity abnormal dimension to determine whether each piece of data has missing data content. If a certain field information of a piece of data is missing, the piece of data is determined to be abnormal data under the integrity abnormal dimension. In the actual application process, it is manifested that a field that should be a non-null value in a piece of data is actually a null value, and the field information of the piece of data is determined. If a piece of data that should be received at a certain moment is not received, the piece of data at that moment is determined to be missing data, and the piece of data that has not been received is determined to be abnormal data under the integrity abnormal dimension.

[0086] In this embodiment, when the target abnormal dimension is the timeliness abnormal dimension, each piece of data in the Internet of Vehicles data of a single vehicle is analyzed and processed under the timeliness abnormal dimension to determine whether the time interval for data collection is greater than the specified time interval for each piece of data. If the time interval for collecting data at two adjacent moments is greater than the specified interval for collecting this type of signal, the two pieces of data are determined to be abnormal data under the delay abnormal dimension.

[0087] Step S22: Determine the abnormal value of the single vehicle under the target abnormal dimension according to the total number of Internet of Vehicles data of the single vehicle and the number of abnormal data under the target abnormal dimension.

[0088] In this embodiment, after determining each abnormal data under the target abnormal dimension in the Internet of Vehicles data of a single vehicle, the number of abnormal data under the target abnormal dimension is determined, and then the ratio of the number of abnormal data under the target abnormal dimension of the single vehicle to the total number of Internet of Vehicles data of the single vehicle is determined as the abnormal value of the Internet of Vehicles data of the single vehicle under the target abnormal dimension.

[0089] In this embodiment, when the target abnormal dimension is the accuracy abnormal dimension, the ratio of the number of abnormal data under the accuracy abnormal dimension of the single vehicle to the total number of Internet of Vehicles data of the single vehicle is determined as the abnormal value of the Internet of Vehicles data of the single vehicle under the accuracy abnormal dimension.

[0090] In this embodiment, when the target abnormal dimension is the integrity abnormal dimension, the ratio of the number of abnormal data under the integrity abnormal dimension of the single vehicle to the total number of Internet of Vehicles data of the single vehicle and the number of corresponding data that were not received at the corresponding time is determined as the abnormal value of the Internet of Vehicles data of the single vehicle under the integrity abnormal dimension. For example, the number of abnormal data under the integrity abnormal dimension of a single vehicle is 30, of which 3 are cases where data should be received but not received at three corresponding times, and the total number of Internet of Vehicles data of the single vehicle is 100. Therefore, the abnormal value under the corresponding integrity abnormal dimension is 30 / (100+3), because the total number of Internet of Vehicles data of a single vehicle should actually take into account the number of data that were not received to be the actual total number of Internet of Vehicles data of the single vehicle.

[0091] In this embodiment, when the target anomaly dimension is the timeliness anomaly dimension, the ratio of the number of abnormal data under the timeliness anomaly dimension of the single vehicle to the total number of Internet of Vehicles data of the single vehicle is determined as the anomaly value of the Internet of Vehicles data of the single vehicle under the timeliness anomaly dimension.

[0092] In combination with the above embodiments, in one implementation, the embodiment of the present application further provides a method for evaluating the transmission quality of Internet of Vehicles data. In the method for evaluating the transmission quality of Internet of Vehicles data, when the target abnormal dimension is the accuracy abnormal dimension, step S21 may include steps S211 to S212:

[0093] Step S211: input each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model for processing to obtain a reconstruction error of each piece of data.

[0094] In this embodiment, most of the current anomaly detection methods are based on statistics, mainly including deviation-based methods, methods based on the distribution of specified recommended score values, distance-based methods, and density-based methods, etc. However, these types of methods require prior knowledge of the distribution of data, which is not applicable to time series data. If directly applied to time series data, the effect will be less than ideal, and the accuracy of identifying abnormal data is low. In order to improve the accuracy of abnormal data identification, this application uses a variational autoencoder model to evaluate the accuracy of Internet of Vehicles data in the dimension of abnormality. Specifically, by inputting each piece of data in the vehicle's Internet of Vehicles data into the variational autoencoder model for processing, the reconstruction error of each piece of data is obtained. Among them, the calculation formula for the reconstruction error is Where x is the data input into the variational autoencoder model, This is the output of the variational autoencoder model.

[0095] Step S212: Determine whether the data is abnormal data under the accuracy abnormality dimension based on the relationship between the reconstruction error of the data and the set threshold.

[0096] In this embodiment, the reconstruction error of each piece of data is compared with a set threshold value. When the reconstruction error of the data exceeds the set threshold value, the data is determined to be abnormal data under the accuracy abnormality dimension.

[0097] In combination with the above embodiments, in one implementation, the embodiment of the present application further provides a method for evaluating the transmission quality of Internet of Vehicles data. In the method for evaluating the transmission quality of Internet of Vehicles data, step S211 may include steps S2111 to S2114:

[0098] Step S2111: input each data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model respectively, and extract the latent variable distribution parameters of the input data through the encoder of the variational autoencoder model.

[0099] In this embodiment, if Figure 2 As shown, Figure 2 The present invention is a flowchart of a variational autoencoder model in a method for evaluating the transmission quality of Internet of Vehicles data shown in an embodiment of the present invention. First, each piece of data in the Internet of Vehicles data of the vehicle is input into the variational autoencoder model. For each piece of data input into the variational autoencoder model, the variational autoencoder model is used to process the data through the m1 neural network processing layers l1 to l2 contained in the encoder. An input data is mapped from multi-dimensional to multi-layer low-dimensional representation in latent space to obtain the latent variable distribution parameters μ and σ, which represent the mean and variance of the latent variable distribution respectively.

[0100] Step S2112: Processing the latent variable distribution parameters through the random noise layer of the variational autoencoder model to obtain latent space distribution parameters.

[0101] In this embodiment, in order to effectively cover the distorted area, the random noise layer introduced in the variational autoencoder model of the present application processes the latent variable distribution parameters obtained by the encoder processing of the variational autoencoder model by introducing random noise ε∈(0,1) in the random noise layer to obtain the latent space distribution parameter z=μ+exp(σ)×ε.

[0102] Step S2113: reconstruct the latent space distribution parameters through the decoder of the variational autoencoder model to obtain target data.

[0103] In this embodiment, after obtaining the latent space distribution parameter z=μ+exp(σ)×ε through random noise layer processing, the m2 neural network processing layers included in the decoder of the variational autoencoder model are used. to The latent space distribution parameter z = μ +

[0104] exp(σ)×ε is reconstructed into target data

[0105] Step S2114: Determine the reconstruction error of the input data based on the input data and the target data.

[0106] In this embodiment, after determining the target data to be reconstructed into the data of the input variational autoencoder model, the calculation formula of the reconstruction error is Calculate the reconstruction error of the data input to the variational autoencoder model. Where x is the data input to the variational autoencoder model, This is the output of the variational autoencoder model.

[0107] In combination with the above embodiments, in one implementation, the embodiment of the present application also provides a method for evaluating the transmission quality of Internet of Vehicles data. In the method for evaluating the transmission quality of Internet of Vehicles data, before step S211, the method further includes: training the constructed initial variational autoencoder model through a training sample set; determining the training result of the initial variational autoencoder model through a target loss function, wherein the target loss function includes a reconstruction loss and a divergence loss; and obtaining the variational autoencoder model that has passed the training when the training result meets the set conditions.

[0108] In this embodiment, before processing each piece of data in the Internet of Vehicles data of a single vehicle by the trained variational autoencoder model in step S211, an initial variational autoencoder model is first constructed for training to obtain a trained variational autoencoder model for processing each piece of data in the Internet of Vehicles data of a single vehicle. Specifically: firstly, an initial variational autoencoder model is constructed, and a target loss function for evaluating the training result of the initial variational autoencoder model is constructed, and the target loss function includes a reconstruction loss function L R , refers to the original data x input to the variational autoencoder model and the reconstructed data The purpose is to minimize the reconstruction error so that the variational autoencoder model can better restore the input data. The square error is used for calculation: And including the divergence loss function L KL , which is a regularization term used to constrain the difference between the encoded data distribution and a prior distribution. The purpose is to make the encoded data distribution closer to the preset prior distribution to reduce the risk of overfitting. The expression is: Where n is the number of data samples, μ i and σ iare the mean and variance of the latent variable distribution parameters of the i-th training sample in the latent space. Finally, the reconstruction loss function L R And the divergence loss function L KL Perform weighted summation to obtain the target loss function, expressed as: w R L R +w KL L KL Among them, for the weights of each loss function in the target loss function, the optimal weight coefficient w is determined by using the cross-validation method. R and w KL , to obtain better model performance. After constructing the initial variational autoencoder model and the target loss function, the initial variational autoencoder model is trained with the correct training sample set of the Internet of Vehicles data. After training, the training result of the trained initial variational autoencoder model is evaluated by the target loss function. When the value of the target loss function obtained does not meet the set condition for qualified training, the initial variational autoencoder model is continued to be trained until the value of the target loss function obtained by evaluating the training result of the trained initial variational autoencoder model by the target loss function meets the set condition for qualified training. At this time, the trained initial variational autoencoder model is determined as the trained variational autoencoder model. Among them, the setting condition can be set according to the actual scenario, and no specific limitation is made here. For example, it is set to a set threshold of 5 or 10, and the training is determined to be qualified when the value of the target loss function is lower than 5, or the training is determined to be qualified when the value of the target loss function is lower than 10.

[0109] In combination with the above embodiments, in one implementation, the embodiment of the present application further provides a method for evaluating the transmission quality of Internet of Vehicles data. In the method for evaluating the transmission quality of Internet of Vehicles data, step S3 may include steps S31 to S33:

[0110] Step S31: Determine the weight of each abnormal dimension through a combination algorithm.

[0111] In this embodiment, in order to better reflect the true characteristics of the data and improve the weight performance of each abnormal dimension, this application adopts a combination algorithm of the entropy method and the expert scoring method to determine the weight of each abnormal dimension. The expert scoring method is that experts give weights after qualitative analysis based on actual business needs, which can better reflect the experience of experts on different indicators. The entropy method calculates weights based on the amount of information carried by the data, and judges the impact of the abnormal dimension on the overall abnormal evaluation based on the degree of discreteness of the data under the corresponding abnormal dimension. The weights of each abnormal dimension are calculated by the expression of the following combined algorithm, and the expression is: Among them, w i is the weight of the i-th abnormal dimension, w aiis the expert scoring weight of the i-th abnormal dimension, w bi is the entropy weight of the i-th abnormal dimension, and i takes values ​​of 1, 2, and 3.

[0112] Step S32: multiply the outlier values ​​of each outlier dimension by their corresponding weights to obtain the target outlier values ​​of each outlier dimension.

[0113] In this embodiment, after the weights of each abnormal dimension are determined in step S31, the abnormal values ​​of each abnormal dimension of the vehicle are multiplied by their corresponding weights to obtain the target abnormal values ​​corresponding to each abnormal dimension of the vehicle.

[0114] Step S33: Add the target outlier values ​​of each outlier dimension to obtain the data quality outlier value of the single vehicle.

[0115] In this embodiment, after the target abnormal value of the vehicle in each abnormal dimension is determined by step S32, the target abnormal value of the vehicle in each abnormal dimension is added to obtain the data quality abnormal value of the vehicle. The specific expression for calculating the data quality abnormal value is: p=w1p1+w2p2+w3p3, where p is the data quality abnormal value of a single vehicle, p1 is the abnormal value under the accuracy abnormal dimension of a single vehicle, p2 is the abnormal value under the integrity abnormal dimension of a single vehicle, and p3 is the abnormal value under the timeliness abnormal dimension of a single vehicle. Through the same implementation method, a corresponding data quality abnormal value can be determined for each vehicle.

[0116] In combination with the above embodiments, in one implementation, the embodiment of the present application further provides a method for evaluating the transmission quality of Internet of Vehicles data. In the method for evaluating the transmission quality of Internet of Vehicles data, step S4 may include steps S41 to S43:

[0117] Step S41: performing kernel density estimation on the data quality outliers of each vehicle in the target data set by using a first kernel density estimation algorithm to obtain a probability density value of the data quality outliers of each vehicle.

[0118] In this embodiment, the overall data transmission quality of a vehicle cluster in a target data set is reflected by the data transmission quality of each vehicle in the target data set. Statistically speaking, simply averaging the data quality outliers of all vehicles in a target data set cannot be used as a summary of the data transmission quality of the target data set. The distribution of the data transmission quality samples of all vehicles in the target data set contains most of the overall information, and can comprehensively and objectively reflect the differences between different target data sets. Therefore, the present application determines the estimation of the distribution of data quality outliers of all vehicles in a target data set as a measure of the data transmission quality of the target data set. Combined with the actual situation that the distribution of data quality outliers of all vehicles in the target data set is unknown, the Gaussian kernel probability density estimation can handle data distributions of any shape, has strong flexibility and adaptability, and is a well-performing distribution estimation method. Therefore, the present application uses Gaussian probability density estimation to perform probability density estimation on the distribution of data quality outliers of all vehicles in the target data set.

[0119] At the same time, the bandwidth h is involved in the Gaussian probability density estimation algorithm. Its value is greater than zero and is a free parameter, which is a key factor affecting the accuracy of the probability density estimation. The size of the bandwidth determines the smoothness of the kernel density estimation function. The larger the bandwidth, the smoother it is. A larger bandwidth can make the hot spot area more obvious at the global scale, but too large a bandwidth will cover up most of the basic structure of the data, and the deviation from the actual probability density curve is large. A smaller bandwidth can make more high-value or low-value areas appear in the results of the density distribution, which is suitable for revealing the local characteristics of the density distribution, and the deviation from the actual probability density curve is small. In practical applications, the data is more random and unevenly distributed. The probability density calculated by the kernel density estimation with a fixed bandwidth may differ greatly from the actual distribution. More reasonably, the bandwidth should be positively correlated with the discreteness of the data points. For sparse data point distribution, a larger bandwidth should be used, while for dense data points, a smaller bandwidth should be considered. In this application, for the data quality outliers of the vehicle, its sample point distribution may be locally sparse or locally dense and uneven. In order to better adapt to the distribution characteristics of the sample data itself, this application adopts a non-fixed bandwidth, so that the bandwidth varies according to the different sample positions, which can make the estimation effect more accurate.

[0120] Specifically, Figure 3 As shown, Figure 3 A flowchart of the calculation process of probability density estimation in a method for evaluating the transmission quality of Internet of Vehicles data is shown as an embodiment of the present application. First, a kernel density estimation is performed on the data quality outliers of each vehicle in a single target data set using a first kernel density estimation algorithm to obtain the probability density value of the data quality outliers of each vehicle in the target data set.

[0121] Among them, the expression of the first kernel density estimation algorithm is:

[0122]

[0123] Among them, x i is the data quality outlier of the i-th vehicle in the target data set; h is the bandwidth, which is a fixed value; is the Gaussian kernel function. i : refers to the calculation of the probability density value of the i-th vehicle in the target data set; n is the number of vehicles in the target data set.

[0124] Step S42: Determine a bandwidth correction coefficient for kernel density estimation according to the probability density value.

[0125] In this embodiment, after determining the probability density value corresponding to the data quality abnormal value of each vehicle in a single target data set in step S42, the probability density corresponding to the data quality abnormal value of all vehicles in the target data set is calculated by the corresponding target algorithm to obtain the bandwidth correction coefficient of the kernel density estimation for each vehicle in the target data set. The expression of the target algorithm is:

[0126]

[0127] Wherein, α is the adaptive correction coefficient of bandwidth, preferably 0.5; λ i is the bandwidth correction coefficient corresponding to the i-th vehicle in the target data set.

[0128] Step S43: using the bandwidth correction coefficient and the first kernel density estimation algorithm, the mean and variance of the data quality anomaly values ​​of each vehicle in the target data set are estimated to obtain the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set.

[0129] In this embodiment, after the bandwidth correction coefficient of the kernel density estimation for each vehicle in a single target data set is calculated in step S42, the bandwidth correction coefficient of the kernel density estimation for each vehicle in the target data set is substituted into the first kernel density estimation algorithm to obtain a second kernel density estimation algorithm corresponding to the target data set. The expression of the second kernel density estimation algorithm is:

[0130]

[0131] Among them, h i =λ i h,h i is the bandwidth corresponding to the i-th vehicle in the target data set. iIt refers to calculating the target probability density value of the i-th vehicle in the target data set.

[0132] In this embodiment, after obtaining the second kernel density estimation algorithm corresponding to the target data set, the data anomaly mean value and data anomaly variance of the target data set are calculated by the mean estimation algorithm and the variance estimation algorithm respectively. Since the target data set corresponds to the data transmission terminal type, when the data anomaly mean value and data anomaly variance of the target data set are determined, the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set are correspondingly determined. Among them, the expression of the mean estimation algorithm is: Among them, x ranges from x1 to x n , that is, the target probability density values ​​of all vehicles in a single target data set are calculated to obtain the average value of data anomaly corresponding to the target data set; the expression of the variance estimation algorithm is: Among them, x ranges from x1 to x n , that is, the target probability density values ​​of all vehicles in a single target data set are calculated to obtain the data anomaly variance corresponding to the target data set.

[0133] In this embodiment, after calculating the data anomaly mean and data anomaly variance of the target data set, the formula Determine the coefficient of variation of the target data set. Thus, based on the same implementation as steps S41 to S42 above, the average data anomaly, variance of data anomaly, and coefficient of variation of each target data set can be calculated, and correspondingly, the corresponding average data anomaly, variance of data anomaly, and coefficient of variation of each data transmission terminal type are calculated. Then, the optimal data transmission terminal type is determined based on the average data anomaly and coefficient of variation of each data transmission terminal type.

[0134] In this embodiment, if Figure 4As shown, the present application provides a method for evaluating the transmission quality of Internet of Vehicles data. First, Internet of Vehicles data of a large number of vehicles are received. For each vehicle's Internet of Vehicles data, first data related to business needs are extracted from the vehicle's Internet of Vehicles data based on business needs. After extracting the first data related to the business from each vehicle's Internet of Vehicles data, based on the type of data transmission terminal used by each vehicle, the first data of vehicles using the same type of data transmission terminal are classified into the same category to form a first data set corresponding to the data transmission terminal type. Then, for each first data set, according to a preset extraction rule, a preset number of first data in the first data set are extracted to form a corresponding second data set, thereby determining a corresponding second data set for each first data set. Finally, by performing short-term sampling on each first data in the second data set, a corresponding target data set is obtained, that is, each second data set will be determined to a corresponding target data set. Next, the data transmission quality anomaly identification is performed for the Internet of Vehicles data of a single vehicle in each target data set, including the evaluation of data transmission quality anomaly from the accuracy anomaly dimension, the integrity anomaly dimension, and the timeliness anomaly dimension. The corresponding anomaly value will be obtained for each anomaly dimension, and then the outliers under all anomaly dimensions are weighted and summed to obtain the data quality anomaly value of a single vehicle. The data transmission quality anomaly evaluation for the accuracy anomaly dimension is evaluated using a variational autoencoder model (VAE model). After obtaining the data quality anomaly values ​​of all vehicles, the data quality anomaly values ​​of all vehicles in the same target data set are calculated by Gaussian probability density estimation to determine the data anomaly mean and coefficient of variation of the vehicle cluster corresponding to the single target data set. Finally, for each data transmission terminal type, the optimal data transmission terminal type is determined by the data anomaly mean and coefficient of variation corresponding to the data transmission terminal type.

[0135] Based on the same inventive concept, an embodiment of the present application provides a transmission quality assessment system for Internet of Vehicles data, such as Figure 5 As shown, the system 500 includes:

[0136] A classification module 501 is used to classify the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle, and obtain a target data set corresponding to the data transmission terminal type;

[0137] An analysis and processing module 502 is used to determine the abnormal values ​​of the Internet of Vehicles data of a single vehicle in each abnormal dimension by analyzing and processing the Internet of Vehicles data of the single vehicle in the target data set;

[0138] A first calculation module 503, configured to determine the data quality outlier value of the single vehicle according to the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension;

[0139] A second calculation module 504 is used to determine the data anomaly average and data anomaly variance of the data transmission terminal type corresponding to the target data set according to the data quality anomaly value of each vehicle in the target data set;

[0140] The optimal data transmission terminal type determination module 505 is used to determine the optimal data transmission terminal type according to the data anomaly average values ​​and data anomaly variances of various data transmission terminal types.

[0141] Optionally, the analysis and processing module 502 includes:

[0142] An analysis and processing submodule, configured to determine whether each piece of data is abnormal data under the target abnormal dimension by performing analysis and processing on each piece of data in the Internet of Vehicles data of the single vehicle respectively according to the target abnormal dimension, wherein the target abnormal dimension includes an accuracy abnormal dimension, a completeness abnormal dimension, and a timeliness abnormal dimension;

[0143] The outlier determination module is used to determine the outlier value of the single vehicle under the target outlier dimension according to the total number of Internet of Vehicles data of the single vehicle and the number of outlier data under the target outlier dimension.

[0144] Optionally, the analysis and processing submodule includes:

[0145] The accuracy analysis processing submodule is used to input each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model for processing to obtain the reconstruction error of each piece of data when the target abnormal dimension is the accuracy abnormal dimension;

[0146] The abnormal data determination module is used to determine whether the data is abnormal data under the accuracy abnormality dimension based on the relationship between the reconstruction error of the data and the set threshold.

[0147] Optionally, the accuracy analysis and processing submodule includes:

[0148] A latent variable distribution parameter determination module, used to input each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model, and extract the latent variable distribution parameters of the input data through the encoder of the variational autoencoder model;

[0149] A latent space distribution parameter determination module, used to process the latent variable distribution parameters through the random noise layer of the variational autoencoder model to obtain the latent space distribution parameters;

[0150] A reconstruction processing module, used to reconstruct the latent space distribution parameters through the decoder of the variational autoencoder model to obtain target data;

[0151] The reconstruction error determination module is used to determine the reconstruction error of the input data according to the input data and the target data.

[0152] Optionally, the system 500 further includes:

[0153] A training module, used to train the constructed initial variational autoencoder model through a training sample set;

[0154] A training result determination module, used to determine the training result of the initial variational autoencoder model through a target loss function, wherein the target loss function includes a reconstruction loss and a divergence loss;

[0155] The model determination module is used to obtain the variational autoencoder model that has passed the training when the training result meets the set conditions.

[0156] Optionally, the first calculation module 503 includes:

[0157] A weight determination module, used to determine the weight of each abnormal dimension through a combination algorithm;

[0158] A target outlier value determination module is used to multiply the outlier value of each outlier dimension by its corresponding weight to obtain the target outlier value of each outlier dimension;

[0159] The data quality outlier value determination module is used to add the target outlier values ​​of each outlier dimension to obtain the data quality outlier value of the single vehicle.

[0160] Optionally, the second calculation module 504 includes:

[0161] A probability density value determination module is used to perform kernel density estimation on the data quality abnormal value of each vehicle in the target data set by using a first kernel density estimation algorithm to obtain a probability density value of the data quality abnormal value of each vehicle;

[0162] A bandwidth correction coefficient determination module, used to determine the bandwidth correction coefficient of the kernel density estimation according to the probability density value;

[0163] The second calculation submodule is used to estimate the mean and variance of the data quality anomaly values ​​of each vehicle in the target data set by using the bandwidth correction coefficient and the first kernel density estimation algorithm, and obtain the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set.

[0164] Optionally, the classification module 501 includes:

[0165] A first extraction module, configured to extract first data related to the business demand from the Internet of Vehicles data of each vehicle according to the business demand;

[0166] A classification module, used to classify the first data of each vehicle based on the data transmission terminal type of the vehicle, and obtain a first data set corresponding to the data transmission terminal type;

[0167] A second extraction module, configured to extract a preset number of first data from the first data set to form a corresponding second data set according to a preset extraction rule;

[0168] The sampling module is used to obtain the corresponding target data set by performing short-term sampling on each first data in the second data set.

[0169] Based on the same inventive concept, the third aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, a method for evaluating the transmission quality of Internet of Vehicles data as described in the first aspect of the present application is implemented.

[0170] Based on the same inventive concept, the fourth aspect of an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, a method for evaluating the transmission quality of Internet of Vehicles data as described in the first aspect of the present application is implemented.

[0171] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the system embodiment.

[0172] It should be noted that, for the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0173] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0174] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0175] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0176] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0178] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0179] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0180] The above is a detailed introduction to the transmission quality assessment method, system, device and medium of vehicle network data provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for evaluating the transmission quality of Internet of Vehicles data, characterized in that: The method comprises: Classify the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle to obtain a target data set corresponding to the data transmission terminal type; By analyzing and processing the Internet of Vehicles data of a single vehicle in the target data set, outliers of the Internet of Vehicles data of the single vehicle in each outlier dimension are determined; Determine the data quality outlier value of the single vehicle according to the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension; Determine the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set according to the data quality anomaly value of each vehicle in the target data set; The optimal data transmission terminal type is determined based on the data anomaly mean and data anomaly variance of various data transmission terminal types.

2. The method for evaluating the transmission quality of Internet of Vehicles data according to claim 1, characterized in that: By analyzing and processing the Internet of Vehicles data of a single vehicle in the target data set, outliers of the Internet of Vehicles data of the single vehicle in each outlier dimension are determined, including: By performing target abnormality dimension analysis on each piece of data in the Internet of Vehicles data of the single vehicle, determining whether each piece of data is abnormal data under the target abnormality dimension, wherein the target abnormality dimension includes an accuracy abnormality dimension, a completeness abnormality dimension, and a timeliness abnormality dimension; According to the total number of Internet of Vehicles data of the single vehicle and the number of abnormal data under the target abnormal dimension, the abnormal value of the single vehicle under the target abnormal dimension is determined.

3. The method for evaluating the transmission quality of Internet of Vehicles data according to claim 1, characterized in that: In the case where the target abnormal dimension is the accuracy abnormal dimension, by performing analysis and processing of the target abnormal dimension on each piece of Internet of Vehicles data of the single vehicle, determining whether each piece of Internet of Vehicles data is abnormal data under the target abnormal dimension includes: Input each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model for processing, and obtain a reconstruction error of each piece of data; According to the relationship between the reconstruction error of the data and the set threshold, it is determined whether the data is abnormal data under the accuracy abnormality dimension.

4. The method for evaluating the transmission quality of Internet of Vehicles data according to claim 3, characterized in that: Each piece of data in the Internet of Vehicles data of a single vehicle in the target data set is input into the variational autoencoder model for processing to obtain the reconstruction error of each piece of data, including: Input each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model, and extract the latent variable distribution parameters of the input data through the encoder of the variational autoencoder model; Processing the latent variable distribution parameters through the random noise layer of the variational autoencoder model to obtain latent space distribution parameters; Reconstructing the latent space distribution parameters through the decoder of the variational autoencoder model to obtain target data; A reconstruction error of the input data is determined according to the input data and the target data.

5. The method for evaluating the transmission quality of Internet of Vehicles data according to claim 3, characterized in that: Before inputting each piece of data in the Internet of Vehicles data of a single vehicle in the target data set into the variational autoencoder model for processing and obtaining the reconstruction error of each piece of data, the method further includes: The constructed initial variational autoencoder model is trained through the training sample set; Determining a training result of the initial variational autoencoder model by a target loss function, wherein the target loss function includes a reconstruction loss and a divergence loss; When the training result meets the set conditions, the variational autoencoder model that has passed the training is obtained.

6. The method for evaluating the transmission quality of Internet of Vehicles data according to claim 1, characterized in that: Determining the data quality abnormal value of the single vehicle according to the abnormal value of each abnormal dimension and the weight corresponding to each abnormal dimension includes: Determine the weight of each abnormal dimension through a combination algorithm; Multiply the outlier values ​​of each outlier dimension by their corresponding weights to obtain the target outlier values ​​of each outlier dimension; The target outlier values ​​of each outlier dimension are added together to obtain the data quality outlier value of the single vehicle.

7. The method for evaluating the transmission quality of Internet of Vehicles data according to claim 1, characterized in that: Determining the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set according to the data quality anomaly value of each vehicle in the target data set includes: Performing kernel density estimation on the data quality outliers of each vehicle in the target data set by using a first kernel density estimation algorithm to obtain probability density values ​​of the data quality outliers of each vehicle; Determining a bandwidth correction coefficient for kernel density estimation according to the probability density value; The bandwidth correction coefficient and the first kernel density estimation algorithm are used to estimate the mean and variance of the data quality anomaly values ​​of each vehicle in the target data set, so as to obtain the data anomaly mean value and data anomaly variance of the data transmission terminal type corresponding to the target data set.

8. The method for evaluating the transmission quality of Internet of Vehicles data according to claim 1, characterized in that: The vehicle networking data of each vehicle is classified based on the data transmission terminal type of the vehicle, and the target data set corresponding to the data transmission terminal type is obtained, including: According to the business demand, extract first data related to the business demand from the Internet of Vehicles data of each vehicle; Classifying the first data of each vehicle based on the data transmission terminal type of the vehicle to obtain a first data set corresponding to the data transmission terminal type; According to a preset extraction rule, extracting a preset number of first data from the first data set to form a corresponding second data set; The corresponding target data set is obtained by performing short-term sampling on each first data in the second data set.

9. A transmission quality assessment system for Internet of Vehicles data, characterized in that: The system comprises: A classification module, used to classify the Internet of Vehicles data of each vehicle based on the data transmission terminal type of the vehicle, and obtain a target data set corresponding to the data transmission terminal type; An analysis and processing module, configured to determine abnormal values ​​of the Internet of Vehicles data of a single vehicle in each abnormal dimension by analyzing and processing the Internet of Vehicles data of the single vehicle in the target data set; A first calculation module, used for determining the data quality outlier value of the single vehicle according to the outlier values ​​of each outlier dimension and the weights corresponding to each outlier dimension; A second calculation module is used to determine the data anomaly average and data anomaly variance of the data transmission terminal type corresponding to the target data set according to the data quality anomaly value of each vehicle in the target data set; The optimal data transmission terminal type determination module is used to determine the optimal data transmission terminal type according to the data anomaly average values ​​and data anomaly variances of various data transmission terminal types.

10. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the steps in a method for evaluating the transmission quality of Internet of Vehicles data as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method for evaluating the transmission quality of Internet of Vehicles data as described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Internet of Vehicles data quality determination method and device, computer equipment and storage medium

    CN113176986A

Cited By

  • Reconnaissance data archiving and backup method and system for geotechnical engineering and medium

    CN120179613A