Professor Hongbin Luo Beijing Jiaotong University Usage scenario for instant messages in ICN...

Preview:

Citation preview

Professor Hongbin Luo

Beijing Jiaotong

University

Usage scenario for instant messages in

ICN

November 3, 2013

Usage scenario for Instant messages in ICN2 Beijing Jiaotong University

What’s the problem?

Many usage scenarios have been

considered in the usage scenario

document. To the best of our knowledge,

there is no consideration on how to realize

instant messages (IM) in ICN.

In this talk, we discuss how to

implement IM and point out the

corresponding challenges.

Usage scenario for Instant messages in ICN3 Beijing Jiaotong University

How to implement IM?

Based on the CCN architecture, we consider two classes of approaches:

Case 1: Directly communicate with each other;

Case 2: Communicate via a server.

We assume that every user has a name, which has a hierarchical structure, e.g., A/IM/alice; A/IM/bob.

Usage scenario for Instant messages in ICN4 Beijing Jiaotong University

Case 1: Directly Communicate

AliceBob

Interest : R2/Alice.

Assuming Bob wants to send an instant message to Alice.

Interest: R1/Bob.

If Alice is online, IM could be realized as follow.

Instant message to Alice.

R2/AliceR1/Bob R1 R2

Usage scenario for Instant messages in ICN5 Beijing Jiaotong University

Case 1: Directly Communicate

AliceBob

Interest: R2/Alice.

Assuming Bob wants to send an instant message to Alice. However, how about the case Alice is offline?

Alice is offline. No Interest comes from Alice. Bob cannot send the instant message to Alice.

R2/AliceR1/Bob R1 R2

Usage scenario for Instant messages in ICN6 Beijing Jiaotong University

Case 2: Via a server

AliceBob

Interest: R4/IM/.

Assuming Bob wants to send an instant message to Alice, and the server has a name IM/.

Server

Interest: R1/Bob.

Data packet: Instant message to Alice.

R1 R2

R3

R4

R2/AliceR1/Bob

R4/IM

Step 1: Bob sends the instant message to the server.

Usage scenario for Instant messages in ICN7 Beijing Jiaotong University

AliceBob

Server

Interest: R2/Alice.

Interest: R4/IM/.

Data packet: Instant message from Bob.

Case 2: Via a server

R1 R2

R3

R4

R2/AliceR1/Bob

R4/IM

Step 2: The server sends the instant message to Alice.

Can this process really work well?

Usage scenario for Instant messages in ICN8 Beijing Jiaotong University

Case 2: Via a server

AliceBob

Interest: R4/IM/.

Server

Interest: R4/IM/.

Consider the following example.

Ted

The two interests are merged here!!!

Cannot work well! How to deal with?

R1 R2

R3

R4

R2/AliceR1/Bob

R4/IM

Usage scenario for Instant messages in ICN9 Beijing Jiaotong University

Case 2: Via a server

AliceBob

Interest: R4/IM/Bob.

Assuming Bob wants to send an instant message to Alice, and the server has a name IM/.

Server

Interest: R1/Bob.

Data packet: Instant message to Alice.

R1 R2

R3

R4

R2/AliceR1/Bob

R4/IM

Step 1: Bob sends the instant message to the server.

Usage scenario for Instant messages in ICN10 Beijing Jiaotong University

AliceBob

Server

Interest: R2/Alice.

Interest: R4/IM/Alice.

Data packet: Instant message from Bob.

Case 2: Via a server

R1 R2

R3

R4

R2/AliceR1/Bob

R4/IM

Step 2: The server sends the instant message to Alice.

Can it work well now?

Usage scenario for Instant messages in ICN11 Beijing Jiaotong University

Case 2: Via a server

AliceBob

Interest: R4/IM/Bob.

Server

Interest: R4/IM/Ted.

Consider the above example.

Ted

The interests cannot be merged any more!!!

It works very well. But?

R1 R2

R3

R4

R2/AliceR1/Bob

R4/IM

Usage scenario for Instant messages in ICN12 Beijing Jiaotong University

Case 2: Via a server

AliceBob

Server

Increased PIT table size?

Ted

R1 R2

R3

R4

R2/AliceR1/Bob

R4/IMTo User 1

To User 2

To User n

To User n+1

The PIT table of R4 may be huge!

Usage scenario for Instant messages in ICN13 Beijing Jiaotong University

Case 2: Via a server

AliceBob

How about Alice roams from R2 to R3?

Server

R1 R2

R3 R4

R2/AliceR1/Bob

R4/IM

When Alice roams to R3, it changes its name to be R3/Alice.

Alice

R3/Alice

Alice sends an Interest to the server to register its new name.The server then can send Interest packets to Alice.

Usage scenario for Instant messages in ICN14 Beijing Jiaotong University

The new problems?

Since many ICN architectures use flat names, we raise two questions:

1) how to implement instant messages in these architectures?

2) What’s the benefits and costs in realizing instant messages?

Usage scenario for Instant messages in ICN15 Beijing Jiaotong University

Comments?

Usage scenario for Instant messages in ICN16 Beijing Jiaotong University

Thanks!