Professional Documents
Culture Documents
Ooad Proj
Ooad Proj
PROJECT TITLE:-
TEAM MEMBERS:-
PRAJJWAL PANDEY-RA1611003010460
This document details the software requirements specification for the SMARTHOME project.
Home automation systems provide certain functionalities for variety of devices, but
many of them cannot extend their ability to respond technology which changes very
quickly. In order to achieve this, a generic set of functionality and support for various
home appliances needs to be generated. An easy to use, easy to deploy system with
an ability to learn and predict home owners’ and residents’ activities based on
previous knowledge will provide a more intelligent way of handling our homes.
SMARTHOME project is intended to serve this purpose and project details will be
provided in the following sections.
SMARTHOME project’s aims are currently not strictly defined. Many of the requirement
specifications and use cases provided in the version 1.0 of this document are merely a
starting point and will provide a perspective for the intended purpose of this project.
All scenarios of actions and status information can be viewed through internet (web server) in which
statistical data are accumulated. As well as viewing, user can send orders to the coordinator box in order
to change home appliances’ activities in real time.
USE CASE DIAGRAMS
USE CASE DIAGRAM
While a use case itself might drill into a lot of detail about every possibility, a
use-case diagram can help provide a higher-level view of the system. It has
been said before that "Use case diagrams are the blueprints for your
system".[1] They provide the simplified and graphical representation of what
the system must actually do.
The purpose of the use case diagrams is simply to provide the high-level view
of the system and convey the requirements in layman's terms for
the stakeholders. Additional diagrams and documentation can be used to
provide a complete functional and technical view of the system.
Control
Pre-Condition The user should be logged in and the selected appliance should be present
Restart
Operate
Operate microwave
Order of Events The user selects the microwave option and controls it
Operate TV
Operate Door
Emergency
Stop Action
The top compartment contains the name of the class. It is printed in bold
and cantered, and the first letter is capitalized.
The middle compartment contains the attributes of the class. They are left-
aligned and the first letter is lowercase.
The bottom compartment contains the operations the class can execute.
They are also left-aligned and the first letter is lowercase.
In the design of a system, many classes are identified and grouped together
in a class diagram that helps to determine the static relations between them.
With detailed modelling, the classes of the conceptual design are often split
into many subclasses.
SEQUENTIAL DIAGRAMS
SEQUENCE DIAGRAM
A sequence diagram is an interaction diagram that shows how
objects operate with one another and in what order. It is a
construct of a message sequence chart.
A sequence diagram shows object interactions arranged in time
sequence. It depicts the objects and classes involved in the scenario
and the sequence of messages exchanged between the objects
needed to carry out the functionality of the scenario. Sequence
diagrams are typically associated with use case realizations in the
Logical View of the system under development. Sequence diagrams
are sometimes called event diagrams or event scenarios.
A sequence diagram shows, as parallel vertical lines (lifelines),
different processes or objects that live simultaneously, and, as
horizontal arrows, the messages exchanged between them, in the
order in which they occur. This allows the specification of simple
runtime scenarios in a graphical manner.
COLLABORATION DIAGRAM
COLLABORATION DIAGRAM
A collaboration diagram, also called a communication diagram or
interaction diagram, is an illustration of the relationships and
interactions among software objects in the Unified Modelling
Language (UML). The concept is more than a decade old although it
has been refined as modelling paradigms have evolved.
Activity diagrams are constructed from a limited number of shapes, connected with
arrows.[4] The most important shape types:
Arrows run from the start towards the end and represent the order in which activities
happen.
The name of the diagram itself clarifies the purpose of the diagram and other details.
It describes different states of a component in a system. The states are specific to a
component/object of a system.
State chart diagram is one of the five UML diagrams used to model the dynamic
nature of a system. They define different states of an object during its lifetime and
these states are changed by events. State chart diagrams are useful to model the
reactive systems. Reactive systems can be defined as a system that responds to
external or internal events.
State chart diagram describes the flow of control from one state to another state.
States are defined as a condition in which an object exists and it changes when some
event is triggered. The most important purpose of State chart diagram is to model
lifetime of an object from creation to termination.