[Ndn-interest] Standard Naming Convention
jburke at remap.ucla.edu
Thu Apr 17 14:56:18 PDT 2014
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'.)
From: Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>>
Date: Thu, 17 Apr 2014 14:30:51 -0700
To: "L.Zeynalvand" <zeynalvand at ce.sharif.edu<mailto:zeynalvand at ce.sharif.edu>>
Cc: "ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>>
Subject: Re: [Ndn-interest] Standard Naming Convention
Suppose I know /prefix/movie.mpeg is a video, and there are two additional name components: version number and segment number.
But I don't know what's the latest version, and I don't know how many segments are there in the latest version.
1. let version be nil
2. send Interest to /prefix/movie.mpeg
3. if Data does not arrive within InterestLifetime, goto step 7
4. let version be third Name component (version) of the Data
5. send Interest to /prefix/movie.mpeg
6. goto step 3
7. if knownLatestVersion is nil, fail
8. let seq be %00
9. send Interest to /prefix/movie.mpeg/version/seq
10. if Data does not arrive within InterestLifetime, fail
11. append Data content to the video stream
12. if FinalBlockId is present in Data and it equals seq, abort these steps
13. increment seq
14. goto step 9
On Wed, Apr 16, 2014 at 8:12 AM, L.Zeynalvand <zeynalvand at ce.sharif.edu<mailto:zeynalvand at ce.sharif.edu>> wrote:
thank you Junxiao for your consideration,
But that was not the problem I discussed,
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, ...
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?
thank you very much
M.Sc Information Technology
Sharif University of Technology
_______________________________________________ Ndn-interest mailing list Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest