Vehicle data verification method, device, electronic equipment and storage medium

By automating the numerical checksum item statistics of the vehicle data, the problem of low efficiency in checking abnormal data of the vehicle data is solved, and the efficiency of vehicle data verification is improved.

CN114936107BActive Publication Date: 2025-08-15SAIC GM WULING AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210548810.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-20
Publication Date
2025-08-15
Estimated Expiration
2042-05-20

AI Technical Summary

Technical Problem

In the prior art, the abnormal data check of vehicle data is inefficient, requires a lot of human resources and is relatively inefficient.

Method used

By obtaining the vehicle data to be verified, the preset numerical verification rules and project statistics are used to perform automated verification and statistics, including numerical verification, project statistics and group statistics, reducing manual processing and analysis.

Benefits of technology

Automatic verification and statistics of vehicle data are realized, the efficiency of abnormal data inspection is improved, the steps of manual processing are reduced, and the efficiency of vehicle data verification is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114936107B_ABST
    Figure CN114936107B_ABST
Patent Text Reader

Abstract

This application discloses a vehicle data verification method, device, electronic device, and storage medium. The vehicle data verification method comprises: obtaining vehicle data to be verified; performing numerical verification on the vehicle data to be verified according to preset numerical verification rules to obtain a numerical verification result; performing item statistics on the vehicle data to be verified according to preset item statistics rules to obtain an item statistics result; and outputting the numerical verification result and the item statistics result. This application solves the technical problem of low efficiency in abnormal data detection in vehicle data in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of parking technology, and in particular to a vehicle data verification method, device, electronic device and storage medium. Background Art

[0002] With the development of intelligent connected vehicles, more and more information data is being collected. To ensure the normal operation of connected functions and the effectiveness of connected application development, the collected data must be normal and valid. However, the data sent from the vehicle computer is not always correct. For example, information is lost during data transmission. The existing solution requires relevant personnel to check the vehicle data, identify abnormal data, and deal with it in a timely manner. However, the amount of vehicle data obtained is huge, and manual inspection and comparison of tens of thousands of cell data to ensure correctness, and even analysis and statistics of the data, requires a lot of human resources and is inefficient. Summary of the Invention

[0003] The main purpose of this application is to provide a vehicle data verification method, device, electronic equipment and storage medium, aiming to solve the technical problem of low efficiency in abnormal data detection of vehicle data in the existing technology.

[0004] To achieve the above objectives, the present application provides a vehicle data verification method, the vehicle data verification method comprising:

[0005] Obtain the vehicle data to be verified;

[0006] Performing numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result;

[0007] Performing project statistics on the vehicle data to be verified according to preset project statistics rules to obtain project statistics results;

[0008] Output the numerical verification result and the project statistical result.

[0009] Optionally, the step of performing numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result includes:

[0010] Determine preset numerical verification rules based on user operations;

[0011] Determining at least one field to be verified from the vehicle data to be verified according to the numerical verification rule;

[0012] Perform a numerical check on each of the fields to be checked according to the numerical check rule to obtain a numerical check result.

[0013] Optionally, the step of performing numerical verification on each of the fields to be verified according to the numerical verification rule to obtain a numerical verification result includes:

[0014] Determine the value range corresponding to each of the fields to be checked according to the value verification rule;

[0015] Detecting whether the data elements in each of the fields to be checked are within the corresponding numerical ranges;

[0016] If a first target data element that is not within the corresponding numerical range is detected, a numerical verification result indicating that the target field corresponding to the first target data element fails verification is generated.

[0017] Optionally, the step of performing project statistics on the vehicle data to be verified according to a preset project statistics rule to obtain project statistics results includes:

[0018] Determine preset project statistics rules based on user operations;

[0019] Determining at least one field to be counted from the vehicle data to be verified according to the item statistics rule;

[0020] Item statistics are performed on each of the fields to be counted according to the item statistics rules to obtain item statistics results.

[0021] Optionally, the step of performing item statistics on each of the fields to be checked according to a preset item statistics rule to obtain the item statistics result includes:

[0022] Determine at least one statistical condition corresponding to each of the fields to be checked according to the project statistical rule;

[0023] According to the statistical conditions corresponding to the fields to be checked, the number of second target data elements in the fields to be checked that meet the statistical conditions is accumulated according to the statistical conditions to obtain initial statistical results corresponding to the fields to be checked;

