Bit-aligned header compression for CCN messages using dictionary
First Claim
1. A computer-implemented method for efficient packet forwarding, the method comprising:
- storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a byte-aligned compressed replacement string;
encoding the byte-aligned compressed replacement string based on an encoding technique to generate a bit-aligned encoded replacement string that includes a variable length value encoded as a prefix indicating a start of a range of values and a number of bits;
storing a mapping between the encoded replacement string and the TL string in an encoded dictionary;
in response to identifying the TL string in a packet, replacing the TL string with the encoded replacement string; and
transmitting the packet to a second node storing the encoded dictionary in a local storage device, thereby facilitating bit-aligned compression of the TL string.
3 Assignments
0 Petitions
Accused Products
Abstract
One embodiment provides a system in a first node that facilitates efficient packet forwarding. During operation, the system stores, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a byte-aligned compressed replacement string. The system encodes the byte-aligned compressed replacement string based on an encoding technique to generate a bit-aligned encoded replacement string and stores a mapping between the encoded replacement string and the TL string in an encoded dictionary. If the system identifies the TL string in a packet, the system replaces the TL string with the encoded replacement string and transmits the packet to a second node storing the encoded dictionary in a local storage device, thereby facilitating bit-aligned compression of a TL string.
416 Citations
20 Claims
-
1. A computer-implemented method for efficient packet forwarding, the method comprising:
-
storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a byte-aligned compressed replacement string; encoding the byte-aligned compressed replacement string based on an encoding technique to generate a bit-aligned encoded replacement string that includes a variable length value encoded as a prefix indicating a start of a range of values and a number of bits; storing a mapping between the encoded replacement string and the TL string in an encoded dictionary; in response to identifying the TL string in a packet, replacing the TL string with the encoded replacement string; and transmitting the packet to a second node storing the encoded dictionary in a local storage device, thereby facilitating bit-aligned compression of the TL string. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system for facilitating forwarding of packets, the system comprising:
-
a processor; and a storage device storing instructions that when executed by the processor cause the processor to perform a method, the method comprising; storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a byte-aligned compressed replacement string; encoding the byte-aligned compressed replacement string based on an encoding technique to generate a bit-aligned encoded replacement string that includes a variable length value encoded as a prefix indicating a start of a range of values and a number of bits; storing a mapping between the encoded replacement string and the TL string in an encoded dictionary; in response to identifying the TL string in a packet, replacing the TL string with the encoded replacement string; and transmitting the packet to a second node storing the encoded dictionary in a local storage device, thereby facilitating bit-aligned compression of the TL string. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method, the method comprising:
-
storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a byte-aligned compressed replacement string; encoding the byte-aligned compressed replacement string based on an encoding technique to generate a bit-aligned encoded replacement string that includes a variable length value encoded as a prefix indicating a start of a range of values and a number of bits; storing a mapping between the encoded replacement string and the TL string in an encoded dictionary; in response to identifying the TL string in a packet, replacing the TL string with the encoded replacement string; and transmitting the packet to a second node storing the encoded dictionary in a local storage device, thereby facilitating bit-aligned compression of the TL string. - View Dependent Claims (18, 19, 20)
-
Specification