11.07.2015 Views

A first look at Google Android

A first look at Google Android

A first look at Google Android

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A TERMINATION DETECTION PROTOCOL 93Figure 3.Snapshot of the logical activ<strong>at</strong>ion tree.Because responses are passed to robots with lower identifiers and the origin<strong>at</strong>or has thelowest identifier, eventually, the responses reach the robot th<strong>at</strong> origin<strong>at</strong>ed the upd<strong>at</strong>e. Whenthe origin<strong>at</strong>or robot has collected responses concerning all robots involved in the upgrade,termin<strong>at</strong>ion of the <strong>first</strong> diffusing comput<strong>at</strong>ion is detected. The same robot can now issue arequest for the other robots to complete the software upgrade, starting the second diffusingcomput<strong>at</strong>ion. The request tells the other robots to drop PV1.0. Eventually, the origin<strong>at</strong>orrobot should receive confirm<strong>at</strong>ion th<strong>at</strong> these requests were received and processed, and thesecond diffusing comput<strong>at</strong>ion is termin<strong>at</strong>ed.An activ<strong>at</strong>ion tree our algorithm for termin<strong>at</strong>ion detection might produce in completingthe software upd<strong>at</strong>e <strong>at</strong> time t is shown in figure 3. Active nodes representing robots in theactiv<strong>at</strong>ion tree are shaded. Non-shaded nodes represent robots th<strong>at</strong> were once active, but arecurrently idle. While a snapshot of the activ<strong>at</strong>ion tree gives a history of which robots havebeen connected in the past, it does not necessarily reflect the current physical connectivitybetween nodes. To illustr<strong>at</strong>e this point, a corresponding snapshot of a possible ad hocnetwork topology formed between communic<strong>at</strong>ing robots <strong>at</strong> time t is shown in figure 4.Due to the movement of the robots on the factory floor, connections are established anddropped as time elapses. Thus, the network topology may become reconfigured <strong>at</strong> any pointin time.Figure 4.Corresponding snapshot of the physical connectivity.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!