You are on page 1of 4

International Journal of Computer Information Systems, Vol. 3, No.

6, 2011

Development of Smart Phone through UML


Ravindra K. Gupta Gajendra Singh Chandel HOD,CSE Department SSSIST,Sehore Pradeep Laxkar M.Tech ,CSE SSSIST,Sehore

AbstractSmartphone will become the best mobile communication terminals, but the proportion level of Smartphone in the mobile phone market depends on its development approach quality. As a typical embedded system, it is of a common problem in the embedded system development, the purpose of this article is to design Smartphone development methodology, which is based on the development of UML and uses this method to complete the development of SMS application. This paper studies the development of UML in the embedded system's superiority and shortcoming, combines with object-oriented design patterns for the Smartphone applications development to raise a named Smartphone model, makes it instantiation in the article mobile phone development platform Android, and tests the effectiveness established UML models tested. Keywords- UML; design patterns; RUP.development process

object-oriented realm of thought the modeling language standard. A. Composition of UML The UML system skeleton and composition element as shown in Table 1, the UML composition construction revelation uses it for the question territory modeling mechanism.
TABLE I. name UML VIEW function Carries on the description from the different side to the system Constitute different view The basic elements of UML diagrams Serve as supplements to model refinement role

Component element

view

UML view

chart

model element Class, object, relationships, and metastasis comments

I.

INTRODUCTION
model element General Mechanism

With the digitized time information industries development, in people's to life communication high grade, high request, reflected finally to the two-way charges for cellular phones terminal's request, has produced the Smart Phone market. The intelligent handset market's irritability is not only the ultra application function which it has, is also its convenient. From the C114 China communications network's report, the intelligent handset's will approach 50% to 2013 in handset market percentage, but our country will also become one of world mobile interned user's great nations. This article will unify the modeling language UML application in the intelligent handset's performance history, uses UML with example view capture users needs information [1], and use the illustration management as well as uses the example with the example between relations the concrete information and so on. II. UNIFIED MODELING LANGUAGES

From the table 1 saw that the UML view is composed of the UML chart, the chart becomes by the model element by way of certain grammar and the semantic combination, finally demonstrated those who give the user and the development personnel is precisely from the different angle to the system description UML view. B. UML Expansion Mechanism The UML expansion is take the UML built-in element as the foundation, the Yuan model level contains UML the element, and a Yuan model is a Yuan - Yuan model (UML architecture most underlying bed) the instantiation, simultaneously also provides the description for the model as well as the user model the language, obviously it in UML structure core status. UML provides the expansion method including the definition structure, adds the label value, to restrain three kinds of [2]. In order to raise the modeling efficiency, in UML integrated many commonly used expansion elements, like connection Interface, in the incidence relation contains include as well as expands extend, module modules and so on view ActiveX, EXE, Applet, the user may according to need to define voluntarily.

UML (Unified Modeling Language) is the objectoriented analysis design question unified modeling language, not only its has bought in most outstanding object-oriented method OMT, Booch, Objector and so on thought that also has absorbed many method scientist's thought that also systematic performance history RUP introduces the software engineering in the UML modeling process, According to the material statistics, some digit demonstrated that 96 the end of the year UML occupied the object-oriented analysis design technique 85%, the fact had demonstrated UML takes the

December Issue

Page 41 of 72

ISSN 2229 5208

International Journal of Computer Information Systems, Vol. 3, No. 6, 2011 III.


THE EMBEDDED SYSTEM DEVELOPMENT BASED ON

