You are on page 1of 33

ONLINE NATIONAL POLLING 2009

THE GREAT MIND CHALLENGE 2009

ONLINE NATIONAL POLLING

SOFTWARE REQUIREMENT SPECIFICATION

TEAM

theKappas

TEAM MEMBERS

Abhilash Jain

Anurag Mishra

Brijendra Swaroop Gaur

Harshit Srivastava

PROJECT GUIDE

Mr. Anshuman Tyagi

1
ONLINE NATIONAL POLLING 2009

INDEX

1. INTRODUCTION….................................................................................................................4

1.1 PURPOSE..................................................................................................................................4

1.2 SCOPE.......................................................................................................................................4

1.3 DEFINITIONS, ACRONYMS & ABBREVIATIONS...........................................................5

1.4 TECHNOLOGIES……….........................................................................................................6

1.5 OVERVIEW……......................................................................................................................6

2 OVERALL DESCRIPTION………..........................................................................................7

2.1 PRODUCT’S PERSPECTIVE..................................................................................................7

2.2 SOFTWARE INTERFACE.......................................................................................................8

2.3 HARDWARE INTERFACE.....................................................................................................8

2.4 COMMUNICATION INTERFACE……….............................................................................8

2.5 PRODUCT FUNCTIONS.........................................................................................................9

2.6 USER CHARACTERISTICS……..........................................................................................10

2.7 CONSTRAINTS......................................................................................................................10

2.8 USE-CASE MODEL SURVEY..............................................................................................11

2.9 ASSUMPTIONS AND DEPENDENCIES............................................................................14

2
ONLINE NATIONAL POLLING 2009

3 SPECIFIC REQUIREMENTS………....................................................................................15

3.1 USE-CASE REPORTS……....................................................................................................15

3.2 DATABASE STRUCTURE……....…………………………………………………………25

3.3 SUPPLEMENTARY REQUIREMENTS………...................................................................31

FAQS………………………………………………………………………………………..…...32

3
ONLINE NATIONAL POLLING 2009

1. INTRODUCTION

1.1 PURPOSE

The purpose of this project is to build an Online Polling System so that more and more voters
are able to cast their votes in case they are not able to reach the Polling Stations. This system
is solely designed for those who are far away from their polling zone still they can vote from
that place. It can also help people cast their vote online even when they are not in the country.

1.2 SCOPE

Online National Polling provides a hassle free environment to voters for practicing their right to
vote just by casting their votes online. Voting is one of our fundamental duties as responsible
citizens of the country but it is seen that nowhere around the country a 100% people come to
vote during the elections in their territory.The candidates who are competing in the elections try
to bring as many as possible voters under their influence by hook or by crook.The aspects that
are considered as corrupt practices or electoral offences:

(i) Offering or accepting money or any other gratification either to vote for or not to vote for a
particular candidate.

(ii) Inducement by way of liquor, feast, gifts, etc. to vote for or not to vote for a particular
candidate.

(iii) Inducement to vote or not to vote for a particular candidate on the grounds of religion, caste,
community, sectarian beliefs or place of birth.

(v) Offer of free conveyance to any elector to go to or from any polling station.

(vi) In the rural areas the influential people keep their men at the polling booths to threaten the
common man to vote for them The other aspects which the Online National Polling takes into
consideration are

4
ONLINE NATIONAL POLLING 2009
• 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 hassle free voting system. Also the people in metros want a
system through which they can vote for their territory without travelling. Keeping in mind these
situations and to improve the state of democracy in the country Online National Polling is
designed.

1.3 DEFINITIONS, ACRONYMS & ABBREVIATIONS

SLA: SLA is a formal written agreement made between two parties .The service provider & the
service recipient. It defines the term of engagement the fundamental rules that will govern the
relationship.

HTML: Hypertext Markup Language is a markup language used to design static web pages.

EJB: Enterprise Java Beans.

