Sie sind auf Seite 1von 23

Smart City Version 1.

0
Software Requirements Specification 27-12-2010
Caucus

CAUCUS 

SMART CITY  

Software Requirements Specification 
Version 1.0 
 
Team Guide  : Vellinila.A 
Members   : Durairaj.K 
        Supriya.A.B 
        Renganayaki.R 
        Manoj kumar.S 
College Name : SriRam Engineering College 
Department  : Computer Science, Information Technology 

Page | 1  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

Revision History
Date Version Description Author
27-12-2010 1.0 Synopsis Caucus

 
   

Page | 2  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

TABLE OF CONTENTS 
 
Description  Page No 

1.0  Introduction   
 
1.1   Purpose  5 
 
1.2   Scope  5 
 
1.3   Definition, Acronyms, Abbreviations  6 
 
1.4   References  6 
 
1.5   Technologies to be used  7 
 
1.6   Overview  7 

2.0  Overall Description   
 
2.1   Product Perspective  8 
 
2.2   Software Interface  8 
 
2.3   Hardware Interface  8 
 
2.4   Product Function  9 
 
2.5   User Characteristics  9 
 
2.6   Constraints  9 
 
2.7   Architecture Design  10 
 
2.8   Use Case Model Description  11 
 
2.9   Class Diagram  11 
 
        Sequence Diagram  14 
 
2.10  Database Diagram   
 
      2.11.1 E. R. Diagram  19 

Page | 3  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

 
      2.11.2  Schema   20 
 
2.12  Assumptions and Dependencies  30 

 
3.0  Specific Requirements 
21 
  3.1  Use case report 
23 
  3.2  Supplementary requirements  

 
   

Page | 4  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

Introduction: 
  1.1 Purpose: 

    This  project  aims  to  present  a  web  based  platform  to  a  city  to  be 
showcased  for  all  it  has,  in  terms  of  unique  business,  places  to  see,  things  to  do,  use  local 
transport for a new traveller, etc. This Smart City project is designed for common people to get 
various details of a city such as Complete Map of the city with key markets and places, History of 
the  city,  News  Updates,  Online  Services  (Tax  Payment,  EB‐Bills,  etc.),  SMS  alerts  for  city  news, 
market  daily  rates,  etc.  with  secure  registration  of  all  users  including  a  personal  profile, 
Programmed with convivial Graphical User Interfaces. The complex treatments and features are 
achieved  at  the  levels  of  applicative  layer  and  database.  Hence  simplifies  the  task  for  common 
people to easily connect with city. 
 
  1.2 Scope: 
 
• Complete map of the city with pin points of important places 

• Complete history of the city with regular updates 

• Daily update of local news includes weather, city events, market price, etc. 

• Local government news & notice updates 

• SMS and E‐mail alerts for city news, stock market, etc. 

• Online  payment  &  registration  gateway  Services  such  as  Tax  Payment,  EB‐Bills, 
Pass etc. 

• Secure  registration  for  users  in  order  to  access  paid  services  and  for  general 
discussion such as forum, chat, mail. 

• Complete business overview of the city for business men’s and public  

• Customised  reports  for  tourists,  businessmen,  government,  etc  by  taking  online 
poll, survey, etc. 

 
   

Page | 5  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

 
1.3 Definitions, Acronyms and Abbreviations 
 
¾ Admin – Administrator (super user), he is the controller of all the  entire site  
 
¾ Users –Public peoples who interacts with the website 
 
¾ HTML – Hypertext Markup Language is to create static websites. 
 
¾ J2EE – Java 2 Enterprise Edition is a programming platform and it is the part of the 
java platform for developing and running distributed java applications. 
 
¾ WAS – Web sphere application server community edition is an application server 
that runs and supports the J2EE and web service applications. 
 
¾ RSA – Rational Software Architect is a designer toolkit which is designed for 
developing more complex projects by providing fully dynamic web service. 
 
