Share PDF

Search documents:
  Report this document  
    Download as PDF   
      Share on Facebook

TEJAA SHAKTHI INSTITUTE OF TECHNOLOGY

FOR WOMEN

Software Requirements Specification

Smart Traffic management system

Version 1.0

PROJECT GUIDE

Prof.I.Kala

Department Of Computer Science And Engineering

Team Members :

Team name: KRAZY KIWIS

V.S.Deepalakshmi

T.Saranya

Smart Traffic Management system

Version 1.0

 

 

Table of Contents

 

1. Introduction

3

1.1

 

Methodology

3

1.2

 

Purpose

4

1.3

 

Scope

5

1.4

Definitions, Acronyms and Abbreviations

5

1.5

 

Tools Used

6

1.6

 

Reference

7

1.7

 

Technologies to be used

7

1.8

 

Overview

7

2. Overall Description

8

2.1

Product Perspective

8

2.2

Software Interface

8

2.3

Hardware Interface

9

2.4

Communication Interface

9

2.5

Constraints

9

2.6

ER Diagram

10

2.7

Architecture Design

11

3. Specific Requirement

12

3.1

Use-Case Reports

12

3.2

Sequence Diagram

18

3.3

Class Diagram

19

Tejaa Shakthi Institue Of Technology For Women

Page 2

Smart Traffic Management system

Version 1.0

 

 

1. Introduction

1.1Methodology

Rational Unified Process

The Rational Unified Process brings together elements from all of the generic process models, supports iteration and illustrates good practice in specification and design. The RUP is normally described from three perspectives:

A dynamic perspective that shows the phases of the model over time.

A static perspective that shows the process activities that are enacted.

A practice perspective that suggests good practices to be used during the process.

The different phases in RUP are Inception

The goal of the inception phase is to establish a business case for the system. Identifying all external entities that will interact with the system and defining this interaction. This information is used to assess the contribution of system to business.

Elaboration

The goals of the elaboration phase are to develop an understanding of the problem domain, establish an architectural framework, develop project plan and identify key project risks.

Construction

This phase is concerned with system design, programming and testing. Parts of the system are developed in parallel and integrated during this phase.

Tejaa Shakthi Institue Of Technology For Women

Page 3

Smart Traffic Management system

Version 1.0

 

 

Transition

This is the final phase of RUP and is concerned with moving the system from the development community to the user community and making it work in real environment.

1.2 Purpose

The Smart Traffic management System is web application which provides information about traffic control system. Now days, our country facing a very big problem involving traffic jam in a peak hour. This is because increasing of automobiles and resulting very high traffic in main cities. Real problem happen when an emergency vehicle wants to get through a heavy traffic jam in a peak hour. When an emergency vehicle are not having a possibility to go through this heavy traffic. Due to lagging of this time so many losses are occurred. So, to overcome this problem we need the Smart Traffic Management System for Emergency/VIP vehicles traffic clearance. Smart Traffic Management System for Emergency/VIP vehicles the traffic light system that can sense emergency/VIP vehicles at certain distances and give the priority to them. Traffic light return green when it detects vehicles moving toward it. The other traffic light in that junction will turn red.

Tejaa Shakthi Institue Of Technology For Women

Page 4

Smart Traffic Management system

Version 1.0

 

 

1.3 Scope

There are mainly four basic users-City Traffic Management Authority, Traffic Police, Car Owners and Pedestrians. All the users have their own profiles in STMS.City Traffic Management Authority can communicate, stores the historical data of flow of traffic on each day and maintain with the traffic control systems in the city. Traffic Police can control the vehicles and guide the users of road in a efficient way. He can also get the information from the neighboring control systems. Car Owners follow the traffic rules and guided manual of traffic signals. Pedestrians can follow the traffic signals and then cross the road. If they are not aware of traffic rules the Traffic Police guide them.

1.4 Definitions, Acronyms and Abbreviations

SMTS

Smart Traffic Management System-It is a web based application that provides the way how we can get effective utilization of traffic signals by using sensors in the control system.

DB2

Database2: A database management system that provides a flexible and efficient database platform to maintain records of students, teachers, admin.

JSP

Java Server Pages. It is used to create dynamic web content.

J2EE

Java2 Enterprise Edition. A programming platform which is a part of java platform for developing and running distributed java.

UML

Unified Modeling Language is a standard language for writing software blueprints. The UML may be used to visualize, specify, construct and document.

XML

Extensible Markup Language is a text based format that let developers describe, deliver and exchange structured data between a range of applications to client for display and manipulation.

