An Aspect-Oriented Approach for Mobile Embedded Software Modeling

wrendressMobile - Wireless

Nov 12, 2013 (3 years and 10 months ago)

107 views


D. Taniar et al. (Eds.): ICCSA 2010, Part II, LNCS 6017, pp. 257–272, 2010.
© Springer-Verlag Berlin Heidelberg 2010
An Aspect-Oriented Approach for Mobile Embedded
Software Modeling
Yong-Yi FanJiang
1
, Jong-Yih Kuo
2
, Shang-Pin Ma
3
, and Wong-Rong Huang
1

1
Department of Computer Science and Information Engineering,
Fu Jen Catholic University, Taipei, Taiwan
{yyfanj,yellow97}@csie.fju.edu.tw
2
Department of Computer Science and Information Engineering,
National Taipei University of Technology, Taipei, Taiwan
jykuo@ntut.edu.tw
3
Department of Computer Science and Engineering,
National Taiwan Ocean University, Taipei, Taiwan
albert@mail.ntou.edu.tw
Abstract.
Recently, it is one of the most challenging fields in software
engineering for embedded software development, since the advancement of
embedded technologies has made our life increasingly depend on embedded
systems and increased the size and complexity of embedded software.
Embedded software developers must pay attention to not only performance and
size but also extensibility and modifiability with a view to the complexity rising
of embedded software. Besides, one of the characteristics of mobile embedded
software is that they are context dependence with crosscutting concerns.
Therefore, how to provide a systematic approach to modeling the mobile
embedded software, especially on the crosscutting between the sensor, context
and reactive behavior, has become an emerging issue in present researches. In
this paper, we propose an aspect-oriented modeling process and notations
extended from UML for mobile embedded software modeling to deal with the
context dependence among sensors and their corresponding reactive
functionalities. For the aspect oriented modeling process, the aspects modeling
process is provided to separate the concerns of the mobile embedded software.
Meanwhile, the extended notations with meta-model framework under class
diagram, sequence diagram, and state machine diagram are depicted to facilitate
the aspects modeling on structural and behavioral perspectives, respectively.
Moreover, a Female Anti-Robbery System is used as an illustrative example to
demonstrate our proposed approach.
Keywords:
aspect-oriented technique; embedded software; mobile software.
1 Introduction
Traditionally, an embedded system is a special purpose computer (or microprocessor)
that is designed and used inside a dedicated device for a particular objective with
simplified hardware and primitive software. In recent years, however, because of the
258 Y.-Y. FanJiang et al.

advancement of embedded technologies has made our life increasingly depend on
embedded systems and hardware grows rapidly, and thus, increased the size and
complexity of embedded software [9][27]. There are more and more products such as
intelligent mobile phone, car equipment or computer peripherals, which have evolved
from single-chip microprocessor to complicated processor containing various
peripherals and a small operating system [23]. Besides, embedded software developers
must pay attention to not only performance and size but also extensibility and
modifiability. In order to decrease the complexity and increase the quality and
reusability of embedded software, therefore, how to provide a systematic approach for
embedded software development becomes one of the most challenging fields in
software engineering [15] [22].
On the hardware, resources of embedded system are limited, and need to be
supported by various devices such as camera, RFID and other sensor equipments
emphasized in higher performance and reliability [11]. In virtue of the rapidly growing
of hardware and complexity of software, however, more and more researchers have to
put much emphasis on early stages of development, and to that end, the software
development and modeling become more and more important for the development of
embedded software [11][17][25].
Dynamic context is one of the characteristics of mobile embedded systems pointed
out from [3][11]. The context here means the status of the environment in which the
system is operated. Since the location moving on the mobile embedded device is
occurrence frequently which causes the status of the environment to change
corresponding to the movement, therefore, the behavior of the embedded system is also
provided the reactions responding to the environment converted. That is what we say
the behavior of the mobile embedded software is dynamic context dependence. For
example, the lamp senses the dark and then turns on the light or the handheld device
launches the guiding system after the holder enters a museum [2], etc. Kishi and Noda
[11] pointed out how to provide a systematic approach to modeling the mobile
embedded software, especially on the crosscutting between the context, sensor and
reactive behavior, has become an emerging issue.
Numerous approaches [6][7][25][26] had been proposed the aspect-oriented
technique for modeling real-time or embedded system, but few of them tackle the
crosscutting concerns in the context dependency and lack of providing a systematic
process to integrated aspects in the software development processes. In this paper, we
attempt to propose an aspect-oriented modeling process and notations extended from
UML for mobile embedded software modeling to deal with the context dependence
between sensors and their corresponding reactive functionalities. For the aspect
oriented modeling process, the aspects modeling processes are provided to separate the
concerns of the mobile embedded software. Meanwhile, the extended notations with
meta-model framework under class diagram, sequence diagram, and state machine
diagram are depicted to facilitate the aspects modeling on structural and behavioral
perspectives, respectively
The remainder of the paper is organized as follows: In section 2, we give a brief
introduction to aspect-oriented technology. In section 3, we point out our proposed
approach on modeling mobile embedded software with aspects and depict the
development process for our proposed approach. In section 4, a female anti-robbery
system (FARS) served as an illustrated example to demonstrate our approach and the
related work is summarized in section 5. We conclude our work in section 6.