Professional Documents
Culture Documents
4 Activity diagram
Activity diagram is UML behavior diagram which shows flow of control or object flow with
emphasis on the sequence and conditions of the flow. The actions coordinated by activity models
can be initiated because other actions finish executing, because objects and data become
available, or because some events external to the flow occur. Activity diagrams are graphical
representations of workflows of stepwise activities and actions with support for choice, iteration
and concurrency.
5.4.1
Construction
Activity diagrams are constructed from a limited number of shapes, connected with arrows. The
most important shape types:
Check Balance
Account statement
Credit transfer
User can also perform pin alteration operation and can also deactivate his/her registered account.
1
UML sequence diagrams model the flow of logic within your system in a visual manner,
enabling you both to document and validate your logic, and are commonly used for both analysis
and design purposes. Sequence diagrams are the most popular UML artifact for dynamic
modeling, which focuses on identifying the behavior within your system. Other dynamic
modeling techniques include activity diagramming, communication diagramming, timing
diagramming, and interaction overview diagramming.
Sequence diagrams are typically used to model:
A. Usage scenarios
A usage scenario is a description of a potential way your system is used. The logic of a
usage scenario may be part of a use case, perhaps an alternate course. It may also be one
entire pass through a use case, such as the logic described by the basic course of action or
a portion of the basic course of action, plus one or more alternate scenarios. The logic of
a usage scenario may also be a pass through the logic contained in several use cases. For
example, a student enrolls in the university, and then immediately enrolls in three
seminars.
B. The logic of methods
Sequence diagrams can be used to explore the logic of a complex operation, function, or
procedure. One way to think of sequence diagrams, particularly highly detailed
diagrams, is as visual object code.
C. The logic of services
A service is effectively a high-level method, often one that can be invoked by a wide
variety of clients.
A. Registration
4
For registration user request to m-banking system, system forwards the request to bank, and bank
gives the acknowledgement to m-banking system and m-banking system gives the
acknowledgement to user.
To view account statement user has to request the m-banking system, system forwards the
request to bank, and bank gives the acknowledgement to m-banking system and m-banking
system gives the acknowledgement to user.
For Intra transaction user has to request the m-banking system, system forwards the request to
bank, and bank gives the acknowledgement to m-banking system and m-banking system gives
the acknowledgement to user.
For utility bill payment user has to request the m-banking system, system forwards the request to
bank, and bank gives the acknowledgement to m-banking system and m-banking system gives
the acknowledgement to user.
For deactivate account user has to request the m-banking system, then m-banking system gives
the acknowledgement to user.
7.2 Algorithm
(A)Registration
9
10
Step-6: If central bank receives balance transfer request from both of the payer and payee bank
then transaction is made and acknowledgement is sent to the account holder.
(E) PIN Alteration
Step-1: Select PIN alteration option from m-wallet menu
Step-2: Fill up the PIN alteration form with mobile number, account number, old pin number and
send.
Step-3: Sender account related information is verified.
Step-4: Then new PIN code is generated and acknowledged to the customer; otherwise
authentication failure noticed.
(F) Credit Transfer
Step-1: Select credit transfer option from m-wallet menu
Step-2: Provide customers from account number and to account number, amount and PIN
number.
Step-3: If both of the account numbers and PIN number are valid and have the transferable
account balance then transfer credits from one account to another account; otherwise
unsuccessful request acknowledged.
(G) Account Statement
Step-1: Select account statement option from m-wallet menu
Step-2: Provide account number, PIN number and period of requested account statement
Step-3: If information is valid then account statement is provided with account number, bank
name, transacted amount and date; otherwise authentication failure noticed.
12