Docstoc

OBJECT ORIENTED UML MDELING FOR TRAVELER MANAGEMENT SYSTEM

Document Sample
OBJECT ORIENTED UML MDELING FOR TRAVELER MANAGEMENT SYSTEM Powered By Docstoc
					Ubiquitous Computing and Communication Journal




        OBJECT ORIENTED UML MODELING FOR TRAVELER
                   MANAGEMENT SYSTEM




                                                    By

                                           Dr. Vipin Saxena
                            Reader & Head, Department of Computer Science
                               Babasaheb Bhimrao Ambedkar University
                                         (A Central University)
                         Vidya Vihar, Raebareli Road, Lucknow, 226 025 INDIA
                                     Email: vsax1@rediffmail.com
                                                    &

                                Gufran Ahmad Ansari Department of
                                Computer Science Babasaheb Bhimrao
                                   Ambedkar University (A Central
                                              University)
                         Vidya Vihar, Raebareli Road, Lucknow, 226 025 INDIA
                                 Email: gufran_1231@rediffmail.com



                                               ABSTRACT

                   The present paper deals with the Object Oriented designing through Unified
                   Modeling Language (UML) for a Traveler Management System (TMS). The
                   main aim of this paper is to provide a flexible and faithful environment for
                   traveler, which wants to travel to see the sight scenes, shopping for business
                   meetings, etc. The TMS provides the information to the traveler without
                   losing the time when it needed & the system gives the proper and accurate
                   information to the traveler. The proposed model is based upon the knowledge
                   based system & the complete booking process of a Taxi is defined in this
                   paper and the knowledge model is tested with different data sets. The model
                   also suggests to the traveler that which Taxi will be suitable according as per
                   the budget constraints. In this paper the UML Class, Sequence diagram,
                   Activity diagram & Use Case diagram are also designed for the TMS.



               Keywords: UML, TMS, Class Diagram, Activity Diagram, Use Case Diagram


 1      INTRODUCTION                                     that have successful in the modeling for a design
                                                         of a huge and complex systems. Modeling is
        The Unified Modeling Language                    very important for readability and reuse of the
(UML) is a very dominant modeling graphical              systems. UML offers a set of notations and rules
language for specifying, constructing and                for using the same. The main task of the UML is
documenting the artifacts of software system.            to create a simple, well documented and easy to
UML is a collection of best engineering practices        understand software model for the people. The


Volume 3 Number 3                             Page 170                                     www.ubicc.org
Ubiquitous Computing and Communication Journal


 UML modeling consists of nine diagrams to                  phone. By doing this they have a limited client
 model a software system & these diagrams are               and cover a limited area. But nowadays due to
 Use case Diagram, Class Diagram, Object                    technological changes, it is necessary to accept
 Diagram, State Diagram, Activity Diagram,                  the challenges and change according to the
 Sequence Diagram, Collaboration Diagram,                   environment. Therefore the present paper
 Component Diagram & Deployment diagram.                    proposes a complete and systematic model called
 TMS has received awareness in both the public              as knowledge model for minimizing the
 and private sectors. Nowadays knowledge based              problems of tourist.
 system is most popular and needed in every                          A model for TMS has been designed &
 sector like medical sector, banking sector,                tested for the traveler who wants to travel in city
 engineering sector and traveling sector etc. In the        or other city for the site scenes, shopping,
 traveling sector, knowledge means simply                   business meetings etc. The traveler has the
 having the knowledge from expert. Knowledge                choice for booking a Taxi on phone & can book
 modeling is the major activity used to understand          more than one Taxi at a time and also can cancel
 the problem and sending the solution rapidly.              the Taxi after giving the cancelation charges to
                                                            the Traveler management Administrator. This
 2        RELATED WORK                                      knowledge based model is designed by the one
                                                            of most popular modeling language, Unified
          The UML is a very powerful modeling               Modeling Language. UML class, Sequence,
 language for the visual representation of                  Activity and Use case diagrams are designed &
 software. Using this modeling language one can             tested for TMS. A lot of work has been done in
 develop the software in a valuable and                     the field of UML designing, testing but still
 resourceful      manner     [1].   The      visual         necessary to implement the UML modeling
 representations of the software are explained by           language in every fields of research. People
 the detail of programming concepts for the                 don’t have time to go to the agency and book the
 Object Oriented techniques and are explained by            Taxi for travelling they want quick and easy way
 Lieberherr et al. [2]. Nowadays UML is become              that’s why they need a technology and a lot of
 a standard modeling language for the Industry              problem faces to design a perfect model for
 which is used for the software designers [3].              booking a Taxi and also the model should be
 Modeling has plays an important role for any               secure. Now a day’s people are giving on line
 system and contributes to the understanding of             payments through the credit cards or other
 the source inputs and outputs [4].The                      electronic services. It’s very important that the
 development of Traveler Management System                  system should be compatible in every
 shows the different activity of steps that                 environment, flexible and secure.
 implemented for providing the better service to
 the traveler [5]. A lot of methodologies                   3        UML OBJECT MODELING FOR
 developed over a year e.g. Common KADS [6],                         TMS
 Protégé [7], MIKE [8] and MOKA [9]. B.A.
 Gobin and R. K. Subramanian [10] defined the               The UML class diagram for TMS designed &
 knowledge modeling concept. They give                      shown below in Fig.1. The complete booking
 importance of modeling in the knowledge based              process of a Taxi, Car & Bus is shown with
 system. Models are used for capture the                    designed attributes. TMS model contents of five
 important features of real system and break into
 parts for better understanding. Michael Blaha              major classes which are Traveler, Traveler
 and William Permerlani [11] and Michael Blaha              Agency, Taxi, and Car & Bus. Traveler class has
 & James Rambaugh [12] describe programming                 single association with Traveler Agency class
 concepts which are undoubtedly good.            S.         and the Traveler Agency class has multiple
 Barnum. & G. McGraw define the security and                associations with the Traveler class. The Taxi,
 privacy of the software in a very smartly and              Car, Bus classes have a multiple association with
 clear way [13]. The Information Technology that
                                                            the Traveler Agency and the Traveler has the
 supports the model online for the query of
 Traveler & described in many papers [14, 15].              multiple associations with these classes. In the
 In the early stage Travel Agencies did not use the         given UML class model the Traveler can book
 computerized booking system. They are using                the multiple Taxis but these request will be
 just manual system therefore it creates a lot of           processed through the Traveler Agency and also
 problems to found. They come to the Agency                 Traveler has the facility that can cancel the
 and book the Taxi or simple book the Taxi on
