Advertisement

High-level frameworks for the specification and verification of scheduling problems

  • Mounir Chadli
  • Jin H. Kim
  • Kim G. Larsen
  • Axel Legay
  • Stefan Naujokat
  • Bernhard Steffen
  • Louis-Marie TraonouezEmail author
FMICS-AVoCS
  • 196 Downloads

Abstract

Over the years, schedulability of Cyber-Physical Systems (CPS) has mainly been performed by analytical methods. These techniques are known to be effective but limited to a few classes of scheduling policies. In a series of recent work, we have shown that schedulability analysis of CPS could be performed with a model-based approach and extensions of verification tools such as UPPAAL. One of our main contributions has been to show that such models are flexible enough to embed various types of scheduling policies, which goes beyond those in the scope of analytical tools. However, the specification of scheduling problems with model-based approaches requires a substantial modeling effort, and a deep understanding of the techniques employed in order to understand their results. In this paper we propose simplicity-driven high-level specification and verification frameworks for various scheduling problems. These frameworks consist of graphical and user-friendly languages for describing scheduling problems. The high-level specifications are then automatically translated to formal models, and results are transformed back into the comprehensible model view. To construct these frameworks we exploit a meta-modeling approach based on the tool generator Cinco . Additionally we propose in this paper two new techniques for scheduling analysis. The first performs runtime monitoring using the CUSUM algorithm to detect alarming change in the system. The second performs optimization using efficient statistical techniques. We illustrate our frameworks and techniques on two case studies.

Keywords

Scheduling Energy Hierarchical scheduling Formal methods Statistical model-checking High-level language Meta-modeling 

