Skip to main content

Service Oriented Architecture for Interconnecting LoRa Devices with the Cloud

  • Conference paper
  • First Online:
Advanced Information Networking and Applications (AINA 2019)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 926))

Abstract

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Institutional subscriptions

Notes

  1. 1.

    https://www.link-labs.com/blog/what-is-lorawan.

  2. 2.

    https://www.semtech.com.

  3. 3.

    https://www.thethingsnetwork.org.

  4. 4.

    https://www.loriot.io.

  5. 5.

    https://github.com/Fiware/iot.IoTagent-LoraWAN/blob/master/README.md.

  6. 6.

    https://github.com/kersing/packet_forwarder.

  7. 7.

    http://mqtt.org.

  8. 8.

    https://mosquitto.org.

  9. 9.

    https://orioncontextbroker.docs.apiary.io/#introduction/preface/status.

  10. 10.

    https://www.loraserver.io.

  11. 11.

    https://www.eclipse.org/paho/.

  12. 12.

    https://catalogue-server.fiware.org/enablers/backend-device-management-idas.

  13. 13.

    https://catalogue-server.fiware.org/enablers/publishsubscribe-context-broker-orion-context-broker.

  14. 14.

    http://fiware-iot-stack.readthedocs.io/en/latest/cep/index.html.

  15. 15.

    https://catalogue-server.fiware.org/enablers/identity-management-keyrock.

  16. 16.

    https://oauth.net/2/.

  17. 17.

    https://nodered.org.

  18. 18.

    https://www.ideetron.nl/lora/?lang=en.

  19. 19.

    https://webshop.ideetron.nl/LoRa/.

  20. 20.

    https://httpd.apache.org/docs/2.4/programs/ab.html.

References

  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)

    Article  Google Scholar 

  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 2014

    Google Scholar 

  3. Bor, M., Roedig, U.: LoRa transmission parameter selection. In: International Conference on Distributed Computing in Sensor Systems (DCOSS), pp. 27–34, May 2017

    Google Scholar 

  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)

    Article  Google Scholar 

  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)

    Article  Google Scholar 

  6. Raza, U., Kulkarni, P., Sooriyabandara, M.: Low power wide area networks: an overview. IEEE Commun. Surv. Tutor. 19(2), 855–873 (2017)

    Article  Google Scholar 

  7. Schreier, S.: Modeling RESTful applications. In: ACM International Workshop on RESTful Design (WS-REST 2011), Hyderabad, India, pp. 15–21, March 2011

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Euripides G. M. Petrakis .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Tsakos, K., Petrakis, E.G.M. (2020). Service Oriented Architecture for Interconnecting LoRa Devices with the Cloud. In: Barolli, L., Takizawa, M., Xhafa, F., Enokido, T. (eds) Advanced Information Networking and Applications. AINA 2019. Advances in Intelligent Systems and Computing, vol 926. Springer, Cham. https://doi.org/10.1007/978-3-030-15032-7_91

Download citation

Publish with us

Policies and ethics