US2019158627A1PendingUtilityA1

Method and device for generating forwarding information

Assignee: HUAWEI TECH CO LTDPriority: Aug 8, 2013Filed: Jan 17, 2019Published: May 23, 2019
Est. expiryAug 8, 2033(~7 yrs left)· nominal 20-yr term from priority
H04L 45/64H04L 45/42H04L 45/38H04L 45/52H04L 12/4633H04L 45/50H04L 41/12H04L 67/327H04L 67/63
51
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The present application discloses a method and device for generating forwarding information. The method includes receiving a first request message used for requesting a first content for a first network element, determining that a second network element is a provider of the first content according to first registration information sent by the second network element, determining a first path from the second network element to the first network element according to a network topology, generating first forwarding information for the first forwarding device, wherein the first forwarding information comprising first matching information and first operating information, the first operating information is used for instructing to obtain a first encapsulation message according to a first data message after determining that the first data message matches the first matching information, and sending the first encapsulation message to the first network element via the first path.

Claims

exact text as granted — not AI-modified
1 . A method for generating forwarding information, comprising:
 receiving, by a generating device, a first request message for requesting first content for a first network element, wherein the first request message comprises a first content identifier;   determining, by the generating device, that a second network element is a provider of the first content according to first registration information received by the generating device from the second network element, wherein the first registration information comprises information indicating that the second network element is the provider of the first content;   determining, by the generating device, a first path from the second network element to the first network element according to a network topology, wherein the first path comprises a first forwarding device; and   generating, by the generating device, first forwarding information for the first forwarding device, wherein the first forwarding information comprises first matching information and first operating information, wherein the first operating information is used for instructing the first forwarding device to obtain a first encapsulation message according to a first data message after determining that the first data message matches the first matching information and to send the first encapsulation message to the first network element via the first path.   
     
     
         2 . The method of  claim 1 , further comprising:
 receiving, by the generating device, a second request message used for requesting the first content for a third network element, wherein the second request message comprises the first content identifier;   determining, by the generating device, a second path from the second network element to the third network element according to the network topology, wherein the second path comprises a second forwarding device; and   generating, by the generating device, second forwarding information for the second forwarding device, wherein the second forwarding information comprises second matching information and second operating information, wherein the second operating information is used for instructing the second forwarding device to obtain a second encapsulation message according to a second data message after determining that the second data message matches the second matching information and to send the second encapsulation message to the third network element via the second path.   
     
     
         3 . The method of  claim 1 , wherein:
 the generating device is a server;   the receiving, by the generating device, the first request message for requesting the first content for the first network element, comprises: receiving, by the generating device, the first request message from a controller; and   the method further comprises:
 sending, by the generating device, the first forwarding information to the controller. 
   
     
     
         4 . The method of  claim 1 , wherein:
 the generating device is a controller;   the receiving, by the generating device, the first request message for requesting the first content for the first network element, comprises: receiving, by the controller, the first request message from the first forwarding device; and   the method further comprises:
 sending, by the generating device, the first forwarding information to the first forwarding device. 
   
     
     
         5 . A method for generating forwarding information, comprising:
 obtaining, by a forwarding device, forwarding information, wherein the forwarding information comprises matching information and operating information, wherein the forwarding device is located in a path from a second network element to a first network element;   receiving, by the forwarding device, a data message from the second network element;   obtaining, by the forwarding device, an encapsulation message according to the data message and the operating information after determining that the data message matches the matching information; and   sending, by the forwarding device, the encapsulation message to the first network element via the path.   
     
     
         6 . The method of  claim 5 , wherein the data message comprises a first identifier of first content, and the matching information comprises a second identifier of the first content, wherein the method further comprises:
 determining, by the forwarding device, that the data message matches the matching information in response to determining the second identifier of the first content matches the first identifier of the first content.   
     
     
         7 . The method of  claim 5 , wherein the matching information comprises a second identifier of first content,
 wherein the obtaining, by the forwarding device, the encapsulation message according to the data message and the operating information after determining that the data message matches the matching information comprises:   obtaining, by the forwarding device, the encapsulation message by encapsulating the data message according to the operating information after determining that data message matches the matching information, wherein the encapsulation message comprises the data message and a first content label, and the first content label is corresponding to the second identifier of the first content; and   wherein the sending, by the forwarding device, the encapsulation message to the first network element via the path comprises:
 sending, by the forwarding device, the encapsulation message to the first network element via an egress port of the forwarding device on the path. 
   
     
     
         8 . The method of  claim 5 , wherein the matching information comprises a second identifier of first content and an identifier of a protocol of the first request message from the first network element,
 wherein the obtaining, by the forwarding device, the encapsulation message according to the data message and the operating information after determining that the data message matches the matching information comprises:
 obtaining, by the forwarding device, the encapsulation message by encapsulating the data message according to the operating information after determining that data message matches the matching information, wherein the encapsulation message comprises the data message, a protocol label, and a first content label, wherein the first content label corresponds to the second identifier of the first content; 
   wherein the sending, by the forwarding device, the encapsulation message to the first network element via the path comprises:
 sending, by the forwarding device, the encapsulation message to the first network element via an egress port of the forwarding device on the path. 
   
     
     
         9 . A generating device, comprising:
 a processor; and   a non-transitory computer-readable storage medium coupled to the processor and storing programming instructions for execution by the processor, the programming instructions instruct the processor to:
 receive a first request message for requesting first content for a first network element, wherein the first request message comprises a first content identifier; and 
 determine that a second network element is a provider of the first content according to first registration information received from the second network element, wherein the first registration information comprises information indicating that the second network element is the provider of the first content; 
 determine a first path from the second network element to the first network element according to a network topology, wherein the first path comprises a first forwarding device; and 
 generate first forwarding information for the first forwarding device, wherein the first forwarding information comprises first matching information and first operating information, wherein the first operating information is used for instructing the first forwarding device to obtain a first encapsulation message according to a first data message after determining that the first data message matches the first matching information and to send the first encapsulation message to the first network element via the first path. 
   
     
     
         10 . The generating device of  claim 9 , wherein the programming instructions further instruct the processor to:
 receive a second request message used for requesting the first content for a third network element, wherein the second request message comprises the first content identifier;   determine a second path from the second network element to the third network element according to the network topology, wherein the second path comprises a second forwarding device; and   generate second forwarding information for the second forwarding device, wherein the second forwarding information comprises second matching information and second operating information, wherein the second operating information is used for instructing the second forwarding device to obtain a second encapsulation message according to a second data message after determining that the second data message matches the second matching information and to send the second encapsulation message to the third network element via the second path.   
     
     
         11 . The generating device of  claim 9 , wherein the generating device is a server, and wherein the programming instructions further instruct the processor to:
 receive the first request message from a controller; and   send the first forwarding information to the controller.   
     
     
         12 . The generating device of  claim 9 , wherein the generating device is a controller, and wherein the programming instructions further instruct the processor to:
 receive the first request message from the first forwarding device; and   send the first forwarding information to the first forwarding device.   
     
     
         13 . A forwarding device, comprising:
 a processor; and   a non-transitory computer-readable storage medium coupled to the processor and storing programming instructions for execution by the processor, the programming instructions instruct the processor to:
 obtain forwarding information, wherein the forwarding information comprises matching information and operating information, the forwarding device is located in a path from a second network element to a first network element; 
 receive a data message from the second network element; 
 obtain an encapsulation message according to the data message and the operating information after determining that the data message matches the matching information; and 
 send the encapsulation message to the first network element via the path. 
   
     
     
         14 . The forwarding device of  claim 13 , wherein the data message comprises a first identifier of first content, wherein the programming instructions further instruct the processor to:
 determine that the data message matches the matching information in response to determining the second identifier of the first content matches the first identifier of the first content.   
     
     
         15 . The forwarding device of  claim 13 , wherein the matching information comprises a second identifier of first content, wherein the programming instructions instruct the processor to:
 obtain the encapsulation message by encapsulating the data message according to the operating information after determining that data message matches the matching information, wherein the encapsulation message comprises the data message and a first content label, and the first content label is corresponding to the second identifier of the first content; and   send the encapsulation message to the first network element via an egress port of the forwarding device on the path.   
     
     
         16 . The forwarding device of  claim 13 , wherein the matching information comprises a second identifier of first content and an identifier of a protocol of the first request message from the first network element, wherein the programming instructions instruct the processor to:
 obtain the encapsulation message by encapsulating the data message according to the operating information after determining that data message matches the matching information, wherein the encapsulation message comprises the data message, a protocol label, and a first content label, wherein the first content label corresponds to the second identifier of the first content; and   send the encapsulation message to the first network element via an egress port of the forwarding device on the path.

Join the waitlist — get patent alerts

Track US2019158627A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.