[ndnSIM] Question about How to Modify Packet Format and Producer Processing for the Packet

大熊 浩也 okuma at stu.kobe-u.ac.jp
Sun Sep 1 23:35:24 PDT 2019


Thank you for answering.
I will ask you some more questions.

On 2019/09/02 14:59, Xinyu Ma wrote:
> Hello, Ookuma san,
> 
>> On Sep 1, 2019, at 10:48 PM, 大熊 浩也 <okuma at stu.kobe-u.ac.jp> wrote:
>>
>>
>> Hello everyone.
>>
>> I have some problems that I have to solve quickly.
>> Could you give me some advice?
>> (Let me apologize for my poor English and Technical capabilities)
>>
>> ・How to Modify Interest Packet Format and Producer Processing for the Packet
>> I am studying the combination of ICN and coding network.
>> I'm thinking consumers send a single Interest packet that contains a request file name and file names that can be decrypted by using the contents of consumers own content store.
>> (Since the producer will only return one of the requested files, it may be difficult for the producer to process if the consumer sends multiple Interest packets?)
>> So I want to store multiple request packet names in Interest packets.
>>
> 
> I’m sorry I don’t quite understand this. If you want multiple files, why not just send out multiple packets?
> I don’t think merging Interests is a good idea because it will make the Content Store useless.
> 

Not requesting multiple files, I want to store several request file 
candidates in the Interest packet.
Example) When a consumer who owns two files B and C and requests file A
Interest packet ← "A", "A + B", "A + C" (Request file A can be decrypted 
if one of these files is obtained)

When sending multiple Interest files, if the producer returns all the 
requested files, will the consumer receive more files than necessary, 
causing congestion?

>> I would appreciate it if you could tell me about the modification of the process that the producer does.
> If you still want to put multiple file names into a single Interest, one thing you can do is pack them all into a GenericNameComponent.
> You need to write Consumer/Producer app yourself to do so. Please refer to /ndnSIM/apps/ndn-consumer.cpp & ndn-producer.cpp.
> 

I am not yet used to modifying such programs.
Can you tell me if there is something like the example stored in 
GenericNameComponent?
If there is no example, it does not matter.

>> I would appreciate it very much if you could advise me anything.
>>
> Please let us know if you have further questions.
> 
> Best wishes,
> Xinyu Ma.
> 
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> 
> 
> 
> 

-- 
********************************************
大熊 浩也 (Hiroya Okuma)
神戸大学 工学研究科 電気電子工学専攻
情報通信研究室所属
E-mail: okuma at stu.kobe-u.ac.jp
********************************************




More information about the ndnSIM mailing list