[Ndn-interest] Standard Naming Convention
L.Zeynalvand
zeynalvand at ce.sharif.edu
Thu Apr 17 23:22:36 PDT 2014
hi Junxiao,
that was very useful, thank you very much.
On 18.04.2014 02:00, Junxiao Shi wrote:
> 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 [1]> 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
>
>
> Links:
> ------
> [1] mailto:zeynalvand at ce.sharif.edu
--
Leonid Zeynalvand
M.Sc Information Technology
Sharif University of Technology
More information about the Ndn-interest
mailing list