100 likes | 256 Vues
Synthesizing Component-Level Behavior Models from Scenarios and Constraints. Ivo Krka. Motivation. Early development phases Scenarios Properties / Constraints Partial but straightforward Synthesizing behavior models from high-level specifications Statecharts , LTSs Architectural analysis
E N D
Synthesizing Component-Level Behavior Models from Scenarios and Constraints Ivo Krka
Motivation • Early development phases • Scenarios • Properties / Constraints • Partial but straightforward • Synthesizing behavior models from high-level specifications • Statecharts, LTSs • Architectural analysis • Basis for subsequent development phases • Final models do not account for partiality • How to support gradual system refinement?
Cache’s Behavior S0 S1 S2 S3 requestCacheData requestServerData responseServerData responseCacheData responseCacheData S5 S6 S4 responseCacheData requestCacheData What else can occur?
Modal Transition Systems • Modal Transition Systems • Specify what is required • Specify what is potential A S0 S1 B? A B A? S2
Partial Behavior Models • Proven useful • Exploration of design space • Requirements elicitation • Architectural refinement • System-level model issues • Scale • System-level assumptions • Solution? • Synthesize Component-Level Models
Synthesis Phases • Obtain component-level constraints • Generate initial MTSs • Annotate sequence diagrams • Refine initial MTSs
Web Cache System (2) requestServerData? responseServerData? requestServerData responseServerData requestCacheData S0 S1 S2 S3 responseCacheData responseServerData? responseServerData? responseCacheData S4 S5 requestCacheData responseServerData?
Conclusions and Future Work • Early discovery of design flaws • Overly constraining constraints • Bad scenarios • Lacking design • System vs. component view • Future work • Realistic case studies • Support for requirements elicitation • Support in OTS component selection