A blockchain-based automobile service security assurance method and system

Analyzing automobile sensor data through blockchain technology, calculating the degree of anomaly and similarity, and screening abnormal sensors solves the problem of low efficiency and accuracy of automobile fault detection and achieves efficient and accurate fault prediction.

CN117132266BActive Publication Date: 2024-08-27SHANDONG FOUR SEASONS AUTOMOBILE SERVICE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202311384622.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2024-08-27
Estimated Expiration
2043-10-25

AI Technical Summary

Technical Problem

In automobile fault detection, due to the difference and correlation of sensor data, the fault detection efficiency and accuracy are reduced, and it is difficult to effectively analyze and screen abnormal sensors with existing technology.

Method used

Obtain the sensor data of the faulty car through blockchain technology, calculate the abnormality and similarity of each sensor, perform clustering and eigenvalue analysis, screen out abnormal sensors, and predict the fault type based on the abnormal eigenvalues.

Benefits of technology

It improves the efficiency and accuracy of fault detection, simplifies the maintenance process, and ensures rapid identification and accurate prediction of vehicle faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117132266B
    Figure CN117132266B
Patent Text Reader

Abstract

The present invention relates to the field of electronic digital data processing technology, and in particular to a method and system for ensuring the safety of automobile services based on blockchain. The method obtains data from each sensor of a faulty automobile as participating data; obtains the degree of abnormality of each sensor according to changes in the participating data, and screens out abnormal sensors; then obtains the degree of similarity of the same abnormal sensor between any two faulty automobiles, performs clustering, and obtains each performance situation of the participating data of the same abnormal sensor corresponding to each fault; obtains the degree of influence according to the number and degree of abnormality of the abnormal sensors in each performance situation, determines the abnormal characteristic value of each abnormal sensor corresponding to each fault, and predicts the type of fault that may occur in the automobile. The present invention accurately and efficiently predicts the type of fault that may occur in the automobile according to the abnormal characteristic value of each abnormal sensor corresponding to each fault, thereby improving the efficiency and accuracy of fault detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic digital data processing, and in particular to a blockchain-based automobile service security assurance method and system. Background Art

[0002] Blockchain technology is a distributed database technology that provides more secure and reliable protection for automotive services through its decentralization, immutability, and traceability.

[0003] When collecting car data, each sensor is used to obtain and store various car data in real time. When a car breaks down, it is convenient for maintenance personnel to check based on the real-time sensor data. However, due to the large variety of car equipment and systems, the corresponding sensor data performance is also different. At the same time, there is a certain correlation between the data of each sensor. Therefore, during the maintenance process, the data of each sensor is analyzed and checked to infer the car's fault, which reduces the efficiency of car fault detection and the accuracy of fault monitoring. Summary of the invention

[0004] In order to solve the technical problem that the efficiency of automobile fault detection is reduced and the accuracy of fault monitoring is reduced by analyzing the data of each automobile sensor, the purpose of the present invention is to provide a blockchain-based automobile service security method and system, and the technical solutions adopted are as follows:

[0005] In a first aspect, an embodiment of the present invention provides a blockchain-based automobile service security assurance method, the method comprising the following steps:

[0006] Obtain the data of each sensor of the faulty vehicle at each moment within a preset time period as participating data;

[0007] According to the changes in the participating data, the abnormality degree of each sensor in each faulty car corresponding to each fault is obtained, and the abnormal sensors in the faulty car corresponding to each fault are screened out;

[0008] According to the participation data and abnormality degree of the same abnormal sensor between any two faulty cars corresponding to each fault, the similarity degree of the same abnormal sensor between any two faulty cars corresponding to each fault is obtained;

[0009] According to the similarity, the same abnormal sensors corresponding to each fault are clustered, and the obtained clusters are used as each performance of the participating data of the same abnormal sensors corresponding to each fault;

[0010] According to the number and abnormal degree of abnormal sensors in each performance situation of the participating data of each abnormal sensor corresponding to each fault, the influence degree of each performance situation is obtained, and the abnormal characteristic value of each abnormal sensor corresponding to each fault is determined;

[0011] Predict the type of possible vehicle failure based on abnormal feature values.

[0012] Furthermore, the method for obtaining the abnormality degree is:

[0013] Any sensor in a faulty car corresponding to a certain fault is used as a target sensor;

[0014] Fitting the predicted normal data of the target sensor when the faulty vehicle is driving normally within a preset time period;

[0015] Obtain the difference between the participating data of the target sensor at each moment in the preset time period and the predicted normal data as the residual value at each moment;

[0016] Obtain the difference between the participation data of the target sensor at each moment and the participation data at the next adjacent moment as the trend change value at each moment;

[0017] According to the residual value and trend change value of the target sensor at each moment, the abnormality degree of the target sensor in the faulty vehicle corresponding to the fault is obtained.

[0018] Furthermore, the calculation formula of the abnormality degree is:

[0019]

[0020] In the formula, is the abnormality degree of the jth sensor in the kth faulty car corresponding to the i-th fault; T is the total number of times the jth sensor in the kth faulty car corresponding to the i-th fault collects participating data within the preset time period; is the residual value of the jth sensor in the kth faulty car corresponding to the i-th fault at the tth moment within the preset time period; is the maximum residual value of the jth sensor in the kth faulty car corresponding to the i-th fault within the preset time period; is the trend change value of the jth sensor in the kth faulty car corresponding to the i-th fault at the tth moment within the preset time period; is the trend change value of the jth sensor in the kth faulty car corresponding to the i-th fault at the vth moment within the preset time period; l is the first preset number; norm is the normalization function; is the absolute value function.

[0021] Furthermore, the method for acquiring the abnormal sensor is:

[0022] When the abnormality degree of the sensor is greater than a preset abnormality degree threshold, the sensor is an abnormal sensor in the faulty vehicle corresponding to the corresponding fault.

[0023] Furthermore, the method for obtaining the similarity degree is:

[0024] By using image matching technology, similarity values ​​of participating data of the same abnormal sensor between any two faulty vehicles corresponding to each fault are obtained as first similarity values;

[0025] Obtaining the difference in abnormality degree of the same abnormal sensor between any two faulty vehicles corresponding to each fault as the first difference;

[0026] According to the first similarity value and the first difference, the similarity degree of the same abnormal sensor between any two faulty vehicles corresponding to the same fault is obtained.

[0027] Furthermore, the calculation formula of the similarity is:

[0028]

[0029] In the formula, is the similarity of the u-th abnormal sensor between the a-th faulty car and the b-th faulty car corresponding to the i-th fault; is the first similarity value; is the abnormality degree of the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault; is the abnormality degree of the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault; e is a natural constant; norm is a normalization function; is the absolute value function.

[0030] Furthermore, the calculation formula for the degree of influence is:

[0031]

[0032] In the formula, is the influence degree of the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of abnormal sensors in the h-th performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of the u-th abnormal sensors corresponding to the i-th fault; is the average value of the abnormal degree of the abnormal sensor in the h-th performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of each performance condition of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the mean value of the abnormal degree of the abnormal sensor in the xth performance situation of the participating data of the uth abnormal sensor corresponding to the i-th fault; is the second preset constant, which is greater than 0; is the absolute value function.

[0033] Furthermore, the method for obtaining the abnormal characteristic value is:

[0034] For any fault corresponding to any abnormal sensor, obtain the impact degree of each performance condition of the abnormal sensor;

[0035] The performance corresponding to the maximum impact level is used as the target performance;

[0036] The average value of the abnormal degree of each abnormal sensor in the target performance situation is obtained as the abnormal characteristic value of the abnormal sensor corresponding to the fault.

[0037] Furthermore, the method for predicting the possible fault type of the automobile according to the abnormal characteristic value is:

[0038] Obtaining the difference between the abnormality degree of each sensor of the vehicle to be tested and the abnormal characteristic value of each fault type corresponding to the same abnormal sensor as the second difference;

[0039] The fault type corresponding to the smallest second difference is used as the possible fault type of the tested vehicle.

[0040] In the second aspect, another embodiment of the present invention provides a blockchain-based automobile service security system, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of any one of the above methods are implemented.

[0041] The present invention has the following beneficial effects:

