Document Sample
Allison-Kelly_Nallamatla-Kiran_Mohan-Pooja_Shakya-Uttama Powered By Docstoc
					                Home Appliance
                Control System
Presented by:
                 Kelly Allison
           Kiran Kapinjal Nallamatla
                 Pooja Mohan
                Uttama Shakya
Topics for presentation:
   What is HACS?
   Functional Requirements
   Non-Functional Requirements
   Prototype of initial HACS interface screens
   Use Case Diagram
   Sequence Diagram – Set Microwave Options
   Collaboration Diagram – Set Microwave Options
Topics ( contd…):
 Class Diagram of HACS
 CRC Card for Microwave
 Activity Diagram – Configure Microwave
 System Component Diagram
 System Deployment Diagram
 Summary
What is HACS?
 Home Appliance Control System accessed
 by a remote device such as mobile phone
 or a palm-top to allow a home owner to
 control, monitor and coordinate home
Functional Requirements
   The heart of the home network is the control system written using J2EE with container maintained
    persistence (retains history for one month).
   The central control system (CCS) shall provide secure login to the system. Users are identified
    with a username and password.
   It shall accept instructions locally or remotely and communicate those instructions to the
    appropriate devices within the home.
   Devices / appliances within the network shall have the capability to communicate between
    themselves as necessary and coordinate their process activity.
   It shall allow the user to activate and deactivate the system.
   It shall allow the system to start, stop and display current status without interfering with normal
    operations of the devices.
   It shall allow the user to add or remove, modify the behavior of and view the status of devices.
   It shall control, monitor, and coordinate appliances as programmed.
   It shall be adaptable. Detects events that change the environment and respond.
   It shall encapsulate lower-level functions to allow algorithms to vary independently.
   It shall accept information from the appliances, decisions made and appropriate messages
    generated based upon the decision (i.e. alarms, notify home owner, dial 911).
Non-Functional Requirements
 Portability
 Reliability
 User friendliness
 Flexibility
 Performance
 Supportability
Use Case Diagram
                 View and Monitor Status of

                      Set AC Options                   <<uses>>


   Home Owner
                  Set Microwave Options

                    Set Security System                      Authenticate User

                                                                     Every use case
                                                                     has to use the
                      Configure Devices <<uses>>                     authentication

      Support          Configure Users

  Support for
  HACS                Perform Diagnostics
 Sequence Diagram –
Set Microwave Options
                                        : Remote Access                    : HACS             : Microwave
     : Home Owner

                 1: setMicrowaveOptions()

                                                 2: setMicrowaveOptions()
    The user may choose
    to turn/off microwave or
    set heating                                                   3: retriveAvailableOptions()

                                               4: displayAvailableOptions()
[Opt = power]
                    5: TurnOn/Off(status)

                                                   6: TurnOn/Off(status)

                                                                              7: TurnOn/Off(status)

                                                                               8: Updated Status

                                                    9: Updated Status

 [Opt = Heat]
   10: SetHeatingParameters(temperature, power, time)

                                    11: SetHeatingParameters(temperature, power, time)

                                                            12: SetHeatingParameters(temperature, power, time)

                                                                               13: Updated Status

                                                   14: Updated Status
Collaboration Diagram –
Set Microwave Options – turn
                                                                     3: retrieveAvailableOptions()

      1: setMicrowaveOptions()                      2: setMicrowaveOptions()
                                                       6: turnOn/Off(status)
         5: turnOn/Off(status)
                                 : Remote Access                                  : HACS
                                                   4: displayAvailableOptions()
: Home Owner                                             9: updated status

                                                              8: updated status        7: turnOn/Off(status)
                     This diagram shows
                     the scenario of turning
                     on/off microwave.
                                                                               : Microwave
 Collaboration Diagram –
 Set Microwave Options - Set
 Heating Parameters
                                                                                                  3: retrieveAvailableOptions()
             1: setMicrowaveOptions
5: setHeatingParameters(temperature, power, time)                     2: setMicrowaveOptions
                                                         6: setHeatingParameters(temperature, power, time)
                                       : Remote Access                                                      : HACS
                                                                   4: displayAvailableOptions()
   : Home Owner                                                          9: updated status

                                                    7: setHeatingParameters(temperature, power, time)               8: updated status

                                                                                                          : Microwave
Class Diagram of HACS
 A class diagram describes the static structure
  of the symbols in your new system.
 It is a graphic presentation of the static view
  that shows a collection of declarative (static)
  model elements, such as classes, types, and
  their contents and relationships.
 Classes are arranged in hierarchies sharing
  common structure and behavior, and are
  associated with other classes
CRC Cards
 A CRC card is an index card that is use to
  represent the responsibilities of classes
  and the interaction between the classes.
 The cards are created through scenarios,
  based on the system requirements, that
  model the conceptual view of the system.
CRC Cards: How do you create
 Find Classes
 Find Responsibilities
 Define Collaborators
 Move the cards around
CRC Card for Microwave

Responsibilities                     Collaborators
Report trouble                             Appliance
Accept user setting change requests
Perform diagnostic tests
Perform any schedule / script activities
Activity Diagram
   An activity diagram typically represents the
    invocation of an operation, a step in a
    business process, or an entire business
Activity Diagram: Configure Microwave
          Technician : User                   Remote Access System                        HACS                                          Database

  Technician chooses to view                 Receive Request
   status of faulty appliannce              from the Technician

                                           Forwards Request            Receives Request
                                               to HACS                    from RAS

                                                                     Forwards the request to                                           Query the
                                                                               DB                                                      database

                                                                        Receive results                                              Forward the
 This activity diagram is a general representation for                     from DB                                                 results to HACS
 changing appliance/user configuration including
 adding new appliance/(s), removing existing                                       Verifies if the appliance/user already exists
 appliance/(s), enabling/disabling appliance/(s)

                                                                                  [Valid Request]
                                                                       Request DB to                                                  Update/Add
                                               [Invalid Request]      update/add record                                            Configuration record

                                               Displays                     Received                                                  Sends Update
                                                Status                    Updated status                                                 status
Component Diagram
                                                    Responsible for data
                            Core component of the   manipulations                        Responsible for
                            system                                                       authentication of
                                                                                         the user

                                                                           HACS system

             Remote User Device


 interface                        provides user
                                  storage for
                                                                                         Provides appliance storage
                                                                                         along with command list

                                                                                               data storage

Deployment Diagram
    Any remote user
    device with internet
    access can
    access HACS                                     Physical Data
    system                                          Storage

          Remote User

                             HACS CONTROL

HACS serv  er,where
the software

                 Microwave          AC        Security System

J2EE Basic Authentication
Initial screen prototype

    HACS is your Home Local Network –
       It provides an interface to your
    home appliances that is…
   Reliable
   Portable
   Friendly
   Flexible
   Performs well
   Supportable

Shared By: