You are on page 1of 40

ANALYSIS AND DESIGN OF (PROJECT)

Systems Design Specification

Table of Contents
ANALYSIS AND DESIGN............................................................................................1 OF............................................................................................................................1 (PROJECT)................................................................................................................1 Table of Contents....................................................................................................... 2 Table of Figures:.........................................................................................................4 Executive Summary:...................................................................................................5 Introduction:............................................................................................................... 5 Overview: ............................................................................................................... 5 Purpose:..................................................................................................................5 Scope:.....................................................................................................................5 Detailed Process Description:.....................................................................................6 Context Level Process Description:.........................................................................6 Process Description (Context level):.....................................................................6 Level 1 Process Description:....................................................................................7 Process Description (Process 1.0):.......................................................................7 2.1.1.Process Description (Process 2.0):..............................................................8 Process Description (Process 3.0):.......................................................................8 Process Description (Process 4.0):.......................................................................9 Process Description (Process 5.0):.......................................................................9 Process Description (Process 6.0):.....................................................................10 3.Input/output Specifications:...................................................................................10 Process 1: Login authorization...............................................................................10 Process 2: Hotel information:................................................................................11 Process 3: Customer information:.........................................................................12 Process 4: Make reservation:.................................................................................13 Process 5: Payment:..............................................................................................14 Process 6: Generate report:...................................................................................15 4.Database Schema:.................................................................................................16 Data Structures & Algorithms................................................................................16 Normalization:.......................................................................................................19 3.2.Relationship:....................................................................................................20 3.3.Data Items:......................................................................................................21

5.System Navigation:............................................................................................... 24 Navigation Map:....................................................................................................24 5.2.Site Map:.........................................................................................................25 Customer site: ...................................................................................................25 6.Screen Designs:.....................................................................................................26 Screen Calls:..........................................................................................................26 Screen Design Specifications:...............................................................................27 Main Screen:......................................................................................................27 Creation Screen .................................................................................................27 Login Screen ......................................................................................................27 Modification Screen:...........................................................................................27 Reports Screen:..................................................................................................28 Sample Screen Designs:........................................................................................28 Home Page............................................................................................................ 29 My Account:...........................................................................................................30 Create Login:......................................................................................................... 31 Room Availability:..................................................................................................32 Create Reservation:...............................................................................................33 7.2.1.Confirmation Receipt:...................................................................................33 Confirmation:.........................................................................................................34 Report Designs:........................................................................................................ 35 Management Reports:...........................................................................................35 Staff Reports:........................................................................................................ 35 Management Report Design: ................................................................................37 Staff Report Design:..............................................................................................37 Structure Specifications:...........................................................................................38 Subsystem Decomposition: ..................................................................................38 PHP Backend:..................................................................................................... 38 Database Wrapper: ...........................................................................................38 Room Management Subsystem: ........................................................................38 Management Subsystem: ..................................................................................38 Hardware/Software Mapping ...............................................................................39 7.Conclusion:............................................................................................................ 40

References:.............................................................................................................. 40

Table of Figures:
Figure 1Relationship.................................................................................................20 Figure 2 Navigation Map...........................................................................................24 Figure 3 Screen Calls................................................................................................26 Figure 4Hardware / Software Mapping.....................................................................39

Executive Summary:
The following document contains brief overview of the project with the purpose and scope of the project. The main process taken from the context diagram is broken-down into sub processes and each process is described in detail with the help of process description chart which also contains simple English statements to know deeply about processes and dataflow. Input and output Specifications is made to specify the dataflow. With the navigation map one can know the flow of screen. The graphical user interface will allow the users to see all the data on screen and modify the data in real time. A screen call is added to the document to give a clear picture of the screen designs. Finally, several mock ups of user interfaces have been included to try to give the reader an idea of what the final system may look like.

Introduction:
Overview:
The ASAP system is designed for customers to have a simple way to make online reservations. Users will be able to see available rooms, make reservations, see the menu, and see the latest promotions or specials. Managers will be able to see an overview of what reservations have been booked, allow or deny rooms from being reserved. Staff will be able to also see what reservations have been booked and make reservation entries for people who call into the restaurant.

Purpose:
The primary focus of this system is reservation and room management, the foundation of the hotel business. Customers of hotel will be given a way of creating reservations through our system. There won't be any customer employee interaction until the customer checks into their room. Involved in this process are the customers and employees.

