<!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>
      <journal-title-group>
        <journal-title>International Conference on Advanced Aspects of Software Engineering
ICAASE, December</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Internet of Things Agents Diagnosis Architecture: Application to Healthcare IoT System</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sofia KOUAH</string-name>
          <email>kouahs@yahoo.fr</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ilham KITOUNI</string-name>
          <email>ilham.kitouni@univ-constantine2.dz</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>MISC Laboratory</institution>
          ,
          <addr-line>Constantine 2-Abdelhamid Mehri</addr-line>
          ,
          <institution>University-</institution>
          <country country="DZ">Algeria</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>RELA(CS)2 Laboratory, University of Larbi Ben M'Hidi</institution>
          ,
          <addr-line>Oum El Bouaghi</addr-line>
          ,
          <country country="DZ">Algeria</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <volume>0</volume>
      <fpage>1</fpage>
      <lpage>02</lpage>
      <abstract>
        <p>Internet of Things (IoT) is an advanced research area which provides deeper automation, analysis and integration of physical world into computer systems through network infrastructure. It allows interaction and cooperation between a large variety of pervasive objects over wireless and wired connections, in order to achieve specific goals. Since IoT systems present several properties such as distribution, openness, interoperability and dynamicity, their developing presents a great challenge. For that reason, a generic, multi-layer and agents based architecture for IoT systems has been proposed, called IoTAA (Internet of Things Agents Architecture). IoTAA is composed of four layers; each layer maintains and schedules special features, such as connectivity and communication between things, local coordination, global coordination, domain dependent functionalities. On the other hand, Diagnosis of the IoT systems is an important issue which aims to detect abnormalities from the system desired behavior, identify the failure causes and localize failure components. Accordingly, the paper aims to show the efficiency of IoTAA for modeling IoT diagnosis problem. The four layers are developed and furthers processing are proposed. The proposed IoTAA based diagnosis architecture is illustrated by an example of healthcare monitoring.</p>
      </abstract>
      <kwd-group>
        <kwd>- Internet of Things</kwd>
        <kwd>IoTAA</kwd>
        <kwd>Fault diagnosis</kwd>
        <kwd>Multi-agents systems</kwd>
        <kwd>Healthcare monitoring</kwd>
        <kwd>Arduino</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Nowadays, Internet of things (IoT) is becoming a
promising technology which can modernize and
simplify our daily life style. Moreover, it provides a
Copyright c by the paper's authors. Copying permitted for
private and academic purposes.
concise integration of the physical world into
computer systems through network infrastructure. It
sees a huge number of internet enabled devices that
can network and communicate with each other and
with other web-enabled gadgets. IoT refers to a state
where Things (e.g. objects, environments, vehicles
and clothing) will have more and more information
associated with them and may have the ability to
sense, communicate, network and produce new
information” [Gil16].</p>
      <p>IoT systems are widely open, dynamic and need large
amount of communications, interactions and data
exchanges that should be achieved in a coherent
manner. An IoT system is consisting of heterogeneous
physical and virtual connected components, using
different languages, platforms and intelligent policies
[Int15]. In fact, interaction allows limitless
possibilities for objects to control and access their
environment and compensates for a lack of
selfsufficiency. Connected to the internet, things acquire
intelligence since they tap into an exceedingly rich
environment [Weg97]. According to these properties,
the design domain of IoT systems is becoming
increasingly attractive; as several IoT functionalities
have to be modeled. While, developing IoT system is
an innovative field for the imminent future of
computing and communication, the development of
efficient IoT systems still facing many challenging
issues. Several approaches have been proposed in the
literature, among others [Kat08] [Kaz09] [Che10]
[For12] [Aya12] [Cha18]. These approaches are
application domain dependent and do not take into
account almost IoT systems functionalities and
properties. In particular, they do not support the
intelligent feature which is important to manage and
control properly the objects’ traffic flow and improve
decision making. Recently, an alternative approach
has been proposed, called IoTAA for Internet of
Things Agent Architecture [Kou18]. It focuses on the
Multi-Agents System (MAS) paradigm and on the
principle of separating responsibilities. MAS is an
efficient paradigm which considers IoT systems
characteristics (i.e. distribution, heterogeneity,
intelligence …etc.) and models its behaviors in
wellstructured manner with respect to its functional
Page 62
requirements and global coherency [Kou18]. IoTAA
architecture is structured in four layers: three
horizontal layers and a transversal layer. The first one
is a smart layer that ensures connection and
communication between things and the system. The
second one constitutes the intelligent core of the
system which ensures local coordination and provides
internal functioning. The third layer ensures
coordination between the local system and the
externals ones. The transversal layer provides domain
dependent behavior and users interface. The
intelligent aspect is ensured by means of MAS
intelligence feature. Each layer is scheduled and
maintained by a set of particular agents which interact
together to achieve their goals.</p>
      <p>On the other hand, fault diagnosis is an important
