<?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-00" 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 <strong>Aggregation</strong>) 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—<strong>Aggregation</strong>—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><strong>MTU Threshold:</strong> When the cumulative size of aggregated data reaches the L2 Maximum Transmission Unit.</t>
  <t><strong>Maximum Delay:</strong> When the waiting time in the aggregation buffer exceeds a configured maximum delay.</t>
  <t><strong>Minimum Packet Rate:</strong> 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><strong>Aggregation RuleID:</strong> A unique identifier indicating that the packet has undergone aggregation.</t>
  <t><strong>Size Field:</strong> An N-bit field (with N defined in the SCHC Context) specifying the length in bytes of the compressed payload.</t>
  <t><strong>Compressed Payload:</strong> 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><strong>MTU Threshold:</strong> The total size of the ADU equals or exceeds a threshold, e.g. equal to the L2 MTU.</t>
  <t><strong>Maximum Delay:</strong> The time a packet remains in the aggregation buffer exceeds a preconfigured maximum delay.</t>
  <t><strong>Minimum Packet Rate:</strong> 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><strong>Delay versus Efficiency:</strong> 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><strong>Error Recovery:</strong> 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><strong>Buffer Management:</strong> 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>

</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:
H4sIACQmomcAA71Z224ktxF9768gdh8sadWzCzl2kgkcRNYFFiBphdUIfgjy
wOnmzBDbt5BszY4tG/mI/IS/w3+SL8mpIruHPRd5oRgRYHin2U0Wq06dOkWm
aZo47Qo1Fvdn352JD22hxGVtSunErDbiRlkr50qczudGzaXTdSV0Jc5VIVdi
UhfKyMqJW+WWtflok7zOKllistzImUsbVdSPqc0WWSrXE6QGi6QzXiR99y7R
jRkLZ1rrTt69+/O7kySTboxVZn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