<!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>A methodology for modeling Ambient Intelligence applications using i* framework</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alejandro Guzman</string-name>
          <email>guzmanagc@cenidet.edu.mx</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alicia Martinez</string-name>
          <email>amartinez@cenidet.edu.mx</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fabio Vargas Agudelo</string-name>
          <email>fvargas@tdea.edu.co</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hugo Estrada</string-name>
          <email>hugo.estrada@infotec.mx</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Joaquin Perez</string-name>
          <email>jperez@cenidet.edu.mx</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Javier Ortiz</string-name>
          <email>ortiz@cenidet.edu.mx</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Industry Documentation and Information Fund, INFOTEC</institution>
          ,
          <addr-line>Cd. De Mexico</addr-line>
          ,
          <country country="MX">Mexico</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National Centre for Research and Technology Development, CENIDET</institution>
          ,
          <addr-line>Cuernavaca, Morelos</addr-line>
          ,
          <country country="MX">Mexico</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Technological of Antioquia</institution>
          ,
          <addr-line>Medellin</addr-line>
          ,
          <country country="CO">Colombia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2016</year>
      </pub-date>
      <volume>1674</volume>
      <fpage>61</fpage>
      <lpage>66</lpage>
      <abstract>
        <p>At present time, Ambient Intelligence (AmI) is a revolutionary computing paradigm that promises to have a deep effect on the way we interact with the computers, devices, physical spaces, and other people. The development of applications for this paradigm represents a new challenge for analysts and software engineers due to the complexity to consider physical, human and system actors interacting among them to give support to existing human activities. In this context, requirements engineering plays a very relevant role in AmI applications development because it allows the analysts to contextualize the expected functionalities of the system to-be before its implementation. In this paper, a technology modeling method, based on i*, has been proposed as a tool to model the software requirements for Ambient Intelligence applications.</p>
      </abstract>
      <kwd-group>
        <kwd>Ambient Intelligence</kwd>
        <kwd>software requirements</kwd>
        <kwd>i* framework</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The vision of Ambient Intelligence (AmI) is to create a “physical world that is richly
and invisibly interwoven with sensors, actuators, displays, and computational
elements, embedded seamlessly in the everyday objects of our lives and connected
through a continuous network” [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The research works by Jaydip [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] stated that goal
of systems of this kind is “to meet the claim of “everything, always, everywhere” for
data processing and transmission through the ubiquity of ICT systems”. In this sense,
AmI systems can transform the way users interact with software and computers.
Jaydip [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] established that “as computers are integrated into everyday objects, they
will no longer be perceived as such and their usage will recede largely from our
conscious perception”. In this sense, AmI implies the development of new
technological solutions. In the AmI approach, the systems must focus not only on
computing devices, but also on objects and humans. In this sense, the devices will be
able to take decisions and also, communicate with user and another devices [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>Copyright © 2016 for this paper by its authors. Copying permitted for private and academic purposes.
However, the complexity of AmI systems, its complexity in the definition of the
requirements for new types of interaction, intelligent systems, sensitivity to context
and pervasiveness are fundamental concepts that must be captured. Therefore new
tools are needed to facilitate the definition of requirements for AmI systems. This
paper presents a methodology to face the modeling of AmI applications that considers
the basic elements of an ambient intelligence applications using as basis the i*
framework notation.</p>
      <p>The paper is structured as follows: Section 2 describes the objectives of the
research work. Section 3 presents the proposed approach for modeling software
requirements for ambient intelligence applications. Section 4 provides the conclusions
and future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Objectives of the research</title>
      <p>The main objective of this research work is to propose a software requirements
methodology for AmI applications that helps analysts to understand the role of the
key actors of a system of this kind. To do this, two main objectives were identified: i)
the development of a modeling methodology that extends i* models, and b) the
development of a case study to provide an empirical validation of the proposed
approach.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Scientific Contributions</title>
      <p>The core of our contribution is the development of a modeling methodology that
extends i* models with elements specific for AmI systems. Three steps were followed
to generate the proposed methodology: a) The analysis of existing methodologies for
requirements engineering, b) the discovery of new modeling elements and c) the
proposal of a requirements engineering methodology based on i* framework.
3.1</p>
      <sec id="sec-3-1">
        <title>Analyzing methodologies for modeling Ambient Intelligence applications</title>
        <p>
          The methodologies selected are methodologies of requirements engineering. These
are: (i) Documentation of requirements approached to users (DoRCU) [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ], which is a
methodology oriented to obtain software requirements (ii) Model requirements for
embedded systems (ABS-Besoins-Sem) [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] a methodology of requirements adapted
for building embedded systems applications. (iii) Requirements engineering for
intelligence environments (RE4IE) [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], this is a framework for software system in
intelligence environment. (iv)Approach for incorporating technology to business
models [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], this research work presents a process for integrating business processes
and technologies at the conceptual level.
        </p>
        <p>The main objective of this analysis was to identify advantages and disadvantages
