Search

US-12627749-B2 - Systems and methods for static context header compression instantiation

US12627749B2US 12627749 B2US12627749 B2US 12627749B2US-12627749-B2

Abstract

Systems, methods and computer-readable storage media are provided for encoding, within the SRH-6LoRH field within a data packet, an IPv6 address that can be used to decompress the SCHC information in the data packet. A rule is generated that indicates that the first network address in the SRH-6LoRH field of the data packet is usable to decompress the SCHC information from the data packet as opposed to the compression residue. When the data packet is received at the destination node, the destination node, through a SCHC decompressor, uses the first network address in the SRH-6LoRH field according to the rule to decompress the SCHC information.

Inventors

  • Pascal Thubert
  • Eric Levy-Abegnoli
  • Patrick Wetterwald
  • Jp Vasseur

Assignees

  • CISCO TECHNOLOGY, INC.

Dates

Publication Date
20260512
Application Date
20230718

Claims (20)

  1. 1 . A computer-implemented method comprising: generating a data packet, wherein a first field of the data packet is usable to define a set of network addresses corresponding to different nodes along a network route, and wherein the data packet includes a Static Context Header Compression (SCHC) residue; encoding a first network address of the set of network addresses within the first field of the data packet, wherein the first network address corresponds to a destination network address, and wherein the destination network address is usable to decompress SCHC information encoded in the data packet; generating a rule, wherein the rule indicates that the first network address within the first field is usable to decompress the SCHC information, and wherein an identifier corresponding to the rule into the data packet; and transmitting the data packet, wherein when the data packet is received at a destination node along the network route, the destination node processes the rule identifier to decompress the SCHC information using the first network address according to the rule.
  2. 2 . The computer-implemented method of claim 1 , wherein the set of network addresses includes one or more Internet Protocol version 6 (IPv6) addresses corresponding to the different nodes along the network route.
  3. 3 . The computer-implemented method of claim 1 , wherein the first field is a Segment Routing Header-6LoWPAN Routing Header (SRH-6LoRH).
  4. 4 . The computer-implemented method of claim 1 , wherein the rule is generated dynamically during processing of the data packet.
  5. 5 . The computer-implemented method of claim 1 , wherein the set of network addresses includes one or more Media Access Control (MAC) addresses corresponding to the different nodes along the network route.
  6. 6 . The computer-implemented method of claim 1 , wherein the data packet does not include other SCHC residue corresponding to the destination network address.
  7. 7 . The computer-implemented method of claim 1 , wherein the set of network addresses are consumed as the data packet progresses through the different nodes such that, when the data packet is received at the destination node along the network route, the first field of the data packet includes only the first network address of the set of network addresses.
  8. 8 . A system, comprising: one or more processors; and memory storing thereon instructions that, as a result of being executed by the one or more processors, cause the system to: generate a data packet, wherein a first field of the data packet is usable to define a set of network addresses corresponding to different nodes along a network route, and wherein the data packet includes a Static Context Header Compression (SCHC) residue; encode a first network address of the set of network addresses within the first field of the data packet, wherein the first network address corresponds to a destination network address, and wherein the destination network address is usable to decompress SCHC information encoded in the data packet; generate a rule, wherein the rule indicates that the first network address within the first field is usable to decompress the SCHC information, and wherein an identifier corresponding to the rule into the data packet; and transmit the data packet, wherein when the data packet is received at a destination node along the network route, the destination node processes the rule identifier to decompress the SCHC information using the first network address according to the rule.
  9. 9 . The system of claim 8 , wherein the set of network addresses includes one or more Internet Protocol version 6 (IPv6) addresses corresponding to the different nodes along the network route.
  10. 10 . The system of claim 8 , wherein the first field is a Segment Routing Header-6LoWPAN Routing Header (SRH-6LoRH).
  11. 11 . The system of claim 8 , wherein the rule is generated dynamically during processing of the data packet.
  12. 12 . The system of claim 8 , wherein the set of network addresses includes one or more Media Access Control (MAC) addresses corresponding to the different nodes along the network route.
  13. 13 . The system of claim 8 , wherein the data packet does not include other SCHC residue corresponding to the destination network address.
  14. 14 . The system of claim 8 , wherein the set of network addresses are consumed as the data packet progresses through the different nodes such that, when the data packet is received at the destination node along the network route, the first field of the data packet includes only the first network address of the set of network addresses.
  15. 15 . A non-transitory, computer-readable storage medium storing thereon executable instructions that, as a result of being executed by one or more processors of a computer system, cause the computer system to: generate a data packet, wherein a first field of the data packet is usable to define a set of network addresses corresponding to different nodes along a network route, and wherein the data packet includes a Static Context Header Compression (SCHC) residue; encode a first network address of the set of network addresses within the first field of the data packet, wherein the first network address corresponds to a destination network address, and wherein the destination network address is usable to decompress SCHC information encoded in the data packet; generate a rule, wherein the rule indicates that the first network address within the first field is usable to decompress the SCHC information, and wherein an identifier corresponding to the rule into the data packet; and transmit the data packet, wherein when the data packet is received at a destination node along the network route, the destination node processes the rule identifier to decompress the SCHC information using the first network address according to the rule.
  16. 16 . The non-transitory, computer-readable storage medium of claim 15 , wherein the set of network addresses includes one or more Internet Protocol version 6 (IPv6) addresses corresponding to the different nodes along the network route.
  17. 17 . The non-transitory, computer-readable storage medium of claim 15 , wherein the first field is a Segment Routing Header-6LoWPAN Routing Header (SRH-6LoRH).
  18. 18 . The non-transitory, computer-readable storage medium of claim 15 , wherein the rule is generated dynamically during processing of the data packet.
  19. 19 . The non-transitory, computer-readable storage medium of claim 15 , wherein the set of network addresses includes one or more Media Access Control (MAC) addresses corresponding to the different nodes along the network route.
  20. 20 . The non-transitory, computer-readable storage medium of claim 15 , wherein the data packet does not include other SCHC residue corresponding to the destination network address.