[0024] The initial statistical results are combined to obtain the project statistical results.

[0025] Optionally, after the step of obtaining the vehicle data to be verified, the method further includes:

[0026] According to a preset grouping statistical rule, at least one statistical group is determined from each of the vehicle data to be verified, wherein the statistical group is composed of at least one statistical field to be grouped;

[0027] Performing group statistics on each of the to-be-grouped statistical fields in each statistical group according to a preset group statistics rule to obtain a group statistics result;

[0028] Output the group statistics result.

[0029] Optionally, the grouping statistics rule includes a grouping statistics condition, and the step of performing grouping statistics on each group of fields to be grouped for statistics according to the preset grouping statistics rule includes:

[0030] sequentially determining whether the to-be-grouped statistical fields in each statistical group satisfy the corresponding statistical conditions for the grouping;

[0031] According to the number of target statistical groups that meet all group statistical conditions, group statistical results corresponding to the target statistical groups are generated.

[0032] The present application also provides a vehicle data verification device, which is applied to a vehicle data verification device, and includes:

[0033] The present application also provides an electronic device, which is a physical device, and includes: a memory, a processor, and a program of the vehicle whole vehicle data verification method stored on the memory and capable of running on the processor. When the program of the vehicle whole vehicle data verification method is executed by the processor, the steps of the vehicle whole vehicle data verification method as described above can be implemented.

[0034] The present application also provides a storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores a program for implementing a vehicle whole vehicle data verification method. When the program of the vehicle whole vehicle data verification method is executed by a processor, the steps of the vehicle whole vehicle data verification method as described above are implemented.

[0035] The present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the above-mentioned vehicle data verification method.

[0036] The present application provides a vehicle whole vehicle data verification method, device, electronic device and storage medium, which obtains the whole vehicle data to be verified; performs numerical verification on the whole vehicle data to be verified according to preset numerical verification rules to obtain numerical verification results; performs project statistics on the whole vehicle data to be verified according to preset project statistics rules to obtain project statistics results; and outputs the numerical verification results and the project statistics results, thereby realizing the automatic completion of the numerical verification and project statistics process of the whole vehicle data to be verified according to the numerical verification rules and the project statistics rules. The numerical verification rules and the project statistics rules only need to be preset once, and the preset numerical verification rules and project statistics rules can be reused to analyze and count the whole vehicle data, reducing the process of manual processing, analysis and statistics, greatly improving the efficiency of abnormal data screening of the whole vehicle data, and overcoming the technical problem of low efficiency of abnormal data screening of the whole vehicle data in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0039] Figure 1 This is a flow chart of an embodiment of a vehicle data verification method of the present application;

[0040] Figure 2 A schematic diagram of a scenario for an implementation of the vehicle data verification method of the present application;

[0041] Figure 3 This is a flow chart of another embodiment of the vehicle data verification method of the present application;

[0042] Figure 4 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the vehicle data verification method in the embodiment of the present application.

[0043] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0045] The present application provides a vehicle data verification method. In the first embodiment of the vehicle data verification method of the present application, referring to Figure 1 , the vehicle data verification method includes:

[0046] Step S10, obtaining the vehicle data to be verified;

[0047] In this embodiment, specifically, the whole vehicle data to be verified sent by the vehicle computer is obtained, wherein the whole vehicle data to be verified is the whole vehicle data to be verified sent by the vehicle computer, and the whole vehicle data to be verified is composed of at least one field, and different fields correspond to different vehicle parameters, for example, the ignition field, the speed field, the VIN (Vehicle Identification Number) field, etc. The data verification is a process of analyzing and / or counting the whole vehicle data to determine whether the whole vehicle data is valid and normal, including numerical verification, item statistics, group statistics, etc., wherein the numerical verification is a process of verifying whether the numerical size of the whole vehicle data to be verified is abnormal, and the item statistics is a statistical process of basic statistical items such as null value rate, zero value rate, abnormal value rate, invalid value rate, constant value rate and / or data time collection frequency for the whole vehicle data to be verified, the null value rate is the proportion of data elements with null values in the field in all data elements, and the zero value rate is the field The percentage of data elements with zero values in the field among all data elements, the abnormal value rate is the percentage of data elements in the field that fail the value check among all data elements, the invalid value rate is the percentage of data elements in the field that are determined to be invalid according to the preset invalidity judgment rules among all data elements. The invalidity judgment rules can be set according to actual conditions, and this embodiment does not impose any restrictions on this. The constant value rate is the percentage of data elements with the same value that are continuously collected in the field that exceed a preset number among all data elements. The group statistics is the process of performing statistics on the vehicle data to be verified corresponding to each group after the vehicle data to be verified is split and grouped.

