Intelligent vehicle network monitoring system based on cloud computing

Through segment analysis and fluctuation index calculation of vehicle network traffic data, combined with the fluctuation of adjacent data segments, the problem of inability to accurately detect vehicle network node faults in the existing technology is solved, and more accurate fault identification and misjudgment are achieved. reduce.

CN118400299BActive Publication Date: 2024-09-06CHANGCHUN AUTOMOBILE IND INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410841602.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-06
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing vehicle network fault detection methods cannot accurately determine whether a vehicle network node has failed, especially when there is communication conflict or signal interference.

Method used

An intelligent vehicle network monitoring system based on cloud computing is used to analyze the vehicle network traffic data segmentally to obtain network traffic data fluctuation indicators and data anomaly indicators of abnormal data segments. Combined with the fluctuations of adjacent data segments, the vehicle network is calculated The possibility of node failure and uploads the failure information to the cloud server.

Benefits of technology

It improves the accuracy of vehicle network node fault detection, reduces misjudgments, and can more effectively identify abnormalities caused by communication conflicts or signal interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400299B
    Figure CN118400299B
Patent Text Reader

Abstract

The present invention relates to the technical field of abnormal data screening, and in particular to an intelligent vehicle network monitoring system based on cloud computing, comprising a vehicle network flow data acquisition module, an anomaly detection module, a data anomaly index acquisition module, a fault possibility acquisition module and a data upload module. First, targeted analysis is performed by segmentation to ensure the accuracy of fault detection, and then preliminary abnormal vehicle network flow data segments are obtained according to the fluctuation of network flow data, and data anomaly indicators of each abnormal vehicle network flow data segment are obtained according to the abnormal situation of network flow, and then the possibility of vehicle network node failure is obtained, and finally, vehicle network node failure information is obtained according to the possibility of vehicle network node failure, and uploaded to a cloud server, so as to improve the accuracy of vehicle network node failure detection and greatly reduce the misjudgment caused by communication conflicts or signal interference in the vehicle network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of abnormal data screening, and in particular to an intelligent vehicle network monitoring system based on cloud computing. Background Art

[0002] The Internet of Vehicles requires an on-board network to connect various on-board network nodes, which include various intelligent devices in the vehicle system, such as engine control system, braking system, driver assistance system, etc. The normal operation of the Internet of Vehicles depends on the coordination between various on-board network nodes. Each on-board network node communicates in real time through the on-board network (such as the CAN bus network) to determine the coordinated driving between vehicles and vehicles, and between vehicles and systems. Abnormal on-board network conditions may cause data transmission delays, losses or errors, thereby affecting the stability and reliability of the vehicle system.

[0003] By detecting the traffic situation of the vehicle network, problems that may affect the performance of the vehicle can be discovered and solved in a timely manner to ensure the stable operation of the vehicle system. When a vehicle network node fails, the vehicle network consumption will be abnormal. However, in addition to the above reasons, when communication conflicts or signal interference occur in the vehicle network, it will also lead to an increase in vehicle data traffic and cause abnormal network consumption, which will not affect vehicle performance. However, the existing detection method only determines whether the vehicle network node is faulty by detecting the traffic data consumed by the network, and uploads the detection results to the cloud server. Since there may be communication conflicts or signal interference in the vehicle network, the above detection method cannot accurately obtain whether the vehicle network node is faulty. Summary of the invention

[0004] In view of this, in order to solve the technical problem that the existing detection method cannot accurately obtain whether the vehicle network node is faulty, the present invention provides an intelligent vehicle network monitoring system based on cloud computing.

[0005] The technical solutions adopted are as follows:

[0006] A cloud computing-based vehicle network intelligent monitoring system, comprising:

[0007] An in-vehicle network traffic data acquisition module, used to acquire at least two in-vehicle network traffic data segments obtained by segmenting an in-vehicle network traffic data sequence, wherein the in-vehicle network traffic data sequence includes in-vehicle network traffic data of multiple sampling periods;

[0008] An anomaly detection module, used to obtain abnormal vehicle network traffic data segments from each vehicle network traffic data segment according to the fluctuation of network traffic data;

[0009] A data anomaly indicator acquisition module is used to obtain a data anomaly indicator for each abnormal vehicle network traffic data segment according to the network traffic data fluctuation of each abnormal vehicle network traffic data segment and two adjacent vehicle network traffic data segments;

[0010] A fault possibility acquisition module is used to acquire the fault possibility of the vehicle network node in each abnormal vehicle network flow data segment according to the difference of the flow data of each vehicle network node in the corresponding time period, the number of abnormal vehicle network nodes and the data abnormality index;

[0011] The data uploading module is used to obtain the vehicle network node fault information according to the possibility of the vehicle network node fault, and upload the vehicle network node fault information to the cloud server.

[0012] In a specific embodiment, the anomaly detection module includes:

[0013] A first anomaly detection unit is used to obtain a network traffic data fluctuation index of the vehicle network traffic data in each vehicle network traffic data segment, wherein the network traffic data fluctuation index is used to characterize the degree of fluctuation of the network traffic data of the vehicle network traffic data in the vehicle network traffic data segment;

[0014] The second anomaly detection unit is used to determine an in-vehicle network traffic data segment that is greater than or equal to a preset fluctuation index threshold as an abnormal in-vehicle network traffic data segment.

[0015] In a specific embodiment, the calculation formula of the network traffic data fluctuation index is as follows:

[0016]

[0017] in, represents the network traffic data fluctuation index of the vth vehicle network traffic data segment, represents the number of vehicle network traffic data in the vth vehicle network traffic data segment, represents the value of the i-th vehicle network traffic data in the v-th vehicle network traffic data segment, represents the average value of the vehicle network traffic data of the vth vehicle network traffic data segment, and They represent the maximum and minimum values ​​of the vehicle network traffic data of the vth vehicle network traffic data segment, respectively. It represents the average value of all vehicle network traffic data in the vehicle network traffic data sequence. exp represents the exponential function with the natural constant e as the base. Represents the normalization function.

