11.07.2015 Views

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 5.4: Beac<strong>on</strong> running between probe and client - The probesends a beac<strong>on</strong> with a given frequency and waits <str<strong>on</strong>g>for</str<strong>on</strong>g> ananswer. When the client receives the beac<strong>on</strong> it sends ananswer in return.5.2 Probe - The Server SideThe probe is attached to the software of a robot and acts like a server publishingdata of the comp<strong>on</strong>ents of the robot. This data can be live observed byrequesting a comp<strong>on</strong>ent thread publishing its in<str<strong>on</strong>g>for</str<strong>on</strong>g>mati<strong>on</strong> or logged to the filesystem <str<strong>on</strong>g>for</str<strong>on</strong>g> post-hoc-analysis. Two main features can be defined as followed:Live Observati<strong>on</strong>Logging Cyclecollects data of a comp<strong>on</strong>ent of the robot and<str<strong>on</strong>g>for</str<strong>on</strong>g>wards the data packed into messages to c<strong>on</strong>nectedclientscollects data of selected comp<strong>on</strong>ents and savesthem with a timestamp <strong>on</strong> the file system of theprobeFor both features several elements are needed to c<strong>on</strong>trol the processes betweenprobe and c<strong>on</strong>nected clients. The probe implements the communicati<strong>on</strong>interface and every element of the probe observes the implementati<strong>on</strong>. Theelements <strong>on</strong> the probe are using several lists to m<strong>on</strong>itor which client is c<strong>on</strong>nectedto which element. Also some c<strong>on</strong>figurati<strong>on</strong>s can be applied by using ac<strong>on</strong>figurati<strong>on</strong> file placed <strong>on</strong> the file system the probe. There are four c<strong>on</strong>trolelements designed <str<strong>on</strong>g>for</str<strong>on</strong>g> the probe:24

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

Saved successfully!

Ooh no, something went wrong!