¾ DB2  –  Database  2  is  the  database  management  system  that  provides  a  flexible 
and efficient database platform to erect strong on demand business applications. 
 
¾ XML ‐ Extensive Markup Language used for data transfer and XML is stored 
naturally in DB2 
 
¾ EJB – Enterprise java bean, it is architecture for the development and deployment 
of transactional, distributed object applications‐based, server‐side software 
components. 
 
¾ HTTP – Hypertext transfer protocol is a transaction oriented client/server 
protocol between web browser and a web server. 
 
¾ HTTPS – Secure hypertext transfer protocol is a hypertext transfer protocol over 
secure socket layer. 
 
¾ TCP/IP – Transmission control protocol/internet protocol is the communication 
protocol used to connect hosts on the internet. 
 
¾ Local services – services like online passport, Electricity bills, Tax payment, etc.  
 

1.4 References 
 
¾ IEEE SRS format 
 
¾ Project specification requirement (provided by IBM)   

Page | 6  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

1.5  Technologies to be used 
 
• HTML – Hyper Text Markup Language 
 
• Java Script – Script Language 
 
• XML – Extensive Mark Up Language 
 
• JAVA – Application architecture 
 
• J2EE – Application architecture 
 
• EJB – Enterprise Java Bean 
 
• AJAX – Asynchronous Java script And XML 
 
• Web Services, SOA – Service Oriented Architecture 
 
• UML –  Unified Modeling Language 
 
• e‐Forms – electronic forms 
 

 
1.6 Overview 
 
SRS includes two sections overall description and specific requirements  
 
• Overall description will describe major role of the system 
components and interconnections. 
 
• Specific requirements will describe roles & functions of the actors. 
 
   

Page | 7  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

2.0 Overall Description 
   
  2.1 Product Perspective 
 
Existing System: 
Superficial details regarding the city are only available. Maps and other 
diagrammatic approaches are also available, but not up to the mark.  

Proposed System: 

Regular  updates  regarding  the  city,  sophisticated  facilities  available  that  make  it 
user friendly and hence not making it necessary for the user to opt for another source of 
information. 

2.2 Software Interface: 
 
9 User on Internet: Web Browser(any) , Operating System (any) 
 
9 Web Server: WAS, Operating System (Linux) 
 
9 Data Base Server: DB2, Operating System (Linux) 
 
9 Development End: WSAD (J2EE, Java, Java Bean, Servlets, HTML), DB2, OS (Linux). 
 
   
  2.3 Hardware Interface: 
 
Client Side (Minimum Requirements): 
   
  Processor  :  Pentium IV 
  RAM    :  256 MB 
  Disk Space  :  16GB 
  Internet  :   Reliable speed 
   
Server Side (Minimum Requirements): 
 
  Processor  :  Intel Dual Core 
  RAM    :   2 GB 
  Disk Space  :  160GB 
  Internet  :  Min 3.00 Mbps 
   
 

Page | 8  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

 
2.4 Product Function: 
     
Registration: This feature allows to add/edit/delete members in the system. We 
should be able to store at least the basic information like username, password, contact 
no, Address, Email etc of the member 
 
2.5 User Characteristics: 
 
Every user should be comfortable of working with computer and net browsing. 
 
2.6 Constraints: 
 
™ Login and password is used for identification of customer during the access of 
paid & local services. 
 
™ A system should be working ideal for 24x7 availability. 
 
™ Regular backup of data should be done in order to prevent loss of data from 
undesired circumstance. 
 
   

Page | 9  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

2.7 Architecture diagram:
 
Application Layer  Business Layer  Data Layer 
 
       
  Homepage_UI   
  Homepage 
  Homepage 

     

   
     Login_UI        Login         Login 
 

   
New userUI  Register 
    Database 

   

     

 
Guest/ Registered  Available 
  user  services  Database 
access
 

 
Administrator  Add 
  Database 
Services/ 
  updates

Page | 10  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

2.8Use Case Model Description  

Update Local News & Accessing maps


Government notices Update Paid Services

