<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Heimdall: a plataform to empower common IoT services into a smart ecosystem</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Gabriel Martins</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marcos Vinicius Monteiro Araujo</string-name>
          <email>marcos.araujog@labnet.nce.ufrj.br</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tiago C. de Franca</string-name>
          <email>tcruz.francag@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Claudio M. de Farias</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Federal Rural University of Rio de Janeiro</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Federal University of Rio de Janeiro</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>The emergence of the Internet of Things (IoT) paradigm fuel the discussion of how urban environments will bene t from applications of the IoT domain, to name a few, smart grids, smart vertical farm and healthcare applications. Domains likewise vertical smart farm are envisioned to share the same space as people and machines even if humidity and temperature conditions required to grow plants are not ideal to systems room, nor to workplaces, which make the design of these environments even more challenging. Under this point of view more complex concepts such as smart ecosystems (smart cities, smart agriculture and Industry 4.0) ourished. There is still a lack of IoT solutions to integrate services rising new and customized applications. Heimdall is a microservices platform that aim to provide comprehensive services allowing users to storage and visualize data streams gathered by IoT systems. Built to explore continuous integration tools, Heimdall is envision to run a exible and powerful infrastructure able to provide elastic resource. In other words, Heimdall is a solution to power smart ecosystems.</p>
      </abstract>
      <kwd-group>
        <kwd>smart ecosystem</kwd>
        <kwd>smart environment</kwd>
        <kwd>IoT microservices</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The Internet of Things (IoT) is related to the interconnection of sensing and
actuating devices (named smart objects) with the Internet [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Some concepts
bene t highly from the IoT perspective such as smart city in urban areas [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ],
smart farming, smart agriculture and precision agriculture in countryside [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ],
and industry 4.0 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        The Smart City concept support the ideal of a city where investments in
human/social capital, technology and infrastructure fuel sustainable development,
enhanced quality of life and culture exchange built by independent and aware
citizens [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. IoT systems for urban areas enhance the e ciency of the management
of key resources such as water and energy as well as urban mobility, accessibility
services, among others. From countryside areas, the management of farming
cycle supports proprietary systems that turn possible big stakeholders to become
part of a highly integrated food supply chain or small urban collaborative
systems of indoor urban production sites supported by a smart delivery system [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
For the industry, IoT has a key role for a new revolution which is leading us to
the industry 4.0 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Industry 4.0 concept foresee the possibility of elastic supply,
from which any product demand becomes feasible to attend. The objective is
manage real-time interactions between people, products and devices during the
production process [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. In other words, factories may accept consumer orders,
directly produces and deliver it without the aid of separate sales and circulation
channels.
      </p>
      <p>
        A common ground among these concepts is the aggregate value provided by
the collaboration of connected small world composed of smart objects working
collaboratively to enhance the quality of human lives [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. With emergence of
new and easier to use products the demand for more complex smart objects
interactions grow. Over this viewpoint, despite of the existence of a reference
architecture and solution addressing the interoperability issue, IoT interactions
a ord little dynamism when compared to social networks. The Social IoT (SIoT)
proposal is the adoption of human relationship patterns to enable smart objects
to build relationships molding smart environment into social networks [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. The
desired result is able to unfold and exploit synergies that favors the creation of
ecosystems composed of smart objects enabling them to interact dynamically in
a way that both the smart objects and its users can bene t mutually.
      </p>
      <p>Indeed, city, countryside and industry demand di erent solutions of IoT.
These solutions should work together in the interest of collaborating as part of
an ecosystems. Therefore, it will possible to reach more complex and suitable
IoT services. However, there is still a lack of scalable easy to use platform as an
environment to support the design of IoT solutions and also aim the creation of
smart objects ecosystems able to make feasible the aforementioned abstraction.</p>
      <p>This paper provides a holistic view over the enable technologies of the above
mentioned scenario and the thought behind Heimdall, a Microservices platform
envisioned to support the creation of IoT ecosystems in a scalable, reusable and
exible way. The Heimdall proposition is then a reference to platform to support
IoT ecosystems. This paper is organized as follow. Section 2 provides a overview
on enable technologies. Section 3 discuss existing cloud related products. In
Section 4 we present the thought behind Heimdall, section 5 provides future
works and a nal remarks.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Enabling Technologies</title>
      <p>Over the last decade a series of cutting edge technologies have been aggregated to
the IoT spectrum. This section present a rapid overview on enabling technologies
of the IoT paradigm. These technologies are commonly clustered into two main
groups (i) smart objects (e.g. sensors, actuators and embedded communication
hardware) and (ii) analytics solutions (on demand storage and data analytics
technologies over a cloud computing infrastructure).</p>
      <sec id="sec-2-1">
        <title>Smart Objects Solutions</title>
        <p>
          Under the things oriented point of view RFID, NFC tags, wireless sensor
networks (WSN) and mobile technologies are among the most promising
technologies to enable the data acquisition and networking layer of the IoT [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. RFID
and NFC are technology that allows the identi cation of anything that they
attached. NFC technology connects mobile devices through a wireless link that can
send small amounts of data. The applications of the NFC technologies include
their use as a secret digital token to unlock booked rooms, start a car, enable
payments, and so on [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
        </p>
        <p>WSNs are composed of large number of low cost, low power miniature devices
communicating in a wireless multihop fashion. WSNs are able to collect, process
environmental data and act based on sensed behavior. WSNs (wireless sensor
network) are usually featured as t-for-purpose network designed to attend the
requirements of previously known application. Due to its versatile feature, WSNs
are envisioned to play an essential role making critical infrastructure components
responsible to acquire and semantically improve data, as well as, it provide
interoperability with other technologies.</p>
        <p>
          Through the usage of participatory and opportunistic sensing strategies
combined with infrastructure-based transmission or opportunistic transmission
technologies, the Crowd Sensing paradigm appears as a powerful approach to
embody human participation into the IoT paradigm[
          <xref ref-type="bibr" rid="ref11">11</xref>
          ][
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Participatory
sensing presume the proactive participation of humans that consciously decide to
share its information meeting the applications requests. The opportunistic
sensing run in the background exploiting the sensor units of the mobile devices to
collect data without active involvement of users. Regarding transmission
technologies, infrastructure-based transmission the reports are sent with the aid of
an enterprise network infrastructure (3G and 4G technologies). In
Opportunistic transmission scenario data is conveyed through intermittent connections with
short-range radio communications (wi and bluetooth technologies). Therefore,
crowdsensing consists in the acquisition of information regarding human activity
from agents that are widely spread through the monitored environment. Thus
enabling access to data that is essential to the recognition of patterns in the
human use of smart environments [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Analytics Solutions</title>
        <p>
          Decision making is a process supported by a multifaceted spectrum of
technologies and processes. Thus, Society and organizations are manage by planning.
From the massive amount of unstructured and heterogeneous data collected
about people, actions, sensors and the web arises the challenge to e ciently
manage, analyze and visualize it. A consequence of this are dramatic impacts of
societal and organizational decision making. According to [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], the Cloud
Computing paradigm provides fundamental support to address the challenges with
shared computing resources including computing, storage, networking and
analytical software; the application of these resources has fostered impressive Big
        </p>
        <p>Data advancement. Over the years some approaches for a IoT Cloud based
platform were made. With focus in providing a service able to extract aggregated
value from IoT based solutions Amazon created a set of cloud based products.
Among them, AWS IoT Core is a platform that provides interfaces to aid nal
users manage its IoT devices. The main objective is to allow secure
connection of IoT devices and Cloud Computing applications. Amazon FreeRTOS is
an operating system for microcontrollers. AWS FreeRTOS aim to facilitate the
programing, deployment, connecting and management of small low-end edge
devices. AWS IoT 1-Click is a service made over lambda architecture that enable
low-end devices to perform simple tasks. Empowered with publisher-subscribe
protocols Google Cloud IoT is a set of integrated services that encompass
secure exchange and storage of IoT data into the Google Cloud environment with
the objective to use Google Big Query to perform data analytics. Dweet is an
online news and social networking service for IoT on which devices post chunks
of information in a publisher-subscribe manner. The platform provides a simple
web api that enable the user to visualize its things posted information as short
messages.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>The Heimdall Platform</title>
      <p>
        The emergence of IoT Ecosystem is envisioned to transform the environment
and the way society organizes itself [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. From the emergence of interconnected
small environment with sensor-enabled connected devices and built in learning
capabilities enables the recognition on how people interact with surrounding
environment and how everyday activities are perform are inexorable. Nevertheless,
to make feasible such scenario key challenges are yet to be overcome. One of then
concern how everyday objects became components of a more complex and more
powerful network of systems, a network of smart environment (smart objects as
part of an Ecosystem) in order to contribute to increase quality of life.
      </p>
      <p>
        Heimdall is envision as a Ecosystem that reunites favorable conditions for the
SIoT paradigm ourish. Inspired by biological systems, Figure 1 shows how abet
the development of a community made up of organisms interacting and
collaborating in a common environment. In biology, an ecosystem is a unit ooded by
di erent organisms that share the same habitat resources [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. With the
objective of making these integration feasible, Heimdall proposes that the ecosystem
environment must be a series of microservices which constitute a series of
components that promote exible and scalable cloud solutions. Such organisms interact
and collaborate with each other according to their interest to reach individual or
collective objectives. Analogously, Heimdall represent the things (the IoT smart
objects) as resources which are Heimdall organisms. The things can be a
standalone sensor, a WSN, and IoT system for a smart home and so on. To enhance
the IoT services, the interaction and collaboration have an important role,
because better results (services in IoT context) are obtained in network than by
an individual or a small group [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Then, Heimdall adopts the SIoT paradigm
as the model for interactions among smart objects, because social networks
provides dynamic, robust and exible models of interactions that can provides a
new level of network for objects. Contrary to social network that motivated web
applications (called social media) to support human interactions, in the IoT
context the objects where connected rst in the Internet, some service where made
and then the SIoT proposes is adopt humans interactions models to enhance the
interactions, collaboration and services provided by IoT.
      </p>
      <p>The Heimdall platform is the habitat that will favor the creation of these
ecosystems and bene ts that services as data collector, database, data
visualization, data fusion and others, can be provided, shared and improved progressively.
Heimdall microservices are images that can be instantiated to compose a resource
in Heimdall. Therefore, a repository service to registry and search microservice
should be available. Then, the resources can interact with any other resource
though the adoption of specialized communication microservices. As an example
of microservice bene ts, as the SIoT solutions are being made available, they
can also be improved, adapted and shared as microservices. We should point
out that this example also motivated the enhance of SIoT, since give human
interaction skill to objects are a complex task that requires hard work.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Final Considerations</title>
      <p>This paper depict some motivations and challenges related to IoT ecosystem and
how IoT services could be enhanced when they share a common environment
that provide them which interact and collaborating. A microservice platform
to support IoT ecosystem (named Heimdall) was also presented and its key
aspect was described. Heimdall is a reference microservices platform to support
IoT ecosystems in a scalable, reusable and exible way. At the same time, a
platform as Heimdall allows users focus manly on the IoT solutions on the level
of devices, since they will just need instantiate microservice Heimdall's images.
We aim contributing to fuel the development of complex Smart Concepts (smart</p>
      <p>Martins et al.
ecosystems), in turn, the unfolding the full potential of the SIoT paradigm. As
future works we intend to explore the depicted challenges.</p>
      <p>As threats to the validity of Heimdall the scarcity of SIoT concrete and good
enough solutions and the need of the creation of diverse microservice images
useful are important to highlight. As future work we hope to improve the Heimdall
repository and turns it available. To do this, we have to de ne some constraints
about basic features and interfaces for all new image before they are inserted in
the repository. Besides, nowadays the instantiation of images are made through
service that requires an expertise. So, an easy to use interface will be created to
any user to be able to instantiate microservice images.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Atzori</surname>
            , Luigi, Antonio Iera, and
            <given-names>Giacomo</given-names>
          </string-name>
          <string-name>
            <surname>Morabito</surname>
          </string-name>
          .
          <article-title>"The internet of things: A survey."</article-title>
          <source>Computer networks 54.15</source>
          (
          <year>2010</year>
          ):
          <fpage>2787</fpage>
          -
          <lpage>2805</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Gubbi</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Buyya</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marusic</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palaniswami</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2013</year>
          ).
          <article-title>Internet of Things (IoT): A vision, architectural elements, and future directions</article-title>
          .
          <source>Future generation computer systems</source>
          ,
          <volume>29</volume>
          (
          <issue>7</issue>
          ),
          <fpage>1645</fpage>
          -
          <lpage>1660</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Ahmed</surname>
          </string-name>
          ,
          <string-name>
            <surname>Ejaz</surname>
          </string-name>
          , et al.
          <article-title>"Internet-of-things-based smart environments: state of the art, taxonomy</article-title>
          , and open research challenges.
          <source>" IEEE Wireless Communications 23.5</source>
          (
          <year>2016</year>
          ):
          <fpage>10</fpage>
          -
          <lpage>16</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Zhou</surname>
            , Keliang, Taigang Liu, and
            <given-names>Lifeng</given-names>
          </string-name>
          <string-name>
            <surname>Zhou</surname>
          </string-name>
          .
          <article-title>"Industry 4.0: Towards future industrial opportunities and challenges." Fuzzy Systems and Knowledge Discovery (FSKD</article-title>
          ),
          <year>2015</year>
          12th International Conference on. IEEE,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Hashem</surname>
          </string-name>
          , Ibrahim Abaker Targio, et al.
          <article-title>"The role of big data in smart city."</article-title>
          <source>International Journal of Information Management 36.5</source>
          (
          <year>2016</year>
          ):
          <fpage>748</fpage>
          -
          <lpage>758</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Caragliu</surname>
            , Andrea,
            <given-names>Chiara</given-names>
          </string-name>
          <string-name>
            <surname>Del Bo</surname>
            , and
            <given-names>Peter</given-names>
          </string-name>
          <string-name>
            <surname>Nijkamp</surname>
          </string-name>
          .
          <article-title>"Smart cities in Europe."</article-title>
          <source>Journal of urban technology 18.2</source>
          (
          <year>2011</year>
          ):
          <fpage>65</fpage>
          -
          <lpage>82</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Mehta</surname>
            , Aditi, and
            <given-names>Sanjay</given-names>
          </string-name>
          <string-name>
            <surname>Patel</surname>
          </string-name>
          .
          <article-title>"IOT based smart agriculture research opportunities and challenges</article-title>
          .
          <source>" Int. J. Technol. Res. Eng</source>
          <volume>4</volume>
          (
          <year>2016</year>
          ):
          <fpage>541</fpage>
          -
          <lpage>543</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Atzori</surname>
            , Luigi, Antonio Iera, and
            <given-names>Giacomo</given-names>
          </string-name>
          <string-name>
            <surname>Morabito</surname>
          </string-name>
          .
          <article-title>"Social internet of things: turning smart objects into social objects to boost the IoT."</article-title>
          <source>Newsletter</source>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Iera</surname>
            , Antonio, Giacomo Morabito, and
            <given-names>Luigi</given-names>
          </string-name>
          <string-name>
            <surname>Atzori</surname>
          </string-name>
          .
          <article-title>"The social internet of things." Cloud Engineering (IC2E</article-title>
          ),
          <source>2015 IEEE International Conference on. IEEE</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Zhou</surname>
          </string-name>
          , Chuan-hong, et al.
          <source>"NFC Tag Reading and Writing Application Based on Unity3D." International Conference on Advanced Design and Manufacturing Engineering</source>
          . Vol.
          <volume>1</volume>
          .
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <surname>Bin</surname>
          </string-name>
          , et al.
          <article-title>"Mobile crowd sensing and computing: The review of an emerging human-powered sensing paradigm</article-title>
          .
          <source>" ACM Computing Surveys (CSUR) 48.1</source>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12. Zhang, Xinglin, et al.
          <article-title>"Incentives for mobile crowd sensing: A survey."</article-title>
          <source>IEEE Communications Surveys &amp; Tutorials 18.1</source>
          (
          <year>2016</year>
          ):
          <fpage>54</fpage>
          -
          <lpage>67</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <surname>Chaowei</surname>
          </string-name>
          , et al.
          <article-title>"Big Data and cloud computing: innovation opportunities and challenges."</article-title>
          <source>International Journal of Digital Earth 10.1</source>
          (
          <year>2017</year>
          ):
          <fpage>13</fpage>
          -
          <lpage>53</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Luigi</surname>
            <given-names>Atzori</given-names>
          </string-name>
          , Antonio Iera, Giacomo Morabito,
          <string-name>
            <given-names>Michele</given-names>
            <surname>Nitti</surname>
          </string-name>
          .
          <article-title>The Social Internet of Things (SIoT) - When social networks meet the Internet of Things: Concept, architecture and network characterization</article-title>
          .
          <source>Computer Networks</source>
          <volume>56</volume>
          (
          <issue>16</issue>
          ):
          <fpage>3594</fpage>
          -
          <lpage>3608</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Bouwma</surname>
          </string-name>
          ,
          <string-name>
            <surname>Irene</surname>
          </string-name>
          , et al.
          <article-title>"Adoption of the ecosystem services concept in EU policies."</article-title>
          <source>Ecosystem Services</source>
          <volume>29</volume>
          (
          <year>2018</year>
          ):
          <fpage>213</fpage>
          -
          <lpage>222</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>