References

  1. 1.
    Alur, R., Dill, D.L.: A theory of timed automata. Theor. Comput. Sci. 126(2), 183–235 (1994). doi: 10.1016/0304-3975(94)90010-8 MathSciNetCrossRefzbMATHGoogle Scholar
  2. 2.
    Alur, R., La Torre, S., Pappas, G.J.: Optimal paths in weighted timed automata. Theor. Comput. Sci. 318(3), 297–322 (2004). doi: 10.1016/j.tcs.2003.10.038 MathSciNetCrossRefzbMATHGoogle Scholar
  3. 3.
    Basseville, M., Nikiforov, I.V.: Detection of Abrupt Changes: Theory and Application. Prentice-Hall Inc, Englewood Cliffs (1993)Google Scholar
  4. 4.
    Beauquier, D.: On probabilistic timed automata. Theor. Comput. Sci. 292(1), 65–84 (2003). doi: 10.1016/S0304-3975(01)00215-8 MathSciNetCrossRefzbMATHGoogle Scholar
  5. 5.
    Behrmann, G., David, A., Larsen, K.G., Håkansson, J., Pettersson, P., Yi, W., Hendriks, M.: UPPAAL 4.0. In: Third International Conference on the Quantitative Evaluation of Systems (QEST), pp. 125–126 (2006). doi: 10.1109/QEST.2006.59
  6. 6.
    Behrmann, G., Fehnker, A., Hune, T., Larsen, K.G., Pettersson, P., Romijn, J., Vaandrager, F.W.: Minimum-cost reachability for priced timed automata. In: Proceedings of the 4th International Workshop on Hybrid Systems: Computation and Control (HSCC), pp. 147–161. Springer (2001). doi: 10.1007/3-540-45351-2_15
  7. 7.
    Boudjadar, A., David, A., Kim, J.H., Larsen, K.G., Mikuionis, M., Nyman, U., Skou, A.: Hierarchical scheduling framework based on compositional analysis using Uppaal. In: Proceedings of the 10th International Symposium on Formal Aspects of Component Software (FACS), Revised Selected Papers, LNCS, vol. 8348, pp. 61–78. Springer (2013). doi: 10.1007/978-3-319-07602-7_6
  8. 8.
    Boudjadar, A., David, A., Kim, J.H., Larsen, K.G., Mikuionis, M., Nyman, U., Skou, A.: Widening the schedulability of hierarchical scheduling systems. In: Proceedings of the 11th International Symposium on Formal Aspects of Component Software (FACS), Revised Selected Papers, LNCS, vol. 8997, pp. 209–227. Springer (2015). doi: 10.1007/978-3-319-15317-9_14
  9. 9.
    Cassez, F., Larsen, K.G.: The impressive power of stopwatches. In: Proceedings of the 11th International Conference on Concurrency Theory (CONCUR), pp. 138–152. Springer (2000). doi: 10.1007/3-540-44618-4_12
  10. 10.
    Cesta, A., Fratini, S., Orlandini, A., Finzi, A., Tronci, E.: Flexible plan verification: feasibility results. Fundam. Inform. 107(2–3), 111–137 (2011). doi: 10.3233/FI-2011-397 MathSciNetzbMATHGoogle Scholar
  11. 11.
    Chadli, M., Kim, J.H., Legay, A., Traonouez, L., Naujokat, S., Steffen, B., Larsen, K.G.: A model-based framework for the specification and analysis of hierarchical scheduling systems. In: Proceedings of the Joint 21st International Workshop on Formal Methods for Industrial Critical Systems and 16th International Workshop on Automated Verification of Critical Systems (FMICS-AVoCS), LNCS, vol. 9933, pp. 133–141. Springer (2016). doi: 10.1007/978-3-319-45943-1_9
  12. 12.
    Cimatti, A., Micheli, A., Roveri, M.: Dynamic controllability of disjunctive temporal networks: validation and synthesis of executable strategies. In: Proceedings of the 30th AAAI Conference on Artificial Intelligence, pp. 3116–3122. AAAI Press (2016)Google Scholar
  13. 13.
    Cimatti, A., Micheli, A., Roveri, M.: Validating domains and plans for temporal planning via encoding into infinite-state linear temporal logic. In: Proceedings of the 31st AAAI Conference on Artificial Intelligence, pp. 3547–3554. AAAI Press (2017)Google Scholar
  14. 14.
    David, A., Du, D., Larsen, K.G., Legay, A., Mikučionis, M.: Optimizing control strategy using statistical model checking. In: NASA Formal Methods: Proceedings of the 5th International Symposium (NFM), pp. 352–367. Springer (2013). doi: 10.1007/978-3-642-38088-4_24
  15. 15.
    David, A., Du, D., Larsen, K.G., Legay, A., Mikucionis, M., Poulsen, D.B., Sedwards, S.: Statistical model checking for stochastic hybrid systems. In: Proceedings of the First International Workshop on Hybrid Systems and Biology (HSB), EPTCS, vol. 92, pp. 122–136 (2012). doi: 10.4204/EPTCS.92.9
  16. 16.
    David, A., Larsen, K.G., Legay, A., Mikucionis, M.: Schedulability of herschel-planck revisited using statistical model checking. In: Proceedings of 5th International Symposium ISoLA, Part II, LNCS, vol. 7610, pp. 293–307. Springer (2012). doi: 10.1007/978-3-642-34032-1_28
  17. 17.
    David, A., Larsen, K.G., Legay, A., Mikucionis, M., Poulsen, D.B., van Vliet, J., Wang, Z.: Statistical model checking for networks of priced timed automata. In: Proceedings of the 9th International Conference on Formal Modeling and Analysis of Timed Systems (FORMATS), LNCS, vol. 6919, pp. 80–96. Springer (2011). doi: 10.1007/978-3-642-24310-3_7
  18. 18.
    David, A., Larsen, K.G., Legay, A., Mikuionis, M., Poulsen, D.: Uppaal SMC tutorial. Int. J. Softw. Tools Technol. Transf. (2015). doi: 10.1007/s10009-014-0361-y Google Scholar
  19. 19.
    David, A., Larsen, K.G., Legay, A., Poulsen, D.B.: Statistical model checking of dynamic networks of stochastic hybrid automata. ECEASST 66, 1–15 (2013)Google Scholar
  20. 20.
    David, A., Rasmussen, J.I., Larsen, K.G., Skou, A.: Model-based Framework for Schedulability Analysis Using Uppaal 4.1d. CRC Press LLC, Boca Raton (2009)Google Scholar
  21. 21.
    Gronback, R.C.: Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit. Addison-Wesley, Boston (2008)Google Scholar
  22. 22.
    Henzinger, T.A.: The theory of hybrid automata, pp. 265–292. Springer (2000). doi: 10.1007/978-3-642-59615-5_13
  23. 23.
    Jrges, S., Lamprecht, A.L., Margaria, T., Schaefer, I., Steffen, B.: A constraint-based variability modeling framework. Int. J. Softw. Tools Technol. Transf. (STTT) 14(5), 511–530 (2012). doi: 10.1007/s10009-012-0254-x CrossRefGoogle Scholar
  24. 24.
    Kim, J.H., Boudjadar, A., Nyman, U., Mikucionis, M., Larsen, K.G., Lee, I.: Quantitative schedulability analysis of continuous probability tasks in a hierarchical context. In: 18th International ACM SIGSOFT Symposium on Component-Based Software Engineering (CBSE), pp. 91–100 (2015). doi: 10.1145/2737166.2737170
  25. 25.
    Kim, J.H., Legay, A., Larsen, K.G., Mikučionis, M., Nielsen, B.: Resource-parameterized timing analysis of real-time systems. In: Hardware and Software: Verification and Testing: Proceeding of the 11th International Haifa Verification Conference (HVC), pp. 190–205. Springer (2015). doi: 10.1007/978-3-319-26287-1_12
  26. 26.
    Kim, J.H., Legay, A., Traonouez, L.M., Boudjadar, A., Nyman, U., Larsen, K.G., Lee, I., Choi, J.Y.: Optimizing the resource requirements of hierarchical scheduling systems. SIGBED Rev. 13(3), 41–48 (2016). doi: 10.1145/2983185.2983192 CrossRefGoogle Scholar
  27. 27.
    Lamprecht, A.L., Naujokat, S., Schaefer, I.: Variability management beyond feature models. Computer 46(11), 48–54 (2013). doi: 10.1109/MC.2013.299 CrossRefGoogle Scholar
  28. 28.
    Legay, A., Delahaye, B., Bensalem, S.: Statistical model checking: an overview. In: Proceedings of the First International Conference on Runtime Verification (RV), LNCS, vol. 6418, pp. 122–135. Springer (2010). doi: 10.1007/978-3-642-16612-9_11
  29. 29.
    Legay, A., Traonouez, L.M.: Statistical model checking with change detection. Trans. Found. Mastering Change I(1), 157–179 (2016). doi: 10.1007/978-3-319-46508-1_9 CrossRefGoogle Scholar
  30. 30.
    Locke, D., Lucas, L., Goodenough, J.: Generic avionics software specification. Tech. Rep. CMU/SEI-90-TR-008, Software Engineering Institute (1990)Google Scholar
  31. 31.
    Margaria, T., Steffen, B.: business process modelling in the jABC: the one-thing-approach. In: Handbook of Research on Business Process Modeling. IGI Global (2009)Google Scholar
  32. 32.
    Margaria, T., Steffen, B.: Simplicity as a driver for agile innovation. Computer 43(6), 90–92 (2010). doi: 10.1109/MC.2010.177 CrossRefGoogle Scholar
  33. 33.
    Montgomery, D.C.: Design and Analysis of Experiments. Wiley, Hoboken (2006)Google Scholar
  34. 34.
    Naujokat, S., Lybecait, M., Kopetzki, D., Steffen, B.: CINCO: A simplicity-driven approach to full generation of domain-specific graphical modeling tools. Softw. Tools Technol. Transf. (2017) (To appear)Google Scholar
  35. 35.
    Naujokat, S., Traonouez, L.M., Isberner, M., Steffen, B., Legay, A.: Domain-specific code generator modeling: a case study for multi-faceted concurrent systems. In: Proceedings of the 6th International Symposium on Leveraging Applications of Formal Methods, Verification and Validation, Part I (ISoLA), no. 8802 in LNCS, pp. 463–480. Springer (2014). doi: 10.1007/978-3-662-45234-9_33
  36. 36.
    Oddi, A., Rasconi, R., Cesta, A.: A multi-objective large neighborhood search methodology for scheduling problems with energy costs. In: 2015 IEEE 27th International Conference on Tools with Artificial Intelligence (ICTAI), pp. 453–460 (2015). doi: 10.1109/ICTAI.2015.74
  37. 37.
    Page, E.S.: Continuous inspection schemes. Biometrika 41(1/2), 100–115 (1954)MathSciNetCrossRefzbMATHGoogle Scholar
  38. 38.
    Phan, L.T.X., Lee, J., Easwaran, A., Ramaswamy, V., Chen, S., Lee, I., Sokolsky, O.: CARTS: a tool for compositional analysis of real-time systems. SIGBED Rev. 8(1), 62–63 (2011). doi: 10.1145/1967021.1967029 CrossRefGoogle Scholar
  39. 39.
    Shin, I., Easwaran, A., Lee, I.: Hierarchical scheduling framework for virtual clustering of multiprocessors. In: Euromicro Conference on Real-Time Systems, pp. 181–190 (2008). doi: 10.1109/ECRTS.2008.28
  40. 40.
    Shin, I., Lee, I.: Periodic resource model for compositional real-time guarantees. In: Proceedings of the 24th IEEE International Real-Time Systems Symposium (RTSS), pp. 2–13. IEEE Computer Society (2003)Google Scholar
  41. 41.
    Smith, D., Frank, J., Cushing, W.: The anml language. In: In ICAPS Poster session (2008)Google Scholar
  42. 42.
    Steinberg, D., Budinsky, F., Paternostro, M., Merks, E.: EMF: Eclipse Modeling Framework, 2nd edn. Addison-Wesley, Reading (2008)Google Scholar
  43. 43.
    Wald, A.: Sequential tests of statistical hypotheses. Ann. Math. Stat. 16(2), 117–186 (1945)MathSciNetCrossRefzbMATHGoogle Scholar

Copyright information

© Springer-Verlag GmbH Germany 2017

Authors and Affiliations

  • Mounir Chadli
    • 1
  • Jin H. Kim
    • 2
  • Kim G. Larsen
    • 3
  • Axel Legay
    • 4
  • Stefan Naujokat
    • 5
  • Bernhard Steffen
    • 5
  • Louis-Marie Traonouez
    • 4
    Email author
  1. 1.IrisaRennesFrance
  2. 2.University of PennsylvaniaPhiladelphiaUSA
  3. 3.Aalborg UniversityÅlborgDenmark
  4. 4.InriaRennesFrance
  5. 5.Technishe Universität DortmundDortmundGermany

Personalised recommendations