on line polling

Upload: amit-prajapati

Post on 10-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 On Line Polling

    1/30

    Specific Requirements :On point of view of Public (Voters) :

    DESCRIPTION OF STEPS CARRIED OUT :

    Voters are when first visit to the site of ONLINEVOTING home page. Then,

    There would a link for signup for using the ONLINEVOTING site. Here, he/she should fill up some entries.

    Voter has the login id and password . Then, voterclicks on the sign in button and he/she enters thecorrect login id and password. Now he/she isprovided with the one application form with theElection Form Number. He/she must fillup all theinformation required correctly and click on submit.

    Now he/she will be provided an voter_id , passwordby Administrator ,after some Admin process on hisgiven email id.

    Now ,at the time of voting :voter opens his accountusing login_id and password , then there would besome links like :

    View current voting status for anyconstituency area.View profile provided by the Candidates .

    Cast vote for your region.See the result after the voting processcompleted

    At the time casting vote ,user first select his sate, thedistrict ,then his constituency area. Now ,after

  • 8/8/2019 On Line Polling

    2/30

  • 8/8/2019 On Line Polling

    3/30

    First_name

    Last_name

    Email

    Age

    Security_answer

    Preconditions

    1. Minimum age of voter should be 18 years.Normal flow of events

    1. Filling in the signup form.2. Storing details in the database.

    Alternate flow of events 1. A message will appear if any entry of voter

    registration form is left blank or not according tocorrect data type.

    2. A message will appear if age will be less than 18years saying that you are not eligible for onlinevoting .

    Post condition The general information of voter will be stored in

    database.

    2 . Getting registered for vote : Description The voter will fill the

    details in their registration form. These details will later beverified by the field officers. Then data is send to theAdministrator for storing data into database in the tableELECTOR and also Administrator has to send the voter_id andpassword to the voter on his email .

  • 8/8/2019 On Line Polling

    4/30

    Preconditions 1. Administratoris alreadylogged in.2. Minimum ageof voter shouldbe 18 years.

    Normal flow of events 1. Filling in the registration form.2. Storing details in the database by Administrator.3. Sending voter_id and password to voter.

    Alternate flow of events 1.A message will appear if any entry of voterregistration form is left blank or not according tocorrect data type.

    2.The administrator will take the action accordingly.

    Post condition The general information of voter will be stored in

    database.

    ELECTOR

    Application_no

    Name

    Father_name

    Address

    Constituency_id

    Occupation

    Nationality

    Sex

    Date of birth

    Photo

    Voter card id

  • 8/8/2019 On Line Polling

    5/30

  • 8/8/2019 On Line Polling

    6/30

    Report_id

    Vote_casted(y/n)

    Preconditions 1. The registration form should be filled up properly.2. The documents should be provided to the field officer

    within time.

    Normal flow of events 1. Verification of documents by the field officer.

    2. Administrator will store the data into database3. Administrator will provide the voter id and password.

    Alternate flow of events If the documents have not been submitted withintime, the field officer will not inform theadministrator for further processing.

    Post condition The voter will obtain the id and password.

  • 8/8/2019 On Line Polling

    7/30

    Submit documents to the field officer

    Voters obtain the id and password

    Documents incomplete

    Start

    End

    4. Vote for their favorite candidate

    Description The citizens will be able to view the profiles of all the candidates from their constituencies and vote fortheir favorite candidate. Just after the voting details of the voting performed is saved in the database namedas votes to candidate.

    Votes to candidate

    Condi_id

    Voter_id

    Date_time

    Party_name

  • 8/8/2019 On Line Polling

    8/30

    Party_symbol

    city

    Precondition 1. The voter should be logged in using his/her voter id

    and password.2. A list of candidates from the particular constituency

    should be provided.

    Normal flow of events 1. The voter will have to log in with their id andpassword to participate in the election.

    2. Choose their favorite candidate.3. Cast their valuable vote to the candidate.

    Alternate flow of events 1. If he/she enters the wrong id or password an error

    message will be displayed.2. The vote may be casted only once.

    Post condition To avoid discrepancies, the voter id of the user will beexpired after casting the vote for a limited period of time.

    Cast voteSelect a candidate from the

    list of candidates

  • 8/8/2019 On Line Polling

    9/30

    5. Select a candidate from a list of candidates

    Description A list of candidates will be available on thewebsite. The voter is free to select any candidate of their choice from that list and vote for that candidate.And counter of the selected candidate will be increasedautomatically in the database of table named asvote_found.

    Vote_found

    Cand_id

    vote

    Precondition 1. Area wise list of candidates should be madeavailable.

    2. The candidate name should appear on the list withthe logo of his/her party.

    Normal flow of events 1. The voter selects a candidate from the list.

    2. The voters cast their vote to their favorite candidate.Alternate flow of events none

    Post condition none

  • 8/8/2019 On Line Polling

    10/30

    START

    Choose a candidate from the list

    Submit

    END

    6. View profile

    Description After filling the registrationform, the voter can view their profile if he/she feels so.

    Precondition The voter should be logged in.

    Normal flow of events The voter will login with the voter lid and password andview the details filled while registering for the onlinevoting system.

    Alternate flow none

    Post condition check whether the details filled arecorrect or not

  • 8/8/2019 On Line Polling

    11/30

    View own details View profile

    ON POINT OF VIEW OF ADMINISTRATOR

    Responsible for the maintanace of thedatabase , generating results of polling and registeringcandidates for election.

    DESCRIPTION OF WORK CARRIED OUT : SEND VOTER ID AND PASSWORD : First and very

    important work of the Administrator is to send thevoter_id and password to voter as soon as he gotverified data about the voter by the field officer.

    REGISTER CANDIDATES : When the candidatesubmits his/her details via the application for beingcandidates for election .Then after the verification of information given by the candidate Administrator willprovide candi_id and password to the candidate .

    PROVIDING LIST OF CANDIDATE : After theregistration of the candidates , Administrator willprovide a list of candidates for each constituencyarea which will be displayed on the ONLINE POLLINGsite.

    ADD MANUAL POLLING RESULT : The results of voting will be calculated by the administrator manually andwill be added to the website. The name of the winner fromeach constituency and the city wise, state wise and

  • 8/8/2019 On Line Polling

    12/30

    constituency wise percentage voting will be made availableon the website.

    USE CASE FOR THE ADMINISTRATOR

    1. ACQUIRE DATA :

    Description The registration of voters will bevalidated by the field officer and the data of the voterswill be forwarded to the administrator after theverification of documents. Now it is the responsibility of the Administrator to store it into the database in tablenamed as elector.

  • 8/8/2019 On Line Polling

    13/30

    Precondition 1. The data should

    be validated bythe field officer.

    2. The registrationform should beforwarded toadministratoronly after

    verification.

    Normal flow of events The voter will go to the field officer for verification of documents and the field officer will forward theregistration form of the voter to the administrator.

    Alternate flow The documents are not complete and are not verifiedby the field officer then registration will not be done.

    Post condition administrator will enter the details of thevoter in the database.

    ELECTOR

    Application_no

    Name

    Father_name

    Address

    Constituency_id

    Occupation

    Nationality

    Sex

    Date of birth

    Photo

    Voter card id

  • 8/8/2019 On Line Polling

    14/30

    2 . Providing unique voter_id and password:

    DESCRIPTION : The administrator will provide aunique voter id and password to the voter so that

    he\she can vote online during elections by logging inthrough their voter id . This generated voter id will besaved in the table verified elector . And also it`sthe duty of the Administrator that he/she will send thethis generated voter id and password to the voter viahis/her email given in his profile. And alsoadministrator made a report about the the verifiedapplication and save it into table report by admin .

    Verified elector

    Voter id

    Password

    Report_id

    Vote_casted(y/n)

    Report byadmin

    Condi_idreport

    Precondition The details of the voter should be entered in thedatabase.

    Normal flow of events The administrator will provide the idand password to the voter.

  • 8/8/2019 On Line Polling

    15/30

    Alternate flow none

    Post condition voter id provided to every voter should beunique to avoid discrepancies.

    Details of the voter

    Generate unique id and password

    Provide the voter with id

    Start

    End

  • 8/8/2019 On Line Polling

    16/30

    3 . VERIFY THE DOCUMENTS OF CANDIDATES :

    Description Candidates will have tosubmit the documents after registration to theadministrator within the given period of time. Afterverifying the documents, the administrator willvalidate candidate . And he/she will send the condi_idand password to the candidates on their respectiveemail. This candi_id and password is saved in thedatabase table named as nominated candidate

    Nominatedcandidate

    Condi_id

    Password

    Reg_id

    Login_name

    Win(y/n)

    Precondition 1. The candidate will have to submit the documents to

    Administrator for verification.2. The documents will have to be submitted on time.

    Normal flow of events 1. The candidate will submit the documents.2. The administrator will verify these documents.

    Alternate flow

  • 8/8/2019 On Line Polling

    17/30

    If the candidate fails to submit the documents, thenhe/she will be disqualified for nomination.

    Post condition the candidate will get condi_ id and

    password only if documents have beenverified.

    Provide voter id and password Cancel registration

    Documents verifiedDocuments not verified

    Start

    End

    4 . PROVIDING LIST OF CONDIDATE:

    Description Administratorwill analysis the each of the candidate who issuccessfully registered itself to Administrator. Nowadministrator put these names on home page andalso into the account to each of the voters with help of

  • 8/8/2019 On Line Polling

    18/30

    making connectivity with the database e.s to the tablenamed as nominated candidate.

    Precondition 1. Candidates should be

    registered to theAdministrator.

    Normal flow of events 1.The candidate will submit the documents.2.The administrator will verify these documents andthen set them to home page of ONLINE POLLING site.

    Alternate flow

    If the candidate fails to submit the documents, thenhe/she will be disqualified for nomination.

    Post condition the candidate will get posted for thevoting only if he/she will be nominated by the Adminstrator.

    5 . ADD ABOUT THE PARTY :

    Description These is theone of the most important work perform by theadministrator. Administrator store the all informationgiven by the party which should be approved by theINDIAN POLLING COMMITTEE into the database ,tablenamed as party.

    Nominatedcandidate

    Condi_id

    Password

    Reg_id

    Login_name

    Win(y/n)

  • 8/8/2019 On Line Polling

    19/30

  • 8/8/2019 On Line Polling

    20/30

    6 . ADD RESULT MANUALLY :

    Add manual polling results calculate and display the resultsof voting

    Name of use case calculate and display the results of voting

    Description The administrator will generate the result of polling by manually calculating the number of votes obtained by each candidate

    Precondition 1. The administrator will calculate the results of polling

    manually.2. The results should be displayed to the public after

    calculation is done.

    Normal flow of events

    The voters will cast their votes and after that theadministrator will start calculating the number of votesobtained by each candidate. After all the calculationsthe results will be displayed to the public.

    Alternate flow - none

    Post condition the number of votes obtained by eachcandidate and the total voting percentage from eacharea should also be displayed.

  • 8/8/2019 On Line Polling

    21/30

    calculate the votes obtained

    display the results

    Start

    End

    7. View report :

    View all reports view the reports of voting

    Name of use case view the reports of voting

    Description The reports of voting such as percentage votingdone, no. of votes that different candidates got, thestatistics of all the elections done and reportscontaining details of voters can be viewed by theadministrator.

  • 8/8/2019 On Line Polling

    22/30

    Precondition The voting result should have been displayed.

    Normal flow of events

    After the results are calculated, the reports of voting are viewed by the administrator to drawvarious conclusions.

    Alternate flow - none

    Post condition none

    ON THE POINT OF VIEW OFCANDIDATE

    The main and most important function of thecandidate is to register himself/herself on the ONLINEPOLLING site .As candidate is very important part of

    the polling system hence here are some work whichmust be perform by the candidate .DESCRIPTION OF WORK CARRIED OUT :

    REGISTER ITSELF FOR NOMINATION Thecandidate first of all register itself to Administrator sothat Administrator can consider them for final list of candidate. And after the registration ,he/she will get

    the candi_id and password. ADD MORE INFORMATION After registration,using the candi_id and password candidate can addmore and more information about yourself so thatvoter can know more about him/her. That`s wayhe/she can attract more and more voter .

  • 8/8/2019 On Line Polling

    23/30

    VIEW RESULTS Candidate can view the result of the election by opening his account .

    UPDATE HIS/HER PROFILE Candidate can update

    his/her profile using the update profile link in his/heraccount. ONLINE CHAT Candidate can make a online chat

    with the voter in order to make aware abouthimself/herself to the voter ,it can be either voicechat or video chat .

    USE CASE FOR CANDIDATE

    1 . ONLINE REGISTRATION

    Register for Nomination

    Fill up the Nomination form

    Verify the documents

    Get id and password

    Description The candidate clicks on the signup ascandidate on the home page of the online pollingsite. Then he/she get a form which should be fill up

  • 8/8/2019 On Line Polling

    24/30

    by candidate correctly. And the data fill up by thecandidate would be store in the table named asregistered condidate. And the documents aboutthese information must be send to the

    Administrator for verification within the timeduration.

    Registered candidate

    Candi_id

    Fullname

    Fathername

    BloodgroupDateofbirth

    Sex

    Address

    Mobileno

    Category

    Occupation

    Email

    Image

  • 8/8/2019 On Line Polling

    25/30

    City

    State

    Partyname

    partysymbol

    enter details of candidate

    Details of candidate are stored

    Field blank / incorrectdata type

    Start

    End

    Precondition Candidate must have proper document

    (verified) for each information which he/she has entered.

    Normal flow of events After the fill up the form ,candidate clicks on thesubmit button . then these information store intothe database then it is verified by theAdministrator.

    Alternate flow - none

  • 8/8/2019 On Line Polling

    26/30

    Post condition after the verification by theAdministrator ,candidate get the candi_id and password ,which isend to candidate via the email.

    Provide id and password Reject Nomination form

    Documents verifiedDocuments not verified

    start

    End

    //some more improvement//2 . ADD MORE INFORMATION ABOUT YOUR SELF

    Candidate profile Add details

    Description The candidate can add more and moreinformation about yourself for attracting theelectors . For this purpose we give the facility of add text ,mp3 and video on his profile which will be

  • 8/8/2019 On Line Polling

    27/30

    visible to the voters when they access to see theprofile of the that candidate.

    //add tablePrecondition

    1. Candidate must be registered on the online pollingsite.2. Registration of candidate must be verified by the

    Administrator.Normal flow of events

    Start

    Login profile

    Enter candidate id and password

    Stop

    if wrong id and password

    1. Candidate login to the online polling site with the help of

    the candi_id and password.2. Candidate can add which he /she want add asinformation.

    Alternate flow - none

  • 8/8/2019 On Line Polling

    28/30

    Post condition After adding these type of informationhe/she can acquire more and more support from the voters.

    3 . VIEW RESULT :

    Description The reports of voting such as percentage votingdone, no. of votes that different candidates got, thestatistics of all the elections done and reportscontaining details of voters can be viewed by thecandidate which is manually added by the

    administrator.Precondition

    The voting result should have been displayed.

    Normal flow of events After the results are calculated, the reports of voting are viewed by the administrator to drawvarious conclusions.

    Alternate flow - none

    Post condition none

    4 . UPDATE PROFILE -

  • 8/8/2019 On Line Polling

    29/30

    State

    state_namestate_population

    District

    dist_iddist_namedist_populationstate_name

    Constituency area

    const_idconst_namedist_idpopulation

    System user

    login_namepassword

    first_namelast_nameemailmodifiedcreated

    Applicants

    application _noname

    father_nameaddressconstituency_idoccupationnationalitysex

    Person with voter id card

    card_no

    Verified applicant

    voter_idpasswordreport_idvote_casted(y/n)

    Offline Voters

    voter_id

    Person w/o voter id card

    ISA

    Registered Canditate

    reg_idnamesexdateofbirthnationalityoccupationaddressparty_namecostituency_idqualificationthings to dowork_experienceabout me

    Nominated Candidates

    cand_idreg_idlogin_namewin(y/n)

    System_Role

    role_idrole_name

    System_Role_Task

    role_idtask_id

    System_Task

    task_idtask_name

    System_Task_Permission

    task_idpermission_id

    System_Permission

    permission_idpermission_name

    Verif ication Report

    report_id

    ISA

    Manual Result

    ISA

    Result

    result_id

  • 8/8/2019 On Line Polling

    30/30

    State

    state_namestate_population

    District

    dist_iddist_namedist_populationstate_name

    Constituency area

    const_idconst_namedist_idpopulation

    System user

    login_namepasswordfirst_namelast_nameemailmodifiedcreated

    Applicantsapplication_nonamefather_nameaddressconstituency_idoccupationnationalitysex

    Person with voter id card

    card_no

    Verified applicant

    voter_idpasswordreport_idvote_casted(y/n)

    Offline Voters

    voter_id

    Person w/o voter id card

    ISA

    Registered Canditate

    reg_idnamesexdateofbirthnationalityoccupationaddressparty_namecostituency_idqualificationthings to dowork_experienceabout me

    Nominated Candidates

    cand_idreg_idlogin_namewin(y/n)

    System_Role

    role_idrole_name

    System_Role_Task

    role_idtask_id

    System_Task

    task_idtask_name

    System_Task_Permission

    task_idpermission_id

    System_Permission

    permission _idpermission_name

    Verif ication Report

    report _id

    Report by Field Off icer

    application_no.

    Report by Administrator

    cand_id

    ISA

    Manual Result

    cand_idno of votesparty_namedate of electiondifference of votes

    Automatic Re

    cand_idno of votesdate of electio

    ISA

    Result

    result_id