J2EE: Java 2 Enterprise Edition is a programming platform— part of the Java platform—for
developing and running distributed multitier architecture Java applications, based largely on
modular software components running on an application server.

DB2: DB2 Database is the database management system that delivers a flexible and cost
effective database platform to build robust on demand business applications.

WAS: Web sphere application server is an application server that runs business applications and
supports the J2EE and web services standards.

WSAD: Web sphere studio application developer is a toolkit which is designed for the creation
of more complex projects, providing fully dynamic web application utilizing EJB’s . This consist
of EJB tools , CMP ,data mapping tools & a universal test client that is designed to aid testing of
EJB’s.

5
ONLINE NATIONAL POLLING 2009
HTTP: Hypertext Transfer Protocol is a transaction oriented client/server protocol between web
browser & a Web Server.

HTTPS: Secure Hypertext Transfer Protocol is a HTTP over SSL (secure socket layer).

TCP/IP: Transmission Control Protocol/Internet Protocol, the suite of communication protocols


used to connect hosts on the Internet. TCP/IP uses several protocols, the two main ones being
TCP and IP.

1.4 TECHNOLOGIES

J2EE: Application Architecture

DB2-Express C: Database Architecture

Eclipse: IDE (Integrated Development Environment)

Server: WAS

1.5 OVERVIEW

The SRS will include two sections:

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.

6
ONLINE NATIONAL POLLING 2009

2. OVERALL DESCRIPTION

2.1 PRODUCT’S PERSPECTIVE

A clean interface is built which is easy to understand and work on so that a person having little
knowledge in field of computers can also work easily and cast his vote.

The web pages (XHTML/JSP) are present to provide the user interface on customer client side.
Communication between customer and server is provided through HTTP/HTTPS protocols.

The Client Software is to provide the user interface on system user client side and for this
TCP/IP protocols are used.

On the server side web server is for EJB and database server is for storing the information.

7
ONLINE NATIONAL POLLING 2009

2.2 SOFTWARE INTERFACE

Client on Internet: Web Browser, Operating System (any)

Client on Intranet: Client Software, Web Browser, Operating System (any)

Data Base Server: DB2 Express-C, Operating System (any)

Development End: WSAD (J2EE, Java, Servlets, HTML), DB2, OS (Windows), Web Server.

2.3 HARDWARE INTERFACE

CLIENT SIDE

Software Processor RAM (Minimum) Disk Space


Internet Explorer Pentium III at 1 GHz 128 MB 100MB
6.0 (or higher)

SERVER SIDE

WAS Pentium III at 1 GHz 512 MB 1GB


DB2 Express-C Pentium III at 1 GHz 512 MB 1GB

2.4 COMMUNICATION INTERFACE

• It uses HTTP/HTTPS protocol on client side.

• Firewall security is required for securing the server.

• TCP/IP protocol is the basic need for client side.

8
ONLINE NATIONAL POLLING 2009

2.5 PRODUCT FUNCTION

2.5.1 FUNCTIONAL REQUIREMENTS (OR PRIMARY FUNCTIONS)

VOTING

The main task of Online National Polling is to design a software which enables the general
public of the country to exercise their right to vote online. An electoral roll, list of all eligible
citizens who are entitled to cast their vote in an election, is displayed on the HTML pages and
also the party manifestos.

POLLING INFORMATION

All the information regarding the polling and the candidates of the locale is given directly to the
people.

Mobility of voting: The voter now can vote from anywhere in the world for his locale. This also
saves the time and money of the concerned government.

COUNTING OF VOTES

The votes are directly stored into the database which can further be retrieved by the authorities or
administrators by just passing one query into the database with authentication.

2.5.2 NON FUNCTIONAL REQUIREMENTS (OR SECONDARY FUNCTIONS):

MORE EASY AND QUICK MANAGEMENT:

The data is stored at single place and security firewalls can be provided so that its management is
easy.

GENERAL AWARENESS

