very company having customers maintains customer accounts and supports a complete life cycle of the account from its creation until it is closed. There are differences in what are the stages (states) in the account's life cycle, and what are conditions or events causing account to change its state. For the user account to be created, it has to meet some initial requirements. For example, user id (used as a login name) must be unique, at least for the existing accounts. After account was created, it might need to be verified. Verification depends on the company and could include e-mail, phone, and/or address verification. If account was not verified during some predefined period of time, that account could be moved to the suspended accounts. New, active, or suspended accounts could be cancelled at any time by client's request. Note, the precondition for this usually includes payment of any outstanding balances, and might require some separate account state or substate to handle this case. User account might be suspended for security reasons, manually or automatically. For example, website intrusion detection system locks user account for predefined period of time, if there were several unsuccessful login attempts using incorrect account password. After account lock times out, account is activated back automatically. Please Draw a state machine diagram based on the above information.
Every company having customers maintains customer accounts and supports a complete life
cycle of the account from its creation until it is closed. There are differences in what are the
stages (states) in the account's life cycle, and what are conditions or events causing account to
change its state.
For the user account to be created, it has to meet some initial requirements. For example, user
id (used as a login name) must be unique, at least for the existing accounts. After account was
created, it might need to be verified. Verification depends on the company and could include
e-mail, phone, and/or address verification. If account was not verified during some predefined
period of time, that account could be moved to the suspended accounts. New, active, or
suspended accounts could be cancelled at any time by client's request. Note, the precondition
for this usually includes payment of any outstanding balances, and might require some
separate account state or substate to handle this case.
User account might be suspended for security reasons, manually or automatically. For
example, website intrusion detection system locks user account for predefined period of time,
if there were several unsuccessful login attempts using incorrect account password. After
account lock times out, account is activated back automatically.
Please Draw a state machine diagram based on the above information.
Step by step
Solved in 2 steps with 1 images