issue for developing IoT systems especially that are
made up of heterogonous and distributed physical and
virtual components.</p>
      <p>Since these components are strongly coupled, a failure
that occurs in a given component can propagate to
others with respect to the existing relationships. This
can have disastrous consequences on the IoT system
functioning. Accordingly, developing fault diagnosis
is an important issue for improving system
maintenance activities [Kos03]. In other words, their
reliable execution is an important design concern.
Our paper focuses on the development of diagnosis
IoT systems, where we intend to provide a generic and
efficient solution.</p>
      <p>Fault diagnosis research area has received wide
attention over the last decades [Kos03] [Muc05]. A
variety of fault diagnosis approaches have been
developed including: model based approaches,
knowledge based approaches, qualitative simulation
based approaches, neural-network based approaches
and classical multi-variate statistical approaches
[Muc05].</p>
      <p>Considering the distributed aspect of the IoT system
and the nature of handled information related to the
usual observations and the expected system
descriptions, the proposed methods [Kat05] suffer of
an overall view state of the system which influences
greatly diagnosis quality. From diagnosis view point,
it is quite difficult to obtain concise and correct results
from a centralized diagnosis process. On the other
hand, a completely distributed diagnosis solution
converges generally to incoherent and imprecise
results. Thus, combining both alternatives gives rise to
an appropriate and efficient answer, that is, diagnosis
process should be semi centralized.</p>
      <p>Our contributions twofold:
 First, the IoTAA- based diagnosis approach is
proposed. The choice of this IoTAA fits IoT
diagnosis problem requirements. The four layers
are refined and fault diagnosis is introduced.
 Then, implementation issues are illustrated through
an example (healthcare monitoring system).</p>
      <p>This paper is structured as follows: Firstly, section 2
provides the necessary background allied to our
subject, mainly the IoT system, diagnosis and IoTAA
Architecture. Next, section 3 introduces the proposed
approach. Section 4 discusses some implementation
issues and provides a case study dealing with
diagnosis of a IoT based healthcare monitoring
system. Finally, Section 5 concludes the paper and
gives prospects to be continued in the future.
2.</p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <sec id="sec-2-1">
        <title>2.1. Internet of Things</title>
        <p>This section reviews some IoT properties, applications
and challenges. IoT system is “a system of
interrelated computing devices, mechanical and digital
machines, objects, animals or people that are provided
with unique identifiers and the ability to transfer data
over a network without requiring human-to-human or
human-to-computer interaction” [Mar14]. The main
feature of IoT systems is the pervasive presence of a
variety of connected things or objects, such as:
sensors, actuators and Radio-Frequency IDentification
(RFID) tags, etc. These objects are able to interact
with each other and cooperate with their neighbors to
reach common goals. IoT systems present numerous
properties and functionalities, such as:
 openness, distribution, dynamicity and
interoperability;
 possibility to interconnect small devices and
computers to the Internet in cheaply and easily
manners by means of uniquely identifiable IP
(Internet Protocol);
 capabilities of sensing and actuations, embedded
intelligence and communication;
 self-configurability and ubiquity.</p>
        <p>Examples of IoT systems can cover practically
numerous real world applications, they goes beyond
the following field: Smart home, wearables objects,
connected cars, Smart cities, Smart retail, Smart
farming, etc.</p>
        <p>Although IoT is promising research area, it is lacking