UML embedded system develops [3] based on the UML is studies the UML application summarizes in the intelligent handset development foundation and the experience, simultaneously according to the intelligent handset's work and the function characteristic, carries on the expansion to UML, so that its accurate description intelligence handset performance history; This article takes the object-oriented thought the design pattern in the intelligent handset development application, and used UML to describe its application procedure development design pattern. A. Embedded System's Tradition Methods of Exploitation Embedded system's development is also same as other software project's development, needs to experience the demand analysis, the design, to realize, the test, the later period to maintain these five stages [4]. The commonly used embedded system method of exploitation has two kinds, one kind is according to the above five stage order gradually development system; Another kind defers to these five stage reverse order development, it is similar based on the module development system's method, namely treats the development the system is by had the module perhaps the functional module is the initial station, then the module unceasing upward development, the module function according to the demand unceasing expansion, until satisfies all demands. Embedded system's function is completes together by the software and hardware cooperation, embedded system's development including software's development and hardware's development, The use tradition's method of exploitation, the hardware development must be before the software development, the hardware development personnel designs and completes the hardware platform which according to the user's needs the system needs, but the software personnel act according to design the good hardware platform to complete the application procedure the design and realize, This causes embedded software's development always to lag in the hardware, when therefore the hardware design has the problem, the source program must make the revision sometimes even completely to become invalid, such source program unceasing basis hardware changes; Meanwhile is limited as a result of the development time, software developers radically without enough time redesign perhaps renewal software development flow chart perhaps design documents, but makes the revision directly in the code, Its goal is merely for can satisfy the user the demand, this has created design information and so on between the function which and system's design documents content as well as flow chart the source code realizes contradictions, is creates tests the difficult problem which [5], the product promotion as well as the later period maintains. B. The Use of UML in Embedded System Development The traditional embedded system method of exploitation has the flaw and causes to launch an attack. This article uses the object-oriented technology to carry on

embedded system's development, the object-oriented technology's language is field recognition standard UML use object-oriented technology development system's core duty is the model which needs for the system establishment, the model establishment is which completes through the case tool[6]. The Case modeling is also different with system data and so on former design documents, it the systematic analysis and the design feature use present in figures and diagrams model indicated that this change in people's understanding and the exchange, has guaranteed the development team before the development system to system's better understanding. IV. APPLICATION OF UML IN THE SMART PHONE

A. Smart Phone Method of Exploitation Based on UML This article smart phone method of exploitation is the intelligent handset development way + software and hardware design pattern + intelligence handset performance history, but this pattern passes through by the UML modeling language. This article the intelligent handset application procedure development's design pattern naming is Smartphone, it by the UML cooperation symbolic representation, the question territory which and the solution it describes by the UML kind of chart refinement, what needs to pay attention is this UML model is the platform irrelevant, This article completed the procedure with the aid of Android the development, the Smartphone pattern synthesized MVC, Adapter, the Observer pattern. Then first introduced that Adapter and the Observer pattern, and gives them in a Rational rose kind of chart, the pattern goal and participant's class showing. 1) Adapter design pattern as shown in Figure 1.

Figure 1. Fig.1 Adapter design patterns

Goal: Transforms the client side expectation a kind of method another method. The difficult problem which as a result of the incompatible method and kind of Adapter solved has caused the different kind which may not work together. Realizes the outline: When the customer transfers the Adapter example the method, Adapter will transfer in adapter to conform to the customer demand method. Participant: In pattern a) Client: The set follows the Target connection the object;

December Issue

Page 42 of 72

ISSN 2229 5208

International Journal of Computer Information Systems, Vol. 3, No. 6, 2011 b) Target: Has defined the Client use specific connection; c) Adaptee: Defines extant connection which needs to adjust; d) Adapter: Adaptee and Target adaptive. 2) Observer design pattern as shown in Figure 2.

Figure 3. Design pattern for Smartphone application named Smartphone

Figure 2. Observer design pattern

Goal: When an object condition change other all dependences may obtain the notice and automatic renewal its content in its object, what describes is between the object one-to-many relations. Realizes outline: When a change may cause Concrete Subject viewer's condition with when own is inconsistent, it is this change notice gives it the viewer; After receiving this change notice, a Concrete Observer object will inquire main body subject to prepare the reference. Concrete Observer uses this information to be coordinated that subject which their condition and correspond. In pattern participant: a) Subject: It knows her viewer. Many Observer objects may subscribe main body subject; it provides a connection to complete increases and deletes the Observer object the function; b) Observer: For needed to inform in the main body to occur change object definition to have the renewal function connection; c) ConcreteSubject: Preserves the Concrete Observer object to be interested the condition; When a condition change, is the viewer transmits an notice; 4) ConcreteObserver: Realizes in the Observer renewal method maintains the condition and the main body uniformity. We may see these two patterns to the event processing must the prerequisite is different, the union wisdom expert machine function characteristic, its Smartphone kind of chart description as shown in Figure 3.

B. Smart Phone Process of Exploitation Based on UML Follows the system construction which using the UML development intelligence handset's process as shown in Figure 4, the system construction by the UML view is composed [6],
logic view

deployme nt View

Use-case view

component view

Figure 4. System structure for UML modeling

