0% found this document useful (0 votes)
4 views20 pages

Digram Parts

The document outlines use case diagrams and detailed use cases for an emergency messaging application, including functionalities for sending automatic messages during emergencies and retrieving weather forecasts based on the user's current location. It describes the normal flow of interactions, preconditions, postconditions, and exceptions for each use case. Additionally, it includes design elements such as activity diagrams, sequence diagrams, and architectural diagrams related to the implementation of the application.

Uploaded by

mmurtasimkhan311
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views20 pages

Digram Parts

The document outlines use case diagrams and detailed use cases for an emergency messaging application, including functionalities for sending automatic messages during emergencies and retrieving weather forecasts based on the user's current location. It describes the normal flow of interactions, preconditions, postconditions, and exceptions for each use case. Additionally, it includes design elements such as activity diagrams, sequence diagrams, and architectural diagrams related to the implementation of the application.

Uploaded by

mmurtasimkhan311
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 20

1.1.

Use Case Diagram:

1|Page
1.2. Detailed Use Cases:
In the case of emergency users should able to inform their important ones by store
their contact numbers in the data base to show their current existance via text message.

Use Case:

Use Case ID: 01

Use Case Name: Automatic message in emergency

Created By: M. Awais Saleem Last Updated By:

Date Created: September 23, 2012 Date Last Updated: October 13, 2013

Actors: User

Description: The user presses the emergency button to send text message(s) to his contacts
if he faces some emergency.

Preconditions: 1. Application is already running


2. User has already defined the contact(s) to which message should be
sent.
Post conditions: 1. The system displays the home page.

Normal flow: User System


1. User presses the emergency
button.
2. System asks the user to confirm
that he wants to send message.
3. The user confirms the action.
4. System gets the current location,
retrieves the message and the
contacts from the database and
sends the messages.
5. The system informs the user that
it has finished sending the messages.

Exceptions: 1.1 Cancel Action (At Step 3)

2|Page
User may abort the process by clicking the cancel button.

Use Case:
The users should be know the weather forecast of their current location by which
they may manage the routine in a better way.

Use Case ID: 02

Use Case Name: Weather forecast of current location

Created By: M. Awais Saleem Last Updated By:

Date Created: September 23, 2012 Date Last Updated: October 13, 2013

Actors: User

Description: The user presses the current location button if he wants the updates of the
current locations’ weather forecast.

Preconditions: 3. Application is already running.


4. GPS is already on.
Post conditions: 2. The system displays the home page.

Normal flow: User System


1. User presses the weather forecast
button.
2. System gets the weather forecast
of users’ current location from
website.
3. System displays the weather
information.
4. User presses the OK button

Exceptions: 1.1 Refresh page (At Step 4)

User may want to refresh the information by clicking refresh button. The
system should recollect the information.

3|Page
Chapter 3

DESIGN
In this chapter we will provide complete information about the design phase of our
project. This chapter includes designs like Activity diagrams, sequence diagrams,
architecture diagrams etc.

1.1. Activity Diagram:


1.1.1.Activity diagram for Emergency Service:

4|Page
1.1.2.Activity diagram for change the Scope of Search:

You can expand or contract the area of you search. For example you may set the
scope to 5 kilo meters if you want to find places in a diameter of 5 kilo meters. You can
change the scope whenever you want.

5|Page
1.2. SEQUENCE DIAGRAM

1.2.1.Sequence diagram for Add Categories:

If the default categories are insufficient for you then you can define
your own categories as well.

6|Page
1.2.2.Sequence diagram for Call Service:

If you need to book a room in a rest house or want a booking from a doctor or
need some information but you do not know their contact number, then Tour Guide
will search the contact numbers and you can cell by just clicking the button without
any worry.

7|Page
1.3. ARCHITECTURAL DIAGRAM:

8|Page
1.4. CONTEXT DIAGRAM:

Server

Request for Cng


price

Request for Return prayer timings


prayer timings price

Get weather
forcast
Location request Google Maps
Internet Return result
TOUR Return resultset
set
Return result
set GUIDE
Get contact info

Return dataset
Get categories

Return dataset Get emergency


contacts

Database

9|Page
Chapter 4

IMPLIMENTATION

In this chapter we will discuss the implementation tools, techniques,


programming languages, API’s which we use in the implementation phase.

6.4. Appendix D:

Activity Diagrams:

Activity diagram for change the Weather Forecast:

10 | P a g e
The system should inform the user about the weather forecast of the user’s current
city as temperature.

6.5. Appendix E:

Sequence Diagrams:

Sequence diagram for Change the Scope Of Search:

11 | P a g e
You can expand or contract the area of you search. For example you may set the
scope to 5 kilo meters if you want to find places in a diameter of 5 kilo meters. You
can change the scope whenever you want.

Sequence diagram for Distance Of Destination:

You will be able to view the minimum distance by road to the selected place from
your current location.

12 | P a g e
Sequence diagram for Emergency Service:
If you face a sudden emergency and you do not have time to even write a text
message then don’t worry and just click the emergency button. Tour Guide will
automatically send a text message to the contacts you have specified earlier, telling

13 | P a g e
them that you are facing an emergency and sending them information about your
current location.

Sequence diagram for Message Service:


If you face a sudden emergency and you do not have time to even write a text
message then don’t worry and just click the emergency button. Tour Guide will

14 | P a g e
automatically send a text message to the contacts you have specified earlier, telling them
that you are facing an emergency and sending them information about your current
location.

Sequence
diagram
for Search
Places:

All places, such as CNG stations, hospitals, resteraunts, schools, banks etc willbe
categorized for your ease and facility.

15 | P a g e
Sequence diagram for Shortest path:
Select your destination and Tour Guide will guide you to your destination through
the shortest path.

16 | P a g e
Sequence diagram for Weather Forecast:
The system should inform the user about the weather forecast of the user’s current
city as temperature.

17 | P a g e
18 | P a g e
19 | P a g e
20 | P a g e

You might also like