Scenarios and Sequence Diagrams
Use Case 1
Scenario 1A
Scenario 1B
Use Case 2
Scenario 2A
Use Case 3
Scenario 3A
Scenario 3B
Use Case 4
Scenario 4A
Use Case 5
Scenario 5A
Use Case 6 (not used)
Use Case 7
Scenario7A
Scenario7B
Use Case 8
Use Case 9
Scenario 9A
Use Case 10
Scenario 10A
Use Case 11
Scenario 11A
Use Case 1: Press button to take photo from barcode
Scenario 1A: Actor takes photo of barcode by pressing the button
Pre-Conditions:
Barcode reading mode is opened.
Scenario:
Press button and read barcode
Post-Conditions:
Person is recognized
Sequence Diagram:
go to menu
Scenario 1B: Barcode image is not good
Pre-Conditions:
Press button and take photo from borcode but the photo is not good.
Scenario:
Press button and read barcode
Post-Conditions:
Message: Barcode image is not good.
Sequence Diagram:
go to menu
Use Case 2: Recognize identity person
Scenario 2A: Recognize person
Pre-Conditions:
Barcode is ready
Scenario:
Recognize person from barcode
Post-Conditions:
Recognized person
Sequence Diagram:
go to menu
Use Case 3: Press button to take photo from iris
Scenario 3A: Iris mode is opened
Pre-Conditions:
Iris reading mode is opened
Scenario:
Press button and take photo from iris
Post-Conditions:
The photo of iris is taken from camera
Sequence Diagram:
go to menu
Scenario 3B: Actor takes photo of iris by pressing the button but iris photo is not used
Pre-Conditions:
Iris mode is opened
Scenario:
Press button and take phot from iris
Post-Conditions:
The photo of iris is not official
Sequence Diagram:
go to menu
Use Case 4: Display the camera image in real time
Scenario 4A:Display the image comes from camera up to 5 ms
Pre-Conditions:
Iris or Barcode mode
Scenario:
Display the image comes from camera up to 5 ms
Post-Conditions:
Image is ready
Sequence Diagram:
go to menu
Use Case 5: Add guide mark for the iris on the screen while photographing
Scenario 5A:Add guide mark for the iris on the screen while photographing
Pre-Conditions:
Iris mode opened
Scenario:
Draw circle guide to screen
Post-Conditions:
--
Sequence Diagram:
go to menu
Use Case 6: Enter age information (not used marge to UseCase1)
Use Case 7: Press button to send data
Scenario 7A: pack data and send to server
Pre-Conditions:
image of iris is already
Scenario:
packaging of data and sending
Post-Conditions:
getting success message
Sequence Diagram:
go to menu
Scenario 7B: Give alert in timeout
Pre-Conditions:
Barcode or iris mode
Scenario:
Go to main screen if button is not pressed during 15 sc
Post-Conditions:
Device back to main screen
Sequence Diagram:
go to menu
Use Case 8: Send data to main controller
go to menu
Use Case 9: Send processed data to the clinets they belong to
Scenario 9A: Process data from a clinet and send it back
Pre-Conditions:
Data comes from client
Scenario:
Process data
Post-Conditions:
Send result to client
Sequence Diagram:
go to menu
Use Case 10: Clients connect main device
Scenario 10A: Connect verify with main device
Pre-Conditions:
Physical connected
Scenario:
Credentials control
Post-Conditions:
Send result (token or error masage)
Sequence Diagram:
go to menu
Use Case 11: Show the result comes from main device on clients
Scenario 11A: Display data from the server on the screen
Pre-Conditions:
Result comes from server
Scenario:
Read data from a server
Post-Conditions:
Show on screen
Sequence Diagram: