SemProM Container Format Version 1.0

From Object Memory Modeling Incubator Group Wiki

Jump to: navigation, search

The principles of the SemProM Container Format are:

  1. Divide physical storage and semantics
  2. Content will be typified and therefore readable
  3. Usage of the same storage media for different data blocks (multi-part)
  4. Lean meta data structure for current technologies

The SemProM Container Format exists in 2 versions:

  • XML based version for an easy usage
  • Binary version for resource limited technologies (data matrix code, RFID ...)


Contents

Meta Format overview

The SemProM format starts with the SemProM header followed by one or many SemProM blocks. A SemProM block consists of a block header and block data. The block header will be written after the SemProM header and are representing an index that can be readout at once. The data blocks will be written after the headers beginning at the end of the SemProM.

SemProM Header

Every SemProM starts with SemProM Header. It contains an ASCII string "SPM" as identification. Two bytes will follow and describe the SemProM version. The first byte represents the major version the second the minor version. A 2 bytes length field describes the length of the index containing all block headers.

Length (Byte) Example Description Encoding
Identifier 3 Always "SPM"! Identifies data as SemProM ASCII
Major-Version 1 0x01 Decimal number Binary
Minor-Version 1 0x00 Decimal number Binary
Index-Length 2 0x00FF Decimal number Binary

SemProM Block

A SemProM block consists of block header and block data. The data block will be stored separately from the block header in another storage area. The data in the block header is coded binary and stored in Big Endian Byte order (Network Byte Order).

SemProM header + 1 block header = minimum 33 (or 36 with DUNS/GLN) Byte.

RFID-Tag with 112 Byte capacity leaves a 79 (or 76 with DUNS/GLN) Byte for content.

Content Type Definition