[0048] In one practicable manner, after the step of obtaining the vehicle data to be verified, the step further includes extracting at least one initial field from the vehicle data to be verified according to a preset field extraction rule, and storing the initial field. In this embodiment, the field extraction rule can be pre-set according to actual conditions, and this embodiment does not impose any restrictions on this. By splitting the vehicle data to be verified into initial fields according to a unified field extraction rule and storing them, standard initial fields can be obtained, so that when subsequent data verification such as numerical verification, project statistics and / or group statistics is performed, the required initial fields can be quickly and accurately obtained, thereby improving the efficiency and accuracy of vehicle data verification.

[0049] Step S20, performing numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result;

[0050] In this embodiment, it should be noted that the numerical verification rule is a rule for analyzing and / or counting the numerical values corresponding to each field in the whole vehicle data, including a numerical verification tag and a numerical range. The numerical verification tag is used to determine whether the field is numerically verified, and the numerical range is used to determine whether the numerical value corresponding to the field has passed the verification. The numerical verification rule can be pre-set according to actual conditions, big data or actual vehicle test results. For example, the VIN field is not numerically verified, the vehicle speed field is verified and the corresponding value is greater than a km / h, the ignition field is verified and the corresponding value is b or c, etc. It is easy to understand that the numerical range can be the numerical range corresponding to the numerical verification passing, or the numerical range corresponding to the numerical verification failing.

[0051] Specifically, according to the preset numerical verification rules, a numerical verification is performed on the numerical value corresponding to at least one initial field in the vehicle data to be verified, and it is determined whether each initial field meets the requirements of the preset numerical verification rules to obtain a numerical verification result, wherein the numerical verification result can be a judgment result of whether the numerical verification fails or passes, or it can be an initial field that passes and / or fails the numerical verification, for example, the vehicle speed field verification fails, the ignition field verification passes, etc., or it can be an initial field that passes and / or fails the numerical verification and specific numerical verification information, for example, the vehicle speed field a km / h is greater than b km / h, the verification fails, c hours, d minutes, e seconds, the gear field is f, the verification passes, etc.

[0052] Optionally, the step of performing numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result includes:

[0053] Step S21, determining a preset value verification rule based on user operation;

[0054] In this embodiment, specifically, user operations are detected, and preset numerical verification rules are determined based on the detected user operations, wherein the user operation can be selecting a target numerical verification rule from preset historical numerical verification rules as the preset numerical verification rule, or selecting and modifying the preset historical numerical verification rules, and using the modified target numerical verification rule as the preset numerical verification rule, or creating a new target numerical verification rule, and using the new target numerical verification rule as the preset numerical verification rule.

[0055] In one practicable embodiment, the step of modifying the historical numerical value verification rule includes: obtaining a historical numerical value verification rule selected by a user, and modifying the numerical value verification tag and / or numerical range corresponding to at least one field to be modified in the historical numerical value verification rule based on the user operation, to obtain a target numerical value verification rule. In another practicable embodiment, the step of obtaining the target numerical value verification rule may further include replacing the historical numerical value verification rule before modification with the target numerical value verification rule, or saving the target numerical value verification rule as a new historical numerical value verification rule.

[0056] In one practicable manner, the step of creating a new target numerical verification rule includes: determining in turn whether each field in the vehicle data to be verified requires numerical verification, and determining the numerical range corresponding to the field to be verified that requires numerical verification.

[0057] Step S22, determining at least one field to be verified from the vehicle data to be verified according to the numerical verification rule;

[0058] In this embodiment, specifically, according to at least one numerical verification tag corresponding to the numerical verification rule, at least one field to be verified corresponding to each numerical verification tag is determined from the vehicle data to be verified.

[0059] Step S23: performing a numerical check on each of the fields to be checked according to the numerical check rule to obtain a numerical check result.

