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 ...)

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.

SPM Meta Format Overview.png

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).

SPM Block.png

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 *.bin Macintosh Binärdateien
41 application/x-mif *.mif FrameMaker Interchange Format Dateien
42 application/x-netcdf *.nc *.cdf Unidata CDF-Dateien
43 application/x-nschat *.nsc NS Chat-Dateien
44 application/x-sh *.sh Bourne Shellscript-Dateien
45 application/x-shar *.shar Shell-Archivdateien
46 application/x-shockwave-flash *.swf *.cab Flash Shockwave-Dateien
47 application/x-sprite *.spr *.sprite Sprite-Dateien
48 application/x-stuffit *.sit Stuffit-Dateien
49 application/x-supercard *.sca Supercard-Dateien
50 application/x-sv4cpio *.sv4cpio CPIO-Dateien
51 application/x-sv4crc *.sv4crc CPIO-Dateien mit CRC
52 application/x-tar *.tar tar-Archivdateien
53 application/x-tcl *.tcl TCL Scriptdateien
54 application/x-tex *.tex TeX-Dateien
55 application/x-texinfo *.tetinfo *.texi Texinfo-Dateien
56 application/x-troff *.t *.tr *.roff TROFF-Dateien (Unix)
57 application/x-troff-man *.man *.troff TROFF-Dateien mit MAN-Makros (Unix)
58 application/x-troff-me *.me *.troff TROFF-Dateien mit ME-Makros (Unix)
59 application/x-troff-ms *.me *.troff TROFF-Dateien mit MS-Makros (Unix)
60 application/x-ustar *.ustar tar-Archivdateien (Posix)
61 application/x-wais-source *.src WAIS Quelldateien
62 application/x-www-form-urlencoded HTML-Formulardaten an CGI
63 application/zip *.zip ZIP-Archivdateien
64 audio/basic *.au *.snd Sound-Dateien
65 audio/echospeech *.es Echospeed-Dateien
66 audio/tsplayer *.tsi TS-Player-Dateien
67 audio/voxware *.vox Vox-Dateien
68 audio/x-aiff *.aif *.aiff *.aifc AIFF-Sound-Dateien
69 audio/x-dspeeh *.dus *.cht Sprachdateien
70 audio/x-midi *.mid *.midi MIDI-Dateien
71 audio/x-mpeg *.mp2 MPEG-Dateien
72 audio/x-pn-realaudio *.ram *.ra RealAudio-Dateien
73 audio/x-pn-realaudio-plugin *.rpm RealAudio-Plugin-Dateien
74 audio/x-qt-stream *.stream Quicktime-Streaming-Dateien
75 audio/x-wav *.wav WAV-Dateien
76 drawing/x-dwf *.dwf Drawing-Dateien
77 image/cis-cod *.cod CIS-Cod-Dateien
78 image/cmu-raster *.ras CMU-Raster-Dateien
79 image/fif *.fif FIF-Dateien
80 image/gif *.gif GIF-Dateien
81 image/ief *.ief IEF-Dateien
82 image/jpeg *.jpeg *.jpg *.jpe JPEG-Dateien
83 image/png *.png PNG-Dateien
84 image/tiff *.tiff *.tif TIFF-Dateien
85 image/vasa *.mcf Vasa-Dateien
86 image/vnd.wap.wbmp *.wbmp Bitmap-Dateien (WAP)
87 image/x-freehand *.fh4 *.fh5 *.fhc Freehand-Dateien
88 image/x-icon *.ico Icon-Dateien (z.B. Favoriten-Icons)
89 image/x-portable-anymap *.pnm PBM Anymap Dateien
90 image/x-portable-bitmap *.pbm PBM Bitmap Dateien
91 image/x-portable-graymap *.pgm PBM Graymap Dateien
92 image/x-portable-pixmap *.ppm PBM Pixmap Dateien
93 image/x-rgb *.rgb RGB-Dateien
94 image/x-windowdump *.xwd X-Windows Dump
95 image/x-xbitmap *.xbm XBM-Dateien
96 image/x-xpixmap *.xpm XPM-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 *.wrl Visualisierung 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 *.csv kommaseparierte Datendateien
115 text/css *.css CSS Stylesheet-Dateien
116 text/html *.htm *.html *.shtml HTML-Dateien
117 text/javascript *.js JavaScript-Dateien
118 text/plain *.txt reine Textdateien
119 text/richtext *.rtx Richtext-Dateien
120 text/rtf *.rtf Microsoft RTF-Dateien
121 text/tab-separated-values *.tsv tabulator-separierte Datendateien
122 text/vnd.wap.wml *.wml WML-Dateien (WAP)
123 application/vnd.wap.wmlc *.wmlc WMLC-Dateien (WAP)
124 text/vnd.wap.wmlscript *.wmls WML-Scriptdateien (WAP)
125 application/vnd.wap.wmlscriptc *.wmlsc WML-Script-C-dateien (WAP)
126 text/xml *.xml XML-Dateien
127 text/xml-external-parsed-entity extern geparste XML-Dateien
128 text/x-setext *.etx SeText-Dateien
129 text/x-sgml *.sgm *.sgml SGML-Dateien
130 text/x-speech *.talk *.spc Speech-Dateien
131 video/mpeg *.mpeg *.mpg *.mpe MPEG-Dateien
132 video/quicktime *.qt *.mov Quicktime-Dateien
133 video/ *.viv *.vivo Vivo-Dateien
134 video/x-msvideo *.avi Microsoft AVI-Dateien
135 video/x-sgi-movie *.movie Movie-Dateien
136 workbook/formulaone *.vts *.vtts FormulaOne-Dateien
137 x-world/x-3dmf *.3dmf *.3dm *.qd3d *.qd3 3DMF-Dateien
138 x-world/x-vrml VRML-Dateien

Meta-Tags Definition

SPM Product Lifecycle.png

SPM Vertical Market.png

SPM User Role Importance FLAGs.png

Signature Algorithm Definition


Address Type Definition