Passa al contenuto principale

Appendice H: codifica di messaggi con campi definiti dal fornitore

H.7 Codifica di messaggi con campi definiti dal fornitore​

Questo esempio è fornito per illustrare la codifica nel formato FIPS di messaggi non in formato FIPS. L'intento dello standard è occuparsi di sistemi di messaggistica basati su computer destinati principalmente all'uso tra persone. Questo esempio tratta la definizione e l'uso di campi definiti dal fornitore per estendere l'uso dello standard alla messaggistica da stazione a stazione. Il contesto è un messaggio militare che usa il formato dello standard militare JANAP-128.

H.7.1 Esempio di messaggio JANAP-128​

JANAP-128
RTTUZYUW RUABCDE0010 0330930-UUUU--RUXABYE.
ZNR UUUUU
R 020830Z FEB 82
FM Commander,Atlantic Fleet
TO USS SHIPA
BT
UNCLAS

MESSAGE BODY

BT
#0010
NNNN

H.7.2 Codifica dell'esempio con il formato di messaggio FIPS​

  Message   Length             Type
+--------+--------+--------+--------+
|01001101|  8   1 |  D   0 |  0   1 |
+--------+--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   4 |  1   8 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+
                  |00000010|  0   1 |    R   |
                  +--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   7 |  8   2 |  0   0 |  0   1 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+--------+
                  |00000010|  0   2 |    T   |    T   |
                  +--------+--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   6 |  8   2 |  0   0 |  0   2 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+
                  |00000010|  0   1 |    U   |
                  +--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   9 |  8   2 |  0   0 |  0   3 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   ZYUW   |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   A |  2   2 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----   ----+
                  |00000010|  0   7 |  RUABCDE  |
                  +--------+--------+----   ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   7 |  1   7 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   0010   |
                  +--------+--------+----  ----+

           Field    Length    FID      Date    Length
         +--------+--------+--------+--------+--------+
         |01001100|  1   8 |  0   2 |00101000|  1   5 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----           ----+
                  |00000010|  1   3 |19820202093000-0000|
                  +--------+--------+----           ----+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   9 |  8   2 |  0   0 |  0   2 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   UUUU   |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   C |  8   2 |  0   0 |  0   4 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   7 |  RUXABYE |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   A |  8   2 |  0   0 |  0   2 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----   ----+
                  |00000010|  0   5 |   UUUUU   |
                  +--------+--------+----   ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   4 |  1   8 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+
                  |00000010|  0   1 |    R   |
                  +--------+--------+--------+

           Field    Length    FID      Date    Length
         +--------+--------+--------+--------+--------+
         |01001100|  1   4 |  1   1 |00101000|  1   1 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----       ----+
                  |00000010|  0   F |8202020830-0000|
                  +--------+--------+----       ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  1   B |  0   1 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+
                  |00000010|  1   8 |
                  +--------+--------+

                           +----                ----+
                           |Commander,Atlantic Fleet|
                           +----                ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   C |  0   5 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----   ----+
                  |00000010|  0   9 | USS SHIPA |
                  +--------+--------+----   ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   7 |  0   4 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   BODY   |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   7 |  1   7 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   0010   |
                  +--------+--------+----  ----+

H.7.3 Corrispondenza dei campi da JANAP-128 al formato FIPS​

JANAP-128 Field              FIPS Format Field

Precedence Precedence (Appendix A)
Language Media Format Vendor-Defined
Security Vendor-Defined
Content Indicator Code Vendor-Defined
Origination Station Sender (Appendix A)
Routing Indication
Station Serial Number Originator-Serial-Number
(Appendix A)
Time of File Posted-Date (Appendix A)
Security Vendor-Defined
Destination Station Vendor-Defined
Routing Indicator
Security Vendor-Defined
Precedence Precedence (Appendix A)
Date/Time Group Date (Appendix A)
FM From (Appendix A)
TO To (Appendix A)
Body of Message Text (Appendix A)
Station Serial Number Originator-Serial-Number
(Appendix A)

H.7.4 Campi definiti dal fornitore​

Field Name                                Identifier Value
8

Description

Language Media Format - valore identificatore 01 (base 8)

Questo campo contiene due caratteri ASCII; il primo indica il supporto di ingresso e il secondo il supporto di uscita.

Security - valore identificatore 02 (base 8)

Questo campo contiene un indicatore, in caratteri ASCII di lunghezza variabile, della classificazione di sicurezza dei messaggi.

Content Indicator Code - valore identificatore 03 (base 8)

Questo campo contiene quattro caratteri ASCII e fornisce informazioni che descrivono il contenuto del messaggio e le azioni di gestione del messaggio da eseguire.

Destination Station Routing Indicator - valore identificatore 04 (base 8)

Questo campo contiene quattro caratteri ASCII che indicano la CPU e il dispositivo terminale a cui il messaggio deve essere inviato.