[0060] In this embodiment, specifically, the numerical range corresponding to each field to be checked is determined according to the numerical verification rule, and it is verified whether the numerical value corresponding to each field to be checked is within the corresponding numerical range to obtain a numerical verification result.

[0061] Optionally, the step of performing numerical verification on each of the fields to be verified according to the numerical verification rule to obtain a numerical verification result includes:

[0062] Step S231, determining the value range corresponding to each of the fields to be checked according to the value verification rule;

[0063] Step S232, detecting whether the data elements in each of the fields to be checked are within the corresponding numerical ranges;

[0064] Step S233: If a first target data element is detected that is not within the corresponding numerical range, a numerical verification result indicating that the target field corresponding to the first target data element fails verification is generated.

[0065] In this embodiment, specifically, the numerical range corresponding to each of the fields to be checked is determined according to the numerical verification rules, and the numerical size of the data element in each of the fields to be checked is detected to see whether it is within the corresponding numerical range. If a first target data element is detected whose value is not within the corresponding numerical range, a numerical verification result indicating that the target field corresponding to the first target data element has failed the verification is generated. If it is detected that the values of the data elements in each of the fields to be checked are all within the corresponding numerical range, a numerical verification result indicating that the numerical verification has passed is generated.

[0066] Step S30, performing project statistics on the vehicle data to be verified according to a preset project statistics rule to obtain a project statistics result;

[0067] In this embodiment, it should be noted that the project statistical rules are statistical rules for basic statistical items such as null value rate, zero value rate, abnormal value rate, invalid value rate, constant value rate and / or time collection frequency of data for each field in the whole vehicle data, including project statistical labels and statistical conditions. The project statistical labels are used to determine whether to perform project statistics on the field, and the statistical conditions are used to determine whether to accumulate statistical quantities based on whether the data elements in the field meet the statistical conditions. The statistical conditions can be that the value of the data element is zero, the value of the data element is null, the value of the data element fails to pass the numerical verification, etc. The project statistical rules can be pre-set according to actual conditions, big data or actual vehicle test results. For example, the project statistical rules can be to perform null value rate statistics on each field, to perform invalid value rate statistics on field A, field B and field C, to perform abnormal value rate statistics on all fields, and to perform constant value rate statistics on field A, etc.

[0068] Specifically, according to the preset project statistics rules, the fields that need to be subjected to project statistics and at least one statistical condition corresponding to each of the fields that need to be subjected to project statistics are determined, and it is judged whether the data elements in each field that need to be subjected to project statistics meet the corresponding statistical conditions. The statistical quantities corresponding to the statistical conditions are accumulated for the data elements that meet the statistical conditions. When all statistical conditions are judged for all data elements in a field, calculations are performed separately based on the accumulated statistics to obtain the project statistical results of at least one basic statistical item corresponding to the field. It is easy to understand that since a field can correspond to one or more statistical conditions, for different statistical conditions, the statistics are accumulated and counted independently. Since the statistical conditions for project statistics of one or more fields may be the same or different, for the same statistical conditions, the statistics between different fields may be superimposed or not superimposed.

[0069] It is easy to understand that step S20 and step S30 can be performed in any order and can also be performed simultaneously.

[0070] In one practicable manner, referring to Figure 2 , the manner in which step S20 and step S30 are performed synchronously includes:

[0071] According to a preset numerical verification rule and a preset project statistical rule, a numerical verification tag and a project statistical tag are added to at least one initial field in the vehicle data to be verified, wherein the project statistical tag includes a true flag and a false flag, the true flag indicates that the field needs to be counted, and the false flag indicates that the field does not need to be counted. The numerical verification tag and the project statistical tag are checked for the initial fields in the vehicle data to be verified from left to right. If the initial field has a numerical verification tag, the numerical range corresponding to the initial field is determined according to the numerical verification rule, and each data element of the initial field from top to bottom is judged in turn to see whether it is within the corresponding numerical range. The data elements that are not within the corresponding numerical range are stored as the numerical verification result. If the project statistical tag of the initial field is a true flag, the statistical condition corresponding to the initial field is determined according to the project statistical rule, and each data element of the initial field from top to bottom is judged in turn to see whether it meets the statistical condition. When a data element that meets the condition is detected, the statistic is increased by one until all data elements in the initial field complete the project statistics, and the project statistical result is determined based on the accumulated statistics.

