[Ndn-interest] Name ndn

Marzieh Babaeianjelodar babaeim at clarkson.edu
Tue Feb 28 08:56:15 PST 2017


Thank you I did read through some of it.

So in,  min suffix component and max suffix component

I have a interest name: example/fileip.txt/%FD%00%00%01Z%85%8B%86%DE

Why is it saying minsuffix and maxsuffix are 3?

Because 1/2/3 ? Because the document says beyond prefix.

> On Feb 28, 2017, at 1:29 AM, Nick Briggs <nicholas.h.briggs at gmail.com> wrote:
> 
> Marzieh -- I think you could read the NDN documentation, or papers, or the original papers about CCN, to get a basic understanding first...
> 
> A content packet is composed of a name, some metadata, the actual payload, and the signature.
> 
> The metadata can contain a bunch of different things, but what typically gets put in there is the content type, the freshness, the final block id (if it's part of a sequence), the "creation date/time" of the object (which may be of the file, or of signing, or ... whatever makes sense), the key locator (usually you'd put that in once in one of the first blocks sent).   If ndncatchunks is putting out all the metainfo then ndnputchunks didn't put in a lot of interesting info.
> 
> The %FD indicates that the component is a version number, and following that should be some number of bytes that represent the version...  In the original CCNx code we didn't pad it out to 8 bytes, it was only enough bytes as necessary to represent the version number.
> 
> The chunk number is in a canonical form with the minimal number of bytes starting with a leading 0 byte to represent the chunk number, so --
> 	0	%00
> 	1	%00%01
> 	2	%00%02
> 	...
> 	255 %00%FF
> 	256 %00%01%00
> etc.
> 
> -- Nick
> 
> 
> 
> 
>> On Feb 27, 2017, at 8:25 PM, Marzieh Babaeianjelodar <babaeim at clarkson.EDU <mailto:babaeim at clarkson.edu>> wrote:
>> 
>> I have a question about when I RUN THIS following command:
>> 
>> So I know the name is in this form: /example/fileip.txt/<version#>/<chunk#>
>> 
>> But I want to know more about the structure of version and chunk ?? 
>> 
>> I also need someone to describe Metainfo line for me
>> 
>> Thanks
>> 
>> babaeim at producer:~$ ndncatchunks -v /example/fileip.txt
>> Data: Name: /example/fileip.txt/%FD%00%00%01Z%82%E3L%20/%00%00
>> MetaInfo: ContentType: 0, FreshnessPeriod: 10000 milliseconds, FinalBlockId: %00%00
>> Content: (size: 78)
>> Signature: (type: 1, value_length: 256)
>> _______________________________________________
>> 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...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170228/d5a3300e/attachment-0001.html>


More information about the Ndn-interest mailing list