Scope:
The hotel application to be designed will meet the following overall objectives: Handle Guest Reservation Services and room allocation Have a Billing Subsystem to handle all transactions

Be an integrated system with on line capabilities


Provide functionality from two perspectives 1) The hotel customer 2) The hotel staff.

Detailed Process Description:


On the basis of the Context dataflow diagram, level 1 dataflow diagram and the process descriptions the detailed process description has been developed.

Context Level Process Description:


Process Description (Context level):

Date: Process:

11/08/2008 Context Level (0- level) ASAP (Online Hotel Reservation System) 1. Customer makes enquiry 2. Customer makes reservation 3. Customer makes Payment 4. Customer Create login 5. Staff logs in

Analyst: System:

Sameera ASAP (Online Hotel Reservation System)

Inputs:

6. Staff request customer information Output: 7. Staff request Report 1. Customer gets hotel information 2. Customer gets reservation confirmation 3. Customer gets receipt 4. Customer gets login access 5. Staff logs in access 6. Staff gets customer information Comments: 7. Staff gets Report If Customer makes enquiry. Then Customer gets information. If Customer logs in with correct password

Then Customer gets an access to his account. Else Enter correct password.
If customer makes a reservation.

Then gets a confirmation. Else would you like to make a reservation If Customer makes a payment. Then he gets a Receipt. Else enter your details.
If new Customer creates a login.

Then gets an access. Else create a login.


If staff enters a correct user ID and password.

Than Access to customer information. Else enter correct ID or password.


If Staff requests for Report.

Than generate report.

Level 1 Process Description:


Process Description (Process 1.0):

Date: Process: Inputs: Outputs:

17/09/08 Process 1.0 Login Authorization Customer Creates a Login

Analyst: System:

Sameera Madhani ASAP (Online Hotel Reservation System)

Staff Logs in. Customer gets access to reservation. Staff gets Access.

If customer ID and Password is equal to customer details

Than customer gets access Else Login Denied or New customer registration
If Staff enters correct Username and Password

Than Staff gets login Else Login Denied or Invalid Username or Password

2.1.1.Process Description (Process 2.0):

Date: Process: Inputs: Outputs:

17/09/08 Process 2.0

Analyst: System:

Sameera Madhani ASAP (Online Hotel Reservation System)

Hotel Information Customer makes an enquiry about Hotel.

Occupancy Report data is sent from generate report process. Customer gets Hotel information.

Hotel Information data is sent to make reservation process If Customer makes enquiry about Hotel. Than customer receives room information according to enquiry made by customer with the help of Occupancy report and room availability and customer receives ID and Password Else Sorry No Vacancy.
Process Description (Process 3.0):

Date: Process: Inputs: Outputs:

17/09/08 Process 3.0

Analyst: System:

Sameera Madhani ASAP (Online Hotel

Customer Information Reservation System) Staff request to view Customer Information Data. 2. New customer information is received from Reservation process. 1. Staff gets Customer Information. 2. Updated Customer Information data is sent to Customer record file.

If staff requests customer information

Than staff can view customer information. Else no process.


If reservation is confirmed.

Than Customer record file is updated. Else data not sent to record file.

Process Description (Process 4.0):

Date: Process: Inputs:

17/09/08 Process 4.0 Make reservation Customer makes reservation.

Analyst: System:

Sameera Madhani ASAP (Online Hotel Reservation System)

2. Room record database file sends in room information to the reservation process. 1. Customer gets confirmation. Outputs: 2. Updated room information is sent to room record file. If room availability is greater than room required. Than customer gets confirmation. Else Cancellation or Choose another room.
If room reservation is confirmed.

Than updated information is sent to room record file. Else not sent.
Process Description (Process 5.0):

Date: Process: Inputs:

17/09/08 Process 5.0 Payment process. 1. Customer initiates payment.

Analyst: System:

Sameera Madhani ASAP (Online Hotel Reservation System)

2. Payment Details Outputs: Customer gets receipt. If initiated payment is equal to payment details Than Accept payment. Else reject payment.

Process Description (Process 6.0):

Date: Process: Inputs:

17/09/08 Process 6.0

Analyst: System

Sameera Madhani ASAP (Online Hotel Reservation System)