[0072] Optionally, the step of performing project statistics on the vehicle data to be verified according to a preset project statistics rule to obtain project statistics results includes:

[0073] Step S31, determining a preset project statistics rule based on user operation;

[0074] In this embodiment, specifically, user operations are detected, and preset project statistical rules are determined based on the detected user operations, wherein the user operation can be selecting a target project statistical rule from preset historical project statistical rules as the preset project statistical rule, can be selecting and modifying the rules from preset historical project statistical rules, and using the modified target project statistical rule as the preset project statistical rule, or can be creating a new target project statistical rule and using the new target project statistical rule as the preset project statistical rule.

[0075] In one practicable embodiment, the step of modifying the historical project statistical rule includes: obtaining a historical project statistical rule selected by a user, and modifying the project statistical label and / or statistical condition corresponding to at least one to-be-modified field in the historical project statistical rule based on the user's operation, to obtain a target project statistical rule. In one practicable embodiment, the step of obtaining the target project statistical rule may further include replacing the historical project statistical rule before modification with the target project statistical rule, or saving the target project statistical rule as a new historical project statistical rule.

[0076] In one practicable manner, the step of creating a new target project statistical rule includes: determining in turn whether each field in the vehicle data to be verified requires project statistics, and determining at least one statistical condition corresponding to the field to be verified that requires project statistics.

[0077] Step S32, determining at least one field to be counted from the vehicle data to be verified according to the item statistics rule;

[0078] In this embodiment, specifically, according to at least one item statistical tag corresponding to the item statistical rule, at least one field to be counted corresponding to each item statistical tag is determined from the vehicle data to be verified.

[0079] Step S33: performing item statistics on each of the fields to be counted according to the item statistics rule to obtain item statistics results.

[0080] In this embodiment, specifically, at least one statistical condition corresponding to each of the fields to be counted is determined according to the project statistical rules, and whether the data elements in each of the fields to be counted meet the corresponding statistical conditions is judged respectively (for example, both field A to be counted and field B to be counted need to perform null value rate statistics, then the null value rate corresponding to field A to be counted and the null value rate corresponding to field B to be counted are counted respectively), and the statistical quantities corresponding to the data elements that meet different statistical conditions are accumulated respectively (for example, field A to be counted needs to perform null value rate and invalid value rate statistics, wherein data element a1 is a null value and an invalid value, then the statistics corresponding to the null value rate and the statistics corresponding to the invalid value are accumulated respectively), and when all statistical conditions are determined for all data elements in a field, calculations are performed respectively according to the accumulated statistics to obtain the project statistical results of at least one basic statistical item.

[0081] Optionally, the step of performing item statistics on each of the fields to be checked according to a preset item statistics rule to obtain the item statistics result includes:

[0082] Step S331, determining at least one statistical condition corresponding to each of the fields to be checked according to the project statistical rule;

[0083] Step S332: Based on the statistical conditions corresponding to the fields to be checked, the number of second target data elements in the fields to be checked that meet the statistical conditions is accumulated according to the statistical conditions to obtain initial statistical results corresponding to the fields to be checked.

[0084] Step S333: Merge the initial statistical results to obtain the project statistical results.

[0085] In this embodiment, specifically, at least one statistical condition corresponding to each of the fields to be checked is determined according to the project statistical rules, and according to each of the statistical conditions corresponding to each of the fields to be checked, the number of second target data elements in the fields to be checked that meet each of the statistical conditions is accumulated according to the statistical conditions to obtain the initial statistical results of each statistical condition corresponding to each field to be checked, and the initial statistical results are merged into the project statistical results.

[0086] Step S40: output the numerical verification result and the project statistical result.

[0087] In this embodiment, specifically, the numerical verification result and the item statistical result are output and displayed.

[0088] In this embodiment, by obtaining the whole vehicle data to be verified; performing numerical verification on the whole vehicle data to be verified according to the preset numerical verification rules to obtain the numerical verification results; performing project statistics on the whole vehicle data to be verified according to the preset project statistics rules to obtain the project statistics results; and outputting the numerical verification results and the project statistics results, the process of automatically completing the numerical verification and project statistics of the whole vehicle data to be verified according to the numerical verification rules and the project statistics rules is realized. The numerical verification rules and the project statistics rules only need to be preset once, and the preset numerical verification rules and project statistics rules can be reused to analyze and count the whole vehicle data, which reduces the process of manual processing, analysis and statistics, greatly improves the efficiency of abnormal data screening of the whole vehicle data, and overcomes the technical problem of low efficiency of abnormal data screening of the whole vehicle data in the prior art.

