Roadside unit trust prediction method and system

By constructing a roadside unit trust prediction model and utilizing vehicle trust scores and social trust information, direct and indirect trust values ​​are calculated, which solves the problem that centralized trust prediction schemes are susceptible to single-point failures and enables effective identification of malicious RSUs and screening of safe and reliable RSUs.

CN117828358BActive Publication Date: 2026-12-01NANJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311619740.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2026-12-01
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

Existing centralized trust prediction schemes are susceptible to single points of failure, have low accuracy in predicting malicious RSUs, and cannot effectively screen out safe and reliable roadside unit RSUs.

Method used

By constructing a roadside unit trust prediction model, using vehicle trust score data and social trust information, direct and indirect predicted trust values ​​are calculated, and a regularization term based on similarity RSU is added. The weights are determined by combining Pearson similarity, betweenness centrality and local clustering coefficient, thus constructing a roadside unit trust prediction system.

Benefits of technology

It improves the accuracy of model prediction, effectively identifies malicious RSUs, avoids vehicle interaction with malicious RSUs, filters out safe and reliable RSUs, and enhances the system's adaptability and prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117828358B_ABST
    Figure CN117828358B_ABST
Patent Text Reader

Abstract

The application provides a roadside unit trust prediction method and system, which comprises the following steps: acquiring trust score data of a vehicle to a roadside unit RSU; determining a predicted trust value by weighted fusion of a direct predicted trust value and an indirect predicted trust value, adding a regularization term based on similar RSUs, and constructing a roadside unit trust prediction model; obtaining a trained roadside unit trust prediction model; obtaining a target predicted trust value for a selected target roadside unit; determining whether the target roadside unit is trusted according to the obtained target predicted trust value; when the target roadside unit is trusted, the vehicle interacts with the target roadside unit, a real trust score is generated, and the trust score data is updated according to the real trust score; the application can improve the prediction accuracy of the model, effectively identify malicious RSUs, and screen safe and reliable RSUs for vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a roadside unit trust prediction method and system, belonging to the field of roadside unit trust prediction technology. Background Technology

[0002] With the advent of vehicular ad hoc networks (VANETs), vehicles can wirelessly communicate with roadside units (RSUs) through the onboard unit (OBU) to obtain real-time information, thereby achieving a better driving experience. For example, vehicles can obtain road traffic conditions through the roadside unit (RSU) in order to choose the most suitable driving route.

[0003] However, this presents safety risks. If a malicious roadside unit (RSU) sends false information, it could cause vehicles to make incorrect decisions, leading to serious traffic accidents. Furthermore, even with non-malicious RSUs, resource differences may prevent them from meeting the vehicle's needs in terms of communication latency or overhead.

[0004] Existing trust management solutions can be broadly categorized into three types based on their core structure: entity-oriented, data-oriented, and hybrid trust models. Methodologically, they fall into two main categories: those based on mathematical modeling and those based on machine learning. Furthermore, they are primarily divided into two application scenarios: IoT environments based on mobile edge computing and IoT environments based on non-mobile edge computing. However, most of these trust prediction solutions are centralized. Centralized trust prediction solutions are susceptible to single points of failure, posing significant security challenges and exhibiting low accuracy in predicting malicious RSUs (Responsible Submissions).

[0005] Therefore, a trust prediction mechanism is needed to solve the roadside unit (RSU) safety problem in VANETs. By predicting the trust in the RSU, a safe and reliable RSU that can meet the vehicle's needs can be selected.

[0006] The above-mentioned issues should be considered and resolved in the process of roadside unit trust prediction. Summary of the Invention

[0007] The purpose of this invention is to provide a roadside unit trust prediction method and system to solve the problems in the existing technology where centralized trust prediction schemes are easily affected by single point of failure and the prediction accuracy of malicious RSUs needs to be improved.

[0008] The technical solution of this invention is:

[0009] A roadside cell trust prediction method includes the following steps:

[0010] S1. Obtain vehicle trust score data for Roadside Unit (RSU), including vehicle number, RSU number, and actual trust value.

[0011] S2. Convert the trust score data into a trust score matrix, and calculate the vehicle trust preference matrix using the trust score matrix. and RSU trust attribute matrix ;

[0012] S3. Calculate the vehicle's implicit trust preference matrix using the vehicle's trust score data for Roadside Units (RSUs). ;

