Presentation is loading. Please wait.

Presentation is loading. Please wait.

Problem Frames 8 - Variant frames. Variants Model Operator Description Connection Control.

Similar presentations


Presentation on theme: "Problem Frames 8 - Variant frames. Variants Model Operator Description Connection Control."— Presentation transcript:

1 Problem Frames 8 - Variant frames

2 Variants Model Operator Description Connection Control

3 Operator Commanded Behavior is the operator variant of Controlled Behavior Control machine Operator C B E4RM!E2 C3 Commanded Behavior Control machine Control Domain C CD!C2 C3 Required Behavior CM!C1 Control Domain CM!C1 CD!C2

4 Commanded Information Answering machine Operator C B Y4 Op!E5 C2 Commanded Information Display AM!E3 RW!C1 C Real World E5

5 Commanded Workpiece? Weird machine Operator B B E3 Op!E5 Y4 Commanded Behavior User US!E3 WM!E1 X Work Pieces E5 WP!Y2

6 Concern of operator variant Reject commands that are not sensible or not viable Carry out commands that are sensible and viable

7 Description variant Model variant makes a lexical domain that describes part of a domain Description variant makes a lexical domain that describes part of the requirement Description domain is a set of rules that machine will interpret A virtual machine!

8 Regulated One Way Lights Regulated Controller C ER!{Phase,Duration}ER!{Char} LU! {Go(I),Stop(I)} Conformity to regime Light Units RC! {Rpule(I),Gpulse(I)} Encoded regime LU! {Go(I),Stop(I)}

9 Device Failure Detection Failure Detector C Report AD failure ICU Patients Patient Constraints C Failure Report C Analog devices

10 Description Concern Must design description Requirements defines how to interpret description How does machine get new description? –Often there is another machine that edits it

11 Connection variants Connection domain is between the machine and the domain that the requirements are about (the remote domain) New domains Changes specification of machine Does not change requirements

12 Library controller Members and candidates Library staff c Membership rules Library controller Members and candidates Membership rules

13 Payroll System Payroll forms Output C C d a b c Requirements for payroll

14 Connection concerns Loss of information Errors

15 Control variants For each shared event, –Which domain controls type? –Which domain controls time? –Which domain controls who participates? Reading a file –Machine controls time and participants –Workpiece controls the value (type of event)

16 Control variant Usage analyzer ISP Software a a: IS! {ISPOpen,ISPClose,ISPWrite} Usage analyzer Logfiles a a: UA! {OpenLF, ReadLF} LF! {LogRecord(Read)}

17 Conclusions Most variants add a domain Variants have their own concerns

18 Particular Concerns Problem Frames: Ch. 9

19 Concerns Questions to ask Crucial in understanding the problem Frame concerns Variant concerns Particular concerns

20 Particular Concerns Concerns about a particular problem, not about a particular problem frame. Overrun Initialization Reliability Identities Completeness

21 Overrun A domain’s ability or inability to respond to each externally controlled event before the next event occurs. Occurs when there is a mismatch of speeds at a domain interface. –Machine too fast –Machine too slow

22 Strategies for slow machines Simple inhibition - the machine inhibits the shared events whenever it is not ready Ignoring - the machine ignores shared events whenever it is not ready Buffering - the machine buffers shared events whenever it is not ready, and participates later

23 Initialization Machine has initial state Problem has initial state –only start machine when domain is in proper state –machine sets state of the domain –machine learns state of the domain Model has initial state

24 Reliability What happens when domain violates its description? Importance depends on –Likelihood of failure –Cost of failure

25 Reliability Separate problem of normal operation from problem of reliability Detection Diagnosis Repair

26 Identities Identities concern is when the machine has an interface of shared phenomena with a set of individuals that –are not connected into any structure that identifies them and –do not identify themselves.

27 Identities Add a structure that identifies individuals Model –must be initialized –must be maintained

28 Completeness Does the machine do everything it is supposed to? Does a finite-state machine define what happens for every possible event? Does the description cover a large enough span?

29 Increasing Description Scope Widen participation –X can do Y What else can it do? Can anything else do Y? Complementary events –For each event, can the opposite event happen?

30 Particular Concerns Probably more A way to discover questions to ask Knowledge of experts


Download ppt "Problem Frames 8 - Variant frames. Variants Model Operator Description Connection Control."

Similar presentations


Ads by Google