Srs Smart City Edit
-
Upload
kishan-padariya -
Category
Documents
-
view
224 -
download
6
Transcript of Srs Smart City Edit
-
8/18/2019 Srs Smart City Edit
1/53
SRM UNIVERSITY
SMART CITYSOFTWARE REQUIREMENT
SPECIFICATION (DEPARTMENT OF SWE)
BY :
SAGAR VIRMANI
(1201310080)
KISHAN PADARIYA
(1201310122)
Page 1
-
8/18/2019 Srs Smart City Edit
2/53
INDE
S. No. Content Page No.
1! I"#$%&'#%" 3*+
1.1 Purpose 3
1.2 Scope 3
1.3 Defnition, Acronyms, and Abbreviations 4
1.4 e!erences "
1." #ec$no%ogies "
1.& 'vervie( &
2! O,-$.// D-$#%" +*23
2.1 Product Perspective &
2.2 So!t(are )nter!ace *
2.3 +ard(are )nter!ace *
2.4 Communication )nter!ace *
2." Product unction -
2.& ser C$aracteristics -
2.* Constraints -
2.- Arc$itecture Design /
2./ se0Case ode% Description 1
2.1 C%ass Diagram 13
2.11 ntity0e%ation Diagram 1&
2.11 Database design 1/
2.12 Assumptions and Dependencies 22
3! S- R-'$-4-"# 23*56
3.1 se0Case eports 23
3.2 Supp%ementary euirements 4/
Page 2
-
8/18/2019 Srs Smart City Edit
3/53
1! INTRODUCTION
1!1 P'$%-
Smart city provides a (eb0based p%at!orm to a city!or t$e ua%ity it $as %i5e t$e business opportunities, $ot
tourist destinations, a guide to an outsider about
everyt$ing $e (ants, and a%so c$arge money !rom
peop%e !or using some paid services.
)! you are desirous to give a (eb based p%at!orm to
your city to be s$o(cased !or a%% it $as in terms o!
uniue business, p%aces to see, t$ings to do, use %oca%
transport !or ne( trave%er 6 $o( (ou%d you structuret$is in!ormation and a%so try and ma5e some money by
c$anging peop%e !or at %east 4 services you may o7er.
1!2 S%-
Create di7erent system users and assign di7erent
ro%es (it$ re%ated permissions.
anage a%% t$e account detai%s suc$ as user name,company, p$one numbers, address, emai%addresses o! t$e entire customer !rom one centra%%ocation.
#rac5 a%% t$e customers and t$eir contact detai%s.
aintain t$e services provided to t$e customer
t$roug$ Service 8eve% agreements.
Comp%ete ap o! t$e city (it$ 5ey mar5ets and
p%aces to see ar5ed 6pre!erab%y usage o! staticmap and %ive map option.
Comp%ete +istory o! t$e city 6 socia%, po%itica%.
Comp%ete overvie( o! t$e businesses in t$e city.
Secure registration o! a%% users inc%uding a
persona% prof%e 6 on%y at t$e time o! transaction
providence.
Page 3
-
8/18/2019 Srs Smart City Edit
4/53
Comp%ete Searc$9Site ap o! t$e entire site !or
easy access.
Start at %east 4 paid services %i5e S..S a%erts !or
city ne(s, mar5et dai%y rates etc.
8oca% ne(s, government notices, update.
aci%itate communication bet(een user, e:perts
and genera% pub%ic t$roug$ discussion
!orums9c$ats9mai%s9po%%s! 8oca% %anguage support at user0inter!ace and
Database %eve%.
1!3 D-"#%"7 A$%"47 ."& A99$-,.#%"
S!!A: Service 8eve% Agreement is a !orma%
(ritten agreement made bet(een t(o parties t$e
service provider and t$e service recipient. )t
defnes t$e term o! engagement0t$e !undamenta%
ru%es t$at (i%% govern t$e re%ations$ip.
S'%$# T$.".#%": Communication bet(een
support manager and t$e customer regarding t$e
service provided, uery and !eedbac5.
P.4-"# T$.".#%": #ransaction bet(een
account manager and t$e customer !or a%% t$e
services being used.
P-$%"./ D-#./: Detai%s o! customer suc$ as
username, company, Address, e0mai% etc.
C%"#.# D-#./: Detai%s o! contact persons
associated (it$ t$e customer.
HTM: +yperte:t ar5up 8anguage is a mar5up
%anguage used to Design static (eb pages.
;!S!P: ;ava Server Pages is used to create
dynamic (eb content.
E;B: nterprise ;ava
-
8/18/2019 Srs Smart City Edit
5/53
app%ications based %arge%y on modu%ar so!t(are
components.
DB2: De:ib%e and cost e7ective
Database p%at!orm to bui%d obust on demandbusiness app%ications.
WAS: ?eb sp$ere App%ication Server is an
app%ication server t$at uns business app%ications
and supports t$e ;2 and (eb services
Standards.
WSAD: ?eb sp$ere Studio App%ication Deve%oper
is a too%5it ($ic$ is designed !or t$e creation o!
t$e more comp%e: pro=ects, providing !u%%ydynamic (eb app%ication using ;
-
8/18/2019 Srs Smart City Edit
6/53
1!5 R-?-$-"-
) SS ormat
Prob%em Defnition BProvided by )
-
8/18/2019 Srs Smart City Edit
7/53
#$e (eb pages B+#89;SP are present to provide t$e user
inter!ace on customer c%ient side. Communication bet(eencustomer and server is provided t$roug$ +##P9+##PS protoco%s.
#$e C%ient So!t(are is to provide t$e user inter!ace on
system user c%ient side and !or t$is #CP9)P protoco%s are used. 'n
t$e server side (eb server is !or ;< and Database server is !or
storing t$e in!ormation.
2!2 S%?#.$- I"#-$?.- C/-"# %" I"#-$"-#: ?eb
-
8/18/2019 Srs Smart City Edit
8/53
CIENT SIDE
P$%-%$ RAM D .-
)nternet e:p%orer
&.
Pentium )) at
"+F
&4 < 1<
SERVER SIDE
?< SP+APP8)CA#)'NSG G".
Pentium ))) at
1+F
"12
<
2 <
D
-
8/18/2019 Srs Smart City Edit
9/53
2!+ U-$ C.$.#-$#
very user s$ou%d be com!ortab%e o! (or5ing (it$
computer and net bro(sing.
2! C%"#$."#
) is on%y in ng%is$.
8ogin and pass(ord is used !or identifcation o!
customer and t$ere is no !aci%ity !or guest.
#$is system is (or5ing !or sing%e server.
#$ere is no maintainabi%ity o! bac5 up so
avai%abi%ity (i%% get a7ected.
8imited to +##P9+##PS.
2!8 A$#-#'$- D-"
Page /
-
8/18/2019 Srs Smart City Edit
10/53
Figure: - High Level Architecture of Smart City
2!6 U-*C.- M%&-/ D-$#%"
Page 1
-
8/18/2019 Srs Smart City Edit
11/53
USE CASE DIAGRAM
Page 11
-
8/18/2019 Srs Smart City Edit
12/53
(A) A&4"#$.#%$
esponsib%e !or managing system users, vie(ing %ogs
and managing standard groups o! t$e system.
M.".- S#-4 U-$: #$e Administrator (i%%create di7erent ro%es. #$e system users (i%% be
created and (i%% be assigned (it$ t$e di7erent ro%es.
ore t$an one tas5 and permissions can be granted
or revo5ed !rom t$e system users.
V- %: esponsib%e !or c$ec5ing t$e %ogs o!
di7erent system user !or auditing and maintaining
t$e integrity o! t$e system.
M.".- S#."&.$& G$%': Standard groups (i%% be
created and updated by t$e administrator, ($ic$ (i%%
be visib%e to a%% t$e system users.
V- A// D-#./: Gie( t$e customer detai%s,
payment detai%s, purc$ase detai%s, dai%y service
transaction detai%s.
U&.#- #- #-4: updating o! t$e in!ormation onsystem (i%% be done.
(B) S'%$# M.".-$
esponsib%e !or managing and updating paid services,
providing in!ormation on (ebsite !or access by customer.
V- A// D-#./: Gie( t$e customer detai%s,
payment detai%s, dai%y service transaction detai%s. M.".- .& -$,-: management o! paid
services (i%% be done.
U&.#" .& -$,-: updating o! paid services
(i%% be done.
Page 12
-
8/18/2019 Srs Smart City Edit
13/53
P$%,&- "?%$4.#%": in!ormation on (ebsite !or
access purpose (i%% be provided by support
manager.
(C) A%'"# M.".-$
anage a%% t$e payment detai%s Bo! t$e services used.
M.".- P.4-"# T$.".#%": Store a%% t$e
payment transactions made by t$e customer and
update t$e payment in!ormation.
V- A// D-#./: Gie( t$e customer detai%s,payment detai%s, dai%y service transaction detai%s.
(D) H-/ M.".-$
esponsib%e !or $and%ing on%ine $e%p and management
o! discussion !orums etc.
M.".- %"/"- -/: management o! on%ine $e%p
(i%% be done. M.".- &'%" ?%$'4: management o!
discussion !orums and c$ats etc (i%% be done.
(E) C'#%4-$
Person9Company ($o is !aci%itated by t$e system.
V- O" D-#./: Customer can vie( $is persona%
detai%s, payment detai%s, detai%s about servicesprovided and t$e transaction detai%s !or t$e services.
A- "?%$4.#%": Customer (i%% access
in!ormation on (ebsite !or $is usage.
A- .& -$,-: Customer (i%% access t$e
paid services provided by t$e system %i5e sms a%erts.
Page 13
-
8/18/2019 Srs Smart City Edit
14/53
P. ?%$ .& -$,-: Customer (i%% pay !or t$e
paid services ($ic$ $e $as subscribed to.
2!10 C/. D.$.4
(A) A&4"#$.#%$
Page 14
-
8/18/2019 Srs Smart City Edit
15/53
(B) S'%$# M.".-$
Page 1"
-
8/18/2019 Srs Smart City Edit
16/53
(C) A%'"# M.".-$
Page 1&
-
8/18/2019 Srs Smart City Edit
17/53
(D) H-/ M.".-$
(E) R-%$#
Page 1*
-
8/18/2019 Srs Smart City Edit
18/53
2!11 E"##*R-/.#%" D.$.4
(A) A&4"#$.#%$
(B) S'%$# M.".-$
Page 1-
-
8/18/2019 Srs Smart City Edit
19/53
(C) A%'"# M.".-$
(D) H-/ M.".-$
Page 1/
-
8/18/2019 Srs Smart City Edit
20/53
(E) R-%$#
2!12 D.#.9.- D-"
Page 2
-
8/18/2019 Srs Smart City Edit
21/53
(A) C'#%4-$
S!
N%!
F-/& N.4- D.#.
T-
K- D-$#%"
1. Customer )D Garc$arB2
oreign
,
Primar
y
)d o! t$e customer
2. Name Garc$arB"
Name o! t$e customer
3. ser Name Garc$arB2
ser name o! t$e
customer
4. Pass(ord Garc$arB2
Pass(ord o! t$e
customer". at$er@s
Name
Garc$arB"
at$er@s name o! t$e
customer&. Street Garc$arB"
Street o! t$e customer
*. City Garc$arB4
City o! t$e customer
-. District Garc$arB4
District o! t$e customer
/. State Garc$arB4
State o! t$e customer
1. Contact No.
-
8/18/2019 Srs Smart City Edit
22/53
y,
oreign
manager
2. Name Garc$arB2
oreign Name o! t$e manager
3. ser Name Garc$arB2
ser name o! t$ecustomer
4. Pass(ord Garc$arB2
Pass(ord o! t$e
customer". Address Garc$arB"
Address o! t$e manager
&. Contact No.
-
8/18/2019 Srs Smart City Edit
23/53
(D) A%'"#
S!
N%!
F-/& N.4- D.#.
T-
K- D-$#%"
1. Account No. Garc$arB3
Account no o! t$e user
2. Account )D Garc$arB2
oreign niue ser id
4. #ype Garc$arB2
Account type
".
-
8/18/2019 Srs Smart City Edit
24/53
-
8/18/2019 Srs Smart City Edit
25/53
&. #erms I
ConditionsGarc$arB2
#erms I Conditions o!agreement
*. #ota% amount
-
8/18/2019 Srs Smart City Edit
26/53
11. 8e!t Amount
-
8/18/2019 Srs Smart City Edit
27/53
-
8/18/2019 Srs Smart City Edit
28/53
(B) Account anager
(C) +e%p anager
(D) ser
(E) Support anager
(A) A&4"#$.#%$
esponsib%e !or managing system users, vie(ing %ogs
and managing standard groups o! t$e system.
M.".- S#-4 U-$: #$e Administrator (i%%
create di7erent ro%es. #$e system users (i%% be
created and (i%% be assigned (it$ t$e di7erent ro%es.
ore t$an one tas5 and permissions can be granted
or revo5ed !rom t$e system users.
V- %: esponsib%e !or c$ec5ing t$e %ogs o!
di7erent system user !or auditing and maintaining
t$e integrity o! t$e system.
M.".- S#."&.$& G$%': Standard groups (i%% be
created and updated by t$e administrator, ($ic$ (i%%
be visib%e to a%% t$e system users.
V- A// D-#./: Gie( t$e customer detai%s,
payment detai%s, purc$ase detai%s, dai%y service
transaction detai%s.
U&.#- #- #-4: updating o! t$e in!ormation on
system (i%% be done.
Page 2-
-
8/18/2019 Srs Smart City Edit
29/53
N.4- %? '-*.-: V- #-4 '-$
D-$#%": vie( t$e %ist o! system users in a ro%e and vie(
t$e detai%s o! ro%es, tas5s, permissions assigned
P$-%"&#%":
Administrator $as a%ready %ogged in
System users $ave been a%ready created I assigned
some ru%es, tas5s I permissions
P%#*%"&#%": None
N%$4./ % %? -,-"#:
System user or ro%e (i%% be se%ected
Luery (i%% be submitted
Corresponding o9p (i%% be generated
A/#-$".#- % %? -,-"#: None
Page 2/
-
8/18/2019 Srs Smart City Edit
30/53
N.4- %? '-*.-: C$-.#- #-4 '-$
D-$#%": to create system users
P$-%"&#%": Administrator $as %ogged in
P%#*%"&#%": a %ogin 6id is generated
N%$4./ % %? -,-"#:
Ne( %ogin name, pass(ord, permissions, ro%es, tas5s
(i%% be entered
Save t$e detai%s
A/#-$".#- % %? -,-"#:
A message appears !or dup%icate %ogin name
Administrator $as to f%% detai%s again
Page 3
-
8/18/2019 Srs Smart City Edit
31/53
N.4- %? '-*.-: '&.#- &-#./ %? '-$
D-$#%": to update t$e detai%s o! users
P$-%"&#%":
Administrator $as a%ready %ogged in
System users $ave a%ready been created
P%#*%"&#%": None
N%$4./ % %? -,-"#:
Se%ect username
Assign or revo5e ro%es ,tas5s , permission
Page 31
-
8/18/2019 Srs Smart City Edit
32/53
N.4- %? '-*.-: V- /%D-$#%": #o vie( activities o! t$e system users
P$-%"&#%":
Administrator $as a%ready %ogged in
System users $ave a%ready been created
P%#*%"&#%": None
N%$4./ % %? -,-"#:
Se%ect username
Se%ect date
Page 32
-
8/18/2019 Srs Smart City Edit
33/53
N.4- %? '-*.-: V- .// &-#./
D-$#%": #o vie( customer detai%s, payment detai%s etc
P$-%"&#%":
Administrator $as %ogged in
Customer is a%ready $aving account
P%#*%"&#%": None
N%$4./ % %? -,-"#:
Se%ect customer name
Se%ect date
Page 33
-
8/18/2019 Srs Smart City Edit
34/53
N.4- %? '-*.-: U&.#- "?%$4.#%"
D-$#%": update in!ormation on system regarding
tourist destinations, business spots, paid services etc
P$-%"&#%": Administrator $as %ogged in
P%#*%"&#%": System updated success!u%%y
N%$4./ % %? -,-"#:
Ga%idate in!ormation
Se%ect t$e system area to be updated
Save t$e in!ormation
Page 34
-
8/18/2019 Srs Smart City Edit
35/53
(B) A%'"# M.".-$
esponsib%e !or management o! payment transaction
anagement o! payment transaction
Gie( detai%s
eceive payment
Ac5no(%edgment !or payment received
Page 3"
-
8/18/2019 Srs Smart City Edit
36/53
N.4- %? '-*.-: A&& .4-"# #$.".#%"
&-#./
D-$#%": A%% payment transaction detai%s are entered
P$-%"&#%": Account manager $as %ogged in
P%#*%"&#%": None
N%$4./ % %? -,-"#:
Se%ect customer
Se%ect service
Se%ect bi%% no.
nter detai%s o! receivab%es
Save receivab%es detai%s
pdate account o! customer
ntry o! t$is adding detai%s event $as been %ogged
A/#-$".#- % %? -,-"#:
)! t$e receivab%es (i%% %e!t to f%% t$en system as5 !or
ref%%ing a%% t$e b%an5 detai%s t$en save detai%s I
update account o! customer.
Page 3&
-
8/18/2019 Srs Smart City Edit
37/53
N.4- %? '-*.-: E&# .4-"# #$.".#%"
&-#./
D-$#%": previous%y entered payment transaction
detai%s are entered
P$-%"&#%": Account manager $as %ogged in
P%#*%"&#%": None
N%$4./ % %? -,-"#:
Se%ect customer
Se%ect service
Se%ect receipt no.
Se%ect payment transaction no.
Page 3*
-
8/18/2019 Srs Smart City Edit
38/53
-
8/18/2019 Srs Smart City Edit
39/53
Se%ect customer
Se%ect service
Se%ect receipt no.
Se%ect receivab%es detai%s
ive ac5no(%edgment
pdate customer account
ntry o! t$is Ac5no(%edgment event $as been %ogged
A/#-$".#- % %? -,-"#:
)! t$e receivab%es detai%s are not t$ere t$en system
reports an error and as5 !or rec$ec5.
(C) H-/ 4.".-$
Page 3/
-
8/18/2019 Srs Smart City Edit
40/53
esponsib%e !or management o! on%ine $e%p, discussion
!orums, c$ats etc.
'n%ine $e%p
Discussion !orums
N.4- %? '-*.-: O"/"- -/
D-$#%": management o! on%ine $e%p
P$-%"&#%": $e%p manager $as %ogged in
P%#*%"&#%": System updated success!u%%y
N%$4./ % %? -,-"#:
Se%ect area to update
a5e c$anges
Store c$anges
System $e%p updated success!u%%y
Page 4
-
8/18/2019 Srs Smart City Edit
41/53
N.4- %? '-*.-: 4.".- &'%" ?%$'47
.# -#
D-$#%": management o! discussion !orums c$ats etc.
P$-%"&#%": +e%p manager $as a%ready %ogged in
P%#*%"&#%": none
N%$4./ % %? -,-"#:
Se%ect customer !or $e%p
As5 !or uery
Ans(er uery
Page 41
-
8/18/2019 Srs Smart City Edit
42/53
-
8/18/2019 Srs Smart City Edit
43/53
N.4- %? '-*.-: V- %" &-#./
D-$#%": user (i%% vie( $is o(n detai%s
P$-%"&#%": user $as a%ready %ogged in
P%#*%"&#%": None
N%$4./ % %? -,-"#:
Se%ect t$e detai%
See t$e detai%
Page 43
-
8/18/2019 Srs Smart City Edit
44/53
N.4- %? '-*.-: A- %? "?%$4.#%" %"
-9#-
D-$#%": user (i%% access in!ormation on (ebsite
P$-%"&#%": user $as a%ready %ogged in
P%#0%"&#%": none
N%$4./ % %? -,-"#E
Se%ect area to see
Access in!ormation in area
N.4- %? '-*.-: A- .& -$,-
Page 44
-
8/18/2019 Srs Smart City Edit
45/53
-
8/18/2019 Srs Smart City Edit
46/53
-
8/18/2019 Srs Smart City Edit
47/53
Gie( a%% detai%s
anage paid services
pdate paid services
Provide in!ormation !or access on (ebsite
N.4- %? '-*.-: V- .// &-#./
D-$#%": support manager can vie( a%% detai%s o!
customers %i5e customer name, payment detai%s etc
Page 4*
-
8/18/2019 Srs Smart City Edit
48/53
P$-%"&#%": support manager $as a%ready %ogged
in.
P%#*%"&#%": none
N%$4./ % %? -,-"#:
• Se%ect t$e customer name
• Se%ect and see t$e detai%
N.4- %? '-*.-: C$-.#- .& -$,-
D-$#%": Creation o! paid services
P$-%"&#%": Support manager $as a%ready %ogged
in
Page 4-
-
8/18/2019 Srs Smart City Edit
49/53
P%#*%"&#%": paid services created success!u%%y
N%$4./ % %? -,-"#:
• Create paid services
• Paid services created success!u%%y
N.4- %? '-*.-: V- .& -$,-
D-$#%": to vie( t$e paid services and t$eir detai%s
P$-%"&#%": Support anager $as a%ready %ogged in
P%#*%"&#%": none
N%$4./ % %? -,-"#:
Page 4/
-
8/18/2019 Srs Smart City Edit
50/53
• Se%ect t$e service to vie(
• Gie( detai%s o! service
N.4- %? '-*.-: '&.#- #- .& -$,-
D-$#%": update paid services
P$-%"&#%": Support manager $as a%ready %ogged in
P%#*%"&#%": system updated success!u%%y
N%$4./ % %? -,-"#:
• Create ne( paid service
Page "
-
8/18/2019 Srs Smart City Edit
51/53
• Store t$e c$anges
• System updated success!u%%y
• #$e %og detai% o! t$is update event $as been saved
N.4- %? '-*.-: $%,&- "?%$4.#%" ?%$ .- %"
-9#-
D-$#%": Support manager (i%% provide in!ormation !or
access purposeon ?ebsite.
P$-%"&#%": Support manager $as a%ready %ogged in
P%#*%"&#%": None
N%$4./ % %? -,-"#:
Page "1
-
8/18/2019 Srs Smart City Edit
52/53
• Se%ect t$e area !or ($ic$ in!ormation is to be updated
• Provide in!ormation !or area se%ected
3!2 S'/-4-"#.$ R-'$-4-"#
H.,- %'$ %? %-$.#%" #.# .$- 25 > *
-
8/18/2019 Srs Smart City Edit
53/53
R-&'- #- %# %? . ./- #$.".#%" * #o t$e e:tent
t$at one can automate t$e sa%es process t$roug$ t$is
system, one can start to reduce t$e cost o! t$at sa%es
transaction. #$is is particu%ar%y true o! mundane sa%es
transactions ($ere t$e customer 5no(s ($at t$ey (ant.
M.- #- ->#" W-9 #- 4%$- &".4 " ".#'$- 0
any ear%y ?eb imp%ementations consisted o! static +#8
pages. #$is becomes very diHcu%t to manage i! t$e number
o! pages gets too %arge. An e7ective system s$ou%d be
%arge%y dynamic ta5ing advantage o! tec$no%ogy t$at
automates t$is process rat$er t$an re%ying on manua%
processes.
T- #- ->#" W-9 #- "#% ->#" -"#-$$-
#-4 6 Any e:isting ?eb site t$at re%ies on t$e manua%
dup%ication o! data !rom anot$er system is one t$at can be
improved. ost o! t$e business data in t$e (or%d today
e:ists in enterprise servers t$at can be connected to t$e
?eb servers to ma5e t$is process !ar more e7ective.
P$%,&- %%& -$?%$4."- ."& #- .9/# #% ./- #-
-$,-$ 6 #$e ?eb App%ication Server s$ou%d provide good
per!ormance and t$e abi%ity to manage per!ormance (it$
tec$niues, suc$ as support !or cac$ing, c%ustering, and %oad
ba%ancing.
P$%,&" -%" 4.".-4-"# ..9/# 0 ?eb
app%ication deve%opers s$ou%d not spend va%uab%e time
(orrying about $o( to maintain sessions (it$in t$e
app%ication. #$e ?eb App%ication Server s$ou%d provide t$eseservices.