[0013] S2. Calculate the direct prediction confidence value of the current vehicle to the roadside unit (RSU) and the indirect prediction confidence value of a reliable and similar vehicle to the roadside unit (RSU). The prediction confidence value is then determined by weighted fusion of the direct and indirect prediction confidence values. And add a regularization term based on similar RSU to build a roadside unit trust prediction model;

[0014] S3. Use trust scoring data to train the roadside unit trust prediction model to obtain the trained roadside unit trust prediction model.

[0015] S4. For the selected target roadside unit, use the trained roadside unit trust prediction model to obtain the target prediction trust value.

[0016] S5. Determine whether the target roadside unit is trusted based on the obtained target prediction trust value. If the obtained target prediction trust value is greater than the set value, determine that the target roadside unit is trusted and proceed to the next step S6; otherwise, if it is not trusted, select the next target roadside unit and return to step S4.

[0017] S6. The vehicle interacts with the target roadside unit to generate a real trust score, and the trust score data in step S1 is updated by the real trust score.

[0018] Furthermore, in step S2, credible and similar vehicles are determined based on the vehicles' social networks and by utilizing Pearson correlation coefficients and vehicle influence.

[0019] Further, in step S2, a roadside unit trust prediction model is constructed:

[0020] in, To predict trust values, This is a set of RSUs (Remote Vehicle Units) that have a history of interactions. This represents the true trust value between vehicle number i and roadside unit RSU number j. It is a regularization parameter. , , It is the vehicle trust preference matrix P and the RSU trust attribute matrix. Vehicle Implicit Trust Preference Matrix The Frobenius norm, u(i) is the vehicle rating bias, f For roadside unit (RSU) resource deviation, RSU Trust Attribute Matrix Middle side unit Trust attribute feature vector, For the set of similar RSUs: ,in, Represents roadside unit With roadside units Pearson similarity, It is a standardized weight. RSU Trust Attribute Matrix Middle side unit Trust attribute feature vector;

[0021] Furthermore, in step S2, the standardized weights :

[0022]

[0023] in, Represents roadside unit With roadside units Pearson similarity, Represents roadside unit With roadside units Pearson similarity: Among them, and They respectively indicate that they were called and The collection of vehicles Where U is called simultaneously and The collection of vehicles and They represent and The average level of trust.

[0024] Further, in step S2, the direct prediction confidence value of the current vehicle to the roadside unit (RSU) and the indirect prediction confidence value of credible and similar vehicles to the roadside unit (RSU) are calculated. The prediction confidence value is then determined by weighted fusion of the direct and indirect prediction confidence values. Specifically,

[0025] S21. Calculate the direct prediction confidence value of the current vehicle to the roadside unit (RSU). :

[0026]

[0027] in, It is a vehicle trust preference matrix China Vehicle Trust preference vector, , Vehicle number i is the vehicle-to-roadside unit. , True trust value, Vehicle Implicit Trust Preference Matrix Middle side unit The vehicles that reacted The vehicle implicit trust preference vector, u(i) is the vehicle rating bias, f For roadside unit (RSU) resource deviation, RSU Trust Attribute Matrix Middle side unit The trust attribute feature vector, where T represents the transpose;

[0028] S22. Calculate the indirect prediction confidence value of reliable and similar vehicles for roadside unit (RSU). :

[0029]

[0030] in, It is a vehicle trust preference matrix China Vehicle Trust preference vector, , The vehicle number x represents the vehicle-to-roadside unit (RSU) number. , The true trust value of the roadside unit (RSU). It is the vehicle's implicit trust preference matrix Middle side unit The vehicle that reacted Implicit trust preferences;

[0031] S23. Calculate the weight of the indirect prediction confidence value. And direct prediction of trust value weights ;

[0032] S24. Calculate the weight of the predicted trust value for each trustworthy and similar vehicle. ;

[0033] S25. The predicted confidence value is determined by weighted fusion of the direct and indirect predicted confidence values. :

[0034]

[0035] in, To directly predict the trust value weight; Weights for indirect prediction of trust values; A reliable and similar set of vehicles: Where F(i) is the vehicle A collection of trusted vehicles For vehicles and vehicles Vehicle similarity.

[0036] Further, in step S23, the weights of the indirect prediction confidence value are calculated. It is calculated based on the percentage of credible and similar vehicles that have had an interaction history with the target RSU:

[0037]

[0038] in, It is the number of vehicles that have interacted with the target RSU among trusted and similar vehicles; It is the number of trusted and similar vehicles that have not interacted with the target RSU.

[0039] Further, in step S24, the weight of the predicted trust value for each trustworthy and similar vehicle is calculated. Specifically,

[0040] S241. Calculate vehicle information using Pearson correlation coefficient. and vehicles similarity ;

[0041] S242, Calculate the vehicle and vehicles Vehicle similarity :

[0042]

[0043] in, and Representing vehicles and vehicles The set of RSUs that have been interacted with;

[0044] S243. Determining vehicles using betweenness centrality. Influence on social networks ;

[0045] S244. Combining between betweenness centrality and local clustering coefficient, determine the vehicle. Local influence :

[0046]

[0047] in, It is a vehicle The number of vehicles that trust each other. It is a vehicle The number of trusted vehicles;

[0048] S245, Weights of the predicted trust values ​​for each trustworthy and similar vehicle :

[0049] ,

[0050] in, Represents roadside unit With roadside units similarity, Represents roadside unit With roadside units similarity, , vehicles , Its local influence.

[0051] Furthermore, in step S241, the vehicle is calculated using the Pearson correlation coefficient. and vehicles similarity :

[0052]

[0053] Where S is the vehicle and vehicles The set of RSUs that have all interacted with and Representing vehicles and vehicles The given average trust level The value is in the range [-1, 1]. The larger the value, the higher the similarity of the vehicles.

[0054] Furthermore, in step S243, the vehicle is determined by betweenness centrality. Influence on social networks for:

[0055]

[0056] Among them, g st It is a vehicle-to-everything (V2X) social network. s Arrival vehicle V t The number of shortest paths, g st (x) is from vehicle V s Arrival vehicle V t The number of shortest paths between vehicles x; n is the number of nodes in the vehicle social network.

[0057] A roadside unit trust prediction system includes vehicles, roadside units (RSUs), a fog server, and a cloud server.

[0058] Vehicles: Before interacting with the Roadside Unit (RSU), a prediction request is sent to the fog server; based on the trust score data of the Roadside Unit (RSU) sent back by the fog server, it is determined whether to interact with the Roadside Unit (RSU); and after interacting with the Roadside Unit (RSU), trust score data is generated.

[0059] Roadside Unit (RSU): Used for interaction with vehicles;

[0060] Fog server: Based on the vehicle's prediction request, it uses any of the roadside unit trust prediction methods described above to obtain the trust score data of the roadside unit (RSU) and then sends it to the vehicle.

[0061] Cloud server: Used to store the trust attribute information of vehicles and RSUs uploaded by the fog server, including vehicle trust preference matrix, RSU trust attribute matrix, vehicle implicit trust preference matrix, and trust bias including vehicle rating bias and RSU resource bias.

[0062] The beneficial effects of this invention are:

[0063] I. Compared with existing technologies, this roadside unit trust prediction method comprehensively considers the trust rating information of vehicles to RSUs and the social trust information between vehicles, which can improve the prediction accuracy of the model, effectively identify malicious RSUs, avoid vehicles from interacting with malicious RSUs, and screen out safe and reliable RSUs for vehicles.

[0064] Second, this invention determines the predicted trust value weights of credible and similar vehicles by using Pearson similarity, betweenness centrality and clustering coefficient, avoiding manual assignment and improving the adaptability of the weights.

[0065] Third, this roadside unit trust prediction method finds similar RSUs through Pearson similarity and adds a regularization term based on similar RSUs to the model, which can improve the prediction accuracy of the model. Attached Figure Description

[0066] Figure 1This is a flowchart illustrating the roadside unit trust prediction method according to an embodiment of the present invention;

[0067] Figure 2 This is a schematic diagram illustrating the roadside unit trust prediction system of an embodiment;

[0068] Figure 3 This is a schematic diagram illustrating the application scenario of the roadside unit trust prediction method in the embodiment. Detailed Implementation

[0069] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0070] Example

[0071] A roadside cell trust prediction method, such as Figure 1 This includes the following steps:

[0072] S1. Obtain vehicle trust score data for Roadside Units (RSUs), including vehicle number, RSU number, and actual trust value.

[0073] S2. Calculate the direct prediction confidence value of the current vehicle to the roadside unit (RSU) and the indirect prediction confidence value of similar vehicles to the roadside unit (RSU). The prediction confidence value is then determined by weighted fusion of the direct and indirect prediction confidence values. Furthermore, a regularization term based on similar RSU was added to construct a roadside unit trust prediction model.

[0074] In step S2, similar vehicles are determined based on their social networks and by utilizing Pearson correlation coefficients and vehicle influence. This results in a reliable and similar set of vehicles. : Where F(i) is the vehicle A known set of trusted vehicles, where each vehicle has its own set of trusted vehicles. For vehicles and vehicles Vehicle similarity.

[0075] In step S2, a roadside unit trust prediction model is constructed:

[0076] in, To predict trust values, This is a set of RSUs (Remote Vehicle Units) that have a history of interactions. This represents the true trust value between vehicle number i and roadside unit RSU number j. It is a regularization parameter. , , It is the vehicle trust preference matrix P and the RSU trust attribute matrix. Vehicle Implicit Trust Preference Matrix The Frobenius norm, u(i) is the vehicle rating bias, f For roadside unit (RSU) resource deviation, RSU Trust Attribute Matrix Middle side unit Trust attribute feature vector, For the set of similar RSUs: ,in, Represents roadside unit With roadside units Pearson similarity, It is a standardized weight. RSU Trust Attribute Matrix Middle side unit The trust attribute feature vector.

[0077] In step S2, the vehicle trust preference matrix RSU Trust Attribute Matrix Vehicle Implicit Trust Preference Matrix This is obtained by transforming the trust score data in step S1 into a trust score matrix, and then performing matrix decomposition. Vehicle Trust Preference Matrix This includes trust preference vectors for n vehicles, where each vehicle's trust preference vector includes attributes such as response time and communication overhead. RSU Trust Attribute Matrix This includes trust attribute feature vectors for m RSUs, where each RSU's trust attribute feature vector includes attributes such as response time and communication overhead. Vehicle Implicit Trust Preference Matrix It includes m implicit trust preference feature vectors of the vehicle after interacting with the RSU, where each implicit trust preference feature vector includes attributes such as response time and communication overhead.

[0078] In step S2, differences in vehicle rating standards and limitations in computational resources related to Roadside Units (RSUs) all affect a vehicle's trust rating towards the RSU. Therefore, the constructed roadside unit trust prediction model explicitly considers two types of trust bias: vehicle rating bias u(i) and RSU resource bias f. .

[0079] In step S2, the Top-K algorithm is used to filter out similar RSUs. Determining the number of similar RSUs is crucial for prediction accuracy because some RSUs may provide useless information for prediction, thus reducing prediction accuracy. To select an appropriate number of similar RSUs, the Top-K algorithm is used to select the top K from RSUs with a similarity greater than zero, removing RSUs that may have a negative impact. The set of similar RSUs is defined as follows: Among them, in order to solve and The number of identical vehicles interacting is small, so the Pearson correlation coefficient may be low. and The problem of excessive similarity and Pearson similarity ,in, and They respectively indicate that they were called and The similarity between RSUs was calculated using the Pearson correlation coefficient from the set of vehicles. U is called simultaneously and The collection of vehicles and They represent and The average level of trust.

[0080] In step S2, similar RSUs should provide a similar service experience for the same vehicle because they largely share similar attributes, such as response time and communication overhead. Based on this, the following regularization term based on similar RSUs is proposed: ,in, yes Trust attribute feature vector, yes The trust attribute feature vector. Assume... The attribute feature vector is similar to the average attribute feature vector of all RSUs in a similar RSU set. This regularization term is used to minimize... Similar RSU set TS The above formula assumes that the trust attribute feature vector of each similar RSU is close to the average trust attribute feature vector of the similar RSU set. This process assumes that each similar RSU has the same weight, but this is impossible in reality. Obviously, RSUs with higher similarity to the target RSU should have a larger proportion. To re-evaluate the importance of each RSU in the similar RSU set, the above regularization term is modified as follows: Regularization term based on similar RSUs: .

[0081] In step S2, standardized weights :

[0082]

[0083] in, Represents roadside unit With roadside units Pearson similarity, Represents roadside unit With roadside units Pearson similarity.