Generate Report 1. Staff request to view room report.

2. Data from Customer record file is sent to generate report. Outputs: 3. Data from room record file is sent to generate report 1. This process gives report to staff. 2. Updated report file sent to Customer record file 3. Sends in occupancy report to hotel information process. If staff request for report Then send report to staff Else send report to customer record file.

3. Input/output Specifications:
The following input and output specifications were developed to illustrate the input and output of the system in an increasing level of detail.

Process 1: Login authorization


Input Username (Text Field) Password (password Field) Sign In (Button - Submit) Help (Button) Cancel (Button) Description MIH Users Use this to enter their username and password to access to the Online ordering System Send the data above to server to check the login is available or not This will Open a help file for users Cancel Login Process

Output

Description

Help File Error Message (alert box) Main Window

This will include all the help users need to use this system in alphabetical order If any error in connecting the database ,Wrong Login details or the input of the page is empty, then this message will display When login is successful This Window will open

Process 2: Hotel information:


Input Hotel Name (text box) Phone number (text box) Star rating (List box) Address (Text box) City (text box) State (text box) Postcode (text box) Update (button-update) Description In this box the name of hotel will be store

In this text box contact number of the hotel will give. This list box will allow the star rating of the hotel. This text box will store the address of the hotel

In this text box the city of the hotel will be store This will store in which state the hotel is located In this text box include the post code This button will update all the information to system

Output Updated customer window Help File Error Message/Page

Description This will include the found customer details This will include all the help users need to use this system in alphabetical order If any error of the input or in the back-end process. The error message or page shows what error

Process 3: Customer information:


Input Customer First name (Text Boxes) Customer Surname (Text box) Street (text box) City (Text box) State (Text box) Post code (Text box) Phone number (Text box) E-mail address (Text box) card Type (selection box) Credit Card number (Text box) Expiry date (Date Selection box) Submit (Button) Description In this text box Customer first name will be stored. In this text box Customer surname will be stored. In this text box Customer street address will be stored. In this text box Customer city will be stored. In this text box state where Customer living will be stored. In this text box include the post code This will include customer contact number details This will include customer email id details This will direct the customer to choose type of card.

This will include the customer card number This will direct the customer to select the date This will direct the customer to submit all details

Output

Description This will include all the help users need to use this system in alphabetical order If any error of the input or in the back-end process. The error message or page shows what error

Updated customer details window This will include the show all the customer details to user Help File Error Message/Page

Process 4: Make reservation:


Input City (text box) State (text box) State (text box) Country (text box) Checked-in-date (date/time selection box) Checked-out-date (date/time selection box) Number of room (number selection box) Max room price (price selection box) Bed type (list selection box) Smoking room (list selection box) Cancellation reservation (button) Output Reservation confirmed window Description This will include customer city details This will include customer state details This will include customer state details. This will store the name of the country In this selection box selected check in date and time will be store In this selection box selected check out date and time will be store In this selection box selected number of beds will be store In this selection box selected price of the room will be store In this list selection box bed type list will be store In this selection box yes and no for smoking will be store This button will simply cancel the reservation made by the customer with sending information to the system. Description This will included the reservation details with reservation

confirmation details. Cancellation reservation window Help File Error Message/Page This will included the reservation details with reservation cancellation details. This will include all the help users need to use this system in alphabetical order If any error of the input or in the back-end process. The error message or page shows what error

Process 5: Payment:
Input Total amount (Price selection box) Payment method (List box of card) Card number (text box) Name on Card (text box) Expiry date (date /time box) Cancel (button) Pay confirm (button) Output Payment confirmed and successful window Payment cancelled window Descriptions This box will store total amount for reservation This box will allow customer to select the method of payment In this box credit card number of the customer will be store The name on the card which is used to make reservation will be store In this box expiry date of the credit card will be store Cancel payment Process Confirm payment Process

Description This will include payment confirmation and payment successful details will display This will include cancellation of payment process and it will display payment has been cancelled display This will include all the help users need to use this system in alphabetical order If any error of the input or in the back-end process. The error message or page shows what error

Help File Error Message/Page

Process 6: Generate report:


Input Display Occupancy Report (Button) Print report (Button) Updated report (Button) Finance report (Button) Description This button will send request to system and will display occupancy report of the hotel This button will send request to the system and print the requested report This will send information to the system to store the and update data This button will send request to the system for financial report

