Article View: news.software.nntp
Article #57631Re: Using Message-ID to store binary file information
From: Claus Färber
Date: Mon, 25 Mar 2002 12:22
Date: Mon, 25 Mar 2002 12:22
61 lines
4008 bytes
4008 bytes
Curt Welch <curt@kcwc.com> schrieb/wrote: > Also, Par files seem to use 8bit words in all the standard Par files. And > with an 8 bit word length, that limits you to a max of 256 data files + par > files per set. That would be complex to deal with when you are trying to > post a 5000 segment DVD. You couldn't post par files for the entire set, > you would instead have to post par files for sub-sets of the post (i.e. > like for every 128 segments posted). I'll have to think more about how > this might best be done. Well, what about this: A file is split into n segments (example below: 19), which are gathered together in blocks of m segments (below: 4). The numbering scheme works like this: The first segments of each blocks get the lowest numbers, then the second segments of each block and so on. For example (vertical position of the number for better illustration only): File start File end +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ |01| | | |02| | | |03| | | |04| | | |05| | | | |06| | | |07| | | |08| | | |09| | | |10| | | | |11| | | |12| | | |13| | | |14| | | |15| | | | |16| | | |17| | | |18| | | |19| | | | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ For each block, o partity files are created. They are numbered in block order: +-----------+-----------+-----------+-----------+--------+ | P01 | P02 | P03 | P04 | P05 | +-----------+-----------+-----------+-----------+--------+ +-----------+-----------+-----------+-----------+--------+ | P06 | P07 | P08 | P09 | P10 | +-----------+-----------+-----------+-----------+--------+ More parity information can be added (and posted) later. Not that knowing the total count of data segments and the block size you can associate the parity segments with the correct data segments. However, I explicitly propose listing the byte ranges in addition to any segment number information and using the later only for user information. The data sements are posted in numerical order, after them the parity segments are posted in numerical order, too. Using this interleaving scheme, "bursts" of missing posts will most likely hit different parts of the file and so can be reconstructed using the parity information. Claus -- ------------------------ http://www.faerber.muc.de/ ------------------------ OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Technical Details
Message-ID:
<8LW3SW2ocDB@3247.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!newsfeed.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!clausReferences:
<210320021224366481%planb@newsreaders.com> <20020321125143.414$Wp@newsreader.com> <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@newsreader.com> <a7gok1$l864t$1@ID-26705.news.dfncis.de> <3c9e2b4c.46050296@news> <20020323233641.229$84@newsreader.com> <ktir9u8jf9jo2iukb02r1irgdksa00nru6@4ax.com> <20020324184105.413$f5@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <8LW3SW2ocDB@3247.org> Subject: Re: Using Message-ID to store binary file information Date: Mon, 25 Mar 2002 12:22:00 +0000 From: claus-usenet-20020325@faerber.muc.de (Claus Färber) References: <210320021224366481%planb@newsreaders.com> <20020321125143.414$Wp@newsreader.com> <a7ddkd$j6s1m$1@ID-26705.news.dfncis.de> <3c9c54a2.1953960@news> <a7e4h9$kvunt$1@ID-26705.news.dfncis.de> <20020322023326.175$pl@newsreader.com> <3c9d13a7.6329505@news> <20020322142214.518$Xu@newsreader.com> <3c9baac6.13143333@news> <20020322195941.840$tN@newsreader.com> <a7gok1$l864t$1@ID-26705.news.dfncis.de> <3c9e2b4c.46050296@news> <20020323233641.229$84@newsreader.com> <ktir9u8jf9jo2iukb02r1irgdksa00nru6@4ax.com> <20020324184105.413$f5@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!newsfeed.stueberl.de!news.space.net!news.muc.de!faerber.muc.de!claus Newsgroups: news.software.nntp User-Agent: OpenXP/32 v3.7.7 (Win32) beta @ 2002-03-17-1359d MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Lines: 60