events & messages paul ard ales v2.0. generic exceptions hardwarefail – the device does not...
TRANSCRIPT
Generic Exceptions
HardwareFail – the device does not respond
HardwareMalfunction – some part of the device is not working correctly Device still responds and knows what is wrong Example are: Device is jammed, a part is not
functioning.
Card slot events/messages Events: Card slot ATMSoftware
Card inserted Card removed
Messages: ATMSoftware Card slot Retrieve card information Send card to invalid card stack Eject card
Exceptions InvalidCard - card is unreadable/invalid CardStackFull - invalid card stack full EjectCardFail - unable to eject card
Bill slot events/messages
Slot for withdrawing bills Bill slot ATMSoftware
Bills taken ATMSoftware Bill slot
Eject bills Retrieve bills
Scanner events/messages
Bill counter ATMSoftware Valid bill counted Invalid bill detected
Scanner ATMSoftware Valid money added Invalid money scanned Start scanner Stop scanner
Central vault events/messages
Vault ATMSoftware Vault empty Vault refilled Deposit vault full
ATMSoftware Vault Retrieve x amount of y bills
Deposit events/messages
Coin slot ATMSoftware Coin of value x inserted Invalid coin inserted
ATMSoftware Coin slot Return coins
Bill slot + counter handles deposited bills
Input vault events/messages
ATMSoftware Vault Send money to central vault Return money back to client
Printer events/messages
Printer ATMSoftware Out of paper Out of toner
ATMSoftware Printer Print data x Check paper status Check toner status
UI events
Keyboard ATMSoftware Key x pressed
ATMSoftware Screen Display bitmap
ATMSoftware Speaker Play sound x
Security events
Security sensors ATMSoftware Intrusion detected
ATMSoftware Security sensors Request status
Bank server events/messages Bank server ATMSoftware
Welcome screen Software update
ATMSoftware Bank server Authenticate PIN + card number for account x
Response Retrieve balance on account x
Response Withdraw amount x from account y
Bank server events/messages (cont) ATMSoftware Bank server
Deposit amount x on account y Request maintenance Intrusion detected Get transaction fee
Response Cancel withdraw transaction
Maintenance Device failure
Mechanic needs to bring a new device Device malfunction
Mechanic needs to bring tools Toner empty
Mechanic needs to bring new toner Paper empty
Mechanic needs to bring paper Low on banknotes
Bank needs to transfer money to the ATM Card stack full
Bank needs to empty invalid card slot Deposit box full
Bank needs to transfer money to the bank
Changes in requirements Card Slot incl. card reader
Detects card inserted Can eject card Detects card is removed from the user Can read card information Can send card to invalid card stack Card error (unreadable, …)
Changes in requirements (cont) Invalid Card Stack
Stores the cards that are confiscated Can notify if card stack is full Card stack error
Changes in requirements (cont) Banknote/coin vault incl. dispenser and intake
apparatus Money validation scanner Central vault
Changes in requirements (cont) Scanner
Classify input banknotes / coins – one banknote / coin at the time
Money input can be disabled or enabled by a message If valid
detect monetary value send to input vault notify what money was send to input vault
Invalid money is immediately returned Supports only specific ATM currency
Changes in requirements (cont) Incoming vault
Can retrieve money It can return all the money out of ATM to user It can send all the money to the central vault “Incoming vault” error
Changes in requirements (cont) Central vault
Stores a money Can return specific amount of money Central vault error