Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using NFFI Web Services on the tactical level: An evaluation of compression techniques 13th ICCRTS: C2 for Complex Endeavors 2008-06-18 Frank T. Johnsen.

Similar presentations


Presentation on theme: "Using NFFI Web Services on the tactical level: An evaluation of compression techniques 13th ICCRTS: C2 for Complex Endeavors 2008-06-18 Frank T. Johnsen."— Presentation transcript:

1 Using NFFI Web Services on the tactical level: An evaluation of compression techniques
13th ICCRTS: C2 for Complex Endeavors Frank T. Johnsen Trude Hafsøe

2 Outline Motivation NFFI XML / binary XML Reducing overhead compression
Evaluation Summary

3 Motivation The aim of NEC is to increase mission effectiveness
networking military entities enhancing information sharing and situational awareness Blue force tracking is recognized as one of the most important aspects of NEC. NATO friendly force tracking information; NFFI Part of the specification is an XML schema; allows using a Web service

4 Motivation Interoperability at all levels
Use XML at the tactical level bandwidth is scarce, use compression NATO CWID 2007 We have evaluated different compression techniques NFFI XML tracks was our experiment case To make systems interoperable at all levels, it is desirable to use XML encoded NFFI also at the tactical level. At the tactical level bandwidth is scarce, and measures must be taken if one is to use an NFFI Web service.  By compressing the XML document it requires less bandwidth to transmit the same amount of information over the network. NATO CWID 2007 We have evaluated several different compression techniques on a set of tracks encoded as NFFI XML documents.

5 NATO Friendly Force Information (NFFI)
NFFI blue force tracking simplified alternative to Command and Control Information Exchange Data Model (C2IEDM) Current version is 1.3 as published in draft STANAG 5527. Mandatory data in an NFFI message position data (longitude, latitude, altitude) velocity ID (name and text string; APP-6A/Mil STD 2525B) status field (operational status) Optional fields exist not needed to show the unit on a map. A simplified alternative for blue force tracking to the Command and Control Information Exchange Data Model (C2IEDM). Can be translated to C2IEDM Current version is 1.3 as published in draft STANAG 5527. consists of a message definition and protocols. Mandatory data in an NFFI message position data (longitude, latitude, altitude) velocity ID (name and text string; APP-6A/Mil STD 2525B) status field (operational status) Optional fields exist not needed to show the unit on a map.

6 The importance of XML XML is a simple, very flexible text format
Multiple XML standards, the two most are XML itself, and XML Schema. XML Schema Enables validation of XML documents. NFFI defines an XML schema, allowing track information to be represented in a standardized way for exchange. In its basic form, XML can be seen as a structured, human readable way to organize data. XML is a simple, very flexible text format derived from SGML (ISO 8879) There are multiple XML related standards, with the two most important being XML itself, and XML Schema. An XML document can be defined according to an XML Schema, which enables validation of XML documents according to rules defined in the schema. NFFI defines such an XML schema, allowing track information to be represented in a standardized way for exchange. In its basic form, XML can be seen as a structured, human readable way to organize data.

7 Towards a standard for binary XML
Sacrifice human readability for more efficient encoding Use another representation of the XML document “binary” or “efficient XML” So far there is no standard for efficient XML Standardization process W3C working group; Efficient XML Interchange (EXI) Objective: Develop a specification for an encoding format Illustrate effective implementations of that encoding The group has so far released a working draft. In certain cases it is more serviceable to sacrifice human readability for more efficient encoding and transfer. another representation of the XML document should be used, so-called binary or efficient XML. So far there is no standard for efficient XML A W3C working group called Efficient XML Interchange (EXI) is in the process of standardizing an efficient XML format. The objective of the EXI Working Group is to develop a specification for an encoding format that allows efficient interchange of the XML Information Set, and to illustrate effective processor implementations of that encoding. The group has so far released a working draft.

8 Reducing communication overhead
Different means to reduce communication overhead: changing the representation (e.g. the XML schema) discarding information compression Our case study was NFFI XML schema defined in the standard keep it as-is and remain compliant NFFI has some mandatory and a lot of optional fields. We removed all optional fields The remaining information was compressed There are different means one can employ to reduce communication overhead. compression techniques discarding some information change the way information is represented (e.g. the XML schema) Our case study was NFFI, so the XML schema was given. NFFI has some mandatory and a lot of optional fields. We removed all optional fields and kept only the mandatory fields of each track.

9 Compression Lossless compression retain the exact representation
Lossy compression used on data that can tolerate some loss allowed to modify the data higher compression rates than lossless compression XML documents All the information must be intact lossless compression should be used Lossless vs lossy compression Lossless compression is used on data that needs to retain its exact representation when it is decompressed. Lossy compression is used on data that can tolerate some loss such as audio, pictures and video. Lossy compression can, since it is allowed to modify the data, achieve higher compression rates than lossless compression. For documents (in our case XML documents), we need all the information to be intact so lossless compression should be used.

10 Lossless XML compression
We tested several combinations of lossless compression methods: Generic compression GZIP XML conscious compression methods EFX – generic vs schema specific XMLPPM We only looked at compression ratio and not other resource use (memory and CPU usage). bandwidth is the most limited resource in tactical networks We tested several combinations of lossless compression methods: We used a generic compression method that can be used on any document: GZIP We also evaluated two XML specific compression methods: EFX XMLPPM EFX can be used in one of two modes of operation; generic and schema specific compression. The generic option can compress any valid XML document without knowledge of the schema. We used the generic option in our experiments enabling us to compare EFX directly to XMLPPM, which provides only non-schema specific XML compression. When evaluating the efficiency of the algorithms we only looked at compression results and not resource use during compression (memory and CPU usage). The reason for this is that for our intended use, i.e. in tactical networks, the bandwidth is the limiting resource, thus making the compression ratio the most important metric.

11 Evalutation: Compressing NFFI XML (sizes in bytes)

12 Compression ratio calculation
Compression ratio in terms of number of bits per byte. expresses the number of bits needed to represent each byte in the uncompressed data format. For formula and discussion, see W. Ng, W.-Y. Lam, and J. Cheng, “Comparative Analysis of XML Compression Technologies”, WWW 9(1), pages 5-33, Kluwer Academic Publishers, March 2006. Compression ratio can be expressed in a number of different ways, and we have used the formula shown to the left to calculate the compression ratio in terms of number of bits per byte. W. Ng, W.-Y. Lam, and J. Cheng, “Comparative Analysis of XML Compression Technologies”, WWW 9(1), pages 5-33, Kluwer Academic Publishers, March 2006. This measurement expresses the number of bits after compression that is needed to represent each byte in the uncompressed data format.

13 Evalutation: Compressing NFFI XML (in terms of average compression ratio)

14 Summary There are significant gains when using compression of XML data. Tactical networks compression of some form should be employed Using the emerging standard for XML compression is probably a good idea. Standards based COTS products will be available. (However, all the algorithms we tested reduced the XML document size significantly.)


Download ppt "Using NFFI Web Services on the tactical level: An evaluation of compression techniques 13th ICCRTS: C2 for Complex Endeavors 2008-06-18 Frank T. Johnsen."

Similar presentations


Ads by Google