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

  • Jorge Berzosa
  • Luis Gardeazabal
  • Roberto Cortiñas
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10070)


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.


IoT XML JSON Template Context Compression EXI 



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.


  1. 1.
    Embeddable EXI processor in C (2016). Accessed June 2016
  2. 2.
    Exificient (EXI procesor) (2016). Accessed June 2016
  3. 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).
  4. 4.
    Bournez, C.: Efficient XML interchange evaluation. Technical report, W3C (2009). Accessed June 2016
  5. 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.
  6. 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. 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 CrossRefGoogle Scholar
  8. 8.
    Peintner, D., Pericas-Geertsen, S.: Efficient XML interchange (EXI) primer (2014). Accessed June 2016
  9. 9.
    Schneider, J., Kamiya, T., Peintner, D., Kyusakov, R.: Efficient XML interchange (EXI) Format 1.0 (2nd edn.). Technical report, W3C (2014). Accessed June 2016
  10. 10.
    Shelby, Z., Bormann, C.: 6LoWPAN: The Wireless Embedded Internet. Wiley Publishing, Hoboken (2010)Google Scholar
  11. 11.
    Shelby, Z., Hartke, K., Bormann, C.: The constrained application protocol (CoAP). Technical report 7252, RFC Editor, Fremont, CA, USA, June 2014.
  12. 12.
    White, G., Kangasharju, J., Brutzman, D., Williams., S.: Efficient XML interchange measurements note. Technical report, W3C (2007). Accessed June 2016

Copyright information

© Springer International Publishing AG 2016

Authors and Affiliations

  • Jorge Berzosa
    • 1
  • Luis Gardeazabal
    • 2
  • Roberto Cortiñas
    • 2
  1. 1.IK4-TeknikerEibarSpain
  2. 2.University of the Basque Country UPV/EHUSan SebastiánSpain

Personalised recommendations