A system of two processes is used to allow a user to logon to a user account. The User Process (UP) receives a user ID and password from the User that are then passed to a Validation Process (VP). The...

A system of two processes is used to allow a user to logon to a user account. The User Process (UP) receives a user ID and password from the User that are then passed to a Validation Process (VP). The VP then checks in a local database and either returns OK or NOT OK. If the UP receives OK it moves to a logged state. However, if it receives NOT OK, it can retry after 5 seconds by resending a user ID and password to the VP. The UP can only try 3 times after which if a NOT OK is received, the UP will be blocked for 3 minutes before returning to the idle state waiting for another user ID and password from the User. HINT: the UP has the following states: IDLE; WAITING-FOR-VP-REPLY; LOGGED; BLOCKED-3MIN; BLOCKED-5SEC. Draw the state machine for both the UP and the VP. Draw three scenarios using three different sequence diagrams.

May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here