[0084] In step S2, the direct prediction confidence value of the current vehicle to the roadside unit (RSU) and the indirect prediction confidence value of similar vehicles to the roadside unit (RSU) are calculated. The prediction confidence value is then determined by weighted fusion of the direct and indirect prediction confidence values. Specifically,

[0085] S21. Calculate the direct prediction confidence value of the current vehicle to the roadside unit (RSU). :

[0086]

[0087] in, It is a vehicle trust preference matrix China Vehicle Trust preference vector, , Vehicle number i is the vehicle-to-roadside unit. , True trust value, Vehicle Implicit Trust Preference Matrix Middle side unit The vehicles that reacted The vehicle implicit trust preference vector, u(i) is the vehicle rating bias, f For roadside unit (RSU) resource deviation, RSU Trust Attribute Matrix Middle side unit The trust attribute feature vector, where T represents the transpose;

[0088] S22. Calculate the indirect prediction confidence value of similar vehicles for roadside unit (RSU). :

[0089]

[0090] in, It is a vehicle trust preference matrix China Vehicle Trust preference vector, , The vehicle number x represents the vehicle-to-roadside unit (RSU) number. , The true trust value of the roadside unit (RSU). It is the vehicle's implicit trust preference matrix Middle side unit The vehicle that reacted Implicit trust preferences;

[0091] In step S22, trustworthy and similar vehicles are selected through the vehicle's social network using the Pearson correlation coefficient and vehicle influence, and the predicted trust value of the trustworthy and similar vehicle to the RSU is calculated as the indirect predicted trust value.

[0092] S23. Calculate the weight of the indirect prediction confidence value. And direct prediction of trust value weights ;

[0093] In step S23, the weights of the indirect prediction confidence value are calculated. It is calculated based on the percentage of credible and similar vehicles that have had an interaction history with the target RSU:

[0094]

[0095] in, It is the number of vehicles that have interacted with the target RSU among trusted and similar vehicles; It is the number of trusted and similar vehicles that have not interacted with the target RSU.

[0096] S24. Calculate the weight of the predicted trust value for each trustworthy and similar vehicle. Specifically,

[0097] S241. Calculate vehicle information using Pearson correlation coefficient. and vehicles similarity ;

[0098] In step S241, trustworthy vehicles are found through the vehicle's social network, and the vehicle correlation coefficient is calculated using the Pearson correlation coefficient. and vehicles similarity :

[0099]

[0100] Where S is the vehicle and vehicles The set of RSUs that have all interacted with and Representing vehicles and vehicles The given average trust level The value is in the range [-1, 1]. The larger the value, the higher the similarity of the vehicles.

[0101] S242, Calculate the vehicle and vehicles Vehicle similarity :

[0102]

[0103] in, and Representing vehicles and vehicles The set of RSUs that have been interacted with;

[0104] In step S242, the similarity is calculated using the above formula, which can avoid vehicle and vehicles When there are few identical RSUs that have interacted, the Pearson correlation coefficient may lead to vehicle... and vehicles The problem is that the similarity is too high.

[0105] S243. Determining vehicles using betweenness centrality. Influence on social networks ;

[0106] In step S243, the vehicle is determined by betweenness centrality. Influence on social networks for:

[0107]

[0108] Among them, g st It is a vehicle-to-everything (V2X) social network. s Arrival vehicle V t The number of shortest paths, g st (x) is from vehicle V s Arrival vehicle V t The number of shortest paths between vehicles x; n is the number of nodes in the vehicle social network.

[0109] S244. Combining between betweenness centrality and local clustering coefficient, determine the vehicle. Local influence :

[0110]

[0111] in, It is a vehicle The number of vehicles that trust each other. It is a vehicle The number of trusted vehicles;

[0112] S245, Weights of the predicted trust values ​​for each trustworthy and similar vehicle :

[0113] ,

[0114] in, Represents roadside unit With roadside units similarity, Represents roadside unit With roadside units similarity, , vehicles , Its local influence.

[0115] In step S24, a vehicle's influence is determined by how quickly it transmits information from its own social network to the entire social network. The faster a vehicle transmits information from its own social network to the entire network, the stronger its information transmission capability and the higher its influence. Vehicles with higher influence are more likely to provide valuable suggestions. Betweenness centrality is used to determine a vehicle's influence within the social network. However, betweenness centrality is a global evaluation parameter and cannot accurately describe a vehicle's relative influence within a local network. In graph theory, the clustering coefficient describes the tightness of connections between nodes in a network. Therefore, betweenness centrality and the clustering coefficient are combined to determine the vehicle's local influence in step S244.

