<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I fully agree with Scott on his comments and suggestions. More generally, I would avoid, whenever possible, the use of a parameter designed to a specific end, such as timestamp sequence number here, to different purposes. However, appealing it may be on a short
 term, it is looking for troubles on the long term.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Specifically, the timestamp sequence number is not the same as an hupothetical bundle sequence number, as pointed out by Scott. Moreover, if we assume that a source generates bundles to a give destination to specific rate, e.g. one bundle per second, the sequence
 number increment between two consecutive bundles of this flow may be larger than one. For example, the first sequence number of the bundle flow could be 1 and the second 5. It is enough that the same source generates in the meantime other 3 bundles to different
 destinations. <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Yours,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
   Carlo<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Da:</b> SIS-DTN <sis-dtn-bounces@mailman.ccsds.org> per conto di sburleig.sb--- via SIS-DTN <sis-dtn@mailman.ccsds.org><br>
<b>Inviato:</b> mercoledì 9 agosto 2023 17:31<br>
<b>A:</b> 'Felix Flentge' <Felix.Flentge@esa.int>; 'Dr. Keith L Scott via SIS-DTN' <sis-dtn@mailman.ccsds.org><br>
<b>Cc:</b> 'Singh, Somendra {Simon} (GSFC-5820)' <simon.singh@nasa.gov>; 'Wilmot, Jonathan J. (GSFC-580.0)[VANTAGE SYSTEMS INC]' <jonathan.j.wilmot@nasa.gov><br>
<b>Oggetto:</b> Re: [Sis-dtn] Special use of sequence number in bundle creation time stamp</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
p.x_MsoListParagraph, li.x_MsoListParagraph, div.x_MsoListParagraph
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_EmailStyle21
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
ol
        {margin-bottom:0in}
ul
        {margin-bottom:0in}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi, Felix.  One thing to keep in mind is that the purpose of the sequence number in the bundle creation timestamp is to distinguish among bundles that have the same bundle creation time.  This can occur when bundles are created at a very
 high rate or when bundle creation time is zero due to the absence of an accurate clock.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I would suggest that using bundle creation timestamp sequence numbers for other purposes makes it more difficult to use those numbers for their original purpose.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">If sequence numbering of bundles in these various ways is important, I think it would be better to encode those numbers (and the flags describing their significance) in an immutable extension block, i.e., an extension block that is one
 of the additional targets of a block integrity block covering the primary block.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Scott</p>
<p class="x_MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="x_MsoNormal"><b><span style="">From:</span></b><span style=""> SIS-DTN <sis-dtn-bounces@mailman.ccsds.org>
<b>On Behalf Of </b>Felix Flentge via SIS-DTN<br>
<b>Sent:</b> Wednesday, August 9, 2023 7:43 AM<br>
<b>To:</b> Dr. Keith L Scott via SIS-DTN <sis-dtn@mailman.ccsds.org><br>
<b>Cc:</b> Singh, Somendra {Simon} (GSFC-5820) <simon.singh@nasa.gov>; Wilmot, Jonathan J. (GSFC-580.0)[VANTAGE SYSTEMS INC] <jonathan.j.wilmot@nasa.gov><br>
<b>Subject:</b> [Sis-dtn] Special use of sequence number in bundle creation time stamp</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span lang="EN-GB">Dear All,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">I think we have had some initial exchange on the use of the sequence number in the bundle creation timestamp some time ago. Meanwhile, we had a number of side meetings with Jonathan, Simon and others to further discuss
 the topic of ‘flows’, compressed bundle reporting and network management.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">We have arrived at a point where we think that it makes sense to allow using the sequence number in the primary header for identifying gaps in sequences of bundles or to even allow for in-sequence delivery.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">The basic idea is that the sequence number does not get reset to zero but is incrementing by one until a specified maximum. Further we might use different, individual sequence numbers per source node ID or per destination
 endpoint ID. Such a behaviour might be governed by policy or even indicated in the Primary Block’s Processing Control Flags, like</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<ol start="1" type="1" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">Use two bits to specify whether the creation timestamp sequence number is used in special way:</span></li></ol>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<ul type="disc" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">00 – single sequence number - no specific usage</span></li><li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">01 – an individual sequence number is used per source node id</span></li><li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">10 – an individual sequence number is used per destination endpoint id</span></li><li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">11 – reserved (until we find a good usage; maybe individual sequence number per next hop)</span></li></ul>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><b><span lang="EN-GB">In case 10 with different destination endpoint IDs, the BPA has to guarantee that the same values can only appear with different bundle creation times!</span></b></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<ol start="2" type="1" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">Use of two bits to indicate the maximum length of the sequence number (00 above) or individual sequence numbers (01 and 10 above):</span></li></ol>
<ul type="disc">
<li class="x_MsoNormal" style=""><span lang="EN-GB">00 - sequence numbers are assigned somehow (reset to zero, randomly, ..)</span><span lang="EN-GB" style=""></span></li><li class="x_MsoNormal" style=""><span lang="EN-GB">01 - increasing sequence number up to 2^16-1</span></li><li class="x_MsoNormal" style=""><span lang="EN-GB">10 - increasing sequence number up to 2^32-1</span></li><li class="x_MsoNormal" style=""><span lang="EN-GB">11 - increasing sequence number up to 2^64-1</span></li></ul>
<p class="x_MsoNormal"><span lang="EN-GB">My main questions:</span></p>
<ol start="1" type="1" style="margin-top:0in">
<li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">Does it make sense to use flags in the primary header for this purpose or is it sufficient to document that sequence numbers can be used in that way and leave it up to policy to specify
 certain behaviours? I have a slight preference for using the BPCF as it seems more formal and could ease interoperability (and the sequence number is in the primary header, so why not indicate it there).</span></li><li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">If we want to use BPCF, what is the way to specify this? Should we / do we need to go IETF or could CCSDS be sufficient (to start with)? Ideally we would use some of the reserved first
 16 bits (e.g. Bit 7 – 10)</span></li><li class="x_MsoListParagraph" style="margin-left:0in"><span lang="EN-GB">No matter whether we want to use BCPF or not, I think something should end up in the CCSDS BB as soon as possible. So, maybe there is a chance for a late RID (if it does not delay the
 overall publication process). We should start discussing (maybe tomorrow).</span></li></ol>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Regards,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Felix</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">This message is intended only for the recipient(s) named above. It may contain proprietary information and/or protected content. Any unauthorised disclosure, use, retention or dissemination is prohibited. If
 you have received this e-mail in error, please notify the sender immediately. ESA applies appropriate organisational measures to protect personal data, in case of data privacy queries, please contact the ESA Data Protection Officer (<a href="mailto:dpo@esa.int">dpo@esa.int</a>).
</span></p>
</div>
</div>
</body>
</html>