tool supported refinement of high level requirements and
play

Tool-Supported Refinement of High- Level Requirements and - PowerPoint PPT Presentation

IEEE International Symposium on Policies for Distributed Systems and Networks (POLICY 2011) Tool-Supported Refinement of High- Level Requirements and Constraints into Low-Level Policies Outline: Automated Policy Refinement Background


  1. IEEE International Symposium on Policies for Distributed Systems and Networks (POLICY 2011) Tool-Supported Refinement of High- Level Requirements and Constraints into Low-Level Policies Outline: • Automated Policy Refinement • Background • Application • Patterns • Conclusion TU Dortmund University MATERNA O. Dohndorf, J. Krüger, H. Krumm C. Fiehe, A. Litvina, I. Lück, F.-J. Stewing

  2. Automated policy refinement • Principle: Abstract Policies: Constraints Details from System Model automated refinement Guidance by Patterns Detailed Policies: Executable ECA-Rules 2

  3. Background • Tool MoBaSeC layered Layer 1 system Layer 2 model Layer 3 • Model-Based Management (MBM) – supported by MoBaSeC • Project OSAmI – AAL domain – not necessarily technicians – resource-constraint devices 3

  4. Policy refinement • Basis: the 3 layer system model • Modeled by means of UML-like object diagram • Model consists of – Model nodes representing the system elements – Management variables being assigned to the nodes – Associations between model nodes • Policy refinement process – exploits model structure; is governed by general and domain- specific pattern instances • Pattern types: refinement, evaluation, control Condition Layer 2 ECA-Rules Layer 3 4

  5. Field of application • Used to generate policies for the use in the OSAmI project • Scenario: (max, min) Thresholds ALARM Data Monitoring Transfer & Control • Policies to control the system, especially to – keep it stable & running – ensure the safety of the patient 5

  6. Application: Resulting model (simplified) 6

  7. Refinement Patterns: Purpose • Specify refinement relations between model elements of adjacent layers • RPs between system elements illustrate implementation strategies • RPs between management variables of adjacent layers depict the mappings between the abstract and the more concrete variables 7

  8. Refinement Patterns: Example Refinement pattern links a use case function Refinement pattern (layer 1) with an application links services realizing this function (layer 2) (layer 2) with the software components providing these services (layer 3) Refinement pattern links an abstract status variable (” Distance Distance ”) with the concrete low-level status variable in the MIB of a software component ( “./DEV/ERGOMETER/ “./DEV/ERGOMETER/ STATUS/CURRENT_SESSION/DISTANCE” ) STATUS/CURRENT_SESSION/DISTANCE” 8

  9. Evaluation Patterns: Purpose • Introducing abstract status variables (ASV) • ASVs allow to define domain-specific quantities • ASVs aggregate the values of a set of status variables according to a specific point of view • EPs define the corresponding (arithmetic) expressions 9

  10. Evaluation Patterns: Example Evaluation pattern introducing the abstract status variable (ASV) “Stability” “Stability” . This system is regarded to be stable if the pedaled “Distance” “Distance” continuously increases, the “Battery Charge” “Battery Charge” of the ECG does not fall below a certain threshold, and the “Artifacts” “Artifacts” counted in the ECG are below a defined border. 10

  11. Control Patterns: Purpose • Specify how higher-level policies are to be enforced by lower-level ones • CPs specify the detailed measures to be applied by – mapping of declarative abstract requirements to sets of more concrete conditions and objectives – the definition of the behavior of control components by relating declarative objectives with imperative enforcement mechanism 11

  12. Control Patterns: Example Control pattern “ Emergency Stop Emergency Stop ” to indicate the strategy of lead in a safe training phase if the watchdog pattern detects a violation of the service-level objective high Control pattern “Periodic State “Periodic State Monitor” to indicate that the service- Monitor” level objective “HIGH” “HIGH” shall be monitored Finally refined ECA rule which implements the strategy defined by the patterns 12

  13. Conclusion • Automated policy refinement – from abstract policy constraints to executable ECA rules – detail enrichment from model, guidance by patterns • Pattern types: refinement, evaluation, control • Tool-support for modeling & refinement – Tool MoBaSeC • Application within the project OSAmI – AAL domain – Challenge: resource-restricted devices – Challenge: not necessarily technicians for planning 13

  14. IEEE International Symposium on Policies for Distributed Systems and Networks (POLICY 2011) Thanks for the attention! Questions? 14

  15. Refinement Patterns: Example – For example, the relation between a service and a software component providing it – For example, a service level parameter is mapped to the variable in the MIB of the providing component 15

  16. … ab hier: ausgeblendete Folien! 16

  17. System Control Policy Control Policy System 17

  18. Motivation • Use-case context: mobile devices in healthcare application scenarios – Resource restrictions of used devices – Spontaneously changing conditions – Sometimes critical exceptions • Furthermore: users (health professionals) typically not familiar with technical system management 18

  19. Basics of our work • Model-based management • Layered System Model • Model-based, automated policy refinement • Policy refinement supported by patterns : – Refinement patterns – Evaluation patterns – Control patterns • Tool Support (MoBaSeC) • Low-level management rules by means of ECA 19

  20. Model-based management • Combination of management policies and policy hierarchies with a layered system model • Management policies: – Additional control level above the programming Model- ing code – Used for configuration, adaptation, correction Refine- ment • Management phases: Runtime – Design phase: Management • System to be managed is modeled • Abstract high-level polices are defined manually • The refinement into technical low-level policies is performed automatically (supported by a tool) – Runtime phase: • The refined low-level policies are efficiently enforced 20

  21. Layered System Model • System is modeled on 3 layers of different abstraction • Each layer is self-contained & independent à 3 models of the same system, differing in the degree of abstraction • Layers: – Use Cases & Aspects (U&A): barely technical details, instead e.g. non-functional requirements & quality criteria are modeled – Services & Domains (S&D):service-oriented point of view; clients, services and dependency relations are modeled and assigned to domains System Control Policy – Components & Devices (C&D): elements existing at runtime (e.g., U&A software components and hardware devices) are modeled S&D • Refinement relations to connect adjacent layers of the model C&D 21

  22. Tool „MoBaSeC“ • “Model Based Service Configuration” • Java-based; Metamodels also programmable by means of Java • Supports user in the design phase by – providing a graphical frontend which allows to model a system (by easy-to-use drag’n’drop functions) – providing backend functions to automatically traverse & evaluate a model, and to refine the low-level policies based on this • Generated low-level policies are – automatically compiled into efficient executable Java bytecode – automatically distributed to the policy storages where they are required Policy tool „ MoBaSeC “ 22

  23. Example • ToDo • Not sure if an example does make sense in this presentation? 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend