Skip to main content
. 2018 Mar 14;18(3):856. doi: 10.3390/s18030856
Algorithm 1 Trusted Routing Discovery.
Receive an TREQ(S,D) or an TREP(S,D) from V1;
/*Verify the trustworthiness of V1*/
Broadcast TREQ(V1) to request the opinions from Vs neighbors to V1;
Receive opinions from Vs neighbors: ωV1V2,ωV1V3,ωV1V4
Combine these opinions together and get a latest: ωV1V
Exchange opinions about V1 with its neighbors wV2,V3,V4V.
/* ωV1VU and Judge the next step using conditions set in Table 1 */
if bV1V0.5
trust V1 and forward RREQ/RREP
elseif dV1V0.5
distrust V1 for expiry time
elseif uV1V0.5 request and verify digital certificate
else
/* the confidence about trustworthiness is decreased*/
request and verify V1 certificates, by default
endif