An IoT Platform Based on Microservices and Serverless Paradigms for Smart Farming Purposes

Nowadays, the concept of “Everything is connected to Everything” has spread to reach increasingly diverse scenarios, due to the benefits of constantly being able to know, in real-time, the status of your factory, your city, your health or your smallholding. This wide variety of scenarios creates different challenges such as the heterogeneity of IoT devices, support for large numbers of connected devices, reliable and safe systems, energy efficiency and the possibility of using this system by third-parties in other scenarios. A transversal middleware in all IoT solutions is called an IoT platform. the IoT platform is a piece of software that works like a kind of “glue” to combine platforms and orchestrate capabilities that connect devices, users and applications/services in a “cyber-physical” world. In this way, the IoT platform can help solve the challenges listed above. This paper proposes an IoT agnostic architecture, highlighting the role of the IoT platform, within a broader ecosystem of interconnected tools, aiming at increasing scalability, stability, interoperability and reusability. For that purpose, different paradigms of computing will be used, such as microservices architecture and serverless computing. Additionally, a technological proposal of the architecture, called SEnviro Connect, is presented. This proposal is validated in the IoT scenario of smart farming, where five IoT devices (SEnviro nodes) have been deployed to improve wine production. A comprehensive performance evaluation is carried out to guarantee a scalable and stable platform.

[1]  R.G.V. Bramley,et al.  Precision Viticulture: Managing vineyard variability for improved quality outcomes , 2022, Managing Wine Quality.

[2]  Sergio Trilles,et al.  Mobile Access to Sensor Networks by Using GIS Standards and RESTful Services , 2014, IEEE Sensors Journal.

[3]  Martin Bauer,et al.  Proceedings of the Federated Conference on Computer Science and Information Systems pp. 949–955 ISBN 978-83-60810-22-4 Service Modelling for the Internet of Things , 2022 .

[4]  Sergio Trilles,et al.  A Comprehensive IoT Node Proposal Using Open Hardware. A Smart Farming Use Case to Monitor Vineyards , 2018, Electronics.

[5]  Klemen Kenda,et al.  IoT Middleware for Water Management , 2018, Proceedings.

[6]  Nuno Silva,et al.  mySense: A comprehensive data management environment to improve precision agriculture practices , 2019, Comput. Electron. Agric..

[7]  Marimuthu Palaniswami,et al.  Internet of Things (IoT): A vision, architectural elements, and future directions , 2012, Future Gener. Comput. Syst..

[8]  Ítalo S. Cunha,et al.  AoT: Authentication and Access Control for the Entire IoT Device Life-Cycle , 2016, SenSys.

[9]  Jaime Lloret,et al.  An IoT service-oriented system for agriculture monitoring , 2017, 2017 IEEE International Conference on Communications (ICC).

[10]  Alberto González-Pérez,et al.  Adapting Models to Warn Fungal Diseases in Vineyards Using In-Field Internet of Things (IoT) Nodes , 2019, Sustainability.

[11]  Nitin Naik,et al.  Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP , 2017, 2017 IEEE International Systems Engineering Symposium (ISSE).

[12]  Perry Cheng,et al.  Serverless Computing: Current Trends and Open Problems , 2017, Research Advances in Cloud Computing.

[13]  Soma Bandyopadhyay,et al.  Role Of Middleware For Internet Of Things: A Study , 2011 .

[14]  Victor Gaudioso Foundation Expression Blend 4 with Silverlight , 2009 .

[15]  Lida Xu,et al.  The internet of things: a survey , 2014, Information Systems Frontiers.

[16]  Siobhán Clarke,et al.  Middleware for Internet of Things: A Survey , 2016, IEEE Internet of Things Journal.

[17]  Sergio Trilles,et al.  Leveraging Container Technologies in a GIScience Project: A Perspective from Open Reproducible Research , 2020, ISPRS Int. J. Geo Inf..

[18]  Sam Newman,et al.  Building microservices - designing fine-grained systems, 1st Edition , 2015 .

[19]  Siobhán Clarke,et al.  Middleware for Internet of Things: A quantitative evaluation in small scale , 2017, 2017 IEEE 18th International Symposium on A World of Wireless, Mobile and Multimedia Networks (WoWMoM).

[20]  Imed Romdhani,et al.  Architecting the Internet of Things: State of the Art , 2016 .

[21]  Igor Cavrak,et al.  Architecture of an interoperable IoT platform based on microservices , 2016, 2016 39th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO).

[22]  Silvia Menato,et al.  A Microservice-based Middleware for the Digital Factory , 2017 .

[23]  Daniel Molitor,et al.  Simulating the susceptibility of clusters to grape black rot infections depending on their phenological development , 2011 .