Volume 3 Number 3                                Page 171                                     www.ubicc.org
Ubiquitous Computing and Communication Journal


 booked Taxi, Car & Bus after giving the
 cancelation charges for the service. The model is
 very flexible and adorable that can be easily            System >> What is the purpose of your visit?
                                                          Traveler>> Holidays
 updated by the environment.                              System >> What is Nationality?
                                                          Traveler>> Canadian
                                                          System >> Are you married?
                                                          Traveler>> Yes
                                                          System >> Have you any children?
                                                          Traveler>>No
                                                          System >> Are you health conscious?
                                                          Traveler>> Yes
                                                          System >> Do you like shopping?
                                                          Traveler>>Yes
                                                          System >> How many days required Taxi?
                                                          Traveler>>7 days
                                                          System >> What is your budget?
                                                          Traveler>> 2000$



                                                                  Figure 3: A Scenario for Couple



                                                          5        USE CASE DIAGRAM FOR TMS

 Figure 1: UML Class model for TMS                                 The use case diagram shows the
                                                          connection between actor i.e. traveler & activity
 4. DYNAMIC MODELING FOR TMS                              of the system and Actor. An Actor is a person
                                                          who plays the role together to the system. A
  For the TMS, a scenario is designed for the             scenario is a sequence of steps that explaining
 traveler which is given below Figure: 2 & 3.             the communication between system and Actor.
 Figure: 2 show the scenario for the unnamed              The following Fig. 4 shows one Actor i.e.
 traveler while Fig. 3 consider for the couple            traveler which wants to hire or book a Taxi. In
 traveler.                                                this use case diagram the Travel Management
                                                          System has three use cases. In the first case the
                                                          traveler can book the Taxi/Car/Bus and in the
                                                          second case traveler can book more
                                                          Taxi/Car/Bus & in third case traveler can cancel
 System >> What is the aim to book the Taxi?
                                                          the booking according to choice, but if traveler
 Traveler>> Business Meeting
                                                          wants to cancel booking then has to pay
 System >> What is your Nationality?
                                                          cancelation charges.
 Traveler>> British
 System >> What is your age?
 Traveler>> 30 years
 System >> Are you married?
 Traveler>> No
 System >> How many days Required Taxi?
 Traveler>> 5 Days
 System >> What is your budget?
 Traveler>> 1500$



                                                          Figure 4: UML Use Case Diagram forms for
                                                                    TMS
  Figure 2: A Scenario for Traveler
