Академический Документы
Профессиональный Документы
Культура Документы
Data model
D1. Guests
D2. Rooms
Business goals: D3. Services
- Small hotel market
- Much easier to use and install than
current systems.
- Interface to existing Web-booking Task list
systems. T1. Book room
T2. Check in
Requirements:
T3. Check out
R1: Store data according to data model.
T4. Change room
R2: Support tasks T1 to T5.
T5. Record services
...
and breakfast list
R7: Usable with 10 minutes of instruction.
Business Goals
Business goals are the customers reasons for getting the
system. Why would he pay for it?
In the hotel case, we can define these business goals for the
hotel owner:
The hotel wants efficient support of the basic tasks in the reception
such as booking, checking in and checking out.
It is too much expensive to send staff on courses. Even temporary
staff should be able to handle the basic tasks on their own after a
few minutes of instruction.
Installation of the system should be easy.
The hotel wants to be seen on the Internet and provide on-line
booking.
Large Scale Solution
How do we meet the business goals above? Here is the
large-scale plan:
roomID, Room
bedCount, type
price1, price2
Task descriptions
A task description explains a user task in some detail.
There are many ways to describe tasks.
Task list
Work area
1. Reception
T1.1 Book room. May involve many rooms. Task:
T1.2 Check in. Some guests have booked in advance, Domain-level,
some not. now and future
T1.3 Check out. Review account, then invoice.
Problem: Checkout queue in the morning. Present way
Solution? Self-service checkout.
T1.4 Change room. Possible any time during the stay. Possible future
T1.5 Record services and breakfast list. Breakfast list
daily, service notes at any time.
Clever: Special screen for breakfast list. Present way
T1.2: Check in
Start: A guest arrives.
End: The guest has got room(s) and key. Accounting started.
Frequency: Total: Around 0.5 check ins per room per night. Per user: 60 ...
Difficult: A bus with 50 guests arrives
Subtasks:
Domain-level, now and future.
1. Find room. Imperative language
Problem: Guest wants neighbor
rooms; price bargain.
1a. Guest has booked in advance.
Variants Undo?
1b. No suitable room.
2. Record guest data.
2a. Guest recorded at booking.
Missing
2b. Regular guest.
subtask?
3. Record that guest is checked in.
4. Deliver key.
Full reference to a
Problem: Guest forgets to return the
subtask: T1.2-4
key; guest wants two keys. Past:
Problems
5.3 extra Typical UML use-case
For what reason?
Use case 21: Find a free room
Start: The receptionist wants to find a free room
End: The receptionist has found a free room
Subtasks:
1. Select room type.
2. Select desired period. Premature dialog
3. Click Search.
4. System shows the first free room.
T1.2: Check in
Start: A guest arrives.
End: The guest has got room(s) and key. Accounting started.
Frequency: Total: Around 0.5 check ins per room per night. Per user: 60 ...
Difficult: A bus with 50 guests arrives
Subtasks: Example solution:
1. Find room. System shows free rooms on floor
Problem: Guest wants neighbor maps.
rooms; price bargain. System shows bargain prices, time
1a. Guest has booked in advance. and capacity dependent.
1b. No suitable room.
2. Record guest data. (Simple data entry, see data model)
2a. Guest recorded at booking. (Search with many criteria, e.g.
2b. Regular guest. name, booking number, phone)
3. Record that guest is checked in.
4. Deliver key. System prints electronic keys. New
Problem: Guest forgets to return the key for each customer.
key; guest wants two keys. Past: Explicit Future:
Problems actor Computer part
Fig 5.4 Work area and user profile
Work area: 1. Reception
Service guests - small and large issues.
Normally standing, for instance facing the guest. Frequent interrupts.
Often alone, e.g. during night.
Good tasks:
Closed: From trigger to closure - coffe break deserved
Session rule: Small, related "tasks" without breaks as one task
Domain level: Hide who does what with imperative language
Dont program - if the customer has booked then ...
Participant 2:
Able? unable?
Participant 1:
other time? High-level tasks
Able? unable? Coordinator: Actor: person
other time? Who? when? where?
Subtasks
Reply File Retrieve
Actor: person
Fig 5.6A Vivid scenario
In the middle of that a family arrived asking for rooms. They tried to bargain
and Doug always felt uneasy about that. Should he give them a discount?
Fortunately Jane came out from the back office and told them with her
persuading smile that she could offer 10% discount on the kids room. They
accepted, and Doug was left to assign them their rooms. They wanted a
neighbor room for the kids, and as usual he couldnt remember which rooms
were neighbors.