Top Banner
1 GRL Introduction Lin Liu University of Toronto April 2001
34

1 GRL Introduction Lin Liu University of Toronto April 2001.

Mar 27, 2015

Download

Documents

Abigail Page
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 GRL Introduction Lin Liu University of Toronto April 2001.

1

GRL Introduction

Lin LiuUniversity of TorontoApril 2001

Page 2: 1 GRL Introduction Lin Liu University of Toronto April 2001.

2

Why Goal-Orientation??van Lamsweerde (ICSE 2000)

•Systematic derivation of requirements from goals

•Goals provide rationales for requirements

•Goal refinement structure provides a comprehensible structure for the requirements document

•Alternative goal refinements and agent assignments allow alternative system proposals to be explored

•Goal formalization allows refinements to be proved correct and complete.

Page 3: 1 GRL Introduction Lin Liu University of Toronto April 2001.

3

Where Are We??

Late Late

requirements

requirements

Architectural

Architectural

design

design Detaile

d

Detailed

design

design

Implementatio

n

Implementatio

n

GRLGRL

KAOSKAOS

SDLSDL

UMLUML

object-oriented object-oriented programmingprogramming

[Mylopoulos AOIS’99]

UCMUCM

Page 4: 1 GRL Introduction Lin Liu University of Toronto April 2001.

4

Development-World model refers to and reasons about…

Operational-World models

Alt-1 Alt-2 To-beAs-is

Page 5: 1 GRL Introduction Lin Liu University of Toronto April 2001.

5

Outline

1. Goal-oriented modeling concepts in GRL

2. An example goal-oriented non-functional requirement analysis process

3. Combined use of goal and scenario from requirement to architectural design

4. Agent-oriented concepts in GRL

5. Related works

Page 6: 1 GRL Introduction Lin Liu University of Toronto April 2001.

6

Goals and Softgoals in GRL

GOAL CallServicesBeSupported

“Both Narrowband and Wideband voice, data and image services besupported.”

ATTRIBUTE

Object: TDMA

HOLDER IncomingCallServiceProvider

SOFTGOAL MinimizeCost OF TDMA

ATTRIBUTE

Budget : “less than 500k$”

HOLDER IncomingCallServiceProvider

SOFTGOAL MaximizeCallCapacity OF TDMA

ATTRIBUTE

Rates : “At least two times current capacity”

HOLDER IncomingCallServiceProvider

Page 7: 1 GRL Introduction Lin Liu University of Toronto April 2001.

7

Tasks in GRL

TASK MakeVoiceConnectionOverLAN

ATTRIBUTE

Object: IncomingCall

HOLDER IncomingCallServiceProvider

Page 8: 1 GRL Introduction Lin Liu University of Toronto April 2001.

8

Goal Refinement: Means-ends Link

Task Refinement: Decomposition Link

Page 9: 1 GRL Introduction Lin Liu University of Toronto April 2001.

9

Softgoal Operationalizations: Contribution Relationship

Side-effects to softgoals: Correlation Relationship

Page 10: 1 GRL Introduction Lin Liu University of Toronto April 2001.

10

Resource in GRLRESOURCE LANBandwidth

ATTRIBUTE

Object: VoiceCall

HOLDER IncomingCallServiceProvider

Page 11: 1 GRL Introduction Lin Liu University of Toronto April 2001.

11

Non-Intentional Elements in GRL

•Acting as parameters in GRL intentional elements, i.e., topics of softgoal, “Object” attributes of goal, task and belief

•Referring to entities of an external model, such as responsibilities in UCM, class/objects in UML class diagram,…ELEMENT IncomingCallService

IS scenario ICSFROM URN-FR

MODEL ICS_service_01

Page 12: 1 GRL Introduction Lin Liu University of Toronto April 2001.

12

Belief in GRL

Convergence of media reduces cost of ownership

Page 13: 1 GRL Introduction Lin Liu University of Toronto April 2001.

13

Outline

1. Goal-oriented modeling concepts in GRL

2. An example goal-oriented requirement analysis process

3. Combined use of goal and scenario from requirement to architecture design

4. Agent-oriented concepts in GRL

5. Related works

Page 14: 1 GRL Introduction Lin Liu University of Toronto April 2001.

14

Softgoal Operationalization Example

Page 15: 1 GRL Introduction Lin Liu University of Toronto April 2001.

15

Softgoal Operationalization Example (cont’d)

Page 16: 1 GRL Introduction Lin Liu University of Toronto April 2001.

16

Example (cont’d)

Page 17: 1 GRL Introduction Lin Liu University of Toronto April 2001.

17

Example (cont’d)

Page 18: 1 GRL Introduction Lin Liu University of Toronto April 2001.

18

Outline

1. Goal-oriented modeling concepts in GRL

2. An example goal-oriented requirement analysis process

3. Combined use of goal and scenario from requirement to architecture design

4. Agent-oriented concepts in GRL

5. Related works

