Sunteți pe pagina 1din 15

A.

1 Case Study: Binara Hotel Reservation System


A.1.1 Overview
The hotel reservation system is part of an accommodation system of a eneral hotel
system. This section provides an overview of the re!uested system. The detailed
functionality of the hotel reservation system toether with the naviation to reach it
within the hotel system will "e descri"ed in the ne#t section.
The reservation system supports the followin "usiness functions related to the
lettin of hotel rooms:
1 $ maintain reservations
% $ con&rm reservations
Room data used relates to room type' price' and description (in )utch' *nlish'
+rench' or ,erman-' and anyone can ma.e a reservation for a room type. The System
con&rms a reservation in either *nlish' )utch' ,erman or +rench. /t is possi"le to
cancel a reservation.
The system uses a num"er of eneral data entities' which are maintained "y other
parts of the hotel accommodation system:
1 $ HOT*0' data includes: name' address' telephone' tele#' fa#' hotel
manaer name'
% $ CO12TR3' data includes country code and country name' and
4 $ ROO5 and ROO5 T36*' descri"e a hotel room and the various room
classes.
The hotel reservation system ensures consecutive num"erin "y storin the last
issued reservation num"er in a &le called 76ARA5*T*RS.8
The followin eneral re!uirements apply to all parts of the hotel accommodation
system:
1 $ help information must "e availa"le on screen level and &eld level'
% $ error messaes are standard on 0ine %9 of the screen.
A.1.% )etailed speci&cations
To identify the type of data entered into the accommodation system the menu
layouts in this speci&cation use a strin of :;: to denote numeric and a strin of :#:
to denote alphanumeric data.
A.1.2.1 Navigation
A.1.2.1.1 Main menu of hotel system
The main menu of the hotel system o<ers two choices: accommodation and invoice =
payment. The reservation system is part of the accommodation system.
Screen layout for the main menu:
COMP6481-Fall 2005, A1 Page 1 2014-7-22
+unctions:
+1> : *#it application
Screen elements:
5enu choice' Hotel name
A.1.2.1.2 Accommodation menu selections
Screen layout for the accommodation menu:
+unction:
+1> : Return to 5ain menu
Screen elements:
COMP6481-Fall 2005, A1 Page 2 2014-7-22
5enu choice' Hotel name
2ote: The reservation system functions are reached via the &rst option: Reservation.
A.1.2.2 Functions
A.1.2.2.1 Function: RES Reservation
A reservation re!uest can "e entered usin the screen R*S. All data e#cept the
reservation num"er is entered. ?hen chanin the reservation data usin screen
R*S' the reservation num"er can "e found "y name' or part of a name. All data'
e#cept reservation num"er' can "e chaned. /f there is more than one reservation
with the same name' the selection $ screen (S*0$ R*S- is shown.
The system further chec.s if the stated !uantity of rooms for the desired room type is
availa"le in the desired period (not occupied or not reserved-. 7Bein occupied8 is
chec.ed on the "asis of the data: room type' start date' num"er of days' and !uantity
of reserved rooms.
/f necessary more room types can "e stored for the same period. Only room type and
!uantity of rooms can "e entered.
/f the re!uest can "e met' the acceptance screen AC6$R*S stores the reservation and
a con&rmation of the reservation (CO2$R*S- is produced for the "illin address. /f the
re!uest cannot "e met' room type report (RT$R*6- is called to loo. up an alternative
choice.
1sed screens: R*S (re!uest for reservation-' S*0$R*S (selection reservations-' AC6$
R*S (accept reservation-' RT$R*6 (room type report-' CO2$R*S (con&rmation of
reservation-.
Screen layout for R*S(ervation- function:
+unctions:
COMP6481-Fall 2005, A1 Page 3 2014-7-22
+1 : Continue reservation for the same period
+% : Con&rm reservation
+4 : Chane reservation data (e#cept reservation num"er- of this reservation num"er
+1>: Return to previous menu
Screen elements:
Arrival date
Street
num"er
2ame
City
6ost code
Street
Telephone
num"er
Country code
Hotel name
0anuae code
2um"er of days
@uantity
Reservation
num"er
Room type
A.1.2.2.2 Function: AC!RES Acce"t reservation
This function is performed "y function R*S when a reservation re!uest can "e met. /t
displays the reservation details and the assined reservation num"er. An accepted
reservation can then "e con&rmed.
Screen layout for AC6$R*S function:
COMP6481-Fall 2005, A1 Page 4 2014-7-22
+unctions:
+1 : Continue reservation
+% : Accept reservation' print con&rmation' and return to previous menu
+1>: Return to previous menu
Screen Elements:
Arrival
date
2ame
Hotel
name
2um"er of
days
@uantity
Reservation
num"er
Room type
A.1.2.2.# Function: SE$!RES Select Reservation
Reservation report "ased on the partial name of the one who ma.es the reservation.
This function is activated "y R*S when a reservation is accessed "y "illin name and
there is more than one reservation stored for that name.
Screen layout for S*0$R*S function:
COMP6481-Fall 2005, A1 Page 5 2014-7-22
+unctions:
+1 : Select a reservation and return to previous screen
+; : Return to previous screen
+1>: Return to previous menu
Screen elements:
Arrival
date
2ame
City
Hotel
name
Reservation
num"er
A.1.2.2.% Function: R&!RE Room &y"e Re"ort
This report is provided when a re!uested room type is not availa"le. Room type
report shows the !uantity of rooms which:
1 $ are not occupied' and
% $ are not reserved
Screen layout for RT$R*6 function:
+unctions:
+; : Return to previous screen
COMP6481-Fall 2005, A1 Page 6 2014-7-22
+1>: Return to previous menu
Screen elements:
Arrival
date
Hotel
name
@uantity
2um"er of
days
Room
type
A.1.2.2.' Function: C(N!RES Con)rmation of the reservation
This function is performed when an accepted reservation is con&rmed. The
con&rmation can "e made in four lanuaes ( *2' +R' ,*' or 20-.
Report elements:
A1B hotel name
A%B hotel street address
A4B postcode C hotel
A9B city $ hotel
ADB telephone num"er
C hotel
AEB fa# $ hotel
AFB name
AGB street address
A;B postcode
A1>B city
A11B country
A1%B reservation
num"er
A14B date (system-
A19B num"er of days
A1DB Arrival date
A1EB room type
A1FB !uantity
A1GB description of
room type
A1;B hotel manaer
A.1.# *escri"tion of Entities
The followin "usiness entities will "e used "y the Hotel Reservation System:
1 A.1.#.1 +,$$,N- A**RESS
A person or institution that will pay or has "oo.ed a reservation. The person or
institution is identi&ed "y a system enerated Billin$identi&cation.
COMP6481-Fall 2005, A1 Page 7 2014-7-22
)ata
elements:
Billin$identi&cation
(.ey-
name
street address
post code
city
telephone num"er
country code
E
%
D
4
>
9
%
>
1
%
%
1
%
# A.1.#.2 R((M
Contains data a"out a room that can "e let. There is at least 1 room and at most 4>
rooms per room type.
)ata
elements:
Room num"er
(.ey-
Room type
4

%

1 A.1.#.# .(&E$
Contains data concernin the hotel that uses the system. The entity contains only
one occurrence and can never contain more.
)ata
elements:
Hotel name
(.ey-
Street address
City
6ost code
Telephone
num"er
Tele#
4
>
4
>
%
>
F
1
%
1
COMP6481-Fall 2005, A1 Page 8 2014-7-22
+a#
Hotel manaer
%
1
%
%
D
1 A.1.#.% R((M C$ASS
/ndicates the !uality and price of a num"er of similar rooms. There are at most 1>
room types.
)ata
elements:
Room type (.ey-
6rice of
accommodation
)escription$*2
)escription$+R
)escription$,*
)escription$20
%
E
4
>
4
>
4
>
4
>
1 A.1.#.' C(/N&R0
Country where the person' who has madeH paid the reservation' lives. )o not confuse
Country code with lanuae. There are 9 lanuaes supported "y the system "ut the
customers may live in many more countries.
)ata
elements:
Country code
(.ey-
Country$*2
Country$+R
Country$,*
Country$20
%
%
D
%
D
%
D
COMP6481-Fall 2005, A1 Page 9 2014-7-22
%
D
1 A.1.#.1 ARAME&ERS
6arameter data for reservin rooms and producin invoices.
)ata
elements:
0ast issued reservation
num"er
0ast issued invoice num"er
0ast issued payment
num"er
E

E

E

1 A.1.#.2 RESER3A&,(N
The num"er of rooms of a certain type that have "een promised for a reservation.
0anuae code can "e one of the 9 supported lanuaes (*2' +R' ,*' 20-.
)ata
elements:
Reservation num"er
(.ey-
Start date
2um"er of days
Billin$identi&cation
0anuae code
E
1
>
%
E
%
1 A.1.#.4 RESER3A&,(N *E&A,$
)enotes the !uantity in a certain room type that has "een promised for a reservation.
)ata
elements:
Reservation num"er
(.ey-
Room type
@uantity
E

%

%
COMP6481-Fall 2005, A1 Page 10 2014-7-22

COMP6481-Fall 2005, A1 Page 11 2014-7-22
A%: Hotel Accommodation System (Reservations- $ /nitial Re!uirements
> A.%.1 Business +unctions to "e supported
The system supports the followin administrative functions of a hotel "usiness in
relation to the lettin of hotel rooms:
a- maintain reservations
1 1- create a reservation: o"tain a reservation no. and enter all reservation
details
% %- update a reservation: chane any reservation details e#cept reservation
num"er
4 4- continue a reservation: continue a comple# reservation of more than one
input screen
9 9- accept a reservation: &nalise a reservation
"- con&rm reservations
1 1- letter to client con&rmin the reservation details
c- reports
1 1- room type report: lists room availa"ility from an arrival date for a num"er
of days
% %- reservation report: lists arrival date and reservation num"er for the
reservationIs "illin name and address.
Room data used relates to room type' price' and description (in )utch' *nlish'
+rench' or ,erman-.
Anyone can ma.e a reservation for a room type. The System con&rms a reservation
in *nlish' )utch' ,erman or +rench.
1 A.%.% ,eneral re!uirements
The accommodation reservation system has to ensure consecutive and uni!ue
num"erin of the reservation num"er.
The followin eneral conventions apply to the accommodation system:
1 $ identi&cation C each functional screen should list the hotel name and the
function name'
% $ naviation C function .eys should "e used to select' con&rm' chane'
scroll' or continue "usiness processes'
4 $ help information must "e availa"le on screen level and &eld level' and
9 $ error messaes should "e displayed when applica"le on each screen.
> A.%.4 )ata 5odel
The eneral data &les used "y the accommodation reservation system include
HOT*0' CO12TR3' ROO5' and ROO5 T36*.
These data &les are maintained "y other parts of the hotel system.
COMP6481-Fall 2005, A1 Page 12 2014-7-22
*ntity )escriptions are as follows:
B/00/2, A))R*SS $ A person or institution that will pay or has "oo.ed a reservation'
HOT*0 $ )ata concernin the hotel that uses the system. The entity never contains
more than one occurrence'
ROO5 $ A room' which can "e let. There is at least one room and at most 4> rooms
per room type'
ROO5 C0ASS $ /ndication of !uality and price of a num"er of similar rooms. There are
at most 1> room types'
CO12TR3 $ Country where the person' who has madeH paid the reservation' lives'
R*S*RJAT/O2 $ 6romise to a customer that durin a certain period a stated num"er
of rooms for stated room types can "e accommodated' and
R*S*RJAT/O2 )*TA/0 $ 2um"er of rooms in a certain room type that has "een
promised for a reservation.
2*KT ASS/,25*2TS:
1 A.9 R1R A9: Addin automatic name loo.$up to Hotel Reservation
System
Once the oriinal Hotel Reservation System descri"ed in R1R A1 has "een
completed' the followin facility should "e added to the Hotel Reservation System:
/n function R*S' when enterin the name into the reservation screen' the system
should chec. if that e#act name already e#ists in a previous reservation. /f so' the
system should automatically enter the details (street address' post code' city'
country' telephone num"er' lanuae code- into the new reservation.
/f there are several di<erent addresses for the same name the system should choose
the details of the most recent reservation.
The reservation address details can "e corrected if necessary.
1 A.D R1R AD: Addin automatic name loo.$up to Hotel Reservation
System
Once the oriinal Hotel Reservation System descri"ed in R1R A1 has "een
completed' the followin facility should "e added to the Hotel Reservation System:
/n function R*S' when enterin the name into the reservation screen' the system
should chec. if that e#act name already e#ists in a previous reservation. /f so (and
when no other name e#ists-' the system should automatically enter the details
(street address' postcode' city' country' telephone num"er' lanuae code- into the
new reservation.
/f there are several di<erent addresses for the same name the system should show
all duplicates in a pop$up window' allowin the user to select the appropriate choice.
COMP6481-Fall 2005, A1 Page 13 2014-7-22
The reservation address details can "e corrected if necessary. Alternatively the user
could reLect all choices and enter the data manually.
R1R AE: Addin automatic name loo.$up to Hotel Reservation System
Once the oriinal Hotel Reservation System descri"ed in R1R A1 has "een
completed' the followin facility should "e added to the Hotel Reservation System:
/n function R*S' when enterin the name into the reservation screen' the system
should chec. if that e#act name already e#ists in a previous reservation. /f so (and
when no other or similar name e#ists-' the system should automatically enter the
details (street address' postcode' city' country' telephone num"er' lanuae code-
into the new reservation.
/f there are several di<erent addresses for the same name (or for a similar name- the
system should show all candidates in a pop$up window' allowin the user to select
the appropriate choice.
A name should "e considered as similar when the di<erences result from:
upper and lower case presentation'
&llers such as space' full stop' or dash' or
a""reviations and the shorter name can "e matched with parts of the loner name.
6honetically similar names should also "e included in the candidate list.
The reservation address details can "e corrected if necessary. Alternatively the user
could reLect all choices and enter the data manually.
COMP6481-Fall 2005, A1 Page 14 2014-7-22
COMP6481-Fall 2005, A1 Page 15 2014-7-22

S-ar putea să vă placă și