Vous êtes sur la page 1sur 71

BlankspaceCalcutta Institute of Technology Page 1

Smart City Version 1.0


Software Requirements Specification 31/12/2010
Blankspace
Blankspace

Smart City

Software Requirements Specification







Version 1.0






Team Guide: Mr. Safikul Alam

Members: Nirmalya Roy, Arup Sengupta, Ajanta Basu, Swaraj De

College Name: Calcutta Institute of Technology

Department: Computer Science and Engineering

State: West Bengal





BlankspaceCalcutta Institute of Technology Page 2

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Revision History


Date Version Description Author
<date> 1.0 Synopsis <team name>
<date> 2.0 Synopsis <team name>






BlankspaceCalcutta Institute of Technology Page S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
Table of Contents
Description PageNo.


1.0 Introduction

1.1 Purpose5

1.2 Scope5

1.3 Definition, Acronyms, and Abbreviations.......7

1.4 References ..9

1.5 Technologies to be used ...9

1.6 Overview 10

2.0 Overall Description

2.1 Product Perspective..10

2.2 Software Interface..10

2.3 Hardware Interface.17

2.4 Product Function18

2.6 User Characteristics...19

2.6 Constraints....................................................................................21

2.7 Architecture Design22

2.8 Use Case Model Description23





BlankspaceCalcutta Institute of Technology Page 4

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9 Class Diagram.................................................................................24

2.10 Sequence Diagrams........................................................................43

2.11 Database Design

2.11.1 ER Diagram............................................................45

2.11.2 Schema...................................................................63

2.12 Assumptions and Dependencies..70


3.0 Specific Requirements


3.1 Use Case Reports...71

3.2 Supplementary Requirements..72




BlankspaceCalcutta Institute of Technology Page S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace


Software Requirements Specification

1.0 Introduction

1.1 Purpose:

IRI it timply ubbreuiuted from of toftwure requirement tpecificution. Moreouer, it
doten't only tpecifiet the toftwure but ulto detignt to terue ut u guide to detignert,
deuelopert und tettert who ure retpontible for the engineering of the Imurt City pro[ect.
But thit quettion muy urite thut how it doet to . Ihe R diugrumt, clutt diugrumt,
tequence diugrum, clurifiet the relutionthip between the entitiet, thowt teuerul
operutionul functiont, und detcribet how the operutiont worht in tequentiul munner
retpectiuely lt thould giue the engineert ull of the informution necettury to detign,
deuelop und tett the toftwure. Io thow the utert of the product und uter't uted ureut
ute cute diugrum it prouided. lt enublet tyttem buildert to creute blueprintt thut
cupture their uitiont in u ttundurd, euty-tounderttund wuy, und prouidet u mechunitm
to effectiuely thure und communicute thete uitiont with othert.

1.2 Scope:

Imurt City it u pro[ect thut giuet the utert u plutform for teurching informution rupidly
und intentely. 0ter muy be u touritt, muy be common mun enquiring for ruilwuy
depurture time, or muy be tome putient uthing for doctor't informution. lt ulto giuet u
prouition to the remote butinettmun to giue their uduertitement through thit product.
Ihe muin thought ubout the product to giue timply proper teruice to utert ut well ut for
finunciul utpect, four puid teruicet will be prouided. Ihe puid teruicet tuch ut:
t. Free IMI teruicet {prouiding locul newt, ttoch murhet newt)




BlankspaceCalcutta Institute of Technology Page 6

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

z.vucunt Iob mutching teruice.{ remium uter cun include their Biodutu
und uucunt [ob informution will be tent to their muil uccount)

s. Aduertitement ubout teuerul productt und titet ulto one cun giue in
thit web buted plutform for {0n tite uduertitement or uduertitementt cun be
uttuched with newt tmtet und deliuered to teuerul other uter Ihow cuting their
product ut u premium uter.
4. For the utert tpeciul uttruction und entertuinment there it u downlouding
fucility prouided in thit product. 0ownlouding teruice includet downlouding
Benguli tongt {0nly Benguli tongt for giuing u fluuor of Bengul to thit
upplicution) tuch ut Rubindru Iungeet und other Benguli mouie tongt, und ulto
ullowt u touritt to huue interetting picturet, guidebooht, It thowing teuerul
plucet und informution.

0ther feuturet ut u glunce:
i. Complete Mup of the city with hey murhett und plucet to tee.
ii. Complete Hittory of the city ~ tociul, politicul.
iii. Complete oueruiew of the butinettet in the city.
iu. Iecure regittrution of ull utert including u pertonul profile.
u. Complete Ieurch/Iite Mup of the entire tite for euty uccett.
ui. Fucilitute communicution between uter, expertt und generul public
through -muil/pollt
uii. Locul lunguuge tupport ut uter-interfuce und dutubute leuel.
uiii.Iecure uccett of confidentiul dutu tuch ut uter detuilt.
ix. z4z uuuilubility.





BlankspaceCalcutta Institute of Technology Page 7

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace


Ihe fucilitiet prouided by the product not only giue web buted informution portul of the
city but ulto cun be uted to implement other toftwure or web buted plutformt.

ln u broud thinhing one would find out the following future tcopet of thit product.
t. Ihit product deult with lott of informution ubout the city. lf one or uny
orgunizution wuntt to muhe tome turuey regurding the city. For exumple if
heulth depurtment wuntt to turuey on the hotpitult of the city, they cun get
informution und uddrett ubout thote hotpitult to proceed on their turuey
through thit web buted product.
z. IMI teruicet tpeciully truffic newt giue u uter to ouercome truffic [umt und huue
the tmurt ettence of the product tmurt city. Io, itt implementution cun tuue
uuluuble time of uter ut well ut releute the burden of truffic [um.
s. Ihit product ulto thowcuted the culturul oueruiew of the city. lt deult with the
informution of hittoricul buchground of the city und ulto puched with teuerul
picturet und lutett newt.


1.3 Definitions, Acronyms, and Abbreviations:


HTHl (HYPFR TFXT HARKuP lAt6uA6F). lt it uted to creute ttutic web puget.
JSP (JAvA SFRvFR PA6FS). lt it uted to creute dynumic web content.
J2FF (JAvA 2 FtTFRPRlSF F0lTl0t). lt it u progrumming plutform, belonging to the
Iuuu plutform which it uted for deueloping und running dittributed [uuu upplicutiont.
wASCF (wFSPHFRF APPllCATl0t SFRvFR C0HHutlTY F0lTl0t). lt it un






BlankspaceCalcutta Institute of Technology Page 8

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

upplicution teruer thut runt und tupportt the Iz und the web teruice
upplicutiont.
wSA0 (wFSPHFRF STu0l0 APPllCATl0t 0FvFl0PFR ). lt it u detigner toolhit which
it detigned to deuelop more complex pro[ectt by prouiding u complete dynumic web
teruice.
02 (lH 0ATAASF 2). lt it u dutubute munugement tyttem thut prouidet u flexible
und efficient dutubute plutform to ruite u ttrong "on demund" butinett upplicutiont.
HTTP (HYPFR TFXT TRAtSFFR PR0T0C0l). lt it u truntuction oriented client/ teruer
protocol between u web browter und u web teruer .

XHl (FXTFtSllF HARKuP lAt6uA6F). lt it u murhup lunguuge thut wut detigned
to truntport und ttore dutu.
AJAX (ASYtCHR0t0uS JAvA SCRlPT At0 XHl). lt it u technique uted in [uuu tcript
to creute dynumic web puget.
wF 2.0: lt it commonly uttociuted with web upplicutiont which fucilitute inteructiue
informution thuring, interoperubility, uter-centered detign und colluborution on the
World Wide Web.





BlankspaceCalcutta Institute of Technology Page 9

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

1.4 References:


u Iumt Ieuch Vourtelf 0ML in z4 hourt, Ihird dition

b l. l Itd 8so-t998 l Recommended Ioftwure Requirement
Ipecificutiont l Computer Iociety,t998

c 0utubute Iyttem Conceptt, Fourth dition- Iilberchutz, korth

d IRI tumple formut giuen by lBM, tgmc zoto.

1.5 Technologies to be used:


J!!. J!!. J!!. J!!. (Servlet, JSP, JAXP, Java Beans) Application architecture.

J.`. J.`. J.`. J.`.: Application architecture.

`.! `.! `.! `.!: (WebSphere Application Server Community Edition) Web Server

!l. !l. !l. !l. IBM Database.

.J.`. .J.`. .J.`. .J.`. Asynchronous Java Script and XML.
`'l. `'l. `'l. `'l. Extension Markup Language.
`!l .U. `!l .U. `!l .U. `!l .U. RSS Feed 2.0.
!.! 7.U. !.! 7.U. !.! 7.U. !.! 7.U. Development tool.
l.lIZ.I`. l.lIZ.I`. l.lIZ.I`. l.lIZ.I`. 3 Languages - Hindi, Kannada, and English





BlankspaceCalcutta Institute of Technology Page 1u

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

1.6 Overview:

The SRS will include two sections, namely:

-I-Overall Description: Ihit tection will detcribe mu[or componentt of
the tyttem, interconnectiont, und externul interfucet.

-I-Specific Requirements: Ihit tection will detcribe the functiont of
uctort, their rolet in the tyttem und the conttruintt fuced by the
tyttem.


2.0 Overall Description:


2.1 Product Perspective:

Lihe it't ditcutted eurlier, thit product it u web buted plutform to get
informution ubout the city. From butic uiew, the product it intended to fulfill the
butic queriet of the uter. Io, there it no relution with the other product or uny
other lurge tyttem. lt ittelf it u lurge tyttem thut includet muny other thort
tubtyttem lihe online polling, uduertitement, [ob mutching, free tmt teruicet.


2.2 Software Interface:


Front End Client:

ln thit product front end clientt ure muinly free utert und premium utert. 0n
both the cutet thit product ttrictly looht ufter to the eute of uting the product by
the uter. Io, u flexible front end it muintuined in thit web buted plutform.





BlankspaceCalcutta Institute of Technology Page 11

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Ihere it ulto u prouition for the utert to interuct with the product by tending
feedbucht und it't ulto uteful for the betterment of the worh.

Io giue u flexible interfuce to the uter, the following feuturet ure prouided in
front end.
u Cutegorized und nume wite both type of teurchet ure prouided.
b Complete Mup of the city with hey murhett und well-hnown plucet.
c icturet und detcription on the front of the web puge giue u cleur ideu
ubout the city und culture of the city.
d Iecure creution of uter profile.
e Locul lunguuget ure ulto uuuiluble for uter't timplicity.



Web Server:


A Web teruer it u progrum running on the teruer muchine, which ucceptt
requettt from u Web browter und tendt buch retultt in the form of HIML
documentt. Ihe browter und Web teruer communicute by u protocol culled the
Hypertext Iruntfer rotocol {HII). HII prouidet powerful feuturet, beyond
the timple truntfer of documentt. Ihe mott importunt feuture it the ubility to
execute progrumt, with urgumentt tupplied by the uter, und deliuer the retultt
buch ut un HIML document. At u retult, u Web teruer cun eutily uct ut un
intermediury to prouide uccett to u uuriety of informution teruicet. A new teruice
cun be creuted by creuting und inttulling un upplicution progrum thut prouidet
the teruice. Ihe common gutewuy interfuce {C0l) ttundurd definet how the Web
teruer communicutet with upplicution progrumt. Ihe upplicution progrum
typicully communicutet with u dutubute teruer, through 00BC, I0BC, or other
protocolt, in order to get or ttore dutu.





BlankspaceCalcutta Institute of Technology Page 12

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace



























NL1WCkk


Web Server
And Application server



uaLabase Server
daLa
P11
8rowser
Server



BlankspaceCalcutta Institute of Technology Page 1S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace


Iherefore thit product it implemented on the butit of two-tier Web urchitecture,
where the upplicution progrum runt within the Web teruer, ut in uboue figure. lt
it ttudied thut tyttemt buted on the two-tier urchitecture in more detuil in
tubtequent tectiont. Be uwure thut there it no continuout connection between
the client und the teruer. ln contrutt, when u uter logt on to u computer, or
connectt to un 00BC or I0BC teruer, u tettion it creuted, und tettion informution
it retuined ut the teruer und the client until the tettion it terminuted
informution tuch ut whether the uter wut uuthenticuted uting u puttword und
whut tettion optiont the uter tet. Ihe reuton thut HII it connectionlett it thut
mott computert huue limitt on the number of timultuneout connectiont they cun
uccommodute, und if u lurge number of titet on the Web open connectiont, thit
limit would be exceeded, denying teruice to further utert. With u connectionlett
teruice, the connection it brohen ut toon ut u requett it tutitfied, leuuing
connectiont uuuiluble for other requettt. Mott informution teruicet need tettion
informution. For inttunce, teruicet typicully rettrict uccett to informution, und
therefore need to uuthenticute utert. Authenticution thould be done once per
tettion, und further inteructiont in the tettion thould not require re-
uuthenticution. Io creute the uiew of tuch tettiont, extru informution hut to be
ttored ut the client, und returned with euch requett in u tettion, for u teruer to
identify thut u requett it purt of u uter tettion. xtru informution ubout the
tettion ulto hut to be muintuined ut the teruer. Ihit extru informution it
muintuined in the form of u coohie ut the client, u coohie it timply u tmull piece
of text contuining identifying informution. Ihe teruer tendt u coohie to the client
ufter uuthenticution, und ulto heept u copy locully. Coohiet tent to different
clientt contuin different identifying text. Ihe browter tendt the coohie
uutomuticully on further document requettt from the tume teruer. By compuring
the coohie with locully ttored coohiet ut the teruer, the teruer cun identify the
requett ut purt of un ongoing tettion. Coohiet cun ulto be uted for ttoring uter
preferencet und uting them when the teruer repliet to u requett. Coohiet cun be
ttored permunently ut the browter, they identify the uter on tubtequent uititt to
the tume tite, without uny identificution informution being typed in.









BlankspaceCalcutta Institute of Technology Page 14

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace


Data Base Server:

0utubute teruer tyttemt ure uted in locul-ureu networht, where there it u high-
tpeed connection between the clientt und the teruer, the client muchinet ure
compuruble in procetting power to the teruer muchine, und the tutht to be
executed ure computution intentiue. ln tuch un enuironment, it muhet tente to
thip dutu to client muchinet, to perform ull procetting ut the client muchine
{which muy tuhe u while), und then to thip the dutu buch to the teruer muchine.
Note thut thit urchitecture requiret full buch-end functionulity ut the clientt.
0utubute teruer urchitecturet huue been purticulurly populur in ob[ect-oriented
dutubute tyttemt. lnteretting ittuet urite in tuch un urchitecture, tince the time
cott of communicution between the client und the teruer it high compured to
thut of u locul memory reference {millitecondt, uertut lett thun too nunotecondt)

Page shipping versus item shipping.
Ihe unit of communicution for dutu cun be of courte grunulurity, tuch ut u puge,
or fine grunulurity, tuch ut u tuple {or un ob[ect, in the context of ob[ect-oriented
dutubute tyttemt).We ute the term item to refer to both tuplet und ob[ectt. lf
the unit of communicution it u tingle item, the ouerheud of mettuge putting it
high compured to the umount of dutu truntmitted. lntteud, when un item it
requetted, it muhet tente ulto to tend buch other itemt thut ure lihely to be uted
in the neur future. Fetching itemt euen before they ure requetted it culled
prefetching. uge thipping cun be contidered u form of prefetching if multiple
itemt retide on u puge, tince ull the itemt in the puge ure thipped when u procett
detiret to uccett u tingle item in the puge.








BlankspaceCalcutta Institute of Technology Page 1S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Locking.
Locht ure utuully grunted by the teruer for the dutu itemt thut it thipt to the
client muchinet. A dituduuntuge of puge thipping it thut client muchinet muy be
grunted locht of too courte u grunulurityu loch on u puge implicitly locht ull
itemt contuined in the puge. uen if the client it not uccetting tome itemt in the
puge, it hut implicitly ucquired locht on ull prefetched itemt. 0ther client
muchinet thut require locht on thote itemt muy be bloched unnecetturily.
Iechniquet for loch de-etculution huue been propoted where the teruer cun
requett itt clientt to truntfer buch locht on prefetched itemt. lf the client muchine
doet not need u prefetched item, it cun truntfer locht on the item buch to the
teruer, und the locht cun then be ullocuted to other clientt.

Data caching.
0utu thut ure thipped to u client on behulf of u truntuction cun be cuched ut the
client, euen ufter the truntuction completet, if tufficient ttoruge tpuce it
uuuiluble. Iuccettiue truntuctiont ut the tume client muy be uble to muhe ute of
the cuched dutu. Howeuer, cuche coherency it un ittue: uen if u truntuction findt
cuched dutu, it mutt muhe ture thut thote dutu ure up to dute, tince they muy
huue been upduted by u different client ufter they were cuched. Ihut, u mettuge
mutt ttill be exchunged with the teruer to chech uulidity of the dutu, und to
ucquire u loch on the dutu.

Lock caching.
lf the ute of dutu it mottly purtitioned umong the clientt, with clientt rurely
requetting dutu thut ure ulto requetted by other clientt, locht cun ulto be cuched
ut the client muchine. Iuppote thut u client findt u dutu item in the cuche, und
thut it ulto findt the loch required for un uccett to





BlankspaceCalcutta Institute of Technology Page 16

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

the dutu item in the cuche. Ihen, the uccett cun proceed without uny
communicution with the teruer. Howeuer, the teruer mutt heep truch of cuched
locht, if u client requettt u loch from the teruer, the teruer mutt cull buch ull
conflicting locht on the dutu item from uny other client muchinet thut huue
cuched the locht. Ihe tuth becomet more complicuted when muchine fuiluret ure
tuhen into uccount. Ihit technique differt from loch de-etculution in thut loch
cuching tuhet pluce ucrott truntuctiont, otherwite, the two techniquet ure
timilur.

Back End:

At pertonul computert becume futter, more powerful, und cheuper, there wut u
thift uwuy from the centrulized tyttem urchitecture. ertonul computert
tupplunted terminult connected to centrulized tyttemt. Corretpondingly,
pertonul computert uttumed the uter-interfuce functionulity thut uted to be
hundled directly by the centrulized tyttemt. At u retult, centrulized tyttemt
toduy uct ut teruer tyttemt thut tutitfy requettt generuted by client tyttemt.
Figure howt the generul ttructure of u client~teruer tyttem. 0utubute
functionulity cun be broudly diuided into two purttthe front end und the buch
endut in Figure Ihe buch end munuget uccett ttructuret, query euuluution und
optimizution, concurrency control, und recouery. Ihe front end of u dutubute
tyttem contittt of toolt tuch ut formt, report writert, und gruphicul uter interfuce
fucilitiet. Ihe interfuce between the front end und the buch end it through IL,
or through un upplicution progrum.

llgure: 0enerul Itructure of Client Ieruer Iyttem


CllenL CllenL CllenL
..
Server
neLwork
CllenL



BlankspaceCalcutta Institute of Technology Page 17

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Itundurdt tuch ut 00BC und I0BC, which we tuw in Chupter 4, were deueloped
to interfuce clientt with teruert. Any client thut utet the 00BC or I0BC interfucet
cun connect to uny teruer thut prouidet the interfuce. ln eurlier-generution
dutubute tyttemt, the luch of tuch ttundurdt necettituted thut the front end und
the buch end be prouided by the tume toftwure uendor. With the growth of
interfuce ttundurdt, the front-end uter interfuce und the buch-end teruer ure
often prouided by different uendort. Applicution deuelopment toolt ure uted to
conttruct uter interfucet, they prouide gruphicul toolt thut cun be uted to
conttruct interfucet without uny progrumming. Iome of the populur upplicution
deuelopment toolt ure owerBuilder, Mugic, und Borlund 0elphi, vituul Butic it
ulto widely uted for upplicution deuelopment. Further, certuin upplicution
progrumt, tuch ut tpreudtheett und ttutitticul-unulytit puchuget, ute the client~
teruer interfuce directly to uccett dutu from u buch-end teruer. ln effect, they
prouide front endt tpeciulized for purticulur tutht. Iome truntuction-procetting
tyttemt prouide u truntuctionul remote procedure cull interfuce to connect clientt
with u teruer. Ihete cullt uppeur lihe ordinury procedure cullt to the
progrummer, but ull the remote procedure cullt from u client ure encloted in u
tingle truntuction ut the teruer end. Ihut, if the truntuction ubortt, the teruer cun
undo the effectt of the indiuiduul remote procedure cullt.


2.3 Hardware Interface:


Client Side:

Although muny people interuct with dutubutet, few people ute u query
lunguuge to directly interuct with u dutubute tyttem. Mott people interuct with
u dutubute tyttem through one of the following meunt:

t. Formt und gruphicul uter interfucet ullow utert to enter uuluet thut
complete predefined queriet. Ihe tyttem executet the





BlankspaceCalcutta Institute of Technology Page 18

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

queriet und uppropriutely formutt und ditpluyt the retultt to the uter.
0ruphicul uter interfucet prouide un euty-to-ute wuy to interuct with
the dutubute tyttem.
z. Report generutort permit predefined reportt to be generuted on the
current dutubute contentt. Anulyttt or munugert uiew tuch reportt in
order to muhe butinett decitiont.
s. 0utu unulytit toolt permit utert to inteructiuely browte und unulyze
dutu. lt it worth noting thut tuch interfucet ute query lunguuget to
communicute with dutubute tyttemt.

Server Side:
IL teurch engine: lt teurchet tequentiul through the dutubute buch end und
retrieue dutu.

2.4 Product Functions:

Ihe productt muin functiont ure giuen below:
i. Complete Mup of the city with hey murhett und plucet to tee.
ii. Complete Hittory of the city ~ tociul, politicul.
iii. Complete oueruiew of the butinettet in the city.
iu. Iecure regittrution of ull utert including u pertonul profile.
u. Complete Ieurch/Iite Mup of the entire tite for euty uccett.
ui. Fucilitute communicution between uter, expertt und
generul public through -muil/pollt
uii. Locul lunguuge tupport ut uter-interfuce und dutubute leuel.
uiii. Iecure uccett of confidentiul dutu tuch ut uter detuilt.
ix. z4z uuuilubility.





BlankspaceCalcutta Institute of Technology Page 19

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.5 User Characteristics:

User classes:
Ihit product't utert ure of different type. lt cun be cluttified by teeing, whut
purpote utert terue through thit product. Iutt for un exumple the feuturet thut it
mottly uted by u uter or group of uter, it the tuhing informution from the tite.
Io, the muin uter of the tite it u generul mun or touritt. conomicully the tite it
diuided into two purtt lihe free uter und premium uter.
But the product it frequently uted by the utert lihe touritt, Butinettmun, Iob
employeet, Itudentt, or u generul perton.
lt cun be obterued thut the muin uter cluttet ure:

Iouritt: getting informution ubout the city.
Butinettmun: Ieet murhet plucet und tuleuble ureut of the city.
utient: lnformution ubout doctort
Itudentt: 0ownlouding tongt und huuing tmt teruice.
Iob employeet: getting informution ubout [obt or [ob mutchet for them.
Aduertiter: giuet uduertitementt on tite or through tmt.

From thit uter cluttet the puid teruicet ownert get more priority thun othert.





BlankspaceCalcutta Institute of Technology Page 2u

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Security Level:
Iecurity leuel of thit product it ulto high for creuting different tepurute uter
uccount. Iecurity it highly required for the followingt:
i Creuting tepurute uter uccount.
ii Muhing the uccount no. confidentiul.
iii Itoring the uter informution tufely.
iu Iuhing the biodutu of the uter tufely in buch-end.
u For dittinguith between free und premium uter
ui Iecurity ulto needed for protecting dutu redunduncy und duplicity.

Educational levels:
Ihit product hut u huge educutionul buchground. Ihe puge it full of informution
ubout the city. 0tert cun get lot of informution ut u glunce. lt contuint Hittoricul
und politicul buchground of the city, culture herituge, fettiue moodt, Night life of
the city etc. ull of thit informution ure there for help the uter und to giue u better
hnowledge ubout the city. From the deuelopert point of uiew it ulto giuet u uery
nice experience und educutionul tour ubout the city.

Technical expertise:
Ihe product ulto demundt u high leuel of technicul tupport from the deuelopert.
Io prouide tecure tyttem, timplett front-end, und utert interuction {loculizution
of lunguuget) technicully ttrong tyttemt ure needed. 0BA cun prouide thit
tecurity to creute tuch tyttem und ulto through the 0Bz und other toolt.





BlankspaceCalcutta Institute of Technology Page 21

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.6 Constraints:

Ihe product muy huue the following conttruintt:

i Hurdwure Limitution
u Iiming requirementt.
b Memory requirementt.
ii Corporute or regulutory policiet.
iii lnterfucet to other upplicutiont.
iu urullel operutiont.
u Lunguuge requirementt.
ui Communicutiont protocolt.
uii Iecurity contiderutiont.
uiii detign conuentiont or progrumming ttundurdt.





BlankspaceCalcutta Institute of Technology Page 22

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.7 Architecture Design:










1C1

1Cn
1Mn
CompuLer 1 CompuLer n
1ransacLlon
CoordlnaLor
1ransacLlon
Manager
8rowser Lype1
neLwork

uaLabase Lnglne
uaLabase server
user user
8rowser Lype1
Iront-Lnd
Web and
database
server
8ack-end
4ccessinq
1hrouqh
lnterfoces
D8A
co
ntr
o//
ed
llgure: Iimple urchitecturul detign of the product
llgure: Iyttem urchitecture



BlankspaceCalcutta Institute of Technology Page 2S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.8 Use Case Diagram:








































8eglsLraLlon
Search
leedback
uownloads
AdverLlsemenL
SMS
!obs
lree user
remlum user



BlankspaceCalcutta Institute of Technology Page 24

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace


2.9 Class Diagram:



C|ass D|agrams age No.
Search
PealLh
SporLs
1ransporL
Map
LducaLlon
AdverLlsemenL
8lodaLa
uownloads
leedback
CulLural Callery
uLlllLy hones
LnLerLalnmenL
SMS servlces
ClLy 1our
8eglsLraLlon
oll
23
26-27
27
28-29
29
30-31
32
33
34
33
36
37
38
39
40
41
42








BlankspaceCalcutta Institute of Technology Page 2S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.1 Class Diagram of Search:





























Sitemap
indexName
indexId
checkId()
errorReport()
Sports
indexName
indexId
sportsName
sportsId
associationName
matchId()
giveData()
Cultural
gallery
indexName
indexId
galleryName
galleryId
place
matchId()
giveData()
Education
indexName
indexed
name
code
address
phoneNo
email
teachers
URL
matchId()
giveData()
Entertainment
indexName
indexId
name
id
place
matchId()
giveData()
Search
searchName
searchId
checkId()
errorReport()
Categorized
searchName
searchId
matchId()
giveData()
Namewise
searchName
SearchId
matchId()
giveData()
Transport
indexName
indexed
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
Tour_City
indexName
indexId
tourName
tourId
matchId()
giveData()
Utilityphones
indexName
indexId Name
id
phoneNo
matchId()
giveData()
Health
indexName
indexId
healthName
healthI
address
phoneNo
matchId()
giveData()







BlankspaceCalcutta Institute of Technology Page 26

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.9.2 Class Diagram of Health:

Health
healthName
healthId
address
phoneNo
checkId()
errorReport()
Hospitals
healthName
healthId
address
phoneNo
emailId
matchId()
giveData()
Diagnostic Centre
healthName
healthId
address
phoneNo
namesofTest
matchId()
giveData()
Nursing Home
healthName
healthId
address
phoneNo
emailId
matchId()
giveData()
Medical Store
healthName
healthId
address
phoneNo
matchId()
giveData()
Doctors
doctorName
doctorId
emaild
attainDate
attainTime
checkId()
errorReport()
Orthopedics
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Pediatric
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Neurologist
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Psychiatrist
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Gynecologist
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
ENT
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Employs
Joining in
Attains
Joining in
E
m
p
l
o
y
s




BlankspaceCalcutta Institute of Technology Page 27

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace


Homeopathy
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Nephrology
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Gastroenterology
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()
Child Spedialist
doctorName
doctorId
emaild
attainDate
attainTime
matchId()
giveData()

2.9.3 Class Diagram of Sports:







SporLs
SporLs_name
SporLs_lu
AssoclaLlon
name
checkld()
error8eporL()
CrlckeL
lu
AssoclaLlon
name
maLchld()
glveuaLa()
looLball
lu
AssoclaLlon
name
maLchld()
glveuaLa()
kabadl
lu
AssoclaLlon
name
maLchld()
glveuaLa()
volleyball
lu
AssoclaLlon
name
maLchld()
glveuaLa()
1ennls
lu
AssoclaLlon
name
maLchld()
glveuaLa()
8admlnLon
lu
AssoclaLlon
name
maLchld()
glveuaLa()





BlankspaceCalcutta Institute of Technology Page 28

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.9.4 Class Diagram of Transport:












Airlines
transportId
transportName
fare
departureTime
arrivalTime
source
destination
checkId()






























Transport
transportId
transportName
fare
departureTime
arrivalTime
source
destination
checkId()
errorReport()
Bus
transportId
transportName
fare
departureTime
arrivalTime
source
destination
checkId()
Railway
transportId
transportName
fare
departureTime
arrivalTime
source
destination
checkId()
Ship
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
Reserved
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
Express
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
Local
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
Local
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
National
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
Tourism
name
id
email
phoneNo
checkId()
errorReport()
International
transportId
transportName
fare
departureTime
arrivalTime
source
destination
matchId()
giveData()
reserves reserves
r
e
s
e
r
v
e
s

r
e
s
e
r
v
e
s

0..* 0..*


0
.
.
*



0
.
.
*

0..* 0..*


0
.
.
*



0
.
.
*

b
o
o
k
e
d



0
.
.
*




BlankspaceCalcutta Institute of Technology Page 29

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace



Hotels
hotelName
hotelId
phoneNo
address
rent
class
email
checkId()
giveData()
errorReport()


Agent
name
id
email
phoneNo
matchId()
giveData()
Office
name
id
email
phoneNo
address
matchId()
giveData()


0
.
.
*


2.9.5 Class Diagram of Map:







Map
id
nearbyRoad
recognisablePlaces
checkId()
errorReport()
Roadmap
id
nearbyRoad
recognisablePlaces
matchId()
giveData()
Market Map
id
nearbyRoad
recognisablePlaces
matchId()
giveData()
Area
id
nearbyRoad
recognisablePlaces
matchId()
giveData()







BlankspaceCalcutta Institute of Technology Page Su

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.9.6 Class Diagram of Education:





Education
name
code
address
phoneNo
email
teachers
URL
checkId()
errorReport()






































Govt
name
code
address
phoneNo
email
teachers
URL
duration
course
matchId()
giveData()
Private
name
code
address
phoneNo
email
teachers
URL
duration
course
matchId()
giveData()
Technical
name
code
address
phoneNo
email
teachers
URL
stream
checkId()
Private
name
code
address
phoneNo
email
teachers
URL
duration
course
School
name
code
address
phoneNo
email
teachers
URL
board
medium
matchId()
giveData()
College
name
code
address
phoneNo
email
teachers
URL
stream
checkId()
Institution
name
code
address
phoneNo
email
teachers
URL
duration
course
checkId()
Research Centre
name
code
address
phoneNo
email
teachers
URL
matchId()
giveData()
University
name
code
address
phoneNo
email
teachers
URL
duration
course
checkId()
General
name
code
address
phoneNo
email
teachers
URL
stream
matchId()
giveData()
Medical
name
code
address
phoneNo
email
teachers
URL
stream
checkId()
Govt
name
code
address
phoneNo
email
teachers
URL
duration
course
matchId()
giveData()
Govt
name
code
address
phoneNo
email
teachers
URL
duration
course
matchId()
giveData()
Private
name
code
address
phoneNo
email
teachers
URL
duration
course
matchId()
giveData()
Govt
name
code
address
phoneNo
email
teachers
URL
duration
course
matchId()
giveData()
Private
name
code
address
phoneNo
email
teachers
URL
duration
course
matchId()
giveData()
is in
is in
is in
is in
i
s

i
n








1
.
.
*








1
.
.
*








1
.
.
*








1
.
.
*








1
.
.
*




BlankspaceCalcutta Institute of Technology Page S1

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
















Library
id
name
address
phone
checkId()
errorReport()
Publisher
name
address
phone
URL
checkId()
giveData()
errorReport()
Other
id
name
address
phone
matchId()
giveData()
District
id
name
address
phone
matchId()
giveData()
Local
id
name
address
phone
matchId()
giveData()
Book
author
title
price
year
ISBN
checkId()
giveData()
errorReport()
Kept in

P
u
b
l
i
s
h
e
d

b
y


1..*









0
.
.
*








1
.
.
*








1
.
.
*


0..*



BlankspaceCalcutta Institute of Technology Page S2

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.7 Class Diagram of AdverLlsemenL:












Advertisement
ad_Id
ad_name
ad_Size
checkId()
approval()
Ornaments
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Matrimonial
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Electronic_goods
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Jobs
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Airlines
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Hotel
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Media
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Other
ad_Id
ad_name
ad_Size
matchId()
availableSize()
House_rent
ad_Id
ad_name
ad_Size
matchId()
availableSize()
Sms_service
phone_No
sequencialChooseId()
addAdvertisement()
sendSms()
M
i
x
e
d

t
o




BlankspaceCalcutta Institute of Technology Page SS

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.9.8 Class Diagram of 8lodaLa:




























Biodata
email
candidateName
birthDate
degree
percentage
yearofPass
checkPremiumuser()
acknowledge()
Undergraduate
email
candidateName
birthDate
degree
percentage
yearofPass
dataStored()
Postgraduate
email
candidateName
birthDate
degree
percentage
yearofPass
dataStored()
Jobs
url
jobName
degreeRequierd
percentage
matchDegree()
sendjobUrl()
Matched
with
0..*
0..*



BlankspaceCalcutta Institute of Technology Page S4

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.9 Class Diagram of uownloads:












Downloads
downloadName
downloadId
materialSize
checkId()
showComment()
errorResult()
Audio
downloadName
downloadId
materialSize
checkId()
Documents
downloadName
downloadId
materialSize
format
checkId()
Rabindrasangeet
downloadName
downloadId
materialSize
matchId()
downloaded()
Other
downloadName
downloadId
materialSize
matchId()
downloaded()
Pictures
downloadName
downloadId
materialSize
format
matchId()
downloaded()
Books_on_city
downloadName
downloadId
materialSize
format
matchId()
downloaded()
Animated_movie
downloadName
downloadId
materialSize
format
matchId()
downloaded()
City_tour
downloadName
downloadId
materialSize
format
matchId()
downloaded()
Video
downloadName
downloadId
materialSize
format
checkId()
Bengali_Novels
downloadName
downloadId
materialSize
format
matchId()
downloaded()



BlankspaceCalcutta Institute of Technology Page SS

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.10 Class Diagram of leedback:







User_account
userEmail
sendMail()




Feedback_account
officialEmail
verifyUser()
recieveMail()
AnswerMail()
notifyRequirements()



Sends to



BlankspaceCalcutta Institute of Technology Page S6

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.11 Class Diagram of CulLural Callery:







Cultural
gallery
Gallery_name
Gallery_ID
Place
checkId()
errorReport()
Auditorium
Gallery_name
Gallery_ID
matchId()
giveData()
Art gallery
Gallery_name
Gallery_ID
Artist_name
Art_no
matchId()
giveData()
Painting
Gallery_name
Gallery_ID
Artist_name
Art_no
matchId()
giveData()
Sculpture
Gallery_name
Gallery_ID
Artist_name
Art_no
matchId()
giveData()



BlankspaceCalcutta Institute of Technology Page S7

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.12 Class Diagram of uLlllLy hones:






Utility_phones
utilityName
phoneNo.
checkId()
errorReport()


Emergencyno.
utilityName
phoneNo.
eId
checkId()






Utility_no
utility_Name
phone_No.
checkId()
Fire_Brigade
utility_Name
phone_No.
eId
matchId()
giveData()
Police_Station
utilityName
phoneNo.
eId
matchId()
giveData()
Tourist_Office
utility_Name
phone_No.
matchId()
giveData()
Helplines
utility_Name
phone_No.
matchId()
giveData()
Transport
utility_Name
phone_No.
matchId()
giveData()
Miscellaneous
utility_Name
phone_No.
matchId()
giveData()
Oxygen
utility_Name
phone_No.
matchId()
giveData()
Postal_Service
utility_Name
phone_No.
matchId()
giveData()
Railways
utility_Name
phone_No.
matchId()
giveData()
Shipping_Corp.
utility_Name
phone_No.
matchId()
giveData()
LPG_Booking
utility_Name
phone_No.
matchId()
giveData()
Nursing_Home
utility_Name
phone_No.
matchId()
giveData()
Hospital
utility_Name
phone_No.
matchId()
giveData()
Nurse
utility_Name
phone_No.
matchId()
giveData()
Water_Supply
utility_Name
phone_No.
matchId()
giveData()
Airlines
utility_Name
phone_No.
matchId()
giveData()
Eye_Banks
utility_Name
phone_No.
matchId()
giveData()
Funeral_Purlour
utility_Name
phone_No.
matchId()
giveData()
Hearse
utility_Name
phone_No.
matchId()
giveData()
Ambulance
utility_Name
phone_No.
matchId()
giveData()
Blood_Banks
utility_Name
phone_No.
matchId()
giveData()
city_telephone
utility_Name
phone_No.
matchId()
giveData()



BlankspaceCalcutta Institute of Technology Page S8

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.13 Class Diagram of LnLerLalnmenL:








Entertainment
Name
Place
checkName()
errorReport()





Cinema Halls
Name
Place
Film name
Shows
matchName()
giveData()
Restaurants
Name
Place
R_ID
matchName()
giveData()
Discotheques
Name
Place
matchName()
giveData()
Shopping
malls
Name
Place
matchName()
giveData()
South Indian
Name
Place
R_ID
matchName()
giveData()
Chinese
Name
Place
R_ID
matchName()
giveData()
Others
Name
Place
R_ID
matchName()
giveData()



BlankspaceCalcutta Institute of Technology Page S9

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.9.14 Class Diagram of SMS Servlces:



Sms_servlces
phone_no
geL_hnno()
geL_lnformaLlon()
send_1o_no()



















lrlendshlp
phone_no
geL_hnno()
geL_lnformaLlon()
send_1o_no()

!okes
phone_no
geL_hnno()
geL_lnformaLlon()
send_1o_no()

Poroscopes
phone_no
geL_hnno()
geL_lnformaLlon()
send_1o_no()

Shaery
phone_no
geL_hnno()
geL_lnformaLlon()
send_1o_no()

PealLh_Llps
phone_no
geL_hnno()
geL_lnformaLlon()
send_1o_no()

news
headllne
news_ld

geL_hnno()
geL_lnformaLlon()
send_1o_no()

SporLs
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

CulLure
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

ollLlcal
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

lllmy
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

8uslness
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

1rafflc
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

1ender_noLlce
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

SLock_lndex
headllne
news_ld
geL_hnno()
geL_lnformaLlon()
send_1o_no()

Lype



BlankspaceCalcutta Institute of Technology Page 4u

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.15 Class Diagram of ClLy 1our:






City_Tour
info_Name
info_Id
map
checkId()
errorResult()
Museums
info_Name
info_Id
map
matchId()
giveData()
Malls&markets
info_Name
info_Id
map
matchId()
giveData()
Cinema
info_Name
info_Id
map
matchId()
giveData()
Clubs&disco
info_Name
info_Id
map
matchId()
giveData()
Art_gallaries
info_Name
info_Id
map
matchId()
giveData()
Restaurants
info_Name
info_Id
map
matchId()
giveData()
University
info_Name
info_Id
map
matchId()
giveData()
Library
info_Name
info_Id
map
matchId()
giveData()
Others
info_Name
info_Id
map
matchId()
giveData()
Parks
info_Name
info_Id
map
matchId()
giveData()
sellable_area
mId
recognizedPlaces
roadName
matchId()
giveMap()
Map
mId
recognizedPlaces
roadName
matchId()
giveMap()
Roadmap
mId
recognizedPlaces
roadName
matchId()
giveMap()
Market_map
mId
recognizedPlaces
roadName
matchId()
giveMap()
wants
send

0..*



BlankspaceCalcutta Institute of Technology Page 41

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.9.16 Class Diagram of Registration:















Registration
userName
passWord
name
city
state
country
acceptance
checkId()
freeorPremium()
showComments()
errorreport()
Free_user
userName
passWord
name
city
state
country
acceptance
getuserName()
availableorNot()
getpassWard()
checkComplexity()
getotherInfo()
submit()
Premium_user
userName
passWord
accountNo
name
city
state
country
acceptance
getuserName()
availableorNot()
getpassWard()
checkComplexity()
paidBy()
getotherInfo()
submit()
Other
userName
password
accountNo
name
city
state
country
acceptance
matchId()
Visa_card
userName
password
accountNo
name
city
state
country
acceptance
matchId()
Debit_card
userName
passWord
accountNo
name
city
state
country
acceptance
matchId()
ATM_cars
userName
password
accountNo
name
city
state
country
acceptance
matchId()
Credit_card
userName
password
accountNo
name
city
state
country
acceptance
matchId()



BlankspaceCalcutta Institute of Technology Page 42

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.9.17 Class Diagram of Poll:



Poll
p_Id
title
checkId()
errorResult()





Affermative
p_Id
title
matchId()
count()
Negative
p_Id
title
matchId()
count()
Result
p_Id
pollPercentage
matchId()
showResult()
counts



BlankspaceCalcutta Institute of Technology Page 4S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.10 Sequence Diagrams:



























: User : WebServer :DatabaseSeser
ver
: BackEnd



matchedResult()
dataRetrieved()
matchedId()
selectedTopic()
displayData()
Simple
search
Index
search
signUp()

registrationFrom()
password()
availableorNot()
userName() checkName() presntorNot()
conclusion()

passwordComplexit

commentShown()
comment()

reenterPassword()
checkPrevious()
giveRight() acknowledge()

otherInfromation()

checkPremiumuser()

verifyAccountno()
accountNo()
Submit()
paidThrough()
acknowledge()
Sign Up
storeAccount()
comment()
commentShown()

giveUsernamepassword&logged
checkUsername&password()
matchUsername&password()
comment() commentShown()
Log In



BlankspaceCalcutta Institute of Technology Page 44

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace



`


giveUsernamepassword&logged
checkUsername&password()
matchUsername&password()
comment() commentShown()
Log In
acknowledge()
checkUsername()
matchUserid()
checkInfo()
comment()
giveSpecificationfrom()
commentShown()
giveDesc&size() availableOrnot()

giveAdvertisementname()
comment() approvedOrnot()
adThroughsmsinfo() checkInfo() smallEnough()
comment() approvedOrnot()
Advertiseme
nt
Job
wantJob() checkUsername() matchUserid()
acknowledge() giveBiodataform()






i
f
P
r
e
m
i
u
m
u
s
e
r
(
)







i
f
P
r
e
m
i
u
m
u
s
e
r
(
)
fillupBiodataform() checkDegree() matchDegree()
giveUrlifany()) receivedEmail()






i
f
P
r
e
m
i
u
m
u
s
e
r
(
)

SMS
service
wantSmsservice()
checkUsername() matchUserid()
acknowledge()

giveServiceselectionfrom()

selectService&addphoneno ()
sendData() dataStored()
comment()
commentShown()

Downloadin






i
f
P
r
e
m
i
u
m
u
s
e
r
(
)

wantDownloadservice()
checkUsername() matchUserid()
acknowledge()
showDownloadlist()
comment()
commentShown()
addtoDownloadlist()
sendRequest()
matchItem()
comment()
commentShown()
Feedback
giveFeedback() sendMail() recieveMail()
answerMail()
receiveAnswer()
Poll
giveView() sendAnswer() addAnswer()
comment()
commentShown()











c
o
u
n
t
(
)






Finalresult&newquestion()
result&Newquestion()



BlankspaceCalcutta Institute of Technology Page 4S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace


2.10 Database Design:

2.11.1 ER Diagram:

Lk D|agrams age No.
Search
PealLh
SporLs
1ransporL
Map
LducaLlon
AdverLlsemenL
8lodaLa
uownloads
leedback
CulLural Callery
uLlllLy hones
LnLerLalnmenL
SMS servlces
ClLy 1our
8eglsLraLlon
oll
46
47
48
49
30
31
32
33
34
33
36
37
38
39
60
61
62











BlankspaceCalcutta Institute of Technology Page 46

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.1 Lk D|agram Cf Search:


Name wise
Search
Categorized
ISA
Name
matched
Site map
name,id
name,id
ISA
Health Tour
Kolkata
Transport Sports Entertainm
ent
Education Cultural Utility
phones



BlankspaceCalcutta Institute of Technology Page 47

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.11.1.2 Lk D|agram Cf nea|th:







nea|th
Medlcal_sLore PosplLals ulagnosLlc cenLre nurslnghome
name,lu
address
phoneno
Llme
names_of_LesL
emall
emall_ld emall_ld
phone
ISA
Io|n|-
ng |n
doctors
name,lu
daLe
ISA
PomeopaLhy
ulalecLologlsL Ln1 Chlld speclallsL CynecologlsL sychlaLrlc
edlaLrlc CrLhopedlcs neurologlsL Lye speclallsL CasLroenLerologlsL



BlankspaceCalcutta Institute of Technology Page 48

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.3 Lk D|agram Cf Sports:







Sports
Name,ID Association
name
Cricket Football Kabadi
Volleyball
Tennis Badminton
ISA



BlankspaceCalcutta Institute of Technology Page 49

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.11.1.4 Lk D|agram Cf 1ransport:












1ransporL
Loc
Alrllnes 8us 8allway Shlp
depL_Llme
arr_Llme
source
desLlnaLlon
fare
address
ISA
ISA ISA ISA
8eserved lnLernaLlonal naLlonal Lxpress Local
1ourlsm
PoLels
8eservaLlon
phoneno
name,lu
emall
ISA
Cfflce AgenL
h_lu
class
address
renL
phoneno
booklng
L_no
name
name
emall



BlankspaceCalcutta Institute of Technology Page Su

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.S Lk D|agram Cf Map:












Map
Market_map Sellable_area
Road_map
ISA
m_id
Recognized_pla
Road_na



BlankspaceCalcutta Institute of Technology Page S1

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.11.1.6 Lk D|agram Cf Lducat|on:





LducaLlon
rlvaLe
1echnlcal
School unlverslLy
CovL
College
Ceneral
lnsLlLuLlon
r_ld
Leachers
address
phone
emall
courses
duraLlon
sLream
u8L
name
board medlam
ISA
ISA ISA
Medlcal
ISA ISA
rlvaLe CovL
CovL rlvaLe
ISA
CovL
rlvaLe
courses duraLlon
ISA ISA
uegree
uegree
ulploma
ulploma
lS ln
8esearch cenLre
Llbrary
address phone
name
year
r_ld
ISA
CLher
ubllsher
ulsLrlcL Local
u8L
phone address
name
ubllshed by
8ook
LlLle
lS8n
prlce
kepL ln
auLhor



BlankspaceCalcutta Institute of Technology Page S2

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.7 Lk D|agram Cf Advert|sement:





AdverLlsemenL
CLher
Medla
PoLel
Alrllnes LlecLronlc_ goods
MaLrlmonlal
CrnamenLs
Pouse_renL
ISA
!obs
ad_ ld name
slze
M|xed
w|th sms

Sms_servlces
phone_no



BlankspaceCalcutta Institute of Technology Page SS

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.8 Lk D|agram Cf 8|odata:












Job
Biodata
Post_gradua
email

birthdat

URL

Year_pa
degre

ISA

match
es



BlankspaceCalcutta Institute of Technology Page S4

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.9 Lk D|agram Cf Down|oads:







uownloads
uocumenL
Audlo vedlo
ClLy_Lour 8ablnra_sangeeL 8eng_album_songs AnlmaLed_movle
8ooks_on_clLy lcLures

ISA

ISA

ISA

ISA
name,ld slze
formaL
formaL



BlankspaceCalcutta Institute of Technology Page SS

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.10 Lk D|agram Cf Ieedback:







User_account

user_email
Sends
to
Feedback

site_email



BlankspaceCalcutta Institute of Technology Page S6

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.11 Lk D|agram Cf Cu|tura| Ga||ery:








CulLural gallery
alnLlng SculpLure
ArL gallery AudlLorlum
lSA
lSA
name,lu lace
ArLlsL name ArLno



BlankspaceCalcutta Institute of Technology Page S7

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.12 Lk D|agram Cf Ut|||ty hones:



uLlllLy phones
name hone no
lSA
Lmergency no uLlllLy servlce
lu
lSA
Alrllnes
Mlscellaneous
kolkaLa Lourlsm
Pelp llnes
kolkaLa LransporL
orLs
8allways
osLal servlce
Cxygen
nurslng home
nurse
PosplLals
LC cusLomer
servlce call
Pearse
luneral parlor
Lye banks
WaLer supply
kolkaLa 1elephone
8lood banks
Ambulance
ld
llre brlgade ollce sLaLlons
lSA



BlankspaceCalcutta Institute of Technology Page S8

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.13 Lk D|agram Cf Lnterta|nment:









LnLerLalnmenLs
name lace
lSA
Clnema halls 8esLauranLs ulscoLheques Shopplng malls
lSA
SouLh lndlan Chlnese CLhers
lllm_name
Shows
lu



BlankspaceCalcutta Institute of Technology Page S9

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.14 Lk D|agram Cf SMS Serv|ces :








News
Sports Traffic Busines
s
Politica
l
Films
ISA
Cultur
al
ISA
Tende
r
Stock
index
sms_
services
Love
Shaery

Horoscop
Jokes Miss u
ISA
Headlin ID
Phone



BlankspaceCalcutta Institute of Technology Page 6u

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.1S Lk D|agram Cf C|ty 1our :





1our kolkaLa
Clubs
CulLural
places
Museums
MarkeL
places
LaLlng ouL
Clnema
unlverslLy Llbrarles CLhers 8esearch
lnsLlLuLes
name,lu
lSA




BlankspaceCalcutta Institute of Technology Page 61

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.1.16 Lk D|agram Cf keg|strat|on:








8eglsLraLlon
counLry
username
password
name
sLaLe
accepLance
clLy
ISA
lree_user remlum_user
ISA
A1M_ard ueblL_card vlsa_card CredlL_card CLher
accounLno



BlankspaceCalcutta Institute of Technology Page 62

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
2.11.1.17 Lk D|agram Cf o||:





oll

ISA
AfflrmaLlve
negaLlve
Counts
8esulL
ercenLage
p_ld LlLle
p_ld



BlankspaceCalcutta Institute of Technology Page 6S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

2.11.2 SCHFHA.
Aduertitement:
Aduertitement{ ud_ld, ud_nume, ud_Iize)
Houte_rent{ ud_ld, ud_nume, ud_Iize)
0rnumentt { ud_ld, ud_nume, ud_Iize)
Mutrimoniul{ ud_ld, ud_nume, ud_Iize)
Mediu{ ud_ld, ud_nume, ud_Iize)
lectronic_goodt{ ud_ld, ud_nume, ud_Iize)
Airlinet { ud_ld, ud_nume, ud_Iize)
Iobt{ ud_ld, ud_nume, ud_Iize)
Hotel{ ud_ld, ud_nume, ud_Iize)
A_0ther{ ud_ld, ud_nume, ud_Iize)
Imt_teruice{phone_no)
0ownloudt:
0ownloudt{0ownloud_ld, 0ownloud_nume, Muteriul_Iize)
vedio{0ownloud_ld, 0ownloud_nume, Muteriul_Iize,formut)
Audio{0ownloud_ld, 0ownloud_nume, Muteriul_Iize)
0ocumentt{0ownloud_ld, 0ownloud_nume, Muteriul_Iize,formut)
City_Iour{0ownloud_ld, 0ownloud_nume, Muteriul_Iize,formut)
Animuted_Mouie{0ownloud_ld, 0ownloud_nume, Muteriul_Iize,formut)
Rubindru_Iungeet{0ownloud_ld, 0ownloud_nume, Muteriul_Iize)
0_ 0ther{0ownloud_ld, 0ownloud_nume, Muteriul_Iize)
icturet{0ownloud_ld, 0ownloud_nume, Muteriul_Iize,formut)
Booht_on_city{0ownloud_ld, 0ownloud_nume, Muteriul_Iize,formut)
Benguli_Nouelt{0ownloud_ld, 0ownloud_nume, Muteriul_Iize,formut)




BlankspaceCalcutta Institute of Technology Page 64

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

ducution:
ducution{code,nume,uddrett,phone_no,emuil,teuchert,0RL)
0niuertity{code,nume,uddrett,phone_no,emuil,teuchert,0RL,durution,courtet)
Ichool{code,nume,uddrett,phone_no,emuil,teuchert,0RL,bourd,medium)
Colluge{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
Reteurch_Center{code,nume,uddrett,phone_no,emuil,teuchert,0RL)
lnttitution{code,nume,uddrett,phone_no,emuil,teuchert,0RL,durution,courtet)
0_0out{code,nume,uddrett,phone_no,emuil,teuchert,0RL,durution,courtet)
0_riuute{code,nume,uddrett,phone_no,emuil,teuchert,0RL,durution,courtet)
Medicul{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
C_0out{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
Iechnicul{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
M_0out{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
M_riuute{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
I_0out{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
I_riuute{code,nume,uddrett,phone_no,emuil,teuchert,0RL,ttreum)
l_0enerul{code,nume,uddrett,phone_no,emuil,teuchert,0RL,durution,courtet)
l_riuute{code,nume,uddrett,phone_no,emuil,teuchert,0RL,durution,courtet)
Librury{id,nume,uddrett,phone)
_0ther{id,nume,uddrett,phone)
0ittrict{id,nume,uddrett,phone)
Locul{id,nume,uddrett,phone)
ublither{id,nume,uddrett,phone,0RL)
Booht{lIBN,uuthor,title,price,yeur)





BlankspaceCalcutta Institute of Technology Page 6S

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
Heulth:
Heulth{heulth_id,heulth_nume,uddrett,phone_no)
Hotpitult{heulth_id,heulth_nume,uddrett,phone_no,emil_ld)
Nurting_Home{heulth_id,heulth_nume,uddrett,phone_no,emuil_ld)
0iugonottic_Center{heulth_id,heulth_nume,uddrett,phone_no,numet_of_tett)
Medicul_Itoret{heulth_id,heulth_nume,uddrett,phone_no)
0octort{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
0rthopedic{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
ediutric{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
Neurolgitt{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
tychiutritt{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
0ynecologitt{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
NI{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
Homeoputhy{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
Nephrologitt{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
Child_Ipeciulitt{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)
0uttroendrologitt{doctor_ld,doctor_nume,emuil_ld,uttuin_dute,uttuin_time)


Bl00AIA:


Biodutu{emuil,cundidute_nume,birth_dute,degree,percentuge,yeur_of_putt)
0ndergruduute{emuil,cundidute_nume,birth_dute,degree,percentuge,yeur_of_putt)
ottgruduute{emuil,cundidute_nume,birth_dute,degree,percentuge,yeur_of_putt)
Iobt{0RL,[ob_nume,degree_required,percentuge)




BlankspaceCalcutta Institute of Technology Page 66

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace
oll:
oll{p_id,title)
Affirmutiue{p_id,title)
Negutiue{p_id,title)
Retult{p_id,poll_percentuge)


Regittrution:

Regittrution{uternume,puttwurd,nume,city,ttute,country,ucceptunce)
Free_uter{uternume,puttwurd,nume,city,ttute,country,ucceptunce)
remium_uter{uternume,puttwurd,nume,city,ttute,country,ucceptunce)
Credit_curd{uternume,puttwurd,uccount_no,nume,city,ttute,country,ucceptunce)
0ebit_curd{uternume,puttwurd,uccount_no,nume,city,ttute,country,ucceptunce)
AIM_curd{uternume,puttwurd, uccount_no,nume,city,ttute,country,ucceptunce)
vitu_curd{uternume,puttwurd, uccount_no,nume,city,ttute,country,ucceptunce)
_other{uternume,puttwurd, uccount_no,nume,city,ttute,country,ucceptunce)


IMI_Ieruice:

Imt_teruicet{phone_no)
Friendthip{phone_no)
Iohet{phone_no)
Horotcopet{phone_no)
Ihuery{phone_no)
Heulth_tipt{phone_no)



BlankspaceCalcutta Institute of Technology Page 67

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Newt{newt_id,phone_no,heudline)
Iportt{newt_id,phone_no,heudline)
Culture{newt_id,phone_no,heudline)
Iruffic{newt_id,phone_no,heudline)
Butinett{newt_id,phone_no,heudline,type)
oliticul{newt_id,phone_no,heudline)
Filmy{newt_id,phone_no,heudline)
Iender_notice{newt_id,phone_no,heudline,type)
Itoch_index{newt_id,phone_no,heudline,type)
City_Iour:
City_tour{info_nume,info_id,mup)
Muteumt{info_nume,info_id,mup)
0niuertity{info_nume,info_id,mup)
Mull&Murhet{info_nume,info_id,mup)
urht{info_nume,info_id,mup)
Rettuuruntt{info_nume,info_id,mup)
Cinemu{info_nume,info_id,mup)
Librury{info_nume,info_id,mup)
Clubt&0itco{info_nume,info_id,mup)
Art_0ulluriet{info_nume,info_id,mup)
I_0ther{info_nume,info_id,mup)
Mup{mup_id,recognized_plcet,roud_nume)
Roud_Mup{mup_id,recognized_plcet,roud_nume)
Ielluble_Areu{mup_id,recognized_plcet,roud_nume)
Murhet_Mup{mup_id,recognized_plcet,roud_nume)




BlankspaceCalcutta Institute of Technology Page 68

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Feedbuch:
Feedbuch{officiul_emuil)
0ter_Account{uter_emuil,tub[ect)
0tility_honet
0tility_phonet{utility_nume,phone_no)
mergency_No{utility_nume,eid,phone_no)
0tility_No {utility_nume,phone_no)
Fire_Brigude{eid,utility_nume,phone_no)
olice_Itution{eid,utility_nume,phone_no)
Airlinet{utility_nume,phone_no)
Ambulunce{utility_nume,phone_no)
Blood_Bunh{utility_nume,phone_no)
City_Ielephone{utility_nume,phone_no)
Wuter_Iupply{utility_nume,phone_no)
ye_Bunht{utility_nume,phone_no)
Funerul_urlour{utility_nume,phone_no)
Heurte{utility_nume,phone_no)
L0_Ieruice{utility_nume,phone_no)
Hotpitul{utility_nume,phone_no)
Nurte{utility_nume,phone_no)
Nurting_Home{utility_nume,phone_no)
0xygen{utility_nume,phone_no)
ottul_Ieruice{utility_nume,phone_no)
Ruilwuyt{utility_nume,phone_no)
Ihipping_Corp. {utility_nume,phone_no)
Iouritt_0ffice{utility_nume,phone_no)



BlankspaceCalcutta Institute of Technology Page 69

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Iruntport{utility_nume,phone_no)
Helplinet{utility_nume,phone_no)
Mitcelluneout{utility_nume,phone_no)

Culturul_0ullery:

Culturul_0ullery{gullery_nume,gullery_id,pluce)
Art_0ullery{gullery_nume,gullery_id,pluce,urtitt_nume,urt_no)
Auditorium{gullery_nume,gullery_id,pluce)
uinting{gullery_nume,gullery_id,pluce,urtitt_nume,urt_no)
Iculpture{gullery_nume,gullery_id,pluce,urtitt_nume,urt_no)
ntertuinmentt:
ntertuinmentt{nume,pluce)
Cinemu_Hullt{nume,pluce,film_nume,thowt)
Rettuuruntt{r_id,nume,pluce,)
0itcotheque{nume,pluce)
Mullt{nume,pluce)
Iouth_lndiun{r_ld,nume,pluce)
Chinete{r_ld,nume,pluce)
R_other{r_ld,nume,pluce)
Ieurch:
Ieurch{teurch_id,teurch_nume)
Cutegorized{teurch_id,teurch_nume)
Numewite{teurch_id,teurch_nume)
Iite_Mup{index_id,index_nume)




BlankspaceCalcutta Institute of Technology Page 7u

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

Iportt:
Iportt{tportt_id,tportt_nume,uttociution_nume)
Crichet{tportt_id,tportt_nume,uttociution_nume)
Footbull{tportt_id,tportt_nume,uttociution_nume)
kubuddi{tportt_id,tportt_nume,uttociution_nume)
volleybull{tportt_id,tportt_nume,uttociution_nume)
Iennit{tportt_id,tportt_nume,uttociution_nume)
Budminton{tportt_id,tportt_nume,uttociution_nume)

2.11 Assumptions and Dependencies:

Ihit product utturet to giue proper roud mupt for the utert. But the mupt
of the highly congetted ureut muy not be pottible to thow. And the lihe
nutiont herituge und other ureut which needt tecurity from uiolent uctt ure
intended not to thow publicully or lurgely through thit product for
rettricting uny unwunted worht uting the product. Ihit mupt it propoted to
thown thote premium utert who intendt to build induttry or for thote
people who wuntt turuey on the city. Huching it hnown cyber crime. 0ur
product giuet itt bett to tupport und tecure uter dutu etpeciully uttword,
uternume, uccount number, phone number und uttumet the no one will
huch uter't pertonul uccount on thit tite. lt't ulto uttumed the teruer it
pluced in u tecure pluce und cunnot be uffected by the uirut.








BlankspaceCalcutta Institute of Technology Page 71

Smart City Version 1.0
Software Requirements Specification 31/12/2010
Blankspace

3.0 Specific Requirements :

3.1Use Case Reports:
3.2 Supplementary Requirements :

Vous aimerez peut-être aussi