Output Occupancy Report window

Description The occupancy report window be display on the request after the button is pressed The print successful window will open if the report is printed The print error window will open if the report is not printed or any other problem The updated report window will be open if the report is successfully update The finance report window will display if the system received and find

Print successful window Print error report window Updated report window Finance report window

4. Database Schema:
Data Structures & Algorithms
Our decision to implement the hotel reservation system using standard PC technology and a commercial database product has narrowed our choices of implementation algorithms and data structures. We have chosen to implement this system with the PC database program MS Access that uses a relational data model. Basically what this means is that related data is grouped together in what can be logically viewed as a columnar table of records. Each record within a particular table is composed of a number of fields that hold the relevant information. Each record can be uniquely described by one or more fields in the record. These fields are referred to as the records primary key. Information is retrieved from the table by specifying the records primary key. The entire system is made up of a number of tables, each of which can be thought of as describing one logical entity. For example a table that has field entries corresponding to the customers name, address and so on represents a customer. Specifying the customers name, which is the primary key for the customer table, retrieves information about each customer. With this basic information in mind we have specified the required tables, their primary keys and related field information below. Each table is laid out as a heading, followed by a

list of the fields that make up the table. The tables' primary keys are indicated with Blue field names.

5.2.

Normalization:
Customer: CustomerID First name Last name Address City State Country Zip Phone/mobile code Email CCNumber CCExp

Staff: StaffID JobTitle First name Last name Address City State Country Zip code Phone/mobile Email

Reservation: Reservation ID

Customer ID

StaffID

CheckIn Date

CheckOut Date

RoomNo

TotalPrice

Reserved Date

Cancellation

Room: RoomNo Room type: RoomType

RoomType

RoomDesc

RoomRent

MaxGuestNo

3.2.

Relationship:

Figure 1Relationship

3.3.

Data Items:
Month is numeric and between 1 and 12 Day is numeric and between 1 and 30 (or) 31

1. Check in date

2. Check out date Month is numeric and between 1 and 12 Day is numeric and between 1 and 30 (or) 31 3. Type of reservation Must be selected Drop down menu 4. Home phone Numeric, format depends on country 5. Work phone Numeric, format depends on country 6. Email Must contain an @ Must contain a . (Dot) Must contain: com, net, org, biz, edu, or gov 7. Credit Card type Must be selected Drop down menu 8. Credit Card Number Must be Numeric Must be at least 16 digits long 9. Exp. Date Month is numeric and between 1 and 12 Year is numeric, four digits 10. State Must be active or cancelled

Non-editable field 11. First name Alpha-numeric 16 characters maximum 12. Last name Alpha-numeric 16 characters maximum 13. User Name Must be at least 6 characters 14. Password Must be at least 6 characters

5. System Navigation:
Navigation Map:

Figure 2 Navigation Map

5.2. Site Map:


Customer site:

Web forms Available Room Cancel Reservation Confirm Create Account Confirm Cancel Reservation Confirm Update Account Create New Account Customer Menu1 Default Update Account Find Room Room Result Reservation Room Preferences Log In Log Out

Purpose The web page displays available room(s) The web page for look up and canceling a reservation The web page for confirmation of creating a new account for the customer The web page for confirmation of canceling the reservation The web page for confirmation of updating the customer account properties The web page for creating a new customer account The user control for Customer menu The default web page The web page for updating the customer properties The web page for searching room(s) The web page for displaying result of the room searching The web page for placing a reservation The web page allows customers to select their room preferences The web page for login to secure web sites The web page for confirmation for logout

6. Screen Designs:
Screen Calls:

User

Web server
Call write screen Return Screen Code

Screen

Show Page Send Form

Call Handler Return Pointer to next screen


Figure 3 Screen Calls

Screen Design Specifications:


The graphical user interface will allow the users to see all the data on screen and modify the data in real time.
Main Screen:

The main screen will have buttons for creating a reservation, modifying a reservation, and generating reports. The buttons will fill in the content pane located below the buttons with the corresponding screen.
Creation Screen

There will be a creation screen which will have text boxes for the input of the check in date, check out date, credit card number, first name, last name, home phone number, work phone number, e-mail, and credit card expiration date. There will be drop down boxes for the type of reservation and credit card type. The state of the reservation will be a text field which is non-editable.
Login Screen