The project also spreads the general awareness among the people and tells them why they MUST
exercise their votes in the welfare of the country. This is done by the means of displaying videos,

9
ONLINE NATIONAL POLLING 2009
spreading information about the causes and effects of people practicing their votes. It also awares
the general public on what measures they should take while chosing a candidate to be their
representative in the legislative assembly.

SECURITY

The data including the candidate list and voter registration are kept safe by efficient management
of database provided by DB2 Express-C.

AVAILABILITY

The project has been so designed that it provides the 24x7 availability to the users.

2.6 USER CHARACTERISTICS

The user should be aware of the normal internet usage and comfortable with the browser
interface. He should be aware of the general voting trend of the country. The user need not know
about the internal structure of the Java environment and working.

2.7 CONSTRAINTS

 Elections CAN exist on more than one day.


 GUI is only in English.
 Login and password is used for identification of voters, polling officers, and there is no
facility for guest.
 This system MUST only be used for a state-wide election or smaller.
 All poll workers MUST be trained on the systems in which they will assist.
 All devices MUST be tamper evident.
 A random sampling of devices MUST be put through additional pre & post election
testing.
 Limited to HTTP/HTTPS.
 All devices MUST undergo a full re-installation and product upgrade between elections.
 All devices MUST be secured while in transit, storage, and in use.

10
ONLINE NATIONAL POLLING 2009

2.8 USE-CASE MODEL SURVEY

2.8.1 USE CASE DIAGRAM

A use case diagram in the Unified Modeling Language (UML) is a type of behavioral diagram
defined by and created from a Use-case analysis. Its purpose is to present a graphical overview
of the functionality provided by a system in terms of factors, their goals (represented as use
cases), and any dependencies between those use cases. The use case model for any system
consists of a set of “use cases”. Intuitively, use cases represent the different ways in which a
system can be used by the users. A simple way to find all the use cases of a system is to ask the
question: “What the users can do using the system?”

PURPOSE OF USE CASE

The main purpose of a use case diagram is to show what system functions are performed for
which actor. Roles of the actors in the system can be depicted. The use cases do not mention any

specific algorithm to be used or the internal data representation, internal structure of the
software, etc. A use case typically represents a sequence of interactions between the user and the
system. These interactions consist of one mainline sequence. The mainline sequence represents
the normal interaction between a user and the system. The mainline sequence is the most
occurring sequence of interaction.

11
ONLINE NATIONAL POLLING 2009

Provide Registration
Provide Information
Profile Voters

Candidates

View Candidate details,


Party Manifestos and
Display
Check Awareness Information
Final Result
System

Administrator
Field
Officers

Candidate
Voter Registration Registration
(on Polling day)

Check
Connection

View Own Details


Voters

Candidates View Own Details

12
ONLINE NATIONAL POLLING 2009
1. ADMINISTRATOR (ELECTION COMMISSION OFFICERS)

He is responsible for providing all the information of candidates who have applied for the
polling.

• Register candidates

Registration of new candidates is done on the site.

• Providing information of candidates

All the candidates have to submit their information to the administrator so that it can be shown
onto the site to the general public of the country.

• Providing the list of candidates

Provides the list of all the candidates in the local as well as national level.

• Display Results

Add the polling results to the database to calculate the final results to display on the site
immediately.

2. FIELD OFFICERS

All the responsibility of maintaining the connection and availability of the system is taken by this
entity. Online registration for the voter which will be verified by the field officers. All new
voters are been authenticated and added to voter list after they are verified.

3. GENERAL PUBLIC

Provide information for Voter registration.

4. CANDIDATES

Provide information for Candidate registration

13
ONLINE NATIONAL POLLING 2009

2.9 ASSUMPTIONS AND DEPENDENCIES

• The voting is done throughout the country on a single day.

• All the candidates have their respective data on portals of their parties which can be linked with
the main electronic voting site.

