Skip to main content
Top
Published in: International Journal on Software Tools for Technology Transfer 4/2022

15-03-2022 | General

Learning of behavioural models and dependency graphs for communicating systems with CkTailv2

Authors: Sebastien Salva, Elliott Blot

Published in: International Journal on Software Tools for Technology Transfer | Issue 4/2022

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

This paper presents a model learning approach to recover models from event logs for communicating systems. We refer here to systems made up of components interacting with each other by data networks and whose communications can be monitored, e.g. Internet of Things systems, distributed applications or Web service compositions. Our approach, called CkTailv2, is specialised in the generation of behavioural models along with dependency graphs. It generates one Input Output Labelled Transition System for every component participating in the communications and one graph illustrating the directional dependencies with the other components. These models can help engineers better and quicker understand how a communicating system behaves and is structured. They can also be used for bug detection or for test generation. Compared to other model learning approaches specialised for communicating systems, CkTailv2 improves the precision of the generated models by integrating algorithms that better recognise sessions in event logs. CkTailv2 revisits and extends a first approach by simplifying the set of requirements and assumptions in order to increase its applicability on communicating systems. It now integrates two new trace extraction algorithms: the former segments event logs into traces by trying to detect sessions; the latter assumes event logs to include session identifiers and allows to quicker generate models. We report experimental results obtained from 10 case studies and show that CkTailv2 has the capability of producing precise models in reasonable time delays.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Ahmad, A., Bouquet, F., Fourneret, E., Le Gall, F., Legeard, B.: Model-based testing as a service for iot platforms. In: Margaria, T., Steffen, B. (eds.) Leveraging Applications of Formal Methods, Verification and Validation: Discussion, pp. 727–742. Dissemination, Applications, Springer International Publishing, Cham (2016) Ahmad, A., Bouquet, F., Fourneret, E., Le Gall, F., Legeard, B.: Model-based testing as a service for iot platforms. In: Margaria, T., Steffen, B. (eds.) Leveraging Applications of Formal Methods, Verification and Validation: Discussion, pp. 727–742. Dissemination, Applications, Springer International Publishing, Cham (2016)
2.
go back to reference Aichernig, B.K., Tappler, M.: Learning from faults: Mutation testing in active automata learning - mutation testing in active automata learning. In: NASA Formal Methods - 9th International Symposium, NFM 2017, Moffett Field, CA, USA, May 16-18, 2017, Proceedings, pp 19–34, (2017) https://doi.org/10.1007/978-3-319-57288-8_2 Aichernig, B.K., Tappler, M.: Learning from faults: Mutation testing in active automata learning - mutation testing in active automata learning. In: NASA Formal Methods - 9th International Symposium, NFM 2017, Moffett Field, CA, USA, May 16-18, 2017, Proceedings, pp 19–34, (2017) https://​doi.​org/​10.​1007/​978-3-319-57288-8_​2
5.
6.
go back to reference Arcuri, A., Fraser, G., Just, R.: Private api access and functional mocking in automated unit test generation. Presented at the (2017) Arcuri, A., Fraser, G., Just, R.: Private api access and functional mocking in automated unit test generation. Presented at the (2017)
7.
go back to reference Berg, T., Jonsson, B., Raffelt, H.: Regular inference for state machines with parameters. In: Baresi, L., Heckel, R. (eds.) Fundamental Approaches to Software Engineering. Lecture Notes in Computer Science, vol. 3922, pp. 107–121. Springer, Berlin Heidelberg (2006). https://doi.org/10.1007/11693017_10 Berg, T., Jonsson, B., Raffelt, H.: Regular inference for state machines with parameters. In: Baresi, L., Heckel, R. (eds.) Fundamental Approaches to Software Engineering. Lecture Notes in Computer Science, vol. 3922, pp. 107–121. Springer, Berlin Heidelberg (2006). https://​doi.​org/​10.​1007/​11693017_​10
8.
go back to reference Beschastnikh, I., Brun, Y., Schneider, S., Sloan, M., Ernst, M..D... In.: Leveraging existing instrumentation to automatically infer invariant-constrained models 11, 267–277 (2011). (New York, NY, USA, ESEC/FSE) Beschastnikh, I., Brun, Y., Schneider, S., Sloan, M., Ernst, M..D... In.: Leveraging existing instrumentation to automatically infer invariant-constrained models 11, 267–277 (2011). (New York, NY, USA, ESEC/FSE)
9.
go back to reference Beschastnikh, I., Brun, Y., Ernst, M.D., Krishnamurthy, A.: Inferring models of concurrent systems from logs of their behavior with csight. In: Proceedings of the 36th International Conference on Software Engineering, ACM, New York, NY, USA, ICSE 2014, pp 468–479, (2014) https://doi.org/10.1145/2568225.2568246 Beschastnikh, I., Brun, Y., Ernst, M.D., Krishnamurthy, A.: Inferring models of concurrent systems from logs of their behavior with csight. In: Proceedings of the 36th International Conference on Software Engineering, ACM, New York, NY, USA, ICSE 2014, pp 468–479, (2014) https://​doi.​org/​10.​1145/​2568225.​2568246
11.
go back to reference van der Bijl, M., Rensink, A., Tretmans, J.: Compositional testing with ioco. In: Petrenko, A., Ulrich, A. (eds.) Formal Approaches to Software Testing, pp. 86–100. Springer, Berlin Heidelberg, Berlin, Heidelberg (2004) van der Bijl, M., Rensink, A., Tretmans, J.: Compositional testing with ioco. In: Petrenko, A., Ulrich, A. (eds.) Formal Approaches to Software Testing, pp. 86–100. Springer, Berlin Heidelberg, Berlin, Heidelberg (2004)
13.
go back to reference Blot, E., Salva, S.: Testability measurments on inffered models. Presented at the (2020b) Blot, E., Salva, S.: Testability measurments on inffered models. Presented at the (2020b)
14.
go back to reference Dssouli, R., Karoui, K., Petrenko, A., Rafiq, O.: Towards testable communication software. In: Cavalli A, Budkowski S (eds) Protocol Test Systems VIII: Proceedings of the IFIP WG6.1 TC6 Eighth International Workshop on Protocol Test Systems, September 1995, Springer US, Boston, MA, pp 237–251, (1996) https://doi.org/10.1007/978-0-387-34988-6_15 Dssouli, R., Karoui, K., Petrenko, A., Rafiq, O.: Towards testable communication software. In: Cavalli A, Budkowski S (eds) Protocol Test Systems VIII: Proceedings of the IFIP WG6.1 TC6 Eighth International Workshop on Protocol Test Systems, September 1995, Springer US, Boston, MA, pp 237–251, (1996) https://​doi.​org/​10.​1007/​978-0-387-34988-6_​15
15.
go back to reference Dupont, P.: Incremental regular inference. In: Proceedings of the Third ICGI-96, Springer, pp 222–237 (1996) Dupont, P.: Incremental regular inference. In: Proceedings of the Third ICGI-96, Springer, pp 222–237 (1996)
18.
go back to reference Fu, Q., Lou, J.G., Wang, Y., Li, J.: Execution anomaly detection in distributed systems through unstructured log analysis. Presented at the (2009) Fu, Q., Lou, J.G., Wang, Y., Li, J.: Execution anomaly detection in distributed systems through unstructured log analysis. Presented at the (2009)
19.
go back to reference Groz, R., Li, K., Petrenko, A., Shahbaz, M.: Modular system verification by inference, testing and reachability analysis. In: Suzuki, K., Higashino, T., Ulrich, A., Hasegawa, T. (eds.) Testing of Software and Communicating Systems, pp. 216–233. Springer, Berlin Heidelberg, Berlin, Heidelberg (2008) Groz, R., Li, K., Petrenko, A., Shahbaz, M.: Modular system verification by inference, testing and reachability analysis. In: Suzuki, K., Higashino, T., Ulrich, A., Hasegawa, T. (eds.) Testing of Software and Communicating Systems, pp. 216–233. Springer, Berlin Heidelberg, Berlin, Heidelberg (2008)
22.
go back to reference Howar, F., Steffen, B., Jonsson, B., Cassel, S.: Inferring canonical register automata. In: Kuncak, V., Rybalchenko, A. (eds.) Verification, Model Checking, and Abstract Interpretation. Lecture Notes in Computer Science, vol. 7148, pp. 251–266. Springer, Berlin Heidelberg (2012). https://doi.org/10.1007/978-3-642-27940-9_17 Howar, F., Steffen, B., Jonsson, B., Cassel, S.: Inferring canonical register automata. In: Kuncak, V., Rybalchenko, A. (eds.) Verification, Model Checking, and Abstract Interpretation. Lecture Notes in Computer Science, vol. 7148, pp. 251–266. Springer, Berlin Heidelberg (2012). https://​doi.​org/​10.​1007/​978-3-642-27940-9_​17
24.
go back to reference Lorenzoli, D., Mariani, L., Pezze, M.: In: Automatic generation of software behavioral models, vol. ICSE’08, pp. 501–510. , New York, NY, USA (2008) Lorenzoli, D., Mariani, L., Pezze, M.: In: Automatic generation of software behavioral models, vol. ICSE’08, pp. 501–510. , New York, NY, USA (2008)
30.
go back to reference Ohmann, T., Herzberg, M., Fiss, S., Halbert, A., Palyart, M., Beschastnikh, I., Brun, Y. In.: Behavioral resource-aware model inference, vol. 14, pp. 19–30. , New York, NY, USA, ASE (2014) Ohmann, T., Herzberg, M., Fiss, S., Halbert, A., Palyart, M., Beschastnikh, I., Brun, Y. In.: Behavioral resource-aware model inference, vol. 14, pp. 19–30. , New York, NY, USA, ASE (2014)
32.
go back to reference Petrenko, A., Avellaneda, F.: Learning communicating state machines. In: Beyer D, Keller C (eds) Tests and Proofs - 13th International Conference, TAP 2019, Held as Part of the Third World Congress on Formal Methods 2019, Porto, Portugal, October 9-11, 2019, Proceedings, Springer, Lecture Notes in Computer Science, vol 11823, pp 112–128,, (2019) https://doi.org/10.1007/978-3-030-31157-5 Petrenko, A., Avellaneda, F.: Learning communicating state machines. In: Beyer D, Keller C (eds) Tests and Proofs - 13th International Conference, TAP 2019, Held as Part of the Third World Congress on Formal Methods 2019, Porto, Portugal, October 9-11, 2019, Proceedings, Springer, Lecture Notes in Computer Science, vol 11823, pp 112–128,, (2019) https://​doi.​org/​10.​1007/​978-3-030-31157-5
34.
go back to reference Salva, S., Blot, E.: Reverse engineering behavioural models of iot devices. Presented at the (2019a) Salva, S., Blot, E.: Reverse engineering behavioural models of iot devices. Presented at the (2019a)
35.
go back to reference Salva, S., Blot, E.: Reverse engineering behavioural models of iot devices. Presented at the (2019b) Salva, S., Blot, E.: Reverse engineering behavioural models of iot devices. Presented at the (2019b)
36.
go back to reference Salva, S., Blot, E.: Cktail: Model learning of communicating systems. In: Ali R, Kaindl H, Maciaszek LA (eds) Proceedings of the 15th International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE 2020, Prague, Czech Republic, May 5-6, 2020, SCITEPRESS, pp 27–38, (2020a) https://doi.org/10.5220/0009327400270038 Salva, S., Blot, E.: Cktail: Model learning of communicating systems. In: Ali R, Kaindl H, Maciaszek LA (eds) Proceedings of the 15th International Conference on Evaluation of Novel Approaches to Software Engineering, ENASE 2020, Prague, Czech Republic, May 5-6, 2020, SCITEPRESS, pp 27–38, (2020a) https://​doi.​org/​10.​5220/​0009327400270038​
38.
go back to reference Salva, S., Blot, E.: Verifying the application of security measures in IOT software systems with model learning. In: Proceedings of the 15th 15th International Conference on Software Technologies, ICSOFT 2020, Paris, France, july, 2020, pp 1–12 (2020c) Salva, S., Blot, E.: Verifying the application of security measures in IOT software systems with model learning. In: Proceedings of the 15th 15th International Conference on Software Technologies, ICSOFT 2020, Paris, France, july, 2020, pp 1–12 (2020c)
39.
go back to reference Salva, S., Fouchal, H., Bloch, S.: Metrics for timed systems testing. In: Procedings of the 4th International Conference on Principles of Distributed Systems, OPODIS 2000, Paris, France, December 20-22, 2000, pp 177–200 (2000) Salva, S., Fouchal, H., Bloch, S.: Metrics for timed systems testing. In: Procedings of the 4th International Conference on Principles of Distributed Systems, OPODIS 2000, Paris, France, December 20-22, 2000, pp 177–200 (2000)
43.
go back to reference Zhu, J., He, S., Liu, J., He, P., Xie, Q., Zheng, Z., Lyu, M.R.:Tools and benchmarks for automated log parsing arXiv:8110.3509 (2018) Zhu, J., He, S., Liu, J., He, P., Xie, Q., Zheng, Z., Lyu, M.R.:Tools and benchmarks for automated log parsing arXiv:​8110.​3509 (2018)
Metadata
Title
Learning of behavioural models and dependency graphs for communicating systems with CkTailv2
Authors
Sebastien Salva
Elliott Blot
Publication date
15-03-2022
Publisher
Springer Berlin Heidelberg
Published in
International Journal on Software Tools for Technology Transfer / Issue 4/2022
Print ISSN: 1433-2779
Electronic ISSN: 1433-2787
DOI
https://doi.org/10.1007/s10009-022-00651-5

Other articles of this Issue 4/2022

International Journal on Software Tools for Technology Transfer 4/2022 Go to the issue

Competitions and Challenges

The Log Skeleton Visualizer in ProM 6.9

Competitions and Challenges

The probabilistic model checker Storm

Premium Partner