[0116] S25. The predicted confidence value is determined by weighted fusion of the direct and indirect predicted confidence values. :

[0117]

[0118] in, To directly predict the trust value weight; Weights for indirect prediction of trust values; A reliable and similar set of vehicles: Where F(i) is the vehicle A collection of trusted vehicles.

[0119] In step S2, similar RSUs are selected using the Pearson correlation coefficient, and the model prediction accuracy is improved by adding a regularization term based on similar RSUs.

[0120] S3. Use trust score data to train the roadside unit trust prediction model to obtain the trained roadside unit trust prediction model.

[0121] S4. For the selected target roadside unit, use the trained roadside unit trust prediction model to obtain the target prediction trust value.

[0122] S5. Determine whether the target roadside unit is trusted based on the obtained target prediction trust value. If the obtained target prediction trust value is greater than the set value, determine that the target roadside unit is trusted and proceed to the next step S6; otherwise, if it is not trusted, select the next target roadside unit and return to step S4.

[0123] In step S5, the set value is the average rating of the current vehicle, which can be obtained from the trust rating data in S1.

[0124] S6. The vehicle interacts with the target roadside unit to generate a real trust score, and the trust score data in step S1 is updated by the real trust score.

[0125] This roadside unit trust prediction method, compared with existing technologies, comprehensively considers vehicle trust rating information for RSUs and social trust information between vehicles, which can improve the model's prediction accuracy, effectively identify malicious RSUs, avoid vehicle interaction with malicious RSUs, and screen out safe and reliable RSUs for vehicles. It can solve the technical shortcomings of vehicles in ad hoc networks being unable to effectively identify malicious RSUs and centralized trust prediction schemes being susceptible to single points of failure.

[0126] This invention determines the predicted trust value weights of credible and similar vehicles by using Pearson similarity, betweenness centrality, and clustering coefficient, avoiding manual assignment and improving the adaptability of the weights.

[0127] This roadside unit trust prediction method finds similar RSUs through Pearson similarity and adds a regularization term based on similar RSUs to the model, which can improve the prediction accuracy of the model.

[0128] like Figure 3 The embodiment also provides a roadside unit trust prediction system, including vehicles, roadside units (RSUs), fog servers, and cloud servers.

[0129] Vehicles: Before interacting with the Roadside Unit (RSU), a prediction request is sent to the fog server; based on the trust score data of the Roadside Unit (RSU) sent back by the fog server, it is determined whether to interact with the Roadside Unit (RSU); and after interacting with the Roadside Unit (RSU), trust score data is generated.

[0130] Roadside Unit (RSU): Used for interaction with vehicles;

[0131] Fog server: Based on the vehicle's prediction request, it uses any of the roadside unit trust prediction methods described above to obtain the trust score data of the roadside unit (RSU) and then sends it to the vehicle.

[0132] Cloud server: Used to store the trust attribute information of vehicles and RSUs uploaded by the fog server, including vehicle trust preference matrix, RSU trust attribute matrix, vehicle implicit trust preference matrix, and trust bias including vehicle rating bias and RSU resource bias.

[0133] like Figure 2 The roadside unit trust prediction model employs a locally centralized, globally distributed architecture. Vehicles interact with RSUs and generate rating data. The roadside unit trust prediction model is deployed on fog servers. Each fog server collects rating data within its own area, completes prediction requests, and uploads the trust attribute information of vehicles and RSUs (including vehicle trust preference matrix, RSU trust attribute matrix, vehicle implicit trust preference matrix, trust bias, etc.) to the cloud server. The cloud server stores and forwards the trust attribute information of vehicles and RSUs to the fog server. When a vehicle or RSU encounters a cold start problem upon entering a new area, the trust attribute information is forwarded to the fog server.

[0134] like Figure 3 In a vehicular ad hoc network, the vehicle wirelessly communicates with Roadside Units (RSUs) to receive services provided by them. After the service is completed, the vehicle rates the RSUs based on the quality of service. The fog server collects the rate data, converts it into a rate matrix, and uses this matrix to train a prediction model. At this point, the vehicle... To obtain traffic flow information from the roadside units (RSUs) surrounding road B, and to ensure data accuracy, it is necessary to analyze the roadside units. , and Trust prediction is performed to select the most trustworthy roadside unit (RSU). Vehicles First, a prediction request is sent to the fog server. After receiving the request, the fog server uses the roadside unit trust prediction model to predict vehicles. roadside units , and Trust score, and send the predicted score to the vehicle ,vehicle Based on the rating, a service request is sent to a trusted Roadside Unit (RSU), which then sends a service request to the vehicle. Provide services.

