8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
1/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 1
Hammer Heads !!!
ONLINE NATIONAL POLLING SYSTEM
Software Requirement Specifications
Version: 1.0
Team Name : HAMMER HEADS!!!
College Name : Smt. Kashibai Navale College Of Engg, Pune,
Maharashtra
Team Guide : Prof. S. K. Pathan
Team members :
Agrawal Shweta A. Dhamak Sonal
Gugale Rohit V. Kakani Jatin J.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
2/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 2
Date Version Description Author
23-02-2011 1.0 First SRS Hammer Heads
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
3/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 3
Table Of Contents
1. Introduction
1.1 Purpose 5
1.2 Scope 5
1.3 Abbreviations 6
1.4 References 7
1.5 Technologies 7
2. Overall Description
2.1 Product Perspective 8
2.2 Software Interface 9
2.3 Hardware Interface 9
2.4 Communication Interface 10
2.5 Product Functionalities 11
2.6 User Characteristics 12
2.7 Constraints 12
2.8 Use-Case Model 13
2.9 Class Diagram 14
2.10 Sequence Diagrams 15
2.11 Database Design
2.11.1 ER Diagram
2.11.2 Schema Design
18
18
19
2.12 Assumptions and Dependencies 26
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
4/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 4
3.Specific Requirements
3.1 Use-Case Reports 27
3.2 Supplementary Requirements 29
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
5/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 5
Software Requirement Specifications1. Introduction
1.1 Purpose
We live in a democracy and voting is one of our fundamental duties as
responsible citizens of the country, but nowhere around the country a 100%
people come to vote during the elections in their territory. There have been
many reasons for that some of them are:
In the rural areas the influential people keep their men at the polling
booths to threaten the common man to vote for them
There are many portions of the country like the North East where
there is locally sponsored terrorism, at such places the security
conditions are also not very bright, so naturally people feel afraid to
come out of their houses and go to vote
Net savvy, new generation want a hassle free voting system. Also
the people in metros want a system through which they can vote for
their territory without traveling.
Voting is one of the fundamental duties of every citizen. But many
people do not go for voting thinking why to waste their time. Also a
number of malpractices take place at the polling booths.
Considering these problems, Online Polling System Is the only solution.
Online Voting system provides a convenient way of managing the voting
system over internet.
1.2 Scope
The web application is developed for conducting national elections.
It helps the election commission to register voters, register candidates,
select field officers, conduct an election, moderate an election and
decide the results.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
6/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 6
It provides a hassle free environment to voters for practicing their right
to vote just by casting their votes online.
Different system users are created and they are assigned different
privilege levels. Thus, security is maintained.
Digital signature is implemented when the citizen applies for voter id
by filling the registration form. It is also implemented when a voter
casts his vote on the website.
The system maintains a centralized database to provide security to
information which can be accessed only by the admin (ECO).
The Election Commissioner will create the profiles for the candidates
using which the candidates will be able to campaign.
Current statistics regarding the results will be displayed
Chat and forum facility is available even for general public, who are not
logged on to the system.
FAQ section is also included for users benefit.
Java Based client system for ECO and FO.
1.3 Abbreviations and definitions
Users of the system:
1. Election Commission Officer(ECO):
The ECO or the admin will have control over the whole election
process. He maintains the overall system, conducts elections and has
centralized control of all the related data. The ECO also validates a
candidate and registers him for the election. He also grants him a
profile on the website.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
7/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 7
2. Field Officer(FO):
The FO confirms voter registration and provides voter a voter id.
There is one FO per constituency. The FO also supervises the site
officers in his constituency.
3. Site Officer(SO):
The site officer verifies a person who has registered online or
registers a person who opts for manual registration. A citizen is
granted voter id by the FO only after he is verified by the SO.
4. Candidate:
The ECO grants a profile to the candidate using which he can
campaign in the form of videos, uploading the work done by him,etc.
5. Voter:
He is the one who votes for his desired candidate. He can view the
profiles of the candidates in his constituency. He is the person who
votes for the candidate and is allowed to view the results
HTML: Hypertext markup Language to design static web pages
EJB: Enterprise Java Beans
JSP: Java Server Pages
JS: Java Script Language to used for client side web development
JQUERY: Lightweight JavaScript library that emphasizes interaction
between JS and HTML
AJAX: Asynchronous JS Library and XML.-Used to change page
contain without reload
DB2: DB2 Database is the database management system that delivers
a flexible and cost effective database platform to build robust on
demand application (viz. Desktop, Web, Business, etc)
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
8/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 8
J2EE: Java 2 Enterprise Edition programming platform- for developing
and running distributed multitier architecture.
HTTP: Hypertext Transfer Protocol to maintain transaction between
client and server
HTTPS: Secure Hypertext Transfer Protocol is a HTTP and SSH
TCP / IP: Transmission Control Protocol / Internet Protocol, the suit of
communication protocol used to connect host over internet. SSL: Secure Socket Layer used for connectivity to ensure security.
ECO : Election Commission Officer FO : Field Officer
SO : Site Officer
1.4 References
Problem definition (Provided by IBM)
SRS format (Provided by IBM)
Java 2, The complete reference by Herbert Schildt
Publication: Tata McGraw Hill, International Edition 2008
UML 2.0 In A Nutshell by Dan Pilone with Neil Pitman, OReillyPublications: Shroff Publishers and Distributors, Third Indian Reprint, May
2007
Software Engineering by Roger Pressman, seventh edition
1.5 Technologies To Be Used
Eclipse: Development Tool
WAS: Web server
Rational Rose: Design Tool
J2EE: Application and architecture
DB2: Database
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
9/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 9
1.6 Overview
Overall Description will describe major components of the system,
interconnection and external interfaces.
Specific Requirements will describe the functions of actors, their
role in the system and constraints.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
10/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 10
2. Overall Description
2.1 Product Perspective:
The software product is a standalone system and not apart of a larger system.
The system will be made up of two parts, one running visible directly to the
administrator on the server machine and the other visible to the end users, in this
case the voters, through web pages.
The two users of the system, namely the voters and the election authority(EA)
interact with the system in different ways. The Election Commission Officer and
Field Officer configures the provided java-client according to its needs. The
voters cast their votes using the web interface provided. These votes are
accepted by the system on the server.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
11/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 11
The web pages (XML/JSP) are present to provide the user interface on customer
client side. Communication between customer and server is provided through
HTTP/HTTPS protocols.
On the server side web server is for EJB and database server is for storing the
information.
2.2 Software Interface:
Client on Internet: Web Browser, Operating System (any)
Web Server: WAS, Operating System (any)
Data Base Server: DB2, Operating System (any)
Development End: RAD (J2EE, Java, Java Bean, Servlets, JSP,
EJB), DB2, Linux, Web Server, Tivoli Server.
2.3 Hardware Interface:
Minimum Hardware requirements:
Client Side
Internet Explorer 6.0
and above, Mozilla
Firefox, Chrome
Processor RAM Disk Space
Pentium III at
500 MHz256 MB 1 GB
Server Side
DB2 V9.1 Pentium IV
at 1.3 GHz1GB 4GB(Excluding
data size)
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
12/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 12
2.4Communication Interface:
Client on Internet will be using HTTP/HTTPS protocol.
2.5 Product Functionalities:
Voting:
The main task of this project is to design a software which enables
the general public of the country to exercise their right to vote online. An
electoral roll, a list if all eligible citizens who are entitled to cast their
vote in an election and also the party manifestos are displayed on HTML
pages.
Polling information:
All the information regarding the polling and the candidates of the
respective constituency is directly given to the people.
Mobility of voting:
The voter can now vote from anywhere in the world for his
constituency. This also saves the time and money of the concerned
government.
Candidate Campaigns:
The candidate is provided with the feature through which he can
upload the data about him, carry out campaigns. He is provided with the
profile over the site, by the ECO, so that he can upload required data.
Ease Of Updation for manual voting, and secured voting:
The field officer /site officer is provided with the system in which
during the election process the FO is displayed with the screen on which
he can update the recently manually voted voters.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
13/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 13
Secure transfer of user votes and user information
Digital Signature is implemented so that the vote casted by a voter is
safely transferred over the network.
2.6 User Characteristics:
Every user using this system should have at least some knowledge about
using the internet.
He should also have the knowledge of English so that he can use the site
and understand it.
The system considers the user to be well educated or acquainted with the
knowledge of the internet and the election procedure.
2.7 Constraints
GUI is only in English.
Limited to HTTP/HTTPS.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
14/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 14
2.8Use-Case Model
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
15/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 15
2.9Class Diagram
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
16/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 16
2.9.1 Sequence Diagram
a)Sequence Diag. For Voter Registration
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
17/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 17
b)Sequence Diagram For Voting process
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
18/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 18
C) Sequence Diagram For Create Election Process
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
19/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 19
2.10 Database Design
2.10.1 ER Diagram
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
20/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 20
2.10.2 Database Schema
Login
Attribute Types Constraint
Id String Primary Key
Password String Not null
Type String Not null
ECO
Attribute Types Constraint
ecoId String Primary Key
voterId String Foreign Key
FO
Attribute Types Constraint
foId String Primary Key
voterId String Foreign Key
foConstId String Foreign Key
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
21/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 21
Site_Officer
Attribute Types Constraint
siteOfficerId String Primary Key
fieldOfficeId String Foreign Key
voterId String Foreign Key
Field_Office
Attribute Types Constraint
fieldOfficeId String Primary Key
constId String Foreign Key
Address String Not null
fieldOfficeContactNo String Not null
Candidate
Attribute Types Constraint
candidateId String Primary Key
voterId String Foreign Key
constId String Foreign key
partyId String Foreign key
candiWebSite String
voteCount Long
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
22/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 22
Party
Attribute Types Constraint
partyRegId String Primary Key
partyName String
partySymbol Image Not null
partySymbolName String Not null
partyLeader String
partyOfficeAdd String
partyContactNo Long
Report
Attribute Datatype Constraints
Reported String Primary key
reportName String
reportType String
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
23/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 23
TempRegister
Attribute Type Constraints
formNo String Primary Key
Name String Not null
motherName String Not null
fatherName String Not null
Surname String Not null
DOB Date Not null
Address String Not null
City String Not null
pinCode String Not null
phNo String
Emaild String
Sex String Not null
placeOfBirth String Not null
Occupation String
Qualification String Not null
IsVerified Boolean
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
24/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 24
Constituency
Attribute Datatype Constraints
ConstId String Primary key
Name String Not null
ZoneId String Foreign key
State String Not null
WinCand String
NoOfCand Integer
NoOfVoters Integer
VotingPercentage Double
NoOfPollingBooths Long integer
Schedule
Attribute Datatype Constraints
ScheduleName String Primary key
StartDate Date
StartTime Time
EndDate Date
EndTime Time
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
25/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 25
Voter
Attribute Type Constraints
voterId String Primary Key
formNo String Foreign key
Name String Not null
motherName String Not null
fatherName String Not null
Surname String Not null
DOB Date Not null
age integer Check
Address String Not null
City String Not null
pinCode String Not null
phNo String
Emaild String
Sex String Not null
placeOfBirth String Not null
Occupation String
ConstId String Not Null
IsVoted Boolean Not Null
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
26/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 26
Election
Attribute Datatype Constraints
EleYear String Not null
EleNo String Not null
NoOfZones Integer Not null
NoOfConst Integer Not null
EleName String Not null
Zone
Attribute Datatype Constraints
ZoneId String Primary key
NoOfConst Integer
ScheduleName String Foreign Key
ZoneName String
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
27/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 27
2.11Assumptions and dependencies
It is assumed that the system database includes the information about the
existing voters who have already registered for manual voting.
A web server with GUI, Java and an http server installed at the server
side.
Administrator is created in the system already.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
28/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 28
3. Specific Requirements:
3.1 Use Case Reports:
1. ECO:
Use cases:
a. Create election:
It is the duty of the ECO to create the election. Creating the election
includes some sub functions like
i.Update constituency list:
The first task after creating the election is to update the existing
constituency list. He may add new constituency or delete existing one.
ii.Update zone list:
The ECO divides the country into different zones for conducting elections.
Many constituencies form a zone.
iii.Schedule election:
The ECO decides the schedule of election as per the zones. The schedule
includes notification issue date, last date of registration for candidates, last
date for registration of voters and the election date and time.
b. Create candidates profile:
The ECO validates and registers the candidate and allots him a profile on
the website.
c. Delete candidate profile:Within the specified period, if a candidate wants to withdraw his
nomination, he may apply for it after which the ECO deletes his profile.
d. Manages FO:
The ECO adds or deletes the FOs and also assigns them to different
constituencies.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
29/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 29
e. Declare results online:
After the election the ECO declares the result based on the manual as
well as online votes.
2. FO:
Use cases:
a. Manages site officers:
The FO appoints and supervises the site officers in his constituency. Also,
the registration of the site officer as a voter is the duty of the FO.
b. Confirm voter registration:
After the SO verifies the citizen, he is confirmed as a voter by the FO.
c. Update voters details:
Whenever the voters details need to be changed(for e.g. when the
address of a voter is changed), it is the duty of the FO to make the
necessary changes and provide a new voter Id to the voter.
3. Site Officer(SO):
Use cases:
a. Verify applicant for voter id:
The SO verifies the applicant for the details provided by him.
4. Candidate:
Use cases:
a. Apply for profile:
The candidate files a nomination after validation of which he gets a profile
on the site.
b. Campaign:
The candidate can campaign on the site using the profile provided to him.
He can upload videos, declare his resolutions, post the work done by him
on his profile.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
30/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 30
c. Update profile:
Candidate can update his/her profile which contains the personal details
which he/she provided during sign up if any update required.
d. Apply for withdrawal of nomination:
Within the specified period, if a candidate wants to withdraw his
nomination, he may apply for it after which the ECO deletes his profile.
5. Voter:
Use cases:
a. Register himself:
A citizen can register himself on the website or manually at the SO
according to the norms specified in order to get the voter id.
b. View candidate profile:
He can view the profile of the candidates in his constituency.
c. Vote for candidate:The voter can vote for his desired candidate in his constituency either n
the website or at the polling station.
d. Participate in discussions:
The voter can participate in discussions with any actor of the system
through forums and chats.
3.2 Supplementary Requirements
Backup in case of power failure:
UPS support must be available on server side for at least 6 hours in case of
power failure for backup.
Compatibility with existing database:
The database of the system should be compatible with that of the existing
database with the government.
8/4/2019 SRS-HammerHeads SKNCOE Pune Maharashtra
31/31
Online National Voting System Version 1.0
Hammer Heads Date : 28/02/2011
Team Name/ State Name Hammer Heads/Maharashtra
Hammer Heads /Smt. Kashibai Navale College of Engg.,Pune Page 31
Easy deployment of website:
The website should be highly customizable and flexible enough for easy
deployment.
Better performance and load handling capacity:
The Web application Server should provide good performance and loadhandling capacity on the day of election.