Você está na página 1de 30

BachKhoa - Aptech Computer Education

This is to certify that


Nguyen Van Chuc Hoang Van Kien Dang Huu Son

Has successfully Designed & Developed


ONLINE BUS TICKET RESERVATION SYSTEM

Submitted by :
Nguyen Van Chuc

Date of Issue :
24-Dec-2009

Authorized Signature :
Nguyen Van Chuc

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Problem Definition :
1. Problem Abstraction a. Purpose: SRC Travel Agencies is a domestic privatized transportation company that runs the vehicles all over the country. They have several branches at different locations of the country, so that they can provide the transportation facilities between the places. They ant an online application to be developed, where the details of the bookings done and the customer will be updated from time to time and one can track the details of the available seats immediately b. Range of document: This is a ticket management program for central ticketing company, is a system connected to a database including user staff, management, and customer bookings. Including car and bus routes are important components of the program. 2. The Current System System management bus ticket missing so focused company has realized that need a management system best car have a common database management center bus ticket in many places. 3. The Proposed System Scope: - The details of the buses, Price list, and Employee details are to be maintained and controlled solely by the (Manager) Admin alone. - The Employer can change alone the password assigned to him. - Also first the employer needed to login first in order to perform the booking actions. - Calculations of the charges and the reimbursements are to be implemented by the application alone as designated by the Admin. - The details of the buses and seats available are to be maintained and can be updated regularly (ofcourse only by the admin) - Enquiry form, Booking form and the pricing list are to be maintained in separate pages. - There should be new, update, cancel and search options available.
C0712M - Group 4 Page 2 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Overall description: Non-Financial: An online application needed to be developed which is to be solely used and maintained by the booking department alone (regarding the bookings like booking, Enquiry and Updating and canceling). It is implemented so as to automate the process. Also the total authority is taken care of by the admin (Employee, Buses and charges) Also for booking or to perform other actions one has to login with the username and the password assigned. There will be a new, Update, Cancel, search buttons available on each page with which the employee details The customer needed to visit to the booking to enquire or book the tickets and he can collect the tickets in the bus alone. It also maintains a database that consists of the list of buses along with the five digit code that will be assigned to each bus for easy reference. Also the application should develop a unique six digit code whenever a new employee detail is entered. Employee s personal, contact, age, qualifications etc are needed to be collected. There will be an Enquiry form, Booking Form, and the also a page where the search options will be available. Also the Price list is to be maintained separately, where one can access the details of the price by entering the details of the Place of starting and destination, age, number of seats, etc. The charges are as per the age, bus type and the distance and are to be maintained by the application alone. Financial: The charges vary depending on the type of the bus opted, distance of travel and as well the age of the customer, which is to be calculated by the application alone. The price list can be updated by the Admin alone. Also the Reimbursement of the amount will also be as defined by the admin and is calculated by the application alone by considering the above parameters.

C0712M - Group 4

Page 3 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Requirements and Business Flow :


1. Administer a system a. Login system: Purpose: Allow use declared identification to used application. Object used: Administrator, Employee, Customer, Visiter Functional request: - Allow user input username and password and validate information. - The program will display error if username or password is invalid. Execute condition: b. Ticket book management: Purpose: Allows managers manage employees, bus routes and bus. Object used: Administrator Functional request: - Application for the search has not set ticket, the fare was set, the online car, truck and control staff. - Application for additional car online, the location of the vehicle, creating tickets, canceled tickets, booking. - The application allows managers tickets, sell tickets, to cancel tickets and staff created tickets but not controlled cars and car routes. Execute condition: Administrator and employee have to login system. c. Tax Management: Purpose:
C0712M - Group 4 Page 4 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Allows managers (admin) and employees find information about Tax. Object used: Administrator, employee Functional request: - Allows administrators to delete more edit functions as well as tax. - Insurance market for tax information list. Execute condition: Administrator and employee have to login system. d. Promote management: Purpose: Allow administrator manage Service type and Services information in system. Object used: Administrator Functional request: - Allows administrators to delete more edit functions as well as Promote - The application allows inserting new Promote Execute condition: Administrator an employee has to login system. Employee only view, can not edit. e. Account management: Purpose: Allow manager manage employee information and admin in system. Object used: System manager: admin and employee Functional request:
C0712M - Group 4 Page 5 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