[0089] Further, refer to Figure 2 Based on the above embodiment of the present application, in another embodiment of the present application, the same or similar contents as the above embodiment can be referred to the above introduction and will not be repeated hereafter. On this basis, after the step of obtaining the vehicle data to be verified, it also includes:

[0090] Step A10: determining at least one statistical group from each of the vehicle data to be verified according to a preset grouping statistical rule, wherein the statistical group is composed of at least one statistical field to be grouped;

[0091] Step A20, performing group statistics on each of the to-be-grouped statistical fields in each statistical group according to a preset group statistics rule to obtain a group statistics result;

[0092] In this embodiment, specifically, according to the list of to-be-grouped statistical fields corresponding to the preset grouping statistical rules, at least one statistical group and the to-be-grouped statistical fields corresponding to each statistical group are determined from each of the vehicle data to be verified, and according to the preset grouping statistical rules, each of the to-be-grouped statistical fields in each statistical group is grouped and counted respectively to obtain a grouping statistical result, wherein the grouping statistical rule is a rule for performing statistics on two or more fields, including a list of grouping statistical fields, a grouping rule, and statistical conditions corresponding to each group of to-be-grouped statistical fields in the list, wherein the grouping rule can be set according to actual conditions, for example, the data elements of each row or column in the list can be grouped, or Data elements with the same time information are grouped together, and data elements collected at the same time can also be grouped together. In one feasible manner, the grouping statistical rule can be to group and count the data elements of the vehicle speed field and the ignition field collected each time, and count the number of times the value corresponding to the vehicle speed field is greater than 0 and the value corresponding to the ignition field is represented as the number of times the ignition is not ignited, that is, the list of grouping statistical fields is the vehicle speed field and the ignition field, and the grouping rule is to group the data elements collected at the same time, and the statistical condition corresponding to the vehicle speed field is that the value is greater than 0, and the statistical condition corresponding to the ignition field is that the value is a preset non-ignition value. The grouping statistical result can be the numerical result of the grouping statistics, or it can be the information of the data element corresponding to the grouping statistical result.

[0093] Optionally, the grouping statistics rule includes a statistical condition, and the step of performing group statistics on each of the fields to be grouped for statistics according to the preset grouping statistics rule includes:

[0094] Step A21, determining in turn whether the fields to be grouped in the statistical groups meet the corresponding statistical conditions for grouping;

[0095] Step A22: generating group statistical results corresponding to the target statistical groups according to the number of the target statistical groups that meet all the group statistical conditions.

[0096] In this embodiment, specifically, each group includes at least one statistical field to be grouped, and each statistical field with grouping has its own corresponding statistical condition for grouping. The statistical fields to be grouped in each statistical group are judged in turn to see whether they all meet their corresponding statistical conditions for grouping. If all statistical fields with grouping in the group meet their corresponding statistical conditions for grouping, a statistical addition operation is performed until all groups complete the determination of the statistical conditions for grouping. Based on the accumulated statistics, the group statistical results corresponding to the target statistical group are generated.

[0097] Step A30: output the group statistics result.

[0098] In this embodiment, specifically, the group statistics result is output and displayed.

[0099] In this embodiment, a complex statistical process of multiple fields is realized through group statistics. For many fields, they may be normal data when analyzed independently, but there are logical errors when analyzed together. For example, the vehicle speed greater than 0 is analyzed independently as normal data, and the ignition gear is in the unignited state as normal data, but the vehicle speed greater than 0 and the ignition gear is in the unignited state are abnormal data. Therefore, a variety of logical combinations are set according to actual conditions, and multiple groups of group statistical conditions are set. When a group of data meets the group statistical conditions, anomalies may occur, and then the statistical variables in the group can be customized according to actual needs, which can meet complex statistical needs, and only one preset is needed to repeatedly realize complex multi-field group statistics, which greatly improves the efficiency and effect of abnormal data detection for the entire vehicle data.

[0100] Furthermore, an embodiment of the present application also provides a vehicle data verification device, which is applied to a vehicle data verification device, and the vehicle data verification device includes:

