28
THE COMPRESSION OF PIT WITH BLOOM FILTER IN CCN Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab Nov 29 th , 2012

Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

Embed Size (px)

DESCRIPTION

 CCN was developed to solve many network problems that is being occurred from increasing traffic.  It is one of the most promising architectures as a Future Internet architecture.  CCN router uses three tables that store data.  This proposal enables us to compress the size of the table. 3

Citation preview

Page 1: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

THE COMPRESSION OF PIT WITH BLOOM FILTER IN CCN

Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke JiangAsia FI Workshop in Kyoto, 2012

Sho HaradaPark Lab

Nov 29th, 2012

Page 2: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

OUTLINE1. Introduction2. CCN (Content Centric Networking)3. Bloom Filter4. Architecture5. Problem6. United Bloom Filter7. Error Handling8. Experiments9. Conclusion10. Reference

2

Page 3: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

1. INTRODUCTION CCN was developed to solve many network

problems that is being occurred from increasing traffic.

It is one of the most promising architectures as a Future Internet architecture.

CCN router uses three tables that store data. This proposal enables us to compress the

size of the table.

3

Page 4: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

2. CCN (CONTENT CENTRIC NETWORKING)

Packet Interest Packet : Used to request a content. Data Packet : Used to send the content.

CCN router CS (Content Store) : Cache contents. PIT (Pending Interest Table) : Record name and

face to define where to forward Data Packet. FIB (Forwarding Information Base) : Record face

to decide where to forward Interest Packet.

4

Page 5: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

2. CCN (CONT.)

5

Page 6: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

3. BLOOM FILTER

6

Page 7: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

3. BLOOM FILTER (CONT.)

7

Page 8: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

3. BLOOM FILTER (CONT.)

8

Page 9: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

3. BLOOM FILTER (CONT.)

9

Page 10: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

3. BLOOM FILTER (CONT.)

10

Page 11: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

4. ARCHITECTURE

Bloom Filter is introduced in PIT.

Content Name is converted by hash function and added to Bloom Filter of the appropriate face.

11

Page 12: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

4. ARCHITECTURE (CONT.)

Bloom Filter

Face

00000000 000000000 100000000 2Name Fac

eYoutube/Video.mp4

1

0 1

2

PIT

FIB

12

Page 13: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

4. ARCHITECTURE (CONT.)

Bloom Filter

Face

00000000 000000000 100000000 2Name Fac

eYoutube/Video.mp4

1

0 1

2

PIT

FIB

Interest“Youtube/Video.mp4”

13

Page 14: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

4. ARCHITECTURE (CONT.)

Bloom Filter

Face

01010101 000000000 100000000 2Name Fac

eYoutube/Video.mp4

1

0 1

2

PIT

FIB

Interest“Youtube/Video.mp4”

H( “Youtube/Video.mp4” ) = “01010101”

14

Page 15: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

4. ARCHITECTURE (CONT.)

Bloom Filter

Face

01010101 000000000 100000000 2Name Fac

eYoutube/Video.mp4

1

0 1

2

PIT

FIB

Data“Youtube/Video.mp4”

H( “Youtube/Video.mp4” ) = “01010101”

15

Page 16: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

5. PROBLEM

Bloom Filter

Face

01011111 000000000 101010111 2Name Fac

eYoutube/Video.mp4

1

0 1

2

PIT

FIB

Data“Youtube/Video.mp4”

H( “Youtube/Video.mp4” ) = “01010101”H( “Youtube/Video2.mp4” ) = “00001111”

16

Page 17: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

5. PROBLEM (CONT.)

Bloom Filter

Face

00001010 000000000 100000010 2Name Fac

eYoutube/Video.mp4

1

0 1

2

PIT

FIB

Data“Youtube/Video.mp4”

H( “Youtube/Video.mp4” ) = “01010101”H( “Youtube/Video2.mp4” ) = “00001111”

Data“Youtube/Video.mp4”

17

Page 18: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

5. PROBLEM (CONT.)

Bloom Filter

Face

01110101 000000000 100000000 2Name Fac

eYoutube/Video.mp4

1

0 1

2

PIT

FIB

Interest“Youtube/Video.mp4”

H( “Youtube/Video.mp4” ) = “01010101”

18

Page 19: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

6. UNITED BLOOM FILTER

Use two Bloom Filters in one face.

Filter shifts active and inactive.

When a Bloom Filter stops, it will be initialized.

19

Page 20: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

6. UNITED BLOOM FILTER (CONT.)

Time

Filter 1Filter 2

Filter 1 = “01010101” (Active)

Filter 2 = “00000000”

20

Page 21: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

6. UNITED BLOOM FILTER (CONT.)

Time

Filter 1Filter 2

Filter 1 = “01010101” (Active)

Filter 2 = “00000000” (Record)

21

Page 22: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

6. UNITED BLOOM FILTER (CONT.)

Time

Filter 1Filter 2

Filter 1 = “00000000”

Filter 2 = “00111100” (Active)

22

Page 23: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

7. ERROR HANDLING

The result of experiment shows that the probability of false positive was less than 0.1 %.

If an Interest Packet was dropped, the requester sends Interest Packet again.

Data may be forwarded by false positive. But the Data Packet will be dropped by the next node.

23

Page 24: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

8. EXPERIMENTS

24

BF : 1MB

Intere

st

Intere

st

Data

Interest

Interest Data

Data

Data

Page 25: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

8. EXPERIMENTS (CONT.)

Compression of PIT : 40% reduced

Probability of False Positive : 0.027%

25

Page 26: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

9. CONCLUSION Introducing Bloom Filter, the

compression of PIT is realized. When we use Bloom Filter, we need to

think of False Positive. ⇒ Experiment shows the probability of False Positive was only 0.027 %. Therefore, it will not make a big problem. We have only to deal with False Positive when it happens.

26

Page 27: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

10. REFERENCE

Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang, “The Compression of PIT with Bloom Filter in CCN”, Asia FI Workshop in Kyoto, 2012.

27

Page 28: Zhaogeng Li, Jun Bi, Sen Wang, and Xiaoke Jiang Asia FI Workshop in Kyoto, 2012 Sho Harada Park Lab…

28