[24]  Sahin Albayrak,et al.  CHARIOT: An IoT Middleware for the Integration of Heterogeneous Entities in a Smart Urban Factory , 2017, FedCSIS.

[25]  Ioan Ungurean,et al.  An IoT Middleware Framework for Industrial Applications , 2016 .

[26]  Swades De,et al.  Resource Allocation in Next-Generation Broadband Wireless Access Networks , 2017 .

[27]  Tetsuya Yokotani,et al.  Comparison with HTTP and MQTT on required network resources for IoT , 2016, 2016 International Conference on Control, Electronics, Renewable Energy and Communications (ICCEREC).

[28]  Sven Schade,et al.  A domain-independent methodology to analyze IoT data streams in real-time. A proof of concept implementation for anomaly detection from environmental data , 2017, Int. J. Digit. Earth.

[29]  O. Coplien,et al.  Software Patterns , 2001 .

[30]  Nathan Marz,et al.  Big Data: Principles and best practices of scalable realtime data systems , 2015 .

[31]  Soma Bandyopadhyay,et al.  A Survey of Middleware for Internet of Things , 2011, WiMo/CoNeCo.

[32]  Raúl Montoliu,et al.  Deployment of an open sensorized platform in a smart city context , 2017, Future Gener. Comput. Syst..

[33]  Symeon Papavassiliou,et al.  A Socio-physical and Mobility-Aware Coalition Formation Mechanism in Public Safety Networks , 2018 .

[34]  Widhi Yahya,et al.  Performance evaluation of IoT middleware for syntactical Interoperability , 2017, 2017 International Conference on Advanced Computer Science and Information Systems (ICACSIS).

[35]  Paolo Bellavista,et al.  A Middleware Solution for Wireless IoT Applications in Sparse Smart Cities , 2017, Sensors.

[36]  George Eleftherakis,et al.  Architecting the IoT Paradigm: A Middleware for Autonomous Distributed Sensor Networks , 2015, Int. J. Distributed Sens. Networks.

[37]  Rubby Casallas,et al.  Evaluating the monolithic and the microservice architecture pattern to deploy web applications in the cloud , 2015, 2015 10th Computing Colombian Conference (10CCC).

[38]  Bedir Tekinerdogan,et al.  Architecture framework of IoT-based food and farm systems: A multiple case study , 2019, Comput. Electron. Agric..

[39]  Schahram Dustdar,et al.  A Middleware Infrastructure for Utility-Based Provisioning of IoT Cloud Systems , 2016, 2016 IEEE/ACM Symposium on Edge Computing (SEC).

[40]  Raúl Montoliu,et al.  SEnviro: A Sensorized Platform Proposal Using Open Hardware and Open Standards , 2015, Sensors.

[41]  Aitor Almeida,et al.  A Performance Analysis of an IoT-aware Elderly Monitoring System , 2018, 2018 3rd International Conference on Smart and Sustainable Technologies (SpliTech).

[42]  Pascal Lorenz,et al.  A Proposal for Bridging the Message Queuing Telemetry Transport Protocol to HTTP on IoT Solutions , 2018, 2018 3rd International Conference on Smart and Sustainable Technologies (SpliTech).

[43]  Boris Otto,et al.  Design Principles for Industrie 4.0 Scenarios , 2016, 2016 49th Hawaii International Conference on System Sciences (HICSS).

[44]  Thomas Lagkas,et al.  Network Protocols, Schemes, and Mechanisms for Internet of Things (IoT): Features, Open Challenges, and Trends , 2018, Wirel. Commun. Mob. Comput..

[45]  Konstantinos Vandikas,et al.  Performance Evaluation of an IoT Platform , 2014, 2014 Eighth International Conference on Next Generation Mobile Apps, Services and Technologies.

[46]  Felix Wortmann,et al.  Internet of Things , 2015, Business & Information Systems Engineering.

[47]  Dmitry Namiot,et al.  On micro-services architecture , 2014 .

[48]  W. Wilcox,et al.  Effects of humidity on the development of grapevine powdery mildew. , 2003, Phytopathology.

[49]  Muneer Bani Yassein,et al.  Application layer protocols for the Internet of Things: A survey , 2016, 2016 International Conference on Engineering & MIS (ICEMIS).

[50]  J. Manyika,et al.  Disruptive technologies: Advances that will transform life, business, and the global economy , 2013 .

[51]  Sarmad Ullah Khan,et al.  Future Internet: The Internet of Things Architecture, Possible Applications and Key Challenges , 2012, 2012 10th International Conference on Frontiers of Information Technology.

[52]  J. Marois,et al.  Development of an infection model for Botrytis bunch rot of grapes based on wetness duration and temperature. , 1995 .