Skip to main content
Top
Published in: Software and Systems Modeling 4/2022

10-02-2022 | Theme Section Paper

Improving timing analysis effectiveness for scenario-based specifications by combining SAT and LP techniques

Authors: Longlong Lu, Minxue Pan, Tian Zhang, Xuandong Li

Published in: Software and Systems Modeling | Issue 4/2022

Log in

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

search-config
loading …

Abstract

Open environmental software systems are often time-sensitive, as they need to respond to other entities within the systems and/or in the environments promptly. The timing requirements are therefore an essential part of the system correctness. Scenario-based specifications (SBS) such as message sequence charts and UML interaction models play an important role in specifying open environmental software systems since they intuitively model interactions between different entities. While modelling these systems, the timing requirements can be specified as timing constraints. In this paper, we study the problem of checking the timing consistency of SBS with timing constraints. Although this problem can be transformed into a reachability analysis problem, checking its reachability can still be time-consuming. Therefore, we propose a novel SAT and linear programming (LP) collaborative timing analysis approach named Tassat for the bounded timing analysis of SBS. Instead of using depth-first traversal algorithms, Tassat encodes the structures of the SBS into propositional formulas and adopts SAT solvers to find candidate paths. The timing analysis of candidate paths is then transformed to LP problems, where the irreducible infeasible set of the infeasible paths can be utilized to filter out candidate paths for checking. In addition, we propose an enhanced version of the approach that extends the bounded analysis results to the entire models if the infeasible path segments do not contain intermediate loops. The enhanced algorithm can prove that the given SBS satisfy the required properties on any bound condition. The experimental results show that Tassat is effective and has better performance than existing tools in terms of both time consumption and memory footprint.

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 "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!

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!