[0018] In a specific embodiment, the data anomaly indicator acquisition module includes:

[0019] A first abnormality indicator acquisition unit is used to respectively acquire a first network flow data fluctuation degree of a previous vehicle network flow data segment adjacent to a candidate abnormal vehicle network flow data segment, and a second network flow data fluctuation degree of a next vehicle network flow data segment adjacent to the candidate abnormal vehicle network flow data segment; the candidate abnormal vehicle network flow data segment is any abnormal vehicle network flow data segment;

[0020] The second abnormal indicator acquisition unit is used to obtain the data abnormality indicator of the candidate abnormal vehicle network traffic data segment according to the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment, the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment, the first network traffic data fluctuation degree and the second network traffic data fluctuation degree, wherein the data abnormality indicator is positively correlated with the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment and the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment, and is negatively correlated with the first network traffic data fluctuation degree and the second network traffic data fluctuation degree.

[0021] In a specific embodiment, the process of obtaining the fluctuation degree of the first network traffic data includes:

[0022] Obtaining the absolute value of the difference between any two adjacent vehicle network traffic data in the previous vehicle network traffic data segment, and calculating the average of all the absolute values ​​of the difference corresponding to the previous vehicle network traffic data segment, to obtain the fluctuation degree of the first network traffic data;

[0023] The process of obtaining the fluctuation degree of the second network traffic data includes:

[0024] Obtain the absolute value of the difference between any two adjacent vehicle network traffic data in the next vehicle network traffic data segment, and calculate the average of all the absolute values ​​of the difference corresponding to the next vehicle network traffic data segment to obtain the fluctuation degree of the second network traffic data.

[0025] In a specific embodiment, the fault possibility acquisition module includes:

[0026] A first data feature acquisition unit is used to acquire local network traffic data features of each vehicle network node in a time period corresponding to a candidate abnormal vehicle network traffic data segment, and acquire overall network traffic data features of each vehicle network node in an overall time period corresponding to a vehicle network traffic data sequence, wherein the local network traffic data features are used to characterize the overall situation of the network traffic data of the vehicle network node in the time period corresponding to the candidate abnormal vehicle network traffic data segment, and the overall network traffic data features are used to characterize the overall situation of the network traffic data of the vehicle network node in the overall time period corresponding to the vehicle network traffic data sequence; the candidate abnormal vehicle network traffic data segment is any abnormal vehicle network traffic data segment;

[0027] A second data feature acquisition unit is used to screen and obtain the number of vehicle network nodes with abnormal possibility corresponding to the candidate abnormal vehicle network traffic data segment according to the difference between the local network traffic data feature and the overall network traffic data feature of each vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment;

[0028] The third data feature acquisition unit is used to obtain the possibility of vehicle network node failure of the candidate abnormal vehicle network traffic data segment according to the data anomaly index of the candidate abnormal vehicle network traffic data segment, the number of vehicle network nodes with the possibility of abnormality, and the difference degree fluctuation index. The possibility of vehicle network node failure is positively correlated with the data anomaly index of the candidate abnormal vehicle network traffic data segment, the number of vehicle network nodes with the possibility of abnormality, and the overall difference degree; the difference degree fluctuation index is used to characterize the fluctuation degree of the difference degree of all vehicle network nodes corresponding to the candidate abnormal vehicle network traffic data segment.

[0029] In a specific embodiment, the second data feature acquisition unit includes:

[0030] The quantity acquisition subunit is used to determine the vehicle network nodes whose difference degree is greater than a preset threshold as vehicle network nodes with the possibility of abnormality, and obtain the number of vehicle network nodes with the possibility of abnormality corresponding to the candidate abnormal vehicle network traffic data segment.

[0031] In a specific embodiment, the calculation formula for the probability of vehicle network node failure is:

[0032]

[0033] in, represents the probability of vehicle network node failure for the vth abnormal vehicle network traffic data segment, represents the number of vehicle network nodes with abnormal possibility corresponding to the vth abnormal vehicle network traffic data segment, N represents the number of vehicle network nodes, represents the data anomaly indicator of the vth abnormal vehicle network traffic data segment, It represents the fluctuation index of the difference degree of the vth abnormal vehicle network traffic data segment, Represents the normalization function.

[0034] In a specific embodiment, the calculation formula of the difference degree fluctuation index is as follows:

[0035]

[0036] in, It represents the fluctuation index of the difference degree of the vth abnormal vehicle network traffic data segment, represents the difference degree of the kth vehicle network node in the corresponding period of the vth abnormal vehicle network traffic data segment, N represents the number of vehicle network nodes, It represents the average value of the difference degree of all vehicle network nodes in the corresponding period of the vth abnormal vehicle network traffic data segment.

[0037] In a specific embodiment, obtaining the vehicle network node failure information according to the possibility of the vehicle network node failure includes:

[0038] An abnormal vehicle network traffic data segment whose vehicle network node failure possibility is greater than a preset failure threshold is determined as a faulty vehicle network traffic data segment, and a time period corresponding to the faulty vehicle network traffic data segment is determined as a faulty time period, and the vehicle network node failure information includes the faulty vehicle network traffic data segment and the faulty time period.

