tropos project toward re

58
Requirement Engineering Presented By: Sundas Amin Sehrish Asif Arfa Skendar Rabia Bilal

Upload: sehrish-asif

Post on 11-Jun-2015

87 views

Category:

Education


2 download

DESCRIPTION

Towards requirements-driven information systems engineering: the Tropos project

TRANSCRIPT

Page 1: Tropos project toward RE

Requirement Engineering

Presented By:Sundas AminSehrish AsifArfa SkendarRabia Bilal

Page 2: Tropos project toward RE

Paper Information

Paper Name• Towards requirements-driven

information systems engineering: the Tropos project

Authors• Jaelson Castroa, Manuel Kolpb,*, John

Mylopoulosc

Publications• 2002 Elsevier Science Ltd. All rights

reserved

Page 3: Tropos project toward RE

Paper outline

Page 4: Tropos project toward RE

Operational environment Information system Operational environment isunderstood in terms of

Actors Responsibilities Objectives Tasks Resources

Information system itself is conceived as a collection of

Software modules Entities (e.g., objects, agents) Data structures InterfacesMISMATCH

Due to development methodology (inspiredand driven by the programming paradigm)

Page 5: Tropos project toward RE

Structured development techniques

Object-oriented development techniques

Meant that, throughout software development, the developer could conceptualize the system in termsof

Functions and processes Inputs and outputs

Developer thinks throughout in terms of Objects Classes Methods Inheritance and the like

Page 6: Tropos project toward RE

TROPOS

Development framework Requirements-driven in the sense that it is

based on concepts used during early requirements analysis.

Modeling framework proposing concepts such as Actor (actors can be agents, positions or roles) Social dependencies among actors, including goal,

soft goal, task and resource dependencies.

Page 7: Tropos project toward RE

Proposed methodology spans four phases

1. Early requirements:

Understanding of a problem by studying an organizational

setting

The output of this phase is an organizational model which

includes relevant actors, their respective goals and their

interdependencies.

2. Late requirements:

Where the system-to-be is described within its operational

environment, along with relevant functions and qualities.

Page 8: Tropos project toward RE

3. Architectural design:

Where the system’s global architecture is defined in terms of sub-

systems, interconnected through data, control and other

dependencies.

4. Detailed design:

Where behavior of each architectural component is defined in

further detail.

Page 9: Tropos project toward RE

Align Requirements

• Using the OOP concepts to align requirements analysis with system design and implementation makes perfect sense.

• Alignment reduces impedance mismatches between different development phases.

• An alignment can lead to coherent toolsets and techniques for developing system.

Page 10: Tropos project toward RE

Requirements Analysis

• Requirements analysis is arguably the most important stage of information system development.

• The importance of design and implementation phases decreases sometime in the future.

• But requirements analysis will remain a critical phase for the development of any information system, answering the most fundamental o fall design questions: ‘‘what is the system intended for?”

Page 11: Tropos project toward RE

Enterprise Resource Planning

• Groupware, knowledge management and e-business systems, should be designed to match their operational environment.

• ERP systems have to implement a process view of the enterprise to meet business goals, tightly integrating all relevant functions of their operational environment.

• To reduce as much as possible this impedance mismatch between the system and its environment.

Page 12: Tropos project toward RE

Proposed Methodology

• Generating an implementation from a Tropos detailed design.

• Using an agent-oriented programming platform for the implementation.

• The detailed design is defined in terms of (system) actors, goals and interdependencies among them.

• For this paper adopted JACK as programming platform to study the generation of an implementation from a detailed design.

• JACK is a commercial product based on the Beliefs-Desires-Intentions (BDI) agent architecture.

Page 13: Tropos project toward RE

2. A case study

• Media Shop is a store selling and shipping different kinds of media items such as books, newspapers, magazines, audio CDs and videotapes etc.

• Media Shop customers can use a periodically updated catalogue describing available media items to specify their order.

• Media Shop is supplied with the latest releases from Media Producer and in-catalogue items by Media Supplier.

Page 14: Tropos project toward RE

Case Study: Medi@• To increase market share, Media Shop has decided

to open up a B2C retail sales front on the internet.• With the new setup, a customer can order Media

Shop items in person, by phone, or through the internet.

• There are no registration restrictions, or identification procedures for Medi@ users.

• Potential customers can search the on-line store by either browsing the catalogue or querying the item database.

Page 15: Tropos project toward RE

Cont..

• An on-line search engine allows customers with particular items in mind to search title, author description fields through keywords or full-text search.