Saw from Figure 4 system's construction take uses the example view as a core, similarly also occupies the core status with the example in system's performance history, with the example in the intelligent handset performance history function as shown in Figure 5.
Use instance (the consumer expects the expectation function system)

Analytical

Consume r's demand

Design

Carry out

Test

Figure 5. Smartphone development process based on the UML

Figure 5 had demonstrated uses the UML development system to contain the stage content, simultaneously Figure 5 had also demonstrated when uses the UML development system, between these phase of exploitation's relation as well as with uses between the example the close relation. 1) Demand analysis stage because the intelligent handset's operating system is different, the hardware composition varies, this causes it to vary to the third party software's request, for can satisfy the user the friendly function demand, we propose in the handset the built-in function menu establish some functions which this intelligent handset's hardware condition as well as may install. a) Role capture

December Issue

Page 43 of 72

ISSN 2229 5208

International Journal of Computer Information Systems, Vol. 3, No. 6, 2011 The role is carries on the interactive person perhaps other systems with the system, with the example is these roles hoped the system has function, therefore the role analysis must bring to the attention. b) Catches With the example with the example is the functional description which has from the user angle embarking expectation system, the commonly used gain uses the example the method is user's exchange, with illustration [7] as shown in Figure 6.
MP4 MP3

Keyboard
1 1

Touch
1 1

Gui
1 1 1 1

Display

Communication

Battery
1 1

Cpu
1 1 1 1

Memory
1 1

0..n

UserApi

Wireless networking

WirelessCm

Os

SMS

Multimedia

CallFunction

Game

MultimediaFunction

Camera

Figure 7. Class diagram for Smartphone


Functioselection -Module

SMS BaseFunction Calendar User OnlineFunction MobileNet


<<extend>>

Keyboard -Module
PhoneSet PIM SpecialFunction Download,Install,UseThirdSo ftware

Touchscree n-Module

DataTransc tion-Modul

Systemcore -Module

Display -Module

Figure 6. the use case diagram of Smartphone

2) Designs the design process including to the system static state design and the dynamic design, namely completes to system's static modeling and the dynamic modeling. This phase of exploitation is after obtains the refinement which to front each function realizes with the illustration. In the static modeling needs to complete a kind of chart the design, the primary mission is a kind of recognition and the design. Initial kind of diagram as shown in Figure 7, what shown in Figure 8 is becomes abstractly the intelligent handset's software and hardware functional module chart [7] which the module forms, 3) Realizes To realize the stage to complete the parsing process compiles the above stage in with the procedure development language. As a result of the funds as well as the time limit, this article uses the software simulation the way to realize in the intelligent handset's short note development function. 4) Tests This article the test content the UML model which and the code establishes including the design process, has manifested in the RUP performance history the system risk degree value.

GsmModule

Call/SMS

Figure 8. Component diagram for Smartphone

V.

SUMMARY

According to the intelligent handset's function characteristic and the development characteristic, the intelligent handset method of exploitation which this article proposed, it is the intelligent handset development way + software and hardware design pattern + intelligence handset performance history marriage, This text particularly studied the system that design mode and use UML develop system to configuring and expand, the present of Smartphone mode is voiced by UM. REFERENCES
[1] . [1] Jiang Hui, Wu Li delivers, Chen Wei Wei.UML Programming Guide design a nucleus technique [M], Peking hopes electron book concern, 2001.1. [2] Yin Yongfeng , Liu Bin, Jiang Tongmin .Use a born method study according to the UML embedded software test [J].Calculator application study, 2008.10. [3] Chen Yan.Study according to the UML embedded system system class design method [D].Shanghai:reply the Dan university Ph.D. degree thesis.2005. [4] jYang Gang,You Haiyan . .Embedded system design and fulfillment [M].Navigation aerospace university in Peking book concern, 2009. [5] Bar Broekman, Edwin Notenboom.Testing Embedded Software[M].Peking: electronic industries book concern, 2004.1. [6] Jiang Hui, Wu Lifa , Chen Wei Wei.UML Programming Guide design a nucleus technique[M], Peking hopes electron book concern, 2001.1. [7] Liu-yang, Jianhui-Liu. Application of UML for embedded system development[C]. ICFCA2010, 2010:6-9.

[2]

[3]

[4]

[5] [6]

[7]

December Issue

Page 44 of 72

ISSN 2229 5208

You might also like