[0039] The present invention has at least the following beneficial effects: in a cloud computing-based vehicle network intelligent monitoring system provided by the present invention, the vehicle network flow data sequence is first segmented, and the accuracy of subsequent vehicle network node fault detection can be ensured by performing targeted analysis on each segmented vehicle network flow data segment; then, preliminary abnormal vehicle network flow data segments are obtained through network flow data fluctuations, and each abnormal vehicle network flow data segment is taken as an analysis object, and data anomaly indicators of each abnormal vehicle network flow data segment are obtained according to the network flow data fluctuations of two adjacent vehicle network flow data segments, and since the network flow of the vehicle network flow data segments adjacent to the abnormal vehicle network flow data segment is different from that of the abnormal vehicle network flow data segment, the abnormality index of each abnormal vehicle network flow data segment is obtained. If there is a correlation, then by analyzing the network traffic fluctuations of adjacent vehicle network traffic data segments, accurate data anomaly indicators can be obtained, and then the vehicle network node failure possibility of each abnormal vehicle network traffic data segment can be obtained by combining the differences in traffic data of each vehicle network node in the corresponding time period and the number of abnormal vehicle network nodes. Finally, the vehicle network node failure information is obtained based on the vehicle network node failure possibility, and the abnormal vehicle network node situation is determined by the traffic changes of each vehicle network node and the overall abnormal data network consumption. This abnormal situation is caused by the vehicle network node failure, which can improve the accuracy of vehicle network node fault detection and greatly reduce the misjudgment caused by communication conflicts or signal interference in the vehicle network. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a structural schematic diagram of a vehicle network intelligent monitoring system based on cloud computing provided by the present invention;

[0041] Figure 2 It is a flow chart corresponding to a cloud computing-based vehicle network intelligent monitoring system provided by the present invention;

[0042] Figure 3 It is a data curve chart of network traffic data;

[0043] Figure 4 It is a structural diagram of the anomaly detection module;

[0044] Figure 5 It is a structural diagram of a data anomaly indicator acquisition module;

[0045] Figure 6 It is a structural diagram of the fault possibility acquisition module. DETAILED DESCRIPTION

[0046] The technical solution in this application will be described clearly and in detail below in conjunction with the accompanying drawings.

[0047] In this embodiment, the vehicle is connected to each vehicle network node in the vehicle through the vehicle network (such as the CAN bus network), and the vehicle network node is each intelligent device in the vehicle system, such as: engine control system, braking system, driving assistance system, etc. In order to monitor the network traffic of the vehicle network, a network traffic detector is usually provided in the vehicle system to detect the vehicle network traffic data, which can not only detect the overall vehicle network traffic data of the vehicle network, but also detect the network traffic situation of each vehicle network node. The cloud computing-based vehicle network intelligent monitoring system provided in this embodiment is used to determine whether the abnormal situation of the vehicle network is caused by the failure of the vehicle network node according to the specific situation of the detected vehicle network traffic.

[0048] It should be understood that the present embodiment provides a cloud computing-based vehicle network intelligent monitoring system which can be used as a hardware system, executed by a relevant data processor (such as a CPU) and deployed in the vehicle; it can also be used as a software system in a vehicle controller in a vehicle system and executed by the vehicle controller.

[0049] like Figure 1 As shown, the vehicle network intelligent monitoring system includes a vehicle network flow data acquisition module 101, an anomaly detection module 102, a data anomaly index acquisition module 103, a fault possibility acquisition module 104 and a data upload module 105. Figure 2 It is a flow chart of the steps of the vehicle network intelligent monitoring method corresponding to the vehicle network intelligent monitoring system.

[0050] The vehicle network flow data acquisition module 101 is used to acquire at least two vehicle network flow data segments obtained by segmenting a vehicle network flow data sequence, wherein the vehicle network flow data sequence includes vehicle network flow data of multiple sampling periods.

[0051] This embodiment presets a sampling period, that is, the sampling period of the vehicle network traffic, and the vehicle network traffic data of each sampling period is obtained according to the sampling period. The sampling period is set according to actual needs, such as 1s. In addition, a time period is set to analyze the vehicle network traffic data collected within the time period. The length of the time period is set according to actual needs, such as 1 day. The vehicle network traffic data of the vehicle network collected within the time period constitutes a vehicle network traffic data sequence according to the time sequence, and the vehicle network traffic data sequence includes the vehicle network traffic data of multiple sampling periods. The vehicle network traffic data specifically refers to the traffic consumed for data transmission, that is, the traffic consumed for data transmission in each sampling period. It should be understood that the network traffic data of each sampling period of each vehicle network node is also obtained.

[0052] As a specific implementation method, the vehicle network traffic can be obtained through the following steps: Calculate the data size of each signal: Based on the length of the signal (in bits), the data size sent by each signal in each sampling period can be calculated; Determine the signal sending frequency: The DBC file usually contains the sending cycle information of each signal, that is, the frequency at which the signal is sent in the vehicle network; Calculate the bandwidth consumption of each signal: Multiply the data size of each signal by its sending frequency to obtain the bandwidth occupied by each signal in the sampling period; Calculate the overall traffic consumption: Add up the bandwidth consumption of all signals to obtain the overall traffic consumption of the entire vehicle network in the sampling period.

[0053] As an example, Figure 3 The waveform corresponding to the vehicle network traffic data sequence is given. The horizontal axis represents the time series, that is, each sampling period, and the vertical axis is the value of the vehicle network traffic.

[0054] When the vehicle network nodes are in normal conditions, the vehicle network traffic of the vehicle network is usually relatively stable, and there will be no large data fluctuations. However, when the vehicle network nodes are subject to signal interference, communication conflicts, or vehicle network node damage, etc., it may cause large changes in network energy consumption, and the vehicle network traffic data is relatively high compared to normal. These situations will cause the vehicle network traffic to show the same data fluctuation pattern within a certain period of time. Therefore, it is necessary to segment the vehicle network traffic data sequence to obtain at least two vehicle network traffic data segments, and determine the abnormal data segments based on the data conditions of each vehicle network traffic data segment and the correlation between each vehicle network traffic data segment.

[0055] In this embodiment, the vehicle network traffic data sequence is segmented by the piecewise constant approximation segmentation algorithm (APCA). The piecewise constant approximation segmentation algorithm can divide the data with similar values ​​in the time series into one section. As other implementation methods, other data segmentation algorithms can also be used, such as: obtaining the absolute value of the difference between every two adjacent vehicle network traffic data, and if a preset number of consecutive absolute values ​​of the difference exceeds a predetermined threshold, the middle position of the preset number is used as the segmentation point, thereby realizing the segmentation of the vehicle network traffic data sequence. It should be understood that the various vehicle network traffic data segments are arranged in time sequence, and each vehicle network traffic data segment corresponds to a time period (i.e., time period) in which it is located.