[0135] This roadside unit trust prediction method and system addresses the problem in vehicular ad hoc networks where vehicles cannot determine the trust status of RSUs before interacting with them, potentially leading to malicious RSU interactions and serious consequences such as traffic accidents. The method constructs a roadside unit trust prediction model, which mainly consists of a prediction function and a regularization term. The prediction function is further divided into direct trust prediction and indirect trust prediction, including a vehicle trust preference matrix, an RSU trust attribute matrix, a trust bias, and a vehicle implicit trust preference matrix. The regularization term includes the Frobenius norms of the vehicle trust preference matrix, the RSU trust attribute matrix, the trust bias, the implicit trust preference matrix, and the trust attributes based on similar RSUs. This model comprehensively considers vehicle trust rating information for RSUs and social trust information between vehicles through matrix factorization, solving the problem in vehicular ad hoc networks where vehicles cannot effectively identify malicious RSUs before interacting with them.

[0136] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A roadside unit trust prediction method, characterized in that: Includes the following steps, S1. Obtain vehicle trust score data for Roadside Unit (RSU), including vehicle number, RSU number, and actual trust value. S2. Calculate the direct prediction confidence value of the current vehicle to the roadside unit (RSU) and the indirect prediction confidence value of a reliable and similar vehicle to the roadside unit (RSU). The prediction confidence value is then determined by weighted fusion of the direct and indirect prediction confidence values. And add a regularization term based on similar RSU to build a roadside unit trust prediction model; In step S2, the direct prediction confidence value of the current vehicle to the roadside unit (RSU) and the indirect prediction confidence value of credible and similar vehicles to the roadside unit (RSU) are calculated. The prediction confidence value is then determined by weighted fusion of the direct and indirect prediction confidence values. Specifically, S21. Calculate the direct prediction confidence value of the current vehicle to the roadside unit (RSU). : in, It is a vehicle trust preference matrix China Vehicle Trust preference vector, Vehicle number i is the vehicle-to-roadside unit. , True trust value, Vehicle Implicit Trust Preference Matrix Middle side unit The vehicles that reacted The vehicle implicit trust preference vector, u(i) represents the vehicle rating bias. For roadside unit (RSU) resource deviation, RSU Trust Attribute Matrix Middle side unit The trust attribute feature vector, where T represents the transpose; S22. Calculate the indirect prediction confidence value of reliable and similar vehicles for roadside unit (RSU). : in, It is a vehicle trust preference matrix China Vehicle Trust preference vector, , The vehicle number x represents the vehicle-to-roadside unit (RSU) number. , The true trust value of the roadside unit (RSU). It is the vehicle's implicit trust preference matrix Middle side unit The vehicle that reacted Implicit trust preferences; S23. Calculate the weight of the indirect prediction confidence value. And direct prediction of trust value weights ; S24. Calculate the weight of the predicted trust value for each trustworthy and similar vehicle. ; S241. Calculate vehicle information using Pearson correlation coefficient. and vehicles similarity ; S242, Calculate the vehicle and vehicles Vehicle similarity : in, and Representing vehicles and vehicles The set of RSUs that have been interacted with; S243. Determining vehicles using betweenness centrality. Influence on social networks ; S244. Combining between betweenness centrality and local clustering coefficient, determine the vehicle. Local influence : in, It is a vehicle The number of vehicles that trust each other. It is a vehicle The number of trusted vehicles; S245, Weights of the predicted trust values ​​for each trustworthy and similar vehicle : , in, Represents roadside unit With roadside units similarity, Represents roadside unit With roadside units similarity, , vehicles , Local influence; S25. The predicted confidence value is determined by weighted fusion of the direct and indirect predicted confidence values. : , in, To directly predict the trust value weight; Weights for indirect prediction of trust values; A reliable and similar set of vehicles: Where F(i) is the vehicle A collection of trusted vehicles For vehicles and vehicles Vehicle similarity; S3. Use trust scoring data to train the roadside unit trust prediction model to obtain the trained roadside unit trust prediction model. S4. For the selected target roadside unit, use the trained roadside unit trust prediction model to obtain the target prediction trust value. S5. Determine whether the target roadside unit is trusted based on the obtained target prediction trust value. If the obtained target prediction trust value is greater than the set value, determine that the target roadside unit is trusted and proceed to the next step S6; otherwise, if it is not trusted, select the next target roadside unit and return to step S4. S6. The vehicle interacts with the target roadside unit to generate a real trust score, and the trust score data in step S1 is updated by the real trust score.

