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
`.! `.! `.! `.!: (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
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
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
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:
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:
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()
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:
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
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 :