Value Meaning Filetype Description
1 application/acad *.dwg AutoCAD-Dateien (nach NCSA)
2 application/applefile AppleFile-Dateien
3 application/astound *.asd *.asn Astound-Dateien
4 application/dsptype *.tsp TSP-Dateien
5 application/dxf *.dxf AutoCAD-Dateien (nach CERN)
6 application/futuresplash *.spl Flash Futuresplash-Dateien
7 application/gzip *.gz GNU Zip-Dateien
8 application/listenup *.ptlk Listenup-Dateien
9 application/mac-binhex40 *.hqx Macintosh Binärdateien
10 application/mbedlet *.mbd Mbedlet-Dateien
11 application/mif *.mif FrameMaker Interchange Format Dateien
12 application/msexcel *.xls *.xla Microsoft Excel Dateien
13 application/mshelp *.hlp *.chm Microsoft Windows Hilfe Dateien
14 application/mspowerpoint *.ppt *.ppz *.pps *.pot Microsoft Powerpoint Dateien
15 application/msword *.doc *.dot Microsoft Word Dateien
16 application/octet-stream *.bin *.exe *.com *.dll *.class Ausführbare Dateien
17 application/oda *.oda Oda-Dateien
18 application/pdf *.pdf Adobe PDF-Dateien
19 application/postscript *.ai *.eps *.ps Adobe PostScript-Dateien
20 application/rtc *.rtc RTC-Dateien
21 application/rtf *.rtf Microsoft RTF-Dateien
22 application/studiom *.smp Studiom-Dateien
23 application/toolbook *.tbk Toolbook-Dateien
24 application/vocaltec-media-desc *.vmd Vocaltec Mediadesc-Dateien
25 application/vocaltec-media-file *.vmf Vocaltec Media-Dateien
26 application/xhtml+xml *.htm *.html *.shtml *.xhtml XHTML-Dateien
27 application/xml *.xml XML-Dateien
28 application/x-bcpio *.bcpio BCPIO-Dateien
29 application/x-compress *.z zlib-komprimierte Dateien
30 application/x-cpio *.cpio CPIO-Dateien
31 application/x-csh *.csh C-Shellscript-Dateien
32 application/x-director *.dcr *.dir *.dxr Macromedia Director-Dateien
33 application/x-dvi *.dvi DVI-Dateien
34 application/x-envoy *.evy Envoy-Dateien
35 application/x-gtar *.gtar GNU tar-Archivdateien
36 application/x-hdf *.hdf HDF-Dateien
37 application/x-httpd-php *.php *.phtml PHP-Dateien
38 application/x-javascript *.js serverseitige JavaScript-Dateien
39 application/x-latex *.latex LaTeX-Quelldateien
40 application/x-macbinary *.binMacintosh Binärdateien
41 application/x-mif *.mifFrameMaker Interchange Format Dateien
42 application/x-netcdf *.nc *.cdfUnidata CDF-Dateien
43 application/x-nschat *.nscNS Chat-Dateien
44 application/x-sh *.shBourne Shellscript-Dateien
45 application/x-shar *.sharShell-Archivdateien
46 application/x-shockwave-flash *.swf *.cabFlash Shockwave-Dateien
47 application/x-sprite *.spr *.spriteSprite-Dateien
48 application/x-stuffit *.sitStuffit-Dateien
49 application/x-supercard *.scaSupercard-Dateien
50 application/x-sv4cpio *.sv4cpioCPIO-Dateien
51 application/x-sv4crc *.sv4crcCPIO-Dateien mit CRC
52 application/x-tar *.tartar-Archivdateien
53 application/x-tcl *.tclTCL Scriptdateien
54 application/x-tex *.texTeX-Dateien
55 application/x-texinfo *.tetinfo *.texiTexinfo-Dateien
56 application/x-troff *.t *.tr *.roffTROFF-Dateien (Unix)
57 application/x-troff-man *.man *.troffTROFF-Dateien mit MAN-Makros (Unix)
58 application/x-troff-me *.me *.troffTROFF-Dateien mit ME-Makros (Unix)
59 application/x-troff-ms *.me *.troffTROFF-Dateien mit MS-Makros (Unix)
60 application/x-ustar *.ustartar-Archivdateien (Posix)
61 application/x-wais-source *.srcWAIS Quelldateien
62 application/x-www-form-urlencoded HTML-Formulardaten an CGI
63 application/zip *.zipZIP-Archivdateien
64 audio/basic *.au *.sndSound-Dateien
65 audio/echospeech *.esEchospeed-Dateien
66 audio/tsplayer *.tsiTS-Player-Dateien
67 audio/voxware *.voxVox-Dateien
68 audio/x-aiff *.aif *.aiff *.aifcAIFF-Sound-Dateien
69 audio/x-dspeeh *.dus *.chtSprachdateien
70 audio/x-midi *.mid *.midiMIDI-Dateien
71 audio/x-mpeg *.mp2MPEG-Dateien
72 audio/x-pn-realaudio *.ram *.raRealAudio-Dateien
73 audio/x-pn-realaudio-plugin *.rpmRealAudio-Plugin-Dateien
74 audio/x-qt-stream *.streamQuicktime-Streaming-Dateien
75 audio/x-wav *.wavWAV-Dateien
76 drawing/x-dwf *.dwfDrawing-Dateien
77 image/cis-cod *.codCIS-Cod-Dateien
78 image/cmu-raster *.rasCMU-Raster-Dateien
79 image/fif *.fifFIF-Dateien
80 image/gif *.gifGIF-Dateien
81 image/ief *.iefIEF-Dateien
82 image/jpeg *.jpeg *.jpg *.jpeJPEG-Dateien
83 image/png *.pngPNG-Dateien
84 image/tiff *.tiff *.tifTIFF-Dateien
85 image/vasa *.mcfVasa-Dateien
86 image/vnd.wap.wbmp *.wbmpBitmap-Dateien (WAP)
87 image/x-freehand *.fh4 *.fh5 *.fhcFreehand-Dateien
88 image/x-icon *.icoIcon-Dateien (z.B. Favoriten-Icons)
89 image/x-portable-anymap *.pnmPBM Anymap Dateien
90 image/x-portable-bitmap *.pbmPBM Bitmap Dateien
91 image/x-portable-graymap *.pgmPBM Graymap Dateien
92 image/x-portable-pixmap *.ppmPBM Pixmap Dateien
93 image/x-rgb *.rgbRGB-Dateien
94 image/x-windowdump *.xwdX-Windows Dump
95 image/x-xbitmap *.xbmXBM-Dateien
96 image/x-xpixmap *.xpmXPM-Dateien
97 message/external-body Nachricht mit externem Inhalt
98 message/http HTTP-Headernachricht
99 message/news Newsgroup-Nachricht
100 message/partial Nachricht mit Teilinhalt
101 message/rfc822 Nachricht nach RFC 2822
102 model/vrml *.wrlVisualisierung virtueller Welten (VRML)
103 multipart/alternative mehrteilige Daten gemischt
104 multipart/byteranges mehrteilige Daten mit Byte-Angaben
105 multipart/digest mehrteilige Daten / Auswahl
106 multipart/encrypted mehrteilige Daten verschlüsselt
107 multipart/form-data mehrteilige Daten aus HTML-Formular (z.B. File-Upload)
108 multipart/mixed mehrteilige Daten gemischt
109 multipart/parallel mehrteilige Daten parallel
110 multipart/related mehrteilige Daten / verbunden
111 multipart/report mehrteilige Daten / Bericht
112 multipart/signed mehrteilige Daten / bezeichnet
113 multipart/voice-message mehrteilige Daten / Sprachnachricht
114 text/comma-separated-values *.csvkommaseparierte Datendateien
115 text/css *.cssCSS Stylesheet-Dateien
116 text/html *.htm *.html *.shtmlHTML-Dateien
117 text/javascript *.jsJavaScript-Dateien
118 text/plain *.txtreine Textdateien
119 text/richtext *.rtxRichtext-Dateien
120 text/rtf *.rtfMicrosoft RTF-Dateien
121 text/tab-separated-values *.tsvtabulator-separierte Datendateien
122 text/vnd.wap.wml *.wmlWML-Dateien (WAP)
123 application/vnd.wap.wmlc *.wmlcWMLC-Dateien (WAP)
124 text/vnd.wap.wmlscript *.wmlsWML-Scriptdateien (WAP)
125 application/vnd.wap.wmlscriptc *.wmlscWML-Script-C-dateien (WAP)
126 text/xml *.xmlXML-Dateien
127 text/xml-external-parsed-entity extern geparste XML-Dateien
128 text/x-setext *.etxSeText-Dateien
129 text/x-sgml *.sgm *.sgmlSGML-Dateien
130 text/x-speech *.talk *.spcSpeech-Dateien
131 video/mpeg *.mpeg *.mpg *.mpeMPEG-Dateien
132 video/quicktime *.qt *.movQuicktime-Dateien
133 video/vnd.vivo *.viv *.vivoVivo-Dateien
134 video/x-msvideo *.aviMicrosoft AVI-Dateien
135 video/x-sgi-movie *.movieMovie-Dateien
136 workbook/formulaone *.vts *.vttsFormulaOne-Dateien
137 x-world/x-3dmf *.3dmf *.3dm *.qd3d *.qd33DMF-Dateien
138 x-world/x-vrml VRML-Dateien

Meta-Tags Definition

Signature Algorithm Definition

TBD


Address Type Definition

TBD

Personal tools