Вы находитесь на странице: 1из 12

SOFTWARE DESIGN & ARCHITECTURE

PROJECT DOCUMENTATION
MAY 19, 2014
Group Members:
BESE-3A Reg. No.
Abbas Ali 289
Muhammad Hussain Rana 235
Afnan Sharief 205
Aakash Parkash 778





Table of Contents

Table of Contents ................................................................................................................................ 0
1.0.Introduction .................................................................................................................................... 2
2.0.Scope .................................................................................................................................................. 2
3.0.Objective .......................................................................................................................................... 3
4.0. Functional Requirements ...................................................................................................... 4
5.0.Non Functional Requirements ............................................................................................. 5
6.0. Architecture .................................................................................................................................. 5
7.0.Test Cases ........................................................................................................................................ 6
8.0.Use Case Diagrams .................................................................................................................... 7
9.0.Class Diagrams ............................................................................................................................. 8
10.0.Sequence Diagrams ................................................................................................................. 9



Introduction:
Our semester project is an android app that will respond to user on calling a
particular name. The user will first set a name for its mobile and then if he loses
his phone or forgets after putting it somewhere in his house or office, he will call
that name and the phone will start ringing if he calls the correct name. The range
of voice recognition will be limited to one room.

Scope:
Scope of the application is limited , it will operate only 2 to 5 meter range in
length approximetaly equal to one normal room of 14 x 13 sq meter.



Objective:
This application will help people to find their mobile ,if mobile is available in
limited range.It will work in silent mode as well means sometimes our mobile is in
silent mode , when we call to our phone , we are unable to find our phone due to
silent mode, mobile was unable to ring the phone, so this application will ring
your phone even your mobile is in silent mode.Sometimes people disconnect your
sim from mobile when they found your mobile after that it is impossible to call on
mobile , so this app will run instead of your sim disconnected from phone.




Limitations:
1- The range of application is limited means it is applicable to room space only
even less than it.
2- The phone must be switched on always to access this application or to find
your mobile.
3- Sometime due to noise of surrouding it will not interpret the same word as
user spoke.
4- It will not interpret the words other than English like (abbas , hussain,
mitho , pandey , saxena) etc







Functional Requirements:
1-Assign a name(keyword) to your application.
2-Alter name facility also available.
3-Save the name(keyword) into file using file handling.
4-Convert speech to text through speech recognition.
5-The spoken word will interpret same as user speaks.
6-Use the saved name(keyword) with name converted through speech
recognition for matching.
7-After successfull match mobile will ring.
8-Application would catter surrounding noise.
9-If mobile is in silent mode by default instead of this it must ring the phone.









Non-Functional Requirements:
1-Application will run 24/7 in background.
2-Surroundings sound will not impact speech recognition.
3-Application range will be enough means will operate in room space.
4-Response time should be less, as user will find his phone quickly.
5-If mobile is covered under some th , it will still catch the voice command and
will respond to it.

Architecture:
The architectural pattern we had used is pipe and filter,because stream of data is
passed through a series of processes.The processes are working concurrently in
the application.The processes are shown in component diagram below.







Componenet Diagram:




Test Cases:
Test Case ID Test Objective Steps Test Data Expected Result

1

Set name(keyword) in
application to ring
mobile.


1. Go to the
option named
settings in
application
installed.

2. Change the
name by giving
new name in
new name
textbox.

Will the new
name inserted
correctly?
By running app
we can test is
name inserted
correctly or not?





Mobile will be
ringed after
successfull run of
application.

2
Is speech recognized
correctly means
speach to text
worked fine.
1.Call out the
keyword set for
the application
installed on

Keywords stored
in database and
recognized by
If speech to text
worked fine , the
phone will ring
otherwise not.
Or Does it catter
surrounding noise?
phone.

speech
recognition.

3

Ring the phone by
speech recognition.

1.Call out the
keyword set for
the application
installed on
phone.


Match the voice
recognized
through voice
recognition and
keyword stored
in application.

Ring will be
ringed if input
and stored
keyword
matched.



4

Change
name(keyword) in
application to ring
mobile.


1. Go to the
option named
settings in
application
installed.

2. Change the
name by giving
new name in
new name
textbox.

Will the new
name inserted
correctly?
By running app
we can test,
is name
inserted
correctly or not?




Mobile will be
ringed after
successfull run of
application.











Use Case Diagrams:










assign name
change name
call phone
capture voice
convert speech to text
change phone settings
User
close app running in background
System
ring the phone
Class Diagram













Sequence Diagrams:
Scenario 1: Call your phone by speaking its name.








: user : user
: GUI : GUI : system : system : conversion : conversion : Database : Database
interact
speak to phone
convert to text
return converted speech
match for name
name matched
respond to user
name not matched
keep silent
opt


Scenario 2: Assign a name to your phone.








: USER : USER
: GUI : GUI : set_name : set_name : system : system : Database : Database
enter name
set name
assign_name(name)
store
name successfully stored
name successfully assigned
name successfully set

Вам также может понравиться