Runtime Enforcement of Regular Timed Properties es Falcone 2 , - - PowerPoint PPT Presentation

runtime enforcement of regular timed properties
SMART_READER_LITE
LIVE PREVIEW

Runtime Enforcement of Regular Timed Properties es Falcone 2 , - - PowerPoint PPT Presentation

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW Runtime Enforcement of Regular Timed Properties es Falcone 2 , Thierry J eron 1 , Herv e Marchand 1 Srinivas Pinisetty, Yli` INRIA


slide-1
SLIDE 1

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Runtime Enforcement of Regular Timed Properties

Srinivas Pinisetty, Yli` es Falcone2, Thierry J´ eron1, Herv´ e Marchand1

INRIA Rennes - Bretagne Atlantique, France Universit´ e Grenoble I, Laboratoire d’Informatique de Grenoble, France

SAC-SVT 2014, Gyeongju, Korea

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 1 / 35

slide-2
SLIDE 2

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Runtime verification and enforcement (monitors)

Runtime verification and enforcement: A monitor observes the execution of a system (e.g., trace, log, messages). No system model. A correctness property ϕ.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 2 / 35

slide-3
SLIDE 3

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Runtime verification and enforcement (monitors)

Runtime verification and enforcement: A monitor observes the execution of a system (e.g., trace, log, messages). No system model. A correctness property ϕ.

Runtime verification

verdicts events Monitor Verification σ | = ϕ? σ ∈ Σ∞ D w ∈ D∞ Does the run satisfy the property? Input: stream of events. Output: stream of verdicts.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 2 / 35

slide-4
SLIDE 4

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Runtime verification and enforcement (monitors)

Runtime verification and enforcement: A monitor observes the execution of a system (e.g., trace, log, messages). No system model. A correctness property ϕ.

Runtime verification

verdicts events Monitor Verification σ | = ϕ? σ ∈ Σ∞ D w ∈ D∞ Does the run satisfy the property? Input: stream of events. Output: stream of verdicts.

Runtime enforcement

events events Monitor Memory σ ∈ Σ∞

Enforcement

  • σ
  • |

= ϕ! The run should satisfy the property. Input: stream of events. Output: stream of events (should satisfy the property).

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 2 / 35

slide-5
SLIDE 5

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitoring - untimed case

Dedicated to a property ϕ. Possibly augmented with a memorization mechanism. events finite

  • seq. of
  • seq. of

finite events Memory Monitor

  • σ

σ ∈ Σ∗

  • |

= ϕ!

Enforcement

Enforcement mechanism (EM)

An EM modifies the current execution sequence (sometimes like a “filter”). reads an input sequence σ ∈ Σ∗.

  • utputs a new sequence o ∈ Σ∗.

endowed with a set of enforcement primitives:

  • perate on the memorization mechanism,

delete or insert events using the memory content and the current input.

An EM behaves as a function E : Σ∗ → Σ∗.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 3 / 35

slide-6
SLIDE 6

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Motivations for timed enforcement

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

slide-7
SLIDE 7

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Motivations for timed enforcement

Specifying the timing behavior

Allow specifying desired behavior of a system more precisely (time constraints between events).

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

slide-8
SLIDE 8

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Motivations for timed enforcement

Specifying the timing behavior

Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

slide-9
SLIDE 9

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Motivations for timed enforcement

Specifying the timing behavior

Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur with a delay of at least 5 time units between them.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

slide-10
SLIDE 10

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Motivations for timed enforcement

Specifying the timing behavior

Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur with a delay of at least 5 time units between them. The system should allow consecutive requests with a delay of at least 10 time units between any two requests.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

slide-11
SLIDE 11

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Motivations for timed enforcement

Specifying the timing behavior

Allow specifying desired behavior of a system more precisely (time constraints between events). After action “a”, action “b” should occur with a delay of at least 5 time units between them. The system should allow consecutive requests with a delay of at least 10 time units between any two requests.

Many application domains

Domains: Real-time embedded systems, monitor hardware failures, communication protocols, web services and many more. Examples of monitor usage:

firewall to prevent DOS attack ensuring minimal delay between input events; checking pre-conditions of a service in web applications.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 4 / 35

slide-12
SLIDE 12

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Related work on monitoring

Runtime Enforcement of Untimed properties

Enforceable security policies – Fred B. Schneider et al. Enforcement Monitoring wrt. the Safety-Progress Classification of Properties – Yli` es Falcone et al. Runtime enforcement of non-safety policies – Jay Ligatti et al.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 5 / 35

slide-13
SLIDE 13

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Related work on monitoring

Runtime Enforcement of Untimed properties

Enforceable security policies – Fred B. Schneider et al. Enforcement Monitoring wrt. the Safety-Progress Classification of Properties – Yli` es Falcone et al. Runtime enforcement of non-safety policies – Jay Ligatti et al.

Runtime Verification of Timed properties

Efforts mainly to verify timed properties at runtime: Runtime verification of TLTL – Andreas Bauer et al. The Analog Monitoring Tool.(monitoring specifications over continuous signals) – Dejan Nickovic et al. Safe runtime verification of real-time properties – Christian Colombo et al.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 5 / 35

slide-14
SLIDE 14

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Problem tackled and Contributions

ϕ is a timed property events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

A formal framework for runtime enforcement of timed properties

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

slide-15
SLIDE 15

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Problem tackled and Contributions

ϕ is a timed property events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

A formal framework for runtime enforcement of timed properties

Any regular timed property ϕ as input.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

slide-16
SLIDE 16

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Problem tackled and Contributions

ϕ is a timed property events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

A formal framework for runtime enforcement of timed properties

Any regular timed property ϕ as input. Enforcement mechanism adds additional delays between input actions in

  • rder to satisfy the property. – works as a “delayer”

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

slide-17
SLIDE 17

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Problem tackled and Contributions

ϕ is a timed property events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

A formal framework for runtime enforcement of timed properties

Any regular timed property ϕ as input. Enforcement mechanism adds additional delays between input actions in

  • rder to satisfy the property. – works as a “delayer”

A general definition of mechanisms for regular properties.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

slide-18
SLIDE 18

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Problem tackled and Contributions

ϕ is a timed property events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

A formal framework for runtime enforcement of timed properties

Any regular timed property ϕ as input. Enforcement mechanism adds additional delays between input actions in

  • rder to satisfy the property. – works as a “delayer”

A general definition of mechanisms for regular properties. Optimizations for safety and co-safety properties.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

slide-19
SLIDE 19

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Problem tackled and Contributions

ϕ is a timed property events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

A formal framework for runtime enforcement of timed properties

Any regular timed property ϕ as input. Enforcement mechanism adds additional delays between input actions in

  • rder to satisfy the property. – works as a “delayer”

A general definition of mechanisms for regular properties. Optimizations for safety and co-safety properties. Enforcement mechanisms at several levels of abstraction (facilitating the design and implementation of such mechanisms).

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

slide-20
SLIDE 20

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Problem tackled and Contributions

ϕ is a timed property events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

A formal framework for runtime enforcement of timed properties

Any regular timed property ϕ as input. Enforcement mechanism adds additional delays between input actions in

  • rder to satisfy the property. – works as a “delayer”

A general definition of mechanisms for regular properties. Optimizations for safety and co-safety properties. Enforcement mechanisms at several levels of abstraction (facilitating the design and implementation of such mechanisms). Exhibiting a notion of non-enforceable properties.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 6 / 35

slide-21
SLIDE 21

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 7 / 35

slide-22
SLIDE 22

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 8 / 35

slide-23
SLIDE 23

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Specifying timed properties

Input/output sequences are timed words: σ = (δ1, a1) · (δ2, a2) · · · (δn, an), δi ∈ R≥0, ai ∈ Σ. Property:

defined by a regular timed language ϕ ⊆ (R≥0 × Σ)∗, specified by a TA Aϕ.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 9 / 35

slide-24
SLIDE 24

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Specifying timed properties

Input/output sequences are timed words: σ = (δ1, a1) · (δ2, a2) · · · (δn, an), δi ∈ R≥0, ai ∈ Σ. Property:

defined by a regular timed language ϕ ⊆ (R≥0 × Σ)∗, specified by a TA Aϕ.

Safety, co-safety and response properties specified by TAs

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 9 / 35

slide-25
SLIDE 25

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Specifying timed properties

Input/output sequences are timed words: σ = (δ1, a1) · (δ2, a2) · · · (δn, an), δi ∈ R≥0, ai ∈ Σ. Property:

defined by a regular timed language ϕ ⊆ (R≥0 × Σ)∗, specified by a TA Aϕ.

Safety, co-safety and response properties specified by TAs

Safety: nothing bad should ever happen (prefix closed).

l0 l1 l2 Σ \ {req} req, x := 0 Σ \ {req} req, x ≥ 5, x := 0 req, x<5 Σ

Σ = {req} “A delay of 5 t.u. between any two requests.”

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 9 / 35

slide-26
SLIDE 26

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Specifying timed properties

Input/output sequences are timed words: σ = (δ1, a1) · (δ2, a2) · · · (δn, an), δi ∈ R≥0, ai ∈ Σ. Property:

defined by a regular timed language ϕ ⊆ (R≥0 × Σ)∗, specified by a TA Aϕ.

Safety, co-safety and response properties specified by TAs