2. The roadside unit trust prediction method as described in claim 1, characterized in that: In step S2, credible and similar vehicles are determined based on the vehicles' social networks and by utilizing Pearson correlation coefficients and vehicle influence.

3. The roadside unit trust prediction method as described in claim 1, characterized in that: In step S2, a roadside unit trust prediction model is constructed: in, To predict trust values, This is a set of RSUs (Remote Vehicle Units) that have a history of interactions. This represents the true trust value between vehicle number i and roadside unit RSU number j. It is a regularization parameter. , , It is the vehicle trust preference matrix P and the RSU trust attribute matrix. Vehicle Implicit Trust Preference Matrix The Frobenius norm, u(i) represents the vehicle rating bias. For roadside unit (RSU) resource deviation, RSU Trust Attribute Matrix Middle side unit Trust attribute feature vector, For the set of similar RSUs: ,in, Represents roadside unit With roadside units Pearson similarity, It is a standardized weight. RSU Trust Attribute Matrix Middle side unit Trust attribute feature vector; 4. The roadside unit trust prediction method as described in claim 3, characterized in that: In step S2, standardized weights : in, Represents roadside unit With roadside units Pearson similarity, Represents roadside unit With roadside units Pearson similarity: Among them, and They respectively indicate that they were called and The collection of vehicles Where U is called simultaneously and The collection of vehicles and They represent and The average level of trust.

5. The roadside cell trust prediction method as described in any one of claims 1-4, characterized in that: In step S23, the weights of the indirect prediction confidence value are calculated. It is calculated based on the percentage of trusted, credible, and similar vehicles that have had interaction history with the target RSU: in, It is the number of vehicles that have interacted with the target RSU among trusted and similar vehicles; It is the number of trusted and similar vehicles that have not interacted with the target RSU.

6. The roadside cell trust prediction method according to any one of claims 1-4, characterized in that: In step S241, the vehicle is calculated using the Pearson correlation coefficient. and vehicles similarity : Where S is the vehicle and vehicles The set of RSUs that have all interacted with and Representing vehicles and vehicles The given average trust level The value is in the range [-1, 1]. The larger the value, the higher the similarity of the vehicles.

7. The roadside cell trust prediction method as described in any one of claims 1-4, characterized in that: In step S243, the vehicle is determined by betweenness centrality. Influence on social networks for: Among them, g st It is a vehicle-to-everything (V2X) social network. s Arrival vehicle V t The number of shortest paths, g st (x) is from vehicle V s Arrival vehicle V t The number of shortest paths between vehicles x; n is the number of nodes in the vehicle social network.

8. A roadside unit trust prediction system, characterized in that: This includes vehicles, roadside units (RSUs), fog servers, and cloud servers. Vehicles: Before interacting with the Roadside Unit (RSU), they send a prediction request to the fog server; based on the trust score data of the Roadside Unit (RSU) sent back by the fog server, they determine whether to interact with the Roadside Unit (RSU). And after interacting with the Roadside Unit (RSU), trust score data is generated; Roadside Unit (RSU): Used for interaction with vehicles; Fog server: Based on the vehicle's prediction request, the roadside unit trust prediction method according to any one of claims 1-7 is used to obtain the trust score data of the roadside unit (RSU) and then send it to the vehicle. Cloud server: Used to store the trust attribute information of vehicles and RSUs uploaded by the fog server, including vehicle trust preference matrix, RSU trust attribute matrix, vehicle implicit trust preference matrix, and trust bias including vehicle rating bias and RSU resource bias.

Citation Information

Patent Citations

  • Cold-start recommendation method based on user preferences and trust

    CN107301583A

  • Decision-making method for auxiliary edge trusted intelligent service, electronic equipment and storage medium

    CN116011830A