[0042] According to the changes in the participating data, the abnormality level of each sensor in each faulty car corresponding to each fault is obtained, and the abnormal sensors in the faulty car corresponding to each fault are screened out, and then only the abnormal sensors are analyzed to improve efficiency; according to the participating data and abnormality level of the same abnormal sensor between any two faulty cars corresponding to each fault, the similarity level of the same abnormal sensor between any two faulty cars corresponding to each fault is obtained, and it is determined whether the performance of the participating data of the same abnormal sensor for the same fault is the same, and each performance situation of the participating data of each abnormal sensor corresponding to each fault is determined. Therefore, according to the similarity level, the same abnormal sensor corresponding to each fault is clustered, and the obtained clustering cluster is used as each performance situation of the participating data of the same abnormal sensor corresponding to each fault. The number and abnormality level of abnormal sensors in each performance situation of the participating data are analyzed to obtain the degree of influence of each performance situation, and then the abnormal characteristic value of each abnormal sensor corresponding to each fault is accurately determined, and the type of possible fault of the car is accurately and efficiently predicted based on the abnormal characteristic value. The present invention determines the abnormal characteristic value of each abnormal sensor corresponding to each fault by analyzing the performance of abnormal sensor data of faulty vehicles with known fault types, and then directly compares the abnormal degree of each sensor of the vehicle to be tested with the abnormal characteristic value of the corresponding abnormal sensor to determine the type of fault that may occur in the vehicle to be tested, thereby improving the efficiency and accuracy of fault detection and facilitating maintenance personnel to perform repairs in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 A flowchart of a blockchain-based automobile service security assurance method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a blockchain-based automobile service security method proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0047] The following is a detailed description of a specific solution of a blockchain-based automobile service security method provided by the present invention in conjunction with the accompanying drawings.

[0048] See also Figure 1 , which shows a flowchart of a blockchain-based automobile service security method provided by an embodiment of the present invention, the method comprising the following steps:

[0049] Step S1: Obtain data from each sensor of the faulty vehicle at each moment within a preset time period as participating data.

[0050] Specifically, the data of each sensor at each moment within the preset time period of M faulty cars in the repair service plant is obtained through the blockchain as the participating data. In the embodiment of the present invention, M is set to 1000, the preset time period is set to the length of the month before the faulty car arrives at the repair service plant, and the time interval between each two adjacent moments of each sensor is 1 second. The implementer can set the size of M, the length of the preset time period and the size of the time interval according to the actual situation, which is not limited here.

[0051] M faulty cars are classified according to the fault type, and the participating data of the sensors in each faulty car corresponding to each fault type are analyzed to obtain the abnormal sensors in each faulty car corresponding to each fault, and the participating data of the same abnormal sensor corresponding to each fault are analyzed to obtain the abnormal characteristic value of each abnormal sensor corresponding to each fault. The data of each sensor of the tested car is analyzed to obtain the abnormal degree of each sensor of the tested car, and compared with the abnormal characteristic value of each sensor corresponding to each fault, so as to accurately and efficiently determine the possible fault type of the tested car, and facilitate the maintenance personnel to perform accurate maintenance.

[0052] Step S2: According to the changes in the participating data, the abnormality degree of each sensor in each faulty car corresponding to each fault is obtained, and the abnormal sensors in the faulty car corresponding to each fault are screened out.

[0053] Specifically, a faulty car may have multiple faults, and one fault in a faulty car may correspond to multiple sensors. Since the types and systems of faulty cars are different, the causes of the same fault in different faulty cars are different. Therefore, the types of sensors corresponding to the same fault in different faulty cars are different. The embodiment of the present invention analyzes the participation data of each sensor in each faulty car, obtains the abnormality degree of each sensor in each faulty car corresponding to each fault, and then determines the abnormal sensor corresponding to each fault in each faulty car.

[0054] Preferably, the method for obtaining the degree of abnormality is: taking any sensor in a faulty car corresponding to a certain fault as a target sensor; fitting the predicted normal data of the target sensor when the faulty car is driving normally within a preset time period; obtaining the difference between the participation data and the predicted normal data of the target sensor at each moment in the preset time period as the residual value at each moment; obtaining the difference between the participation data of the target sensor at each moment and the participation data at the next adjacent moment as the trend change value at each moment; according to the residual value and trend change value of the target sensor at each moment, obtaining the degree of abnormality of the target sensor in the faulty car corresponding to the fault.

