Service Oriented Architecture for Interconnecting LoRa Devices with the Cloud

  • Konstantinos Tsakos
  • Euripides G. M. PetrakisEmail author
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 926)


The contribution of this work is two-fold: First, we show how Low Power Wide Area Networks (LPWANs) can be interconnected with the cloud; second, leveraging on PaaS functionality, we develop LoRaWare, a Service Oriented Architecture (SOA) and system that allows developers to enhance the capabilities of LoRa enabled applications using advanced cloud services such as, selective publication and subscription to data, IoT connectivity using MQTT protocol, persistent storage etc. We experimented with LoRa and LoRaWAN, the latest successful representative of LPWAN protocols. We applied a typical experimental setup with LoRa environmental sensors transmitting measurements over long distances to gateways. LoRa gateways receive LoRa packets from sensors in range and re-transmit them to the cloud using an IP protocol (typically UDP). In this work, we opt for MQTT, a more elaborate lightweight publish-subscribe IP protocol offering advanced security, better routing control and visibility of the communication (i.e. easier handling and control of data packets). To support connection of LoRa IoT networks with the cloud, we developed the Network Server, a cloud service that encompasses the necessary functionality for porting LoRa packets to applications (i.w. encrypts/decrypts, de-duplicates, authenticates LoRa packets and converts LoRa payloads to JSON). We developed our solution in Fiware, the cloud infrastructure of the European Union. The reason for our selection is that, currently, Fiware supports interconnection with LoRa only via the network of another provider (i.e. The Things Network). The Network Server is the only solution for connecting LoRa networks directly to Fiware. We run an exhaustive set of experiments in order to study system response time and scalability as well as, the practical range efficiency of LoRaWAN protocol.


  1. 1.
    Adelantado, F., Vilajosana, X., Tuset-Peiro, P., Martinez, B., Melia-Segui, J., Watteyne, T.: Understanding the limits of LoRaWAN. IEEE Commun. Mag. 55(9), 34–40 (2017)CrossRefGoogle Scholar
  2. 2.
    Biswas, A.R., Giaffreda, R.: IoT and cloud convergence: opportunities and challenges. In: IEEE World Forum on Internet of Things (WF-IoT), Seoul, South Korea, pp. 375–376, March 2014Google Scholar
  3. 3.
    Bor, M., Roedig, U.: LoRa transmission parameter selection. In: International Conference on Distributed Computing in Sensor Systems (DCOSS), pp. 27–34, May 2017Google Scholar
  4. 4.
    Douzis, K., Sotiriadis, S., Petrakis, E.G.M., Amza, C.: Modular and generic IoT management on the cloud. Future Gener. Comput. Syst. (FGCS) 78(1), 369–378 (2018)CrossRefGoogle Scholar
  5. 5.
    Petrakis, E.G.M., Sotiriadis, S., Soultanopoulos, T., Tsiachri-Rentaa, P., Buyya, R., Bessis, N.: Internet of things as a service (iTaaS): challenges and solutions for management of sensor data on the cloud and the fog. Internet Things 3–4(10), 156–174 (2018)CrossRefGoogle Scholar
  6. 6.
    Raza, U., Kulkarni, P., Sooriyabandara, M.: Low power wide area networks: an overview. IEEE Commun. Surv. Tutor. 19(2), 855–873 (2017)CrossRefGoogle Scholar
  7. 7.
    Schreier, S.: Modeling RESTful applications. In: ACM International Workshop on RESTful Design (WS-REST 2011), Hyderabad, India, pp. 15–21, March 2011Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  • Konstantinos Tsakos
    • 1
  • Euripides G. M. Petrakis
    • 1
    Email author
  1. 1.School of Electrical and Computer EngineeringTechnical University of Crete (TUC)ChaniaGreece

Personalised recommendations