of experimentation for modeling and carrying out IoT
systems. Hence, some challenging issues should be
pinpointed such as: privacy and security, power
consumption, analyzing and managing real-time data,
resource constraints and QoS supports, Data storage
(Big Data issues), standards and connectivity
(Protocols, Norms, and Platforms).</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Diagnosis</title>
        <p>Fault diagnosis is usually integrated into the largest
framework of monitoring, supervision and
maintenance. Generally, fault diagnosis can be defined</p>
        <p>dSeCIOInnevontntinectrsotaerorll-aoroL,ylageAyyrceSstrhuacaanortdmeorem,xTtueanrginc,aaslmtiCoaonrmt, metucn.ication GAILGACCoCAAT
Figure 1: Internet of Things Architecture [Kou18].</p>
      </sec>
      <sec id="sec-2-3">
        <title>Local Management and Coordination</title>
        <p>Diagnosis Layer (LMC-D): it represents the
middle layer. LMC-D ensures management of
collective intelligent behavior that requires a
particular decision making and enables
coordination between the local agents in order to
achieve a global fault diagnosis of the local
system. Such responsibility can be achieved by
using sophisticated protocols and exploiting
information delivered from the PCM-D layer.
Agents of this layer are named Local</p>
      </sec>
      <sec id="sec-2-4">
        <title>Coordination Agent (LCA). LMC-D layer</title>
        <p>interacts directly with both PCM-D and GMC-D
layers. PCM-D and LMC-D layers constitute
achieve the further suitable functioning for horizontal
layers with respect to the application domain, system
requirements (i.e. desired behavior) and layer nature.
Furthermore, this layer interfaces the application with
the potential users and participants. For more details,
reader can refer to [Kou18].</p>
        <p>3.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Proposed Approach</title>
      <sec id="sec-3-1">
        <title>3.1. IoTAA Diagnosis Architecture</title>
        <p>Our IoTAA based diagnosis architecture is structured
as follows:
 Physical Component Management Diagnosis
Layer (PCM-D): is the lower horizontal layer. It
monitors, manages and controls the IoT
infrastructure. It is directly related to the IoT
systems sensors, actuators, tags, smart devices
and other terminals. PCM-D ensures the
following functionalities: perception,
communication and connection between things,
devices and agents. Also it enables achieving
management and control of IoT resources by
providing local fault diagnosis, taking the
adequate decision and acting accordingly in
realtime. Agents of this layer are named Agents of
Things (AoT). PCM-D layer interacts directly
with LMC-D layer.</p>
        <p>Global Management and Coordination Layer S</p>
        <p>O</p>
        <p>M
Local Management and Coordination Layer AL</p>
        <p>Y
E</p>
        <p>R
Physical Component Management Layer
as a process of three complementary tasks: fault
detection, fault isolation and fault identification
[Muc05]. These tasks are defined hereafter.
 Fault detection: it consists in deciding whether the
system works in normal conditions or whether a
fault has occurred. It is a logical operation whose
answer must be true or false.
 Fault isolation: it is triggered whenever fault has
occurred. It aims at localizing the potential
components causing the fault.
 Fault identification: it intends to identify the nature
of the fault. In other words, it analyses specific
faults parameters among others its size, criticality
and significance.</p>
        <p>The fault detection operates on desired behavior
model whereas both fault isolation and identification
involve a faulty system behavior model under the
considered faults.</p>
        <p>Topics concerning fault diagnosis field point toward
several aspects and issues, among others:
 The representation model of the behavior and
diagnosis process.
 The reasoning model (i.e. algorithm) and the
associated decision making process which should
comply with the representation model.
 The global diagnosis strategy and the
corresponding system architecture.
 The consideration of some particular aspects and
characteristics of the system being to be
diagnosed.
 The ontological structure which describes the
different faults concepts and their relationship.
 System diagnosability.</p>
        <p>An important remark should be highlighted, which
concerns fault diagnosis: in this paper, we are
concerned by the third point (i.e. global diagnosis
strategy). We assume that the system is diagnosable.
An ongoing paper addresses the representation model
and its allied reasoning algorithm that are Fuzzy Logic
based.</p>
      </sec>
      <sec id="sec-3-2">
        <title>2.3. Internet of Things Agent Architecture</title>
        <p>
          IoTAA [
          <xref ref-type="bibr" rid="ref19">10</xref>
          ] is multi-layer architecture (See Figure 1);