Add Polls Use Paid Services

Update Business News History details

Administrator  SMS Alert

Forum Discussion & Mail city news & whether updates


Update
History 

Update Maps  Chat, Forums


city guide Guest 
city guided update Registered Secure
User
Integrating Registration 
Local Services 
Business overview

Engaged Local Services


Login Site traffic

Site Search

User 

Change of Appearance

 
  2.9 Class Diagram  
 
   Type Of user 
   
Admin

User
userid
password
Registered User
Login()
NewRegistration()

Guest

Page | 11  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

   Administrator 
   

Local & Government


mail news
Polls to
title
content
date
Add() content
view() post()
change() update()

Forums Local Services


name service name
email service id
question license

reply() Admin add services()


read() remove services()

paid services
Guide name
service types
file
amount
payment type
upload()
UpdateNews update business view users()
title revenue()
news
content
title
date
content
date
update()
update()

Page | 12  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

Registered/ Guest User: 

Change
Apperance
theam name

change()

sms alerts
Business
phone no
alert type
overview
name
activate() address
deactivate() description

search()
view() Registration
First name
Paid Services Acessing Maps Last name
userid Location user id
price password
Guest
servicetype Registered User Find() email id
Locate() phone no
activate()
deactivate()
securityquestion
HistoryDetails
Content submit()
Reset()
chat view()
chatroomname
userid
msg CityNews
Content
send() Date
connect()
disconnect() View()

Site search
Local services query
access
service type search()

CityGuide
file

download()

   

Page | 13  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

Sequence Diagram’s  
 
(i)Login Form: 

User Login Database

1: user id&password

2: verify

3: search

4: valid/invalid

  (ii) Business news updates 

Admin Update Database


Business news

1: Enter Business news updates

2: update

3: Updated

Page | 14  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

(iii) Local & Government news update 

Admin Update Local & Databse


Government News

1: Enter News content and date

2: Update

3: Updated

(iv) Mail Posting 

Admin Send Mail Database User

1: Post mails

2: Storing

3: Send

Page | 15  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

(v) City Guide upload 

Admin CityGuide Database

1: Submit file

2: upload

(vi) Paid Services activation/ Deactivation  

User Paid Databse


Services

1: suscription

2: Activation/Deactivation

3: Activated/Deactivated

Page | 16  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

(vii) Local services usage  

User Local Service


Services Gateway

1: Service name&id&license

2: Service Redirection

(viii) New user registration  

Guest Registration Database

1: Enter Details regarding registration

2: Storing

3: Registered

Page | 17  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

  (ix)  Accessing of available services  

User Maps Histroy Ciryand business Business


Details news updates Overview

1: Accessing Maps

2: ViewHistroyDetails

3: Viewciity&Business Updates

4: ViewBusiness Overvoew

    
   

Page | 18  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

2.10 Database Diagram 
    
     2.11.1 E.R. Diagram: 
  Date Content 
Title  Expire date
  Data 
       Admin id
Data
Date  Content

  Type Local News
Service Type  Polls 
  Password
City Guide
  History
Paid Services  Updates
userid    Adds  Administrator

 
Amount  Updates
  Local Services  Mail 
Date
Business Details
 
Url
  Site name 
  Maps Data  To
Name Address

Gateway Id 
Latitude, Longitude Image
Serves for  Password
User id 
User id 
New Registration Email id

Password 
Phone number Address 

Name
Latitude, Longitude 
Search Question 
Query
Maps  Image 
Answer
User  Uses Forum 

Service Type
Views  History Paid Services
Content 
User id

Date  Content
Local News  Amount
Address 
Name  Uses  SMS Service
Date
Business Overview Views
Title  User id

Chat  Mobile no
Expire Date 
Local services
Polls 
Data  User id
City Guide 
Service name Url

Password
Type
Data  Gateway id

Page | 19  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

2.11.2 Schema Diagram: 
 

 
2.12 Assumptions and Dependencies 
o The end user should have a basic knowledge of English and computer 
usage. 
o The end user should have reliable speed of internet connection for 
efficient access of services. 
 

