<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div><br>
</div>
<div>For versioned content, the publisher may also choose to set FreshnessPeriod in the data packet, and the consumers can then set MustBeFresh in the Interests described in Junxiao's steps below, in order to not get old versions if newer ones are available.
  (The application needs to decide the semantics of 'fresh'.)</div>
<div><br>
</div>
<div>Jeff</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>><br>
<span style="font-weight:bold">Date: </span>Thu, 17 Apr 2014 14:30:51 -0700<br>
<span style="font-weight:bold">To: </span>"L.Zeynalvand" <<a href="mailto:zeynalvand@ce.sharif.edu">zeynalvand@ce.sharif.edu</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:ndn-interest@lists.cs.ucla.edu">ndn-interest@lists.cs.ucla.edu</a>" <<a href="mailto:ndn-interest@lists.cs.ucla.edu">ndn-interest@lists.cs.ucla.edu</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Ndn-interest] Standard Naming Convention<br>
</div>
<div><br>
</div>
<div dir="ltr">Hi Leonid
<div><br>
</div>
<div>Suppose I know /prefix/movie.mpeg is a video, and there are two additional name components: version number and segment number.</div>
<div>But I don't know what's the latest version, and I don't know how many segments are there in the latest version.</div>
<div><br>
</div>
<div>I would:</div>
<div>
<ol>
<li>let version be nil</li><li>send Interest to /prefix/movie.mpeg<br>
ChildSelector=rightmost<br>
</li><li>if Data does not arrive within InterestLifetime, goto step 7</li><li>let version be third Name component (version) of the Data<br>
</li><li>send Interest to /prefix/movie.mpeg<br>
ChildSelector=rightmost<br>
Exclude=<Any>version</li><li>goto step 3</li><li>if knownLatestVersion is nil, fail</li><li>let seq be %00</li><li>send Interest to /prefix/movie.mpeg/version/seq<br>
</li><li>if Data does not arrive within InterestLifetime, fail</li><li>append Data content to the video stream</li><li>if FinalBlockId is present in Data and it equals seq, abort these steps</li><li>increment seq</li><li>goto step 9</li></ol>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Yours, Junxiao
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Apr 16, 2014 at 8:12 AM, L.Zeynalvand <span dir="ltr">
<<a href="mailto:zeynalvand@ce.sharif.edu" target="_blank">zeynalvand@ce.sharif.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
thank you Junxiao for your consideration,<br>
But that was not the problem I discussed,<br>
lets say you want to get movie.mpg, and we know that movie.mpg does not fit in one packet, so clearly it is segmented into /prefix/movie.mpeg/%00/%01 , /prefix/movie.mpeg/%00/%02 , /prefix/movie.mpeg/%00/%03, ...<br>
Now what is the name of the first interest you are sending to the network to get the movie? and how do you know how many more interests you should send?<br>
<br>
thank you very much
<div class="im"><br>
<br>
-- <br>
Leonid Zeynalvand<br>
M.Sc Information Technology<br>
Sharif University of Technology<br>
</div>
</blockquote>
</div>
</div>
</div>
</div>
_______________________________________________ Ndn-interest mailing list <a href="mailto:Ndn-interest@lists.cs.ucla.edu">
Ndn-interest@lists.cs.ucla.edu</a> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a> </span>
</body>
</html>