SDA Doc Final

12
 SOFTWARE DESIGN & ARCHITECTURE PROJECT DOCUMENTATION MAY 19, 2014 Group Members: BESE-3A Reg. No. Abbas Ali 289 Muhammad Hussain Rana 235 Afnan Sharief 2 5 Aakash Parkash 778

Transcript of SDA Doc Final

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 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 2 5

Aakash Parkash 778

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 2/12

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 callthat 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. 

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 3/12

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 tosilent 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 findyour 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

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 4/12

 

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.

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 5/12

 

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.

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 6/12

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.

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 7/12

Or Does it catter

surrounding noise?

phone. speech

recognition.

3 Ring the phone by

speech recognition.

1.Call out the

keyword set for

the applicationinstalled on

phone.

Match the voice

recognized

through voicerecognition and

keyword stored

in application.

Ring will be

ringed if input

and storedkeyword

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.

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 8/12

 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

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 9/12

Class Diagram

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 10/12

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 11/12

 

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

8/12/2019 SDA Doc Final

http://slidepdf.com/reader/full/sda-doc-final 12/12