[0055] As an example, taking the jth sensor in the kth faulty car corresponding to the i-th fault as an example, the jth sensor is the target sensor. According to the data of the jth sensor at each moment when the kth faulty car is driving normally recorded in the blockchain, the predicted normal data of the jth sensor when the kth faulty car is driving normally within the preset time period is fitted, that is, when the kth faulty car does not fail, the data of the jth sensor at each moment within the preset time period. Obtain the absolute value of the difference between the participation data of the jth sensor at each moment in the preset time period and the predicted normal data, that is, the residual value at each moment. For example, obtain the absolute value of the difference between the participation data of the jth sensor at the tth moment in the preset time period and the predicted normal data of the fitted jth sensor at the tth moment in the preset time period, that is, the residual value at the tth moment. Obtain the difference between the participation data of the jth sensor at each moment in the preset time period and the participation data at the next adjacent moment, that is, the trend change value at each moment. Among them, there is no trend change value at the last moment in the preset time period. In the embodiment of the present invention, the absolute value of the difference between the trend change value of the j-th sensor at each moment in the preset time period and the first preset number of trend change values ​​adjacent to the corresponding moment is obtained as the trend difference, and the mean of the trend difference is used as the overall trend difference at each moment. In the embodiment of the present invention, the first preset number is set to 5, and the implementer can set the size of the first preset number according to actual conditions, which is not limited here. For example, the absolute value of the difference between the trend change value of the j-th sensor at the t-th moment in the preset time period and the trend change values ​​at the 5 adjacent moments after the t-th moment is obtained, which is the trend difference, and the mean of the trend difference is obtained, which is the overall trend difference of the j-th sensor at the t-th moment in the preset time period. When there are not 5 adjacent moments after the t-th moment in the preset time period for the j-th sensor in the k-th faulty car, only the mean of the trend difference between the trend change value of the j-th sensor at the t-th moment in the preset time period and the trend change value at each moment after the t-th moment is obtained, which is the overall trend difference at the t-th moment. For example, when the jth sensor in the kth faulty car has three trend change values ​​after the tth moment in the preset time period, the average of the trend difference between the trend change value at the tth moment and the three trend change values ​​after the tth moment is obtained, which is the overall trend difference of the jth sensor at the tth moment in the preset time period. When the tth moment of the jth sensor in the kth faulty car in the preset time period is the last moment, the overall trend difference of the jth sensor at the tth moment in the preset time period is assumed to be 1.According to the residual value and trend change value of the jth sensor in the kth faulty car corresponding to the ith fault at each moment in the preset time period, the calculation formula for obtaining the abnormality degree of the jth sensor in the kth faulty car corresponding to the ith fault is:

[0056]

[0057] In the formula, is the abnormality degree of the jth sensor in the kth faulty car corresponding to the i-th fault; T is the total number of times the jth sensor in the kth faulty car corresponding to the i-th fault collects participating data within the preset time period; is the residual value of the jth sensor in the kth faulty car corresponding to the i-th fault at the tth moment within the preset time period; is the maximum residual value of the jth sensor in the kth faulty car corresponding to the i-th fault within the preset time period; is the trend change value of the jth sensor in the kth faulty car corresponding to the i-th fault at the tth moment within the preset time period; is the trend change value of the jth sensor in the kth faulty car corresponding to the i-th fault at the vth moment within the preset time period; l is the first preset number, which is 5 in the embodiment of the present invention; norm is the normalization function; is the absolute value function; is the trend difference; The overall trend difference.

[0058] It should be noted that The larger the value is, the more likely it is that the data of the jth sensor at the tth moment in the preset time period is abnormal. The bigger, The larger the trend difference The larger the value is, the greater the difference between the participation data of the jth sensor at the tth moment in the preset time period and the participation data at the adjacent moments is. The participation data of the jth sensor at the tth moment in the preset time period is more likely to be abnormal, and the overall trend difference is The bigger, The larger the The larger the value is, the more abnormal the data of the jth sensor is, and the more likely the jth sensor is the abnormal sensor corresponding to the i-th fault in the k-th faulty car. The value range is 0 to 1.

[0059] According to the method of obtaining the abnormality degree of the jth sensor in the kth faulty car corresponding to the ith fault, the abnormality degree of each sensor in each faulty car corresponding to each fault is obtained.

