Research Article
Video Traffic Flow Analysis in Distributed System during Interactive Session
| (1) At // is the start time of the | | // session | | (2) Var Queue_of_finite_Size : integer | | (3) While | | (4) | | (5) Initial node // set of data base storage | | // nodes | | (6) Boolean matched_node_not_found True | | (7) Queue of finite Size | | (8) Begin | | (9) push // first in first out | | (10) while (match_node_not_found) do | | (11) | | (12) Pop // pop is queue operation | | (13) For each from single hop neighbor of | | (14) | | (15) If (query string ) | | (16) then | | (17) | | (18) match_node_not_found False | | (19) return node ID of | | (20) exit | | (21) | | (22) else | | (23) Push () // Push is a queue operation | | (24) // End for | | (25) // End Inner While | | (26) | | (27) // End Outer While | | (28) Send(“query matched node not found”) | | // To application Server | | (29) End | | (30) Stop |
|