<?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-02" 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="March" day="31"/>

    
    
    

    <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 L2-words 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:
H4sIAAiU6mcAA71Z7W4ctxX9P09B2D8iwZq1oXy03SJFFclCBMiyYK+QH0V/
cGe4u4RnhluSo/UmStCH6EvkOfImfZKee8mZ5eyH7KpBBQTxDmfIy3vPPfdc
Ms/zzGtfqbF4f/79uXjXVkpcGltLL2bGijfKOTlX4mw+t2ouvTaN0I24UJVc
i4mplJWNFzfKr4z94LLSFI2sMVlp5cznS1WZ+9wViyKXmwlyi0XyGS+SvzrN
9NKOhbet86evXv0JDwrpx1hlZjLXTmvtHD6arJeY9ur15DLLlnqcCeHWtVUz
NxZfrJX7gh4Y67eee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