The login screen consists of two text fields and a button. The text fields are for the user name and password input. The password characters will be of maximum 10 characters. The user can also register on this screen.
Modification Screen:

The modification screen will be identical to the creation screen except, the fields will dynamically fill in based on the customers last name and date of check in. The data then can be modified and saved using the update reservation button. The cancel reservation button will change the state of the reservation and store the result in the reservation data file.

Reports Screen:

The reports screen will have 3-5 buttons corresponding to the reports and employee or manager can generate. When the button is pushed, the report will be sent to a printer and displayed on screen.

Sample Screen Designs:


The customer has to enter the URL www.moveinnhotel.com.au to take him to the system.

Title: Home Page

Section: Move Inn hotel reservation system

Date: 20-10-08

Version:1

Interface Elements: None

Graphics: 4 Category images Company Logo

Text: Home Page Search engine 4 Category list Introduction of site

Audio: None Notes: Description: Source material: Interactions: To Do list: Navigation: This page displays Home Page of the site The page brief introduction of company 4 category search engine company logo None Links to Home Page & Sub pages Connect pages with their categories search engine placement and various offers. All other pages of thee site

Home Page

My Account:
Title: My A/C Page Section: Move Inn hotel reservation system Customer A/C Date: 20-10-08 Version:1

Interface Elements: None

Graphics: Company Logo Links to all pages Customer Login

Text: Customer A/C Search engine 4 Category list

Audio: None Notes: Description: Source material: Interactions: To Do list: Navigation: This page displays Customer A/C The page brief introduction of company 4 category search engine company logo None Links to Home Page & Sub pages Connect pages with their categories search engine placement and various offers. All other pages of the site

Create Login:
Title: create login Section: Move Inn hotel reservation system Create Customer Login Date: 20-10-08 Version:1

Interface Elements: None

Graphics: Company Logo Links to all pages Create Login

Text: Create Login A/C Search engine 4 Category list

Audio: None Notes: Description: Source material: Interactions: To Do list: Navigation: This page displays Create Login The page brief introduction of company 4 category, search engine and company logo None Links to Home Page & Sub pages Connect pages with their categories search engine placement and various offers. All other pages of the site

Title: View room types

Section: Move Inn hotel reservation system Room type and availability

Date: 20-10-08

Version:1

Interface Elements: None

Graphics: Company Logo Links to all pages Display Room Information. Customer can select room type. Text:

Room availability Room details Search engine 4 Category list

Audio: None Notes: Description: Source material: Interactions: To Do list: Navigation: This page displays types of room available The page brief introduction of company 4 category search engine company logo, allows Customer to select room type for booking . None Links to Home Page & Sub pages Connect pages with their categories search engine placement and various offers. All other pages of the site

Room Availability:

Create Reservation:
Title: Make reservation Section: Move Inn hotel Make Reservation Date: 20-10-08 Version:1

Interface Elements: None

Graphics: Company Logo Links to all pages Customer makes reservation. Text: Room availability Room details. Check In and checkout date. NO: of rooms required. Type of room required Search engine 4 Category list

Audio: None Notes: Description: Source material: Interactions: To Do list: Navigation: This page lets the user make reservation. The page brief introduction of company 4 category search engine company logo, allows Customer to select room type, NO: of rooms, takes various information from user for booking. None Links to Home Page & Sub pages Connect pages with their categories search engine placement and various offers. All other pages of the site

7.2.1.

Confirmation Receipt:

Title: Title: Get confirmation confirmation

Section: Move Inn hotel Issue confirmation Section: Move Inn hotel Reservation details and confirmation

Date: Date: 20-10-08 20-10-08

Version:1 Version:1

Interface Elements: None Interface Elements: None

Graphics: Graphics: Company Logo Company Logo Links to all pages Links to all pages System confirms System confirms the reservation and the reservation. issues receipt Text: Text: Customer name Search engine Room details. 4 Category list. Check In and Confirmation checkout date. Receipt.of rooms NO: reserved. Type of room reserved. Search engine Audio: None Audio: None Notes: Description: Notes: Description: Source material: Interactions: Source material: To Do list: Interactions: Navigation: To Do list: Navigation: This page lets the user make reservation. The page briefthe user makeof company 4 category search engine company logo, system gets a This page lets introduction reservation. confirmation from the customer and issuescategory search engine company logo, system gets a The page brief introduction of company 4 a receipt None confirmation from the customer for reservation made. Links None to Home Page & Sub pages Connect pages Page & Sub pages Links to Home with their categories search engine placement and various offers. All otherpages with their categories search engine placement and various offers. Connect pages of the site All other pages of the site

