Research Article
An Efficient Patch Dissemination Strategy for Mobile Networks
Algorithm 1
The process of SAOC-based patch dissemination strategy.
(1) For each entity | search the local environment and obtain pre-local information ; | send to the center; | End | (2) For center | perform a series of task according to its task; | End | (3) For each entity | compute targetId based on the post-local information or the shared post-local information; | If targetId is not null Then | Rational move to targetId; | Else if e.lifecycle < 1 Then | request the center a targetId; | If receive a targetId Then | Rational jump to targetId; | Else if not receive a targetId Then | Random jump to targetId; | Else | Wait; | End | End |
|