$POUFYU
.PEFM
7BSJBCJMJUZ
.PEFM
"EBQUBUJPO
1PMJDJFT
$PNQTJUJPO
.PEFM
8FBWJOH
.PEFM
(BUIFS$POUFYU
*OGPSNBUJPO
"OBMZ[F$POUFYU
*OGPSNBUJPO
&YFDVUF
"EBQUBUJPO1PMJDZ
(FOFSBUFB
3FDPOGJHVSBUJPO
1MBO
(FOFSBUF84#1&-
$PEF
)PU%FWFMPQNFOU
$POUFYU
.POJUPS
&YFDVUJPO
&OHJOF
8BTBOZ4-"
WJPMBUFE
"EBQUFE
7BSJBCJMJUZ
.PEFM
"EBQUFE
$PNQPTJUJPO
.PEFM
%FTJHO5JNF
3VOUJNF
$POGJHVSBUJPO
(FOFSBUPS
.PEFM#BTFE3FDPOGJHVSBUPS
6TFT
6TFT
-JOLT
-JOLT
6QEBUFT
"OBMZ[FT
2VFSJFT
:FT
"EBQUT
"EBQUT
&YFDVUFT
Figure 1: Overview of MoRE-WS (Alfred et al., 2014).
2 RELATED WORKS
In this section, we describe research on self-adaptive
research using models and research on power-aware
modeling.
In (Alfred et al., 2014), MoRE-WS, which is a
framework for dynamic adaptation of web services,
was proposed. This framework adapts web services
by combining multiple models including a variable
model. The framework supports the modeling of
adaptive models at design time and performs adaptive
execution at runtime. Figure 1 shows an overview of
the MoRE-WS framework. The upper part of Figure 1
shows the support provided by the framework dur-
ing the design phase. MoRE-WS supports the mod-
eling of feature models and web-service configura-
tion models, including those with variability, at de-
sign time and the generation of adaptation rules. The
variable feature model is mapped to the web-service
configuration model, and the service configuration is
changed according to the configuration of the feature
model. At runtime, the framework adapts the models
modeled during design time, according to the adapta-
tion rules and context changes detected by the context
monitor. Properties of the web-service operation are
handled in the context. Figure 1 shows the adapta-
tion flow. The adaptation is realized by generating a
reconfigured plan of the variable feature model, ac-
cording to the changes in the context, and reflecting it
on the code of WS-BPEL.
In (Abdallah et al., 2017), a model-driven power
consumption reduction approach in SoC (System-on-
Chip) design has been proposed. In SoC design, re-
ducing power consumption is a major concern. How-
ever, a method known as an effective method is re-
quired to decide architecture configuration and power
management technology at an early stage of design.
They model power estimation parameters and dy-
namic power management to obtain power results at
an early stage of design. By generating and simulat-
ing a power-aware simulation code from the model,
it is possible to obtain the power result at the design
time. In the proposed method, they model an applica-
tion model describing the dynamic behavior of an ap-
plication in an activity diagram and a power manage-
ment model that summarizes architecture parameters
and algorithms. After that, each model is converted
into C++ simulation code and then linked. power re-
sults at the early stage of design can be obtained by
simulation, power consumption estimation and analy-
sis. Power consumption is estimated from the power
management model using a known power character-
istic model of processor.
In the related research that we have mentioned so
far, it is realizing the application at the time of execu-
tion or the application for the electric power by using
the model. However, QoS-aware and energy-aware
self adaptation method using xtUML has not yet been
proposed.
3 DFEAM
We propose a method that can realize self-adaptation,
based on the power consumption and software quality,
using xtUML. Based on model-driven architecture.
It is capable of testing at the design stage and per-
formance measurement and strongly supports model-
driven development. The system specifications de-
scribed by xtUML can be converted into source code,
irrespective of the platform.
A methodology for self-adaptive software devel-
opment, based on the power consumption, using a
model-driven development and xtUML has already
been proposed (Tanaka et al., 2017). In this method,
the application itself can decide the behavior accord-
ing to the power-consumption situation by linking the
feature model describing the variability of the appli-
cation with the description of behavior, using xtUML.
However, it is not possible to compare the qualities
of the complicated variations and find the variation
that can solve the tradeoff between power consump-
tion and quality. Therefore, in DFEAM method, we
create a quantitative QoS model to compare the qual-
ity of variations and use it as an indicator of optimal
variation determination.
The system composition of the proposed method
is shown in Figure 2. The proposed method consists
of two elements: behavior models based on xtUML
and self-adaptation concept based on the concept of
MAPE-K (Kephart and Chess, 2003). MAPE-K is a
control loop model and includes a monitor, an ana-
lyzer, a planning component, and an execution com-
ponent. In the DFEAM concept, Monitor mainly per-
forms the role of the monitor and analyzer, and Man-
ager performs the role of the planning and execution
components. The Monitor and Manager are described
DFEAM: Dynamic Feature-oriented Energy-aware Adaptive Modeling
291