[0060] The abnormality degree of each sensor in each faulty vehicle corresponding to each fault is analyzed to determine the abnormal sensor corresponding to each fault in each faulty vehicle.

[0061] Preferably, the method for obtaining an abnormal sensor is: when the abnormality of the sensor is greater than a preset abnormality threshold, the sensor is an abnormal sensor in the faulty car corresponding to the corresponding fault. In the embodiment of the present invention, the preset abnormality threshold is set to 0.7. The implementer can set the size of the preset abnormality threshold according to the actual situation, which is not limited here. When the abnormality of the jth sensor in the kth faulty car corresponding to the i-th fault is greater than the preset abnormality threshold, the jth sensor is the abnormal sensor in the kth faulty car corresponding to the i-th fault, that is, the jth sensor is the abnormal sensor corresponding to the i-th fault in the kth faulty car. At this point, the abnormal sensor corresponding to each fault in each faulty car is obtained.

[0062] Step S3: according to the participation data and abnormality degree of the same abnormal sensor between any two faulty vehicles corresponding to each fault, the similarity degree of the same abnormal sensor between any two faulty vehicles corresponding to each fault is obtained.

[0063] Specifically, there are multiple causes for the same fault, so the types of abnormal sensors in the faulty cars corresponding to the same fault may be different. Even if the types of abnormal sensors in the faulty cars corresponding to the same fault are the same, the participation data of abnormal sensors in different faulty cars may be different. Among them, the changes in the participation data of the same type of abnormal sensors in the faulty cars corresponding to the faults caused by the same reasons are similar. Therefore, by calculating the similarity of the same type of abnormal sensors between any two faulty cars corresponding to the same fault, the different performances of the participation data of the same type of abnormal sensors in the faulty cars corresponding to each fault are further obtained, that is, the various possible causes of each fault, and then the abnormal characteristic values ​​of each abnormal sensor corresponding to each fault are determined, so as to facilitate the determination of the possible fault type of the tested car.

[0064] Preferably, the method for obtaining the similarity is: obtaining the similarity value of the participating data of the same abnormal sensor between any two faulty cars corresponding to each fault by image matching technology as the first similarity value; obtaining the difference of the abnormality degree of the same abnormal sensor between any two faulty cars corresponding to each fault as the first difference; according to the first similarity value and the first difference, obtaining the similarity degree of the same abnormal sensor between any two faulty cars corresponding to the same fault. Among them, the image matching technology is a prior art and will not be described in detail.

[0065] As an example, taking the u-th abnormal sensor between the a-th faulty car and the b-th faulty car corresponding to the i-th fault as an example, the similarity value between the participating data of the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault and the participating data of the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault is obtained through image matching technology, that is, the first similarity value. The absolute value of the difference between the abnormality degree of the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault and the abnormality degree of the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault is obtained, that is, the first difference. According to the first similarity value and the first difference between the u-th abnormal sensor in the a-th faulty car and the b-th faulty car corresponding to the i-th fault, the calculation formula for obtaining the similarity degree of the u-th abnormal sensor between the a-th faulty car and the b-th faulty car corresponding to the i-th fault is:

[0066]

[0067] In the formula, is the similarity of the u-th abnormal sensor between the a-th faulty car and the b-th faulty car corresponding to the i-th fault; is the first similarity value; is the abnormality degree of the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault; is the abnormality degree of the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault; e is a natural constant; norm is a normalization function; is the absolute value function; The first difference.

[0068] It should be noted that The larger the value is, the more similar the participation data of the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault is to the participation data of the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault. The bigger the first difference The smaller it is, the more similar the abnormality of the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault is to the abnormality of the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault. The bigger, The larger the The larger it is, the more similar the performance of the participating data between the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault and the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault is, and the more similar the cause of the i-th fault in the a-th faulty car and the b-th faulty car is.

[0069] According to the method of obtaining the similarity of the u-th abnormal sensor between the a-th faulty car and the b-th faulty car corresponding to the i-th fault, the similarity of the same abnormal sensor between any two faulty cars corresponding to each fault is obtained.

[0070] Step S4: clustering the same abnormal sensors corresponding to each fault according to the similarity, and using the obtained clusters as each performance situation of the participating data of the same abnormal sensors corresponding to each fault.