it aims to provide a general framework for developing
IoT systems. It is made up of four layers, structured
into three horizontal layers; named respectively:
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>Physical Component Management Layer, Local</title>
      </sec>
      <sec id="sec-3-4">
        <title>Management and Coordination Layer and Global</title>
      </sec>
      <sec id="sec-3-5">
        <title>Management and Coordination Layer; alongside a</title>
        <p>transversal layer, called Specialized Operative</p>
      </sec>
      <sec id="sec-3-6">
        <title>Management Layer.</title>
        <p>The horizontal layers ensure management of physical
components and the coordination between the
different parts of the system. However, the transversal
one takes in charge the responsibility to assign and
Page 64
jointly the local system that needs to interact and
coordinate with other systems, or acquires needed
services from application servers (e.g. Cloud
servers). It can also need to be coordinated by a
remote part.</p>
      </sec>
      <sec id="sec-3-7">
        <title>Global Management and Coordination</title>
        <p>Diagnosis Layer (GMC-D): It is the higher
horizontal layer which can be seen as a social one
due to its relationship with other systems. It
ensures interaction and communication between
agents of the current IoT MAS and remote agents
or external parts in order to provide a common
global fault diagnosis for several IoT systems. In
other words, it empowers the openness property
which is quite fundamental for both IoT systems
and MASs, thus, possible exogenous reasons
could be found. Agents of this layer are similar to
LCA-D, named Global Coordination Agents
(GCA). They interface the current system with
other MASs or related popular platforms (i.e.
social network, Cloud …etc.) in order to
exchange relevant data and services, achieve a
complex task or resolve possible conflicts. Agents
of this layer, which are generally remote, are also
liable for coordinating several local systems (i.e.
systems of systems) and can be located in the
Cloud whenever the privacy property can be
preserved or is trivial.
process involved at different layers. Along this
layer, Interface Agents (IA), are set in and
interact with users.</p>
        <p>Relationships between these kinds of agent together
and the connected components are depicted by Figure
2.</p>
      </sec>
      <sec id="sec-3-8">
        <title>3.2. Agent description and Interaction</title>
        <p>IoTAA Diagnosis agents are described as follows:</p>
      </sec>
      <sec id="sec-3-9">
        <title>3.2.1. Agent of Things (AoT)</title>
        <p>AoT is a hybrid agent which intends to monitor and
diagnoses locally a set of components (i.e. sensors,
things, RFID). AoT internal architecture is depicted
by Figure 3. It is structured into five components:
Perception and Monitoring; Local Diagnosis; Decision
Making and Data Storage; Internal Interaction
Management and Action.
 Perception and Monitoring: detects
environment changes and gathers relevant
realtime data issued from different connected
terminals, such as sensors measurements, new
device identification. AoT communicates
periodically the sequence of percepts to Decision
Making and Data Storage component.
 Local Diagnosis: it consists of diagnosing faults
locally (i.e. connected things).
 Decision Making and Data Storage: based on
the sequence of perceived Data and diagnosis
results, Decision-Making is a simple mapping
from situations to actions (i.e. stimulus /
responses). Each AoT has its own library which
assists and resumes its behavior. Such decision
doesn’t require any reasoning capability. It
consists of determining the suitable course of
actions and the required interaction to perform the
desired behavior. This sub module decides the
relevant data to be stored (i.e. locally or on the
cloud).
 Internal Interaction Management: ensures
internal interaction management between the AoT
agents together and with LCA agents.
 Action: After deciding about the adequate actions
to be carried out, AoT acts upon its environment
through its actuators.</p>
        <p>AoT’s Knowledge Base includes behaviors for
analyzing, controlling and storing IoT data. It is also
enhanced by further knowledge which is related to the
fault diagnosis (i.e. KBsop).</p>
        <p>Things, sensors and actuators should be assigned to
the different AoTs. Device assignment could be done
with respect to particular parameters related to them,
such as their nature, geographic location and
functioning capabilities. For instances, things of the
same kind could be controlled by the same AoT. Also,
things, actuators and sensors located in the same
region could also be managed by the same AoT.
Page 65</p>
      </sec>
      <sec id="sec-3-10">
        <title>3.2.2. Local Coordination Agent (LCA)</title>
        <p>LCA is a deliberative agent which intends to manage