Description

TECHNICAL FIELD The present disclosure generally relates to the field of computer networking, particularly with regard to the extension of statis context header compression (SCHC) to allow for rules to be instantiated dynamically during packet processing based on information found within a node network address and a 6LoRH. BACKGROUND SCHC is a stateful compression technique, primarily designed for Internet-of-Things (IoT) and other constrained devices, that recognizes regular expressions as bit patterns and compresses these regular expressions. Through SCHC, a regular expression is given as a matching rule and, based on the rule, an SCHC compressor can elide some bits and indicate that the rule was applied. However, the writing of SCHC rules for every device to hardcode local information, such as their Internet Protocol (IP) address, is impractical. Thus, there is a need to obtain rules from a more dynamically instantiated location. BRIEF DESCRIPTION OF THE FIGURES To provide a more complete understanding of the present disclosure and features and advantages thereof, reference is made to the following description, taken in conjunction with the accompanying drawings, in which: FIG. 1 shows an illustrative example of an environment in which a data packet is generated that indicates that the destination IP address specified in the source routing header-6LoRH (SRH-6LoRH) is usable to decompress SCHC information from the data packet in accordance with at least one embodiment; FIG. 2 shows an illustrative example of an environment in which a data packet is encoded with a rule identifier based on information included in the SRH-6LoRH in the data packet in accordance with at least one embodiment; FIG. 3 shows an illustrative example of a process for generating a data packet that encodes a set of IP addresses within the SRH-6LoRH or MAC header and a rule identifier corresponding a new rule indicating a SCHC-compressed address that is included in the 6LoRH or IID in accordance with at least one embodiment; FIG. 4 shows an illustrative example of a process for using a network address indicated in the last 6LoRH or IID entry in the data packet to decompress SCHC information encoded in the data packet in accordance with at least one embodiment; FIG. 5 illustrates an example network device suitable for performing switching, routing, and other networking operations in accordance with some embodiments; and FIG. 6 illustrates a computing system architecture including various components in electrical communication with each other using a connection in accordance with some embodiments. DETAILED DESCRIPTION Various embodiments of the disclosure are discussed in detail below. While specific implementations are discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations may be used without parting from the spirit and scope of the disclosure. Thus, the following description and drawings are illustrative and are not to be construed as limiting. Numerous specific details are described to provide a thorough understanding of the disclosure. However, in certain instances, well-known or conventional details are not described in order to avoid obscuring the description. References to one or an embodiment in the present disclosure can be references to the same embodiment or any embodiment; and, such references mean at least one of the embodiments. Reference to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the disclosure. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Moreover, various features are described which may be exhibited by some embodiments and not by others. The terms used in this specification generally have their ordinary meanings in the art, within the context of the disclosure, and in the specific context where each term is used. Alternative language and synonyms may be used for any one or more of the terms discussed herein, and no special significance should be placed upon whether or not a term is elaborated or discussed herein. In some cases, synonyms for certain terms are provided. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms discussed herein is illustrative only, and is not intended to further limit the scope and meaning of the disclosure or of any example term. Likewise, the disclosure is not limited to various embodiments given in this specification. Without intent to limit the scope of the disclosure, examples of instruments, apparatus, methods and their related results