Skip to main content

Efficient Management of Data Models in Constrained Systems by Using Templates and Context Based Compression

  • Conference paper
  • First Online:
  • 1270 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 10070))

Abstract

Data communication is at the heart of any distributed system. The adoption of generic data formats such as XML or JSON eases the exchange of information and interoperability among heterogeneous systems. However, the verbosity of those generic data formats usually requires system resources that might not be available in resource-constrained systems, e.g., embedded systems and those devices which are being integrated into the so-called IoT. In this work we present a method to reduce the cost of managing data models like XML or JSON by using templates and context based compression. We also provide a brief evaluation and comparison as a benchmark with current implementations of W3C’s Efficient XML Interchange (EXI) processor. Although the method described in this paper is still at its initial stage, it outperforms the EXI implementations in terms of memory usage and speed, while keeping similar compression rates. As a consequence, we believe that our approach fits better for constrained systems.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    Context table before collapsing is available at [3].

  2. 2.

    This is very relevant for resource-constrained devices as sorter processing cycles imply lower energy consumption.

References

  1. Embeddable EXI processor in C (2016). http://exip.sourceforge.net/. Accessed June 2016

  2. Exificient (EXI procesor) (2016). http://exificient.github.io/. Accessed June 2016

  3. Berzosa, J., Cortiñas, R., Gardeazabal, L.: Efficient management of data models in constrained systems by using templates and context based compression. Technical report, University of the Basque Country UPV/EHU, Computer Science Faculty (Donostia, San-Sebastian) (2016). http://go.ehu.eus/BerzosaGC16-TR-05-16.pdf

  4. Bournez, C.: Efficient XML interchange evaluation. Technical report, W3C (2009). http://www.w3.org/TR/exi-evaluations/. Accessed June 2016

  5. Gudgin, M., Hadley, M., Mendelsohn, N., Moreau, J.J., Frystyk Nielsen, H.: SOAP version 1.2 part 1: messaging framework. Recommendation, W3C, June 2003. http://www.w3.org/TR/2003/REC-soap12-part1-20030624

  6. Gutierrez, J.A., Callaway, E.H., Barrett, R.: IEEE 802.15.4 Low-rate wireless personal area networks: enabling wireless sensor networks. IEEE Standards Office, New York, NY, USA (2003)

    Google Scholar 

  7. Kyusakov, R., Punal Pereira, P., Eliasson, J., Delsing, J.: EXIP: a framework for embedded web development. TWEB 8(4), 23:1–23:29 (2014). doi:10.1145/2665068

    Article  Google Scholar 

  8. Peintner, D., Pericas-Geertsen, S.: Efficient XML interchange (EXI) primer (2014). https://www.w3.org/TR/exi-primer/. Accessed June 2016

  9. Schneider, J., Kamiya, T., Peintner, D., Kyusakov, R.: Efficient XML interchange (EXI) Format 1.0 (2nd edn.). Technical report, W3C (2014). http://www.w3.org/XML/EXI. Accessed June 2016

  10. Shelby, Z., Bormann, C.: 6LoWPAN: The Wireless Embedded Internet. Wiley Publishing, Hoboken (2010)

    Google Scholar 

  11. Shelby, Z., Hartke, K., Bormann, C.: The constrained application protocol (CoAP). Technical report 7252, RFC Editor, Fremont, CA, USA, June 2014. http://www.rfc-editor.org/rfc/rfc7252.txt

  12. White, G., Kangasharju, J., Brutzman, D., Williams., S.: Efficient XML interchange measurements note. Technical report, W3C (2007). http://www.w3.org/TR/exi-measurements/. Accessed June 2016

Download references

Acknowledgements

Research partially supported by the European Union Horizon 2020 Programme under grant 680708/HIT2GAP, by the Spanish Research Council, grant TIN2013-41123-P, and the University of the Basque Country UPV/EHU, grant UFI11/45.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jorge Berzosa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing AG

About this paper

Cite this paper

Berzosa, J., Gardeazabal, L., Cortiñas, R. (2016). Efficient Management of Data Models in Constrained Systems by Using Templates and Context Based Compression. In: García, C., Caballero-Gil, P., Burmester, M., Quesada-Arencibia, A. (eds) Ubiquitous Computing and Ambient Intelligence. IWAAL AmIHEALTH UCAmI 2016 2016 2016. Lecture Notes in Computer Science(), vol 10070. Springer, Cham. https://doi.org/10.1007/978-3-319-48799-1_38

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-48799-1_38

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-48798-4

  • Online ISBN: 978-3-319-48799-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics