[Ndn-interest] Standard Naming Convention
L.Zeynalvand
zeynalvand at ce.sharif.edu
Thu Apr 17 23:20:50 PDT 2014
thank you very much Jeff.
On 18.04.2014 02:26, Burke, Jeff wrote:
> 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'.)
>
> Jeff
>
> From: Junxiao Shi <shijunxiao at email.arizona.edu [1]>
> Date: Thu, 17 Apr 2014 14:30:51 -0700
> To: "L.Zeynalvand" <zeynalvand at ce.sharif.edu [2]>
> Cc: "ndn-interest at lists.cs.ucla.edu [3]"
> <ndn-interest at lists.cs.ucla.edu [4]>
> Subject: Re: [Ndn-interest] Standard Naming Convention
>
> Hi Leonid
>
> 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.
>
> I would:
>
> * let version be nil
>
> * send Interest to /prefix/movie.mpeg
> ChildSelector=rightmost
> * if Data does not arrive within InterestLifetime, goto step 7
>
> * let version be third Name component (version) of the Data
>
> * send Interest to /prefix/movie.mpeg
> ChildSelector=rightmost
> Exclude=<Any>version * goto step 3
> * if knownLatestVersion is nil, fail
> * let seq be %00
>
> * send Interest to /prefix/movie.mpeg/version/seq
> * if Data does not arrive within InterestLifetime, fail
> * append Data content to the video stream
> * if FinalBlockId is present in Data and it equals seq, abort these
> steps
> * increment seq
> * goto step 9
>
> Yours, Junxiao
>
> On Wed, Apr 16, 2014 at 8:12 AM, L.Zeynalvand
> <zeynalvand at ce.sharif.edu [5]> 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
>>
>> --
>> Leonid Zeynalvand
>> M.Sc Information Technology
>> Sharif University of Technology
> _______________________________________________ Ndn-interest mailing
> list Ndn-interest at lists.cs.ucla.edu [6]
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest [7]
>
> Links:
> ------
> [1] mailto:shijunxiao at email.arizona.edu
> [2] mailto:zeynalvand at ce.sharif.edu
> [3] mailto:ndn-interest at lists.cs.ucla.edu
> [4] mailto:ndn-interest at lists.cs.ucla.edu
> [5] mailto:zeynalvand at ce.sharif.edu
> [6] mailto:Ndn-interest at lists.cs.ucla.edu
> [7] http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
--
Leonid Zeynalvand
M.Sc Information Technology
Sharif University of Technology
More information about the Ndn-interest
mailing list