The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Sep. 17, 2019
Filed:
Mar. 03, 2017
Huawei Technologies Co., Ltd., Shenzhen, CN;
Huawei Technologies Co., Ltd., Shenzhen, CN;
Abstract
Embodiments of the present application provide a method and an apparatus for compressing a label stack. The method includes: obtaining a first label stack corresponding to a forwarding path, where the first label stack comprises node labels corresponding to each node on the forwarding path; selecting a first node label from the first label stack, where when forwarding a packet, a node corresponding to the first node label is capable of encapsulating at least two layers of labels in the packet; replacing at least two adjacent labels located after the first node label in the first label stack with a first compression label, to generate a second label stack; and instructing a source node on the forwarding path to perform packet processing according to the second label stack. In this way, a length of a label stack pushed into the packet can be shortened.