2 EXAMPLE OF AN SPBP
An example of an SPBP is the process of Accredi-
tation of Prior Learning (APL)(LIFELONG LEARN-
ING, 2008).
The APL service is triggered by a student who fol-
lows an education provided by a university. The stu-
dent requests the university to grant exemptions from
the officially listed courses of the current education.
The request form contains the student number, the of-
ficial name of the current education, the official name
of the former education of the student and the cer-
tificate of the former education. If the former edu-
cation is not on the list of educations recognized for
exemption, the request is rejected and the student is
informed. If the former education is on the list of rec-
ognized educations, the request is registered, the stu-
dent receives an acknowledgement and a request for
payment. When payment has been received, the as-
sessment team receives the request of the student.
The assessment of the certificate of former edu-
cation is fulfilled by a trained assessor. If the certifi-
cate is complete and valid, the student gets exemption
from a set of courses of his current education. The
student is informed by receiving an official document
about the exemptions. If the certificate is not valid,
the assessment is negative. If the certification is in-
complete, the student gets one chance to send a com-
plete certificate and have the assessment repeated.
The APL process transforms a request of a stu-
dent and the information in the official sources into
a product: a document of assessment. The official
sources about Education, Exemption, Student and As-
sessor form the underlying subject matter of the ser-
vice. The APL process also implements the process-
level functions of request registration, payment, ac-
knowledgement and security.
3 MODULARIZATION OF SPBPS
In order to achieve modularization of requirements
in behavioural models we have investigated many
popular modeling techniques: Coloured Petri
Nets (Jensen, 1997), statecharts (Harel and Politi,
1998) and several UML profiles. We have built
executable models of our case study using all those
techniques and trying to localize requirements in the
models. Although sequential functional requirements
defining the APL process (registration, payment,
assessment) are localisable, such requirements as
security, acknowledgement and archiving demand
copies of all other models and cannot be localized
in conventional modelling notations. We have found
that there are three reasons for this. The conventional
techniques do not have
- Event-refusal semantics needed to model interaction
and so do not allow behavior synchronization within
a SPBP. Synchronization is usually used to present
collaboration of SPBPs (Su. et al., 2008).
- A concept of a derived state. Without this con-
cept, handling changes in a state value that is not
represented as a single data attribute requires the
generation of artificial internal events.
- Event and state abstractions needed for specification
of cross-cutting functional requirements.
We show that the Protocol Modelling technique (Mc-
Neile and Simons, 2006) possesses the listed concepts
and allows localization and composition of functional
and non-functional requirements in models.
Protocol Model. A unit of a Protocol Model is a Pro-
tocol Machine PM = (S, D, E, T), where
• S = {s
1
, s
2
, ...s
n
}, n ∈ N, is a non-empty finite set of
stored states. A stored state has a corresponding set of
attribute values, including the state name.
• D = {d
1
, d
2
, ..., d
k
}, k ∈ N, is a finite set of derived
states calculated using the states of the machine itself
and other protocol machines. D can be empty.
• E = {e
1
, e
2
, ..., e
m
}, m ∈ N is an alphabet of events,
i.e. a non-empty finite set of recognized events com-
ing from environment.
• T = {t
1
, ..., t
p
}, p ∈ N is a set of transitions. A transi-
tion t can be of types t = (s
1
, e, s
2
),
t = (d
1
, e, any state) or t = (any state, e, d
2
).
A protocol machine (Figures 1,2) may be represented
as a set protocol state diagrams, where
• a stored state is depicted as an ellipse;
• the values of attributes in a stored state are presented
near the state in a bubble;
• a derived state is presented as a double line ellipse;
• the rules of derivation of a derived state are presented
as an expression of the protocol machine;
• a transition is depicted
– as an arc, i.e. a pair states labeled by the events that
cause this transition or
– as an arrow coming from or to a derived state and
labeled by the events that cause this transition.
The semantics of a protocol state diagram is different
from the UML state diagram (OMG, 2003) and
statecharts (Harel and Politi, 1998).
Behavior of a Protocol Machine. The state diagram
of a protocol machine has the following behavioral
semantics.
• If an event does not belong to the alphabet of recog-
nized events, the machine ignores it.
MODULAR BEHAVIOUR MODELLING OF SERVICE PROVIDING BUSINESS PROCESSES
339