[0056] The abnormality detection module 102 is used to obtain abnormal vehicle network traffic data segments from each vehicle network traffic data segment according to the fluctuation of network traffic data. Because the vehicle network is in a normal state, that is, when each vehicle network node is in a normal state, the vehicle network traffic data is generally in a relatively stable state, and the difference between each vehicle network traffic data segment and the overall vehicle network traffic data sequence will not be too large. When the vehicle network nodes in the vehicle network are abnormal, the network is disturbed, and the communication conflicts, the vehicle network traffic data will increase or decrease, and the overall fluctuation of the vehicle network traffic data is relatively violent. Compared with the vehicle network traffic data sequence, the difference between the abnormal data segment and the vehicle network traffic data sequence is also relatively large. Therefore, according to the fluctuation of network traffic data, the abnormal vehicle network traffic data segment can be obtained from each vehicle network traffic data segment, and the abnormal vehicle network traffic data segment is a data segment with relatively violent data fluctuations.

[0057] In a specific embodiment, Figure 4 As shown, the abnormality detection module 102 includes a first abnormality detection unit 201 and a second abnormality detection unit 202. The first abnormality detection unit 201 is used to obtain the network traffic data fluctuation index of the vehicle network traffic data in each vehicle network traffic data segment, and the second abnormality detection unit 202 is used to determine the vehicle network traffic data segment that is greater than or equal to the preset fluctuation index threshold as an abnormal vehicle network traffic data segment. Among them, the network traffic data fluctuation index is used to characterize the fluctuation degree of the network traffic data of the vehicle network traffic data in the vehicle network traffic data segment. Then, each vehicle network traffic data segment corresponds to a network traffic data fluctuation index. The larger the network traffic data fluctuation index, the more violent the fluctuation of the vehicle network traffic data in the corresponding vehicle network traffic data segment. Therefore, a preset fluctuation index threshold is set. The specific value of the preset fluctuation index threshold is set according to actual needs. In this embodiment, it can be set to 0.7. By comparing the network traffic data fluctuation index of each vehicle network traffic data segment with a preset fluctuation index threshold, the vehicle network traffic data segments that are greater than or equal to the preset fluctuation index threshold are selected, and the vehicle network traffic data segments selected are the data segments with relatively fluctuating data, and these vehicle network traffic data segments are determined as abnormal vehicle network traffic data segments.

[0058] In a specific embodiment, the calculation formula of the network traffic data fluctuation index is as follows:

[0059]

[0060] in, represents the network traffic data fluctuation index of the vth vehicle network traffic data segment, represents the number of vehicle network traffic data in the vth vehicle network traffic data segment, represents the value of the i-th vehicle network traffic data in the v-th vehicle network traffic data segment, represents the average value of the vehicle network traffic data of the vth vehicle network traffic data segment, and They represent the maximum and minimum values ​​of the vehicle network traffic data of the vth vehicle network traffic data segment, respectively. It represents the average value of all vehicle network traffic data in the vehicle network traffic data sequence. exp represents the exponential function with the natural constant e as the base. Represents the normalization function.

[0061] Indicates the fluctuation of the vehicle network traffic data in the vth vehicle network traffic data segment. The larger the value, the more serious the fluctuation. It indicates the data difference between the vth vehicle network traffic data segment and the vehicle network traffic data sequence. The larger the value, the greater the possibility that the vth vehicle network traffic data segment is an abnormal vehicle network traffic data segment. represents the data range of the vth vehicle network traffic data segment. The larger the data range, the worse the data stability is, and the greater the possibility that the vth vehicle network traffic data segment is an abnormal vehicle network traffic data segment. Normalize the data so that the normalized value interval is [0,1].

[0062] It should be understood that, under the condition that the corresponding logic is met, the specific calculation method in the above calculation formula can also be modified accordingly, and as other implementation methods, the network traffic data fluctuation index can also be represented by other indicators that can characterize the data fluctuation situation, such as: variance, or the average of the absolute values ​​of the differences between all two adjacent vehicle network traffic data, and so on.

[0063] In addition, the normalization method in this embodiment can adopt the maximum and minimum value normalization method, or can adopt the following normalization method: , where y is the output, x is the input, and e is a natural constant.

[0064] The data anomaly index acquisition module 103 is used to obtain the data anomaly index of each abnormal vehicle network traffic data segment according to the network traffic data fluctuation of each abnormal vehicle network traffic data segment and the two adjacent vehicle network traffic data segments.

[0065] Generally speaking, signal interference or communication conflict is only temporary, so the change of network traffic data caused by such interference and communication conflict will not last long. Since interference or conflict occurs suddenly, the vehicle network usually changes the traffic data quickly; and interference and conflict will also disappear suddenly, so the vehicle network usually returns to normal quickly, and the network traffic data will not remain at a high level for a long time. In addition, the vehicle communication in the Internet of Vehicles uses the CAN bus for data transmission. On the CAN bus, the vehicle network node can send data packets and expect other corresponding vehicle network nodes to respond to them. Since there is a scheduled communication situation in the Internet of Vehicles, if there is a vehicle network node that is damaged and cannot respond to the request of other vehicle network nodes, it may cause communication interruption or abnormality. Other vehicle network nodes may try to resend requests to ensure normal communication, which will increase the communication burden. Therefore, the network changes caused by the abnormality of the vehicle network node will gradually increase over time until the data reaches stability, and the network energy consumption of the abnormal vehicle network traffic data segment is greater. Therefore, according to the fluctuation of the network traffic data of each abnormal vehicle network traffic data segment and the two adjacent vehicle network traffic data segments, the data abnormality index of each abnormal vehicle network traffic data segment can be obtained.