and control internal behaviors of the system. LCA
internal architecture is depicted by Figure 4. It is
structured into five components: Perception,
Reasoning and Decision Making, Interlayer
Interaction Management, Partial Global Diagnosis and
Action.
 Perception: consists of gathering and extracting
relevant data from the basic layer (i.e. PCM-D
layer) and its own sensors. Recall that terminals
concerned by IoT system are directly connected
to AoTs.
 Reasoning and Decision Making: it is the core
intelligent component of LCA. The designer
should specify and model an adequate reasoning
mode such as logic based reasoning, cases based
reasoning, theorem prover, fuzzy reasoning, etc.
Such choice depends on designer viewpoint and
its adequacy with the application nature. The
reasoning process is followed up by a
decisionmaking process which is based on the reasoning
process results.
 Global Diagnosis: it represents the internal
intelligent desired behavior that should be
specified by designer as stated above. The
specialized operative internal function should
implement a reliable diagnosis mechanism which
is based on the local diagnosis results of the
involved IoT agents.
 Interlayer Interaction Management: Particular
protocols should be specified in this component
which concern interaction between AoTs, LCAs
and GCAs involved in the same IoT MAS.
Standard protocols such as contract Net [Smi80],
Message Queue Telemetry Transport (MQTT)
[Tra09] can be reused or new ones could be
proposed.
 Action: After deciding about the adequate actions
to be carried out, LCA acts upon its environment
through its own actuators.
 KBint is the internal knowledge base that includes
local knowledge manipulated over LMC-D layer.</p>
      </sec>
      <sec id="sec-3-11">
        <title>3.2.3. Global Coordination Agent (GCA)</title>
        <p>GCA is a deliberative agent which aims to manage
and control social behaviors of the system. GCA
internal architecture is depicted by Figure 5. It is
structured into five components: Perception,
Reasoning and Decision Making, Social Interaction
Management, Meta Diagnosis and Action.
 Perception: it aims at collecting relevant
realtime data and detecting environment changes
issued from its own sensors. The particularity of
such data is that it concerns both local data and
social relationship with external parts. Perception
component communicates periodically the
sequence of perceived Data to Decision Making
component.
 Reasoning and Decision Making: it intends to
deliberate the appropriate course of actions that
can achieve agent’s goal. The designer should
implement an adequate reasoning mode by taking
into account system’s external interactions. In the
same way as LCA, the reasoning process of GCA
is followed up by a decision making process. The
knowledge base KBs is made up of social
knowledge that can be distinguished into two
categories: knowledge related to fault diagnosis
and those associated to the norm, regulation and
governance conformity [Lez17].
 Meta Diagnosis: it represents the social
intelligent desired behavior that should be
specified by designer to achieve an overall
diagnosis of several systems.
 Social Interaction Management: it aims to
ensure interactions with both GCA and LCA
agents, as well, with external systems or
platforms. Thus, designer should specify a
welldefined interaction protocols by reusing existing
standards or proposing new ones.
 Action: GCA acts upon its environment through
its own actuators by executing selected sequence
of actions which impact among other the LCA
behavior.</p>
      </sec>
      <sec id="sec-3-12">
        <title>3.2.4. Interface Agent (IA)</title>
        <p>IA ensures system initialization, environment
discovering, device configuration and all interactions
Page 66
between IoT MAS and the potential users; For
instance responding to user request, showing the
result, making suggestions and giving advices. It
supports and provides an active assistance to users. In
other words, it does not represent a simple interface
between the application and users, but it contributes
with them to a collaborative process for performing
desired behavior.</p>
        <p>Concerning Interface Agent structure, we admit
that it could be implemented differently with respect
to users’ preferences and designer’s requirements.
Thus, we make a full abstraction about its internal
architecture. This agent interacts with other agents in
order to transmit requests to the concerned part in the
system or to acquire the needed information that assist
users.
Remark: All diagnosis modules are structured into
three complementary modules, which represent faults
detection, faults isolation and fault identification. In
addition, the proposed architecture is generic in the
sense that these modules could be implemented in
different manners with respect to application domain
and designer’s choice. The same statement concerns
the interactions exchanged between agents and the
corresponding protocols.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Case Study: Diagnosis of a IoT Based</title>
    </sec>
    <sec id="sec-5">
      <title>Healthcare Monitoring Sensors For</title>
    </sec>
    <sec id="sec-6">
      <title>Diabetic Patients</title>
      <p>IoTAA-D can be implemented in several manners