Co-safety: something good will eventually happen within a finite amount of time (extension closed).

l0 l1 l2 l3 req, x := 0 Σ \ {req} Σ \ {gr}; g, x < 10 ∨ x > 15 gr, 10≤x ≤15 Σ Σ

Σ = {req, gr} “A request, and then a grant should arrive between 10 and 15 t.u.”

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 9 / 35

slide-27
SLIDE 27

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Specifying timed properties

Input/output sequences are timed words: σ = (δ1, a1) · (δ2, a2) · · · (δn, an), δi ∈ R≥0, ai ∈ Σ. Property:

defined by a regular timed language ϕ ⊆ (R≥0 × Σ)∗, specified by a TA Aϕ.

Safety, co-safety and response properties specified by TAs

Response: any property.

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Σ = {req, gr} “Requests and grants should alter- nate in this order with a delay be- tween 15 and 20 t.u between the re- quest and the grant.”

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 9 / 35

slide-28
SLIDE 28

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Example: response property

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Σ = {req, gr} (3, req)·(15, gr)·(5, req)·(19, gr) ǫ | = ϕ.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 10 / 35

slide-29
SLIDE 29

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Example: response property

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Σ = {req, gr} (3, req)·(15, gr)·(5, req)·(19, gr) ǫ | = ϕ. (3, req) | = ϕ.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 10 / 35

slide-30
SLIDE 30

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Example: response property

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Σ = {req, gr} (3, req)·(15, gr)·(5, req)·(19, gr) ǫ | = ϕ. (3, req) | = ϕ. (3, req) · (15, gr) | = ϕ.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 10 / 35

slide-31
SLIDE 31

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Example: response property

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Σ = {req, gr} (3, req)·(15, gr)·(5, req)·(19, gr) ǫ | = ϕ. (3, req) | = ϕ. (3, req) · (15, gr) | = ϕ. (3, req) · (15, gr) · (5, req) | = ϕ.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 10 / 35

slide-32
SLIDE 32

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Example: response property

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Σ = {req, gr} (3, req)·(15, gr)·(5, req)·(19, gr) ǫ | = ϕ. (3, req) | = ϕ. (3, req) · (15, gr) | = ϕ. (3, req) · (15, gr) · (5, req) | = ϕ. (3, req) · (15, gr) · (5, req) · (19, gr) | = ϕ. Remark: response properties are neither prefix nor extension closed.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 10 / 35

slide-33
SLIDE 33

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Major Challenges

Major challenges when (possibly) correcting an input sequence: safety properties: after each event, the decision is made (whether it can be corrected or not).

l0 l1 l2 Σ \ {req} req, x := 0 Σ \ {req} req, x ≥ 5, x := 0 req, x<5 Σ Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 11 / 35

slide-34
SLIDE 34

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Major Challenges

Major challenges when (possibly) correcting an input sequence: safety properties: after each event, the decision is made (whether it can be corrected or not). co-safety properties: after each event, we check starting from the first event, whether the entire sequence can be corrected.

l0 l1 l2 Σ \ {req} req, x := 0 Σ \ {req} req, x ≥ 5, x := 0 req, x<5 Σ l0 l1 l2 l3 req, x := 0 Σ \ {req} Σ \ {gr}; g, x < 10 ∨ x > 15 gr, 10≤x ≤15 Σ Σ Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 11 / 35

slide-35
SLIDE 35

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Major Challenges

Major challenges when (possibly) correcting an input sequence: safety properties: after each event, the decision is made (whether it can be corrected or not). co-safety properties: after each event, we check starting from the first event, whether the entire sequence can be corrected. response properties:

we cannot decide for each event soon after it is observed. we do not check/correct from the first event since we want to correct and

  • utput chunk of sequences as soon as possible.

l0 l1 l2 Σ \ {req} req, x := 0 Σ \ {req} req, x ≥ 5, x := 0 req, x<5 Σ l0 l1 l2 l3 req, x := 0 Σ \ {req} Σ \ {gr}; g, x < 10 ∨ x > 15 gr, 10≤x ≤15 Σ Σ l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 11 / 35

slide-36
SLIDE 36

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties Requirements on an Enforcement Mechanism Functional Definition of an Enforcement Mechanism Operational Description of an Enforcement Mechanism Algorithmic Description of an Enforcement Mechanism A note on Non-enforceable Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 12 / 35

slide-37
SLIDE 37

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Summary of the approach

Given some timed property ϕ: events events Monitor timed timed

timed Memory

Enforcement

  • σ
  • |

= ϕ! σ ∈ (R≥0 × Σ)∗

What can an enforcement mechanism do?