[0071] Specifically, the embodiment of the present invention takes the similarity of the u-th abnormal sensor between any two faulty cars corresponding to the i-th fault as an example, and uses the K-means clustering algorithm to take the similarity of the u-th abnormal sensor between any two faulty cars corresponding to the i-th fault as the clustering basis, and clusters all the u-th abnormal sensors corresponding to the i-th fault. The embodiment of the present invention uses the elbow method and the method of evaluating the clustering results to obtain the optimal k value in the K-means clustering algorithm. Among them, the K-means clustering algorithm, the elbow method and the method of evaluating the clustering results are all existing technologies and will not be repeated here. The obtained cluster cluster is used as each performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault. That is, the changes in the participating data of the abnormal sensors in each cluster cluster are similar.

[0072] According to the method for obtaining each performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault, each performance situation of the participating data of each abnormal sensor corresponding to each fault is obtained.

[0073] Step S5: According to the number and abnormal degree of abnormal sensors in each performance situation of the participating data of each abnormal sensor corresponding to each fault, the influence degree of each performance situation is obtained, and the abnormal characteristic value of each abnormal sensor corresponding to each fault is determined.

[0074] Specifically, in order to timely predict the type of fault that may occur in the vehicle to be tested based on the data of each sensor of the vehicle to be tested, the embodiment of the present invention analyzes the number and degree of abnormality of abnormal sensors in each performance situation of the participating data of each abnormal sensor corresponding to each fault, and determines the performance of the overall data of each abnormal sensor corresponding to each fault, that is, obtains the abnormal characteristic value of each abnormal sensor corresponding to each fault.

[0075] As an example, taking each performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault in step S4 as an example, the abnormal characteristic value of the u-th abnormal sensor corresponding to the i-th fault is obtained, and the specific method is as follows:

[0076] (1) Obtain the degree of impact.

[0077] Taking the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault as an example, that is, taking the h-th cluster after the u-th abnormal sensor corresponding to the i-th fault is clustered as an example, the total number of abnormal sensors in the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault is obtained, and the ratio of the total number of the u-th abnormal sensors corresponding to the i-th fault is obtained as the association value, and the degree of association between the h-th performance of the participating data and the i-th fault is determined according to the association value; the absolute value of the difference between the mean value of the abnormal degree of the abnormal sensors in the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault and the mean value of the abnormal degree of the abnormal sensors in each other performance of the participating data of the u-th abnormal sensor is obtained as the abnormal difference value. The mean value of the abnormal difference values ​​is obtained as the overall abnormal value of the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault. According to the correlation value, the overall abnormal value and the average value of the abnormal degree of the abnormal sensor in the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault, the calculation formula for obtaining the influence degree of the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault is:

[0078]

[0079] In the formula, is the influence degree of the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of abnormal sensors in the h-th performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of the u-th abnormal sensors corresponding to the i-th fault; is the average value of the abnormal degree of the abnormal sensor in the h-th performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of each performance condition of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the mean value of the abnormal degree of the abnormal sensor in the xth performance situation of the participating data of the uth abnormal sensor corresponding to the i-th fault; is the second preset constant, which is greater than 0; is the absolute value function; is the associated value; is the abnormal difference value; is the overall outlier.

[0080] In this method embodiment, the second preset constant Set to 1 to avoid the denominator being 0. The implementer can set the second preset constant according to the actual situation. The size is not limited here.

[0081] It should be noted that The larger the correlation value The larger the value is, the more likely the participating data performance of the u-th abnormal sensor corresponding to the i-th fault is the h-th performance. The bigger; The larger the value is, the greater the response of the hth performance of the uth abnormal sensor to the ith fault. The larger the overall outlier The larger the value is, the greater the abnormality of the abnormal sensor in the h-th performance of the u-th abnormal sensor, and the closer it is to the occurrence of the i-th fault. The larger the The larger it is, the more likely the h-th performance of the participating data of the u-th abnormal sensor is the data performance of the u-th sensor corresponding to the i-th fault.

[0082] According to the method for obtaining the influence degree of the hth performance condition of the participating data of the uth abnormal sensor corresponding to the ith fault, the influence degree of each performance condition of the participating data of the uth abnormal sensor corresponding to the ith fault is obtained.

[0083] (2) Obtain abnormal feature values.

