1 / 30

Problem Frames 8 - Variant frames

Problem Frames 8 - Variant frames. Variants. Model Operator Description Connection Control. Operator. Commanded Behavior is the operator variant of Controlled Behavior. Control machine. CM!C1. C3. Control Domain. Required Behavior. C. CD!C2. CM!C1. Control Domain. C3. CD!C2.

idalee
Télécharger la présentation

Problem Frames 8 - Variant frames

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 CM!C1 C3 Control Domain Required Behavior C CD!C2 CM!C1 Control Domain C3 CD!C2 C Control machine Commanded Behavior Operator RM!E2 E4 B

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

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

  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 Light Units RC! {Rpule(I),Gpulse(I)} LU! {Go(I),Stop(I)} C Regulated Controller Conformity to regime LU! {Go(I),Stop(I)} Encoded regime ER!{Char} ER!{Phase,Duration}

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

  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 Membership rules c Membership rules Library controller Library staff Members and candidates

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

  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 a Logfiles a: UA! {OpenLF, ReadLF} LF! {LogRecord(Read)} Usage analyzer a ISP Software a: IS! {ISPOpen,ISPClose,ISPWrite}

  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

More Related