CANNOT insert nor delete events. CANNOT change the order of events. CAN increase the delay between actions. ֒ → the enforcement monitor is a “delayer”.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 13 / 35

slide-38
SLIDE 38

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Summary of the approach

ϕ Enforcement Mechanism Soundness Transparency Optimality

  • utput

input

Requirements for any enforcement mechanism for ϕ Functional definition (satisfies the requirements):

description of the input/output behavior ; composition of 3 functions: process input, computing the delayed timed word, and process output,

Enforcement monitor:

description of the operational behavior; a rule-based transition system with enforcement operations,

Implementation: translation of the EM semantic rules into algorithms.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 14 / 35

slide-39
SLIDE 39

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Summary of the approach

ϕ

  • utput

input Functional Definition

Output Fct Delay Fct Input Fct

Requirements for any enforcement mechanism for ϕ Functional definition (satisfies the requirements):

description of the input/output behavior ; composition of 3 functions: process input, computing the delayed timed word, and process output,

Enforcement monitor:

description of the operational behavior; a rule-based transition system with enforcement operations,

Implementation: translation of the EM semantic rules into algorithms.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 14 / 35

slide-40
SLIDE 40

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Summary of the approach

ϕ Enforcement Monitor

  • utput

input

Requirements for any enforcement mechanism for ϕ Functional definition (satisfies the requirements):

description of the input/output behavior ; composition of 3 functions: process input, computing the delayed timed word, and process output,

Enforcement monitor:

description of the operational behavior; a rule-based transition system with enforcement operations,

Implementation: translation of the EM semantic rules into algorithms.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 14 / 35

slide-41
SLIDE 41

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Summary of the approach

ϕ

  • utput

input Implementation

Dump Process Memory Store Process

Requirements for any enforcement mechanism for ϕ Functional definition (satisfies the requirements):

description of the input/output behavior ; composition of 3 functions: process input, computing the delayed timed word, and process output,

Enforcement monitor:

description of the operational behavior; a rule-based transition system with enforcement operations,

Implementation: translation of the EM semantic rules into algorithms.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 14 / 35

slide-42
SLIDE 42

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties Requirements on an Enforcement Mechanism Functional Definition of an Enforcement Mechanism Operational Description of an Enforcement Mechanism Algorithmic Description of an Enforcement Mechanism A note on Non-enforceable Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 15 / 35

slide-43
SLIDE 43

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (1)

Specified on an enforcement function for ϕ Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 16 / 35

slide-44
SLIDE 44

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (1)

The input and output of the mechanism are timed words

timed words time Eϕ(σ, t) σ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 16 / 35

slide-45
SLIDE 45

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (2)

Soundness: the output is correct

Snd Eϕ(σ, t) = ǫ = ⇒ ∃t′ ≥ t : Eϕ(σ, t′) | = ϕ. timed words time Eϕ(σ, t) σ

ϕ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 17 / 35

slide-46
SLIDE 46

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (1)

Transparency: events are preserved and delayed

Tr Eϕ(σ, t) d obs(σ, t), where σ′ d σ means

timed words time Eϕ(σ, t) σ e1 e2 e3 e4 e1 e2 e3 e4 timed words time Eϕ(σ, t) δ′

1

δ′

2

δ′

3

δ′

4

δ′

5

σ δ1 δ2 δ3 δ4 δ5

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 18 / 35

slide-47
SLIDE 47

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (2)

Optimality: output is produced ASAP . . . but not too soon

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 19 / 35

slide-48
SLIDE 48

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (2)

Optimality: output is produced ASAP . . . but not too soon

timed words time Eϕ(σ, t) σ

ϕ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 19 / 35

slide-49
SLIDE 49

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (2)

Optimality: output is produced ASAP . . . but not too soon

timed words time ideal sequence σ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 19 / 35

slide-50
SLIDE 50

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (2)

Optimality: output is produced ASAP . . . but not too soon

timed words time ideal sequence σ time needed to read the chunk chunk in memory

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 19 / 35

slide-51
SLIDE 51

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Requirements on an Enforcement Mechanism (2)

Optimality: output is produced ASAP . . . but not too soon

timed words time Eϕ(σ, t) ideal sequence σ time needed to read the chunk ≤ actual delay chunk in memory actual delay ideal delay

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 19 / 35

slide-52
SLIDE 52

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties Requirements on an Enforcement Mechanism Functional Definition of an Enforcement Mechanism Operational Description of an Enforcement Mechanism Algorithmic Description of an Enforcement Mechanism A note on Non-enforceable Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 20 / 35

slide-53
SLIDE 53

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (1)

The functional definition describes the mechanism as a function Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗.

Enforcement function

ϕ E(σ, t) | = ϕ σ, t

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 21 / 35

slide-54
SLIDE 54

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (1)