of methodologies when they are used in a software requirements project of an AmI
application. We also wanted to know if these methodologies could be adapted for
representing the key elements of AmI. In this analysis, some techniques and tools of
requirements engineering like requirements classification, questionnaires, business
and technology modeling, and basic notation of i* were analyzed. As result, we
identified that they do not provide basic modeling concepts for AmI systems due to
non-graphical way to represent the requirements, gaps in the representation of
interaction forms and clarity in the specification. Therefore, the framework i* allow
us to generate modules, model graphically and incorporate technology, which is
useful for representing the elements of an ambient intelligence application. However,
i* does not modeling a natural interaction among human and technology. For this
reason we propose to extend this framework with a natural interaction, i.e. how
humans interact naturally through his senses with the environment.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Discovering new elements of modeling</title>
        <p>
          Ambient Intelligence is the vision that technology becomes invisible, embedded in
our natural environment, present whenever necessary, accessible through systems of
simple interaction, addressed to all our senses and adaptive to users and context [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
Because of this, information and content should be available to any user anywhere. In
consequence Irazabal [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], defines a set of elements such as: ubiquity, consciousness,
intelligence and natural interaction as main characteristics of ambient intelligence.
This idea is also supported by Vazquez and Lopez [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], that define the following
attributes as key characteristics in environmental intelligence systems: 1) Computing,
communication, and ubiquitous information, 2) Context sensitivity 3) Intelligence,
and; 4) Natural interaction. In [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] the objective of AmI is enriching an environment
with technology (mainly sensors and interconnected devices through a network) that
can take decisions to benefit the users of that environment based on information
gathered and historical data.
        </p>
        <p>In this research work we unify the basic elements of an ambient intelligence
application in: ubiquity, intelligence, context sensitivity and natural interaction. These
concepts are modeled with proposed methodology.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Proposed methodology</title>
        <p>The proposed methodology models basic elements of an AmI application: context,
intelligence, ubiquity and natural interaction. The AmI applications need an implicit
interaction with the users, unlike to the traditional systems that need continuous
interventions of users for indicating to the system each action to perform. Our
methodology is composed by four phases (Fig. 1): business modeling phase,
technology modeling phase, interaction modeling phase, and finally, general
modeling phase.</p>
        <p>
          Business modeling phase. In this phase, the organization has been modeled
through of an i* service model. The key idea of the service-oriented approach is to
use business services as building blocks that encapsulate internal and social
behaviors. In this model, we try to capture the context sensitivity through the business
context [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ].
        </p>
        <p>
          Technology modeling phase. This phase represents all technological components
of the software system to-be. It is compose of two models: 1) Model of technology for
development; 2) Model of Technology to operate.
a) Model of technology for development: This model shows a representation of the
technological elements required for application development. We use i* Framework
notation to represent the technological elements using Agent concept and the system
that will be generated by using Actor concept. The objective of this model is to
provide the analyst with the information about technologies involved in the
application.
b) Model of technology to operate: This model shows a representation of the
technological elements required for the operation of the application. We use a
protocol model [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] for incorporating the technology. The objective of this model is to
provide the analysts with the information about goals and functionalities of the
technological elements into software system. This model describes the following
elements of an AmI application: Intelligence defined by the main task and goals, and
context sensitivity defined by the environments.
        </p>
        <p>Interaction modeling phase. This phase shows the interactions in the software
system between users and technology. We define three types of interactions: 1)
human-technology interaction; 2) technology-technology interaction; 3)
humanhuman interaction.</p>
        <p>In this phase we propose the user-technology interaction model. This model shows
the interactions that exist in an AmI application. The model incorporates the
technological elements defined in the previous phases. The goal of this model is to
provide the analyst with the information about the types of interactions that exist
within the application. This model describes the following elements: Ubiquity, the
technological elements that allows the system runs anywhere. Natural interaction, the
specification of new ways to interact with the humans and technology.</p>
        <p>
          General modeling phase. This phase provides information about organizational
goals and the goals of the system to-be using a goal-refinement tree model. This
model allows us to elicit the business goals and to represent these in a goal structure.
To do this, we use a goal classification, which permits us to construct a
GoalRefinement Tree (GRT) using refinement and abstraction strategies [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ].
3.4
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>A case study</title>
        <p>
          The validation of our approach was carried out in a real case study. This case study
implements a software system for the detection of social isolation through AmI [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ].
In this system software, the information is obtained in an automatic way using mobile
phones and sensors (beacons)1. The goal of this case study was validate our approach
and identify the requirements of a system AmI. In the service model, which is the first
model developed in this case study, we identify the application context where the
software system will be implemented.
        </p>
        <p>The second model is the model of technology, which shows all technologic
elements involved in the software system. Third model is the technology to operate,
which capture the intelligence, and the context of each environment. Fourth model is
the model of users and technology interactions, which capture the ubiquity and the
natural interaction. Fifth model is goal refinement tree, which contains general
information about the goals and objectives of the system software-to-be.</p>
        <p>Due to space limitations, in this paper we only show the model of user and
