Research Article
Hierarchical Hybrid Trust Management Scheme in SDN-Enabled VANETs
Algorithm 2
Hybrid trust calculation.
| | Input DIS, TV, HTthre | | | Output HT | | | if vehicle i receives interactive information from vehicle j then | | | Use Algorithm 1 to solve the ST and RT of the vehicle | | | if Vehicle i is within the coverage of RSU then | | | Calculate DCij using equation (8) | | | Calculate using equation (9) | | | Calculate IT using equation (10) | | | else | | | IT = 0 | | | end if | | | Calculate HT using equation (11) | | | end if | | | if HT ≥ HTthre then | | | Confirm that vehicle j is a trusted vehicle | | | Continue to receive interactive information from vehicle j | | | else | | | Confirm that vehicle j is a dishonest vehicle | | | Discard the interaction request information of the vehicle | | | end if | | | Upgrade the trust management information of vehicle j in the LTD of vehicle i | | | Broadcast the trust management upgrade information of vehicle i |
|