[0066] In a specific embodiment, Figure 5 As shown, the data anomaly indicator acquisition module 103 includes a first anomaly indicator acquisition unit 301 and a second anomaly indicator acquisition unit 302 .

[0067] The first abnormality indicator acquisition unit 301 is used to respectively acquire the first network flow data fluctuation degree of the previous vehicle network flow data segment adjacent to the candidate abnormal vehicle network flow data segment, and the second network flow data fluctuation degree of the next vehicle network flow data segment adjacent to the candidate abnormal vehicle network flow data segment. In this embodiment, the candidate abnormal vehicle network flow data segment is any abnormal vehicle network flow data segment. Then, the previous vehicle network traffic data segment and the next vehicle network traffic data segment adjacent to the candidate abnormal vehicle network traffic data segment are obtained. Generally speaking, the previous vehicle network traffic data segment or the next vehicle network traffic data segment adjacent to the abnormal vehicle network traffic data segment has the possibility of being or not being an abnormal vehicle network traffic data segment. Since the aforementioned segmentation is obtained by dividing based on the vehicle network traffic data, generally speaking, the previous vehicle network traffic data segment and the next vehicle network traffic data segment adjacent to the abnormal vehicle network traffic data segment are not abnormal vehicle network traffic data segments. Of course, it is not excluded that: the previous vehicle network traffic data segment and / or the next vehicle network traffic data segment adjacent to the abnormal vehicle network traffic data segment are also abnormal vehicle network traffic data segments. The previous vehicle network traffic data segment adjacent to the candidate abnormal vehicle network traffic data segment is defined as the first vehicle network traffic data segment, and the next vehicle network traffic data segment adjacent to the candidate abnormal vehicle network traffic data segment is defined as the second vehicle network traffic data segment.

[0068] The first network traffic data fluctuation degree of the first vehicle network traffic data segment is obtained. The first network traffic data fluctuation degree represents the fluctuation of the vehicle network traffic data of the first vehicle network traffic data segment. The greater the first network traffic data fluctuation degree, the more serious the fluctuation of the vehicle network traffic data of the first vehicle network traffic data segment. In a specific embodiment, the absolute value of the difference between the values ​​of any two adjacent vehicle network traffic data in the first vehicle network traffic data segment is obtained to obtain multiple absolute values ​​of the difference, and then the average value of all the absolute values ​​of the difference is calculated, and the average value is the fluctuation degree of the first network traffic data.

[0069] Similarly, the second network traffic data fluctuation degree of the second vehicle network traffic data segment is obtained. The second network traffic data fluctuation degree represents the fluctuation of the vehicle network traffic data of the second vehicle network traffic data segment. The greater the second network traffic data fluctuation degree, the more serious the fluctuation of the vehicle network traffic data of the second vehicle network traffic data segment. In a specific embodiment, the absolute value of the difference between the values ​​of any two adjacent vehicle network traffic data in the second vehicle network traffic data segment is obtained to obtain multiple absolute values ​​of the difference, and then the average value of all the absolute values ​​of the difference is calculated, and the average value is the fluctuation degree of the second network traffic data.

[0070] It should be understood that, as other implementation methods, the first network traffic data fluctuation degree and the second network traffic data fluctuation degree can also be represented by other indicators that characterize the data fluctuation situation, such as the variance of the vehicle network traffic data in the corresponding data segment, or the calculation method of the network traffic data fluctuation indicator mentioned above.

[0071] The second abnormality indicator acquisition unit 302 is used to obtain the data abnormality indicator of the candidate abnormal vehicle network traffic data segment according to the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment, the amount of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment, the first network traffic data fluctuation degree and the second network traffic data fluctuation degree.

[0072] From the above analysis, it can be seen that the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment characterizes the fluctuation of the network traffic data of the candidate abnormal vehicle network traffic data segment, and the more severe the fluctuation, the more abnormal the network traffic data in the candidate abnormal vehicle network traffic data segment. Therefore, the data anomaly index of the candidate abnormal vehicle network traffic data segment is positively correlated with the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment. Since the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment reflects the data length of the candidate abnormal vehicle network traffic data segment, that is, the data duration, and the data anomaly lasts for a shorter time when affected by signal interference or communication conflicts, the more vehicle network traffic data in the candidate abnormal vehicle network traffic data segment, the more abnormal the network traffic data in the candidate abnormal vehicle network traffic data segment is, and the less likely it is to be affected by signal interference or communication conflicts; correspondingly, the fewer the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment, the more normal the network traffic data in the candidate abnormal vehicle network traffic data segment is, and the greater the possibility of being affected by signal interference or communication conflicts. Therefore, the data anomaly index is positively correlated with the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment.

[0073] Since the first network traffic data fluctuation degree and the second network traffic data fluctuation degree respectively represent the fluctuation conditions of the network traffic data of the previous and next vehicle network traffic data segments adjacent to the candidate abnormal vehicle network traffic data segment, the greater the first network traffic data fluctuation degree and the second network traffic data fluctuation degree, the smaller the difference with the fluctuation conditions of the candidate abnormal vehicle network traffic data segment, indicating that the network traffic data of the previous and next vehicle network traffic data segments are more likely to be subject to signal interference or communication conflicts, and relatively speaking, the previous and next vehicle network traffic data segments are less abnormal. Therefore, the data anomaly index is inversely correlated with the first network traffic data fluctuation degree and the second network traffic data fluctuation degree.

[0074] The specific calculation method for realizing positive correlation and negative correlation is set according to actual needs, for example: positive correlation can be addition, multiplication, etc., and negative correlation can be subtraction, division, etc. In a specific embodiment, the product of the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment and the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment is calculated as the first product; the product of the fluctuation degree of the first network traffic data and the fluctuation degree of the second network traffic data is calculated as the second product; finally, the ratio of the first product to the second product is calculated and normalized, and the result obtained is the data abnormality index of the candidate abnormal vehicle network traffic data segment.