with respect to: application domain, diagnosis
algorithms and models, MAS platforms and tools, IoT
platforms, protocols and technologies [Kou18]. As an
example of IoTAA-D application, let us consider an
IoTAA-D diagnosis based application which
diagnoses IoT system sensors of a Health Care
Monitoring for Diabetic Patients. In this section, we
outline the main design stepwise. The main goal of
this application is to achieve an easy handheld
healthcare on monitoring diabetic via breath.</p>
      <sec id="sec-6-1">
        <title>a) Description of medic standing and the underlying scientific phenomenon</title>
        <p>It’s well known that when the body has too little
insulin, it means that the cells of the body cannot take
enough sugar (glucose) from the blood. So, ketones
which are chemicals appear in the body when the
body fat is used for energy instead of glucose.
Acetone which is part of ketone bodies; is an acidic
substance, naturally occurring in very small amounts
in blood and urine. These substances are normally
made by the body from fat and eliminated in the urine.
However, they sometimes accumulate in the body,
which can no longer eliminate them completely.
Acidification of the blood occurs and is referred to as
ketoacidosis. This acidification is toxic and can lead to
disorders that can go as far as coma [Vee04]. It’s also
a serious complication of type 1 diabetic mellitus
called a diabetic ketoacidosis (DKA). Acetone is
known as a biomarker of diabetes [Wan10], and
breath acetone concentration is reported to be elevated
in type 1 diabetes mellitus, and it can be used to
diagnose the onset of diabetes [Den04]. Therefore,
measuring of Acetone level can help controlling and
monitoring the diabetic patients’ condition as the large
number of ketones means diabetes is out of control.</p>
      </sec>
      <sec id="sec-6-2">
        <title>b) Description of the developed prototype device “Diab-check”</title>
        <p>The prototype device called “Diab-check” consists of
a hardware and software as an Internet of Things (IoT)
system for breath test to monitor the condition of
diabetic patients. The monitoring device for ketone
level by using breath measurement (See Figure 6) is
constructed and the required software is developed by
the team in computer science laboratories and medical
research laboratory LR2M, university of Constantine,
Algeria. It is presented by the logo “ ". The patient
breath into the prototype, thus the level of the acetone
is measured, the value is adjusted by using ambient
humidity and temperature degrees, the result are
displayed in an LCD, sent to a mobile application and
stored in the control system data base. Thus, the whole
system controls the Acetone level in the breath. Such
system can be helpful for different users such as
Diabetic patients, patient assistant and health
practitioners for patients monitoring. Accordingly, it
can be used or enriched by additional features for
health automation (Smart healthcare).</p>
        <p>LCD
Effectively for detecting breath acetone we use</p>
      </sec>
      <sec id="sec-6-3">
        <title>FIGARO TGS822 gas sensor. The acetone level is in</title>
        <p>unit of mmol/l, so the value of the sensor which reads
in the unit of PPM must be converted to mmol/l by
taking the molar weight of acetone which is 58.08.
The stability of the gas sensor is depending on the
value of ambient humidity and temperature. Based
on the data sheet, gas sensor is stable at around 60%
humidity and 28-29ºC. Thus, the two parameters
should be included, therefore we use DHT11 sensor,
so that the concentration of the acetone gas can be
determined. Concerning microcontroller and
communication technology hardware, we have used,
respectively, Arduino Uno and GSM module. In
addition, other materials are used such as: USB cables,
LEDs, Breadboard, Connection wires, Resistances,
etc...These materials are depicted by Figure 7.</p>
      </sec>
      <sec id="sec-6-4">
        <title>Global Coordination Agent: only one global</title>
        <p>coordination agent has to be used to ensure local
systems coherency and potential interactions.
Similarly to local coordination agent, this agent
has a diagnosis module which exploits the global
diagnosis results of R1 and R2, to make the Meta
diagnosis decision.</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>5. Conclusion</title>
      <p>IoT is a promising research area. In this paper we have
