|
Algorithm 3: Content message forwarding and caching mechanism
|
-
If requested content exists in the or reaches the server , then following steps are performed:
-
(a)
Prepare a Content message with initializing corresponding field and the requested payload.
-
(b)
Replicate the values of and fields from to the and fields of .
-
(c)
Initialize, .
-
(d)
The content provider writes its unique cluster identification id in the field of .
-
(e)
Initialize the boolean field as TRUE.
-
(f)
Transmit towards .
When reaches to an intermediate router , then perform following steps for caching decisions and content forwarding towards .
Update the value in field as = .
If or , then move to -6.
-
Else,
-
(a)
Compute, in .
-
(b)
Compute,
-
(c)
If and then,
forwards towards the using its PIT.
|