Software Requirement Requirements s Specicati Specication on for Android App Mobile Sensor 1
SOFTWARE REQUIREMENTS SPECIFICATION (SRS)
AMS (Android App Mobile sensor )
Computer Sciences Department CIIT, Sahiwal
Apiril,08, 2016
COMSATS Institute of Information Technology, Sahiwal
1
Software Requirements Specication for Android App Mobile Sensor 2
Team Member Muhaa! A"i# Ra$a (Sp1%&'SCS&'&'&0) Su#*a+ Shaih (Sp1%&'SCS&'&'&06) • •
Reision !istory Date
Description
Author
Reason
Document Approal Th- #.ll./i+ S.#/ar- R-uir--+" Sp-3i43ai.+ ha" 5--+ a33-p-! a+! appr.-! 5* h- #.ll./i+7
Sup-ri"- '* Si+aur-
Table of Contents 2
a-
Software Requirements Specication for Android App Mobile Sensor 3
"# I$TROD%CTIO$##############################################################################################& 191 192 19% 19: 19=
PURPOSE99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 : SCOPE99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 : EFINITIONS , ACRON;MS, AN A''RE
'# ()$)RA* D)SCRI+TIO$################################################################################## 291 292 29% 29: 29=
PROUCT PERSPECTIARACTERISTICS999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 ?ENERA@ CONSTRAINTS99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999998 ASSUMPTIONS AN EPENENCIES 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 8
-# S+)CI.IC R)/%IR)M)$TS###############################################################################0 %91 ETERNA@ INTERFACE REQUIREMENTS 999999999999999999999999999999999999999999999999999999999999999999999999999999999999 8 3.1.1 User Interfaces....................................................................................................... 8 3.1.2 ardware Interfaces............................................................................................... 8 3.1.3 Software Interfaces................................................................................................ ! 3.1." #ommunications Interfaces.................................................................................... ! %92 FUNCTIONA@ REQUIREMENTS 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 3.2.1 Student Re$istration.............................................................................................. ! 3.2.2 Student Attendance Mana$ement.........................................................................! %9% USE CASES999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 10 3.3.1 Use #ase %ia$rame.............................................................................................. 1& 3.3.2 'R %ia$rame........................................................................................................ 11 %9:NON&FUNCTIONA@ REQUIREMENTS 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 11 3.".1 (erformance......................................................................................................... 11 3.".2 Reliabilit)............................................................................................................. 12 3.".3 A*ailabilit)............................................................................................................ 12 3."." Securit)................................................................................................................ 12 3.".+ Maintainabilit)...................................................................................................... 12 3."., (ortabilit)............................................................................................................. 13 %9=ESI?N CONSTRAINTS999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999991%
%
Software Requirements Specication for Android App Mobile Sensor "
"#1#
Introduction
"#"# +urpose Th- purp."- .# hi" !.3u-+ i" . pr-"-+ a !-ail-! !-"3ripi.+ .# hA+!r.i! App /ih M.5il- "-+".r9 Our .al /a" . !--l.p a .5il- appli3ai.+ ai-! a !*+ai3all* "-+".r, !-p-+!i+ .+ .ur A+!r.i! 5a"- -+ir.+-+9 Th.rii+al i!-a 3a- #r. h- "ai3 "-+".r, /- -+ha+3- i a+! a- .5il- "-+".r 3apa5ili* /h."- !--3 -+ir.+-+ -p-raur-, -"ur- -39 ar.u+! u" a+! all pair i- all !-ail . i" "-r-r9 I /ill -Bplai+ h- purp."- a+! #-aur-" .# h-
"*"-, h- i+-r#a3-" .# h- "*"-, /ha h- "*"- /ill !., h3.+"rai+" u+!-r /hi3h i u" .p-ra- a+! h./ h- "*"- /ill r-a3 . -B-r+al "iuli9
"#'# Scope of +ro2ect Our pr.-3 .5il- "-+".r /hi3h i" 3.5i+ai.+ .# hr-- hi+" A+!r.i!, W-5 a+! Cl.u!9 W- !-"i+ a+!r.i! app /hi3h i" u"-! 5* a u"-r a+! 3.++-3 . !aa5a"- /hi3h i" h."-! .+ 3l.u! hr.uh /-5 appli3ai.+ pr.rai+ i+-r#a3-9 Our goal was to develop a mobile application aimed at dynamically sensor, depending on our Android base environment. The original idea came from the static sensor, we enhance it and make mobile sensor capability whose detect environment temperature, gesture etc. around us and all pair give all detail to its server.
"#-# Ob2ecties Th- .5-3i- .# hi" pr.-3 i" . !--l.p .5il- "*"-" . r-3.+i$hua+ a3ii* a+! u"-r 3.+-B /ih !*+ai3all* ar*i+ "-+".r "-up", u"i+ .al .ri-+-!, 3..p-rai- "-+"i+9 W- r-#-r . "u3h "*"-" a" .pp.ru+i"i3, "i+3- h-* a- a!a+a- .# "-+"i+ .!alii-" ha u" happ-+ . 5- aaila5l-, rah-r ha+ #.r3i+ h- u"-r . !-pl.* "p-3i43, appli3ai.+ !-p-+!-+ "-+".r "*"-"9 Thi" "-+".r l- - +./ a5.u h- -+ir.+-+ .# h- p-r".+ /h. i" 3.++-3-! . - hr.uh i" appli3ai.+9 Al". pr.i!- h- #a3ili* .# 3hai+ /ih pair-! p-.pl-9 :
Software Requirements Specication for Android App Mobile Sensor +
"#-# (lossary Term Cl.u! A"p aa5a"Sl Fi-l! 9N-
De3nition aa i" h."-! .+ 3l.u! (a "-r-r) A3i- S-r-r Pa- i" a "-r-r "i!- la+uaC.ll-3i.+ .# all h- i+#.rai.+ .+i.r-! 5* hi" "*"-9 Sru3ur- Qu-r* @a+uaA 3-ll /ihi+ a #.r9 A #ra-/.r 5uil! 5* Mi3r.".# 'a"i3all* a 3.ll-3i.+ .# 3la""-"
M-5-r
A -5-r .# h- >i".ri3al S.3i-* li"-! i+ h- >S !aa5a"-9
R-a!-r R-i-/
A+*.+- i"ii+ h- "i- . r-a! ari3l-"9 A /ri-+ r-3.-+!ai.+ a5.u happr.pria-+-"" .# a+ ari3l- #.r pu5li3ai.+D a* i+3lu!- "u-"i.+" #.r ipr.--+9 A p-r".+ ha -Bai+-" a+ ari3l- a+! ha" ha5ili* . r-3.-+! appr.al .# h- ari3l- #.r pu5li3ai.+ .r . r-u-" ha 3ha+-" 5a!- i+ h- ari3l-9 A !.3u-+ ha 3.pl--l* !-"3ri5-" all .# h- #u+3i.+" .# a pr.p."-! "*"- a+! h3.+"rai+" u+!-r /hi3h i u" .p-ra-9 F.r -Bapl-, hi" !.3u-+9 a+ .p-+&".ur3- .p-rai+ "*"- u"-! #.r "arph.+-" a+! a5l- 3.pu-r" Su!-+" a+! T-a3h-r"
R-i-/-r
S.#/arR-uir--+" Sp-3i43ai.+ A+!r.i! U"-r
"# References
hp7"a3.-r./93.u-"i.+"%061%r-3.-+!&a&..!&
a+!r.i!&u.rial&/ih&"-p&5*&"-p&-Bapl-" hp7///9"i-p.i+93.12&a+!r.i!&u.rial"&5-i++-r"
hp7!--l.p-r9a+!r.i!93.rai+i+i+!-B9hl
hp7///9#r.!-93.201%12T.p&A+!r.i!&'.."9hl hp7///9.+li+-pr.rai+5.."93.a+!r.i! hp"7///9*.uu5-93./a3hGHr/rMN@21!>;
=
Software Requirements Specication for Android App Mobile Sensor ,
"#4# Oeriew of Document Th- +-B 3hap-r, h- O-rall -"3ripi.+ "-3i.+, .# hi" !.3u-+ i-" a+ .-ri-/ .# h- #u+3i.+ali* .# h- pr.!u39 I !-"3ri5-" h- i+#.ral r-uir--+" a+! i" u"-! . -"a5li"h a 3.+-B #.r h- -3h+i3al r-uir--+" "p-3i43ai.+ i+ h- +-B 3hap-r9 Th- hir! 3hap-r, R-uir--+" Sp-3i43ai.+ "-3i.+, .# hi" !.3u-+ i" /ri-+ priaril* #.r h- !--l.p-r" a+! !-"3ri5-" i+ -3h+i3al -r" h- !-ail" .# h#u+3i.+ali* .# h- pr.!u39 '.h "-3i.+" .# h- !.3u-+ !-"3ri5- h"a- ".#/ar- pr.!u3 i+ i" -+ir-*, 5u ar- i+-+!-! #.r !i-r-+ au!i-+3-" a+! hu" u"- !i-r-+ la+ua-9
'# (eneral Description '#" +roduct +erspectie Th- pr.!u3 M.5il- S-+".r, i" a+ i+!-p-+!-+ pr.!u3 a+! !.-" +. !-p-+! .+ a+* .h-r pr.!u3 .r "*"-9 Th- pr.!u3 /ill au.a- ari.u" a"" a"".3ia-! /ih ha+!li+ "u!-+ !-ail" a+! 5--r .ra+i$i+ h- ".r-! i+#.rai.+ a+! .piu p-r#.ra+3-, hu" h-lpi+ h- -a3h-r" . -+"ur"..h /.ri+ .# h-"- pr.3-""-"9
'#' +roduct .unctions Our "*"- ha" /. *p-" .# a33-""i+ .!-", 19 A!i+i"ra.r 29 U"-r
i5 Administrator6 All I+#.rai.+ i" a+a-! 5* A!i+i"ra.r9 A!i+i"ra.r ha" . up!a- a+! .+i.r h- pair p-.pl- !-ail", a!! a +-/ u"-r, pr.i!- r-i"-r +u5-r #.r all u"-r", a""i+ -a3h u"-r a "-3uri* 3.!- -39, A!i+i"ra.r 3a+ up!a- hi" pr.4l-, a+! al". 3a+ i- h-lp . h- all u"-r"9 Thi" "u5"-3i.+ .# h- SRS "h.ul! pr.i!- a "uar* .# h- #u+3i.+" ha h- ".#/ar- /ill p-r#.r9
ii5 %ser6 Th-r- ar- /. *p-" .# u"-r"7 •
)D%CATIO$A* *)7)*6 A l-a" u"-r .# h- "*"- "h.ul! 53.#.ra5l- /ih E+li"h la+ua-9
6
Software Requirements Specication for Android App Mobile Sensor -
T)C!$ICA* )8+)RTIS)6
U"-r "h.ul! 5- 3.#.ra5l- u"i+ -+-ral purp."- appli3ai.+" .+ h- .5il- ph.+-"9
•
Thi" ".#/ar- i-" a33-"" . /. i+!" .# u"-r"9
"# Administrator7 Th- p-r".++-l a+! --l.p-r /ill ha- a!i+i"ra.r a33-"" . a!!, !-l-- a+! .!i#* i+#.rai.+ ".r-! i+ h- !aa5a"-9
'# Authori9ed %ser7 Auh.ri$-! P-.pl- /ill ha- a33-"" . .+l* i-/ h!aa ".r-! i+ h- !aa5a"- a+! 3a+ up!a- h- 3.ll-3-! I+#.rai.+ i+ h#.r .# #.ra-! r-p.r"9
'#& (eneral Constraints
A+!r.i! Su!i. i" r-uir-! #.r ru++i+ a+!r.i! appli3ai.+
'#4 Assumptions and Dependencies Th-r- ar- #.ll./i+ A""upi.+" a+! -p-+!-+3i-" .# .ur M.5il- S-+".r Appli3ai.+
The application needs to tell people about the save place should have the updated and complete maps
Application is dependent on access to internet for the location access.
U"-r" /ih a!i+i"ra.r a33-"" "h.ul! 5- 3ar-#ul i+ !-l-i+ .r .!i#*i+ a+* i+#.rai.+ +./i+l* .r u++./i+l* /hi3h /ill l-a! . i+3.+"i"-+3* .# h- !aa5a" Th- -+! u"-r" .# hi" ".#/ar- ar- a""u-! . ha- 5a"i3 l--l .# a+!r.i! .5il- +./l-!- i9-9 p.i+ a+! 3li39
-# Speci3c Re:uirements -#" );ternal Interface Re:uirements -#"#" %ser Interfaces
?UI al.+ /ih -a+i+#ul Fra-" a+! 5u.+" -39
Software Requirements Specication for Android App Mobile Sensor 8
R-p.r" ar- -+-ra-! a" p-r h- r-uir--+
A+!r.i! App /hi3h i" u"-! 5* #a3ul* -5-r #.r a- a-+!a+3- .# "u!-+
-#"#' !ardware Interfaces
>ar!/ar- E+ir.+-+ ual C.r- 2+! -+-rai.+
A+!r.i! M.5il- -i3-" W.r"ai.+ /ih RAM 6 ?'
Op-rai+ "*"- Wi+!./" P
-#"#- Software Interfaces Fr.+ E+! i" .# /-5"i- i" a!- i+ a"p9+- a+! 'a3&E+! /- ar- u"i+ Sl aa5a"- "-r-r, al". u"- a" a #r.+ E+! a+!r.i! appli3ai.+ 'a3 -+!7 M*SQ@, P>P, A"p9+- Fr.+ -+!7 A+!r.i! Su!i., E3lip"• •
-#"#& Communications Interfaces Th- "*"- /ill 3.u+i3a- hr.uh I+-r+- Wi Fi "i+al . a33-"" 3-+ral !aa 5a"-
-#' .unctional Re:uirements Th- #u+3i.+al r-uir--+" .# "*"- ar- #.ll./i+7 REQ&F17 Th- A!i+ /ill 5- a5l- . a+a- all h- !aa a5.u 4-l!"9 REQ&F27 Th- A!i+ /ill 5- a5l- . a+a- all h- u"-r"9 REQ&F%7 Th- "*"- /ill -+-ra- au. pa""/.r! i+ 3a"- .# #.r- pa""/.r!9 REQ&F:7 Th- A!i+ /ill 5- a5l- . a+a- .r up!a- all h- u-"i.+" a"-! #r. h- u"-r a5.u !i-r-+ 3r.p" 9 REQ&F=7 Th- "*"- /ill 5- a5l- . a+a- h- !ail* r./h .# !aa .+ h5a3-+!9 REQ&F67 Th- "*"- /ill i- au. r-"p.+"- . h- u"-r .+ h- 5a"- .# rul-" !-4+-! .+ 5a3-+!9
-#-#" %se case Diagram
8
Software Requirements Specication for Android App Mobile Sensor !
-#-#' )R Diagram
-#-#' Data .low Diagram
Software Requirements Specication for Android App Mobile Sensor 1&
-#& $on<.unctional Re:uirements N.+&Fu+3i.+al r-uir--+" 3a+ 5- !-4+-! a" h- 3.+"rai+" .r 3h-3" .+ h- #u+3i.+ .r "-ri3-" pr.i!-! 5* h- "*"- "u3h a" 3.+"rai+ .# i-, 3.+"rai+" .+ h- !--l.p-+ pr.3-"" a+! "a+!ar!"9
REQ&NF17 S*"- "hall pr.i!- 5--r P-r#.ra+3- a+! r-"p.+"- 9 REQ&NF27 S*"- "hall pr.i!- S-3uri* a+! Sa#-* . h- u"-r9 REQ&NF%7 S*"- "hall pr.i!- ..! Quali* i+ 3a"- .# 5--r "u-"i.+" a5.u hi" h-r u-ri-"9
REQ&NF:7 S*"- u" 5- -J3i-+9 REQ&NF=7 S*"- u" 5- u"-r i+-ra3i-9 -#" +erformance Ea"* ra3i+ .# r-3.r!" a+! up!ai+ 3a+ 5- !.+-9 All h- r-uir--+" r-lai+ . p-r#.ra+3- 3hara3-ri"i3" .# h- "*"- ar- "p-3i4-! i+ h"-3i.+ 5-l./9 Th-r- ar- /. *p-" .# r-uir--+"9 10
Software Requirements Specication for Android App Mobile Sensor 11
A# Static Re:uirements Th-"- r-uir--+" !. +. ip."- a+* 3.+"rai+" .+ h- -B-3ui.+ 3hara3-ri"i3" .# h"*"- Th-"- ar-7
"5 $umber of Terminals6 Th- ".#/ar- a-" u"- .# a+ u+!-rl*i+ !aa5a"- ha /ill r-"i!- a h"-r-r, /hil- h- #r.+ -+! /ill 5- aaila5l- .+li+- . h- a!i+i"rai- a+! !-par-+al 3.pu-r" a" /-ll a" "u!-+" a+! -a3h-r"9
'5 $umber of %sers6 Th- +u5-r .# u"-r" a* ar*, a" hi" ".#/ar- 4+!" appli3ai.+" i+ al." all !-par-+ .# h- .ra+i$ai.+9
=# Dynamic Re:uirements Th-"- "p-3i#* 3.+"rai+" .+ h- -B-3ui.+ 3hara3-ri"i3" .# h- "*"-9 Th-* *pi3all* i+3lu!- r-"p.+"- i- a+! hr.uh.u .# h- "*"-9 Si+3h-"- #a3.r" ar- +. appli3a5l- . h- pr.p."-! ".#/ar-, i /ill "uJ3- i# hr-"p.+"- i+- i" hih a+! h- ra+"a3i.+" ar- 3arri-! .u pr-3i"-l* a+! ui3l*9
-#' Reliability Th- ".#/ar- /ill +. 5- a5l- . 3.++-3 . h- 3-+rali$-! !aa5a"- i+ h--+ ha h- 3.ll-- @AN #ail" .r i+ h- --+ .# h- "-r-r 5-i+ !./+ !u. a har!/ar- .r ".#/ar- #ailur-9
-#- Aailability Th- ".#/ar- /ill 5- aaila5l- .+l* . auh.ri$-! u"-r" .# h- 3.pa+* .r .ra+i$ai.+9 U"-r al/a*" 5- a +./+ p-r".+9
-#& Security Th- "-3uri* r-uir--+" !-al /ih h- priar* "-3uri*9 Th- ".#/ar"h.ul! 5- ha+!l-! .+l* 5* h- a!i+i"ra.r a+! auh.ri$-! u"-r"9 O+l* ha!i+i"ra.r ha" rih . a""i+ p-ri""i.+ li- 3r-ai+ +-/ a33.u+" a+! -+-rai+ pa""/.r!9 O+l* auh.ri$-! u"-r" 3a+ a33-"" h- "*"- /ih u"-r+a- a+! pa""/.r!9
-# Maintainability 'a3up" #.r !aa5a"- ar- aaila5l-9 Thi" app /ill 5- -a"il* ai+ai+a5l-9
11
Software Requirements Specication for Android App Mobile Sensor 12
-# +ortability Th- S.#/ar- i" a+ A+!r.i! a+! /-5&5a"-! appli3ai.+ a+! i" 5uil i+ A+!r.i! "u!i., A"p9+- a+! SQ@ "-r-r ". i i" pla#.r i+!-p-+!-+ a+! i" i+!-p-+!-+ .# .p-rai+ "*"-9
-#4 Design Constraints Thi" ".#/ar- pr.i!-" "-3uri*9 Th- l.i+ #.r pr--+" h- "*"- #r. 5-i+ i"u"-! 5* u+auh.ri$-! u"-r"9 O+l* a+ auh.ri$-! .p-ra.r /ill 5ra+-! rih" . .!i#* a" p-r r-uir--+"9 Thi" ".#/ar- i" al". r-lia5la+! #aul .l-ra+9 Th- "*"- !--l.p-! i" !-"i+-! . ha+!l- i+ali! i+pu"9 Si+3- r-lia5ili* i" a.r ar-a .# 3.+3-r+ h- "*"- ha" a 5a3up . a.i! !aa l.""9 Th- u"-r "h.ul! +./ h- pr.rai+ la+ua- -r* /-ll ha i" u"-! . !--l.p a ".#/ar-9
-#4#" Standard Compliance6 Thi" "p-3i4-" h- r-uir--+" #.r h"a+!ar!" h- "*"- u" #.ll./9 Th- "a+!ar!" a* i+3lu!- h- r-p.r #.ra a+! a33.u+i+ pr.p-ri-"9
-#4#' !ardware *imitations6 Th- ".#/ar- a* ha- . .p-ra- .+ ".- -Bi"i+ .r pr-!--ri+-! har!/ar-, hu" ip."i+ r-"ri3i.+" .+ h!-"i+9 >ar!/ar- liiai.+" 3a+ i+3lu!- h- *p-" .# a3hi+-" . 5- u"-! i+ a5ula+3-", .p-rai+ "*"- aaila5l- .+ h- "*"-, la+ua-" "upp.r-! a+! lii" .+ priar* a+! "-3.+!ar* ".ra-9
-#4#-
Reliability
and
.ault
Tolerance6
Faul .l-ra+3r-uir--+" 3a+ pla3- a a.r 3.+"rai+ .+ h./ h- "*"- i" . 5!-"i+-!9 Faul .l-ra+3- r-uir--+" .#-+ a- h- "*"- .r- 3.pl-B a+! -Bp-+"i-9 R-uir--+" a5.u "*"- 5-hai.r i+ h- #a3- .# 3-rai+ i+!" .# #aul" ar- "p-3i4-!9 R-3.-r* r-uir--+" ar- .#-+ a+ i+-ral par h-r-, !-aili+
12