[0075] Through the above process, the data anomaly index of each abnormal vehicle network traffic data segment can be obtained.

[0076] The failure possibility acquisition module 104 is used to acquire the failure possibility of the vehicle network nodes in each abnormal vehicle network flow data segment according to the difference of the flow data of each vehicle network node in each abnormal vehicle network flow data segment in the corresponding time period, the number of abnormal vehicle network nodes and the data abnormality index. Among them, the difference of the flow data of each vehicle network node in each abnormal vehicle network flow data segment in the corresponding time period, the number of abnormal vehicle network nodes and the corresponding data abnormality index are all related to the abnormal situation of each corresponding abnormal vehicle network flow data segment. The more abnormal, the higher the failure possibility of the vehicle network node in the corresponding abnormal vehicle network flow data segment. Therefore, the above three parameters can be integrated to obtain the failure possibility of the vehicle network node in the abnormal vehicle network flow data segment.

[0077] In a specific embodiment, Figure 6 As shown, the fault possibility acquisition module 104 includes a first data feature acquisition unit 401 , a second data feature acquisition unit 402 , and a third data feature acquisition unit 403 .

[0078] The first data feature acquisition unit 401 is used to acquire the local network traffic data features of each vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment. The local network traffic data features are used to characterize the overall situation of the network traffic data of the vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment. It should be understood that the corresponding time period of the candidate abnormal vehicle network traffic data segment includes multiple sampling periods, and each sampling period of each vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment corresponds to one network traffic data, and multiple sampling periods correspond to multiple network traffic data. Therefore, for any vehicle network node, the average value of all network traffic data of the vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment is obtained as the local network traffic data feature of the vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment, thereby obtaining the local network traffic data features of each vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment. As other implementation methods, the median, mode, etc. of multiple network traffic data can also be used as local network traffic data features to characterize the overall situation of the network traffic data of the vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment.

[0079] The first data feature acquisition unit 401 is also used to acquire the overall network traffic data features of each vehicle network node in the overall time period corresponding to the vehicle network traffic data sequence, and the overall network traffic data features are used to characterize the overall situation of the network traffic data of the vehicle network node in the overall time period corresponding to the vehicle network traffic data sequence. It should be understood that the time period corresponding to the vehicle network traffic data sequence is defined as the overall time period, and each sampling period of each vehicle network node in the overall time period corresponds to a network traffic data, and multiple sampling periods correspond to multiple network traffic data. Therefore, for any vehicle network node, the average value of all network traffic data of the vehicle network node in the overall time period is obtained as the overall network traffic data feature of the vehicle network node, thereby obtaining the overall network traffic data feature of each vehicle network node. As other implementations, the median, mode, etc. of multiple network traffic data can also be used as the overall network traffic data feature that characterizes the overall situation of the network traffic data of the vehicle network node in the overall time period corresponding to the vehicle network traffic data sequence.

[0080] The second data feature acquisition unit 402 is used to screen and obtain the number of vehicle network nodes with abnormal possibility corresponding to the candidate abnormal vehicle network traffic data segment according to the difference between the local network traffic data feature and the overall network traffic data feature of each vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment. Among them, the local network traffic data feature reflects the overall situation of the network traffic data of the vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment, and the overall network traffic data feature reflects the overall situation of the network traffic data of the vehicle network node in the corresponding overall time period of the vehicle network traffic data sequence. Normally, there should be little difference between these two features. The more abnormal, the greater the difference between the two. Therefore, the number of vehicle network nodes with abnormal possibility can be obtained according to the difference between the two.

[0081] In a specific embodiment, the second data feature acquisition unit 402 includes a quantity acquisition subunit. The quantity acquisition subunit is used to determine the vehicle network nodes with a difference degree greater than a preset threshold as vehicle network nodes with a possibility of abnormality, and obtain the number of vehicle network nodes with a possibility of abnormality corresponding to the candidate abnormal vehicle network traffic data segment. Among them, the difference degree is the absolute value of the difference between the local network traffic data feature and the overall network traffic data feature. The preset threshold is set according to actual needs. As a specific implementation, the preset threshold is set to 0.1 times the overall network traffic data feature. The difference degree is greater than the preset threshold, indicating that the difference degree is large. The vehicle network nodes with a difference degree greater than the preset threshold are determined as vehicle network nodes with a possibility of abnormality, thereby obtaining the number of vehicle network nodes with a possibility of abnormality corresponding to the candidate abnormal vehicle network traffic data segment. It should be understood that the preset threshold can also be a fixed set value.

[0082] The third data feature acquisition unit 403 is used to obtain the possibility of vehicle network node failure of the candidate abnormal vehicle network traffic data segment according to the data anomaly index of the candidate abnormal vehicle network traffic data segment, the number of vehicle network nodes with abnormal possibility, and the difference degree fluctuation index. Among them, the higher the data anomaly index of the candidate abnormal vehicle network traffic data segment, the more abnormal the network traffic data, and the higher the possibility of vehicle network node failure. Therefore, the possibility of vehicle network node failure is positively correlated with the data anomaly index of the candidate abnormal vehicle network traffic data segment. The more the number of vehicle network nodes with abnormal possibility, the more abnormal the network traffic data, and the higher the possibility of vehicle network node failure. Therefore, the possibility of vehicle network node failure is positively correlated with the number of vehicle network nodes with abnormal possibility.

[0083] A difference degree fluctuation index is set to characterize the fluctuation degree of the difference degree of all vehicle network nodes corresponding to the candidate abnormal vehicle network traffic data segment. The difference degree is the difference degree between the local network traffic data characteristics and the overall network traffic data characteristics. The greater the fluctuation degree of the difference degree, the more unstable the difference degree of all vehicle network nodes corresponding to the candidate abnormal vehicle network traffic data segment, the more abnormal the network traffic data, the greater the possibility that the candidate abnormal vehicle network traffic data segment is affected by the damage of the vehicle network node, and the higher the possibility of vehicle network node failure. Therefore, the possibility of vehicle network node failure is positively correlated with the difference degree fluctuation index.