• Role of every user is predefined and no other extensions can be done without the permission of
election commissioner and administrator both.

• User Id and password are provided with Voter-Id which can further be modified.

Important: During the making of this project it has been assumed that the city is not been
divided into different wards. In fact the whole city can be treated as a ward and all the
candidates of a particular city compete under one ward only. The voters also cast their votes
under one ward only.

14
ONLINE NATIONAL POLLING 2009

3. SPECIFIC REQUIREMENTS

3.1 USE-CASE REPORTS

A) ADMINISTRATOR

Responsible for providing all the information of candidates who have applied for the polling and
voter registration.

I) PROFILE OF CANDIDATES

All the candidates have to submit their information to the administrator so that it can be
displayed on the site.

II) PROVIDING THE LIST OF CANDIDATES

He will provide the list of all the candidates at the local as well as national level.

NAME OF USE-CASE:- PROFILE OF CANDIDATES

Profiles <<include>>
Candidate’s
Administrator Database
Information

DESCRIPTION

Administrator inserts the candidate’s profile data in the database only after verification. After
then only the profile is displayed on the portal.

15
ONLINE NATIONAL POLLING 2009
PRECONDITIONS

• Data is verified by the Administrator.

• Administrator is logged in already.

NORMAL FLOW OF EVENTS:

• Administrator clicks on to the link of view profiles on his home page.

• Data is already provided by the candidate and the administrator verifies it.

• Query is submitted and data is saved on database.

16
ONLINE NATIONAL POLLING 2009

Administrator clicks on
View Profile tab on his
Homepage

Administrator gets the


data by Candidate’s
registration form

Administrator
No
Verifies the Upload Failure
data

Yes

Upload Successful

17
ONLINE NATIONAL POLLING 2009
B) FIELD OFFICERS

All the responsibility of maintaining the connection and availability of the system is taken by
this person. He is also responsible for voter registration done on the day of polling.

I) MANAGING CONNECTIVITY AND AVAILABILITY OF THE SYSTEM

All the connectivity and system availability is maintained while polling process continues.

II) ON-SPOT VOTER REGISTRATION

Voters who were not able to register themselves beforehand, the field officers do their
registration thereby itself on the day of polling.

NAME OF CASE USED:- AUTHENTICATE NEW VOTERS

Profile <<include>>
Voter’s Field Database
Information Officer

DESCRIPTION

All newly registered voters are given a unique id by the Administrator which is useful for them
while voting because they are registered in database with this id.

PRECONDITIONS

• All the formalities are done such as Voter Id-card.

• Voters are verified.

18
ONLINE NATIONAL POLLING 2009
NORMAL FLOW OF EVENT

• Data verified by election commission.

• Data sent to Administrator.

• Voter’s information is verified by the administrator and stored in database and given a unique
id for login.

19
ONLINE NATIONAL POLLING 2009

Field Officer clicks on


View Profile tab on his
Homepage

Field Officer gets the


data by Voter’s
registration details

Field Officer
No
Verifies the Upload Failure
data

Yes

Upload Successful

20
ONLINE NATIONAL POLLING 2009
C) CANDIDATES

The candidates who are competing for elections in their respective constituencies are provided
with a registration form. After filling the form and getting it verified by the Administrator, the
candidates are eligible for voting.

I) PROVIDE PROFILE INFORMATION

The candidate provides the information regarding his/her qualification, profession, party which
he wants to join, etc by filling the registration form.

NAME OF CASE USED:- PROVIDE PROFILE INFORMATION

Profile <<include>>
Candidate’s Administrator’s
Information Verification Database

DESCRIPTION

All the candidates wishing to contest elections have to provide their detailed information on the
form uploaded on the site. This information is then verified by the Administrator, only after
which the candidate can fight elections.The candidate is also given a unique id by the
Administrator which can be used by them for updating profile information.

PRECONDITIONS

• All the formalities are done such as age verification, medical checkup, etc.

