Packet transmission method, and communications apparatus and system
AssigneeHuawei Technologies Co., Ltd.
InventorsShoushou Ren, Delei Yu
Life of this patent
Estimating the term…
Abstract
Embodiments of this application provide a packet transmission method, and a communications apparatus and system. The method includes: generating a packet based on address information of forwarding nodes on a packet forwarding path, where the packet includes a first indication field, the first indication field is used to indicate a compressed first element and a compressed second element, the first element and the second element are address information of different forwarding nodes, and different address compression manners are used for the first element and the second element; and sending the packet.
Claims20
A method, comprising:
- generating a packet based on address information of forwarding nodes on a packet forwarding path, wherein the packet comprises a first indication field, the first indication field indicates a compressed first element and a compressed second element, the address information of the forwarding nodes on the packet forwarding path is an address information set, a first element comprises address information of a first forwarding node on the packet forwarding path, and a second element comprises address information of a second forwarding node on the packet forwarding path, the first forwarding node and the second forwarding node are different forwarding nodes, a first address compression manner is used to compress the first element to form the compressed first element, a second address compression manner is used to compress the second element to form the compressed second element, the first address compression manner is a different compression manner than the second address compression manner, the address information set comprises at least two first subsets, the first element and the second element correspond to different first subsets of the at least two first subsets, each first subset of the at least two first subsets comprises at least two elements of the respective first subset that share a common prefix, the common prefixes of the elements of different first subsets of the at least two first subsets are different;
- and
- sending the packet.
A method, comprising:
- receiving a packet, wherein the packet comprises a first indication field, the first indication field indicates a compressed first element and a compressed second element, a first element comprises address information of a first forwarding node on a packet forwarding path, and a second element comprises address information of a second forwarding node on the packet forwarding path, the first forwarding node and the second forwarding node are different forwarding nodes, a first address compression manner is used to compress the first element to form the compressed first element, a second address compression manner is used to compress the second element to form the compressed second element, the first address compression manner is a different compression manner than the second address compression manner, address information of forwarding nodes on the packet forwarding path is an address information set, the address information set comprises at least two first subsets, the first element and the second element correspond to different first subsets of the at least two first subsets, each first subset of the at least two first subsets comprises at least two elements of the respective first subset that share a common prefix, and the common prefixes of the elements of different first subsets of the at least two first subsets are different;
- determining address information of a next forwarding node of the packet based on the first indication field;
- and
- sending the packet to the next forwarding node based on the address information of the next forwarding node.
An apparatus, comprising:
- a processor, configured to generate a packet based on address information of forwarding nodes on a packet forwarding path, wherein the address information of the forwarding nodes on the packet forwarding path is an address information set, the packet comprises a first indication field, the first indication field indicates a compressed first element and a compressed second element, a first element comprises address information of a first forwarding node on the packet forwarding path, and a second element comprises address information of a second forwarding node on the packet forwarding path, the first forwarding node and the second forwarding node are different forwarding nodes, a first address compression manner is used to compress the first element to form the compressed first element, a second address compression manner is used to compress the second element to form the compressed second element, the first address compression manner is a different compression manner than the second address compression manner, the address information set comprises at least two first subsets, the first element and the second element correspond to different first subsets of the at least two first subsets, each first subset of the at least two first subsets comprises at least two elements of the respective subset that share a common prefix, and the common prefixes of the elements of different first subsets of the at least two first subsets are different;
- and
- a transmitter, configured to send the packet.
Dependencies are inferred from the claim text.