--- title: Trust Managment happ for IoT --- # IoT Trust Managment ! --- ## Brief Introduction : ##### Trust Managment for IoT In IoT peer to peer network, IoT devices directly interacting with each other in order to exchange data or receive some services. So, implementing a Trust management system plays a significant role in recognizing best members/services and increase the trust between peers in the network subsequently improve the efficiency and reliability for any system. Moreover, trust management is a rating system that assigns a trust level for each peer in the IoT network. These trust levels are gradually computed toward a service provider by aggregating all received trust data (rate) from evaluators who have been directly interacted with them. Then,these trust levels are shared globally with others. [more details ](https://www.researchgate.net/publication/334705381_Secure_and_Scalable_Trust_Management_Model_for_IoT_P2P_Network) In simple words, our IoT Trust Management includes: - Collect ratings from evaluators (IoT devices) - Compute and update the trust level for each service provider - Finally, distribute and exchange trust levels between IoT peers. --- #### Note : It is an abstract trust app that could be implemented for any IoT application. Since computing rates vary from scenario to others, and the parameters vary according to the nature of the activities, we did not consider how these rates will be computed and according to which criteria. We just assume these rates will be received from IoT. --- ```Overall Design``` ![](https://i.imgur.com/FqqBBpO.png) ## Implementation Details - [x] **Front end:** `Initial Design.. ` - **Trust management part :** - [x] 1. Overall design , and functional requirements - [x] 2. Design data structure and relations - [x] 3. Implementing main functions: - [ ] 4. Validation functions - [ ] 5. Testing & reporting result - **IoT part:** `Architecture Design Phase.. ` --- ### 1. Functional Requirments #### Trust Managment | no. | functional requirments description | |:---:| ------------------------------------------------------------------------------------------- | | 1 |Each fog collects and records all ratings received from IoT devices (evaluator). | | 2 | The fog system computes/updates the trust level of all IoT devices by aggregating all received ratings toward them.| | 4 | system provide trust level result in demand | #### IoT | no. | Functional Requirements Description | |:---:| ------------------------------------------ | | 1 | Any IoT ( evaluator/service provider ) can register in the system. | | 2 | IoT evaluator can only rate service provider that has already interacted with them, then pass his rating to specefic fog node.| | 3 | IoT can query about the trust level of any IoT service provider. --- ### 2. Data and relations ![](https://i.imgur.com/ShJyzB9.png) --- ### 5. Reporting Result **Scalablity Achievement ? (Goal)** 1. How many devices can Holochain manage (node, IoT)? `DHT` 3. What is the total size of trust data in GB can the system handle? `DHT` 4. How much time does it take to retrieve data? `Time` 6. The time required for consistency (update)? `Time` 6. Network overhead ? `Theoretically` --- ## ....