Skip to main content
Erschienen in: Formal Methods in System Design 1-2/2016

07.05.2016

Decentralised LTL monitoring

verfasst von: Andreas Bauer, Yliès Falcone

Erschienen in: Formal Methods in System Design | Ausgabe 1-2/2016

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Users wanting to monitor distributed or component-based systems often perceive them as monolithic systems which, seen from the outside, exhibit a uniform behaviour as opposed to many components displaying many local behaviours that together constitute the system’s global behaviour. This level of abstraction is often reasonable, hiding implementation details from users who may want to specify the system’s global behaviour in terms of a linear-time temporal logic (LTL) formula. However, the problem that arises then is how such a specification can actually be monitored in a distributed system that has no central data collection point, where all the components’ local behaviours are observable. In this case, the LTL specification needs to be decomposed into sub-formulae which, in turn, need to be distributed amongst the components’ locally attached monitors, each of which sees only a distinct part of the global behaviour. The main contribution of this paper is an algorithm for distributing and monitoring LTL formulae, such that satisfaction or violation of specifications can be detected by local monitors alone. We present an implementation and show that our algorithm introduces only a negligible delay in detecting satisfaction/violation of a specification. Moreover, our practical results show that the communication overhead introduced by the local monitors is generally lower than the number of messages that would need to be sent to a central data collection point. Furthermore, our experiments strengthen the argument that the algorithm performs well in a wide range of different application contexts, given by different system/communication topologies and/or system event distributions over time.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

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!

Anhänge
Nur mit Berechtigung zugänglich
Fußnoten
1
The assumption of atomic proposition locality is not a restriction of our approach but it simplifies the presentation.
 
2
Note that \(\mathcal {L}(\varphi )\), being a liveness language, does not have any bad prefixes.
 
3
Compared to RuleR [14], the state-of-art rule-based runtime verification tool, for LTL specifications, our simplification function produced better results (see [26]).
 
4
Our experiments show that this way of measuring the size of a formula is more representative of how difficult it is to progress it in a decentralised manner. Formulae of size above 6 are not realistic in practice.
 
5
We conducted benchmarks (not reported here) with traces generated with the Bernouilli probability distributions with parameters 0.9 and 0.99 and the results followed the same trends.
 
6
Without loss of generality, we assume that the priority of a monitor is given by its index. If this hypothesis does not hold initially, the indexes of components can be re-arranged prior to monitoring so that this hypothesis holds.
 
