Method, apparatus, and system for routing and forwarding
First Claim
1. A method for routing and forwarding, the method comprising:
- receiving, by a network controller, a routing request message sent by a requesting routing node, wherein the routing request message carries a content name of requested content;
determining, by the network controller according to the content name and first registration information stored or acquired by the network controller, a network name of a target routing node corresponding to the content name and a port of the target routing node, wherein a content request packet corresponding to the requested content can be routed to the requested content through the port of the target routing node, and the first registration information is used to indicate a correspondence between the content name, the network name of the target routing node, and the port of the target routing node;
determining, by the network controller according to the network name of the target routing node and an acquired network name of the requesting routing node, a forwarding path in network topology information of a network controlled by the network controller, wherein the forwarding path starts from the requesting routing node and ends at the target routing node, and the network topology information is used to indicate a topological structure of the network by using network names of routing nodes in the network;
determining, by the network controller according to the forwarding path, routing information corresponding to the requesting routing node, wherein the routing information is used to indicate a first port through which the requesting routing node forwards the content request packet, wherein the first port points to a next-hop routing node corresponding to the requesting routing node on the forwarding path; and
sending, by the network controller, the routing information corresponding to the requesting routing node to the requesting routing node, so that the requesting routing node forwards the content request packet according to the routing information;
wherein the first registration information comprises registration information of the requested content and registration information of a home container of the requested content, wherein the registration information of the requested content is used to indicate a correspondence between the content name and a container name of the home container, and the registration information of the home container is used to indicate a correspondence between the container name of the home container, the network name of the target routing node, and the port of the target routing node; and
determining, by the network controller according to the content name and first registration information stored or acquired by the network controller, a network name of a target routing node corresponding to the content name and a port of the target routing node, comprises;
acquiring, by the network controller according to the content name, the container name of the home container corresponding to the content name, from the registration information of the requested content, andacquiring, by the network controller according to the container name of the home container, the network name of the target routing node corresponding to the container name of the home container and the port of the target routing node, from the registration information of the home container, wherein the target routing node is an edge routing node of the home container.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a method for routing and forwarding. The method includes: receiving, by a network controller, a routing request message sent by a requesting routing node, where the routing request message carries a content name of requested content; determining, by the network controller according to a network topology diagram and registration information of the requested content, a proper forwarding path; and delivering, by the network controller, routing information to each routing node on the forwarding path. In the embodiments of the present invention, a network controller is introduced, and registration information and a network topology diagram are stored in the network controller, so that the network controller may be used to determine a forwarding path of a content request packet, which reduces blindness of routing and forwarding of the content request packet in an ICN network and improves efficiency of routing and forwarding.
-
Citations
17 Claims
-
1. A method for routing and forwarding, the method comprising:
-
receiving, by a network controller, a routing request message sent by a requesting routing node, wherein the routing request message carries a content name of requested content; determining, by the network controller according to the content name and first registration information stored or acquired by the network controller, a network name of a target routing node corresponding to the content name and a port of the target routing node, wherein a content request packet corresponding to the requested content can be routed to the requested content through the port of the target routing node, and the first registration information is used to indicate a correspondence between the content name, the network name of the target routing node, and the port of the target routing node; determining, by the network controller according to the network name of the target routing node and an acquired network name of the requesting routing node, a forwarding path in network topology information of a network controlled by the network controller, wherein the forwarding path starts from the requesting routing node and ends at the target routing node, and the network topology information is used to indicate a topological structure of the network by using network names of routing nodes in the network; determining, by the network controller according to the forwarding path, routing information corresponding to the requesting routing node, wherein the routing information is used to indicate a first port through which the requesting routing node forwards the content request packet, wherein the first port points to a next-hop routing node corresponding to the requesting routing node on the forwarding path; and sending, by the network controller, the routing information corresponding to the requesting routing node to the requesting routing node, so that the requesting routing node forwards the content request packet according to the routing information; wherein the first registration information comprises registration information of the requested content and registration information of a home container of the requested content, wherein the registration information of the requested content is used to indicate a correspondence between the content name and a container name of the home container, and the registration information of the home container is used to indicate a correspondence between the container name of the home container, the network name of the target routing node, and the port of the target routing node; and determining, by the network controller according to the content name and first registration information stored or acquired by the network controller, a network name of a target routing node corresponding to the content name and a port of the target routing node, comprises; acquiring, by the network controller according to the content name, the container name of the home container corresponding to the content name, from the registration information of the requested content, and acquiring, by the network controller according to the container name of the home container, the network name of the target routing node corresponding to the container name of the home container and the port of the target routing node, from the registration information of the home container, wherein the target routing node is an edge routing node of the home container. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for routing and forwarding, the method comprising:
-
receiving, by a requesting routing node, a content request packet, wherein the content request packet carries a content name of requested content; when no forwarding entry that matches the content name exists in a forwarding information base FIB, sending, by the requesting routing node, a routing request message to a network controller, wherein the routing request message carries the content name; receiving, by the requesting routing node, a routing request response message delivered by the network controller, wherein the routing request response message carries first routing information, wherein the first routing information is used to indicate a forwarding port of the content request packet to the requesting routing node, and the first routing information is determined by the network controller according to an acquired network name of the requesting routing node, the content name, first registration information, and network topology information of a network controlled by the network controller, wherein the first registration information is used to indicate a correspondence between the content name, a network name of a target routing node, and a port of the target routing node, and the network topology information is used to indicate a topological structure of the network by using network names of routing nodes in the network; and forwarding, by the requesting routing node, the content request packet according to the first routing information; wherein the first registration information comprises registration information of the requested content and registration information of a home container of the requested content, wherein the registration information of the requested content is used to indicate a correspondence between the content name of the requested content and a container name of the home container, the registration information of the home container is used to indicate a correspondence between the container name of the home container, the network name of the target routing node, and the port of the target routing node, and the target routing node is an edge routing node of the home container; and before the forwarding, by the requesting routing node, the content request packet according to the first routing information, the method further comprises; receiving, by the requesting routing node, container tree set information of the requested content, which is sent by the network controller, wherein the container tree set information is acquired by the network controller by resolving the home container through a container resolution system, and the container tree set information comprises a container name of at least one container comprising the home container of the requested content, and the container tree set information is used to indicate an access relationship between the at least one container, wherein the home container is located at a root node of a container tree corresponding to a container tree set, and a container represented by a subnode of the container tree is an access container of a container represented by a parent node corresponding to the subnode, and adding, by the requesting routing node, the container tree set information to the content request packet. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A method for routing and forwarding, comprising:
-
receiving, by a network controller, a routing request message sent by a requesting routing node, wherein the routing request message carries container tree set information of a requested content, wherein the container tree set information comprises a container name of at least one container comprising a home container of the requested content, and the container tree set information is used to indicate an access relationship between the at least one container; determining, by the network controller according to registration information of each container in the at least one container stored or acquired by the network controller, an edge routing node of each container, wherein the registration information of the container is used to indicate a correspondence between a container name of the container and the edge routing node of the container; determining, by the network controller, a topological range of each container according to the edge routing node of each container and network topology information of a network controlled by the network controller, wherein the network topology information is used to indicate a topological structure of the network by using network names of routing nodes in the network, and the topological range is used to indicate an inclusion relationship between containers and routing nodes; determining, by the network controller according to a network name of an edge routing node of the home container, an acquired network name of the requesting routing node, and the network topology information, a forwarding path that starts from the requesting routing node and ends at the edge routing node of the home container; determining, by the network controller according to the topological range of the at least one container and the forwarding path, routing information corresponding to the requesting routing node, wherein the routing information comprises a container name and a port corresponding to the container name, wherein the container name is a container name of a container in the at least one container comprised in the container tree set information; and delivering, by the network controller, the routing information corresponding to the requesting routing node to the requesting routing node, so that the requesting routing node forwards, according to the routing information corresponding to the requesting routing node, a content request packet corresponding to the requested content; wherein after determining, by the network controller according to a network name of an edge routing node of the home container, an acquired network name of the requesting routing node, and the network topology information, a forwarding path that starts from the requesting routing node and ends at the edge routing node of the home container, the method further comprises; determining, by the network controller according to the topological range of the at least one container and the forwarding path, routing information corresponding to each routing node except the requesting routing node among routing nodes that the forwarding path passes through, wherein the routing information comprises a container name and a port corresponding to the container name, wherein the container name in the routing information corresponding to each routing node is a container name of a container in the at least one container comprised in the container tree set information; and delivering, by the network controller, the routing information corresponding to each routing node to each routing node except the requesting routing node, so that each routing node forwards, according to the routing information corresponding to each routing node, the content request packet corresponding to the requested content.
-
Specification