You are on page 1of 22

PASSPORT PROCESSING SYSTEM

Software Design Description Version 1.0


April 6, 20

Vimal Anjana 09bce064 Abhishek Garg 09bce328

Table of Contents

1.0. Introduction 1.1. Purpose 1.2. Scope 1.3. Glossary 1.4. Overview of document 2.0. Architecture design 2.1. Class diagram 3.0. Data structure design 3.1. Data field types and sizes. 4.0. Use case diagram 5.0. Collaboration Diagram 6.0. Sequence Diagram 7.0 Activity Diagram 8.0 Collaboration Diagram 9.0 Deployment diagram 10.0 Interface design 10.1 Home page 10.2 Client login page 10.3 Online Form page 10.4 Applicant Submitted Information 10.5 Admin lo

1. Introduction

Passport is an essential document for an individual in todays world. Passport is necessary in case of a person has to travel outside his/her country. Nowadays it is also required at many places as a proof of identification. The passport processing system software is the interface between applicant and authority responsible for issue the passport. The design of the passport processing system software could be done easily using the Unified Modelling Language (UML). The several types of UML diagrams used for this purpose are included in this document.

1.1. Purpose

The purpose of Software Design Document (SDD) is to describe the design details, architectures and entity-relationships involved in the development of the Passport Processing System. Design Specification includes activity diagrams, to describe activities and flow of data or decisions between activities; sequence diagrams, to model object interactions arranged in time sequence and to distribute use case behaviour to classes; collaboration diagrams, to map the object interactions to the object links, and for emphasizing the effect of the object structures on the interactions; and class diagrams, to depict classes and their interrelationships, to describe structure and behaviour in the use cases, to provide a conceptual model of the system in terms of entities and their relationships, and for requirement capture and end-user interaction. The system ensures the clients about the use of the software with better GUI.
1.2. Scope

This document contains a complete description of the design of Passport Processing System. The basic architecture is a web server from a client server paradigm. The basic pages will be in HTML , CSS and PHP. The designated administrator in charge of the Passport Processing System will have full access to make changes, as he/she deems necessary. The changes could include, but not limited to, changing the client details, fees to be paid for each passport type, as per changing Government policies, and addition of certain facilities in the passport. The passport processing system shall provide the users with the facility to view his account details which includes passport status, visa info and renewal of passport.

1.3. Glossary

Account Administrator

A account contains information of registered client and their current Passport Status. The person who manages and administrates the client database and can make required changes.

Police Applicant/Client Database Member HTML JSP

The person who verifies the identity of applicant or client One who wishes to obtain the Passport. Collection of all information. Users who have already registered for passport. (Hyper Text Markup Language) Markup Language used for creating web pages. (Java Server Pages) Java Technology for serving dynamically generated web pages.

PHP MYSQL

Hypertext Preprocessor. For making the database.

1.4 Overview The remaining chapters and overview of their contents is listed below: Section 2 is the Architectural Design that specifies the design entities that collaborate to perform all the functions included in the system. Each of these entities has an Abstract description concerning the services that it provides to the rest of the system. In turn, each design entity is expanded into a set of lower-level design operations that collaborate to perform its services. Section 3 concerns the Data Structure Design. Section 4 concerns with use case diagram. Section 5 contains collaboration diagram. Section 6 contains sequence diagrams. Section 7 activity diagrams. Section 8 component diagrams. Section 9 deployment diagrams Section 10 discusses the User Interface Design, and how it can be created with maximum user efficiency and ease of use.

2.0 Architectural Design 2.1 Class Diagram


Passport Application Applicant +Name: String +Age: Number +Sex: Char +Address: String +Father's Name: String +Username: String +Password: String +Apply_form() +Account_reg(uname, password) N Apples to 1 1 Administrator +Username: String +Password: String +Issue_Passport() +View_Details() +Send_to_Police() +Recv_from_Police() 1 Sends Client Information 1 1 Police +Username: String +Password: string +Recv_from_Admin() +Send_to_Admin() +Passport_status: String 1 +check_status() N N Recieved and updated by Views 1 Registered Client +Username: String +Password: String +Check_Status() +Renew() +View_Profile() +Visa_Info()

issue passport to

Recieve Verification Detals

Text

Figure1

Applicant
Name: applicant Type: Web page Description: This is the online application form presented to the applicants upon clicking on the online form button . There are following attributes in the online form . Attributes: first name, last name, bdate, sex, address, city, state, zip code, email-id, username, password Operations: Apply_form() Account_reg(uname,password) Arguments: None Pre-condition: Connected to site Post-condition: On another page Exceptions: None Flow of Events:

