ONLINE VOTING SYSTEM
CONTENTS:-
1. ABSTRACT
2. EXISTING SYSTEM
3. DISADVANTAGES OF EXISTING SYSTEM
4. PROPOSED SYSTEM
5. ADVANTAGES OF PROPOSED SYSTEM
6. REQUIREMENT ANALYSIS
A. HARDWARE REQUIREMENT
B. SOFTWARE REQIREMENT
7. SYSTEM ANALYSIS
A. STUDY OF THE SYSTEM
B. PROBLEM ANALYSIS
C. MODULE DESCRIPTION
D. ALGORITHM USED
8. SYSTEM DESIGN
A. DESCRIPTION ABOUT WHAT IS SYSTEM DESIGN
B. UML DIAGRAMS WITH DESCRIPTION ABOUT EACH DIAGRAM
C. ER DIAGRAMS WITH DESCRIPTION
9. FUTURE SCOPE
10. CONCLUSION
1
ONLINE VOTING SYSTEM
ABSTRACT
The Online Voting System is a web based application. The system has a centralized database to keep
records of all the Voters and Candidates and Final Results. This Online Voting System is based on SMS
sending to voters, to confirmation of Vote. This web based system is time saving, work load reduced
information available at time and it provides security for the data. During the election, the election
commission of India has introduced a new method of polling by online voting system (OVS). The election
commission will maintain this website. This is a simple, safe and secure method that takes minimum of
time.
The word VOTE means to choose from a list, to elect or to determine. The main goal of voting (in a
scenario involving the citizens of a given country) is to come up with leaders of the people’s choice. Most
countries, India not an exception have problems when it comes to voting. Some of the problems involved
include ridging votes during election, insecure or inaccessible polling stations, inadequate polling materials
and also inexperienced personnel.
2
ONLINE VOTING SYSTEM
EXISTING SYSTEM
The voting system currently being used by the association is a paper based system, in which the voter
simply picks up ballots sheets from electoral officials, tick off who they would like to vote for, and then
cast their votes by merely handing over the ballot sheet back to electoral official.
The electoral officials gather all the votes being cast into a ballot box. At the end of the elections, he
electoral officials converge and count the votes cast for each candidate and determine the winner of each
election category.
DISADVANTAGES OF EXISTING SYSTEM
The existing manual Voting system consumes more time for Vote Casting. Voter has to wait for vote
polling station to vote for a right candidate. The election officers has to be check the voter , this voter can
vote in this booth then check voter ID present in voters list of booth those are information will be present
then the voter can vote in that booth. The voter had to stand in the queue to cast his vote. All the work is
done in paper ballot so it is very hard to locate a particular candidate; some voters cast their votes for all
candidates. To overcome of all these problems we have to implement a web application, which is helpful
for Voting from anywhere.
3
ONLINE VOTING SYSTEM
PROPOSED SYSTEM
Here we are proposing a web application for voting process that is Online Voting System through SMS.
The online voting system will manages the
Voter’s details, Candidate details. The main feature of the project includes voter’s information and
candidate information; voter can login and use his/her voting rights. The system can manage the
information data very efficiently. The proposed system is more reliable, faster, accurate and easy to handle
compared to existing manual system. It helps to computerize everything and reducing the errors as
compare to manual voting system
ADVANTAGES OF PROPOSED SYSTEM
1. It Maintains all The Information of all the Candidates and Votes.
2. It checks Voter have Voted or Not.
3. You can see All the Information Related to any Voting System Online.
4. It Increase the Voting Percentage.
5. Finally it makes Easy Voting by avoiding problems like Security, Booth
capturing.
4
ONLINE VOTING SYSTEM
REQUIREMENTS ANALYSIS
Software Requirements:
Operating System: Windows
Scripting Language: JSP
Back-End: MySQL
Front-End: HTML5 and CSS3
Supporting Tools: Net Beans IDE, JQUERY
Type: Web Application
Server: TOMCAT 8.0(cross platform, Apache, MYSQL, JSP)
Java Version: J2SDSK1.5
Hardware Requirements:
Processor : Pentium
RAM: 4BG
Hard Disk: 1TB
Speed: 1.1GHz
5
ONLINE VOTING SYSTEM
SYSTEM ANALYSIS
A. STUDY OF THE SYSTEM:
The objective of the system is a replacement of the traditional system that is in existence. This smart system
reduces the time for voting and also the system is reliable, and faster. In this system the voter username and
password will be sent through SMS. The voter cast their votes enter the confirmation OTP sent their mobile
number. Database maintained by this system usually contains the Voters information, Candidate information,
the final Result of total votes.
B. PROBLEM ANALYSIS:
The existing manual Voting system consumes more time for Vote
Casting. Voter has to wait for vote polling station to vote for a right candidate. The election officers has to be
check the voter , this voter can vote in this booth then check voter ID present in voters list of booth those are
information will be present then the voter can vote in that booth. The voter had to stand in the queue to cast
his vote. All the work is done in paper ballot so it is very hard to locate a particular candidate; some voters
cast their votes for all candidates. To overcome of all these problems we have to implement a web
application, which is helpful for Voting from anywhere.
6
ONLINE VOTING SYSTEM
C. MODULE DESCRIPTION:
MODULES OF PROPOSED SYSTEM
This proposed system consists of 3 main modules, which are listed below.
2. ADMINISTRATIVE MODULE
Online Voting is a voting system by which any Voter can use his\her voting rights from anywhere in
India. Online voting for association contains-:
Voter’s information in database.
Voter’s Names with ID.
Voter’s vote in a database.
Calculation of total number of votes
Various operational works that are done in the system are:-
Recording information of the Voter in Voter database.
Checking of information filled by voter.
Discard the false information.
Each information is maintained by admin.
3. NOMINEE CANDIDATE MODULE
The Nominee details will be updated by the admin for the post of board of director and manager. The
candidate will submit their own details and the admin maintain all of background details of the particular
nominee and uploaded their information in correct procedure. In order to, the user or voter can view the
nominee details.
4. USER/VOTER MODULE
The user after their registration only can login for voting. The user will view nominee details with their
image before they can vote. After knowing the nominee details the user can login for voting. They should
vote for board of director and the manager in the association. The count will take for each voting. After
voting the particular person/user cannot logon to vote again.
7
ONLINE VOTING SYSTEM
D. ALGORITHM USED:
8
ONLINE VOTING SYSTEM
SYSTEM DESIGN
A. DESCRIPTION:
The project online voting system, is a Java JSP and My SQL Project which runs on the tomcat server, you can
also run this project in Eclipse and Netbeans. We have developed this Java JSP and My SQL Project on online
voting system for automating the process of online voting system.
B. UML DIAGRAMS:
ONLINE VOTING SYSTEM ACTIVITY DIAGRAM
This is the Activity UML diagram of Online Voting System which shows the flows between the activity of
Counting, Voting Machine, Voting Center, Candidate, and Citizen.
The main activity involved in this UML Activity Diagram of Online Voting System are as follows:
Counting Activity
Voting Machine Activity
Voting Center Activity
Candidate Activity
Citizen Activity
Features of the Activity UML Diagram of Online Voting System
Admin User can Search Counting, view description of a selected counting, add Counting, update
Counting and delete Counting.
Its shows the activity flow of editing, adding and updating of Voting Machine
User will be able to search and generate report of Voting Center, Candidate, Citizen
All objects such as (Counting, Voting Machine, Citizen) are interlinked
Its shows the full description and flow of Counting, Candidate, Citizen, Voting Center, Voting Machine
9
ONLINE VOTING SYSTEM
ACTIVITY DIAGRAM FOR ONLINE VOTING SYSTEM
10
ONLINE VOTING SYSTEM
Login Activity Diagram Of Online Voting System
This is the Login Activity Diagram of Online Voting System, which shows the flows of Login Activity, where
admin will be able to login using their username and password. After login user can manage all the operations
on Voting Center, Counting, Voting Machine, Citizen, and Candidate. All the pages such as Voting Machine,
Citizen, and Candidate are secure and user can access these pages after login. The diagram below helps
demonstrate how the login works in a Voting Management System. The various objects in the Citizen, Voting
Center, Voting Machine, and Candidate page – interact over the course of the activity, and user will not able to
access this page without verifying their identity.
11
ONLINE VOTING SYSTEM
ONLINE VOTING SYSTEM CLASS DIAGRAM
Online Voting System Class Diagram describes the structures of an Online Voting System classes, their
attributes, operations (or methods), and the relationships among objects. The main classes of the Voting
Management System are Vote, Citizen, Voter List, Voting Center, Voting Machine, and Candidate.
Classes of Online Voting System Class Diagram:
Vote Class: Manage all the operations of vote
Citizen Class: Manage all the operations of Citizen
Voter List Class: Manage all the operations of Voter List
Voting Center Class: Manage all the operations of Voting Center
Voting Machine Class: Manage all the operations of Voting Machine
Candidate Class: Manage all the operations of Candidate
Classes and their attributes of Online Voting System Class Diagram:
Vote Attributes: vote_id, vote_name, vote_type, vote_description
Citizen Attributes: citizen_id, citizen_name, citizen_mobile, citizen_email, citizen_username,
citizen_password, citizen_address
Voting Center Attributes: voting_center_id, voting_center_name, voting_center_type,
voting_center_description, voting_center_address
Voting Machine Attributes: voting_machine_id, voting_machine_name, voting_machine_type,
voting_machine_description
Candidate Attributes: candidate_id, candidate_name, candidate_mobile, candidate_email,
candidate_username, candidate_password, candidate_address
Classes and their methods of Online Voting System Class Diagram:
Vote Methods: addVote (), editVote (), deleteVote (), searchVote ()
Citizen Methods: addCitizen (), editCitizen (), deleteCitizen (), updateCitizen (),
saveCitizen (), searchVoter List ()
Voter List Methods: addVoter List (), editVoter List (), deleteVoter List (), updateVoter List(),
saveVoter List(), searchVoter List()
Voting Center Methods: addVoting Center (), editVoting Center (), deleteVoting Center (),
updateVoting Center (), saveVoting Center (), searchVoting Center (), searchVoting Center ()
Voting Machine methods: addVoting Machine(), editVoting machine(), deleteVoting Machine(),
updateVoting machine(), saveVoting Machine(), searchVoting Machine(), searchVoting Machine()
Candidate Methods: addCandidate (), edit Candidate (), delete Candidate (), update Candidate (),
save Candidate (), search Candidate ().
12
ONLINE VOTING SYSTEM
CLASS DIAGRAM OF VOTING MANAGEMENT SYSTEM:
Class Diagram Image:
13
ONLINE VOTING SYSTEM
ONLINE VOTING SYSTEM DATAFLOW DIAGRAM
Online Voting System Data flow diagram is often used as a preliminary step to create an overview of the
Voting without going into great detail, which can later be [Link] normally, consists of overall
application dataflow and processes of the Voting process. It contains all of the userflow and their entities such
all the flow of Vote, Citizen, Voter List, Voting Center, Voting Machine, Candidate, Counting. All of the
below diagrams has been used for the visualization of data processing and structured design of the Voting
process and working flow.
Zero Level Data Flow Diagram (0 Level DFD) Of Voting Management System :
This is the Zero Level DFD of Voting Management System, where we have elaborated the high level process
of Voting. It’s a basic overview of the whole Voting Management System or process being analyzed or
modeled. It’s designed to be an at-a-glance view of Voting Machine, Candidate and Counting showing the
system as a single high-level process, with its relationship to external entities of Vote, Citizen and Voter List.
It should be easily understood by a wide audience, including Vote, Voter List and Voting Machine In zero
level DFD of Voting Management System, we have described the high level flow of the Voting system.
High Level Entities and process flow of Voting Management System:
Managing all the Vote
Managing all the Citizen
Managing all the Voter List
Managing all the Voting Center
Managing all the Voting Machine
Managing all the Candidate
Managing all the Counting
14
ONLINE VOTING SYSTEM
First Level Data Flow Diagram (1st Level DFD) Of Voting Management System :
15
ONLINE VOTING SYSTEM
First Level DFD (1st Level) of Voting Management System shows how the system is divided into sub-
systems (processes), each of which deals with one or more of the data flows to or from an external agent,
and which together provide all of the functionality of the Voting Management System as a whole. It also
identifies internal data stores of Counting, Candidate, Voting Machine, Voting Center, and Voter List that
must be present in order for the Voting system to do its job, and shows the flow of data between the
various parts of Vote, Voter List, Candidate, Counting, and Voting Machine of the system. DFD Level 1
provides a more detailed breakout of pieces of the 1st level DFD. You will highlight the main
functionalities of Voting.
Main entities and output of First Level DFD (1st Level DFD):
Processing Vote records and generates report of all Votes
Processing Citizen records and generates report of all Citizens
Processing Voter List records and generate report of all Voter List
Processing Voting Center records and generates report of all Voting Center
Processing Voting Machine records and generates report of all Voting Machine
Processing Candidate records and generates report of all Candidate
Processing Counting records and generate report of all Counting
16
ONLINE VOTING SYSTEM
Second Level Data Flow Diagram (2nd Level DFD) Of Voting Management System :
17
ONLINE VOTING SYSTEM
DFD Level 2 then goes one step deeper into parts of Level 1 of Voting. It may require more
functionalities of Voting to reach the necessary level of detail about the Voting functioning. First Level
DFD (1st Level) of Voting Management System shows how the system is divided into sub-systems
(processes). The 2nd Level DFD contains more details of Counting, Candidate, Voting Machine, Voting
Center, Voter List, Citizen, and Vote.
Low level functionalities of Voting Management System
Admin logins to the system and manage all the functionalities of Voting
Management System
Admin can add, edit, delete and view the records of Vote, Voter List, Voting
Machine, Counting can manage all the details of Citizen, Voting Center,
Candidate
Admin can also generate reports of Vote, Citizen, Voter List, Voting Center,
Voting Machine, Candidate
Admin can search the details of Citizen, Voting Machine, Candidate
Admin can apply different level of filters on report of Vote, Voting Center,
Voting Machine
Admin can tracks the detailed information of Citizen, Voter List, Voting
Center, , Voting Machine
18
ONLINE VOTING SYSTEM
19
ONLINE VOTING SYSTEM
ONLINE VOTING SYSTEM ER DIAGRAM
This ER (Entity Relationship) Diagram represents the model of Voting Management System Entity. The
entity-relationship diagram of Voting Management System shows all the visual instrument of database
tables and the relations between Citizen, Voting Center, Vote, Candidate etc. It used structure data and to
define the relationships between structured data groups of Voting Management System functionalities.
The main entities of the Voting Management System are Vote, Citizen, Voter List, Voting Center, Voting
Machine and Candidate.
VOTING MANAGEMENT SYSTEM ENTITIES AND THEIR ATTRIBUTES:
Vote Entity : Attributes of Vote are vote_id, vote_name, vote_type,
vote_description
Citizen Entity : Attributes of Citizen are citizen_id, citizen_name, citizen_mobile,
citizen_email, citizen_username, citizen_password, citizen_address
Voter List Entity : Attributes of Voter List are voter_list_id, voter_list_name,
voter_list_type, voter_list_description
Voting Center Entity : Attributes of Voting Center are voting_center_id,
voting_center_name, voting_center_type, voting_center_description,
voting_center_address
Voting Machine Entity : Attributes of Voting Machine are voting_machine_id,
voting_machine_name, voting_machine_type, voting_machine_description
Candidate Entity : Attributes of Candidate are candidate_id, candidate_name,
candidate_mobile, candidate_email, candidate_username, candidate_password,
candidate_address
Description of Voting Management System Database :
The details of Vote is store into the Vote tables respective with all tables
Each entity (Candidate, Voter List, Voting Machine, Citizen, Vote) contains primary
key and unique keys.
The entity Voter List, Voting Machine has binded with Vote, Citizen entities with
foreign key
There is one-to-one and one-to-many relationships available between Voting
Machine, Voting Center, Candidate, Vote
All the entities Vote, Voting Machine, Voter List, Candidate are normalized and
reduce duplicacy of records
20
ONLINE VOTING SYSTEM
We have implemented indexing on each tables of Voting Management System tables
for fast query execution.
ER DIAGRAM FOR ONLINE VOTING SYSTEM
21
ONLINE VOTING SYSTEM
ONLINE VOTING SYSTEM SEQUENCE DIAGRAM
This is the UML sequence diagram of Voting Management System which shows the interaction between
the objects of Voting Machine, Voter List, Vote, Candidate, and Citizen.
The instance of class objects involved in this UML Sequence Diagram of Voting Management System are
as follows:
Voting Machine Object
Voter List Object
Vote Object
Candidate Object
Citizen Object
Login Sequence Diagram of Voting Management System:
This is the Login Sequence Diagram of Voting Management System, where admin will be able to login in
their account using their credentials. After login user can manage all the operations on Vote, Voting
Machine, Voter List, Citizen, and Candidate. All the pages such as Voter List, Citizen, Candidate are
secure and user can access these page after login. The diagram below helps demonstrate how the login
page works in a Voting Management System. The various objects in the Citizen, Vote, Voting Machine,
Voter List, and Candidate page—interact over the course of the sequence, and user will not be able to
access this page without verifying their identity.
22
ONLINE VOTING SYSTEM
This is the UML sequence diagram of Voting Management System which shows the interaction between
the objects of Voting Machine, Voter List, Vote, Candidate, Citizen.
The instance of class objects involved in this UML Sequence Diagram of Voting Management System are
as follows:
Voting Machine Object
Voter List Object
Vote Object
Candidate Object
Citizen Object
23
ONLINE VOTING SYSTEM
ONLINE VOTING SYSTEM USECASE DIAGRAM
This Use Case Diagram is a graphic depiction of the interactions among the elements of Voting
Management System. It represents the methodology used in system analysis to identify, clarify, and
organize system requirements of Voting Management System. The main actors of Voting Management
System in this Use Case Diagram are: Super Admin, System User, Candidate, Voter, who perform the
different type of use cases such as Manage Vote, Manage Citizen, Manage Voter List, Manage Votinng
Center, Manage Voting Machine, Manage Candidate, Manage Counting, Manage Users and Full Voting
Management System Operations. Major elements of the UML use case diagram of Voting Management
System are shown on the picture below
24
ONLINE VOTING SYSTEM
The relationships between and among the actors and the use cases of Voting Management System:
Super Admin Entity: Use cases of Super Admin are Manage Vote, Manage Citizen, Manage
Voter List, Manage Voting Center, Manage Voting Machine, Manage Candidate, Manage
Counting, Manage Users and Full Voting Management System Operations.
System User Entity : Use cases of System User are Manage Vote, Manage Citizen, Manage
Voter List, Manage Voting Center, Manage Voting Machine, Manage Candidate, Manage
Counting
Candidate Entity : Use cases of Candidate are View Profile, Upload Documents, View Votes
Voter Entity : Use cases of Voter are Cast Vote, Search Candidates, Check Results
Use Case Diagram of Voting Management System:
25
ONLINE VOTING SYSTEM
26