[0084] In a specific embodiment, the calculation formula of the difference degree fluctuation index is as follows:

[0085]

[0086] in, It represents the fluctuation index of the difference degree of the vth abnormal vehicle network traffic data segment, represents the difference degree of the kth vehicle network node in the corresponding period of the vth abnormal vehicle network traffic data segment, N represents the number of vehicle network nodes, It represents the average value of the difference degree of all vehicle network nodes in the corresponding period of the vth abnormal vehicle network traffic data segment. It represents the absolute value of the difference between the difference degree of each vehicle network node and the average difference degree in the vth abnormal vehicle network traffic data segment. The larger the value, the greater the difference in the degree of change of each vehicle network node, indicating that the vth abnormal vehicle network traffic data segment is more likely to be affected by the damage of the vehicle network node. The difference degree fluctuation index can be obtained by taking the absolute value of the difference between the difference degree of each vehicle network node and the average difference degree, and then averaging it.

[0087] As other implementation methods, other methods may be used, such as obtaining the absolute value of the difference between every two adjacent difference degrees, and then averaging them to obtain the difference degree fluctuation index.

[0088] In a specific embodiment, the calculation formula for the probability of vehicle network node failure is:

[0089]

[0090] in, represents the probability of vehicle network node failure for the vth abnormal vehicle network traffic data segment, represents the number of vehicle network nodes with abnormal possibility corresponding to the vth abnormal vehicle network traffic data segment, The percentage of vehicle network nodes that may be abnormal. represents the data anomaly indicator of the vth abnormal vehicle network traffic data segment, Represents the normalization function. The data interval after normalization is [0,1].

[0091] Through the above method, the possibility of vehicle network node failure of each abnormal vehicle network traffic data segment can be obtained.

[0092] The data uploading module 105 is used to obtain the vehicle network node failure information according to the vehicle network node failure possibility, and upload the vehicle network node failure information to the cloud server. After obtaining the vehicle network node failure possibility of each abnormal vehicle network traffic data segment, the vehicle network node failure information can be determined according to the size of the vehicle network node failure possibility, and the vehicle network node failure information can be uploaded to the cloud server.

[0093] In a specific embodiment, the vehicle network node fault information is obtained according to the possibility of vehicle network node fault, including: setting a preset fault threshold, the size of the preset fault threshold is set according to actual judgment needs, the stricter the judgment, the smaller the preset fault threshold can be set, and in this embodiment it is set to 0.7.

[0094] The abnormal vehicle network traffic data segment whose vehicle network node failure probability is greater than the preset failure threshold is determined as a faulty vehicle network traffic data segment, and the time period corresponding to the determined faulty vehicle network traffic data segment is determined as the faulty time period, thereby obtaining vehicle network node failure information, and the vehicle network node failure information includes the faulty vehicle network traffic data segment and the faulty time period. It should be understood that when the faulty vehicle network traffic data segment is obtained, it is also determined that the cause of the abnormal network traffic is caused by the fault of the vehicle network node.

[0095] The vehicle network node fault information constitutes a DBC file, and in this embodiment, it can be uploaded to the cloud server through the data transmission module (such as LTE connection) on the vehicle.

[0096] In the follow-up, after the cloud server receives the DBC file, it can use the corresponding parsing tools or algorithms to parse the network information in the file. Based on the parsed network information, the cloud server can analyze the vehicle network nodes, messages, and signals involved in the abnormal data, which helps to identify the problems of the vehicle network nodes, such as communication failures, hardware failures, etc. Once the problem of the vehicle network node is determined, an alarm can be triggered to notify the relevant personnel or system, and appropriate measures can be taken to repair or adjust it to ensure the normal operation of the Internet of Vehicles.

[0097] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A cloud computing-based vehicle network intelligent monitoring system, characterized in that: include: An in-vehicle network traffic data acquisition module, used to acquire at least two in-vehicle network traffic data segments obtained by segmenting an in-vehicle network traffic data sequence, wherein the in-vehicle network traffic data sequence includes in-vehicle network traffic data of multiple sampling periods; An anomaly detection module, used to obtain abnormal vehicle network traffic data segments from each vehicle network traffic data segment according to the fluctuation of network traffic data; A data anomaly indicator acquisition module is used to obtain a data anomaly indicator for each abnormal vehicle network traffic data segment according to the network traffic data fluctuation of each abnormal vehicle network traffic data segment and two adjacent vehicle network traffic data segments; A fault possibility acquisition module is used to acquire the fault possibility of the vehicle network node in each abnormal vehicle network flow data segment according to the difference of the flow data of each vehicle network node in the corresponding time period, the number of abnormal vehicle network nodes and the data abnormality index; A data uploading module is used to obtain the vehicle network node fault information according to the possibility of the vehicle network node fault, and upload the vehicle network node fault information to the cloud server; Fault possibility acquisition module, including: A first data feature acquisition unit is used to acquire local network traffic data features of each vehicle network node in a time period corresponding to a candidate abnormal vehicle network traffic data segment, and acquire overall network traffic data features of each vehicle network node in an overall time period corresponding to a vehicle network traffic data sequence, wherein the local network traffic data features are used to characterize the overall situation of the network traffic data of the vehicle network node in the time period corresponding to the candidate abnormal vehicle network traffic data segment, and the overall network traffic data features are used to characterize the overall situation of the network traffic data of the vehicle network node in the overall time period corresponding to the vehicle network traffic data sequence; the candidate abnormal vehicle network traffic data segment is any abnormal vehicle network traffic data segment; A second data feature acquisition unit is used to screen and obtain the number of vehicle network nodes with abnormal possibility corresponding to the candidate abnormal vehicle network traffic data segment according to the difference between the local network traffic data feature and the overall network traffic data feature of each vehicle network node in the corresponding time period of the candidate abnormal vehicle network traffic data segment; The third data feature acquisition unit is used to obtain the possibility of vehicle network node failure of the candidate abnormal vehicle network flow data segment according to the data anomaly index of the candidate abnormal vehicle network flow data segment, the number of vehicle network nodes with abnormal possibility and the difference degree fluctuation index, wherein the vehicle network node failure possibility is positively correlated with the data anomaly index of the candidate abnormal vehicle network flow data segment, the number of vehicle network nodes with abnormal possibility and the overall difference degree; the difference degree fluctuation index is used to characterize the fluctuation degree of the difference degree of all vehicle network nodes corresponding to the candidate abnormal vehicle network flow data segment; The calculation formula for the probability of vehicle network node failure is: Among them, P v represents the probability of vehicle network node failure of the vth abnormal vehicle network traffic data segment, C v represents the number of vehicle network nodes with abnormal possibility corresponding to the vth abnormal vehicle network traffic data segment, N represents the number of vehicle network nodes, and Z v A represents the data anomaly index of the vth abnormal vehicle network traffic data segment, v It represents the difference degree fluctuation index of the vth abnormal vehicle network traffic data segment, and softmax represents the normalization function.