proposed an agent based architecture for the diagnosis
of IoT systems. The proposed architecture takes into
accounts the diagnosis IoT systems requirements. The
motivation behind modeling such systems by means
of MAS paradigm consists mainly of intelligence,
distribution and interactions features. The architecture
controls the connected devices and materials, provides
local diagnosis, global diagnosis and Meta diagnosis.
Also, it ensures communication and interactions
between different things, agents and external systems.
Likewise, it models further functionalities which are
application domain dependent. The feasibility of
IoTAA-D implementation is exemplified via a
healthcare case study.</p>
      <p>This work may be continued in several ways: Firstly,
we intend to use IoTAA-D architecture to propose a
concise design methodology that enable and assist
Diagnosis IoT systems development. On the other
hand, we expect to investigate the diagnosis models
and its allied reasoning algorithm in order to more
tolerate the system. Moreover, the architecture can
make subject of many case study implementations
related to various application domains, for instance
smart street lighting and smart planning.</p>
      <sec id="sec-7-1">
        <title>6. REFERENCES</title>
        <p>[Ard18] Arduino : https://www.arduino.cc/.
[Aya12] Ayala, I., Amor, M., and Fuentes, L. An agent
platform for self-configuring agents in the internet
of things. In Third International Workshop on
Infrastructures and Tools for Multiagent Systems,
ITMAS (pp. 65-78), June 2012.
[Cha18] Chatterjee S. Byun J. Dutta, Pedersen R. U.</p>
        <p>Pottathil A. and Xie H. Designing an
Internet-ofThings (IoT) and sensor-based in-home
monitoring system for assisting diabetes patients:
iterative learning from two case studies.</p>
        <p>European Journal of Information Systems, 2018.
