| Algorithm 1. QoS Trust Evaluation and Development. |
|
Input: Mobile Nodes, Sensors, and IoT Devices Output: Trust Validate 1: trust_evolution(I ← j) 2: jID // Trust Identification 3: Jreq←I // Send Request to Trustee i 4: check: I ← j (ID +Li) 5: if (j! = Li) Go to Algorithm 2 else go to Algorithm 3 end if 6: Tavi: i←j(avi I ← j, rel I ← j) // Availability and Reliability 7: Tf: T_avi: i←j(avii ← j, reli ← j) 8: if (Tf > 90%) service_provider (Ti ← j) else if (Tf > 50% && Tf < 90%) network_comm (Ti ← j) else dumble_terminal (Ti ← j) end if 9: trust I ← j ( ) ← published () |