- The application must allow admin to searched, edited, deleted of employee in system. - The application allows only Administrator inserting new account. - The application allows admin or employee can change the password or even he can update his details. - Only allow management to control employee and also employee only changes the password. Execute condition: Administrator or employee has to login system. f. Bus management: Purpose: Vehicles and vehicle routes to allow only administrators manage; the list will cover details of online marketing vehicles and vehicle. The administrator has the right to cancel or continue to allow the car trip activities. Object used: System manager: admin. Functional request: - This application allows administrators to use. - This application allows administrators to add, edit, delete and update bus, route of bus. Execute condition: Administrator has to login system. g. Employee management: Purpose: The administrator has the right to delete, update, create or continue to allow the employee. Object used: System manager: admin.

C0712M - Group 4

Page 6 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Functional request: - This application allows administrators to use. - This application allows administrators to add, edit, delete and update employee. Execute condition: Administrator has to login system. 2. Website a. View Services information routes of bus: Purpose: This system is mainly used for management and employees, users visiting the bus ticket. Visitors are not booking. Visitors also need an account on the website. Object used: Employee and Users or visitor Functional request: - Allowing customers to visit, view tickets and information related to the center bus ticket. - Detailed coverage of the address bus ticket center. - Allows search other bus, the bus right on the site. Execute condition: Users or visitor goes to website view bus and route bus.

C0712M - Group 4

Page 7 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Customer Requirement Specification (CRS)


Client : Web site User Business/Project objective : - Create a Website using ASP.NET and MS SQL Server 2005. The website authenticates the existing user by his user name and password. The website has a registration page where a new user can enter his persional details in the given field. The user details get stored in the database and the database containing details of existing users gets updated. - For the purpose of storing information of Administrator, Employees, Customers, details of bus ticket Input provide by client : - Inputs for the Web-based application - Outputs from the Web-based application - Process involed in the Web-based application - Expected delivery dates - List of delieverables - Data Constraints / Triggers / Validation Tables

Hardware Requirements : - A minimum computer system that will help you access all the tools in the courses is a Pentium 166 or better - 64 Megabytes of RAM or better - Windows 98 (or higher if possible)

Software Requirements : - .NET Framework 2.0 - IIS Version 6.0 - Microsoft SQL Server 2005
C0712M - Group 4 Page 8 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

- Visual studio 2005 - Internet Explorer 7.0 - Flash 8

Scope of the Work (in brief)

Depending on the decision taken by the company of firm, following are the requirements based on which the Website needs to be developed: 1. Registration of new users and authentication of existing user 2. A website containing text boxes, buttons, dropdown list boxes, labels and hyperlinks, which will provide a user-friendly interface to the user to work with the Website. 3. Allow a customer to register himself as a new user, perform login, search for bus ticket and details of bus ticket such as starting, destination, date, time, type of bus, price of ticket for booking. 4. Allow an Employee do the same task as Customer. Besides, they can print ticket for passengers. 5. Allow Admin manager (insert, update, delete) information of Employee, Customers, Bus, Price List

C0712M - Group 4

Page 9 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Architecture and Design of the Project


The application will be made of a Web-based distributed three-tier architecture to support multiple user transaction at the same time.
Tier 1 Web - Tier
User interface with HTML and ASPX pages

Tier 2 Middle - Tier

C# (code behind) Files Containing Business login

Tier 3 Database - Tier

SQL Server 2005

Web based Distributed 3-Tier Architecture of the Project

Dataflow Diagram

Request Info

Request Info

Employee
Response Info

Bus Online Reservation Process


Response Info

Customer

Request information

Response information

Administrator

DFD LEVEL 0 - Context Diagram

C0712M - Group 4

Page 10 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Manage employee reply

1.0 Employee Manage