Page 19: 1 GRL Introduction Lin Liu University of Toronto April 2001.

19

Page 20: 1 GRL Introduction Lin Liu University of Toronto April 2001.

20

Page 21: 1 GRL Introduction Lin Liu University of Toronto April 2001.

21

Page 22: 1 GRL Introduction Lin Liu University of Toronto April 2001.

22

Goal model in GRL

GOAL CallServicesBeSupported

“Both Narrowband and Wideband voice, data and image services besupported.”

ATTRIBUTE

Object: TDMA

HOLDER IncomingCallServiceProvider

SOFTGOAL MinimizeCost OF TDMA

ATTRIBUTE

Budget : “less than 500k$”

HOLDER IncomingCallServiceProvider

SOFTGOAL MaximizeCallCapacity OF TDMA

ATTRIBUTE

Rates : “At least two times current capacity”

HOLDER IncomingCallServiceProvider

Page 23: 1 GRL Introduction Lin Liu University of Toronto April 2001.

23

An Original unbounded UCM scenario corresponding to Goal “Call Services Be Supported”

Page 24: 1 GRL Introduction Lin Liu University of Toronto April 2001.

24

Bounded UCM scenarios of Solutions: Reside VoiceCoder in (1) Base Station; or (2) in Switch

Page 25: 1 GRL Introduction Lin Liu University of Toronto April 2001.

25

Design Alternatives & Their Contributions to NFRs

Page 26: 1 GRL Introduction Lin Liu University of Toronto April 2001.

26

Outline

1. Goal-oriented modeling concepts in GRL

2. An example goal-oriented requirement analysis process

3. Combined use of goal and scenario from requirement to architecture design

4. Agent-oriented concepts in GRL

5. Related works

Page 27: 1 GRL Introduction Lin Liu University of Toronto April 2001.

27

Agent-Orientation in GRL•Actors are semi-autonomous, partially

knowable•Strategic actors, intentional dependencies•Can be considered as goal-holders

Meeting Scheduling Meeting Scheduling ExampleExample

“Strategic Dependency” Model

Page 28: 1 GRL Introduction Lin Liu University of Toronto April 2001.

28

Revealing goals, finding alternatives

•Asking “Why”, “How”, “How else”

Page 29: 1 GRL Introduction Lin Liu University of Toronto April 2001.

29

Scheduling meeting …with meeting scheduler

ConsiderConsider

1.1. Technology as enablerTechnology as enabler

2.2. Networked systems and organizationsNetworked systems and organizations

3.3. Increased inter-dependency and Increased inter-dependency and vulnerabilityvulnerability

4.4. Limited knowledge and controlLimited knowledge and control

5.5. Openness and uncertaintiesOpenness and uncertainties

6.6. CooperationCooperation

7.7. Boundaries, locality, identityBoundaries, locality, identity

Page 30: 1 GRL Introduction Lin Liu University of Toronto April 2001.

30

Distributed Goal Model with Meeting Scheduler

•SR2

Page 31: 1 GRL Introduction Lin Liu University of Toronto April 2001.

31

Outline

1. Goal-oriented modeling concepts in GRL

2. An example goal-oriented requirement analysis process

3. Combined use of goal and scenario from requirement to architecture design

4. Agent-oriented concepts in GRL

5. Related works

Page 32: 1 GRL Introduction Lin Liu University of Toronto April 2001.

32

Goal-Oriented Requirements Engineering

(GORE) •GORE is gathering momentum

CSD – Feather 87… KAOS – van Lamsweerde, … Inquiry Cycle – Potts, Anton EKD – Bubenko, Rolland, Loucopoulos Win-Win – Boehm NFR – Chung, Mylopoulos, …

Hopefully, MOMENTUM >>>•Z.URN proposal to ITU-T (Nov. 2000)

GRL

Page 33: 1 GRL Introduction Lin Liu University of Toronto April 2001.

33

Goal + scenario in RE and in Architectural Design

•Krutchen’s 4+1 model of software architecture

•Software Architecture Analysis Method (SAAM)

•Van Lamsweerde and Willement

•CREWS-L’Ecritoire approach of Collete Rolland et al.

Page 34: 1 GRL Introduction Lin Liu University of Toronto April 2001.

34

Resources regarding GRL

Home of GRL http://www.cs.toronto.edu/km/GRL/

Tool web site http://www.cs.toronto.edu/km/OME/

References:• Chung, L., Nixon, B.A., Yu, E.and Mylopoulos, J. Non-

Functional Requirements in Software Engineering. Kluwer Academic Publishers, 2000.

• Yu, E. and Mylopoulos, J. Why Goal-Oriented Requirements Engineering. In Proceedings of the 4th International Workshop on Requirements Engineering: Foundations of Software Quality. June 1998, Pisa, Italy. E. Dubois, A.L. Opdahl, K. Pohl, eds. Presses Universitaires de Namur, 1998. pp. 15-22.

Also at: http://www.cs.toronto.edu/~eric