22
SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING UNIVERSITY OF OTTAWA Feature Description and Feature Interaction Analysis with Use Case Maps and LOTOS Daniel Amyot et al. SITE, University of Ottawa, Canada [email protected] FIW’00, Glasgow, May 19, 2000

Feature Description and Feature Interaction Analysis with Use Case Maps and L OTOS

  • Upload
    blaise

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

Feature Description and Feature Interaction Analysis with Use Case Maps and L OTOS. Daniel Amyot et al. SITE, University of Ottawa, Canada [email protected] FIW’00, Glasgow, May 19, 2000. Collaborators. Leïla Charfi, University of Ottawa Nicolas Gorse, University of Ottawa - PowerPoint PPT Presentation

Citation preview

Page 1: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Feature Description andFeature Interaction Analysis with Use Case Maps and LOTOS

Daniel Amyot et al.SITE, University of Ottawa, Canada

[email protected]

FIW’00, Glasgow, May 19, 2000

Page 2: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Collaborators

Leïla Charfi, University of Ottawa Nicolas Gorse, University of Ottawa Tom Gray, Mitel Corporation Luigi Logrippo, University of Ottawa Jacques Sincennes, University of Ottawa Bernard Stépien, University of Ottawa Tom Ware, Mitel Corporation

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Page 3: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Introduction New methodology for feature design,

specification and validation Jointly by U. of Ottawa and Mitel Corp. Application to new product

– Enterprise private networks– Agent-based call model– Features: Outgoing Call Screening, Call

Forward Always, Call Forward Busy, Call Hold, Recall, Call Pickup, Call Transfer

Page 4: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Approach Use Case Maps

– Causal scenario notation– Description and documentation of

requirements and high-level designs LOTOS

– Formal algebraic specification language– Powerful validation & verification tools and

techniques, enabling FI detection Both have an FI history, in isolation

Page 5: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Related Work Formal Methods

– Precise, mathematical, but low penetration Scenario-Driven Approaches

– Higher level of acceptance, accessible to a broad range of readers; but integration of scenarios and V&V remains difficult

Some Well-Known Approaches– SDL and Message Sequence Charts– Unified Modeling Language

Page 6: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Two Complementary Techniques Use Case Maps

– Visual and intuitive scenario notation– Capture, integrate, and help reasoning

about functional requirements– FI avoidance

LOTOS

– Formalization, abstract prototyping and validation

– Automated FI detection

Page 7: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

In This Presentation...

Use Case Maps Notation System Architecture with Call Model UCMs UCM-Based FI Avoidance From UCMs to LOTOS Validation and FI Detection with LOTOS

Traces, MSCs and Animations Conclusions

Page 8: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Use Case Maps Notation Visualization of causal relationships between

responsibilities allocated to abstract components

Alice AgentA AgentB Bob

[busy]

msgmb

[idle]vrfy updreq ring

Start Point Responsibility End PointCondition

Component

Page 9: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Refining UCMs with Message Exchanges

Alice AgentA AgentB Bob

req ringvrfy upd

reqring

vrfy

upd

BobAlice Switch

SN

Alice AgentA AgentB Bob

Alice Switch SN Bob

req

msg1

ring

vrfy

upd

req

msg2

ring

vrfy

updmsg5

msg4

msg3

Page 10: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Integrating UCM Scenarios

UserO AgentO AgentT UserT

req

msg

ring

StubTStubO

in2

out4

out3vrfyupd

[idle]

[busy]mb mrb

Terminating plug-in

in1 out1

Originating plug-in OCS plug-in

in1

out2

out1chk [allowed]

[denied]md

OCSlistPl

ug-i

nsfo

r St

ubO

Plug

-in

for

Stub

TR

oot M

ap

Page 11: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

System Architecture

Agents types:– Device Agents (DAGENT or DEB)– Personal Agents (PAGENT or CEB)– Functional Agents (FAGENT or LEB)

Agents roles:– Originating, Terminating, 3rd party

Call objects instantiated dynamically

Page 12: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Design of the Call Model UCMs Created by industrial partners

– 1 senior designer and 2 junior designers More than 100 UCMs

– Basic call and 10 features– Structured with 60 stubs– 7 levels deep– Many plug-ins reused– Recently added 3 features, low impact– Use of the UCM Navigator

Page 13: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Page 14: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

FI Avoidance at UCM Level Many FI solved at integration time Before the generation of a prototype Remaining FI mostly in dynamic stubs Several problems detected by

inspection– Non-determinism in selection policies– Erroneous UCMs– Ambiguous UCMs, lack of comments

New techniques (e.g. Namakura et al.)

Page 15: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Towards LOTOS

ISO standard, process algebra Powerful constructs

– Composition: multiway rendezvous– Hiding– Abstract Data Types (ADT)– Flexible inter-process synchronization

Constructs similar to those of UCMs

Page 16: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

From UCMs to LOTOSStart/end points

Responsibilities

Agents/components

Stubs

Plug-ins

Inter-path causality

Databases, conditions

Visible gates

Hidden gates

Processes

Processes (implement

selection policies)

Processes

Hidden inter-process

synchronization (msg)

Abstract Data Types

Page 17: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Validation

Scenarios derived from UCMs paths for:– Basic System Properties– Individual Features Properties– Feature Interaction

Scenarios simpler than specification– Few features considered at once– No component, close to requirements

Verdicts obtained with LOLA

Page 18: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

FI Analysis Phase FI team: 2 students No major fault, but several problems

detected LOTOS specification: 2450 lines 36 test scenarios: 1300 lines Currently being extended in new phase Other LOTOS-based techniques and

tools to be used

Page 19: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Feature Interaction “Suspiscion”

Derivation of properties of individual features

Analysis in Prolog to determine:– direct and transitive FI– non-determinisim– loops

Generation of FI prone scenarios and configurations

Page 20: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Traces, MSCs and Animations

LOTOS traces are translated to MSCs by associating direction to gates and identifying sender and receiver entities

Translation of MSCs to LOTOS permits validation against external scenarios

A graphical animator displays a given trace as a structural diagram of the system, in a step-by-step fashion

Page 21: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Conclusions

UCM-LOTOS approach for specification and validation of telecommunications systems seems feasible and effective

Encouraging results so far, more to come in the near future…

Technology transfer in progress

Page 22: Feature Description and Feature Interaction Analysis with  Use Case Maps  and  L OTOS

SCHOOL OF INFORMATION TECHNOLOGY AND ENGINEERING

UNIVERSITY OF OTTAWA

Use Case Maps Web Pagehttp://www.UseCaseMaps.org/

Bon appétit!