[Che10] Chen, L., Tseng, M., and Lian, X. Development</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <article-title>of foundation models for Internet of Things</article-title>
          . Frontiers of Computer Science in China,
          <volume>4</volume>
          (
          <issue>3</issue>
          ),
          <fpage>376</fpage>
          -
          <lpage>385</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>[Den04] Deng</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yu</surname>
            <given-names>X.</given-names>
          </string-name>
          , Zhang W., and
          <string-name>
            <surname>Zhang</surname>
            <given-names>X.</given-names>
          </string-name>
          ,
          <article-title>Determination of acetone in human breath by gas chromatography-mass spectrometry and solidphase microextraction with on-fiber derivatization</article-title>
          .
          <source>J.Chromatogr. B Anal. Technol. Biomed. Life Sci.</source>
          , vol.
          <volume>810</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>269</fpage>
          -
          <lpage>275</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [For12]
          <string-name>
            <surname>Fortino</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guerrieri</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Russo</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          <article-title>Agentoriented smart objects development</article-title>
          .
          <source>In Computer Supported Cooperative Work in Design (CSCWD)</source>
          , IEEE 16th International Conference on (pp.
          <fpage>907</fpage>
          -
          <lpage>912</lpage>
          ), May
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [Gil16]
          <string-name>
            <surname>Gilchrist</surname>
            ,
            <given-names>A</given-names>
          </string-name>
          , Industry
          <volume>4</volume>
          .
          <article-title>0: the industrial internet of things</article-title>
          .
          <source>Apress2016.</source>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [Int15]
          <article-title>Internet of Things (IoT) Ecosystem Study</article-title>
          .
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>[Kat05] Katipamula, Srinivas et Brambley, Michael R.</mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Hvac</surname>
          </string-name>
          &amp;R Research,
          <year>2005</year>
          , vol.
          <volume>11</volume>
          , no 2, p.
          <fpage>169</fpage>
          -
          <lpage>187</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [Kat08]
          <string-name>
            <surname>Katasonov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaykova</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khriyenko</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nikitin</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , adn
          <string-name>
            <surname>Terziyan</surname>
          </string-name>
          , V. Y.
          <article-title>Smart Semantic Middleware for the Internet of Things</article-title>
          . ICINCOICSO,
          <volume>8</volume>
          ,
          <fpage>169</fpage>
          -
          <lpage>178</lpage>
          ,
          <year>2008</year>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [Kaz09]
          <string-name>
            <surname>Kazanavicius</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kazanavicius</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Ostaseviciute</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <article-title>Agent-based framework for embedded systems development in smart environments</article-title>
          .
          <source>In Proceedings of International Conference on Information Technologies (IT</source>
          <year>2009</year>
          ), Las Vegas,
          <string-name>
            <surname>NV</surname>
          </string-name>
          , USA (Vol.
          <volume>2729</volume>
          ),
          <year>April 2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [Kos03]
          <string-name>
            <surname>Kościelny</surname>
            ,
            <given-names>J. M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Syfert</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>Fuzzy logic application to diagnostics of industrial processes</article-title>
          .
          <source>IFAC Proceedings Volumes</source>
          , vol.
          <volume>36</volume>
          , no 5, p.
          <fpage>711</fpage>
          -
          <lpage>716</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <article-title>[Kou18] Kouah S. and Kitouni I. Multi-Layer Agent Based Architecture for Internet of Things Systems</article-title>
          .
          <source>Journal of Information Technology Research (JITR)</source>
          ,
          <volume>11</volume>
          (
          <issue>4</issue>
          ),
          <fpage>32</fpage>
          -
          <lpage>52</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [Lez17]
          <string-name>
            <surname>Lezzar</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benmerzoug</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kitouni</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          &amp;
          <string-name>
            <surname>Osmani</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <article-title>A GRC-Centric Approach for Enhancing Management Process of IoT-Based Health Institution</article-title>
          . In International Conference on Mobile, Secure, and Programmable Networking(pp.
          <fpage>207</fpage>
          -
          <lpage>221</lpage>
          ). Springer, Cham.
          <source>June</source>
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [Mar14]
          <string-name>
            <surname>Market</surname>
            ,
            <given-names>S. P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Self-Powered</surname>
            ,
            <given-names>E. P.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Module</surname>
            ,
            <given-names>P. B. T.</given-names>
          </string-name>
          (
          <year>2014</year>
          ). Internet of Things.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <surname>[Muc05] Mucino</surname>
            <given-names>M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Li</surname>
            <given-names>Y. G.</given-names>
          </string-name>
          ,
          <article-title>A diagnostic system for</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <article-title>gas turbines using GPA-Index</article-title>
          ,
          <fpage>Comademc007</fpage>
          -
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [Smi80]
          <string-name>
            <surname>Smith</surname>
            ,
            <given-names>R. G.</given-names>
          </string-name>
          <article-title>The contract net protocol: High-level communication and control in a distributed problem solver</article-title>
          .
          <source>IEEE Transactions on computers, (12)</source>
          ,
          <fpage>1104</fpage>
          -
          <lpage>1113</lpage>
          .
          <year>1980</year>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [Tra09]
          <string-name>
            <surname>Transport</surname>
            ,
            <given-names>M. T.</given-names>
          </string-name>
          (
          <year>2009</year>
          ). MQTT. org.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <surname>[Vee04] Veech</surname>
            <given-names>R. L.</given-names>
          </string-name>
          ,
          <article-title>The therapeutic implications of ketone bodies: The effects of ketone bodies in pathological conditions: Ketosis, ketogenic diet, redox states, insulin resistance, and mitochondrial metabolism</article-title>
          .
          <source>Prostaglandins Leukot. Essent. Fat. Acids</source>
          , vol.
          <volume>70</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>309</fpage>
          -
          <lpage>319</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [Wan10]
          <string-name>
            <surname>Wang</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <article-title>Mbi a</article-title>
          . and
          <string-name>
            <surname>Shepherd</surname>
            <given-names>M.,</given-names>
          </string-name>
          <article-title>A study on breath acetone in diabetic patients using a cavity ringdown breath analyzer: Exploring correlations of breath acetone with blood glucose and glycohemoglobin A1C</article-title>
          . IEEE Sens. J., vol.
          <volume>10</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>54</fpage>
          -
          <lpage>63</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [Weg97]
          <string-name>
            <surname>Wegner</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <article-title>Why interaction is more powerful than algorithms</article-title>
          .
          <source>Communications of the ACM</source>
          ,
          <volume>40</volume>
          (
          <issue>5</issue>
          ),
          <fpage>80</fpage>
          -
          <lpage>91</lpage>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>