• Candidates are verified.

NORMAL FLOW OF EVENT

• Profile details provided by the Candidate.

21
ONLINE NATIONAL POLLING 2009
• Data sent to Administrator.

• Candidate’s information is verified by the administrator and only after successful verification,
they are given a unique Id for login.

D) VOTERS

The candidates who are competing for elections in their respective constituencies are provided
with a registration form. After filling the form and getting it verified by the Administrator, the
candidates are eligible for voting.

I) PROVIDE PROFILE INFORMATION

The candidate provides the information regarding his/her qualification, profession, party which
he wants to join, etc by filling the registration form.

II) CAST THEIR VOTES

The voters practice their right to vote by logging into their account. After login the candidate list
is displayed and the voter can chose which candidate to vote.

III) GETTING INFORMATION ABOUT PARTY MANIFESTOS AND CANDIDATE


PROFILES

Party manifestos are already stored in database and the voter is displayed this on his homepage.
He can also view the profiles of all the candidates who are contesting for elections.

NAME OF CASE USED:- PROVIDE PROFILE INFORMATION

Profile <<include>>
Voter’s Field Officer’s
Information Verification Database

22
ONLINE NATIONAL POLLING 2009
DESCRIPTION

All the voters wishing to cast their vote have to provide their detailed information on the form
uploaded on the site. This information is then verified by the Administrator, only after which the
voter can vote.The voter is also given a unique id by the Administrator which can be used by
them for login and viewing party manifestos and candidate profiles.

PRECONDITIONS

• All the formalities are done such as age verification, medical checkup, etc.

• Voters are verified.

NORMAL FLOW OF EVENT

• Information details provided by the Voters.

• Data sent to Administrator.

• Voters’s information is verified by the administrator and only after successful verification, they
are given a unique Id for login.

NAME OF CASE USED:- CASTING VOTES

DESCRIPTION

All the voters who login to cast their vote are provided a list of eligible candidates on their
homepage who are fighting elections from their respective constituency.

PRECONDITIONS

• Candidate registration is done.

• Voters are verified.

23
ONLINE NATIONAL POLLING 2009
NORMAL FLOW OF EVENT

• Voters Login.

• Candidate details provided to Voters.

• Voters can judge which candidate to chose from as their representative.

NAME OF CASE USED:- GETTING INFORMATION ABOUT PARTY MANIFESTOS


AND CANDIDATE PROFILES.

DESCRIPTION

Party manifestos are already stored in database and the voter is displayed this on his homepage.
He can also view the profiles of all the candidates who are contesting for elections.

PRECONDITIONS

Voters are verified.

Party manifesto is up to date.

Voters are displayed their right to vote.

NORMAL FLOW OF EVENT

• Voter logins through unique voter ID.

• Information displayed on home page.

• Voter can view what party is standing for elections and what are their candidate from
respective constituencies.

24
ONLINE NATIONAL POLLING 2009

3.2 DATABASE STRUCTURE

KANPUR

CITYNAME

CITYCODE

LUCKNOW

CITYNAME

CITYCODE UTTAR

SHUKLAGANJ

CITYNAME

CITYCODE

25
ONLINE NATIONAL POLLING 2009

AMRITSAR

CITYNAME

CITYCODE

LUDHIANA

CITYNAME

CITYCODE PUNJAB

JALANDHAR

CITYNAME

CITYCODE

26
ONLINE NATIONAL POLLING 2009

VADODARA

CITYNAME

CITYCODE

GANDHINAGAR

CITYNAME

CITYCODE GUJARAT

AHMEDABAD

CITYNAME

CITYCODE

27
ONLINE NATIONAL POLLING 2009

MANALI

CITYNAME

CITYCODE

SHIMLA

CITYNAME

CITYCODE HIMACHAL

KULLU

CITYNAME

CITYCODE

28
ONLINE NATIONAL POLLING 2009

BENGALURU