Manage employee request

Manage account reply

2.0 Account Manage

Request account information

Manage account request

Response account information

Manage employee reply

3.0 Promote Manage

Request promote information

Manage Employee request

Response promote information

Manage bus request

Administrator
Manage bus reply

4.0 Bus Manage

Request bus information

Employee
Reply bus information

Manage route request

5.0 Route Manage

Request route information

Manage route reply

Response route information

Manage bus ticket booking request

6.0 Bus Ticket Booking Manage

Request bus ticket booking information

Manage bus ticket booking reply

Response bus ticket booking information

Manage tax request

7.0 Tax Manage

Request tax information

Manag etax reply

Response tax information

DFD LEVEL 1 - Application Process

C0712M - Group 4

Page 11 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Add Employee

1.1.1 Add Employee


Add Employee

Added Employee status

Employee
Update Employee Edit Employee

1.1.2 Edit Employee

Edit Employee status

Delete Employee

1.1.3 Delete Employee


Delete Employee

Delete Employee status

Employee
Reply Employee info Request Emp Information

Administrator
Reply Employee Information

1.1.4 View Employee

Replying information

Employee

Search Employee

1.1.5 Search Employee

Checking information

Reply Employee information

DFD LEVEL 1-1 : Employee Manage

C0712M - Group 4

Page 12 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Add Account

2.1.1 Add Account


Add Account

Added Account status

Account
Update Account Edit Account

2.1.2 Edit Account

Edit Account status

Delete Account

2.1.3 Delete Account


Delete Employee

Delete Account status

Account
Reply Employee info Request Account Information

Administrator
Reply Account Information

2.1.4 View Account

Request Account info

Employee
Reply Account info

Replying information

Account

Search Account

2.1.5 Search Account

Checking information

Reply Account information

DFD LEVEL 2-1 : Account Manage

C0712M - Group 4

Page 13 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Add Promote

3.1.1 Add Promote


Add Promote

Added Promote status

Promote
Update Promote Edit Promote

3.1.2 Edit Promote

Edit Promote status

Delete Promote

3.1.3 Delete Promote


Delete Promote

Delete Promote status

Promote
Reply Promote info Request Promote Information

Administrator
Reply Promote Information

3.1.4 View Promote

Request Promote info

Employee
Reply Promote info

DFD LEVEL 3-1 : Promote Manage

C0712M - Group 4

Page 14 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System


4.1.1 Add Bus
Add Bus

Add Bus

Added Bus status

Bus
Update Bus Edit Bus

4.1.2 Edit Bus

Edit Bus status

Delete Bus

4.1.3 Delete Bus


Delete Bus

Delete Bus status

Bus
Reply Bus info Request Bus Information

Administrator
Reply Bus Information

4.1.4 View Bus

Request Bus info

Employee
Reply Bus info

Replying information

Bus

Checking info Search Bus

4.1.5 Search Bus

Request Bus info Response Bus info

Reply Bus information

Reply Info

Register Contract

User

DFD LEVEL 4-1 : Bus Manage

C0712M - Group 4

Page 15 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System


5.1.1 Add Route
Add Route

Add Route

Added Route status

Route
Update Route Edit Route

5.1.2 Edit Route

Edit Route status

Delete Route

5.1.3 Delete Route


Delete Route

Delete Route status

Route
Reply Route info Request Route Information

Administrator
Reply Route Information

5.1.4 View Route

Request Route info

Employee
Reply Route info

Replying information

Route

Checking info Search Route

5.1.5 Search Route

Request Route info Response Route info

Reply Route information

Reply Info

Register Contract

User

DFD LEVEL 5-1 : Route Manage

C0712M - Group 4

Page 16 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Add Ticket booking

6.1.1 Add Ticket booking


Add Ticket booking

Added Ticket booking status

Ticket booking
Update Ticket booking Edit Ticket booking

6.1.2 Edit Ticket booking

Edit Ticket booking status

Delete Ticket booking

6.1.3 Delete Ticket booking


Delete Ticket booking

Delete Ticket booking status