2. The cloud computing-based vehicle network intelligent monitoring system according to claim 1 is characterized in that: Anomaly detection module, including: A first anomaly detection unit is used to obtain a network traffic data fluctuation index of the vehicle network traffic data in each vehicle network traffic data segment, wherein the network traffic data fluctuation index is used to characterize the degree of fluctuation of the network traffic data of the vehicle network traffic data in the vehicle network traffic data segment; The second anomaly detection unit is used to determine an in-vehicle network traffic data segment that is greater than or equal to a preset fluctuation index threshold as an abnormal in-vehicle network traffic data segment.

3. The cloud computing-based vehicle network intelligent monitoring system according to claim 2 is characterized in that: The calculation formula of network traffic data fluctuation index is as follows: Among them, B v represents the network traffic data fluctuation index of the vth vehicle network traffic data segment, N v represents the number of vehicle network traffic data in the vth vehicle network traffic data segment, Q v,i represents the value of the i-th vehicle network traffic data in the v-th vehicle network traffic data segment, represents the average value of the vehicle network traffic data of the vth vehicle network traffic data segment, Q v,max and Q v,min They represent the maximum and minimum values ​​of the vehicle network traffic data of the vth vehicle network traffic data segment, respectively. It represents the average value of all vehicle network traffic data in the vehicle network traffic data sequence, exp represents an exponential function with the natural constant e as the base, and norm represents a normalization function.

4. The cloud computing-based vehicle network intelligent monitoring system according to claim 1 is characterized in that: The data anomaly indicator acquisition module includes: A first abnormality indicator acquisition unit is used to respectively acquire a first network flow data fluctuation degree of a previous vehicle network flow data segment adjacent to a candidate abnormal vehicle network flow data segment, and a second network flow data fluctuation degree of a next vehicle network flow data segment adjacent to the candidate abnormal vehicle network flow data segment; the candidate abnormal vehicle network flow data segment is any abnormal vehicle network flow data segment; The second abnormal indicator acquisition unit is used to obtain the data abnormality indicator of the candidate abnormal vehicle network traffic data segment according to the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment, the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment, the first network traffic data fluctuation degree and the second network traffic data fluctuation degree, wherein the data abnormality indicator is positively correlated with the network traffic data fluctuation index of the candidate abnormal vehicle network traffic data segment and the number of vehicle network traffic data in the candidate abnormal vehicle network traffic data segment, and is negatively correlated with the first network traffic data fluctuation degree and the second network traffic data fluctuation degree.

5. The cloud computing-based vehicle network intelligent monitoring system according to claim 4 is characterized in that: The process of obtaining the fluctuation degree of the first network traffic data includes: Obtaining the absolute value of the difference between any two adjacent vehicle network traffic data in the previous vehicle network traffic data segment, and calculating the average of all the absolute values ​​of the difference corresponding to the previous vehicle network traffic data segment to obtain the fluctuation degree of the first network traffic data; The process of obtaining the fluctuation degree of the second network traffic data includes: Obtain the absolute value of the difference between any two adjacent vehicle network traffic data in the next vehicle network traffic data segment, and calculate the average of all the absolute values ​​of the difference corresponding to the next vehicle network traffic data segment to obtain the fluctuation degree of the second network traffic data.

6. The cloud computing-based vehicle network intelligent monitoring system according to claim 1 is characterized in that: The second data feature acquisition unit includes: The quantity acquisition subunit is used to determine the vehicle network nodes whose difference degree is greater than a preset threshold as vehicle network nodes with the possibility of abnormality, and obtain the number of vehicle network nodes with the possibility of abnormality corresponding to the candidate abnormal vehicle network traffic data segment.

7. The cloud computing-based vehicle network intelligent monitoring system according to claim 1 is characterized in that: The calculation formula of the difference degree fluctuation index is as follows: Among them, A v represents the difference degree fluctuation index of the vth abnormal vehicle network traffic data segment, D v (k) represents the difference degree of the kth vehicle network node in the corresponding period of the vth abnormal vehicle network traffic data segment, N represents the number of vehicle network nodes, D v It represents the average value of the difference degree of all vehicle network nodes in the corresponding period of the vth abnormal vehicle network traffic data segment.

8. The cloud computing-based vehicle network intelligent monitoring system according to claim 1 is characterized in that: The vehicle network node fault information is obtained according to the possibility of the vehicle network node fault, including: An abnormal vehicle network traffic data segment whose vehicle network node failure possibility is greater than a preset failure threshold is determined as a faulty vehicle network traffic data segment, and a time period corresponding to the faulty vehicle network traffic data segment is determined as a faulty time period, and the vehicle network node failure information includes the faulty vehicle network traffic data segment and the faulty time period.