<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.17 (Ruby 2.6.10) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

<!ENTITY RFC8724 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8724.xml">
]>

<?rfc strict="yes"?>
<?rfc compact="yes"?>

<rfc ipr="trust200902" docName="draft-pelov-schc-aggregation-rule-format-01" category="info" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title>SCHC Rule Format for Message Aggregation in Delay Tolerant Networks</title>

    <author initials="A." surname="Pelov" fullname="Alexander Pelov">
      <organization abbrev="IMT Atlantique">IMT Atlantique</organization>
      <address>
        <postal>
          <street>2bis rue de la Chataigneraie</street>
          <city>Cesson-Sévigné</city>
          <code>35536</code>
          <country>France</country>
        </postal>
        <email>alexander.pelov@imt-atlantique.fr</email>
      </address>
    </author>

    <date year="2025" month="February" day="04"/>

    
    
    

    <abstract>


<?line 37?>

<t>This document defines a new Rule Format for Message Aggregation (referred to as Aggregation) within the SCHC framework. By bundling multiple SCHC-compressed packets into a single Aggregation Data Unit (ADU), the mechanism reduces the number of transmissions required in delay-tolerant networks. The Aggregation process is triggered by conditions such as reaching the L2 Maximum Transmission Unit (MTU), exceeding a maximum delay, or meeting a minimum packet rate threshold. This new rule type is backward compatible with existing SCHC operations and offers an efficient solution for energy-sensitive and asymmetric communication scenarios.</t>



    </abstract>



  </front>

  <middle>


<?line 41?>

<section anchor="introduction"><name>Introduction</name>

<t>Low-power, delay-tolerant networks benefit significantly from minimizing the number of transmissions to conserve energy. The Static Context Header Compression (SCHC) framework, as described in <eref target="https://www.rfc-editor.org/rfc/rfc8724.html">RFC8724</eref>, already provides mechanisms for compressing and fragmenting IPv6/UDP packets for LPWANs. This document introduces an additional SCHC Rule Type—Aggregation—which enables the bundling of multiple SCHC-compressed packets into a single Aggregation Data Unit (ADU). The Aggregation mechanism is particularly beneficial when latency is acceptable in exchange for reduced network traffic and improved energy efficiency.</t>

</section>
<section anchor="aggregation-overview"><name>Aggregation Overview</name>

<t>In the proposed architecture, an application packet is first processed by the SCHC Compression module. The compressed packet is then passed to the Aggregation module, which appends an Aggregation RuleID and a size field to the compressed payload. Multiple such packets are concatenated into one ADU. The ADU is transmitted to the lower layers based on one or more of the following triggers:</t>

<t><list style="symbols">
  <t>MTU Threshold: When the cumulative size of aggregated data reaches the L2 Maximum Transmission Unit.</t>
  <t>Maximum Delay: When the waiting time in the aggregation buffer exceeds a configured maximum delay.</t>
  <t>Minimum Packet Rate: When a periodic condition (e.g., a transmission scheduled once per day) is met in low-traffic scenarios.</t>
</list></t>

</section>
<section anchor="schc-aggregation-rule-specification"><name>SCHC Aggregation Rule Specification</name>

<t>The Aggregation Rule defines the packet format and processing steps for bundling SCHC-compressed packets. The following figure illustrates the structure of an Aggregation packet:</t>

<figure title="SCHC Aggregation Packet Format" anchor="Fig-aggregation-format"><artwork><![CDATA[
|------ SCHC Aggregation Header -------------|-- SCHC Compressed Payload ---|
|------- RuleID -------|-- Size Field -------|
+---------+------------+---------------------+------------------------------+~~~~~~~~~~~~~~~~~~~~~~~~+
| Aggregation RuleID   | Size Field (N bits) | Compressed Packet Payload | (Optional additional segments)
+---------+------------+---------------------+------------------------------+~~~~~~~~~~~~~~~~~~~~~~~~+
]]></artwork></figure>

<t>Each aggregated segment contains:</t>

<t><list style="symbols">
  <t>Aggregation RuleID: A unique identifier indicating that the packet has undergone aggregation.</t>
  <t>Size Field: An N-bit field (with N defined in the SCHC Context) specifying the length in bytes of the compressed payload.</t>
  <t>Compressed Payload: The output from the SCHC Compression process.</t>
</list></t>

<t>Additional SCHC-compressed packets are concatenated using the same "Size Field + Compressed Payload" structure. Note that there is no need fo Aggregation RuleID for the subsequent packets in one ADU.</t>

<section anchor="aggregation-triggers"><name>Aggregation Triggers</name>

<t>The Aggregation module maintains a buffer of compressed packets and transmits the ADU when one or more of the following conditions is met:</t>

<t><list style="symbols">
  <t>MTU Threshold: The total size of the ADU equals or exceeds a threshold, e.g. equal to the L2 MTU.</t>
  <t>Maximum Delay: The time a packet remains in the aggregation buffer exceeds a preconfigured maximum delay.</t>
  <t>Minimum Packet Rate: A periodic trigger (e.g., transmitting at least once per day) ensures that packets are not delayed indefinitely in low-traffic conditions.</t>
</list></t>

</section>
</section>
<section anchor="operational-considerations"><name>Operational Considerations</name>

<t>The Aggregation mechanism offers significant energy savings by reducing the number of transmissions; however, it introduces several trade-offs:</t>

<t><list style="symbols">
  <t>Delay versus Efficiency: While aggregation reduces transmissions, it inherently introduces additional delay. This is acceptable in delay-tolerant networks but must be carefully tuned to meet application requirements.</t>
  <t>Error Recovery: Loss or corruption of an ADU can affect multiple SCHC packets simultaneously. Implementations must include strategies for error detection and potential recovery of aggregated data.</t>
  <t>Buffer Management: Efficient management of the aggregation buffer is crucial to ensure that packets are aggregated and transmitted in a timely manner, especially under fluctuating network conditions.</t>
</list></t>

</section>
<section anchor="flow-diagram"><name>Flow Diagram</name>

<t>The following diagram illustrates the data flow from SCHC Compression to Aggregation and subsequent transmission:</t>

<figure title="Data Flow for SCHC Aggregation" anchor="Fig-aggregation-flow"><artwork><![CDATA[
+-----------------+       +---------------------+       +-----------------------+
| Application     | ----> | SCHC Compression    | ----> | SCHC Aggregation      |
| Data Packet     |       | (Compressed Data)   |       | (Aggregation Buffer)  |
+-----------------+       +---------------------+       +-----------+-----------+
                                                                |
                                                                v
                                                     +-----------------------+
                                                     | Lower Layers (L2)     |
                                                     | Transmission of ADU   |
                                                     +-----------------------+
]]></artwork></figure>

<t>Note that the PDU of the SCHC Aggregation can be sent to other SCHC processes.</t>

</section>
<section anchor="security-considerations"><name>Security Considerations</name>

<t>Aggregating multiple SCHC-compressed packets into a single ADU can increase the impact of packet interception or corruption. To mitigate these risks, the integrity mechanisms employed during SCHC Compression must be extended to cover the entire ADU. In addition, implementations should:</t>

<t><list style="symbols">
  <t>Apply end-to-end integrity checks on the aggregated data.</t>
  <t>Consider mechanisms to detect and recover from partial data loss in an ADU.</t>
</list></t>

</section>
<section anchor="iana-considerations"><name>IANA Considerations</name>

<t>No IANA Considerations.</t>

</section>
<section anchor="examples-and-use-cases"><name>Examples and Use Cases</name>

<section anchor="example-periodic-sensor-data-aggregation"><name>Example: Periodic Sensor Data Aggregation</name>

<t>In a sensor network, individual sensor readings are first compressed using SCHC Compression. The Aggregation module then collects these compressed packets over a period (e.g., one day) and bundles them into an ADU. This reduces the number of uplink transmissions, thereby conserving energy while accommodating delay-tolerant reporting.</t>

<section anchor="example-mtu-triggered-aggregation"><name>Example: MTU-Triggered Aggregation</name>

<t>In scenarios with higher traffic, multiple SCHC-compressed packets are buffered until their combined size approaches the L2 MTU. The ADU is then transmitted immediately, optimizing channel usage and reducing overhead.</t>

</section>
</section>
</section>
<section anchor="refstyle"><name>References</name>

<t>The following documents are referenced in this draft:</t>

<t><list style="symbols">
  <t><eref target="https://www.rfc-editor.org/rfc/rfc8724.html">RFC8724</eref>: SCHC: Framework for Compression and Fragmentation of IPv6/UDP Packets for LPWANs.</t>
</list></t>

</section>


  </middle>

  <back>


    <references title='Normative References' anchor="sec-normative-references">

&RFC8724;


    </references>




  </back>

<!-- ##markdown-source:
H4sIAB8yomcAA71Z7W4ctxX9P09B2D8iwZq16zRpu0WKKpKFCJBkwV4hP4r+
4M5wdwnPDLckR+tNlKAP0ZfIc+RN+iQ995Izy9kP2VWDCgjiHc6Ql/eee+65
ZJ7nmde+UmPx/uy7M/GurZS4MLaWXsyMFdfKOTlX4nQ+t2ouvTaN0I04V5Vc
i4mplJWNFzfKr4z94LLSFI2sMVlp5cznS1WZ+9wViyKXmwlyi0XyGS+Sv/pd
ppd2LLxtnX/96tWfXr3OCunHWGVmMtdOa+0cPpqsl5j28s3kIsuWepwJ4da1
VTM3Fl+slfu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