Research Article
Advanced Data Delivery Strategy Based on Multiperceived Community with IoT in Social Complex Networks
Algorithm 1
The data delivery based on multiperceived domain (DDMPD) algorithm.
| Input: source node S, , ; | | Output: destination node M; | | Begin | | ;//defines the total data carried by the source node S. | | S.move_random(); //the source node S moves at random. | | While (a! = NULL) {//if the adjacent node a is not null, the loop continues. | | S.send_message(a, “HELLO”);//S send message to a. | | S.connect(a);//S establish a connection with a. | | Invoke algorithm 1 | | for k from 0 to N { | | Data from S to community C[k]; | | ;//data received by community k + 1. | | L[k + 1] = L[k] + transmitted[k];//Data structure list L. | | If (a == M) {//adjacent node a = destination node M. | | calc(C[k] ⟶ M);//Calculate community C[k] ⟶ M. | | calc(L[k]);//Calculate data structure list L[k]. | | } | | End if | | } | | End for | | } | | End While | | Stop |
|