11.07.2015 Views

A Middleware Architecture Supporting Native Mobile Agents for ...

A Middleware Architecture Supporting Native Mobile Agents for ...

A Middleware Architecture Supporting Native Mobile Agents for ...

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.

4 Ciarán Lynch and Dirk Pesch2.3 Operation Manager2.3.1 Blackboard The blackboard is a remotely accessible address space (similiarto Agilla Tuples [5]). A 16-bit key is used to index the space. The blackboardprovides a simple, standard mechanism <strong>for</strong> discontinuous communicationbetween agents in a local one-hop network neighbourhood. It allows agents todeposit in<strong>for</strong>mation to be used in the future by other agents.2.3.2 Neighbour Management The manager maintains a list of neighbours.<strong>Agents</strong> can retrieve the list of current neighbours, query <strong>for</strong> new neighbours andselect a random neighbour. Nodes are automatically removed from the list aftera certain time.2.3.3 Remote Agent Request An agent requests the manager to find andexecute another agent. If the agent code is available at the node, it is started. Ifnot, a request <strong>for</strong> that agent is broadcast. Neighbouring nodes will <strong>for</strong>ward thisrequest and respond if the service is available. The agent is transferred by themobility manager.3 EvaluationThe middleware system was implemented and tested on MicaZ wireless sensornodes. The application evaluation presented here is based on the AvroraZemulation plat<strong>for</strong>m, as this provides detailed probes and instrumentation <strong>for</strong>measurement and testing, and allows repeatable and controllable experimentsto be per<strong>for</strong>med.3.1 AvroraZAvroraZ [6] is an extension of Avrora, a wireless sensor network emulator. It usesa detailed model of the AtMega128L microcontroller to execute the same binaryimage as the physical microcontroller. It reproduces precisely the constraintsof an embedded wireless sensor plat<strong>for</strong>m, allowing very accurate emulation ofcomplex applications, complete with the timing and memory constraints of thephysical system.AvroraZ adds support <strong>for</strong> the CC2420 radio used in the MicaZ wireless sensornode plat<strong>for</strong>m. The radio model used is based on actual measurements ofthe per<strong>for</strong>mance of MicaZ nodes, and has been shown to correspond well withmeasurements from real sensor nodes [6].3.2 Physical ScenarioThe simulated scenario is a distributed control application. 25 nodes are placedin 3 rooms, with 3 nodes connected to heaters. The system is self-configuring,

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

Saved successfully!

Ooh no, something went wrong!