Skip to main content
Log in

A lightweight data interchange format for internet of things with applications in the PalCom middleware framework

  • Original Research
  • Published:
Journal of Ambient Intelligence and Humanized Computing Aims and scope Submit manuscript

Abstract

We present the PalCom Object Notation, a textual data representation format for communication between internet of things which support binary and textual data. The format does not require parsing of user data (or the “payload”) and is thus efficient to use also for large binary values such as digital images, audio and video as well as for short textual values. These can be mixed in the same messages and thus transported over the same communication link. Its structure is influenced by JSON, making it easy to translate between the two formats. We show how it fits seamlessly into the common situation with JavaScript on a client side and Java on a server side, combined by a HTTP-server. The performance evaluation shows that the size of the representation and the time needed to generate and parse it is comparable to that of JSON for small data sizes, but becomes both smaller than JSON and faster to process as data sizes grows, and can yield a tenfold performance increase for binary payloads.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  • Ansi x3.9-1996 (1966) USA Standard FORTRAN. American National Standards Institute. Informally known as FORTRAN 66

  • Ansi x3.9-1978 (1978) American National Standard– Programming Language FORTRAN. American National Standards Institute. Also known as ISO 1539-1980, informally known as FORTRAN 77

  • Alin CM (2014) Top 7 Open-source JSON-binding providers available today. In Developer 2014-04-04. http://www.developer.com/lang/jscript/top-7-open-source-json-binding-providers-available-today.html. Accessed 05 June 2015

  • Bray T (2014) (ed) The JavaScript Object Notation (JSON) Data Interchange Format, RFC 7158. doi:10.17487/RFC7158. March 2014. http://www.rfc-editor.org/info/rfc7158

  • Dreyfuss J (2015) The Ultimate JSON Library: JSON.simple vs GSON vs Jackson vs JSONP, 2015-05-24. http://blog.takipi.com/the-ultimate-json-library-json-simple-vs-gson-vs-jackson-vs-json. Accessed 05 June 2015

  • Negash B, Rahmani AM, Westerlund T, Liljeberg P, Tenhunen H (2016) LISA 2.0: lightweight internet of things service bus architecture using node centric networking. J Ambient Intell Hum Comput. doi:10.1007/s12652-016-0359-2

    Google Scholar 

  • Nordahl M, Magnusson B (2015) A lightweight data interchange format for Internet of Things in the PalCom middleware framework, The 10th International Conference on Future Networks and Communications, August, 2015 in Belfort, France

  • Sandholm T, Magnusson B, Johnsson BA (2012) The Palcom device web bridge, Technical report LU-CS-TR:2012-251, ISSN 1404-1200, Report 100, 2012

  • Svensson Fors D, Magnusson B, Gestegård Robertz S, Hedin G, Nilsson-Nyman E (2009) Ad hoc composition of pervasive services in the palcom architecture. In: Proceedings of the 2009 international conference on Pervasive services, ICPS’09, ACM, New York, pp 83–92

  • Thompson H, Lilley C (2014) “XML Media Types”, RFC 7303. doi:10.17487/RFC7303, July 2014. http://www.rfc-editor.org/info/rfc7303

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mattias Nordahl.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Nordahl, M., Magnusson, B. A lightweight data interchange format for internet of things with applications in the PalCom middleware framework. J Ambient Intell Human Comput 7, 523–532 (2016). https://doi.org/10.1007/s12652-016-0382-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12652-016-0382-3

Keywords

Navigation