technology interaction (see Fig. 2) because we considered that this model visualizes
more adequately the elements of an AmI system. In this model the actors are represent
as users system, technological elements and the environment. The associations among
users and technologic elements can be: tactile, gesture and voice. The associations,
named communicates, show the interactions among the technological elements. The
visibility between users and technologic elements are represented as white or black
rectangle.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions and future work</title>
      <p>In this paper, a methodology for modeling software requirements of AmI applications
is presented. This methodology consists of five models. In phase 1 we captured part
of the context sensitivity with the business modeling. In phase 2 we captured part of
the context sensitivity defining the environments in addition to capture the
intelligence with the tasks and goals. In phase 3 we capture the ubiquity defining the
technological elements of communication and also we capture the natural interaction
with the actor associations indicating the type of interaction, the phase 5 show us
overview of goals of the application. The results on the validation of our approach
with the case study showed better clarity in the specification of the interaction
between the user and the system. In addition to a concrete definition of the objectives
and goals of the analysts. Currently, we are working on refining our proposed
methodology for validating the identification of all elements of an AmI application.
For to do this, we are working in several case studies reals of AmI applications.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>J.C.</given-names>
            <surname>Diane</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Sajal</surname>
          </string-name>
          .
          <article-title>Smart Environments Technologies, protocols and applications</article-title>
          . Ed John Wiley &amp; Sons, Inc. New Jersey.
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>J.</given-names>
            <surname>Sen</surname>
          </string-name>
          . Ubiquitous Computing:
          <article-title>Potentials and Challenges</article-title>
          .
          <source>Proceedings of the International Conference on Trends &amp; Advances in Computation &amp; Engineering (TRACE)</source>
          ,
          <fpage>25</fpage>
          -
          <lpage>26</lpage>
          February
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>K.</given-names>
            <surname>Ducatel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bogdanowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Scapolo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Leijten</surname>
          </string-name>
          ,
          <string-name>
            <surname>J-C.</surname>
          </string-name>
          <article-title>Burgelman. ISTAG Scenarios for Ambient Intelligence</article-title>
          . IPTS-Seville
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. G. Báez,
          <string-name>
            <given-names>Silvia I. B.</given-names>
            <surname>Brunner</surname>
          </string-name>
          .
          <article-title>Metodología DoRCU para la Ingeniería de requerimientos</article-title>
          .
          <source>WER</source>
          (Workshop in Engineering of Requirements) p./pp.
          <fpage>210</fpage>
          -
          <lpage>222</lpage>
          .
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>L.</given-names>
            <surname>González</surname>
          </string-name>
          ,
          <string-name>
            <surname>G. Urrego.</surname>
          </string-name>
          <article-title>Modelo de requisitos para sistemas embebidos</article-title>
          .
          <source>Revista: Ingenierías</source>
          , Universidad de Medellín, Colombia.
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>C.</given-names>
            <surname>Evans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Brodie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Augusto</surname>
          </string-name>
          .
          <article-title>Requirements Engineering for Intelligent Environments</article-title>
          .
          <source>In Proceedings The 10th International Conference on Intelligent Environments (IE'14)</source>
          , pp.
          <fpage>154</fpage>
          -
          <lpage>161</lpage>
          . IEEE Press.
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>A.</given-names>
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Vazquez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Estrada</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Santillan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Zavala</surname>
          </string-name>
          .
          <article-title>Incorporating technology in service-oriented i* business models: a case study</article-title>
          . Springer-Verlag Berlin Heidelberg.
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>L.</given-names>
            <surname>Irazabal</surname>
          </string-name>
          .
          <article-title>Inteligencia ambiental ¿Una oportunidad para una mejor calidad de vida?</article-title>
          .
          <source>DYNA</source>
          ,
          <volume>79</volume>
          (
          <issue>8</issue>
          ).
          <fpage>42</fpage>
          -
          <lpage>43</lpage>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>I.</given-names>
            <surname>Vazquez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lopez</surname>
          </string-name>
          . Inteligencia Ambiental:
          <article-title>La presencia invisible</article-title>
          .
          <source>Solo programadores, ISSN 1134-4792, Nº</source>
          <volume>127</volume>
          , pags.
          <fpage>16</fpage>
          -
          <lpage>19</lpage>
          .
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>J. Augusto</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>McCullagh. Ambient</surname>
          </string-name>
          <article-title>Intelligence: Concepts and Applications</article-title>
          .
          <source>Computer Science and Information Systems</source>
          , Vol.
          <volume>4</volume>
          , No.
          <issue>1</issue>
          ,
          <fpage>1</fpage>
          -
          <lpage>28</lpage>
          .
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. H.
          <string-name>
            <surname>Estrada</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Martínez</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          <string-name>
            <surname>Pastor</surname>
          </string-name>
          .
          <article-title>Goal-based business modeling oriented towards late requirements generation</article-title>
          .
          <source>Lecture Notes in Computer Science</source>
          .
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>V.</given-names>
            <surname>Ortiz</surname>
          </string-name>
          .
          <article-title>Implementacion automatica del modelo de deteccion de aislamiento social en adultos mayores a traves de inteligencia ambiental</article-title>
          .
          <source>Master thesis</source>
          . CENIDET, Cuernavaca, Morelos, Mexico.
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>