[0101] Acquisition module, used to obtain the vehicle data to be verified;

[0102] A numerical verification module is used to perform numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result;

[0103] A project statistics module is used to perform project statistics on the vehicle data to be verified according to preset project statistics rules to obtain project statistics results;

[0104] The output module is used to output the numerical verification results and the project statistical results.

[0105] Optionally, the numerical verification module is further configured to:

[0106] Determine preset numerical verification rules based on user operations;

[0107] Determining at least one field to be verified from the vehicle data to be verified according to the numerical verification rule;

[0108] Perform a numerical check on each of the fields to be checked according to the numerical check rule to obtain a numerical check result.

[0109] Optionally, the numerical verification module is further configured to:

[0110] Determine the value range corresponding to each of the fields to be checked according to the value verification rule;

[0111] Detecting whether the data elements in each of the fields to be checked are within the corresponding numerical ranges;

[0112] If a first target data element that is not within the corresponding numerical range is detected, a numerical verification result indicating that the target field corresponding to the first target data element fails verification is generated.

[0113] Optionally, the project statistics module is further used to:

[0114] Determine preset project statistics rules based on user operations;

[0115] Determining at least one field to be counted from the vehicle data to be verified according to the item statistics rule;

[0116] Item statistics are performed on each of the fields to be counted according to the item statistics rules to obtain item statistics results.

[0117] Optionally, the project statistics module is further used to:

[0118] Determine at least one statistical condition corresponding to each of the fields to be checked according to the project statistical rule;

[0119] According to the statistical conditions corresponding to the fields to be checked, the number of second target data elements in the fields to be checked that meet the statistical conditions is accumulated according to the statistical conditions to obtain initial statistical results corresponding to the fields to be checked;

[0120] The initial statistical results are combined to obtain the project statistical results.

[0121] Optionally, the vehicle data verification device further includes a group statistics module, which is further used to:

[0122] According to a preset grouping statistical rule, at least one statistical group is determined from each of the vehicle data to be verified, wherein the statistical group is composed of at least one statistical field to be grouped;

[0123] Performing group statistics on each of the to-be-grouped statistical fields in each statistical group according to a preset group statistics rule to obtain a group statistics result;

[0124] Output the group statistics result.

[0125] Optionally, the group statistics module is further configured to:

[0126] sequentially determining whether the to-be-grouped statistical fields in each statistical group satisfy the corresponding statistical conditions for the grouping;

[0127] According to the number of target statistical groups that meet all group statistical conditions, group statistical results corresponding to the target statistical groups are generated.

[0128] The vehicle data verification device provided by the present invention utilizes the vehicle data verification method described in the above-mentioned embodiments, resolving the technical issue of low efficiency in troubleshooting abnormal vehicle data in the prior art. Compared to the prior art, the vehicle data verification device provided by the present invention achieves the same beneficial effects as the vehicle data verification method described in the above-mentioned embodiments. Other technical features of the vehicle data verification device are the same as those disclosed in the above-mentioned embodiments and are not further elaborated here.

[0129] Furthermore, an embodiment of the present invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle data verification method in the above embodiment.

[0130] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0131] like Figure 4 As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0132] Typically, the following systems can be connected to the I / O interface: input devices such as a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices such as a magnetic tape, hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figures show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.

[0133] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0134] The electronic device provided by the present invention utilizes the vehicle data verification method described in the above-mentioned embodiment, resolving the technical issue of low efficiency in detecting abnormal vehicle data in the prior art. Compared to the prior art, the electronic device provided by the present invention has the same beneficial effects as the vehicle data verification method described in the above-mentioned embodiment. Other technical features of the electronic device are the same as those disclosed in the above-mentioned embodiment and are not further described here.

[0135] It should be understood that various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in an appropriate manner.

[0136] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

[0137] Furthermore, this embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the vehicle data verification method in the above embodiment.

[0138] The computer-readable storage medium provided in the embodiment of the present invention can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0139] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0140] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device is enabled to: obtain the whole vehicle data to be verified; perform numerical verification on the whole vehicle data to be verified according to preset numerical verification rules to obtain numerical verification results; perform project statistics on the whole vehicle data to be verified according to preset project statistical rules to obtain project statistical results; and output the numerical verification results and the project statistical results.

[0141] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0142] The flow charts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0143] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.

