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.
Cyclic message transfers<br />
Cyclic message transfers (2)<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 29<br />
• use one or more variable identifiers configured for this<br />
type of transfer. The same Ids may be used for buffer<br />
transfer.<br />
• a file (queue F_MSGcyc) is associated to each<br />
identifier<br />
• messages stored in the F_MSGcyc queue associated to<br />
the identifier indicated in the request<br />
• request served in the periodic window (even if no msg<br />
pending)<br />
• transfer is performed with or without ack<br />
©2010, J.-D. Decotignie<br />
SOURCE<br />
L_MESSAGE_ACK.<br />
request<br />
L_SENT.indication<br />
L_MESSAGE_ACK.<br />
confirmation<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 30<br />
DLL<br />
ID=n<br />
B_DAT<br />
prod<br />
MSG<br />
ID=n<br />
F_MSG<br />
cyc<br />
BUS ARBITER<br />
ID_DAT n<br />
RP_DAT<br />
ID_MSG n<br />
RP_MSG_ACK<br />
RP_ACK<br />
RP_FIN<br />
DLL<br />
F_MSG<br />
reçu<br />
DESTINATION<br />
L_MESSAGE_ACK.<br />
indication<br />
©2010, J.-D. Decotignie<br />
Aperiodic message transfers<br />
Aperiodic message transfer<br />
• no identifier is indicated in the request<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 31<br />
• identifier is chosen by the DLL<br />
• it must be configured for this type of service<br />
• it must correspond to a variable produced by the given station(source of<br />
message)<br />
• it must be already associated to a message in the queue<br />
• the request is signaled to the bus arbiter in the response to an<br />
ID_DAT frame with the selected identifier<br />
• association with the identifier is cut when the message has been<br />
transferred. The ID may then be used for another message in the<br />
queue<br />
©2010, J.-D. Decotignie<br />
SOURCE<br />
L_MESSAGE.<br />
request<br />
L_SENT.indication<br />
L_MESSAGE.<br />
confirmation<br />
<strong>Real</strong>-<strong>Time</strong> Networks – <strong>WorldFIP</strong> 32<br />
DLL<br />
ID=n<br />
B_DAT<br />
prod<br />
MSG<br />
Réf<br />
F_MSG<br />
apér<br />
BUS ARBITER<br />
ID_DAT n<br />
RP_DAT_MSG<br />
ID_MSG n<br />
RP_MSG_NOACK<br />
RP_FIN<br />
DLL<br />
F_MSG<br />
reçu<br />
DESTINATION(S)<br />
L_MESSAGE.<br />
indication<br />
©2010, J.-D. Decotignie