Literature
1.
go back to reference Alur, R., Holzmann Gerard, J., Peled, D.: An analyzer for message sequence charts. In: Margaria, T., Steffen, B. (eds.) Tools and Algorithms for the Construction and Analysis of Systems, pp. 35–48. Springer, Berlin (1996)CrossRef Alur, R., Holzmann Gerard, J., Peled, D.: An analyzer for message sequence charts. In: Margaria, T., Steffen, B. (eds.) Tools and Algorithms for the Construction and Analysis of Systems, pp. 35–48. Springer, Berlin (1996)CrossRef
2.
go back to reference Alur, R., Yannakakis, M.: Model checking of message sequence charts. In: Proceedings of the 10th International Conference on Concurrency Theory, CONCUR ’99, pp. 114–129. Springer, London (1999) Alur, R., Yannakakis, M.: Model checking of message sequence charts. In: Proceedings of the 10th International Conference on Concurrency Theory, CONCUR ’99, pp. 114–129. Springer, London (1999)
3.
go back to reference Andoni, A., Daniliuc, D., Khurshid, S., Marinov, D.: Evaluating the “small scope hypothesis”. Technical report, MIT CSAIL (2003) Andoni, A., Daniliuc, D., Khurshid, S., Marinov, D.: Evaluating the “small scope hypothesis”. Technical report, MIT CSAIL (2003)
4.
go back to reference Andrade, L., Fiadeiro, J.L., Gouveia, J., Koutsoukos, G.: Separating computation, coordination and configuration. J. Softw. Maint. Evol. Res. Pract. 14(5), 353–369 (2002)CrossRef Andrade, L., Fiadeiro, J.L., Gouveia, J., Koutsoukos, G.: Separating computation, coordination and configuration. J. Softw. Maint. Evol. Res. Pract. 14(5), 353–369 (2002)CrossRef
5.
go back to reference Auer, M., Meyer, L., Biffl, S.: Explorative UML modeling-comparing the usability of UML tools. In: ICEIS (3), pp. 466–473 (2007) Auer, M., Meyer, L., Biffl, S.: Explorative UML modeling-comparing the usability of UML tools. In: ICEIS (3), pp. 466–473 (2007)
7.
go back to reference Barrett, C., Tinelli, C.: Satisfiability modulo theories. In: Clarke, E.M., Henzinger, T.A., Veith, H., Bloem, R. (eds.) Handbook of Model Checking, pp. 305–343. Springer, Berlin (2018)CrossRef Barrett, C., Tinelli, C.: Satisfiability modulo theories. In: Clarke, E.M., Henzinger, T.A., Veith, H., Bloem, R. (eds.) Handbook of Model Checking, pp. 305–343. Springer, Berlin (2018)CrossRef
8.
go back to reference Ben-Abdallah, H., Leue, S.: Timing constraints in message sequence chart specifications. In: Mizuno, T., Shiratori, N., Higashino, T., Togashi, A. (eds.) Formal Description Techniques and Protocol Specification, Testing and Verification, pp. 91–106. Springer (1997) Ben-Abdallah, H., Leue, S.: Timing constraints in message sequence chart specifications. In: Mizuno, T., Shiratori, N., Higashino, T., Togashi, A. (eds.) Formal Description Techniques and Protocol Specification, Testing and Verification, pp. 91–106. Springer (1997)
9.
go back to reference Biere, A., Cimatti, A., Clarke, E.M., Strichman, O., Zhu, Y., et al.: Bounded model checking. Adv. Comput. 58(11), 117–148 (2003)CrossRef Biere, A., Cimatti, A., Clarke, E.M., Strichman, O., Zhu, Y., et al.: Bounded model checking. Adv. Comput. 58(11), 117–148 (2003)CrossRef
10.
go back to reference Bollobás, B., Béla, B.: Random Graphs, vol. 73. Cambridge University Press, Cambridge (2001)CrossRef Bollobás, B., Béla, B.: Random Graphs, vol. 73. Cambridge University Press, Cambridge (2001)CrossRef
11.
go back to reference Bouabana-Tebibel, T.: UML 2 interaction overview diagram validation. In: 2009 Fourth International Conference on Dependability of Computer Systems, pp. 11–16. IEEE (2009) Bouabana-Tebibel, T.: UML 2 interaction overview diagram validation. In: 2009 Fourth International Conference on Dependability of Computer Systems, pp. 11–16. IEEE (2009)
12.
go back to reference Büning, H.K., Lettmann, T.: Propositional Logic: Deduction and Algorithms, vol. 48. Cambridge University Press, Cambridge (1999)MATH Büning, H.K., Lettmann, T.: Propositional Logic: Deduction and Algorithms, vol. 48. Cambridge University Press, Cambridge (1999)MATH
13.
go back to reference Christ, J., Hoenicke, J., Nutz, A.: SMTInterpol: an interpolating SMT solver. In: Donaldson, A.F., Parker, D. (eds.) Model Checking Software—19th International Workshop, SPIN 2012, Oxford, UK, July 23–24, 2012. Proceedings, Lecture Notes in Computer Science, vol. 7385, pp. 248–254. Springer (2012). https://doi.org/10.1007/978-3-642-31759-0_19 Christ, J., Hoenicke, J., Nutz, A.: SMTInterpol: an interpolating SMT solver. In: Donaldson, A.F., Parker, D. (eds.) Model Checking Software—19th International Workshop, SPIN 2012, Oxford, UK, July 23–24, 2012. Proceedings, Lecture Notes in Computer Science, vol. 7385, pp. 248–254. Springer (2012). https://​doi.​org/​10.​1007/​978-3-642-31759-0_​19
14.
go back to reference Cimatti, A., Mover, S., Tonetta, S.: Efficient scenario verification for hybrid automata. In: Proceedings of the 23rd International Conference on Computer Aided Verification, CAV’11, pp. 317–332. Springer (2011) Cimatti, A., Mover, S., Tonetta, S.: Efficient scenario verification for hybrid automata. In: Proceedings of the 23rd International Conference on Computer Aided Verification, CAV’11, pp. 317–332. Springer (2011)
15.
go back to reference Cimatti, A., Mover, S., Tonetta, S.: SMT-based scenario verification for hybrid systems. Form. Methods Syst. Des. 42(1), 46–66 (2013)CrossRef Cimatti, A., Mover, S., Tonetta, S.: SMT-based scenario verification for hybrid systems. Form. Methods Syst. Des. 42(1), 46–66 (2013)CrossRef
16.
go back to reference De Moura, L., Bjørner, N.: Z3: An efficient SMT solver. In: International Conference on Tools and Algorithms for the Construction and Analysis of Systems, pp. 337–340. Springer (2008) De Moura, L., Bjørner, N.: Z3: An efficient SMT solver. In: International Conference on Tools and Algorithms for the Construction and Analysis of Systems, pp. 337–340. Springer (2008)
17.
go back to reference De Moura, L., Bjørner, N.: Satisfiability modulo theories: introduction and applications. Commun. ACM 54(9), 69–77 (2011)CrossRef De Moura, L., Bjørner, N.: Satisfiability modulo theories: introduction and applications. Commun. ACM 54(9), 69–77 (2011)CrossRef
18.
go back to reference Dutertre, B.: Yices 2.2. In: International Conference on Computer Aided Verification, pp. 737–744. Springer (2014) Dutertre, B.: Yices 2.2. In: International Conference on Computer Aided Verification, pp. 737–744. Springer (2014)
19.
go back to reference Eén, N., Sörensson, N.: An extensible sat-solver. In: International Conference on Theory and Applications of Satisfiability Testing, pp. 502–518. Springer (2003) Eén, N., Sörensson, N.: An extensible sat-solver. In: International Conference on Theory and Applications of Satisfiability Testing, pp. 502–518. Springer (2003)
20.
go back to reference Fiadeiro, J.L.: Separating distribution from coordination and computation as architectural dimensions. In: International Conference on Formal Methods for Open Object-Based Distributed Systems, pp. 17–17. Springer (2006) Fiadeiro, J.L.: Separating distribution from coordination and computation as architectural dimensions. In: International Conference on Formal Methods for Open Object-Based Distributed Systems, pp. 17–17. Springer (2006)
21.
22.
go back to reference Haugen, Ø.: Comparing UML 2.0 interactions and MSC-2000. In: International Workshop on System Analysis and Modeling, pp. 65–79. Springer (2004) Haugen, Ø.: Comparing UML 2.0 interactions and MSC-2000. In: International Workshop on System Analysis and Modeling, pp. 65–79. Springer (2004)
23.
go back to reference Haugen, Ø.: Comparing uml 2.0 interactions and msc-2000. In: Amyot, D., Williams, A.W. (eds.) System Analysis and Modeling, pp. 65–79. Springer, Berlin (2005)CrossRef Haugen, Ø.: Comparing uml 2.0 interactions and msc-2000. In: Amyot, D., Williams, A.W. (eds.) System Analysis and Modeling, pp. 65–79. Springer, Berlin (2005)CrossRef
24.
go back to reference Henzinger, T.A.: The theory of hybrid automata. In: Inan, M.K., et al. (eds.) Verification of Digital and Hybrid Systems, pp. 265–292. Springer, Berlin (2000) Henzinger, T.A.: The theory of hybrid automata. In: Inan, M.K., et al. (eds.) Verification of Digital and Hybrid Systems, pp. 265–292. Springer, Berlin (2000)
25.
go back to reference ITU-TS: ITU-TS Recommendation Z.120: Message Sequence Chart (MSC). ITU-TS, Geneva (2011) ITU-TS: ITU-TS Recommendation Z.120: Message Sequence Chart (MSC). ITU-TS, Geneva (2011)
26.
go back to reference Jackson, P., Sheridan, D.: Clause form conversions for boolean circuits. In: International Conference on Theory and Applications of Satisfiability Testing, pp. 183–198. Springer (2004) Jackson, P., Sheridan, D.: Clause form conversions for boolean circuits. In: International Conference on Theory and Applications of Satisfiability Testing, pp. 183–198. Springer (2004)
27.
go back to reference Kluge, O.: Modelling a railway crossing with message sequence charts and petri nets. In: Petri Net Technology for Communication-Based Systems, pp. 197–218. Springer (2003) Kluge, O.: Modelling a railway crossing with message sequence charts and petri nets. In: Petri Net Technology for Communication-Based Systems, pp. 197–218. Springer (2003)
28.
go back to reference Knapp, A., Wuttke, J.: Model checking of uml 2.0 interactions. In: Kühne, T. (ed.) Models in Software Engineering, pp. 42–51. Springer, Berlin (2007) Knapp, A., Wuttke, J.: Model checking of uml 2.0 interactions. In: Kühne, T. (ed.) Models in Software Engineering, pp. 42–51. Springer, Berlin (2007)
29.
go back to reference Laborie, P., Rogerie, J., Shaw, P., Vilím, P.: Ibm ilog cp optimizer for scheduling. Constraints 23(2), 210–250 (2018)MathSciNetCrossRef Laborie, P., Rogerie, J., Shaw, P., Vilím, P.: Ibm ilog cp optimizer for scheduling. Constraints 23(2), 210–250 (2018)MathSciNetCrossRef
30.
go back to reference Ladkin, P.B., Leue, S.: Interpreting Message Sequence Charts. IBM Thomas J, Watson Research Division, Albany (1992)MATH Ladkin, P.B., Leue, S.: Interpreting Message Sequence Charts. IBM Thomas J, Watson Research Division, Albany (1992)MATH
32.
go back to reference Louati, A., Jerad, C., Barkaoui, K., Saint-Martin, P.: Formalization and verification of hierarchical use of interaction overview diagrams using timing diagrams. Int. J. Soft Comput. Softw. Eng. 3, 205–211 (2013) Louati, A., Jerad, C., Barkaoui, K., Saint-Martin, P.: Formalization and verification of hierarchical use of interaction overview diagrams using timing diagrams. Int. J. Soft Comput. Softw. Eng. 3, 205–211 (2013)
33.
go back to reference Loveland, D.W.: Automated Theorem Proving: A Logical Basis. Elsevier, Amsterdam (2016)MATH Loveland, D.W.: Automated Theorem Proving: A Logical Basis. Elsevier, Amsterdam (2016)MATH
34.
go back to reference Nguyen, M.C., Jee, E., Choi, J., Bae, D.H.: Automatic construction of timing diagrams from UML/MARTE models for real-time embedded software. In: Inan, M.K., et al. (eds.) Proceedings of the 29th Annual ACM Symposium on Applied Computing, SAC ’14, pp. 1140–1145. ACM (2014). https://doi.org/10.1145/2554850.2555011 Nguyen, M.C., Jee, E., Choi, J., Bae, D.H.: Automatic construction of timing diagrams from UML/MARTE models for real-time embedded software. In: Inan, M.K., et al. (eds.) Proceedings of the 29th Annual ACM Symposium on Applied Computing, SAC ’14, pp. 1140–1145. ACM (2014). https://​doi.​org/​10.​1145/​2554850.​2555011
35.
go back to reference Nieuwenhuis, R., Oliveras, A., Tinelli, C.: Solving sat and sat modulo theories: from an abstract Davis–Putnam–Logemann–Loveland procedure to dpll (t). J. ACM: JACM 53(6), 937–977 (2006)MathSciNetCrossRef Nieuwenhuis, R., Oliveras, A., Tinelli, C.: Solving sat and sat modulo theories: from an abstract Davis–Putnam–Logemann–Loveland procedure to dpll (t). J. ACM: JACM 53(6), 937–977 (2006)MathSciNetCrossRef
36.
go back to reference Nobari, S., Lu, X., Karras, P., Bressan, S.: Fast random graph generation. In: Proceedings of the 14th International Conference on Extending Database Technology, pp. 331–342 (2011) Nobari, S., Lu, X., Karras, P., Bressan, S.: Fast random graph generation. In: Proceedings of the 14th International Conference on Extending Database Technology, pp. 331–342 (2011)
37.
go back to reference Ohrimenko, O., Stuckey, P.J., Codish, M.: Propagation via lazy clause generation. Constraints 14(3), 357–391 (2009)MathSciNetCrossRef Ohrimenko, O., Stuckey, P.J., Codish, M.: Propagation via lazy clause generation. Constraints 14(3), 357–391 (2009)MathSciNetCrossRef
38.
go back to reference Pan, M., Bu, L., Li, X.: Tass: timing analyzer of scenario-based specifications. In: Bouajjani, A., Maler, O. (eds.) Computer Aided Verification, pp. 689–695. Springer, Berlin (2009)CrossRef Pan, M., Bu, L., Li, X.: Tass: timing analyzer of scenario-based specifications. In: Bouajjani, A., Maler, O. (eds.) Computer Aided Verification, pp. 689–695. Springer, Berlin (2009)CrossRef
40.
go back to reference Parker, M., Ryan, J.: Finding the minimum weight IIS cover of an infeasible system of linear inequalities. Ann. Math. Artif. Intell. 17(1), 107–126 (1996)MathSciNetCrossRef Parker, M., Ryan, J.: Finding the minimum weight IIS cover of an infeasible system of linear inequalities. Ann. Math. Artif. Intell. 17(1), 107–126 (1996)MathSciNetCrossRef
41.
go back to reference Pearce, R., Gokhale, M., Amato, N.M.: Multithreaded asynchronous graph traversal for in-memory and semi-external memory. In: SC’10: Proceedings of the 2010 ACM/IEEE International Conference for High Performance Computing, Networking, Storage and Analysis, pp. 1–11. IEEE (2010) Pearce, R., Gokhale, M., Amato, N.M.: Multithreaded asynchronous graph traversal for in-memory and semi-external memory. In: SC’10: Proceedings of the 2010 ACM/IEEE International Conference for High Performance Computing, Networking, Storage and Analysis, pp. 1–11. IEEE (2010)
42.
go back to reference Peled, D.A.: Software Reliability Methods. Springer, Berlin (2013) Peled, D.A.: Software Reliability Methods. Springer, Berlin (2013)
43.
go back to reference Sammut, C., Webb, G.I.: Encyclopedia of Machine Learning and Data Mining. Springer Publishing Company, Incorporated (2017)CrossRef Sammut, C., Webb, G.I.: Encyclopedia of Machine Learning and Data Mining. Springer Publishing Company, Incorporated (2017)CrossRef
44.
go back to reference Sebastiani, R.: Lazy satisfiability modulo theories. J. Satisf. Boolean Model. Comput. 3(3–4), 141–224 (2007)MathSciNetMATH Sebastiani, R.: Lazy satisfiability modulo theories. J. Satisf. Boolean Model. Comput. 3(3–4), 141–224 (2007)MathSciNetMATH
45.
go back to reference Seemann, J., von Gudenberg, J.W.: Extension of UML sequence diagrams for real-time systems. In: International Conference on the Unified Modeling Language, pp. 240–252. Springer (1998) Seemann, J., von Gudenberg, J.W.: Extension of UML sequence diagrams for real-time systems. In: International Conference on the Unified Modeling Language, pp. 240–252. Springer (1998)
46.
go back to reference Specification, O.A.: Omg unified modeling language (omg uml), superstructure, v2. 1.2, vol. 70. Object Management Group (2007) Specification, O.A.: Omg unified modeling language (omg uml), superstructure, v2. 1.2, vol. 70. Object Management Group (2007)
47.
go back to reference Sridhar, S., Wright, S., Re, C., Liu, J., Bittorf, V., Zhang, C.: An approximate, efficient lp solver for lp rounding. In: Burges, C.J.C., Bottou, L., Welling, M., Ghahramani, Z., Weinberger, K.Q. (eds.) Advances in Neural Information Processing Systems, pp. 2895–2903 (2013) Sridhar, S., Wright, S., Re, C., Liu, J., Bittorf, V., Zhang, C.: An approximate, efficient lp solver for lp rounding. In: Burges, C.J.C., Bottou, L., Welling, M., Ghahramani, Z., Weinberger, K.Q. (eds.) Advances in Neural Information Processing Systems, pp. 2895–2903 (2013)
48.
go back to reference Swain, R.K., Panthi, V., Behera, P.K.: Test case design using slicing of UML interaction diagram. Procedia Technol. 6, 136–144 (2012)CrossRef Swain, R.K., Panthi, V., Behera, P.K.: Test case design using slicing of UML interaction diagram. Procedia Technol. 6, 136–144 (2012)CrossRef
49.
go back to reference Tanner, M.W., Ntaimo, L.: Iis branch-and-cut for joint chance-constrained programs with random technology matrices. Eur. J. Oper. Res. 207(1), 290–296 (2010)CrossRef Tanner, M.W., Ntaimo, L.: Iis branch-and-cut for joint chance-constrained programs with random technology matrices. Eur. J. Oper. Res. 207(1), 290–296 (2010)CrossRef
50.
go back to reference Tassey, G.: The Economic Impacts of Inadequate Infrastructure for Software Testing. National Institute of Standards and Technology, RTI Project, vol. 7007, no. 011, pp. 429–489 (2002) Tassey, G.: The Economic Impacts of Inadequate Infrastructure for Software Testing. National Institute of Standards and Technology, RTI Project, vol. 7007, no. 011, pp. 429–489 (2002)
51.
go back to reference Whitesitt, J.E.: Boolean Algebra and Its Applications. Courier Corporation, Chelmsford (2012)MATH Whitesitt, J.E.: Boolean Algebra and Its Applications. Courier Corporation, Chelmsford (2012)MATH
52.
go back to reference Xie, D., Bu, L., Zhao, J., Li, X.: SAT–lP–IIS joint-directed path-oriented bounded reachability analysis of linear hybrid automata. Form. Methods Syst. Des. 45(1), 42–62 (2014)CrossRef Xie, D., Bu, L., Zhao, J., Li, X.: SAT–lP–IIS joint-directed path-oriented bounded reachability analysis of linear hybrid automata. Form. Methods Syst. Des. 45(1), 42–62 (2014)CrossRef
Metadata
Title
Improving timing analysis effectiveness for scenario-based specifications by combining SAT and LP techniques
Authors
Longlong Lu
Minxue Pan
Tian Zhang
Xuandong Li
Publication date
10-02-2022
Publisher
Springer Berlin Heidelberg
Published in
Software and Systems Modeling / Issue 4/2022
Print ISSN: 1619-1366
Electronic ISSN: 1619-1374
DOI
https://doi.org/10.1007/s10270-022-00980-8

Other articles of this Issue 4/2022

Software and Systems Modeling 4/2022 Go to the issue

Premium Partner