dependability itv model-based analysis and design of embedded software techniques and methods for...

19
Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August 2011

Upload: natalie-lawson

Post on 18-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Dependability

ITV Model-based Analysis and Design of Embedded SoftwareTechniques and methods for Critical Software

Anders P. RavnAalborg University

August 2011

Page 2: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Basic Concepts

• Availability: readiness for correct service.• Reliability: continuity of correct service.• Safety: absence of catastrophic consequences.• Confidentiality: absence of unauthorized disclosure

of information• Integrity: absence of improper system alterations.• Maintainability: ability to undergo modifications.

Page 3: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Other terms

Page 4: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Threats and Means

Page 5: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Development Phase and Faults

1. the physical world with its natural phenomena,

2. human developers, some possibly lacking competence or having malicious objectives,

3. development tools: software and hardware used by the developers to assist them in the development process.

4. production and test facilities.

Fault * prevention ? * tolerance ? * removal ? * prediction ?

Page 6: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Use Phase and Faults1. the physical world with its natural phenomena,

2. administrators (including maintainers): entities (humans or other systems) that have the authority to manage, modify, repair and use the system; some authorized humans may lack competence or have malicious objectives;

3. users: entities that receive service from the system at their use interfaces;

4. providers: entities that deliver services to the system at its use interfaces;

5. infrastructure: entities that provide specialized services to the system, such as information sources (e.g., time, GPS, etc.), communication links, power sources, cooling airflow, etc.

6. intruders: malicious entities that attempt to exceed any authority they might have and alter service or halt it, alter the system’s functionality or performance, or to access confidential information. Examples include hackers, vandals, corrupt insiders, agents of hostile governments or organizations, and malicious software.

Fault * prevention ? * tolerance ? * removal ? * prediction ?

Page 7: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Elem

entary

Fau

lt

Classes

Page 8: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Combined classification

Page 9: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Failure Modes

Page 10: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Means

Fault

prevention

removal

prediction or forecasting

tolerance

Page 11: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Fault prevention

• Systematic procedures• Clean room (Harlan Mills)• Inspection• Reviews

Page 12: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Fault prevention

• Careful Design

• Conservative Design

• process (activities)

• notations

• tools

• robust functionality

• testability

• tracability

Page 13: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Fault Removal

In Development

1. Verification and validation

2. Diagnosis

3. Correction

In Use• Preventive maintenance• Corrective maintenance• Fault isolation

Page 14: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Verification Techniques

Page 15: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Test approaches

Page 16: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Fault forecasting

• Qualitative evaluation• Quantitative evaluation

Models: Markov-processes, Fault-trees, ...

Page 17: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Fault Forecasting

• Calculation – analysis of design

• Simulation – measurement on design

• Test -- measurement on implementation

Page 18: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Means

Page 19: Dependability ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University August

Exercise• Where would you add prevention, removal and forecasting

in a V-model process?• What would you add?

Requirements Spec --------------------------- Accpt. Test Report Acceptance Test Spec

Architectural Spec ------------------------ Integr. Test Report Integration Test Spec

Module Interface Spec Module Spec ------------------- Module Test Report

Module Test Spec

Program Source text