A vehicle networking communication method
Collecting and classifying vehicle message data through the cloud platform, using classification models to identify traffic events, solves the problem of delayed information sharing in intelligent transportation systems, enables rapid identification and timely processing of traffic events, and reduces the probability of traffic accidents.
Patent Information
- Application Number
- CN202411044738.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-08-01
AI Technical Summary
In existing intelligent transportation systems, it is difficult for vehicles to share information in a timely manner after a traffic incident occurs, leading to road congestion.
Vehicle message data is collected through the cloud platform, analyzed and classified, and the classification model is used to extract relevant data loads, accurately identify traffic events, and send them to each vehicle through the Internet of Vehicles.
It achieves rapid identification and processing of traffic incidents, reduces the probability of traffic accidents, and improves the timeliness and accuracy of information sharing.
Smart Images

Figure CN118574095B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle networking communication, and in particular to a vehicle networking communication method. Background Art
[0002] With the rapid development of science and technology, Internet of Vehicles technology plays an increasingly important role in intelligent transportation systems. Internet of Vehicles refers to the exchange and sharing of information between vehicles, vehicles and roads, vehicles and people, and vehicles and the Internet through various sensors, communication technologies, and data processing technologies, thereby improving the safety, efficiency, and comfort of road traffic. However, with the continuous increase in the number of vehicles, how to effectively process and analyze a large amount of vehicle message data in order to promptly discover and handle traffic incidents has become an urgent problem to be solved.
[0003] In the existing intelligent transportation system, after a traffic incident occurs, information can be shared between vehicles. However, the amount of shared information is large and the authenticity is difficult to distinguish, making it difficult to share traffic incidents in a timely manner. There are sharing delays, leading to road congestion. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, a vehicle networking communication method provided by the present invention solves the problem that the amount of data is huge and traffic events cannot be effectively extracted during the communication process.
[0005] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: a vehicle network communication method, comprising the following steps:
[0006] S1. Collect the message data sent by each vehicle through the cloud platform, parse the message data, and obtain the data payload;
[0007] S2. Classify and process each data load according to the correlation between the data loads, and select the relevant data loads;
[0008] S3. According to the relevant data loads and based on the classification model, traffic events are obtained and sent to each vehicle through the Internet of Vehicles.
[0009] Furthermore, the S2 comprises the following sub-steps:
[0010] S21, taking an unclassified data payload as a classified payload;
[0011] S22, calculating the correlation between other unclassified data loads and the classified loads;
[0012] S23, judging whether there is a correlation higher than the correlation threshold, if so, classifying the corresponding data payload and the classification payload into a correlation class, and jumping to S21 until all data payloads are classified, if not, discarding the classification payload, and jumping to S21 until all data payloads are classified;
[0013] S24, extracting related classes whose data payload quantity is greater than a quantity threshold, and taking the data payload in the related class as related data payload.
[0014] Furthermore, the S22 comprises the following sub-steps:
[0015] S221, setting a sliding window with a fixed length of N;
[0016] S222, using a sliding window to slide on the unclassified data payload and the classified payload respectively, and the sliding length of each advance is 1;
[0017] S223, calculating the data feature value under the sliding window after each sliding;
[0018] S224. Calculate the correlation according to the data characteristic value corresponding to the unclassified data load and the data characteristic value corresponding to the classified load.
[0019] Furthermore, the formula for calculating the data characteristic value in S223 is: , where γ is the data feature value, i is the number of the data in the sliding window, and x i is the i-th data in the sliding window, and e is a natural constant.
[0020] Furthermore, the formula for calculating the correlation in S224 is: , where θ is the correlation, A is the vector of data eigenvalues corresponding to the unclassified data load, B is the vector of data eigenvalues corresponding to the classified load, ∩ is the intersection, and ∪ is the union.
[0021] Furthermore, the classification model in S3 includes: a plurality of first-layer LSTM networks, a second-layer LSTM network, a transposition operation layer, a multiplier M1 and a multi-layer classification unit;
[0022] The input end of each of the first-layer LSTM networks is used to input a related data load; the input end of the second-layer LSTM network is respectively connected to the output ends of multiple first-layer LSTM networks, and its output end is respectively connected to the input end of the transposition operation layer and the first input end of the multiplier M1; the second input end of the multiplier M1 is connected to the output end of the transposition operation layer, and its output end is connected to the input end of the multi-layer classification unit; the output end of the multi-layer classification unit serves as the output end of the multi-layer classification model.
[0023] Furthermore, each Cell unit in the first layer LSTM network is used to input one bit of data in the relevant data payload;
[0024] Each Cell unit in the second layer LSTM network is used to input a feature value output by the first layer LSTM network, H = {h 1 ,…,h m ,…,h M}, where H is the output of the first layer LSTM network, h 1 is the first eigenvalue output by the first layer LSTM network, h m is the mth eigenvalue output by the first layer LSTM network, h M is the Mth eigenvalue output by a first-layer LSTM network, M is the number of eigenvalues output by a first-layer LSTM network, and m is a positive integer;
[0025] The expression of the multiplier M1 is: , where X is the output of multiplier M1, r 1 is the first eigenvalue output by the second layer LSTM network, r m is the mth eigenvalue output by the second layer LSTM network, r L is the Lth eigenvalue output by the second-layer LSTM network, L is the number of eigenvalues output by the second-layer LSTM network, and T is the transposition operation.
[0026] Further, the multi-layer classification unit includes: a first convolution block, a second convolution block, a third convolution block, a first enhancement channel, a second enhancement channel, a third enhancement channel, a first fully connected layer, a second fully connected layer, a third fully connected layer and a fourth fully connected layer;
[0027] The input end of the first convolution block serves as the input end of the multi-layer classification unit, and its output end is respectively connected to the input end of the second convolution block and the input end of the first enhancement channel; the output end of the second convolution block is respectively connected to the input end of the third convolution block and the input end of the second enhancement channel; the output end of the third convolution block is connected to the input end of the third enhancement channel; the input end of the first fully connected layer is connected to the output end of the first enhancement channel; the input end of the second fully connected layer is connected to the output end of the second enhancement channel; the input end of the third fully connected layer is connected to the output end of the third enhancement channel; the input end of the fourth fully connected layer is respectively connected to the output end of the first fully connected layer, the output end of the second fully connected layer and the output end of the third fully connected layer, and its output end serves as the output end of the multi-layer classification unit.
[0028] Further, the expressions of the first enhancement channel, the second enhancement channel and the third enhancement channel are: , where Y outis the output of the first enhancement channel, the second enhancement channel or the third enhancement channel, Y in is the input of the first enhancement channel, the second enhancement channel or the third enhancement channel, It is element-wise multiplication and BN is the BN normalization operation.
[0029] The beneficial effects of the present invention are as follows: the message data sent by each vehicle is collected through a cloud platform, the message data is parsed to obtain a data payload for obtaining real information to be provided by the vehicle, and each data payload is classified and processed according to the correlation between the data payloads, and related data payloads are screened out to extract associated data payloads from massive data, and then, based on the processing of each related data payload and based on the classification model, traffic events specified by each related data payload are accurately extracted, and the traffic events are sent to each vehicle through the Internet of Vehicles, so as to realize rapid identification and processing of traffic events, timely notify other vehicles, and reduce the probability of traffic accidents. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 is a flow chart of a vehicle networking communication method;
[0031] Figure 2 It is a structural diagram of the classification model;
[0032] Figure 3 Schematic diagram of the structure of multi-layer classification unit. DETAILED DESCRIPTION
[0033] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0034] like Figure 1 As shown, a vehicle networking communication method includes the following steps:
[0035] S1. Collect the message data sent by each vehicle through the cloud platform, parse the message data, and obtain the data payload;
[0036] S2. Classify and process each data load according to the correlation between the data loads, and select the relevant data loads;
[0037] S3. According to the relevant data loads and based on the classification model, traffic events are obtained and sent to each vehicle through the Internet of Vehicles.
[0038] The S2 comprises the following sub-steps:
[0039] S21, taking an unclassified data payload as a classified payload;
[0040] S22, calculating the correlation between other unclassified data loads and the classified loads;
[0041] S23, judging whether there is a correlation higher than the correlation threshold, if so, classifying the corresponding data payload and the classification payload into a correlation class, and jumping to S21 until all data payloads are classified, if not, discarding the classification payload, and jumping to S21 until all data payloads are classified;
[0042] S24, extracting related classes whose data payload quantity is greater than a quantity threshold, and taking the data payload in the related class as related data payload.
[0043] The present invention calculates the correlation between each classified load and other unclassified data loads, and classifies the data loads with a correlation higher than a correlation threshold into a related class. The data loads in each related class have information correlation. Therefore, related classes with a number of data loads greater than a number threshold are extracted, that is, these data loads corresponding to hot topics are found.
[0044] In this embodiment, the correlation threshold and the quantity threshold are set according to requirements, and the correlation threshold is a threshold set according to each correlation degree.
[0045] The S22 comprises the following sub-steps:
[0046] S221, setting a sliding window with a fixed length of N;
[0047] S222, using a sliding window to slide on the unclassified data payload and the classified payload respectively, and the sliding length of each advance is 1;
[0048] S223, calculating the data feature value under the sliding window after each sliding;
[0049] S224. Calculate the correlation according to the data characteristic value corresponding to the unclassified data load and the data characteristic value corresponding to the classified load.
[0050] In order to calculate the correlation between data loads and classification loads of different data lengths, the present invention sets a sliding window with a length of N. The sliding window slides on the data load or the classification load, advancing one data each time until the data load or the classification load is traversed. After each sliding, the data characteristic value under the sliding window is calculated, and the data characteristic under the current sliding window is reflected by the data characteristic value, so as to facilitate comparison.
[0051] The formula for calculating the data characteristic value in S223 is: , where γ is the data feature value, i is the number of the data in the sliding window, and x i is the i-th data in the sliding window, and e is a natural constant.
[0052] The present invention extracts the number i of the data in the sliding window and the i-th data x in the sliding window i , calculate the data eigenvalues to ensure that the data arrangement and size under each sliding window are consistent, and the data eigenvalues are the same, so that the data eigenvalues have specificity.
[0053] The formula for calculating the correlation in S224 is: , where θ is the correlation, A is the vector of data eigenvalues corresponding to the unclassified data load, B is the vector of data eigenvalues corresponding to the classified load, ∩ is the intersection, and ∪ is the union.
[0054] The present invention calculates the intersection-and-union ratio of two vectors to measure the ratio of the same information existing in the unclassified data load and the classified load.
[0055] like Figure 2 As shown, the classification model in S3 includes: a plurality of first-layer LSTM networks, a second-layer LSTM network, a transposition operation layer, a multiplier M1 and a multi-layer classification unit;
[0056] The input end of each of the first-layer LSTM networks is used to input a related data load; the input end of the second-layer LSTM network is respectively connected to the output ends of multiple first-layer LSTM networks, and its output end is respectively connected to the input end of the transposition operation layer and the first input end of the multiplier M1; the second input end of the multiplier M1 is connected to the output end of the transposition operation layer, and its output end is connected to the input end of the multi-layer classification unit; the output end of the multi-layer classification unit serves as the output end of the multi-layer classification model.
[0057] Each Cell unit in the first layer LSTM network is used to input one bit of data in the relevant data payload;
[0058] Each Cell unit in the second layer LSTM network is used to input a feature value output by the first layer LSTM network, H = {h 1 ,…,h m ,…,h M}, where H is the output of the first layer LSTM network, h 1 is the first eigenvalue output by the first layer LSTM network, h m is the mth eigenvalue output by the first layer LSTM network, h M is the Mth eigenvalue output by a first-layer LSTM network, M is the number of eigenvalues output by a first-layer LSTM network, and m is a positive integer.
[0059] The expression of the multiplier M1 is: , where X is the output of multiplier M1, r 1 is the first eigenvalue output by the second layer LSTM network, r m is the mth eigenvalue output by the second layer LSTM network, r L is the Lth eigenvalue output by the second-layer LSTM network, L is the number of eigenvalues output by the second-layer LSTM network, T is the transposition operation, is the output of the transpose operation layer.
[0060] The present invention adopts each first-layer LSTM network to process a relevant data load, and multiple first-layer LSTM networks process all relevant data loads, so that a first-layer LSTM network can extract the characteristics of the relevant data loads, adopts a second-layer LSTM network to synthesize the characteristics of each relevant data load, considers the correlation between the characteristics of each relevant data load, extracts the relevant characteristics, adopts a transposition operation layer and a multiplier M1 to construct a relevant feature matrix, adopts a multi-layer classification unit to perform multi-level classification processing on the relevant feature matrix, and obtains traffic events.
[0061] like Figure 3 As shown, the multi-layer classification unit includes: a first convolution block, a second convolution block, a third convolution block, a first enhancement channel, a second enhancement channel, a third enhancement channel, a first fully connected layer, a second fully connected layer, a third fully connected layer and a fourth fully connected layer;
[0062] The input end of the first convolution block serves as the input end of the multi-layer classification unit, and its output end is respectively connected to the input end of the second convolution block and the input end of the first enhancement channel; the output end of the second convolution block is respectively connected to the input end of the third convolution block and the input end of the second enhancement channel; the output end of the third convolution block is connected to the input end of the third enhancement channel; the input end of the first fully connected layer is connected to the output end of the first enhancement channel; the input end of the second fully connected layer is connected to the output end of the second enhancement channel; the input end of the third fully connected layer is connected to the output end of the third enhancement channel; the input end of the fourth fully connected layer is respectively connected to the output end of the first fully connected layer, the output end of the second fully connected layer and the output end of the third fully connected layer, and its output end serves as the output end of the multi-layer classification unit.
[0063] In this embodiment, the larger the classification value output by the fourth fully connected layer, the more serious the corresponding traffic event. Specifically, different traffic events can be divided according to the classification value output by the fourth fully connected layer. The traffic events include: congestion, breakdown parking, road maintenance, road collapse, etc.
[0064] The present invention uses the first convolution block, the second convolution block and the third convolution block to respectively extract features of different depths, sets an enhancement channel on the features of each different depth to enhance the features and improve the classification accuracy, uses the first fully connected layer, the second fully connected layer and the third fully connected layer to respectively classify the corresponding enhanced features to obtain the classification value of each layer, and the fourth fully connected layer comprehensively classifies the classification of the features of each layer to improve the classification accuracy.
[0065] The expressions of the first enhancement channel, the second enhancement channel and the third enhancement channel are: , where Y out is the output of the first enhancement channel, the second enhancement channel or the third enhancement channel, Y in is the input of the first enhancement channel, the second enhancement channel or the third enhancement channel, It is element-wise multiplication and BN is the BN normalization operation.
[0066] The present invention multiplies the input of the enhancement channel element by element, so as to further highlight the significant features and weaken the non-significant features, and then uses BN to perform normalization processing to improve the stability of the model.
[0067] The present invention collects message data sent by each vehicle through a cloud platform, parses the message data, obtains data payloads for obtaining real information to be provided by the vehicle, classifies and processes each data payload according to the correlation between the data payloads, screens out relevant data payloads, and realizes extraction of associated data payloads from massive data, and then accurately extracts traffic events specified by each relevant data payload based on the processing of the classification model according to each relevant data payload, and sends the traffic events to each vehicle through the Internet of Vehicles, thereby realizing rapid identification and processing of traffic events, notifying other vehicles in time, and reducing the probability of traffic accidents.
[0068] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A vehicle networking communication method, characterized in that: The following steps are involved: S1. Collect the message data sent by each vehicle through the cloud platform, parse the message data, and obtain the data payload; S2. Classify the data loads according to the correlation between the data loads, and screen out relevant data loads, wherein the relevant data loads are data loads in the relevant class whose number of data loads is greater than a quantity threshold after the data loads are classified; S3. According to each relevant data load, based on the classification model, a traffic event is obtained, and the traffic event is sent to each vehicle through the Internet of Vehicles, wherein the classification model includes: multiple first-layer LSTM networks, second-layer LSTM networks, transposition operation layers, multipliers M1 and multi-layer classification units, each of the first-layer LSTM networks processes a relevant data load to obtain the characteristics of the relevant data load, the second-layer LSTM network integrates the characteristics of each relevant data load to obtain correlation characteristics, the transposition operation layer and the multiplier M1 construct a correlation feature matrix according to the correlation characteristics, and the multi-layer classification unit is used to perform multi-level classification processing on the relevant feature matrix to obtain traffic events; Each Cell unit in the first layer LSTM network is used to input one bit of data in the relevant data payload; Each Cell in the second layer LSTM network is used to input a feature value output by the first layer LSTM network, H = {h1,…,h m ,…,h M }, where H is the output of a first-layer LSTM network, h1 is the first eigenvalue of the output of a first-layer LSTM network, and h m is the mth eigenvalue output by the first layer LSTM network, h M is the Mth eigenvalue output by a first-layer LSTM network, M is the number of eigenvalues output by a first-layer LSTM network, and m is a positive integer; The expression of the multiplier M1 is: , where X is the output of multiplier M1, r1 is the first eigenvalue output by the second layer LSTM network, and r m is the mth eigenvalue output by the second layer LSTM network, r L is the Lth eigenvalue output by the second-layer LSTM network, L is the number of eigenvalues output by the second-layer LSTM network, and T is the transposition operation.
2. The vehicle networking communication method according to claim 1, characterized in that: The S2 comprises the following sub-steps: S21, taking an unclassified data payload as a classified payload; S22, calculating the correlation between other unclassified data loads and the classified loads; S23, judging whether there is a correlation higher than the correlation threshold, if so, classifying the corresponding data payload and the classification payload into a correlation class, and jumping to S21 until all data payloads are classified, if not, discarding the classification payload, and jumping to S21 until all data payloads are classified; S24, extracting related classes whose data payload quantity is greater than a quantity threshold, and taking the data payload in the related class as related data payload.
3. The vehicle networking communication method according to claim 2, characterized in that: The S22 comprises the following sub-steps: S221, setting a sliding window with a fixed length of N; S222, using a sliding window to slide on the unclassified data payload and the classified payload respectively, and the sliding length of each advance is 1; S223, calculating the data feature value under the sliding window after each sliding; S224. Calculate the correlation according to the data characteristic value corresponding to the unclassified data load and the data characteristic value corresponding to the classified load.
4. The vehicle networking communication method according to claim 3, characterized in that: The formula for calculating the data characteristic value in S223 is: , where γ is the data feature value, i is the number of the data in the sliding window, and x i is the i-th data in the sliding window, and e is a natural constant.
5. The vehicle networking communication method according to claim 3, characterized in that: The formula for calculating the correlation in S224 is: , where θ is the correlation, A is the vector of data eigenvalues corresponding to the unclassified data load, B is the vector of data eigenvalues corresponding to the classified load, ∩ is the intersection, and ∪ is the union.
6. The vehicle networking communication method according to claim 1, characterized in that: The input end of each of the first-layer LSTM networks is used to input a related data load; the input end of the second-layer LSTM network is respectively connected to the output ends of multiple first-layer LSTM networks, and its output end is respectively connected to the input end of the transposition operation layer and the first input end of the multiplier M1; the second input end of the multiplier M1 is connected to the output end of the transposition operation layer, and its output end is connected to the input end of the multi-layer classification unit; the output end of the multi-layer classification unit serves as the output end of the multi-layer classification model.
7. The vehicle networking communication method according to claim 6, characterized in that: The multi-layer classification unit includes: a first convolution block, a second convolution block, a third convolution block, a first enhancement channel, a second enhancement channel, a third enhancement channel, a first fully connected layer, a second fully connected layer, a third fully connected layer and a fourth fully connected layer; The input end of the first convolution block serves as the input end of the multi-layer classification unit, and its output end is respectively connected to the input end of the second convolution block and the input end of the first enhancement channel; the output end of the second convolution block is respectively connected to the input end of the third convolution block and the input end of the second enhancement channel; the output end of the third convolution block is connected to the input end of the third enhancement channel; the input end of the first fully connected layer is connected to the output end of the first enhancement channel; the input end of the second fully connected layer is connected to the output end of the second enhancement channel; the input end of the third fully connected layer is connected to the output end of the third enhancement channel; the input end of the fourth fully connected layer is respectively connected to the output end of the first fully connected layer, the output end of the second fully connected layer and the output end of the third fully connected layer, and its output end serves as the output end of the multi-layer classification unit.
8. The vehicle networking communication method according to claim 7, characterized in that: The expressions of the first enhancement channel, the second enhancement channel and the third enhancement channel are: , where Y out is the output of the first enhancement channel, the second enhancement channel or the third enhancement channel, Y in is the input of the first enhancement channel, the second enhancement channel or the third enhancement channel, It is element-wise multiplication and BN is the BN normalization operation.
