Methods and apparatuses for routing and forwarding, establishing routing table, and acquiring content
First Claim
1. A computer-implemented method for routing a packet, comprising:
- receiving, by a computer, a content request packet that carries a content name of requested content and container information of the requested content, wherein the container information of the requested content comprises a container identifier used to identify a container that stores the requested content;
determining whether any forwarding entry that longest prefix matches the content name of the requested content exists in a forwarding information base (FIB);
determining whether any forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB when no forwarding entry that longest prefix matches the content name of the requested content exists in the FIB, wherein a forwarding entry in the FIB comprises a preset container identifier and a port corresponding to the preset container identifier;
acquiring, by resolution of the container identifier, a container identifier of an access container of the container when no forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB;
determining whether any forwarding entry that matches the container identifier of the access container which is acquired by resolution exists in the FIB; and
upon determining that a forwarding entry that matches the container identifier of the access container which is acquired by resolution exists in the FIB, sending the content request packet according to a port in the matched forwarding entry.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatuses for routing and forwarding, establishing a routing table, and acquiring content are provided. The method for routing and forwarding includes: receiving a content request packet, where the content request packet carries a content name of requested content and container information of the requested content; determining whether any forwarding entry that matches the content name of the requested content exists in a FIB; determining whether any forwarding entry that matches the container identifier in the container information exists in the FIB when no forwarding entry that matches the content name of the requested content exists in the FIB; and when a forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB, sending the content request packet according to a port in the matched forwarding entry.
-
Citations
21 Claims
-
1. A computer-implemented method for routing a packet, comprising:
-
receiving, by a computer, a content request packet that carries a content name of requested content and container information of the requested content, wherein the container information of the requested content comprises a container identifier used to identify a container that stores the requested content; determining whether any forwarding entry that longest prefix matches the content name of the requested content exists in a forwarding information base (FIB); determining whether any forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB when no forwarding entry that longest prefix matches the content name of the requested content exists in the FIB, wherein a forwarding entry in the FIB comprises a preset container identifier and a port corresponding to the preset container identifier; acquiring, by resolution of the container identifier, a container identifier of an access container of the container when no forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB; determining whether any forwarding entry that matches the container identifier of the access container which is acquired by resolution exists in the FIB; and upon determining that a forwarding entry that matches the container identifier of the access container which is acquired by resolution exists in the FIB, sending the content request packet according to a port in the matched forwarding entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus for routing a packet, the apparatus comprising:
-
one or more processors; a memory, that stores one or more fixed sequences of instructions, wherein the fixed sequence of instructions cause the one or more processors to receive a content request packet that carries a content name of requested content and container information of the requested content, wherein the container information of the requested content comprises a container identifier used to identify a container that stores the requested content; determine whether any forwarding entry longest prefix matches the content name of the requested content which is carried in the content request packet exists in a forwarding information base (FIB) which is stored in the memory; determine whether any forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB when no forwarding entry that longest prefix matches the content name of the requested content exists in the FIB, wherein a forwarding entry in the FIB comprises a preset container identifier and a port corresponding to the preset container identifier; acquire, by resolution of the container identifier, a container identifier of an access container of the container when no forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB; determine whether any forwarding entry that matches the container identifier of the access container which is acquired by resolution exists in the FIB; and upon the determination that a forwarding entry matches the container identifier of the access container which is acquired by resolution exists in the FIB, the processor sends the content request packet according to a port in the matched forwarding entry. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer-implemented method for routing a packet, comprising:
-
receiving, by a computer, a content request packet that carries a content name of requested content and container information of the requested content, wherein the container information of the requested content comprises a container identifier used to identify a container that stores the requested content; determining whether any forwarding entry that longest prefix matches the content name of the requested content exists in a forwarding information base (FIB); determining whether any forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB when no forwarding entry that longest prefix matches the content name of the requested content exists in the FIB, wherein a forwarding entry in the FIB comprises a preset container identifier and a port corresponding to the preset container identifier; and upon determining that a forwarding entry that matches the container identifier in the container information of the requested content exists in the FIB, sending the content request packet according to a port in the matched forwarding entry.
-
Specification