REAL-TIME SYSTEMS II Real-Time Networking WorldFIP ... - EPFL
REAL-TIME SYSTEMS II Real-Time Networking WorldFIP ... - EPFL
REAL-TIME SYSTEMS II Real-Time Networking WorldFIP ... - EPFL
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Variable transfers<br />
Message transfers<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 13<br />
• the DLL associates<br />
• a buffer (B_DATprod) to each identifier of produced<br />
variable<br />
• a buffer (B_DATcons) to each identifier of consumed<br />
variable<br />
PRODUCER DLL BUS DLL CONSUMERS<br />
L_PUT.req<br />
L_PUT.cnf<br />
B_DAT<br />
prod<br />
ID<br />
B_DAT<br />
cons<br />
ID<br />
L_GET.req<br />
L_GET.cnf<br />
©2010, J.-D. Decotignie<br />
SOURCE<br />
L_MESSAGE.<br />
request<br />
L_MESSAGE.<br />
confirmation<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 14<br />
• the DLL associates<br />
• a queue (F_MSG) for the messages it needs to send<br />
• a queue (F_MSGreçu) for the messages that it receives<br />
DLL<br />
F_MSG<br />
DLL<br />
F_MSG<br />
reçu<br />
DESTINATION<br />
L_MESSAGE.<br />
indication<br />
©2010, J.-D. Decotignie<br />
Behavior<br />
Medium access control<br />
• variables<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 15<br />
• writing (reading) a variable does not trigger directly any<br />
traffic on the network<br />
• a new write operation overwrites the previous variable value<br />
• reception and emission of a value is signaled<br />
• → flow control possible (not necessary)<br />
• messages<br />
• stored in a queue → no overwrite<br />
• transfer is signaled → flow control<br />
• duplications are avoided using alternating bit protocol<br />
©2010, J.-D. Decotignie<br />
Stage 1: BA broadcast identifier<br />
BA<br />
D D D D D<br />
Stage 3: producer broadcasts data<br />
BA<br />
D P D C C<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 16<br />
BA<br />
Stage 2: the producer and all<br />
consumers recognize the ID<br />
D P D C C<br />
Stage 4: all consumers acquire data<br />
BA<br />
D D D C C<br />
©2010, J.-D. Decotignie