Page | 20  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

3.0 Specific Requirements

3.1 Use-case reports

Administrator:

™ Add poll: The administrator adds new polling list. This


helps to take survey report.

™ Update History: The history of the city is regularly updated


by the administrator in order to make use of it by the
businessmen’s and others.

™ Update Local news & government notice: The


administrator update the daily news, weather report,
government notice etc. This will be displayed on the
website that makes useful for all public people in the city.

™ City guide upload: The city guide is regularly uploaded.


Which consist of complete tourist information, important
places in the city, emergency phone numbers, etc.

™ Add paid services: The user activated paid services are


checked by the administrator for payment details. And also
for the activation and deactivation of paid services.

™ City Guide: The administrator regularly uploads the guide


of the city in the PDF format.

™ Local Services: The administrator adds the local services


like online passport status, bill payments, etc. By using the
gateway id and the URL of the site.

™ Maps: The administrator regularly updates the static maps


with the key palaces of the city. The dynamic maps are
updated automatically by various service providers such as
Google maps, wiki maps, etc.

Page | 21  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

™ Mail posting: The mails are regularly posted for the


subscriber by the administrator which consists of news,
updates, etc.

™ Business Overview: Business overview of the complete


city is updated with their perspective name, address, etc.

Guest:

Guest users avail restricted services such as accessing of maps,


City news, business overview, etc. In order to avail full access the
guest must be registered.

™ Registration: The user can register to get their own login


id and password for accessing the services available for
the registered user

™ Accessing of Maps: The user can access maps of the city


and can find the important places, hot spots, etc.

™ Polls: If the user is interested. They can poll for the public
questions that helps to take survey

™ City Guide: The user such as tourists, guides makes use


of the city guide by downloading it.

™ City news & Government notice: The users can easily


read the daily news of the city, weather report, market
details and the important government notice, etc. This
makes the user updated with their city news.

Registered User:

The registered users avail all the services of the guest user
and also some other services which require the login of the user

™ Paid services: The user avail paid services such as real


estate details, travel services by subscribing it.

Page | 22  
CAUCUS / SRIRAM ENGINEERING COLLEGE 
Smart City Version 1.0
Software Requirements Specification 27-12-2010
Caucus

™ Local Services: The user can avail local service such as


passport status, tax payment, electricity bill payment, etc.
this can be availed only when the users logged in.

™ Forum: The user can avail public discussions by using


forums. Such as posting questions, giving reply, etc.

™ Chat: The user can avail public chat just by logging in and
chat with buddy’s who are in online.

3.2 Supplementary Requirements:

™ Have hours of operation that are 24 x 7 - Because system can be an


automated process, so it can stay open for 24 hours a day. System is required
to be available 24X7 so UPS support must be on server site for at least 8 hours
in case of power failure.

™ Make the existing Web site more dynamic in nature - Many early Web
implementations consisted of static HTML pages. This becomes very difficult
to manage if the number of pages gets too large. An effective system should
be largely dynamic taking advantage of technology that automates this process
rather than relying on manual processes. Application should serve dynamic
user based customized web pages to its clients from server.

™ Tie the existing Web site into existing enterprise systems – Any existing
Web site that relies on the manual duplication of data from another system is
one that can be improved. Most of the business data in the world today exists
in enterprise servers that can be connected to the Web servers to make this
process far more effective.

™ Provide good performance and the ability to scale the server – The Web
Application Server should provide good performance and the ability to
manage performance with techniques, such as support for caching, clustering,
and load balancing. . Better component design to get better performance at
peak time

™ Providing session management capability - Web application developers


should not spend valuable time worrying about how to maintain sessions
within the application. The Web Application Server should provide these
services. Flexible service based architecture will be highly desirable for future
extension

Page | 23  
CAUCUS / SRIRAM ENGINEERING COLLEGE 

Das könnte Ihnen auch gefallen