1. applicant visits the home page. 2. selects online form 3.Fills the online form 4.goes to post page(display his/her datails) 5.Get his/her Passpord Id Registered Client Name: Member Page Type: Web page form Description: When the registered client clicks on client login button on home page,a form occurs on screen asking for username and password. And then client logs in. Attributes: username,password; Operations: Login() Pre-condition: Connected to site Post-condition: details saved leads to welcome page Flow of Events: 1. member is presented with a login form 2. member enter username and password. 3. Logs in 4. Can view status,profile and visa information by selecting their respective tabs. Returns: No return values

Police Type:form page Description: a login form appears where police inputs police id and password to go to police page. Attributes: username,password; Operations: Login() Pre-condition: Connected to site Post-condition: details saved leads to welcome page Flow of Events: 1. Police is presented with a login form 2. Police enter username and password. 3. Logs in Returns: No return values

Administrator Type:form page Description: a login form appears where admin inputs admin id and password to go to admin page. Attributes: username,password; Operations: Login() Pre-condition: Connected to site Post-condition: details saved leads to welcome page Flow of Events: 1. Admin is presented with a login form 2. Admin enter username and password. 3. Logs in Returns: No return values

Passport Status Type:form page Description: a status form appears where registered client can view their passport status. Attributes: password_status Operations: Check_status() Pre-condition: Connected to site Post-condition: display the status Flow of Events: 1. Registered clients logs in 2. Clicks on view status button 3. views the status of the passport Returns: No return values

3.0 Data Structure Design


The data is stored in a relational database using PHPMyAdmin (MySQL). The relations are described by the database administrator . The fields for transmitting to and from the database are given in the following table.

3.1 Data field types and sizes ATTRIBUTE NAME fname lname bdate sex address city state zipcode email username password contact adminusername adminpassword policeusername policepassword ATTRIBUTE TYPE varchar varchar date varchar varchar varchar varchar varchar varchar varchar varchar int varchar varchar varchar varchar SIZE 30 30 30 10 50 30 30 10 20 30 30 10 30 30 30 30

5.0 Collaboration Diagram 5.1Application

1.1 Fill Application Form 1.Applicant 2.Passport Processing System 2.1 Provide Applicant ID

2.2 Store Details

Database

5.2Registered Client
1.Registered Client

1.1 Username and Password 1.2 Query 2.2 Provide Details 2.Passport Processing System

2.1 Fetch Details 3.Database

5.3 Administrator
1.1 Get Applicant Details 2.Passport Processing System

1.Administrator

1.1 Send Applicant Details 2.1 Fetch Details 4.2 Send Verification Details 1.1 Provide Passport

3.Database 5.Applicant 4.Police

Figure 3 6.0. Sequence Diagram 6.1Client Subsystem (Status Check)


client 1 : client login() 2 : verify login details() 3 : client logged in() 4 : enter application id() 5 : fetch details from application() system DataBase

6 : display status()

6.1 Admin Subsystem


admin 1 : admin login() 2 : verify login details()

system

Database

client

3 : admin logged in() 4 : enter application id() 5 : check details()

6 : give details() 7 : dispatch eligible passport()

6.2 New User Application

client

system

database

1 : request for registration()

2 : registration form() 3 : fill details()

4 : submit details()

5 : get application id() 6 : store client details()

6.3 Police Verification


police 1 : police login() 2 : verify login details() system database

3 : police logged in()

4 : get client details() 5 : send verification of client details()

7. Activity Diagrams 7.1Status Check

Passport Processing System(Client Login)

Enter Username and Password

login Successful No Display Message

Yes Check Status

Display Status

7.2 Police Verification

Passport Processing System(Police Login)

Enter Username and Pssword

Login Success

Display Police Panel

Yes

NO

Display Message

Display Details Of Applicants To be Verified

Reply To Admin

7.3 Admin Subsystem

Passport Processing System(Admin Login)

Enter Username and Pssword

Login Success

Display Admin Panel

Yes

NO

Display Message

Display Details Of Applicants To be Processed

Display Reply Of Police

8. Component Diagram
Applicant Takes details from applicant and verification from police

Applies for the Passport Administrator

Police Issues passport to applicants

Verifies Details of Applicants

9. Deployment Diagram

Takes details from applicant and verification from police

Issues passport to applicants

Administrator

Police

Applicant

Verifies Details of Applicants Applies for the Passport

10.0 Interface Design 10.1 Home Page This is the main page of Passport Processing System. There are following options in this page: a. ContactUs- which gives contact detail of the administrators of the system. b. Online passport form that presents online application form. c. Provision for Registered clients, Police and Admin login. d. About us: Displays the details of passport offices.

10.2 Client Login Page This page is login page for already registered users.

10.3 Online Form Page Online application form for passport.

Details filled by the user is presented and if there is any error he can reset form filling by clicking on reset button and if details are correct he can click on submit.

10.4 Applicant submitted Information

10.5 Admin Login This is admin login page

You might also like