The functional definition describes the mechanism as a function Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗.

Enforcement function

ϕ E(σ, t) | = ϕ σ, t

ϕ Eϕ(σ, t) σ Functional Definition

Output Fct Delay Fct Input Fct

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 21 / 35

slide-55
SLIDE 55

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (1)

The functional definition describes the mechanism as a function Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗.

Enforcement function

ϕ E(σ, t) | = ϕ σ, t

ϕ Eϕ(σ, t) σ Functional Definition

Output Fct Delay Fct Input Fct

Input and output functions are realized by the observation function:

  • bs(σ, t) = max{σ′ | σ′ σ ∧ time(σ′) ≤ t}.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 21 / 35

slide-56
SLIDE 56

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (2)

Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗

Eϕ(σ, t) = obs

  • Π1
  • storeϕ(obs(σ, t))
  • , t
  • .

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 22 / 35

slide-57
SLIDE 57

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (2)

Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗

Eϕ(σ, t) = obs

  • Π1
  • storeϕ(obs(σ, t))
  • , t
  • .

storeϕ : (R≥0 × Σ)∗ → (R≥0 × Σ)∗ × (R≥0 × Σ)∗

storeϕ(σ) is a pair:

1

delayed correct prefix of σ,

2

suffix of σ for which delays still have to be computed.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 22 / 35

slide-58
SLIDE 58

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (2)

Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗

Eϕ(σ, t) = obs

  • Π1
  • storeϕ(obs(σ, t))
  • , t
  • .

storeϕ : (R≥0 × Σ)∗ → (R≥0 × Σ)∗ × (R≥0 × Σ)∗

storeϕ(σ) is a pair:

1

delayed correct prefix of σ,

2

suffix of σ for which delays still have to be computed. storeϕ(ǫ) = (ǫ, ǫ)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 22 / 35

slide-59
SLIDE 59

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (2)

Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗

Eϕ(σ, t) = obs

  • Π1
  • storeϕ(obs(σ, t))
  • , t
  • .

storeϕ : (R≥0 × Σ)∗ → (R≥0 × Σ)∗ × (R≥0 × Σ)∗

storeϕ(σ) is a pair:

1

delayed correct prefix of σ,

2

suffix of σ for which delays still have to be computed. storeϕ(ǫ) = (ǫ, ǫ) Suppose (σs, σc) = storeϕ(σ)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 22 / 35

slide-60
SLIDE 60

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition (2)

Eϕ : (R≥0 × Σ)∗ × R≥0 → (R≥0 × Σ)∗

Eϕ(σ, t) = obs

  • Π1
  • storeϕ(obs(σ, t))
  • , t
  • .

storeϕ : (R≥0 × Σ)∗ → (R≥0 × Σ)∗ × (R≥0 × Σ)∗

storeϕ(σ) is a pair:

1

delayed correct prefix of σ,

2

suffix of σ for which delays still have to be computed. storeϕ(ǫ) = (ǫ, ǫ) Suppose (σs, σc) = storeϕ(σ) storeϕ(σ · (δ, a)) =

  • (σs · minlex K, ǫ)

if K = ∅ (σs, σc · (δ, a))

  • therwise

where K is the set of possible corrected factors of σ between positions |σs| and |σc| + 1 with a delay for the first event greater than time(σc · (δ, a)). (cf. details in the paper)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 22 / 35

slide-61
SLIDE 61

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition: Example

Σ = {r, g}. σ = (3, req) · (10, gr) · (3, req) · (5, req).

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 23 / 35

slide-62
SLIDE 62

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition: Example

Σ = {r, g}. σ = (3, req) · (10, gr) · (3, req) · (5, req).

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t)

slide-63
SLIDE 63

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition: Example

Σ = {r, g}. σ = (3, req) · (10, gr) · (3, req) · (5, req).

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 13[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t)

slide-64
SLIDE 64

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition: Example