Tejaa Shakthi Institue Of Technology For Women

Page 5

Smart Traffic Management system

Version 1.0

 

 

HTTP

Hyper Text Transfer Protocol. It’s a service protocol.

RAD

Rational Application Developer is a development tool that helps to design web pages and also helps to design the diagrams like ER, Database schema diagrams and to generate DDL.

1.5 Tools Used

Application architecture – JAVA, J2EE JAVA

Java is an object-oriented programming language developed by Sun Microsystems a company best known for its high end UNIX workstations. Java language was designed to be small, simple, and portable across platforms, operating systems, both at the source and at the binary level, which means that Java programs (applet and application) can run on any machine that has the Java virtual machine (JVM) installed.

J2EE

Java Platform, Enterprise Edition or Java EE is a widely used platform for server programming in the Java programming language. The Java platform (Enterprise Edition) differs from the Java Standard Edition Platform (Java SE) in that it adds libraries which provide functionality to deploy fault-tolerant, distributed, multi-tier Java software, based largely on modular components running on an application server.

Development tool –RAD

IBM Rational Application Developer for Web Sphere Software (RAD) is an integrated development environment (IDE), made by IBM’s Rational Software division, for visually

designing, constructing, testing, and deploying Web services, portals, and Java (J2EE) applications.

Database platform – DB2

DB2 Database is the database management system that delivers a flexible and cost effective database platform to build robust on demand business applications and supports the J2EE and web services standards.

Design tool – Rational Software Modeler

IBM Rational Software Modeler, (RSM) made by IBM’s Rational Software division, is a Unified Modeling Language UML 2.0-based visual modeling and design tool. Rational Software Modeler is built on the Eclipse open-source software framework and includes capabilities

Tejaa Shakthi Institue Of Technology For Women

Page 6

Smart Traffic Management system

Version 1.0

 

 

focused on visual modeling and model-driven development (MDD) with the UML for creating resilient, thought-out applications and web services.

1.6 References

Object Oriented Modeling and Design with UML-Michael Balham, James Rambaugh. Software Engineering, Seventh Edition, Ian Somerville.

IBM Red Books.

IBM TGMC Sample Synopsis.

Database Management Systems – Navaho. Complete Reference – J2EE – Keog

1.7Technologies to be used

∑DB2: Relational Database Management System.

∑RAD: Rational Application Developer

∑WASCE: Web Sphere Application Server Community Edition.

∑Rational Software Modeler.

1.8Overview

Existing System:

STMS provides signals with some interval of time. In traffic control system we are using traffic light signals. Intersection traffic light controlling system. Not adaptive and fixed time plan and too dumb.

Drawbacks:

ÿCar Owners must wait longer time even though the other side traffic clear because we fix some interval time.

ÿThose who are not aware of traffic rules and traffic signals it is difficult to understand.

ÿProposed System:

ÿIn this STMS we are providing the sensors to sense the vehicles in the flow of traffic.

ÿBy using this sensor control system we can get effective and liable control system and the users of road must not wait for long time.

Tejaa Shakthi Institue Of Technology For Women

Page 7

Smart Traffic Management system

Version 1.0

 

 

Our Plan:

o We can interact with city traffic management, traffic police.

o Maintain the historical data of flow of traffic by using cameras and sensors.

o We can sense the vehicles up to some range of flow.

2.Overall Description

2.1 Product Perspective

2.2Software Interface

ßClient on Internet

Web Browser, Operating System(WindowsXP)

ßClient on Intranet

Web Browser, Operating System (WindowsXP)

ßWeb Server

WASCE, Operating System (WindowsXP)

Tejaa Shakthi Institue Of Technology For Women

Page 8

Smart Traffic Management system

Version 1.0

 

 

ßData Base Server

DB2, Operating System (WindowsXP)

ßDevelopment End

RAD (J2EE, Java, JavaBean, Servelets, HTML, XML, AJAX), DB2, OS (Windows), Web Sphere (Web Server)

2.3Hardware Interface Minimum Requirements: Client Side:

¸Processor: Intel Pentium IV@ 2.4GHz RAM :256MB

¸HardDisk:20GBServer Side:

¸Processor: Intel Pentium IV@ 3GHz

¸RAM : 512MB

¸Hard Disk: 40GB

2.4Communication Interface

Client (customer) on Internet will be using HTTP/HTTPS protocol.

Client (system user) on Internet will be using HTTP/HTTPS protocol.

2.5Constraints

