Method, device, computer equipment and storage medium for determining vehicle network data quality
By determining the weight of data filtering conditions and quality evaluation indicators in the Internet of Vehicles data quality evaluation, identifying abnormal data and calculating quality levels, the problem of poor flexibility of existing methods is solved and a more accurate and efficient data quality evaluation is achieved.
Patent Information
- Application Number
- CN202110470047.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-28
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-04-28
AI Technical Summary
Existing Internet of Vehicles data quality evaluation methods have poor flexibility and cannot provide accurate evaluation results based on actual needs.
By determining the data filtering conditions and the weights of multiple quality evaluation indicators, the Internet of Vehicles data that meets the conditions are obtained, abnormal data that does not meet the accuracy, completeness and timeliness standards are identified, and the quality level of each type of data is calculated based on the weights.
It improves the accuracy and speed of data quality assessment, enables personalized processing of different types of data and quality evaluation indicators, adapts to actual needs, and provides accurate evaluation results.
Smart Images

Figure CN113176986B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Vehicles, and in particular to a method, apparatus, computer equipment and storage medium for determining Internet of Vehicles data quality. Background Art
[0002] With the development of Internet of Vehicles technology, a large amount of dynamic data related to vehicle driving and static data related to vehicle configuration have emerged. There is application value hidden in the massive amount of data. Data mining technology can be used to search for valuable information hidden in the massive amount of data through algorithms. However, before data mining, it is necessary to evaluate the data quality to ensure the accuracy of the mined data.
[0003] In traditional technology, various evaluation indicators are first quantified, and then an overall evaluation of quantity and quality is obtained based on the quantified values of various evaluation indicators.
[0004] However, the current traditional methods adopt fixed models, have poor flexibility, and cannot provide accurate evaluation results based on actual needs. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for determining the quality of Internet of Vehicles data, which can provide accurate evaluation results that meet actual needs, in response to the above technical problems.
[0006] A method for determining the quality of Internet of Vehicles data, the method comprising:
[0007] Determining data screening conditions and weights of multiple quality evaluation indicators, wherein the multiple quality evaluation indicators include accuracy, completeness, and timeliness;
[0008] Acquire Internet of Vehicles data that meets the data screening condition, wherein the Internet of Vehicles data includes at least one type of data collected at different times;
[0009] Determine, based on each type of data, abnormal data for which each quality evaluation indicator does not meet the standard;
[0010] The quality level of each type of data is determined based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of the multiple quality evaluation indexes.
[0011] In one embodiment, determining abnormal data that does not meet accuracy requirements based on each type of data includes:
[0012] Determine whether each type of data satisfies the normal distribution;
[0013] If the target type data satisfies the normal distribution, the Raida criterion and the Gaussian kernel function are respectively used to identify abnormal data in the target type data, and the union of the abnormal data identified by the Raida criterion and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard;
[0014] If the target type data does not satisfy the normal distribution, a Gaussian kernel function is used to identify abnormal data in the target type data, and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard;
[0015] The target type data is any type of data in the Internet of Vehicles data.
[0016] In one embodiment, using the Laida criterion to identify abnormal data in the target type data includes:
[0017] determining a mean and a standard deviation of the target type data;
[0018] Determine the absolute value of the difference between the data collected at each moment in the target type data and the average value;
[0019] If the difference between the target time collected data and the average value is greater than three times the standard deviation, the target time collected data is determined to be abnormal data;
[0020] If the difference between the target time collected data and the average value is less than or equal to three times of the standard deviation, the target time collected data is determined to be normal data;
[0021] The target time collected data is target type data collected at any time.
[0022] In one embodiment, using a Gaussian kernel function to identify abnormal data in the target type data includes:
[0023] Taking the data collected at each moment in the target type data as the kernel function center of the Gaussian kernel function, obtaining the probability density function corresponding to the data collected at each moment;
[0024] Adding the probability density functions corresponding to the data collected at each moment to obtain the probability density function of the target type data;
[0025] If the probability of occurrence of the data collected at the target time obtained based on the probability density function of the target type data is less than the probability threshold, then determining that the data collected at the target time is abnormal data;
[0026] If the probability of occurrence of the data collected at the target time obtained based on the probability density function of the target type data is greater than or equal to the probability threshold, then the data collected at the target time is determined to be normal data;
[0027] The target time collected data is target type data collected at any time.
[0028] In one embodiment, determining abnormal data that does not meet integrity requirements based on each type of data includes:
[0029] Determine the time when missing data were collected for each type of data;
[0030] Based on the collection time of missing data in each type of data, the number of missing data in various data missing situations is counted as abnormal data that does not meet the integrity standard. The various data missing situations include single missing, continuous missing of small amounts of data, and continuous missing of large amounts of data.
[0031] In one embodiment, determining the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of the multiple quality evaluation indexes includes:
[0032] The quality evaluation result of the target type data is determined using the following formula:
[0033] q=w1*q1+w2*q2+w3*q3;
[0034] Among them, q is the quality evaluation result of the target type data, w1 is the weight of accuracy, q1 is the proportion of abnormal data that does not meet the accuracy standard in the target type data, w2 is the weight of integrity, q2 is the proportion of abnormal data that does not meet the integrity standard in the target type data, w3 is the weight of timeliness, q3 is the proportion of abnormal data that does not meet the timeliness standard in the target type data;
[0035] q2=W1*Q1+W2*Q2+W3*Q3, W1 is the weight of single missing, Q1 is the proportion of missing data of single missing to target type data, W2 is the weight of missing small amount of data continuously, Q2 is the proportion of missing data of small amount of data continuously to target type data, W3 is the weight of missing large amount of data continuously, Q3 is the proportion of missing data of large amount of data continuously to target type data;
[0036] If the quality evaluation result of the target type data is greater than the quality threshold, it is determined that the quality level of the target type data meets the standard;
[0037] If the quality evaluation result of the target type data is less than or equal to the quality threshold, it is determined that the quality level of the target type data does not meet the standard;
[0038] The target type data is any type of data in the Internet of Vehicles data.
[0039] In one embodiment, the method further comprises:
[0040] If the quality level of the target type data meets the standard, data mining is performed on the target type data, and the target type data is any type of data in the Internet of Vehicles data.
[0041] A device for determining the quality of Internet of Vehicles data, the device comprising:
[0042] An interactive module, used to determine data screening conditions and weights of multiple quality evaluation indicators, wherein the multiple quality evaluation indicators include accuracy, completeness and timeliness;
[0043] A scheduling module, used to obtain Internet of Vehicles data that meets the data screening condition, wherein the Internet of Vehicles data includes at least one type of data collected at different times;
[0044] An identification module, used for determining, based on each type of data, abnormal data that does not meet the quality evaluation index;
[0045] The determination module is used to determine the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index and the weights of the multiple quality evaluation indicators.
[0046] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0047] Determining data screening conditions and weights of multiple quality evaluation indicators, wherein the multiple quality evaluation indicators include accuracy, completeness, and timeliness;
[0048] Acquire Internet of Vehicles data that meets the data screening condition, wherein the Internet of Vehicles data includes at least one type of data collected at different times;
[0049] Determine, based on each type of data, abnormal data for which each quality evaluation indicator does not meet the standard;
[0050] The quality level of each type of data is determined based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of the multiple quality evaluation indexes.
[0051] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0052] Determining data screening conditions and weights of multiple quality evaluation indicators, wherein the multiple quality evaluation indicators include accuracy, completeness, and timeliness;
[0053] Acquire Internet of Vehicles data that meets the data screening condition, wherein the Internet of Vehicles data includes at least one type of data collected at different times;
[0054] Determine, based on each type of data, abnormal data for which each quality evaluation indicator does not meet the standard;
[0055] The quality level of each type of data is determined based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of the multiple quality evaluation indexes.
[0056] The above-mentioned vehicle network data quality determination method, device, computer equipment and storage medium can use the data screening conditions to screen the vehicle network data by determining the data screening conditions and obtaining the vehicle network data that meets the data screening conditions, and only the vehicle network data that meets the data screening conditions can be subsequently processed. In this way, quality assessment can be performed on part of the data concerned by data mining, thereby improving the accuracy of the quality assessment results, while reducing the amount of data processing and improving the speed of quality assessment. The acquired vehicle network data includes at least one type of data collected at different times. By determining the abnormal data that does not meet the standard for each quality evaluation indicator based on each type of data, different types of data and different quality evaluation indicators can be processed separately, which is conducive to improving the accuracy of the quality assessment results. Moreover, by determining the weights of multiple quality evaluation indicators including accuracy, completeness and timeliness, and based on each type of data, each abnormal data that does not meet the standard for each quality evaluation indicator and the weights of multiple quality evaluation indicators, the quality level of each type of data is determined, and the weight distribution can be used to adjust the influence of abnormal data that does not meet the standard for various quality evaluation indicators on the data quality level. In this way, quality evaluation indicators can be selected according to actual needs and their importance can be set to obtain accurate evaluation results that meet actual needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 It is a flowchart of a method for determining the quality of Internet of Vehicles data in one embodiment;
[0058] Figure 2 A schematic diagram of a flow chart of a method for determining Internet of Vehicles data quality in another embodiment;
[0059] Figure 3 It is a structural block diagram of a device for determining the quality of Internet of Vehicles data in one embodiment;
[0060] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0062] In one embodiment, a method for determining the quality of Internet of Vehicles data is provided. This embodiment is described by taking the method applied to a terminal as an example. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The terminal communicates with the server through a network.
[0063] The terminal may be, but is not limited to, various personal computers, laptop computers, smart phones, and tablet computers, and the server may be implemented as an independent server or a server cluster consisting of multiple servers.
[0064] In this embodiment, Figure 1 As shown, the method comprises the following steps:
[0065] Step S102, determining data screening conditions and weights of multiple quality evaluation indicators.
[0066] Among them, the quality evaluation index is a standard type for evaluating the quality level of Internet data. In this embodiment, multiple quality evaluation indicators include accuracy, completeness and timeliness. Accuracy is the degree to which the Internet of Vehicles data is close to the true value, including whether the data range conforms to business specifications and objective facts, whether it can effectively reflect the actual situation, etc. Completeness is the degree of missingness of Internet of Vehicles data, including missing data at a moment and missing data for a period of time, etc. Timeliness is the degree to which the actual sampling frequency of Internet of Vehicles data meets the frequency required for data mining.
[0067] The weight is the importance of the quality evaluation index relative to the quality of the Internet of Vehicles data. The larger the weight, the greater the impact of the quality evaluation index on the quality of the Internet of Vehicles data. If the weight is 0, it means that the quality evaluation index has no impact on the quality of the Internet of Vehicles data, and this quality evaluation index is not considered when evaluating the quality of the Internet of Vehicles data. In this embodiment, the sum of the weights of multiple quality evaluation indicators is 1.
[0068] The data screening conditions are the selection requirements for Internet of Vehicles data. Internet of Vehicles data refers to data transmitted on the Internet of Vehicles, and may include all vehicle information transmitted by onboard devices on the vehicle in the information network platform through wireless communication technology.
[0069] Exemplarily, the data screening conditions include VIN (Vehicle Identification Number) and the collection time of the Internet of Vehicles data.
[0070] Among them, VIN is a set of 17 letters or numbers, a unique number used on the car, which can identify the production, engine, chassis serial number and other performance of the car. For example, the first digit is the country of production code, the second digit is the manufacturer code, the ninth digit is the VIN inspection code, the tenth digit is the model year code, the eleventh digit is the assembly plant code, and the twelfth digit is the factory sequence code. By limiting the codes at different positions in the VIN, the Internet of Vehicles data on a specific vehicle can be filtered out.
[0071] For example, if the data screening conditions include that the first three digits of the VIN are LFV and the Internet of Vehicles data is collected from time A to time B, then only the Internet of Vehicles data whose first three digits of the VIN are LFV and whose collection time is between time A and time B will be selected. The Internet of Vehicles data whose first three digits of the VIN are not LFV, the vehicle information collected before time A, and the Internet of Vehicles data collected after time B will not be selected.
[0072] In this embodiment, by determining the data screening conditions, the data of interest for data mining can be selected based on the data screening conditions for quality assessment. By determining the weights of multiple quality evaluation indicators, the different requirements of data mining for data quality can be met by allocating weights of each quality evaluation indicator. In summary, by determining the data screening conditions and the weights of multiple quality evaluation indicators, adaptive adjustments can be made according to the actual needs of data mining to obtain accurate quality assessment results.
[0073] Step S104, obtaining Internet of Vehicles data that meets the data screening conditions, where the Internet of Vehicles data includes at least one type of data collected at different times.
[0074] Among them, the Internet of Vehicles data includes at least one of VIN, engine speed, vehicle speed, vehicle mileage, vehicle fuel consumption per 100 kilometers, engine oil pressure, engine cooling water temperature, GPS (Global Positioning System) time, GPS latitude, GPS longitude, GPS altitude, GPS direction, GPS speed and fault information.
[0075] In this embodiment, by obtaining Internet of Vehicles data that meets the data screening conditions, the data of interest for data mining can be screened out from the massive Internet of Vehicles data for quality assessment, which can not only improve the accuracy of data quality assessment, but also reduce the amount of data processing and speed up the data quality assessment. The Internet of Vehicles data includes at least one type of data collected at different times, and the quality assessment can be performed separately for each type of data, which is highly targeted and accurate.
[0076] Step S106, determining abnormal data that does not meet each quality evaluation indicator based on each type of data.
[0077] Among them, abnormal data that does not meet the quality evaluation index refers to data that does not meet the quality evaluation index in any type of data. For example, in the same type of data, data outside the normal range is abnormal data that does not meet the accuracy standard, missing data is data that does not meet the integrity standard, and data with a frequency less than the required frequency is data that does not meet the timeliness standard.
[0078] Determining the abnormal data that does not meet the standard for each quality evaluation indicator based on each type of data means that, for each type of data, the abnormal data that does not meet the standard for each quality evaluation indicator is determined respectively.
[0079] For example, the Internet of Vehicles data includes engine speed and vehicle speed, and the quality evaluation indicators include accuracy, completeness and timeliness. Then, based on the engine speed collected at different times, the abnormal data that does not meet the accuracy standard is determined, based on the engine speed collected at different times, the abnormal data that does not meet the completeness standard is determined, based on the engine speed collected at different times, the abnormal data that does not meet the timeliness standard is determined, based on the vehicle speed collected at different times, the abnormal data that does not meet the accuracy standard is determined, based on the vehicle speed collected at different times, the abnormal data that does not meet the completeness standard is determined, and based on the vehicle speed collected at different times, the abnormal data that does not meet the timeliness standard is determined.
[0080] In this embodiment, by determining the abnormal data that does not meet the quality evaluation index based on each type of data, the quality evaluation can be performed separately according to the characteristics of each type of data to improve the accuracy of the quality evaluation result. Moreover, for each type of data, the evaluation results of each quality evaluation index can be integrated. It is not a simple abnormal data screening, but an evaluation of data quality from multiple aspects to improve the accuracy of the quality evaluation result.
[0081] Exemplarily, the terminal may open a separate thread for each type of data, and process different types of data simultaneously, thereby increasing the speed of data quality assessment.
[0082] Step S108, determining the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of multiple quality evaluation indexes.
[0083] The quality level of a type of data indicates the degree to which the type of data is suitable for data mining. Specifically, if the quality level of a type of data is up to standard, it indicates that the type of data is suitable for data mining; if the quality level of a type of data is not up to standard, it indicates that the type of data is not suitable for data mining.
[0084] Determining the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation indicator, and the weights of multiple quality evaluation indicators means that, for each type of data, the quality level is determined based on this type of data, each abnormal data that does not meet the quality evaluation indicator, and the weights of multiple quality evaluation indicators.
[0085] For example, the Internet of Vehicles data includes engine speed and vehicle speed, and the quality evaluation indicators include accuracy, completeness and timeliness. The quality level of the engine speed is determined based on the engine speed collected at different times, abnormal data in the engine speed that does not meet the accuracy standard, abnormal data in the engine speed that does not meet the completeness standard, abnormal data in the engine speed that does not meet the timeliness standard, and the weight of accuracy, the weight of completeness and the weight of timeliness; the quality level of the vehicle speed is determined based on the vehicle speed collected at different times, abnormal data in the vehicle speed that does not meet the accuracy standard, abnormal data in the vehicle speed that does not meet the completeness standard, abnormal data in the vehicle speed that does not meet the timeliness standard, and the weight of accuracy, the weight of completeness and the weight of timeliness.
[0086] In this embodiment, by determining the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of multiple quality evaluation indexes, quality evaluation can be performed separately according to the characteristics of each type of data to improve the accuracy of the quality evaluation results. Moreover, for each type of data, the evaluation results of each quality evaluation index can be combined to evaluate the data quality from multiple aspects to improve the accuracy of the quality evaluation results.
[0087] In the above-mentioned method for determining the quality of Internet of Vehicles data, by determining the data screening conditions and obtaining Internet of Vehicles data that meets the data screening conditions, the Internet of Vehicles data can be screened using the data screening conditions, and only the Internet of Vehicles data that meets the data screening conditions can be subsequently processed. In this way, quality assessment can be performed on part of the data that data mining is concerned about, thereby improving the accuracy of the quality assessment results, while reducing the amount of data processing and improving the speed of quality assessment. The acquired Internet of Vehicles data includes at least one type of data collected at different times. By determining the abnormal data that does not meet the standard for each quality evaluation indicator based on each type of data, different types of data and different quality evaluation indicators can be processed separately, which is conducive to improving the accuracy of the quality assessment results. Moreover, by determining the weights of multiple quality evaluation indicators including accuracy, completeness and timeliness, and based on each type of data, each quality evaluation indicator The abnormal data that does not meet the standard and the weights of multiple quality evaluation indicators, the quality level of each type of data is determined, and the weight distribution can be used to adjust the impact of various quality evaluation indicators that do not meet the standard on the data quality level. In this way, quality evaluation indicators can be selected and their importance can be set according to actual needs, and accurate evaluation results that meet actual needs can be obtained.
[0088] In one embodiment, Figure 2 As shown, the method comprises the following steps:
[0089] Step S202, determining data screening conditions and weights of multiple quality evaluation indicators, where the multiple quality evaluation indicators include accuracy, completeness, and timeliness.
[0090] Specifically, step S202 includes: receiving data screening conditions and weights of multiple quality evaluation indicators input by a user.
[0091] Optionally, the terminal is equipped with an input device and an output device. The output device displays the type of data filtering condition and its corresponding input box to the user. The user fills in the data filtering condition in the input box through the input device, and the terminal combines the received content with the type of corresponding data filtering condition to obtain the data filtering condition. For example, if the user fills in "LFV" in the input box corresponding to the first three digits of VIN, the terminal combines "LFV" with the first three digits of VIN to obtain a data filtering condition including that the first three digits of VIN are LFV. For another example, if the user fills in "A" in the input box corresponding to the data start time and fills in "B" in the input box corresponding to the data end time, the terminal combines "A" and "B" with the collection time of the Internet of Vehicles data to obtain a data filtering condition including the collection time from time A to time B.
[0092] The output device also displays an input box for multiple quality evaluation indicators and their weights to the user. The user fills in the weight in the input box through the input device, and the terminal will include the corresponding quality evaluation indicator in the quality evaluation of the Internet of Vehicles data. After the user confirms the quality evaluation indicator that has been filled in, the terminal will determine whether the sum of the weights that have been filled in is 1. If the sum of the weights that have been filled in is 1, the terminal performs subsequent processing according to the weights that have been filled in. If the sum of the weights that have been filled in is less than 1, the output device displays a confirmation window to the user whether to choose to add the quality evaluation indicator with unfilled weights; if the user chooses to add the quality evaluation indicator with unfilled weights through the input device, the terminal determines the unfilled weights according to the filled weights; if the user chooses not to add the quality evaluation indicator with unfilled weights through the input device, the output device displays a prompt window of weight setting error to the user. If the sum of the weights that have been filled in is greater than 1, the output device displays a prompt window of weight setting error to the user. For example, the user enters 50% in the weight input box of accuracy and 40% in the weight input box of integrity through the input device, and submits them to the terminal. The terminal incorporates accuracy and completeness into the quality evaluation of the Internet of Vehicles data, and determines that the sum of the filled weights is less than 1, and displays a confirmation window to the user through the output device to ask whether to add timeliness. If the user chooses to add timeliness through the input device, the terminal automatically sets the weight of timeliness to 1-50%-40%=10%; if the user chooses not to add timeliness through the input device, the terminal displays a prompt window of weight setting error through the output device.
[0093] The output device may also first display a selection box of multiple quality evaluation indicators to the user. After the user selects a quality evaluation indicator through the input device, the output device then displays the weight input box of this quality evaluation indicator to the user. After the user confirms the quality evaluation indicator that has been filled in, the terminal will determine whether the sum of the weights that have been filled in is 1. If the sum of the weights that have been filled in is 1, the terminal performs subsequent processing according to the weights that have been filled in. If the sum of the weights that have been filled in is less than 1 and the weight input box of the selected quality evaluation indicator is empty, the terminal determines the unfilled weights based on the filled in weights. If the sum of the weights that have been filled in is less than 1 and the weight input boxes of all the selected quality evaluation indicators have been filled in, or the sum of the weights that have been filled in is less than 1 and the weight input boxes of at least two selected quality evaluation indicators are empty, or the sum of the weights that have been filled in is greater than 1, the output device displays a prompt window of incorrect weight setting to the user. For example, after the user selects accuracy, completeness and timeliness through the input device, the output device displays the weight input boxes of accuracy, completeness and timeliness respectively.
[0094] For example, all quality evaluation indicators can be selected by default, and weight values can be set by default for user convenience. For example, the weight of accuracy is 50% by default, the weight of integrity is 40% by default, and the weight of timeliness is 10% by default. If the user enters 50% in the weight input box of accuracy and 40% in the weight input box of integrity through an input device and submits it to the terminal, the terminal automatically sets the weight of timeliness to 1-50%-40%=10%.
[0095] In this embodiment, the input device and the output device cooperate to interact with the user, so that the user can input data screening conditions and weights of multiple quality evaluation indicators.
[0096] For example, the weight range of accuracy is 40% to 50%, the weight range of completeness is 30% to 40%, and the weight range of timeliness is 10% to 30%. The terminal can display it to the user through an output device, which can provide a reference for the user to facilitate the user to set the weight.
[0097] Exemplarily, the interaction can be achieved by using an architecture of vue, echarts, Bootstrap, or Element.
[0098] In actual applications, users can log in to the web client to input data screening conditions and weights of multiple quality evaluation indicators, which is convenient for setting data screening conditions and weights of multiple quality evaluation indicators.
[0099] Step S204, obtaining Internet of Vehicles data that meets the data screening conditions, where the Internet of Vehicles data includes at least one type of data collected at different times.
[0100] In one implementation, step S204: sending a data acquisition request including data screening conditions to a storage device for Internet of Vehicles data; receiving the Internet of Vehicles data sent by the storage device for Internet of Vehicles data, and storing the data in a structured database.
[0101] In another implementation, step S204: receiving Internet of Vehicles data sent by a storage device for Internet of Vehicles data; if the received Internet of Vehicles data meets the data screening conditions, saving the received Internet of Vehicles data in a structured database; if the received Internet of Vehicles data does not meet the data screening conditions, deleting the received Internet of Vehicles data.
[0102] In this embodiment, the Internet of Vehicles data that meets the data screening conditions is saved in a structured database, and the Internet of Vehicles data can be stored according to type, which is convenient for subsequent simultaneous calls to the same type of data collected at different times.
[0103] Exemplarily, the structured database is one of MySQL, MongoDB, and HDFS (Hadoop Distributed File System).
[0104] Exemplarily, the storage device for Internet of Vehicles data is hive (data warehouse tool).
[0105] Step S206: If the weight of the accuracy is greater than 0, abnormal data that does not meet the accuracy standard is determined based on each type of data.
[0106] Among them, abnormal data that do not meet the accuracy standards are mainly data that deviate too far from the main distribution range.
[0107] Optionally, step S206 includes: determining whether each type of data satisfies the normal distribution; if the target type data satisfies the normal distribution, using the Raida criterion and the Gaussian kernel function to identify abnormal data in the target type data respectively, and using the union of the abnormal data identified by the Raida criterion and the abnormal data identified by the Gaussian kernel function as the abnormal data in the target type data whose accuracy does not meet the standard; if the target type data does not satisfy the normal distribution, using the Gaussian kernel function to identify abnormal data in the target type data, and using the abnormal data identified by the Gaussian kernel function as the abnormal data in the target type data whose accuracy does not meet the standard.
[0108] The target type data is any type of data in the Internet of Vehicles data.
[0109] In this embodiment, it is first determined whether the same type of data satisfies the normal distribution, so as to understand whether this type of data is suitable for using the Laida criterion to identify abnormal data. If this type of data satisfies the normal distribution, it means that this type of data can use the Laida criterion to identify abnormal data. At this time, the Laida criterion and the Gaussian kernel function are used to identify abnormal data respectively, and the union of the two is taken as the abnormal data with accuracy not meeting the standard in this type of data. The two abnormal data identification methods can be used to effectively identify the abnormal data with accuracy not meeting the standard, improve the accuracy of abnormal data determination, and finally improve the accuracy of quality assessment. If this type of data does not meet the normal distribution, it means that this type of data is not suitable for using the Laida criterion to identify abnormal data. At this time, only the Gaussian kernel function is used to identify abnormal data, and it is used as the abnormal data with accuracy not meeting the standard in this type of data, which can also ensure the accuracy of abnormal data identification.
[0110] Specifically, determining whether each type of data satisfies the normal distribution may include: using a KS (Kolmogorov-Smirnov) test technique to determine whether each type of data satisfies the normal distribution.
[0111] Specifically, the Laida criterion is used to identify abnormal data in the target type data, including: determining the mean value and standard deviation of the target type data; determining the absolute value of the difference between the data collected at each moment and the mean value in the target type data; if the difference between the data collected at the target moment and the mean value is greater than three times the standard deviation, then determining that the data collected at the target moment is abnormal data; if the difference between the data collected at the target moment and the mean value is less than or equal to three times the standard deviation, then determining that the data collected at the target moment is normal data.
[0112] The target time collection data refers to the target type data collected at any time.
[0113] In this embodiment, based on the target type data, the average value and standard deviation of the target type data can be calculated, and then the average value and standard deviation of the target type data can be calculated. Since the target type function satisfies the normal distribution, whether the difference from the average value is greater than three times the standard deviation is used as the judgment standard of abnormal data, which conforms to the actual situation and can accurately identify abnormal data.
[0114] For example, if the same type of data collected at different times is x1, x2, x3, ..., xn, then the average value of this type of data is The standard deviation of this type of data is The absolute value of the difference between the collected data at each moment and the average value is like Then xi is abnormal data; if Then xi is normal data.
[0115] Specifically, a Gaussian kernel function is used to identify abnormal data in target type data, including: taking the data collected at each moment in the target type data as the kernel function center of the Gaussian kernel function to obtain the probability density function corresponding to the data collected at each moment; adding the probability density functions corresponding to the data collected at each moment to obtain the probability density function of the target type data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is less than a probability threshold, then the data collected at the target moment is determined to be abnormal data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is greater than or equal to the probability threshold, then the data collected at the target moment is determined to be normal data.
[0116] The target time collection data refers to the target type data collected at any time.
[0117] In this embodiment, the probability of occurrence of the data that has appeared and its surrounding data is relatively high, and the data collected at each moment in the same type of data is respectively used as the kernel function center of the Gaussian kernel function to obtain the probability density function corresponding to the data collected at each moment, and all the probability density functions are added together to obtain the probability density function of this type of data. Whether the probability of occurrence corresponding to the data collected at each moment is less than the probability threshold is used as the judgment standard of abnormal data, which conforms to the actual situation and can accurately identify abnormal data.
[0118] For example, if the same type of data collected at different times is x1, x2, x3, ..., xn, then x1, x2, x3, ..., xn are substituted into the Gaussian kernel function as xc to obtain the corresponding probability density function K(x, x c )=exp[-||x-xc|| 2 / (2*σ) 2 ], σ is the set width parameter, and the default is the standard deviation of this type of data. Add n probability density functions to get the probability density function of this type of data. Substitute the data collected at any time in this type of data into the probability density function of this type of data and integrate to get the corresponding probability. If it is less than the probability threshold, it is abnormal data, and if it is greater than or equal to the probability threshold, it is normal data. For example, the probability of the engine speed in the interval [600,800] is 0.23%, and the probability threshold of the engine speed is 0.3%. Then the engine speed in the interval [600,800] is abnormal data.
[0119] Step S208: If the weight of integrity is greater than 0, abnormal data that does not meet integrity standards is determined based on each type of data.
[0120] Among them, the abnormal data that does not meet the integrity standards is mainly missing data.
[0121] In practical applications, if the data at a certain moment is not received, the data at this moment is missing. For example, if the same type of data collected at each moment is 30, 20, blank, and 15, the data at the third moment is missing.
[0122] Optionally, step S208 includes: determining the collection time of missing data in each type of data; based on the collection time of missing data in each type of data, counting the number of missing data in multiple data missing situations as abnormal data that does not meet the integrity standard, and the multiple data missing situations include single missing, continuous missing of a small amount of data, and continuous missing of a large amount of data.
[0123] In this embodiment, the data missing situations are divided into three types: single missing, continuous missing of a small amount of data, and continuous missing of a large amount of data. The number of missing data is counted for each data missing situation. The integrity of the data can be accurately evaluated based on the impact of different data missing situations on the data quality.
[0124] Exemplarily, single missing refers to missing data that is not missing before and after. For example, if the same type of data collected at different moments is 30, 20, blank, and 15, then the missing data at the third moment is single missing.
[0125] Continuously missing small amounts of data are data with at least one missing data before and after and the number of missing data is less than the threshold. For example, if the same type of data collected at different moments is 30, blank, blank, and 15, then the missing data from the second moment to the third moment are continuously missing small amounts of data.
[0126] Continuous large amounts of missing data refer to data with at least one missing data before and after and the number of missing data is greater than or equal to the threshold. For example, if the same type of data collected at different moments is 30, blank, blank, blank, blank, blank, blank, and 15, then the missing data from the second moment to the seventh moment are continuous large amounts of missing data.
[0127] Step S210: If the weight of timeliness is greater than 0, abnormal data that does not meet the timeliness standard is determined based on each type of data.
[0128] Among them, abnormal data that do not meet the timeliness standards are mainly data whose collection interval is greater than the required interval.
[0129] Specifically, step S200 includes: if the interval between data collected at two adjacent moments is greater than the required interval, determining that the two data are abnormal data.
[0130] In practical applications, the data collected at each moment has a corresponding timestamp, and the interval between the data collected at two adjacent moments can be obtained based on the timestamps of the data collected at two adjacent moments. For example, the timestamp of the data collected at the previous moment is 16:32:05 on December 18, 2020, and the timestamp of the data collected at the next moment is 16:32:15 on December 18, 2020, then the interval between the data collected at these two moments is 10s. If the data collected at these two moments belong to pressure data, and the required interval for pressure data is 1s (pressure data changes faster), then the data collected at these two moments are abnormal data. If the data collected at these two moments belong to temperature data, and the required interval for temperature data is 10s (temperature data changes slower), then the data collected at these two moments are normal data.
[0131] Step S212, based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of multiple quality evaluation indexes, determine the quality level of each type of data.
[0132] Optionally, step S212 includes: using the following formula to determine the quality evaluation result of the target type data: q=w1*q1+w2*q2+w3*q3; if the quality evaluation result of the target type data is greater than the quality threshold, it is determined that the quality level of the target type data meets the standard; if the quality evaluation result of the target type data is less than or equal to the quality threshold, it is determined that the quality level of the target type data does not meet the standard.
[0133] Among them, q is the quality evaluation result of the target type data, w1 is the weight of accuracy, q1 is the proportion of abnormal data that does not meet the accuracy standard in the target type data, w2 is the weight of integrity, q2 is the proportion of abnormal data that does not meet the integrity standard in the target type data, w3 is the weight of timeliness, q3 is the proportion of abnormal data that does not meet the timeliness standard in the target type data.
[0134] q2=W1*Q1+W2*Q2+W3*Q3, W1 is the weight of a single missing data, Q1 is the proportion of the number of missing data in the target type data, W2 is the weight of a small number of consecutive missing data, Q2 is the proportion of the number of missing data in the target type data, W3 is the weight of a large number of consecutive missing data, Q3 is the proportion of the number of missing data in the target type data.
[0135] The target type data is any type of data in the Internet of Vehicles data.
[0136] In this embodiment, two levels of weights are set. The first level of weights can adjust the impact of various quality evaluation indicators to meet different data mining needs; the second level of weights can adjust the impact of various data missing situations to accurately evaluate the integrity of the data.
[0137] Exemplarily, W1<W2<W3. For example, W1=1, W2=5, W3=10.
[0138] The longer the missing data lasts, the lower the probability of recovery and the greater the impact on data mining. Therefore, the continuous number of missing data is positively correlated with the corresponding weight, which can better reflect the impact of data integrity on data quality and ultimately accurately evaluate data quality.
[0139] Exemplarily, the quality threshold is 95%.
[0140] Optionally, the method further includes: outputting a quality level of each type of data.
[0141] In actual applications, the terminal can provide users with feedback on the quality level of each type of data through the web client, responding to the data screening conditions entered by the user and the weights of multiple quality assessment indicators.
[0142] Step S214: if the quality level of the target type data meets the standard, data mining is performed on the target type data, where the target type data is any type of data in the Internet of Vehicles data.
[0143] In this embodiment, data mining is performed on data that meet the quality level standards to ensure the accuracy of the data mining.
[0144] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0145] In one embodiment, Figure 3 As shown, a device for determining the quality of Internet of Vehicles data is provided, including: an interaction module 301, a scheduling module 302, an identification module 303 and a determination module 304, wherein:
[0146] The interaction module 301 is used to determine the data screening conditions and the weights of multiple quality evaluation indicators, where the multiple quality evaluation indicators include accuracy, completeness and timeliness.
[0147] The scheduling module 302 is used to obtain Internet of Vehicles data that meets the data screening conditions, and the Internet of Vehicles data includes at least one type of data collected at different times.
[0148] The identification module 303 is used to determine abnormal data that does not meet each quality evaluation indicator based on each type of data.
[0149] The determination module 304 is used to determine the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of multiple quality evaluation indicators.
[0150] The above-mentioned Internet of Vehicles data quality determination device can use the data screening conditions to screen the Internet of Vehicles data by determining the data screening conditions and obtaining the Internet of Vehicles data that meets the data screening conditions, and only the Internet of Vehicles data that meets the data screening conditions can be subsequently processed. In this way, quality assessment can be performed on part of the data that data mining is concerned about, thereby improving the accuracy of the quality assessment results, while reducing the amount of data processing and improving the speed of quality assessment. The acquired Internet of Vehicles data includes at least one type of data collected at different times. By determining the abnormal data that does not meet the standard for each quality evaluation index based on each type of data, different types of data and different quality evaluation indicators can be processed separately, which is conducive to improving the accuracy of the quality assessment results. Moreover, by determining the weights of multiple quality evaluation indicators including accuracy, completeness and timeliness, and determining the quality level of each type of data based on each type of data, the abnormal data that does not meet the standard for each quality evaluation index and the weights of multiple quality evaluation indicators, the distribution of weights can be used to adjust the influence of abnormal data that does not meet the standard for various quality evaluation indicators on the data quality level. In this way, quality evaluation indicators can be selected according to actual needs and their importance can be set to obtain accurate evaluation results that meet actual needs.
[0151] In one embodiment, the identification module 303 includes: a distribution determination unit, a first abnormal data determination unit, and a second abnormal data determination unit, wherein:
[0152] The distribution determination unit is used to determine whether each type of data satisfies the normal distribution.
[0153] The first abnormal data determination unit is used to identify abnormal data in the target type data by using the Laida criterion and the Gaussian kernel function respectively when the target type data satisfies the normal distribution, and to use the union of the abnormal data identified by using the Laida criterion and the abnormal data identified by using the Gaussian kernel function as the abnormal data in the target type data whose accuracy does not meet the standard.
[0154] The second abnormal data determination unit is used to identify abnormal data in the target type data using a Gaussian kernel function when the target type data does not satisfy the normal distribution, and use the abnormal data identified by using the Gaussian kernel function as abnormal data in the target type data whose accuracy does not meet the standard.
[0155] The target type data is any type of data in the Internet of Vehicles data.
[0156] Optionally, the first abnormal data determination unit is used to determine the average value and standard deviation of the target type data; determine the absolute value of the difference between the data collected at each moment and the average value in the target type data; if the difference between the data collected at the target moment and the average value is greater than three times the standard deviation, determine that the data collected at the target moment is abnormal data; if the difference between the data collected at the target moment and the average value is less than or equal to three times the standard deviation, determine that the data collected at the target moment is normal data; wherein, the data collected at the target moment is the target type data collected at any moment.
[0157] Optionally, the first abnormal data determination unit and the second abnormal data determination unit are used to take the data collected at each moment in the target type data as the kernel function center of the Gaussian kernel function to obtain the probability density function corresponding to the data collected at each moment; add the probability density functions corresponding to the data collected at each moment to obtain the probability density function of the target type data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is less than a probability threshold, then the data collected at the target moment is determined to be abnormal data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is greater than or equal to the probability threshold, then the data collected at the target moment is determined to be normal data; wherein, the data collected at the target moment is the target type data collected at any moment.
[0158] In one embodiment, the identification module 303 includes: a time determination unit and a quantity counting unit, wherein:
[0159] The time determination unit is used to determine the collection time of the missing data in each type of data.
[0160] The quantity statistics unit is used to count the number of missing data in various data missing situations based on the collection time of the missing data in each type of data, as abnormal data that does not meet the integrity standard. The various data missing situations include single missing, continuous missing of small amounts of data, and continuous missing of large amounts of data.
[0161] In one embodiment, the determination module 304 includes: a result determination unit and a result judgment unit, wherein:
[0162] a result determination unit, for determining the quality evaluation result of the target type data by using the following formula: q=w1*q1+w2*q2+w3*q3; wherein q is the quality evaluation result of the target type data, w1 is the weight of accuracy, q1 is the proportion of abnormal data that does not meet the accuracy standard in the target type data, w2 is the weight of completeness, q2 is the proportion of abnormal data that does not meet the completeness standard in the target type data, w3 is the weight of timeliness, q3 is the proportion of abnormal data that does not meet the timeliness standard in the target type data; q2=W1*Q1+W2*Q2+W3*Q3, W1 is the weight of single missing, Q1 is the proportion of the number of missing data of single missing in the target type data, W2 is the weight of continuous missing of a small amount of data, Q2 is the proportion of the number of missing data of continuous missing of a small amount of data in the target type data, W3 is the weight of continuous missing of a large amount of data, Q3 is the proportion of the number of missing data of continuous missing of a large amount of data in the target type data.
[0163] A result determination unit is used to determine that the quality level of the target type data meets the standard when the quality evaluation result of the target type data is greater than the quality threshold; and to determine that the quality level of the target type data does not meet the standard when the quality evaluation result of the target type data is less than or equal to the quality threshold; wherein the target type data is any type of data in the Internet of Vehicles data.
[0164] For the specific definition of the vehicle network data quality determination device, please refer to the definition of the vehicle network data quality determination method mentioned above, which will not be repeated here. Each module in the above-mentioned vehicle network data quality determination device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0165] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store Internet of Vehicles data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for determining the quality of Internet of Vehicles data is implemented.
[0166] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0167] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: determining data screening conditions and weights of multiple quality evaluation indicators, wherein the multiple quality evaluation indicators include accuracy, completeness and timeliness; acquiring Internet of Vehicles data that meets the data screening conditions, wherein the Internet of Vehicles data includes at least one type of data collected at different times; determining abnormal data that does not meet each quality evaluation indicator based on each type of data; determining the quality level of each type of data based on each type of data, the abnormal data that does not meet each quality evaluation indicator and the weights of the multiple quality evaluation indicators.
[0168] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining whether each type of data satisfies the normal distribution; if the target type data satisfies the normal distribution, the Raida criterion and the Gaussian kernel function are respectively used to identify abnormal data in the target type data, and the union of the abnormal data identified by the Raida criterion and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard; if the target type data does not satisfy the normal distribution, the Gaussian kernel function is used to identify abnormal data in the target type data, and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard; wherein the target type data is any type of data in the Internet of Vehicles data.
[0169] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the mean value and standard deviation of the target type data; determining the absolute value of the difference between the data collected at each moment and the mean value in the target type data; if the difference between the data collected at the target moment and the mean value is greater than three times the standard deviation, determining that the data collected at the target moment is abnormal data; if the difference between the data collected at the target moment and the mean value is less than or equal to three times the standard deviation, determining that the data collected at the target moment is normal data; wherein, the data collected at the target moment is the target type data collected at any moment.
[0170] In one embodiment, when the processor executes the computer program, the following steps are also implemented: the data collected at each moment in the target type data is used as the kernel function center of the Gaussian kernel function to obtain the probability density function corresponding to the data collected at each moment; the probability density functions corresponding to the data collected at each moment are added to obtain the probability density function of the target type data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is less than the probability threshold, the data collected at the target moment is determined to be abnormal data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is greater than or equal to the probability threshold, the data collected at the target moment is determined to be normal data; wherein, the data collected at the target moment is the target type data collected at any moment.
[0171] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the collection time of the missing data in each type of data; based on the collection time of the missing data in each type of data, counting the number of missing data in various data missing situations as abnormal data that does not meet the integrity standard, the various data missing situations include single missing, continuous missing of a small amount of data, and continuous missing of a large amount of data.
[0172] In one embodiment, when the processor executes the computer program, the following steps are also implemented: the quality evaluation result of the target type data is determined by the following formula: q=w1*q1+w2*q2+w3*q3; if the quality evaluation result of the target type data is greater than the quality threshold, it is determined that the quality level of the target type data meets the standard; if the quality evaluation result of the target type data is less than or equal to the quality threshold, it is determined that the quality level of the target type data does not meet the standard; wherein q is the quality evaluation result of the target type data, w1 is the weight of accuracy, q1 is the proportion of abnormal data that does not meet the accuracy standard in the target type data, w2 is the weight of integrity, and q2 is the abnormal data that does not meet the integrity standard. The proportion of the target type data, w3 is the weight of timeliness, q3 is the proportion of abnormal data that does not meet the timeliness standard in the target type data; q2 = W1*Q1+W2*Q2+W3*Q3, W1 is the weight of single missing, Q1 is the proportion of the number of missing data with single missing in the target type data, W2 is the weight of continuous missing of a small amount of data, Q2 is the proportion of the number of missing data with continuous missing of a small amount of data in the target type data, W3 is the weight of continuous missing of a large amount of data, Q3 is the proportion of the number of missing data with continuous missing of a large amount of data in the target type data; the target type data is any type of data in the Internet of Vehicles data.
[0173] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if the quality level of the target type data meets the standard, data mining is performed on the target type data, and the target type data is any type of data in the Internet of Vehicles data.
[0174] The above-mentioned computer device can use the data screening conditions to screen the Internet of Vehicles data by determining the data screening conditions and obtaining the Internet of Vehicles data that meets the data screening conditions, and only the Internet of Vehicles data that meets the data screening conditions can be subsequently processed. In this way, quality assessment can be performed on part of the data concerned by data mining, thereby improving the accuracy of the quality assessment results, while reducing the amount of data processing and improving the speed of quality assessment. The acquired Internet of Vehicles data includes at least one type of data collected at different times. By determining the abnormal data that does not meet the standard for each quality evaluation indicator based on each type of data, different types of data and different quality evaluation indicators can be processed separately, which is conducive to improving the accuracy of the quality assessment results. Moreover, by determining the weights of multiple quality evaluation indicators including accuracy, completeness and timeliness, and based on each type of data, each quality evaluation indicator The abnormal data that does not meet the standard and the weights of multiple quality evaluation indicators, the quality level of each type of data is determined, and the weight distribution can be used to adjust the impact of various quality evaluation indicators that do not meet the standard on the data quality level. In this way, quality evaluation indicators can be selected and their importance can be set according to actual needs, and accurate evaluation results that meet actual needs can be obtained.
[0175] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: determining data screening conditions and weights of multiple quality evaluation indicators, the multiple quality evaluation indicators including accuracy, completeness and timeliness; acquiring Internet of Vehicles data that meets the data screening conditions, the Internet of Vehicles data including at least one type of data collected at different times; determining abnormal data that does not meet each quality evaluation indicator based on each type of data; determining the quality level of each type of data based on each type of data, the abnormal data that does not meet each quality evaluation indicator and the weights of multiple quality evaluation indicators.
[0176] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining whether each type of data satisfies the normal distribution; if the target type data satisfies the normal distribution, the Raida criterion and the Gaussian kernel function are respectively used to identify abnormal data in the target type data, and the union of the abnormal data identified by the Raida criterion and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard; if the target type data does not satisfy the normal distribution, the Gaussian kernel function is used to identify abnormal data in the target type data, and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard; wherein the target type data is any type of data in the Internet of Vehicles data.
[0177] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the mean value and standard deviation of the target type data; determining the absolute value of the difference between the data collected at each moment and the mean value in the target type data; if the difference between the data collected at the target moment and the mean value is greater than three times the standard deviation, determining that the data collected at the target moment is abnormal data; if the difference between the data collected at the target moment and the mean value is less than or equal to three times the standard deviation, determining that the data collected at the target moment is normal data; wherein, the data collected at the target moment is the target type data collected at any moment.
[0178] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the data collected at each moment in the target type data is used as the kernel function center of the Gaussian kernel function to obtain the probability density function corresponding to the data collected at each moment; the probability density functions corresponding to the data collected at each moment are added to obtain the probability density function of the target type data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is less than the probability threshold, the data collected at the target moment is determined to be abnormal data; if the probability of occurrence of the data collected at the target moment obtained based on the probability density function of the target type data is greater than or equal to the probability threshold, the data collected at the target moment is determined to be normal data; wherein, the data collected at the target moment is the target type data collected at any moment.
[0179] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the collection time of the missing data in each type of data; based on the collection time of the missing data in each type of data, counting the number of missing data in various data missing situations as abnormal data that does not meet the integrity standard, the various data missing situations include single missing, continuous missing of small amounts of data, and continuous missing of large amounts of data.
[0180] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: the quality evaluation result of the target type data is determined by the following formula: q=w1*q1+w2*q2+w3*q3; if the quality evaluation result of the target type data is greater than the quality threshold, it is determined that the quality level of the target type data meets the standard; if the quality evaluation result of the target type data is less than or equal to the quality threshold, it is determined that the quality level of the target type data does not meet the standard; wherein q is the quality evaluation result of the target type data, w1 is the weight of accuracy, q1 is the proportion of abnormal data that does not meet the accuracy standard in the target type data, w2 is the weight of integrity, and q2 is the number of abnormal data that does not meet the integrity standard. W1 is the weight of single missing data, Q1 is the proportion of missing data in the target type data, W2 is the weight of continuous missing data of a small amount, Q2 is the proportion of missing data of continuous missing data of a small amount in the target type data, W3 is the weight of continuous missing data of a large amount, Q3 is the proportion of missing data of continuous missing data of a large amount in the target type data; the target type data is any type of data in the Internet of Vehicles data.
[0181] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the quality level of the target type data meets the standard, data mining is performed on the target type data, and the target type data is any type of data in the Internet of Vehicles data.
[0182] The above storage medium can use the data screening conditions to screen the Internet of Vehicles data by determining the data screening conditions and obtaining the Internet of Vehicles data that meets the data screening conditions, and only the Internet of Vehicles data that meets the data screening conditions can be subsequently processed. In this way, quality assessment can be performed on some data that data mining is concerned about, thereby improving the accuracy of the quality assessment results, while reducing the amount of data processing and improving the speed of quality assessment. The acquired Internet of Vehicles data includes at least one type of data collected at different times. By determining the abnormal data that does not meet the standard for each quality evaluation indicator based on each type of data, different types of data and different quality evaluation indicators can be processed separately, which is conducive to improving the accuracy of the quality assessment results. Moreover, by determining the weights of multiple quality evaluation indicators including accuracy, completeness and timeliness, and based on each type of data, each quality evaluation indicator The abnormal data that does not meet the standard and the weights of multiple quality evaluation indicators, the quality level of each type of data is determined, and the weight distribution can be used to adjust the impact of various quality evaluation indicators that do not meet the standard on the data quality level. In this way, quality evaluation indicators can be selected and their importance can be set according to actual needs, and accurate evaluation results that meet actual needs can be obtained.
[0183] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0184] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0185] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for determining the quality of Internet of Vehicles data, characterized in that: The method comprises: Determining data screening conditions and weights of multiple quality evaluation indicators, wherein the multiple quality evaluation indicators include accuracy, completeness, and timeliness; the data screening conditions include vehicle identification number and collection time of Internet of Vehicles data; Acquire Internet of Vehicles data that meets the data screening condition, wherein the Internet of Vehicles data includes at least one type of data collected at different times; If the weight of timeliness is greater than 0, abnormal data that does not meet the timeliness standard is determined based on each type of data; abnormal data that does not meet the timeliness standard is data whose collection interval is greater than the required interval; if the weight of accuracy is greater than 0, abnormal data that does not meet the accuracy standard is determined based on each type of data; abnormal data that does not meet the accuracy standard is data that deviates from the main distribution range; if the weight of completeness is greater than 0, abnormal data that does not meet the completeness standard is determined based on each type of data; abnormal data that does not meet the completeness standard is missing data; Determine the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of the multiple quality evaluation indicators; The determining of the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of the multiple quality evaluation indexes includes: The quality evaluation result of the target type data is determined using the following formula: q=w1*q1+w2*q2+w3*q3; Among them, q is the quality evaluation result of the target type data, w1 is the weight of accuracy, q1 is the proportion of abnormal data that does not meet the accuracy standard in the target type data, w2 is the weight of integrity, q2 is the proportion of abnormal data that does not meet the integrity standard in the target type data, w3 is the weight of timeliness, q3 is the proportion of abnormal data that does not meet the timeliness standard in the target type data; q2=W1*Q1+W2*Q2+W3*Q3, W1 is the weight of single missing, Q1 is the proportion of single missing missing data in the target type data, W2 is the weight of continuous missing small data, Q2 is the proportion of continuous missing small data in the target type data, W3 is the weight of continuous missing large data, Q3 is the proportion of continuous missing large data in the target type data; single missing refers to missing data without missing data before and after; continuous missing small data refers to data with at least one missing data before and after and the continuous number is less than the quantity threshold; continuous missing large data refers to data with at least one missing data before and after and the continuous number is greater than or equal to the quantity threshold; If the quality evaluation result of the target type data is greater than the quality threshold, it is determined that the quality level of the target type data meets the standard; If the quality evaluation result of the target type data is less than or equal to the quality threshold, it is determined that the quality level of the target type data does not meet the standard; The target type data is any type of data in the Internet of Vehicles data.
2. The method according to claim 1, characterized in that Determine abnormal data that does not meet accuracy standards based on each type of data, including: Determine whether each type of data satisfies the normal distribution; If the target type data satisfies the normal distribution, the Raida criterion and the Gaussian kernel function are respectively used to identify abnormal data in the target type data, and the union of the abnormal data identified by the Raida criterion and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard; If the target type data does not satisfy the normal distribution, a Gaussian kernel function is used to identify abnormal data in the target type data, and the abnormal data identified by the Gaussian kernel function is used as the abnormal data in the target type data whose accuracy does not meet the standard; The target type data is any type of data in the Internet of Vehicles data.
3. The method according to claim 2, characterized in that The Laida criterion is used to identify abnormal data in the target type data, including: determining a mean and a standard deviation of the target type data; Determine the absolute value of the difference between the data collected at each moment in the target type data and the average value; If the difference between the target time collected data and the average value is greater than three times the standard deviation, the target time collected data is determined to be abnormal data; If the difference between the target time collected data and the average value is less than or equal to three times of the standard deviation, the target time collected data is determined to be normal data; The target time collected data is target type data collected at any time.
4. The method according to claim 2, characterized in that: Using a Gaussian kernel function to identify abnormal data in the target type data includes: Taking the data collected at each moment in the target type data as the kernel function center of the Gaussian kernel function, obtaining the probability density function corresponding to the data collected at each moment; Adding the probability density functions corresponding to the data collected at each moment to obtain the probability density function of the target type data; If the probability of occurrence of the data collected at the target time obtained based on the probability density function of the target type data is less than the probability threshold, then determining that the data collected at the target time is abnormal data; If the probability of occurrence of the data collected at the target time obtained based on the probability density function of the target type data is greater than or equal to the probability threshold, then the data collected at the target time is determined to be normal data; The target time collected data is target type data collected at any time.
5. The method according to any one of claims 1 to 4, characterized in that: Determine abnormal data that does not meet integrity standards based on each type of data, including: Determine the time when missing data were collected for each type of data; Based on the collection time of missing data in each type of data, the number of missing data in various data missing situations is counted as abnormal data that does not meet the integrity standard. The various data missing situations include single missing, continuous missing of small amounts of data, and continuous missing of large amounts of data.
6. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: If the quality level of the target type data meets the standard, data mining is performed on the target type data, and the target type data is any type of data in the Internet of Vehicles data.
7. A device for determining the quality of Internet of Vehicles data, characterized in that: The device comprises: An interactive module, used to determine data screening conditions and weights of multiple quality evaluation indicators, wherein the multiple quality evaluation indicators include accuracy, completeness and timeliness; the data screening conditions include vehicle identification number and collection time of Internet of Vehicles data; A scheduling module, used to obtain Internet of Vehicles data that meets the data screening condition, wherein the Internet of Vehicles data includes at least one type of data collected at different times; The identification module is used to determine abnormal data that does not meet the timeliness standard based on each type of data if the weight of timeliness is greater than 0; abnormal data that does not meet the timeliness standard is data whose collection interval is greater than the required interval; if the weight of accuracy is greater than 0, abnormal data that does not meet the accuracy standard is determined based on each type of data; abnormal data that does not meet the accuracy standard is data that deviates from the main distribution range; if the weight of completeness is greater than 0, abnormal data that does not meet the completeness standard is determined based on each type of data; abnormal data that does not meet the completeness standard is missing data; A determination module, configured to determine the quality level of each type of data based on each type of data, each abnormal data that does not meet the quality evaluation index, and the weights of the multiple quality evaluation indexes; The determining module is also used for: The quality evaluation result of the target type data is determined using the following formula: q=w1*q1+w2*q2+w3*q3; Among them, q is the quality evaluation result of the target type data, w1 is the weight of accuracy, q1 is the proportion of abnormal data that does not meet the accuracy standard in the target type data, w2 is the weight of integrity, q2 is the proportion of abnormal data that does not meet the integrity standard in the target type data, w3 is the weight of timeliness, q3 is the proportion of abnormal data that does not meet the timeliness standard in the target type data; q2=W1*Q1+W2*Q2+W3*Q3, W1 is the weight of single missing, Q1 is the proportion of single missing missing data in the target type data, W2 is the weight of continuous missing small data, Q2 is the proportion of continuous missing small data in the target type data, W3 is the weight of continuous missing large data, Q3 is the proportion of continuous missing large data in the target type data; single missing refers to missing data without missing data before and after; continuous missing small data refers to data with at least one missing data before and after and the continuous number is less than the quantity threshold; continuous missing large data refers to data with at least one missing data before and after and the continuous number is greater than or equal to the quantity threshold; If the quality evaluation result of the target type data is greater than the quality threshold, it is determined that the quality level of the target type data meets the standard; If the quality evaluation result of the target type data is less than or equal to the quality threshold, it is determined that the quality level of the target type data does not meet the standard; The target type data is any type of data in the Internet of Vehicles data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