Σ = {r, g}. σ = (3, req) · (10, gr) · (3, req) · (5, req).

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 13[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [13, 16[

  • bs(σ, t) = (3, req) · (10, gr)

storeϕ(obs(σ, t)) = ((13, req) · (15, gr), ǫ) Eϕ(σ, t) = obs((13, req) · (15, gr), t)

slide-65
SLIDE 65

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition: Example

Σ = {r, g}. σ = (3, req) · (10, gr) · (3, req) · (5, req).

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 13[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [13, 16[

  • bs(σ, t) = (3, req) · (10, gr)

storeϕ(obs(σ, t)) = ((13, req) · (15, gr), ǫ) Eϕ(σ, t) = obs((13, req) · (15, gr), t) t ∈ [16, 21[

  • bs(σ, t) = (3, req) · (10, gr) · (3, req)

storeϕ(obs(σ, t)) = ((13, req) · (15, gr), (3, req)) Eϕ(σ, t) = obs((13, req) · (15, gr), t)

slide-66
SLIDE 66

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Functional definition: Example

Σ = {r, g}. σ = (3, req) · (10, gr) · (3, req) · (5, req).

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 13[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [13, 16[

  • bs(σ, t) = (3, req) · (10, gr)

storeϕ(obs(σ, t)) = ((13, req) · (15, gr), ǫ) Eϕ(σ, t) = obs((13, req) · (15, gr), t) t ∈ [16, 21[

  • bs(σ, t) = (3, req) · (10, gr) · (3, req)

storeϕ(obs(σ, t)) = ((13, req) · (15, gr), (3, req)) Eϕ(σ, t) = obs((13, req) · (15, gr), t) t ∈ [21, ∞]

  • bs(σ, t) = (3, req) · (10, gr) · (3, req) · (5, req)

storeϕ(obs(σ, t)) = ((13, req) · (15, gr), (3, req) · (5, req)) Eϕ(σ, t) = obs((13, req) · (15, gr), t)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 23 / 35

slide-67
SLIDE 67

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

The enforcement function satisfies the requirements

Proposition: Enforcement function vs requirements

The proposed definition of enforcement function satisfies the soundness, transparency, and optimality requirements.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 24 / 35

slide-68
SLIDE 68

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties Requirements on an Enforcement Mechanism Functional Definition of an Enforcement Mechanism Operational Description of an Enforcement Mechanism Algorithmic Description of an Enforcement Mechanism A note on Non-enforceable Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 25 / 35

slide-69
SLIDE 69

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor

EMϕ

Memory E(σ, t) | = ϕ σ

A rule-based transition system: configurations keep track of

the prefix of σ that has been corrected but yet to be output (“good memory”) the suffix of σ that cannot be corrected (“bad memory”) a clock reset at the moment of the last input event (“store clock”) a clock reset at the moment of the last output event (“dump clock”) a state in the semantics of the TA

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 26 / 35

slide-70
SLIDE 70

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor

EMϕ

Memory E(σ, t) | = ϕ σ

A rule-based transition system: configurations keep track of

the prefix of σ that has been corrected but yet to be output (“good memory”) the suffix of σ that cannot be corrected (“bad memory”) a clock reset at the moment of the last input event (“store clock”) a clock reset at the moment of the last output event (“dump clock”) a state in the semantics of the TA

an initial configuration

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 26 / 35

slide-71
SLIDE 71

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor

EMϕ

Memory E(σ, t) | = ϕ σ

A rule-based transition system: configurations keep track of

the prefix of σ that has been corrected but yet to be output (“good memory”) the suffix of σ that cannot be corrected (“bad memory”) a clock reset at the moment of the last input event (“store clock”) a clock reset at the moment of the last output event (“dump clock”) a state in the semantics of the TA

an initial configuration rule-based transitions executing enforcement operations (cf. next slide)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 26 / 35

slide-72
SLIDE 72

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor

EMϕ

Memory E(σ, t) | = ϕ σ

A rule-based transition system: configurations keep track of

the prefix of σ that has been corrected but yet to be output (“good memory”) the suffix of σ that cannot be corrected (“bad memory”) a clock reset at the moment of the last input event (“store clock”) a clock reset at the moment of the last output event (“dump clock”) a state in the semantics of the TA

an initial configuration rule-based transitions executing enforcement operations (cf. next slide) Remark: for safety and co-safety, some memories and clocks can be discarded.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 26 / 35

slide-73
SLIDE 73

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor: operations

  • 1. store-ϕ

when a new event is received and the new event cannot make the property satisfied by delaying. updates “bad” memory and store clock

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 27 / 35

slide-74
SLIDE 74

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor: operations

  • 1. store-ϕ

when a new event is received and the new event cannot make the property satisfied by delaying. updates “bad” memory and store clock

  • 2. store-ϕ

when a new event is received and the new event can make the property satisfied by delaying updates “good” memory and dump clock

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 27 / 35

slide-75
SLIDE 75

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor: operations

  • 1. store-ϕ

when a new event is received and the new event cannot make the property satisfied by delaying. updates “bad” memory and store clock

  • 2. store-ϕ

when a new event is received and the new event can make the property satisfied by delaying updates “good” memory and dump clock

  • 3. dump

when an event in the good memory can be released updates “good” memory and dump clock

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 27 / 35

slide-76
SLIDE 76

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement monitor: operations

  • 1. store-ϕ

when a new event is received and the new event cannot make the property satisfied by delaying. updates “bad” memory and store clock

  • 2. store-ϕ

when a new event is received and the new event can make the property satisfied by delaying updates “good” memory and dump clock

  • 3. dump

when an event in the good memory can be released updates “good” memory and dump clock

  • 4. idle

when no other rule can updates dump and store clocks

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 27 / 35

slide-77
SLIDE 77

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: correctness

Implementation relation between Enforcement Monitor and Enforcement Function

Given some property ϕ, at any time t, the input/output behavior of the synthesized enforcement monitor is the same as one of the corresponding enforcement function.

Corollary

Enforcement Monitors respect soundness, transparency, and optimality.

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 28 / 35

slide-78
SLIDE 78

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 0

  • Executed operation: none

ǫ

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: ǫ Bad Memory: ǫ State: (l0, 0)

(3, r)·(10, g)·(3, r)·(5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-79
SLIDE 79

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 3

  • Executed operation:

idle(3) ǫ

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: ǫ Bad Memory: ǫ State: (l0, 3)

(3, r)·(10, g)·(3, r)·(5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-80
SLIDE 80

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 3

  • Executed operation:

store-ϕ ǫ

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: ǫ Bad Memory: (3, r) State: (l0, 0)

←(10, g) · (3, r) · (5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-81
SLIDE 81

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 13

  • Executed operation:

idle(10) ǫ

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: ǫ Bad Memory: (3, r) State: (l0, 0)

←(10, g) · (3, r) · (5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-82
SLIDE 82

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 13

  • Executed operation:

store-ϕ ǫ

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: (13, r) · (15, g) Bad Memory: ǫ State: (l0, 0)

(3, r) · (5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-83
SLIDE 83

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 13

  • Executed operation:

dump (13, r)

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: (15, g) Bad Memory: ǫ State: (l0, 15)

(3, r) · (5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-84
SLIDE 84

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 16

  • Executed operation:

idle(3) (13, r)

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: (15, g) Bad Memory: ǫ State: (l0, 15)

(3, r) · (5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-85
SLIDE 85

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 16

  • Executed operation:

store-ϕ (13, r)

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: (15, g) Bad Memory: (3, r) State: (l0, 15)

(5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-86
SLIDE 86

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 21

  • Executed operation:

idle(5) (13, r)

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: (15, g) Bad Memory: (3, r) State: (l0, 15)

(5, r)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-87
SLIDE 87

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 21

  • Executed operation:

store-ϕ (13, r)

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: (15, g) Bad Memory: (3, r) · (5, r) State: (l0, 15)

ǫ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-88
SLIDE 88

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 28

  • Executed operation:

idle(7) (13, r)

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: (15, g) Bad Memory: (3, r) · (5, r) State: (l0, 15)

ǫ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-89
SLIDE 89

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Enforcement Monitor: example

t = 28

  • Executed operation:

dump (13, r) · (15, g) ←

l0 l1 l2 Σ \ {req, gr} req, x := 0 gr Σ \ {req, gr} Σ \ {gr}; g, x < 15 ∨ x > 20 gr, 15 ≤ x ≤ 20; x := 0 Σ

Good Memory: ǫ Bad Memory: (3, r) · (5, r) State: (l0, 15)

ǫ

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 29 / 35

slide-90
SLIDE 90

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties Requirements on an Enforcement Mechanism Functional Definition of an Enforcement Mechanism Operational Description of an Enforcement Mechanism Algorithmic Description of an Enforcement Mechanism A note on Non-enforceable Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 30 / 35

slide-91
SLIDE 91

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Implementation

Enforcement Monitor Dump Process Store Process

Memory(σs) σc E(σ, t) σ, t

Algorithm: StoreProcess (l, ν) ← (l0, [X ← 0]) σs, σc ← ǫ mt ← 0 while tt do (δ, a) ← await (event) σc ← σc · (δ, a) mt ← mt + δ (σ′

c, isPath) ← update(l, ν, σc, mt)

if isPath = tt then mt ← mt − time(σ′

c)

σs ← σs · σ′

c

(l, ν) ← post(l, ν, σ′

c)

σc ← ǫ end if end while Algorithm: DumpProcess d ← 0 while tt do await (σs = ǫ) (δ, a) ← dequeue (σs) wait (δ − d) dump (a) d ← 0 end while

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 31 / 35

slide-92
SLIDE 92

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties Requirements on an Enforcement Mechanism Functional Definition of an Enforcement Mechanism Operational Description of an Enforcement Mechanism Algorithmic Description of an Enforcement Mechanism A note on Non-enforceable Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 32 / 35

slide-93
SLIDE 93

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Non-enforceable response properties

Σ = {gr, req}. σ = (3, req) · (4, gr) · (2, req) · (6, gr).

l0 l1 l2 Σ \ {req, gr}

req, x ≤ 5

gr req, x < 5 Σ \ {req, gr} req; gr, x > 10 gr, x ≤ 10; x := 0 Σ Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 33 / 35

slide-94
SLIDE 94

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Non-enforceable response properties

Σ = {gr, req}. σ = (3, req) · (4, gr) · (2, req) · (6, gr).

l0 l1 l2 Σ \ {req, gr}

req, x ≤ 5

gr req, x < 5 Σ \ {req, gr} req; gr, x > 10 gr, x ≤ 10; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t)

slide-95
SLIDE 95

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Non-enforceable response properties

Σ = {gr, req}. σ = (3, req) · (4, gr) · (2, req) · (6, gr).

l0 l1 l2 Σ \ {req, gr}

req, x ≤ 5

gr req, x < 5 Σ \ {req, gr} req; gr, x > 10 gr, x ≤ 10; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 7[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t)

slide-96
SLIDE 96

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Non-enforceable response properties

Σ = {gr, req}. σ = (3, req) · (4, gr) · (2, req) · (6, gr).

l0 l1 l2 Σ \ {req, gr}

req, x ≤ 5

gr req, x < 5 Σ \ {req, gr} req; gr, x > 10 gr, x ≤ 10; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 7[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [7, 9[

  • bs(σ, t) = (3, req) · (4, gr)

storeϕ(obs(σ, t)) = (ǫ, (3, req) · (4, gr)) Eϕ(σ, t) = obs(ǫ, t)

slide-97
SLIDE 97

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Non-enforceable response properties

Σ = {gr, req}. σ = (3, req) · (4, gr) · (2, req) · (6, gr).

l0 l1 l2 Σ \ {req, gr}

req, x ≤ 5

gr req, x < 5 Σ \ {req, gr} req; gr, x > 10 gr, x ≤ 10; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 7[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [7, 9[

  • bs(σ, t) = (3, req) · (4, gr)

storeϕ(obs(σ, t)) = (ǫ, (3, req) · (4, gr)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [9, 15[

  • bs(σ, t) = (3, req) · (4, gr) · (2, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req) · (4, gr) · (2, req)) Eϕ(σ, t) = obs(ǫ, t)

slide-98
SLIDE 98

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Non-enforceable response properties

Σ = {gr, req}. σ = (3, req) · (4, gr) · (2, req) · (6, gr).

l0 l1 l2 Σ \ {req, gr}

req, x ≤ 5

gr req, x < 5 Σ \ {req, gr} req; gr, x > 10 gr, x ≤ 10; x := 0 Σ

t ∈ [0, 3[

  • bs(σ, t) = ǫ

storeϕ(obs(σ, t)) = (ǫ, ǫ) Eϕ(σ, t) = obs(ǫ, t) t ∈ [3, 7[

  • bs(σ, t) = (3, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [7, 9[

  • bs(σ, t) = (3, req) · (4, gr)

storeϕ(obs(σ, t)) = (ǫ, (3, req) · (4, gr)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [9, 15[

  • bs(σ, t) = (3, req) · (4, gr) · (2, req)

storeϕ(obs(σ, t)) = (ǫ, (3, req) · (4, gr) · (2, req)) Eϕ(σ, t) = obs(ǫ, t) t ∈ [15, ∞]

  • bs(σ, t) = (3, req) · (4, gr) · (2, req) · (6, gr)

storeϕ(obs(σ, t)) = (ǫ, (3, req) · (4, gr) · (2, req) · (6, gr)) Eϕ(σ, t) = obs(ǫ, t)

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 33 / 35

slide-99
SLIDE 99

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Outline - Runt. Enforcement of Regular Timed Properties

1

Introduction

2

Specifying Timed Properties

3

Runtime Enforcement of Regular Timed Properties

4

Conclusions and Future Work

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 34 / 35

slide-100
SLIDE 100

Introduction Specifying Timed Properties Runtime Enforcement of Regular Timed Properties Conclusions and FW

Conclusions and Future Work

Enforcement monitoring for systems with timing requirements.

Input any regular timed property modeled as a timed automaton. Enforcement mechanisms described at several levels of abstraction (enforcement function, enforcement monitor and algorithms). Exhibiting a notion of non-enforceable properties.

Future Work

Delineate the set of enforceable response properties. More expressive formalisms such as context-free timed languages. Requirements with constraints on data and time – cf. WODES’14. Alternative enforcement primitives (reduce delays, suppress events). Implementing efficient enforcement monitors (in application scenarios).

Pinisetty, Falcone, J´ eron, Marchand (INRIA, UJF) Runtime Enforcement of Regular Timed Properties SAC-SVT 2014, Gyeongju, Korea 35 / 35