Introduction
Technological convergence demands universities to
apply methods and technologies to transfer knowledge
using practical examples. A popular solution of a
learning platform for IoT and smart cities is the smart
campus approach. Higher Education Institutions are
effectively mini autonomous cities with their own
governance, economy and socio-cultural system (Pavez
& Agrawal, 2019). The smart campus is used to test and
demonstrate the implementation of a smart city solution in a
relatively smaller, more controlled environment to serve as a
mode of transition for a city’s journey to becoming a smart
city (Zhuhadar, Thrasher, tMarklin, &
Ordóñez, 2017), (Bruneo, y otros, 2019).
IOT solutions offer opportunities to create and
capture value for a wide range of people, places and
products, so they must have solid and agile architectures
according to the business problems that are solved and
the creation of real commercial value.
Microservices is a way of decomposing complex,
monolithic applications into tasks running as independent
processes, enabling updates and scaling of the services in
isolation, even to be written in different coding
languages (Banica, Stefan, & Hagiu, 2017). The
microservices approach is considered to help in IoT to deal
with multiple connected devices, handle demand peaks,
allow remote and automated deployment, flexibility in the
technological stack and programming languages
(Banica, Stefan, & Hagiu, 2017) (Götza, y otros, 2018);
are all considered as beneficial, especially in large
scale implementations as in smart cities and smart
campuses, where multiple solutions coexist.
In this paper we present the software architecture
based on microservices for a smart campus solution in
the form of a smart gardening system for the flowerpots
in the Faculty of Engineering and Architecture Campus
of the Universidad de San Martin de Porres.
Related Work
Multiple IoT and smart city projects has been
implemented in a smart campus environment. Studies
about smart grid and energy management (Seidita,
Chella, & Carta, 2016), (Filimonova, Barbasova, &
Shnayder, 2017) smart mobility (idell’Olio, Borda,
& Barreda, 2014), (Lim, eKim, & Maglio, 2018),
sustainability (Hashim, Haron, Mohamad, & Hassana,
2013), (Mehta, y otros, 2017), (Yasin, Rasul, &
Khan, 2017) were presented.
A four-layer model is proposed as a case to
demonstrate the viability and advantages of using a
microservice architecture in IoT. The tasks executed
by the “things” (authentication, data transmission/
reception, interaction with other devices) are handled with
the microservices in a scalable, independent and
collaborative manner (Banica, Stefan, & Hagiu, 2017).
Another microservice based framework is presented
by (Kousiouris, y otros, 2019) for integration of IoT
management, semantic and AI services for supply chain
management. The framework enabled the
integration between diverse and complex systems
using a three-layer system architecture.
In 2019 StoRM, a social, distributed and hybrid
reputation model bases on microservices for IoT is presented
(Kravari & Bassiliades, 2019). The microservice
architecture was used for the implementation of services and
device handling. Each device microservice is related to an IoT
device, where complex devices are represented with multiple
microservices.
Another study is about a Cyber-Physical microservice
and IoT-based framework for manufacturing assembly
system, where a cyber-physical microservice layer is
placed between the application layer and the IoT devices
layer. Microservice architecture provides the
framework with flexibility for the assembly workers
and assembly process in an Industry 4.0 compliant
manufacturing process (Thramboulidis,
C.Vachtsevanou, & Kontou, 2019).
Smart campus FIA USMP
Smart Campus FIA USMP is a Project implemented
in the Faculty of Engineering and Architecture campus of
“Universidad de San Martin de Porres” in Lima, Peru.
It’s a multidisciplinary collaborative project between
researchers, students and faculty members to improve
campus life by developing multiple solutions to achieve
some of the characteristics of a smart city, to carry out
studies and proof of concepts.
Cátedra Villarreal | Lima, Perú | V. 7 | N. 1 | Enero - Junio | 2019 | e-ISSN 2311-2212 61