[0084] The maximum impact degree of each performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault is selected as the target impact degree, and the performance situation corresponding to the target impact degree is used as the target performance situation. The average value of the abnormal degree of each abnormal sensor in the target performance situation is obtained, which is the abnormal characteristic value of the u-th abnormal sensor corresponding to the i-th fault. If the target impact degree corresponds to multiple performance situations, select any one performance situation as the target performance situation.

[0085] According to the method for obtaining the abnormal characteristic value of the u-th abnormal sensor corresponding to the i-th fault, the abnormal characteristic value of each abnormal sensor corresponding to each fault is obtained.

[0086] Step S6: predicting the possible fault type of the vehicle according to the abnormal feature value.

[0087] With the sensor type as the vertical axis and the fault type as the horizontal axis, a two-dimensional matrix is ​​established, in which each element corresponding to the horizontal and vertical axes is the abnormal characteristic value of the corresponding abnormal sensor corresponding to the corresponding fault. Therefore, each fault can obtain the most likely performance of sensor data. When the sensor corresponding to a certain fault in the two-dimensional matrix is ​​not an abnormal sensor, that is, the corresponding element in the two-dimensional matrix cannot be obtained, it is filled with 0. It should be noted that the u-th abnormal sensor is the u-th sensor.

[0088] According to the technical characteristics of the Internet of Vehicles, the car continuously monitors and stores the data of various sensors for a period of time during operation. For any car, when the car fails, the abnormality of each sensor in the car is obtained, and the abnormality of each sensor is compared with the elements of the same vertical axis in the two-dimensional matrix in turn, that is, the absolute value of the difference between the abnormality of each sensor in the car and the elements of the same vertical axis in the two-dimensional matrix is ​​obtained as the second difference. The fault type corresponding to the smallest second difference is the type of fault that may occur in the car. Accurately and efficiently determining the type of fault that may occur in the car improves the efficiency of car fault detection, while also improving the accuracy of fault monitoring, making it easier for maintenance personnel to perform repairs.

[0089] So far, the present invention is completed.

[0090] In summary, the embodiment of the present invention obtains the data of each sensor of the faulty car as participating data; according to the changes in the participating data, the abnormality of each sensor is obtained, and the abnormal sensors are screened out; then the similarity of the same abnormal sensor between any two faulty cars is obtained, clustering is performed, and each performance situation of the participating data of the same abnormal sensor corresponding to each fault is obtained; according to the number and abnormality of the abnormal sensors in each performance situation, the degree of influence is obtained, the abnormal characteristic value of each abnormal sensor corresponding to each fault is determined, and the type of fault that may occur in the car is predicted. The present invention accurately and efficiently predicts the type of fault that may occur in the car according to the abnormal characteristic value of each abnormal sensor corresponding to each fault, thereby improving the efficiency and accuracy of fault detection.

[0091] Based on the same inventive concept as the above method embodiment, the embodiment of the present invention further provides a blockchain-based automobile service security system, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above blockchain-based automobile service security method embodiment are implemented, such as Figure 1 The steps shown. The blockchain-based automobile service security method has been described in detail in the above embodiment and will not be repeated here.

[0092] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

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

Claims

