You are on page 1of 12

5.

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:

Rounded rectangles represent activities;

Diamonds represent decisions;

Bars represent the start (split) or end (join) of concurrent activities;

A black circle represents the start (initial state) of the workflow;

An encircled black circle represents the end (final state).

Activity diagram of m-banking


User first has to register himself to get the following function:

Check Balance

Account statement

Inter Bank balance transfer

Intra Bank balance transfer

Credit transfer

Utility bill payment

User can also perform pin alteration operation and can also deactivate his/her registered account.
1

Figure 5.5: Activity diagram of m-banking

5.5 Sequence Diagram


2

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.

This includes web-services as well as business transactions

implemented by a variety of technologies such as CICS/COBOL or CORBA-compliant


object request brokers (ORBs).
5.5.1

Elements of sequence diagram


3

Object: Represents an object in the system or one of its components.

Separator: Represents an interface or boundary between subsystems.

Call Message: A call (procedure) message between header elements

Message: A simple message between header elements

Return Message: A return message between header elements

Lifeline: Denotes the life of an object during a sequence.


|
|
|

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.

Figure 5.6: The Process of Registration.


B. Check Balance
For check balance user has to request the, system forwards the request to bank, and bank gives
the acknowledgement to m-banking system and m-banking system gives the acknowledgement
to user.

Figure 5.7: The Process of Check balance.


C. Account Statement
5

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.

Figure 5.8: The Process of Account Statement.


D. Credit Transfer
For credit transfer 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.

Figure 5.9: The Process of Credit Transfer.


E. Intra Transaction
6

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.

Figure 5.10: The Process of Intra Bank Balance Transfer.


F. Inter Transaction
In inter transaction user request system with necessary information, system request bank1 and
bank1 acknowledge the Bangladesh bank and money from bank1 is transferred to bank2. Then
acknowledgement is sent to user.

Figure 5.11: The Process of Inter Bank Balance Transfer.


G. Utility Bill payment
7

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.

Figure 5.12: The Process of Utility Bank Balance Transfer.


H. Pin Alteration
For pin alteration user has to request the m-banking system, then m-banking system gives the
acknowledgement to user.

Figure 5.13: The Process of PIN Alteration.


I. Deactivate Account
8

For deactivate account user has to request the m-banking system, then m-banking system gives
the acknowledgement to user.

Figure 5.14: The Process of Deactivate Account.

7.2 Algorithm
(A)Registration
9

Step- 1: Enable WAP / GPRS service


Step-2: Select registration option from m-wallet menu
Step-3: Fill up the registration form with mobile number, bank name and account number then
send
Step-4: If all the provided information is valid then registration is successful and secure PIN code
is displayed otherwise registration failure noticed.
(B)Checking out Balance Information
Step-1: Select balance checking option from m-wallet menu.
Step-2: Provide account number and PIN number.
Step-3: If account number and PIN number is valid then current account balance will be
displayed; otherwise authentication failure noticed.
(C)Intra Bank Balance Transfer
Step-1: Select intra baking balance transfer option from m-wallet menu.
Step-2: Provide payer and payees account number, amount and PIN number then send
Step-3: If all provided information is valid and amount is available then transfer the requested
amount from payers account to payees account and send acknowledgement to account holder.
(D) Intra Bank Balance Transfer
Step-1: Select inter baking balance transfer option from m-wallet menu.
Step-2: Provide payer and payees account number, amount and PIN number then send
Step-3: The system automatically sends collected information to corresponding prayer and payee
bank.
Step-4: Payers account information, available balance are verified at the payer bank. If the
payers information is authenticated then the payer bank sends request of balance transfer to
central bank with necessary information.
Spep-5: Payees account information is verified at payee bank. If payees account number is a
valid account of the payee bank then payee bank request the central bank to transfer the amount
to the payee bank account.

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.

(H) Utility Bill Payment


Step-1: Select utility bill pay option from m-wallet menu.
Step-2: Provide payers account number and bill pay account number, amount, bill-type and PIN
number then send
11

Step-3: The system automatically sends collected information to payer bank.


Step-4: Payers account information, available balance is verified at the payer bank. If the payers
information is authenticated then the payer bank sends request of balance transfer to the mobile
operators server with necessary information.
Step-5: If mobile operators server receives balance transfer request from the payer bank and bill
pay account is valid then transaction is made and acknowledgement is sent to the payers mobile
phone.
(I) Deactivate Account
Step- 1: Enable WAP / GPRS service
Step-2: Select Deactivate account option from m-wallet menu
Step-3: Fill up the Deactivation form with mobile number, account number and pin number then
send
Step-4: If all the provided information is valid then deactivation is successful otherwise
deactivation failure noticed.

12

You might also like