Confirmation:

Report Designs:
The Day-End run may be tailored to meet hotels requirements. It always includes:

Guest Ledger Daily / Period Sales Analysis Daily Terms / Occupancy Daily Revenue Report Postings Audit Deposits Report

It could also optionally include:


Sales Ledger Daily Business Guest History Tomorrow's Arrivals / Departures, etc. Guest Lists Managers Daily Report

Management Reports:
These reports include an expected occupancy, expected room income, incentive report.

Staff Reports:
These reports include a daily arrival and a daily occupancy report. Accommodation billsThis is the bill that will be handed to the customer at check out. This bill includes: date printed, guest name, room number, arrival date, departure date, number of nights, total charge.

Management Report Design:


Title: Staff Report Section: Move Inn hotel Staff Report Date: 20-10-08 Version:1

Interface Elements: None

Graphics: Company Logo Links to all pages

Text: Search engine 4 Category list. Staff Login Start date. End Date. Sales Commission report.

Audio: None Notes: Description: Source material: Interactions: To Do list: Navigation: This page lets the user make reservation. The page brief introduction of company 4 category search engine company logo, system produces sales report to the Staff. Reports can be on a daily basis or weekly basis. None Links to Home Page & Sub pages Connect pages with their categories search engine placement and various offers. All other pages of the site

Staff Report Design:

Structure Specifications:
Subsystem Decomposition:
9.1.1. HTML Frontend:

The html frontend will be responsible for user interactions. The interface will be intuitive for users so that minimal documentation will be required.
PHP Backend:

The PHP backend will be responsible for turning user commands from the interface into database queries. PHP will also be used for error and consistency checking.
Database Wrapper:

The database wrapper will have direct interaction with the database functions. It will allow adding, deleting, and editing data entries.
Room Management Subsystem:

The room management subsystem is responsible for adding available room to the database. The subsystem will keep track of the maximum amount of people and the availability of the table.
Management Subsystem:

The management subsystem will be responsible for all administrative tasks for the Hotel. They will have full permissions to modify and delete items from the reservation, rooms and other subsystems.

Hardware/Software Mapping
Both PHP and SQL are very versatile. Each service can run on one server or for better performance separate servers. We plan on implementing a separate server approach so that the system is more responsive to the users. The web server will run on a dedicated server while the database will be run on a separate more powerful server. The two servers will be connected internally by fibre so the delay between servers becomes unrecognizable. If needed the server configuration can be changed at any time with minimal downtime to the user

PHP User Computer Hotel Computer Database Database Server

Web server

Database Wrapper

Figure 4Hardware / Software Mapping

7. Conclusion:
The project has achieved the main objective of completing the system design specification. The complete systems design was carried out which determined the prototype of the designs and gave an insight on how to adapt and integrate ideas which produced the final prototype application. Although the study highlighted MS Access as an adequate application platform, as the research study progressed it became apparent that the combination of web based applications have enhanced both upgrade-ability and the integration of a greater choice of software packages.

References:
Schmuller, J, SAMS Teach Yourself UML in 24 Hours, Sams Publishing, Indianapolis Indiana 1999. Schach, Stephen R., Object-Oriented and Classical Software Engineering, 5th Ed., McGraw Hill, 2002. HyperDictionary (2003), [Online]. [Accessed 24th May 2005]. Available from World Wide Web: http://www.hyperdictionary.com/ Powell, T. and Schnieder, F. The Complete Reference: JavaScript Second Edition, McGraw Hill/Osborne, Emeryville California 2004. Bench-Capon, T., (2002) Third Year Honours Project Guidelines 2000-2001, http://www.csc.liv.ac.uk/~tbc/projects/body.htm Diaz, Icon B. M., (2002) the, Student (2002) Projects The Diz's Resource Page, language, http://www2.csc.liv.ac.uk/~diz/Projects/ project, Icon programming http://www.cs.arizona.edu/icon/index.htm

You might also like