[0144] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above-described vehicle data verification method, resolving the technical issue of low efficiency in detecting abnormal data in vehicle data in the prior art. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiments of the present invention are similar to those of the vehicle data verification method provided by the above-described embodiments, and are not further elaborated here.

[0145] Furthermore, the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vehicle data verification method when executed by a processor.

[0146] The computer program product provided by this application solves the technical problem of low efficiency in detecting abnormal data in vehicle data in the prior art. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the vehicle data verification method provided by the above embodiment, and will not be repeated here.

[0147] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A vehicle data verification method, characterized in that: The vehicle data verification method includes: Obtain the vehicle data to be verified; According to a preset grouping statistical rule, at least one statistical group is determined from each of the vehicle data to be verified, wherein the statistical group is composed of at least one statistical field to be grouped, and the grouping statistical rule includes a grouping statistical condition; sequentially determining whether the to-be-grouped statistical fields in each statistical group satisfy the corresponding statistical conditions for the grouping; Generating group statistical results corresponding to the target statistical groups according to the number of target statistical groups that meet all group statistical conditions; Performing numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result; Performing project statistics on the vehicle data to be verified according to preset project statistics rules to obtain project statistics results; Output the group statistical results, the numerical verification results and the item statistical results.

2. The vehicle data verification method according to claim 1, characterized in that: The step of performing numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result includes: Determine preset numerical verification rules based on user operations; Determining at least one field to be verified from the vehicle data to be verified according to the numerical verification rule; Perform a numerical check on each of the fields to be checked according to the numerical check rule to obtain a numerical check result.

3. The vehicle data verification method according to claim 2, characterized in that: The step of performing numerical verification on each of the fields to be verified according to the numerical verification rule to obtain a numerical verification result includes: Determine the value range corresponding to each of the fields to be checked according to the value verification rule; Detecting whether the data elements in each of the fields to be checked are within the corresponding numerical ranges; If a first target data element that is not within the corresponding numerical range is detected, a numerical verification result indicating that the target field corresponding to the first target data element fails verification is generated.

4. The vehicle data verification method according to claim 1, characterized in that: The step of performing item statistics on the vehicle data to be verified according to a preset item statistics rule to obtain item statistics results includes: Determine preset project statistics rules based on user operations; Determining at least one field to be counted from the vehicle data to be verified according to the item statistics rule; Item statistics are performed on each of the fields to be counted according to the item statistics rules to obtain item statistics results.

5. The vehicle data verification method according to claim 4, characterized in that: The step of performing item statistics on each of the fields to be counted according to the item statistics rule to obtain the item statistics result comprises: Determine at least one statistical condition corresponding to each of the fields to be counted according to the project statistical rule; According to the statistical conditions corresponding to the fields to be counted, the number of second target data elements that meet the statistical conditions in the fields to be counted is accumulated according to the statistical conditions to obtain initial statistical results corresponding to the fields to be counted; The initial statistical results are combined to obtain the project statistical results.

6. A vehicle data verification device, characterized in that: The vehicle data verification device includes: Acquisition module, used to obtain the vehicle data to be verified; The acquisition module is further configured to determine at least one statistical group from each of the vehicle data to be verified according to a preset grouping statistical rule, wherein the statistical group is composed of at least one statistical field to be grouped, and the grouping statistical rule includes a grouping statistical condition; sequentially determining whether the to-be-grouped statistical fields in each statistical group satisfy the corresponding statistical conditions for the grouping; Generating group statistical results corresponding to the target statistical groups according to the number of target statistical groups that meet all group statistical conditions; A numerical verification module is used to perform numerical verification on the vehicle data to be verified according to a preset numerical verification rule to obtain a numerical verification result; A project statistics module is used to perform project statistics on the vehicle data to be verified according to preset project statistics rules to obtain project statistics results; The output module is used to output the group statistical results, the numerical verification results and the project statistical results.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the vehicle full vehicle data verification method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a program for implementing the vehicle whole vehicle data verification method is stored on the computer-readable storage medium. The program for implementing the vehicle whole vehicle data verification method is executed by a processor to implement the steps of the vehicle whole vehicle data verification method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data checking method and device, storage medium and electronic equipment

    CN112988780A

  • Internet of vehicles data verification method, apparatus and device, and storage medium

    CN113672990A