CITYNAME

CITYCODE

HAMPI

CITYNAME

CITYCODE KARNATAKA

MYSORE

CITYNAME

CITYCODE

29
ONLINE NATIONAL POLLING 2009

PARTY STATES PUNJAB

PARTYNAME PARTYNAME CITYNAME


PARTYSYMBOL
PARTYSYMBOL CITYNAME CITYCODE
STATENAME
PARTYREGID CANDIDATENAME
NOOFVOTES
PARTYVOTES

KARNATAKA

VOTESTOCANDIDATES CITYNAME

CANDID CITYCODE
FNAME
PARTYNAME
PARTYSYMBOL
NOOFVOTES
CITY GUJARAT
STATE
CITYNAME
POLLING
CADREG CITYCODE

FULLNAME
FATHERNAME
BLOODGROUP
DOB UTTAR
SEX
CITYNAME
PRESENTADDRESS
CITYCODE
CONTACTMOBILE
CONTACTLANDLINE
CATOGORY
PROFESSION
EMAIL HIMACHAL

IMAGE CITYNAME
CITY WORKERS STATES
CITYCODE
STATE
PASSWORD STATENAME
CANDID
USERNAME STATECODE
PARTYNAME 30
PARTYSYMBOL
ONLINE NATIONAL POLLING 2009

3.3 SUPPLEMENTARY REQUIREMENTS

3.3.1 POWER BACKUP

Whenever the polling is taking place the system should not face any breakdown in the supply of
power otherwise data could be lost or connection could be broken.

3.3.2 PROPER MAINTENANCE

While in operation if any error occurs then there must be a technical person to solve it, he can be
any one of polling agents.

3.3.3 NETWORK AVAILABILITY AND BANDWIDTH ISSUE

High speed network connection is required so that the data can travel swiftly.

3.3.4 SERVER SHOULD BE HIGHLY RESPONSIVE

When polling happens in any country on a single day then it would give a lot of stress on to the
server, the server should be configured in a manner so that it can bear that stress.

31
ONLINE NATIONAL POLLING 2009

FAQS : YOU REALLY NEED TO KNOW THIS

1.WHY SHOULD YOU VOTE?

India is the largest democracy in the world. The right to vote and more importantly the exercise
of franchise by the eligible citizens is at the heart of every democracy. We, the people, through
this exercise of our right to vote have the ultimate power to shape the destiny of country by
electing our representatives who run the Government and take decisions for the growth,
development and benefit of all the citizens.

2. WHO CAN VOTE?

All citizens of India who are 18 years of age as on 1st January of the year for which the electoral
roll is prepared are entitled to be registered as a voter in the constituency where he or she
ordinarily resides. Only persons who are of unsound mind and have been declared so by a
competent court or disqualified due to ‘Corrupt Practices’ or offences relating to elections are not
entitled to be registered in the electoral rolls.

3. WHAT IS THE DISCLOSURE BY CANDIDATES?

3.1 Recently the Election Commission of India has made it mandatory consequent upon a
Judgment of Hon’ble Supreme Court that all candidates must file an affidavit along with their
nomination form with details such as:-

i. his/her criminal antecedents,

ii. his/her assets and liabilities and those of his/her spouse and dependents, and

iii. his/her educational background.

This has been done with a view that every citizen has a right to know about the candidates
contesting an election and make an informed choice.

32
ONLINE NATIONAL POLLING 2009
3.2 The Election Commission has directed all Returning Officers to display the copies of
nomination papers and accompanying affidavits received during any day on his notice board
immediately on receipt and make copies of these for distribution to the press and any members of
public who want this information, free of cost. Any citizen of the country can obtain copies of
the nomination form and the affidavit filed by any candidate from the Returning Officer and it
shall not be refused. As a voter you have every right to seek this information and get it.

3.3 Above measures help the electors make an informed choice about the candidate they are
going to vote for.

33

You might also like