Ticket booking
Reply Ticket booking info Request Ticket booking info

Administrator
Reply Ticket booking info

6.1.4 View Ticket booking

Request Ticket book info

Employee
Reply Ticket book info

Replying information

Ticket booking

Checking info Search Ticket booking

6.1.5 Search Ticket booking

Request Ticket booking info Response Ticket booking info

Reply Ticket booking info

DFD LEVEL 6-1 : Bus Ticket Booking Manage

C0712M - Group 4

Page 17 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Add Tax

7.1.1 Add Tax


Add Tax

Added Tax status

Tax
Update Tax Edit Tax

7.1.2 Edit Tax

Edit Tax status

Delete Tax

7.1.3 Delete Tax


Delete Tax

Delete Tax status

Tax
Reply Tax info Request Tax Information

Administrator
Reply Tax Information

7.1.4 View Tax

Request Tax info

Employee
Reply Tax info

DFD LEVEL 7-1 : Tax Manage

C0712M - Group 4

Page 18 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Entity Relationship (ER) Diagram

E-R Diagram

C0712M - Group 4

Page 19 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Database Design/Structure
Table Design
Table : Account Field Name
AccoutID Username Password Roles Discontinued ModifiedDate

Data Type
int nvarchar(128) varchar(128) int bit DateTime

Null
No Yes Yes Yes Yes Yes 1, 2, 3, 4 PK

Description

Table : BusList Field Name


BusListID BusStyleID BusName BusNo RoutesID CatID

Data Type
int int nvarchar(128) int int int

Null
No Yes Yes Yes Yes Yes PK

Description

Field Name
CatID CatName NumOfBus

Table : Category Data Type Null


int nvarchar(128) int No Yes Yes PK

Description

Field Name
BusStyleID BusKind Discontinued ModifiedDate

Table : BusStyle Data Type Null


int nvarchar(128) bit DateTime No Yes Yes Yes PK

Description

Field Name
BusTicketID TicketName BusListID Price ModifiedDate

Table : BusTicket Data Type Null


int nvarchar(128) int double DateTime No Yes Yes Yes Yes PK

Description

C0712M - Group 4

Page 20 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Field Name
BusTicketDetailI D TicketNo CustomerID TaxKind PercentsTax PromoteKind Promote BusTicketID BusTicketReturnID PercentsReturn ModifiedDate Reason CancelDate Seat IsReturn

Table : BusTicketDetail Data Type Null


int nvarchar(128) int nvarchar(128) double nvarchar(128) double int int double DateTime nvarchar(128) DateTime int bit No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes PK

Description

Field Name
BusTicketReturnI D KindOfTicket ModifiedDate

Table : BusTicketReturn Data Type Null


int nvarchar(128) DateTime No Yes Yes PK

Description

Field Name
CommentID AccountID Title Subject DateCreate NoModified ModifiedDate

Table : Comment Data Type Null


int int nvarchar(256) nvarchar(768) DateTime int DateTime No Yes Yes Yes Yes Yes Yes PK

Description

C0712M - Group 4

Page 21 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Table : Customer Field Name


CustomerID AccountID CustomerName Email Address Passport BirthDay GenericCode Description ModifiedDate

Data Type
int int nvarchar(128) nvarchar(128) nvarchar(128) nvarchar(128) DateTime nvarchar(128) nvarchar(128) DateTime

Null
No Yes Yes Yes Yes Yes Yes Yes Yes Yes PK

Description

Table : Employee Field Name


EmployeeID AccountID Names DOB Address Position Qualification CentralBus Department Kiosk EmployeeNo GenericCode ModifiedDate

Data Type
int int nvarchar(128) DateTime nvarchar(200) nvarchar(128) nvarchar(128) nvarchar(128) nvarchar(128) nvarchar(128) nvarchar(128) nvarchar(128) DateTime

Null
No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes PK

Description

Table : Routes Field Name


RoutesID RoutesName Description

Data Type
int nvarchar(128) nvarchar(256)

Null
No Yes Yes PK

Description

Field Name
PromoteID PromoteKind Promote

Table : Promote Data Type Null


int nvarchar(128) double No Yes Yes PK

Description

Field Name
TaxID TaxsKind Percents C0712M - Group 4

Data Type
int nvarchar(128) double

Table : Tax Null


No Yes Yes PK

Description

Page 22 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Flow Chart

Begin

Enter the username, password

Check Database

Show an error message

Yes

Access System

End

Flow chart for Login object

C0712M - Group 4

Page 23 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Begin

Enter Data

Check database

Show an error message

Yes

Add object to the database

Displaying info object has been added to the database

End

Flow chart for Add object

C0712M - Group 4

Page 24 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Begin

Select Data

Check Data

Show an error message

Yes

Edit object information

Edit successful

End

Flow chart for Update object

C0712M - Group 4

Page 25 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Begin

Enter Data

Search in the database content suitable Show an error message

Yes

Information object find

End

Flow chart for Search object

C0712M - Group 4

Page 26 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Begin

Select Data

Check information

Show an error message

Yes

Delete Data

Delete successful

End

Flow chart for Delete object

C0712M - Group 4

Page 27 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Task Sheet
Project Ref. No. : eP/TECHBOOKS/01 Sr. No. Task Analyse and creat a plan to develop application Make a detailed Analysis for the project Design Data Flow Diagram Analyse database Create table, constraints Design Entity Relationship Write Document Analyse Graphic User Interface Make Solution project Make Layer Entity Make Layer Data Access Make Layer Bussiness Logic Account Management tasks Employee Management tasks Customer management tasks Route BUS ONLINE TICKET RESERVATION SYSTEM Project Title : Activity Plan Prepared By : NVC 12-14-09 1 NVC, HVK, DHS Completed Date of Preparation of Activity Plan : Actual Start Date (dd/mm/yy) Actual Days Team Member Names

Status

12-15-09

NVC

Completed

3 4 5 6 7 8

12-17-09 12-18-09 12-19-09 12-20-09 12-21-09 12-23-09

1 1 1 1 2 1

HVK NVC HVK NVC NVC NVC

Completed Completed Completed Completed Completed Completed

9 10 11 12

12-24-09 12-25-09 12-26-09 12-28-09

1 1 2 2

NVC NVC, HVK, DHS NVC, HVK, DHS NVC, HVK, DHS NVC

Completed Completed Completed Completed

13

12-30-10

Completed

14

12-30-10

HVK

Completed

15 16

12-30-10 01-02-10

3 3

DHS HVK

Completed Completed

C0712M - Group 4

Page 28 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Management tasks 17 Bus category management tasks Ticket books management tasks Installation Guide Use Guide Final and Full Review Project - NVC - HVK as as Nguyen Van Chuc Hoang Van Kien 01-02-10 3 DHS Completed

18 19 20 21

01-02-10 01-05-10 01-06-10 01-06-10

3 1 1 3

NVC NVC NVC NVC, HVK, DHS as

Completed Completed Completed Completed

Note : - DHS Dang Huu Son

C0712M - Group 4

Page 29 of 30

Bachkhoa Aptech Computer Education

eProject Report Online Bus Ticket Reservation System

Checklist of Validations :
Option Can a new user who gets registed, enter the application after logging in ? Do all the options present in the application display the correct result? Does the applications functionality resolve the user problem and satisfy their needs ? Has the hardware and software been correctly chosen ? Validated Yes Yes Yes

Yes

Submission checklist :
Sr. No. 1 Particulars Are the users able to enter the Web site after validation is performed on the UserID and Password ? Are the users search detail which they want ? Do all the Web page contents are devoid of spelling mistakes ? Is the process working well ? Is the Website user-friendly ? Yes X No NA Comments

4 5

X X Test on Internet Explorer, Firefox and Google Chrome.

Installation Guide :
Reference in InstallationGuide.pdf

User Guide :
Reference in UserGuide.pdf

ScreenShot :
Reference in ScreenShot folder

C0712M - Group 4

Page 30 of 30

Você também pode gostar