Literatur
1.
Zurück zum Zitat Amir P (1977) The temporal logic of programs. In: Foundations of Computer Science (FOCS), IEEE, pp 46–57 Amir P (1977) The temporal logic of programs. In: Foundations of Computer Science (FOCS), IEEE, pp 46–57
2.
Zurück zum Zitat Seyster J, Dixit K, Huang X, Grosu R, Havelund K, Smolka SA, Stoller SD, Zadok E (2010) Aspect-oriented instrumentation with GCC. In: Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer, Berlin, pp 405–420 Seyster J, Dixit K, Huang X, Grosu R, Havelund K, Smolka SA, Stoller SD, Zadok E (2010) Aspect-oriented instrumentation with GCC. In: Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer, Berlin, pp 405–420
3.
Zurück zum Zitat Meredith P, Rosu G (2010) Runtime verification with the RV System. In Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer, Berlin, pp 136–152 Meredith P, Rosu G (2010) Runtime verification with the RV System. In Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer, Berlin, pp 136–152
4.
Zurück zum Zitat Hallé S, Villemaire R (2010) Runtime verification for the web-a tutorial introduction to interface contracts in web applications. In: Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer, Berlin, pp 106–121 Hallé S, Villemaire R (2010) Runtime verification for the web-a tutorial introduction to interface contracts in web applications. In: Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer, Berlin, pp 106–121
5.
Zurück zum Zitat Gunzert M, Nägele A (1999) Component-based development and verification of safety critical software for a brake-by-wire system with synchronous software components. In: International Symposium on SE for Parallel and Distributed Systems (PDSE), IEEE, p 134 Gunzert M, Nägele A (1999) Component-based development and verification of safety critical software for a brake-by-wire system with synchronous software components. In: International Symposium on SE for Parallel and Distributed Systems (PDSE), IEEE, p 134
6.
Zurück zum Zitat Lukasiewycz M, Glaß M, Teich J, Milbredt P (2009) FlexRay schedule optimization of the static segment. In: 7th IEEE/ACM International Conference on Hardware/software codesign and system synthesis (CODES+ISSS), ACM, pp 363–372 Lukasiewycz M, Glaß M, Teich J, Milbredt P (2009) FlexRay schedule optimization of the static segment. In: 7th IEEE/ACM International Conference on Hardware/software codesign and system synthesis (CODES+ISSS), ACM, pp 363–372
7.
Zurück zum Zitat Pop T, Pop P, Eles P, Peng Z, Andrei Alexandru (2008) Timing analysis of the FlexRay communication protocol. Real-Time Syst 39:205–235CrossRefMATH Pop T, Pop P, Eles P, Peng Z, Andrei Alexandru (2008) Timing analysis of the FlexRay communication protocol. Real-Time Syst 39:205–235CrossRefMATH
8.
Zurück zum Zitat Miller SP, Whalen MW, Cofer DD (2010) Software model checking takes off. Commun ACM 53:58–64CrossRef Miller SP, Whalen MW, Cofer DD (2010) Software model checking takes off. Commun ACM 53:58–64CrossRef
9.
Zurück zum Zitat Pigan R, Metter M (2008) Automating with PROFINET: industrial communication based on industrial ethernet. Wiley, New York Pigan R, Metter M (2008) Automating with PROFINET: industrial communication based on industrial ethernet. Wiley, New York
10.
Zurück zum Zitat Felser M (2005) Real-time ethernet-industry prospective. Proc IEEE 93(6):1118–1129CrossRef Felser M (2005) Real-time ethernet-industry prospective. Proc IEEE 93(6):1118–1129CrossRef
11.
Zurück zum Zitat Serna Oliver R, Craciunas SS, Stoger G (2014) Analysis of deterministic ethernet scheduling for the industrial internet of things. In: Computer aided modeling and design of communication links and networks (CAMAD), 2014 IEEE 19th International Workshop on IEEE, pp 320–324 Serna Oliver R, Craciunas SS, Stoger G (2014) Analysis of deterministic ethernet scheduling for the industrial internet of things. In: Computer aided modeling and design of communication links and networks (CAMAD), 2014 IEEE 19th International Workshop on IEEE, pp 320–324
12.
Zurück zum Zitat Havelund K, Rosu G (2001) Monitoring programs using rewriting. In: 16th IEEE International conference on automated software engineering (ASE 2001), pp 135–143 Havelund K, Rosu G (2001) Monitoring programs using rewriting. In: 16th IEEE International conference on automated software engineering (ASE 2001), pp 135–143
13.
Zurück zum Zitat Roşu G, Havelund K (2005) Rewriting-based techniques for runtime verification. Autom Softw Eng 12(2):151–197CrossRef Roşu G, Havelund K (2005) Rewriting-based techniques for runtime verification. Autom Softw Eng 12(2):151–197CrossRef
14.
Zurück zum Zitat Barringer H, Rydeheard DE, Havelund K (2010) Rule systems for run-time monitoring: from Eagle to RuleR. J Log Comput 20(3):675–706MathSciNetCrossRefMATH Barringer H, Rydeheard DE, Havelund K (2010) Rule systems for run-time monitoring: from Eagle to RuleR. J Log Comput 20(3):675–706MathSciNetCrossRefMATH
15.
Zurück zum Zitat Bauer A, Falcone Y (2012) Decentralised LTL monitoring. In: Giannakopoulou D, Mery D (eds.) Proceedings of the 18th international symposium on formal methods (FM), volume 7436 of Lecture Notes in Computer Science. Springer, Berlin, pp 85–100 Bauer A, Falcone Y (2012) Decentralised LTL monitoring. In: Giannakopoulou D, Mery D (eds.) Proceedings of the 18th international symposium on formal methods (FM), volume 7436 of Lecture Notes in Computer Science. Springer, Berlin, pp 85–100
16.
Zurück zum Zitat Jantsch A (2003) Modeling Embedded systems and SoC’s: concurrency and time in models of computation. Morgan Kaufmann, San Francisco Jantsch A (2003) Modeling Embedded systems and SoC’s: concurrency and time in models of computation. Morgan Kaufmann, San Francisco
17.
Zurück zum Zitat Pnueli A (1977) The temporal logic of programs. In: SFCS’77: Proceedings of the 18th annual symposium on foundations of computer science, Washington, DC, USA. IEEE Computer Society, pp 46–57 Pnueli A (1977) The temporal logic of programs. In: SFCS’77: Proceedings of the 18th annual symposium on foundations of computer science, Washington, DC, USA. IEEE Computer Society, pp 46–57
18.
19.
Zurück zum Zitat Bauer A, Leucker M, Schallhart C (2011) Runtime verification for LTL and TLTL. ACM Trans Softw Eng Methodol (TOSEM) 20(4):14CrossRef Bauer A, Leucker M, Schallhart C (2011) Runtime verification for LTL and TLTL. ACM Trans Softw Eng Methodol (TOSEM) 20(4):14CrossRef
22.
Zurück zum Zitat Sen K, Roşu G, Agha G (2003) Generating optimal linear temporal logic monitors by coinduction. In: Advances in computing science—ASIAN 2003. Progamming languages and distributed computation programming languages and distributed computation. Springer, Berlin, pp 260–275 Sen K, Roşu G, Agha G (2003) Generating optimal linear temporal logic monitors by coinduction. In: Advances in computing science—ASIAN 2003. Progamming languages and distributed computation programming languages and distributed computation. Springer, Berlin, pp 260–275
24.
Zurück zum Zitat Lichtenstein O, Pnueli A, Zuck LD (1985) The glory of the past. In: Conference on logic of programs. Springer, pp 196–218 Lichtenstein O, Pnueli A, Zuck LD (1985) The glory of the past. In: Conference on logic of programs. Springer, pp 196–218
25.
Zurück zum Zitat Markey N (2003) Temporal logic with past is exponentially more succinct, concurrency column. Bull EATCS 79:122–128MathSciNetMATH Markey N (2003) Temporal logic with past is exponentially more succinct, concurrency column. Bull EATCS 79:122–128MathSciNetMATH
27.
Zurück zum Zitat Dwyer MB, Avrunin GS, Corbett JC (1999) Patterns in property specifications for finite-state verification. In: International Conference on Software Engineering (ICSE). ACM, pp 411–420 Dwyer MB, Avrunin GS, Corbett JC (1999) Patterns in property specifications for finite-state verification. In: International Conference on Software Engineering (ICSE). ACM, pp 411–420
29.
Zurück zum Zitat Wang Y, Yoo T-S, Lafortune S (2004) New results on decentralized diagnosis of discrete event systems. In: Proceedings of 42nd Annual Allerton Conference on Communication, Control, and Computing, October 2004 Wang Y, Yoo T-S, Lafortune S (2004) New results on decentralized diagnosis of discrete event systems. In: Proceedings of 42nd Annual Allerton Conference on Communication, Control, and Computing, October 2004
30.
Zurück zum Zitat Wang Y, Yoo T-S, Lafortune S (2007) Diagnosis of discrete event systems using decentralized architectures. Discrete Event Dyn Syst 17:233–263MathSciNetCrossRefMATH Wang Y, Yoo T-S, Lafortune S (2007) Diagnosis of discrete event systems using decentralized architectures. Discrete Event Dyn Syst 17:233–263MathSciNetCrossRefMATH
31.
Zurück zum Zitat Cassez F (2010) The complexity of codiagnosability for discrete event and timed systems. In: Bouajjani A, Chin W-N (eds.) ATVA, volume 6252 of Lecture Notes in Computer Science. Springer, pp 82–96 Cassez F (2010) The complexity of codiagnosability for discrete event and timed systems. In: Bouajjani A, Chin W-N (eds.) ATVA, volume 6252 of Lecture Notes in Computer Science. Springer, pp 82–96
32.
Zurück zum Zitat Tripakis S (2005) Decentralized observation problems. In: 44th IEEE Conference on decision and control (CDC-ECC), IEEE, pp 6–11 Tripakis S (2005) Decentralized observation problems. In: 44th IEEE Conference on decision and control (CDC-ECC), IEEE, pp 6–11
33.
Zurück zum Zitat Sen K, Vardhan A, Agha G, Rosu G (2006) Decentralized runtime analysis of multithreaded applications. In: 20th parallel and distributed processing symposium (IPDPS). IEEE Sen K, Vardhan A, Agha G, Rosu G (2006) Decentralized runtime analysis of multithreaded applications. In: 20th parallel and distributed processing symposium (IPDPS). IEEE
34.
Zurück zum Zitat Genon A, Massart T, Meuter C (2006) Monitoring distributed controllers. In: Formal methods (FM), volume 4085 of LNCS. Springer, pp 557–572 Genon A, Massart T, Meuter C (2006) Monitoring distributed controllers. In: Formal methods (FM), volume 4085 of LNCS. Springer, pp 557–572
35.
Zurück zum Zitat Falcone Y, Cornebize T, Fernandez J-C (2014) Efficient and generalized decentralized monitoring of regular languages. In: Erika A, Catuscia P (eds.) FORTE, volume 8461 of Lecture Notes in Computer Science.Springer, pp 66–83 Falcone Y, Cornebize T, Fernandez J-C (2014) Efficient and generalized decentralized monitoring of regular languages. In: Erika A, Catuscia P (eds.) FORTE, volume 8461 of Lecture Notes in Computer Science.Springer, pp 66–83
36.
Zurück zum Zitat Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer Barringer H, Falcone Y, Finkbeiner B, Havelund K, Lee I, Pace GJ, Rosu G, Sokolsky O, Tillmann N (eds.) (2010) Proceedings of International Conference on Runtime Verification (RV), volume 6418 of LNCS. Springer
Metadaten
Titel
Decentralised LTL monitoring
verfasst von
Andreas Bauer
Yliès Falcone
Publikationsdatum
07.05.2016
Verlag
Springer US
Erschienen in
Formal Methods in System Design / Ausgabe 1-2/2016
Print ISSN: 0925-9856
Elektronische ISSN: 1572-8102
DOI
https://doi.org/10.1007/s10703-016-0253-8