• If the item not available in the catalogue, the customer has the option of asking Media Shop to order it, provided the customer has editor.

• Details about media items include title, media category and genre, author/ artist, short description, editor/ publishr international references and information, date, cost, and sometimes pictures.

Page 16: Tropos project toward RE

3. Early requirements analysis with i*

• Early requirements analysis focuses on the intentions of stakeholders.

• These intentions are modeled as goals which through some form of a goal-oriented analysis, eventually lead to the functional and non-functional requirements of the system-to-be.

Page 17: Tropos project toward RE

i* Framework

i* stands for ‘‘distributed intentionality’’

Stakeholders are represented as (social) actors who depend on each

other for goals to be achieved, tasks to be performed, and

resources to be furnished.

Page 18: Tropos project toward RE

The i* framework

SDM

Actor

Actor

Actor

ActorActor

Actor

Actor

Fig: Strategic dependency model for describing the network of relationships among actorsA dependency describes an ‘‘agreement’’ (called dependum) between two actors: the depender and the dependee. The depender is the depending actorThe dependee the actor who is depended upon.

Page 19: Tropos project toward RE

Strategic dependency model

Goal dependencies Used to represent

delegation of responsibility for

fulfilling a goal

Soft goal dependencies Similar to goal

dependencies, but their fulfillment cannot

be defined precisely

Task dependenciesUsed in situations

where the dependee is required to perform a

given activity

Resource dependencies

Require the dependee to provide a resource

to the depender.

Page 20: Tropos project toward RE

The i* framework

Fig: Strategic rationale model for describing and supporting the reasoning that each actor goes through concerning its relationships with other actors

Strategic rationale

model

Goal

Task

Resource

Softgoal

Page 21: Tropos project toward RE

Actors

dependums : goals

dependums : softgoals

dependums : tasks

dependums : resources

dependencies have the form depender-dependum-dependee:

Page 22: Tropos project toward RE
Page 23: Tropos project toward RE
Page 24: Tropos project toward RE

4. Late requirements analysis

• Requirements specification which describes all functional and NFR for the system.

• In Tropos, the information system is represented as one or more actors which participate in a strategic dependency model, along with other actors from the system’s operational environment.

• In other words, the system comes into the picture as one or more actors who contribute to the fulfillment of stakeholder goals.

• For our example, the Medi@ system is viewed as a full-fledge actor in the strategic dependency model.

Page 25: Tropos project toward RE
Page 26: Tropos project toward RE

Architectural design

Page 27: Tropos project toward RE

Architectural design

Architectural design

A small intellectually manageable model of system structure

Describes how system components work together

Page 28: Tropos project toward RE

Architectural design….

Thin Web Client, Thick Web Client, Web Delivery

Software architects have developed List of style for e-business applications

Now-a-day, In addition to classical architectural styles

Page 29: Tropos project toward RE

Architectural design….

Software architectural styles focus on

web concepts

protocols

underlying technologies

But not on business processes or NFR of the application

Page 30: Tropos project toward RE

Architectural design….

But organizational architecture styles are not described

Nor the conceptual high-level perspective of the e-business application

Page 31: Tropos project toward RE

Architectural design….

In TroposDefined

organizational architectural styles for

Cooperativeapplications

Dynamicapplications

Distributed applications

Like multi-agent systems to guide the design of the system architecture

Page 32: Tropos project toward RE

Architectural design….

architectural styles are based

on

Concepts

Design alternatives

Coming from research in organization management

organization theory

strategic alliances partnerships theory of

the firm agency theory

Page 33: Tropos project toward RE

Typical organizational style/ Structure-in-5

Page 34: Tropos project toward RE

Joint venture style

Page 35: Tropos project toward RE

Organizational styles

• For exampleOrganizational styles

generic structures defined at a metalevel (abstract concept)

Can be personalize to design a specific application architecture

Their existence depends on the existence of the style

Apex, Coordination, Middle Agency, Support and Operational

For Example Structure-in-5 style is aggregation of five metaclasses

Page 36: Tropos project toward RE

Organizational styles….

• In this paper formalization of these styles in Formal Tropos was intended

Page 37: Tropos project toward RE

Organizational styles ….

Organizational styles have been evaluated and compared

Using software quality attributes

predictability security

adaptability

coordinability

cooperativity

availability

integrity

Modularity

Aggregability

NFR framework used with notation

+ For partial/positive, contributions

++ For sufficient/positive

- For partial/negative

-- For sufficient/negative

Page 38: Tropos project toward RE

Organizational styles….

Page 39: Tropos project toward RE

Selecting an architecture

Styles

