Finite Interval-Time Transition System for Real-Time Actors - - PowerPoint PPT Presentation

finite interval time transition system
SMART_READER_LITE
LIVE PREVIEW

Finite Interval-Time Transition System for Real-Time Actors - - PowerPoint PPT Presentation

Finite Interval-Time Transition System for Real-Time Actors Shaghayegh Tavassoli, Ramtin Khosravi, and Ehsan Khamespanah TTCS 2020 Introduction 1/23 Introduction Real-time systems 1/23 Introduction Real-time systems


slide-1
SLIDE 1

Shaghayegh Tavassoli, Ramtin Khosravi, and Ehsan Khamespanah

Finite Interval-Time Transition System for Real-Time Actors

TTCS 2020

slide-2
SLIDE 2

Introduction

1/23

slide-3
SLIDE 3

Introduction

 Real-time systems

1/23

slide-4
SLIDE 4

Introduction

 Real-time systems  Non-deterministic time behavior

1/23

slide-5
SLIDE 5

Introduction

 Real-time systems  Non-deterministic time behavior  Distributed real-time systems

1/23

slide-6
SLIDE 6

Introduction

 Real-time systems  Non-deterministic time behavior  Distributed real-time systems  Timed-Rebeca

1/23

slide-7
SLIDE 7

Purpose of this paper

2/23

slide-8
SLIDE 8

Purpose of this paper

 Presenting a time-interval extension to Timed-Rebeca

2/23

slide-9
SLIDE 9

Purpose of this paper

 Presenting a time-interval extension to Timed-Rebeca  Introducing Interval-Time Transition System (ITTS)

2/23

slide-10
SLIDE 10

Timed-Rebeca

3/23

reactiveclass PingClass(3) { knownrebecs { PongClass pong1; } Statevars { //e.g. int v1, v2; } PingClass() { self.ping() } msgsrv ping() { pong1.pong() after(1); delay(2); } } reactiveclass PongClass(3) { knownrebecs { PingClass ping1; } msgsrv pong() { ping1.ping() after(1); delay(i); } } main { PingClass pi(po) : (); PongClass po(pi) : (); }

Timed-Rebeca model of ping-pong example (from [1] with slight modifications)

slide-11
SLIDE 11

Timed-Rebeca with intervals

4/23

reactiveclass PingClass(3) { knownrebecs { PongClass po; } PingClass() { self.ping() } msgsrv ping() { po.pong() after([8,16)); } }

reactiveclass PongClass(3) { knownrebecs { PingClass pi; } PongClass() { self.pong(); } msgsrv pong() { pi.ping() after([8,16)); } } main { PingClass pi(po) : (); PongClass po(pi) : (); }

slide-12
SLIDE 12

Interval Time Transition System (ITTS)

 Notation and basic definitions  States in ITTS  Order of events in ITTS  Transitions definition

5/23

slide-13
SLIDE 13

Notation and basic definition

6/23

slide-14
SLIDE 14

Notation and basic definition

 Time intervals:

6/23

slide-15
SLIDE 15

Notation and basic definition

 Time intervals:  Updating an interval:

6/23

slide-16
SLIDE 16

Notation and basic definition

 Time intervals:  Updating an interval:  Message definition:

6/23

slide-17
SLIDE 17

States in ITTS

 Local state of an actor with ID x:

7/23

slide-18
SLIDE 18

States in ITTS

 Local state of an actor with ID x:  Global system state:

7/23

slide-19
SLIDE 19

Global system state example

8/23

slide-20
SLIDE 20

Order of events in ITTS

9/23

Time

gs1:

msg1 msg2 msg3

EE2(gs1) EE3(gs1) EE1(gs1)

slide-21
SLIDE 21

Transitions

 Message processing

 Taking a message from the message bag  Internal transition

 Time progress (TP)

 Type 1  Type 2

10/23

slide-22
SLIDE 22

Message processing

11/23

Time

gs1:

msg1 msg2 msg3 Time interval of gs1

slide-23
SLIDE 23

Message processing

 Taking a message from the message bag

12/23

slide-24
SLIDE 24

Message processing

 Taking a message from the message bag  Internal transition

 Assignment statement  Send statement 12/23

slide-25
SLIDE 25

Message Processing

13/23

slide-26
SLIDE 26

Type 1 time progress

14/23

Time

s:

msg1 msg2

gs1:

Time interval of gs1

slide-27
SLIDE 27

Type 1 time progress

14/23

Time

s:

msg1 msg2

gs2:

Time interval of gs2

slide-28
SLIDE 28

Type 1 time progress

15/23

slide-29
SLIDE 29

Type 2 time progress

16/23

Time

s:

msg1 msg2

gs1:

Time interval of gs1

slide-30
SLIDE 30

Type 2 time progress

16/23

Time

s:

msg1 msg2

gs2:

Time interval of gs2

slide-31
SLIDE 31

Type 2 time progress

17/23 ds(mb,t) changes the lower bound of messages in mb which start earlier than t, to t.

slide-32
SLIDE 32

Type 2 time progress

17/23 ds(mb,t) changes the lower bound of messages in mb which start earlier than t, to t.

slide-33
SLIDE 33

Making state space finite

 No explicit time reset operator

18/23

slide-34
SLIDE 34

Making state space finite

 No explicit time reset operator  Modeling recurrent behavior

18/23

slide-35
SLIDE 35

Making state space finite

 No explicit time reset operator  Modeling recurrent behavior  Equivalence between two states in ITTS

18/23

slide-36
SLIDE 36

Shift equivalence relation in ITTS

 Equivalence of two time intervals:

18/23

slide-37
SLIDE 37

Shift equivalence relation in ITTS

 Equivalence of two time intervals:  Equivalence of two messages:

18/23

slide-38
SLIDE 38

Shift equivalence relation in ITTS

 Equivalence of two local states of an actor with ID x:

19/23

slide-39
SLIDE 39

Shift equivalence relation in ITTS

 Equivalence of two local states of an actor with ID x:  Equivalence of two global system states:

19/23

slide-40
SLIDE 40

Two equivalent states

20/23

slide-41
SLIDE 41

Shift equivalence relation in ITTS

 Shift equivalence relation in ITTS is a bisimulation

relation:

21/23

slide-42
SLIDE 42

Conclusion

22/23

slide-43
SLIDE 43

Conclusion

 Presenting an extension to Timed-Rebeca

22/23

slide-44
SLIDE 44

Conclusion

 Presenting an extension to Timed-Rebeca  Using Timed-Rebeca with intervals for modeling

nondeterministic time behavior

22/23

slide-45
SLIDE 45

Conclusion

 Presenting an extension to Timed-Rebeca  Using Timed-Rebeca with intervals for modeling

nondeterministic time behavior

 Defining the semantics of Timed-Rebeca with intervals

as ITTS

22/23

slide-46
SLIDE 46

Conclusion

 Presenting an extension to Timed-Rebeca  Using Timed-Rebeca with intervals for modeling

nondeterministic time behavior

 Defining the semantics of Timed-Rebeca with intervals

as ITTS

 Preventing state space explosion using shift equivalence

relation in ITTS

22/23

slide-47
SLIDE 47

References

1.

  • M. Sirjani and E. Khamespanah, “On time actors,” in Theory

and Practice of Formal Methods, vol. 9660 of Lecture Notes in Computer Science, 2016, pp. 373–392.

23/23

slide-48
SLIDE 48

Thank you