1. A blockchain-based automobile service security method, characterized in that: The method comprises the following steps: Obtain the data of each sensor of the faulty vehicle at each moment within a preset time period as participating data; According to the changes in the participating data, the abnormality degree of each sensor in each faulty car corresponding to each fault is obtained, and the abnormal sensors in the faulty car corresponding to each fault are screened out; According to the participation data and abnormality degree of the same abnormal sensor between any two faulty cars corresponding to each fault, the similarity degree of the same abnormal sensor between any two faulty cars corresponding to each fault is obtained; According to the similarity, the same abnormal sensor corresponding to each fault is clustered, and the obtained cluster cluster is used as each performance of the participating data of the same abnormal sensor corresponding to each fault; According to the number and abnormal degree of abnormal sensors in each performance situation of the participating data of each abnormal sensor corresponding to each fault, the influence degree of each performance situation is obtained, and the abnormal characteristic value of each abnormal sensor corresponding to each fault is determined; Predict the type of possible vehicle failure based on abnormal feature values; The method for obtaining the abnormality degree is: Any sensor in a faulty car corresponding to a certain fault is used as a target sensor; Fitting the predicted normal data of the target sensor when the faulty vehicle is driving normally within a preset time period; Obtain the difference between the participating data of the target sensor at each moment in the preset time period and the predicted normal data as the residual value at each moment; Obtain the difference between the participation data of the target sensor at each moment and the participation data at the next adjacent moment as the trend change value at each moment; According to the residual value and trend change value of the target sensor at each moment, the abnormality degree of the target sensor in the faulty vehicle corresponding to the fault is obtained; The calculation formula for the degree of abnormality is: In the formula, is the abnormality degree of the jth sensor in the kth faulty car corresponding to the i-th fault; T is the total number of times the jth sensor in the kth faulty car corresponding to the i-th fault collects participating data within the preset time period; is the residual value of the jth sensor in the kth faulty car corresponding to the i-th fault at the tth moment within the preset time period; is the maximum residual value of the jth sensor in the kth faulty car corresponding to the i-th fault within the preset time period; is the trend change value of the jth sensor in the kth faulty car corresponding to the i-th fault at the tth moment within the preset time period; is the trend change value of the jth sensor in the kth faulty car corresponding to the i-th fault at the vth moment within the preset time period; l is the first preset number; norm is the normalization function; is the absolute value function; The method for obtaining the abnormal sensor is: When the abnormality of the sensor is greater than a preset abnormality threshold, the sensor is an abnormal sensor in the faulty vehicle corresponding to the corresponding fault; The method for obtaining the similarity degree is: By using image matching technology, similarity values ​​of participating data of the same abnormal sensor between any two faulty vehicles corresponding to each fault are obtained as first similarity values; Obtaining the difference in abnormality degree of the same abnormal sensor between any two faulty vehicles corresponding to each fault as the first difference; According to the first similarity value and the first difference, obtaining the similarity degree of the same abnormal sensor between any two faulty vehicles corresponding to the same fault; The calculation formula of the similarity is: In the formula, is the similarity of the u-th abnormal sensor between the a-th faulty car and the b-th faulty car corresponding to the i-th fault; is the first similarity value; is the abnormality degree of the u-th abnormal sensor in the a-th faulty car corresponding to the i-th fault; is the abnormality degree of the u-th abnormal sensor in the b-th faulty car corresponding to the i-th fault; e is a natural constant; norm is a normalization function; is the absolute value function; The calculation formula for the impact degree is: In the formula, is the influence degree of the h-th performance of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of abnormal sensors in the h-th performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of the u-th abnormal sensors corresponding to the i-th fault; is the average value of the abnormal degree of the abnormal sensor in the h-th performance situation of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the total number of each performance condition of the participating data of the u-th abnormal sensor corresponding to the i-th fault; is the mean value of the abnormal degree of the abnormal sensor in the xth performance situation of the participating data of the uth abnormal sensor corresponding to the i-th fault; is the second preset constant, which is greater than 0; is the absolute value function; The method for obtaining the abnormal characteristic value is: For any fault corresponding to any abnormal sensor, obtain the impact degree of each performance condition of the abnormal sensor; The performance corresponding to the maximum impact level is used as the target performance; Obtaining the average value of the abnormal degree of each abnormal sensor in the target performance situation as the abnormal characteristic value of the abnormal sensor corresponding to the fault; The method for predicting the possible fault type of the automobile according to the abnormal characteristic value is as follows: Obtaining the difference between the abnormality degree of each sensor of the vehicle to be tested and the abnormal characteristic value of each fault type corresponding to the same abnormal sensor as the second difference; The fault type corresponding to the smallest second difference is used as the possible fault type of the tested vehicle.

2. A blockchain-based automobile service security system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When executing the computer program, the processor implements the steps of the blockchain-based automobile service security assurance method described in claim 1 above.

Citation Information

Patent Citations

  • Vehicle fault early warning method and system, readable storage medium and computer equipment

    CN113807547A

  • Sensor abnormality diagnosis method and device, and storage medium

    CN114414023A

  • Fault early warning method and device, storage medium and electronic equipment

    CN114936675A

  • Electric vehicle charging pile state monitoring method, fault identification method and electronic equipment

    CN115858609A

  • Prediction method and device based on other equipment data, equipment and medium

    CN116502166A