Anda di halaman 1dari 35

By Aaberie Alice.

J III CSE

Problem Statement
Passport Automation System is used in the effective dispatch of passport to all of the applicants. This system adopts a comprehensive approach to minimize the manual work and schedule resources, time in a cogent manner. The core of the system is to get the online registration form filled by the applicant whose testament is verified for its genuineness by the Passport Automation System with respect to the already existing information in the database. This forms the first and foremost step in the processing of passport application.

After the first round of verification done by the system, the information is in turn forwarded to the regional administrator's office. The application is then processed manually based on the report given by the system. The system forwards the necessary details to the police for its separate verification whose report is then presented to the administrator. The administrator will be provided with an option to display the current status of application to the applicant, which they can view in their online interface. After all the necessary criteria has been met, the original information is added to the database and the passport is sent to the applicant.

Software Requirement Specification


Scope

The System provides an online interface to the user where they can fill in their personal details. The authority concerned with the issue of passport can use this system to reduce his workload and process the application in a speedy manner. Provide a communication platform between the applicant and the administrator.Transfer of data between the Passport Issuing Authority and the Local Police for verification of applicant's information. Users/Applicants will come to know their status of application and the date in which they must subject themselves for manual document verification.

Technologies to be used HTML JSP Java script Java XML AJAX Tools to be Used Eclipse IDE ( Integrated Development Environment) Rational Rose tool ( for developing UML Patterns)

User Characteristics : Applicant - They are the people who desires to obtain the passport and submit the information to the database.

privileges to add the Administrator - He has the certain

passport status and to approve the issue of passport. He may contain a group of persons under him to verify the documents and give suggestion whether or not to approve the dispatch of passport. Police - He is the person who upon receiving intimation from the PAS, perform a personal verification of the applicant and see if he has any criminal case against him before or at present. He has been given with the power to decline an application by suggesting it to the Administrator if he finds any discrepancy with the applicant. He communicates via this PAS.

UML Diagrams
Use Case Diagram Activity Diagram Class Diagram State Chart Diagrams Interaction Diagrams Package Diagram Component and Deployment Diagram

Use Case Diagram

Activity Diagram

Class Diagram

State Chart Diagrams


Applicant
register login

get,fill,sub mit form

check status

Administrator

Police

get details from admin

does personal verification

check eligibility

check consistency

check details

set status
set status

fwd to police

register into the Passport Automation System(PAS)

Sequence Diagram
Applicant PAS admin Admin panel police data storage register login login detailsare stored check for authorised entry get form store form details form is filled and submitted form is checked and categorised forward to panel eligibility and consistency checking set status authorised entry by admin get submitted form report status

form is filled and necessary proofs enclosed

forward to police

report status police does personal verification set status applicant checks status to know whether the application is accepted or denied

check status check status reports

issues the passport

Collaboration Diagram
PAS admin 1: register 3: login 5: get form 16: check status 18: issues the passport Applican t 15: set status 2: login detailsare stored 4: check for authorised entry 6: store form details 7: authorised entry by admin 17: check status reports

12: set status 14: police does personal verification 9: forward to panel police 13: report status 10: report status 11: forward to police Admin panel data storage 8: get submitted form

Package Diagram
Applicant Terminal APPLICANT PAS-Home

Police

Passport Automation Serv ice Terminal

ADMIN ADMIN PANEL

DATA STORAGE

Component Diagram
applicant PAS admin

admin panel

police

data storage

Deployment Diagram
CLIENT Applicant PAS POLICE Police verification

SERVER Admin

Admin panel

Data storage

User Interface Layer

Technical Services Layer

Domain Layer

To apply for a new passport


To generate form number: <input type="text" name="nme" value=" <%= (int) (Math.random() * 1000000000) %>"/> Insertion of details into database: String nme =request.getParameter("nme"); String applsurname =request.getParameter("applsurname"); String applname =request.getParameter("applname"); String chsurname=request.getParameter("chsurname"); . . . Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection conn = DriverManager.getConnection("jdbc:odbc:alaab" ,"",""); String sql = "insert into newformdetails values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; PreparedStatement pr = conn.prepareStatement(sql); pr.setString(1,request.getParameter("nme")); pr.setString(2,request.getParameter("applsurname")); pr.setString(3,request.getParameter("applname")); pr.setString(4,request.getParameter("chsurname")); . . . pr.executeUpdate();

To renew a new Passport:

String sql2 = "select * from adminverify where formnumber='" + ppnumber + "'"; Connection con2 = null; Statement st2 = null; ResultSet rs3 = null; String conn2 = "jdbc:odbc:alaab"; con2 = DriverManager.getConnection(conn2); st2 = con2.createStatement(); rs3 = st2.executeQuery(sql2); String s; if (rs3.next()) { int x = rs3.getInt(7); s = rs3.getString(8); int y = rs3.getInt(9); int z = rs3.getInt(10); if (y <= z) { y = y + 5; out.println("<p>your next expiry is</p>" + y + "<br> "); } else { out.println("YOUR PASSPORT CANNOT BE RENEWED. IT IS EXPIRED"); }

Status Details:

String ssql1 = "select * from adminverify where formnumber='" + pp + "' and status='yes'"; ResultSet rs3 = st2.executeQuery(ssql1); if (rs3.next()) { out.println(" <p align='center' class='style2'> STATUS</p><p align='center' class='style1'>YOUR PASSPORT IS PROCESSED</p><p align='center'>&nbsp;</p><p align='center'>&nbsp;</p>"); s1 = rs3.getString(1); s2 = rs3.getString(5); s3 = rs3.getString(6); s4 = rs3.getString(7); s5 = rs3.getString(8); s6 = rs3.getString(9); s7 = rs3.getString(10); out.println("<div align='center'><table width='427' border='1'><tr><td width='159' height='54'><span class='style5'>FORM NUMBER </span></td><td width='258'>" + s1 + "</td></tr><tr><td height='56'><span class='style5'>ISSUE DATE </span></td><td>" + s2 + "/" + s3 + "/" + s4 + "</td></tr><tr><td height='56'><span class='style5'>PASSPORT NUMBER </span></td><td>" + s5 + "</td></tr><tr><td height='55'><span class='style5'>CURRENT YEAR </span></td><td>" + s6 + "</td></tr><tr><td height='55'><span class='style5'>EXPIRY DATE </span></td><td>" + s2 + "/" + s3 + "/" + s7 + "</td></tr></table></div>"); }

Thank You

Anda mungkin juga menyukai