• represented as operationalized softgoals

Design

rationale

• represented by claim softgoals drawn as dashed clouds

contextual information

• was added for decision making• Exclamation marks(! And !!) used to mark priority softgoals• check-mark ‘‘ ’’ used to mark fulfilled softgoal• cross ‘‘X’’ labels an unfulfillable

Page 40: Tropos project toward RE
Page 41: Tropos project toward RE

Joint venture architecturalstyle example(sub division of roles, responsibility assignment)

Page 42: Tropos project toward RE

Next step in the architectural design

Defining how the goals assigned to each actor are fulfilled by agents with respect to social patterns

agent patterns exist as solution

but they focus on object-oriented

not on the inherent intentional and social characteristics of agents

multi-agent systems are helpful here

List of multi-agent systems : broker, matchmaker, mediator, monitor, embassy, wrapper, contract-net

Page 43: Tropos project toward RE

Matchmacker

Page 44: Tropos project toward RE

Embassy

Page 45: Tropos project toward RE

Agents’ capabilities and social pattern

To find capabilities associated with the agents

Detailed analysis of each social pattern was done

Page 46: Tropos project toward RE

Agents’ capabilities for the matchmaker pattern

Page 47: Tropos project toward RE

Detailing item browser with social patterns

Page 48: Tropos project toward RE

Detailed Design

• In our case, this includes actor communication and actor behavior.

• AUML, the Agent Unified Modeling Language.• We have also proposed and defined a set of stereotypes,

tagged values, and constraints to accommodate Tropos concepts within UML.

• In UML, using the stereotypes we have defined <<i* actor>> and <<i* dependency>>

• The use of AUML, we will concentrates on the Shopping cart actor and the check out dependency.

• Partial UML class diagram focusing on that actor that will be implemented as an aggregation of several CartForms and ItemLines.

Page 49: Tropos project toward RE

• Associations ItemDetail to On-line Catalogue, aggregation of MediaItems, and CustomerDetail to CustomerPro- filer, aggregation of CustomerProfileCards are directly derived from resource dependencies with the same name.

• Our target implementation model is the BDI model, an agent model whose main concepts are Beliefs, Desires and Intentions.

• To specify the checkout task, AUML allows us to use templates and packages to represent checkout as an object, but also in terms of sequence and collaborations diagrams.

Page 50: Tropos project toward RE

Representing i* model in UML with stereotypes

Page 51: Tropos project toward RE

Class diagram

Page 52: Tropos project toward RE

Sequence Diagram

Page 53: Tropos project toward RE

A Plan DiagramThe elements of the plan graph are three types of node

Start states are denoted by small filled circles

End states may be pass or fail states, denoted, respectively, by a small target or a small no entry sign

Internal states may be passive or active

no substructure, denoted by a small open circle

associated activity, denoted by rectangular boxes with rounded corners

An important feature of plan diagrams is their notion of failure, when transition fails or active state terminate

Page 54: Tropos project toward RE

Specification for the checkout plan

Page 55: Tropos project toward RE

7. Generating an implementation• JACK Intelligent Agents is an agent oriented development

environment designed to extend Java with the theoretical Belief Desire Intention (BDI) agent model used in artificial intelligence as well as in cognitive science and philosophy.

• JACK agents can be considered autonomous software components that have explicit goals to achieve, or events to cope with (desires).

• To describe how they should go about achieving these desires, agents are programmed with a set of plans (intentions).

• Each plan describes how to achieve a goal under different circumstances.

• Set to work, the agent pursues its given goals (desires), adopting the appropriate plans (intentions) according to its current set of data (beliefs) about the state of the world.

Page 56: Tropos project toward RE

Conclusion

• In this paper proposed a development methodology named Tropos, founded on intentional and social concepts, and inspired by early requirements analysis.

• The modeling framework views software from five complementary perspectives.– Social (actor)– Intentional (goal)– Communicational ( actor dialogue)– Process-oriented (business/computer process)– Object-oriented (relevant to object & classes)

Page 57: Tropos project toward RE

Conclusion

• The methodology is particularly appropriate for generic, componentized systems like e-business applications that can be down.

• The methodology complements well proposals for agent-oriented programming environments.

• The software is defined in terms of(system) actors, goals and social dependencies among them.

Page 58: Tropos project toward RE

Conclusion

• There already exist some proposals for agent-oriented development.

• Such proposals are mostly extensions to known object-oriented and/ or knowledge engineering methodologies.

• Moreover, all these proposals focus on design—as opposed to requirements analysis—and are therefore considerably narrower in scope thanTropos.