GUI is only in English. Login and password is used for the identification of users. The City Traffic Management Authority can maintain and control the overall traffic system. Limited to HTTP/HTTPS. This system is working for single server.

Tejaa Shakthi Institue Of Technology For Women

Page 9

Smart Traffic Management system

Version 1.0

 

 

2.6 ER Diagram

Tejaa Shakthi Institue Of Technology For Women

Page 10

Smart Traffic Management system

Version 1.0

 

 

2.7 Architecture Design

Tejaa Shakthi Institue Of Technology For Women

Page 11

Smart Traffic Management system

Version 1.0

 

 

3. Specific Requirements

3.1 Use-case Reports

3.1.1 User Registration Use-case Report

This use-case diagram shows the actors, use-cases and their relationships. In this diagram the actors are User and DB Admin.

User-This user actor plays an important role, the registered user can only able to see the details in the web site.

DB Admin-This DB Admin actor maintains the registered user’s details. The use-cases are given below

-Enter the details to register. -Enter user-id and password. -Choose a security question -Accept the agreement.

-Verified users can visit the website.

Tejaa Shakthi Institue Of Technology For Women

Page 12

Smart Traffic Management system

Version 1.0

 

 

3.1.2 Login Use-case Report

∑This use-case Diagram shows the actor, use-cases and their relationships.

∑The actor here is User.

∑The use-cases are given below:

-Enter the User-id and Password. -Press the submit button. -Shows the welcome Home Page.

Tejaa Shakthi Institue Of Technology For Women

Page 13

Smart Traffic Management system

Version 1.0

 

 

3.13 Traffic Management Use-case Report

`

ßThis use case diagram shows the actor, use-cases and their relationships.

ßIn this use-case The Traffic Management Authority is the actor.

ßThe use cases are given below.

-Provide the traffic control systems to the city. -Monitor and appoint the traffic police.

-Record the flow of traffic transactions by using the cameras. -Provide the solutions at clumsy areas and clear the traffic. -Maintain the database of historical flow of traffic transactions

Tejaa Shakthi Institue Of Technology For Women

Page 14

Smart Traffic Management system

Version 1.0

 

 

3.1.4 Traffic Control System Use-case Report

ßThis use case diagram shows the actor, use-cases and their relationships.

ßIn this diagram the actor is Traffic Control System.

ßThe use-cases are given below

-Shows the traffic lights like red, green and yellow.

-Provide the traffic diversions signals when the traffic jam occurs. -Provide the alert system signals for traffic rule violation.

-Record the flow of traffic transactions by using cameras and sensors. -Provide the cross symbols to the pedestrians.

-Interaction with neighboring control system

Tejaa Shakthi Institue Of Technology For Women

Page 15

Smart Traffic Management system

Version 1.0

 

 

3.1.5 Traffic Police Use-case Report

ßThis use-case diagram shows actors, use-cases and their relationships.

ßIn this diagram Traffic police is the actor.

ßThe use-cases are given below

-Control the traffic at junctions.

-Monitor and guide the vehicles and pedestrians according to traffic rules. -Provide the route for the Emergency/VIP vehicles.

-Get the information from neighboring control system and city traffic management.

Tejaa Shakthi Institue Of Technology For Women

Page 16

Smart Traffic Management system

Version 1.0

 

 

3.1.6 Car Owners Use-case Report

ßThis use-case diagram shows actors, use-cases and their relationships.

ßIn these diagram car owners is the actor.

ßThe use-cases are given below

-Follow the traffic control system signals.

-Follow the traffic police instructions.

-Provide the route to the Emergency/VIP vehicles.

Tejaa Shakthi Institue Of Technology For Women

Page 17

Smart Traffic Management system

Version 1.0

 

 

3.2 Sequence Diagram

Tejaa Shakthi Institue Of Technology For Women

Page 18

Smart Traffic Management system

Version 1.0

 

 

3.3 Class Diagram

ßThis Class Diagram shows Classes, interfaces and their relationships.

ßIn this Class Diagram Classes are City Traffic Management, Traffic Control System, Traffic Police, Traffic Signals Lights, Traffic Symbols, Vehicles, Pedestrians

ßIn the class City Traffic Management the attributes are city name, location.

ßIn the class Traffic Control System the attributes are control signals, control system number, control system number, traffic symbols.

ßIn the class Traffic Police the attributes are name, id, and age.

ßIn the class Vehicles the attributes are type, reg number.

Tejaa Shakthi Institue Of Technology For Women

Page 19