Volume 3 Number 3                              Page 172                                    www.ubicc.org
Ubiquitous Computing and Communication Journal


 6        ACTIVITY DIAGRAM FOR TMS                            payment from the traveler TMS book the desired
                                                              Taxi & system will inform to TMS.
           The activity diagram shows the various
 activities step by step with the carrying for both
 parallel and conditional behavior. An activity
 diagram is a modification of state diagram in
 which most of the states are activity state. The
 activity diagram of above UML class model is
 designed and given below.
                                         Entry




                                                                  Figure: 6 UML Sequence Diagram for TMS



                                                              8         CONCLSIONS & FUTURE SCOPE

                                            Exit                       From the above work it is concluded
                                                              that the UML modeling is a powerful language
     Figure 5: UML Activity Diagram for TMS                   used to design for the software research
                                                              problems. In this paper complete modeling is
 In this activity diagram the traveler sends
                                                              done for TMS system which is efficient & useful
 information to TMS for booking of a Taxi.
 Traveler Management System searches a record                 for the software developer to convert the above
 that the Taxi for a traveler is available on that            mode through Object Oriented language. The
 date. If Taxi is available TMS tells the cost to the         model is also test by designing a query
 customer and collects the payment. After getting             represented in form of scenario. The present
 the payment the Traveler Management System                   work can also be further extended for company
 books the Taxi and informs to the traveler that              having large database of traveler which can be
 Taxi has been booked on that date.
                                                              further streamlined by the use of designing of
 7        SEQUENCE DIAGRAM FOR TMS                            data cubes model so that search can be faster
                                                              therefore work can be extended in the field of
                                                              data mining.
          Sequence      diagram      shows      the
 relationship between classes arranged in a time
 sequence. Within a sequence diagram an object                9        REFERENCES
 is shown in a box at the top. The sequence
 diagram of the above UML class model is                      [1]    G.,   Booch,    J.Rumbaugh,   and   I
 designed and used for booking of a Taxi for                         Jacobson,.,“The    Unified  Modelling
 traveler. The communication between two                             Language User Guide”, Addison-Wesley,
 objects represented by an arrow & the message                       Reading, MA,(1999).
 on that arrow, the vertical lines show the life of
 the objects. In the given sequence diagram                   [2]    Lieberherr, K., Holland, I., and. Rie,
 shown below in Fig.6 has four objects Traveler,
 Traveler Management System, Taxi Record &                           Al,“Object-oriented programming: An
 Taxi Book. Here traveler sends the request to the                   objective sense     of   style”,  Proc.
 Traveler Management System to book a Taxi                           OOPSLA’88 as ACMSIGPLAN 23, 11,
 then Traveler Management System checks the                          pp.323–334(1998).
 Taxi record and if Taxi available then asks for
 the payment from traveler, after getting the                 [3]    I. Sommerville, Software Engineering,
                                                                     Addison-Wesley (2001).
Volume 3 Number 3                                  Page 173                                    www.ubicc.org
Ubiquitous Computing and Communication Journal



 [4]   Abdullah, M.,S., Evans, A., Benest,,I.
       Paige, R., Kimble C. , 2004, “Modelling          [13] Barnum, S., and McGraw, G., “Knowledge
       Knowledge Based Systems Using the                     for Software Security” IEEE Security &
       executable Modelling Framework(XMF)”,                 Privacy, IEEE Computer Society Press,
       Proceedings of the IEEE, Conference on                March/April, 74-789(2005).
       Cybernetics and Intelligent Systems,
       Singapore(2004).                                     [14] Knublauch, H. Rose T.,“Round Trip
                                                                 Engineering      of    Ontologies for
 [5]   Booch, G., "Object-Oriented Analysis and                  Knowledge-Based Systems”, Twelfth
       Design with Applications", second                         International Conference on Software
       Edition. Addison-Wesley (1994).                           Engineering and Knowledge (SEKE)
                                                                 Chicago, IL. (239-247)(2000).
 [6]    Schreiber, A. Th., Akkermans, J.,
       Anjewierden, A., De Hoog, R., Shadbolt,          [15] Cranefield, S. and Purvis, M., “UML as
       N. Van De Velde W., Wielinga, B.                      an ontology modelling language”, In
       ,“Knowledge       Engineering      and                Proceedings of the Workshop on
       Management: The Common KADS                           Intelligent Information Integration, 16th
       Methodology”, MIT Press,(2000).                       International      Joint   Conference     on
                                                             Artificial Intelligence (IJCAI-99)(1999).
 [7]   J. H Gennari,., M. A Musen., R Fergerson.
       W., Grosso, W. E., M Crubezy,
       H.Eriksson, Noy, N. F. and Tu, S. W.,
       “The    Evolution     of   Protege:    An
       Environment       for    Knowledge-Based
       Systems Development”, International
       Journal of Human Computer Studies,
       (2003).

 [8]    J,.Angele, and D. Fensel, and D.Landes,
       and R., Studer, “Developing knowledge
       based systems with MIKE”, Journal of
       Automated Software Engineering,(1998).

 [9]     MOKA        homepage.       Available:
       http://www.kbe.conventry.ac.uk   (URL)
       2nd march (2008).

 [10] B. A Gobin,., and    R. K. Subramanian,
       “Knowledge Modeling for a Hotel
       Recommendation System”, Proceedings
       of world academy of science, engineering
       and technology volume 21 January ISSN
       (1307-6884),(2007).

 [11] M. Blaha, , and W.Premerlani, , “Object-
      Oriented Modeling and Design for Database
      Applications”, Upper Saddle River, New
      Jersey, Prentice Hall,(1998).                     .
 [12] M.Blaha, and, J., Rumbaugh “Object-
      Oriented Modeling and Design with UML”,
      Second Edition, Upper Saddle River, New
      Jersey, Prentice Hall,(2005).

Volume 3 Number 3                            Page 174                                    www.ubicc.org

				
DOCUMENT INFO
Categories:
Tags:
Stats:
views:14
posted:9/7/2012
language:Latin
pages:5
Research Insight Research Insight UbiCC Journal http://www.researchinsight.org
About