SlideShare a Scribd company logo
1 of 20
Download to read offline
A presentation on
Timing Diagrams
Presented by Khaled Amirat
Supervised by Pr Abdelkrim Amirat
Department of Mathematics and Computer Science
University of Souk Ahras, Algeria
2017
1
The layout of the presentation will lead the following outline
Lifeline ( Ligne de Vie ),
Timing Ruler (La regle du temps),
State or Condition Timeline (Etat ou Condition),
Duration Constraint (Contrainte de Durée ),
Time Constraint (Contrainte de Temps),
Events (l'événement),
And some Examples.
Timing Diagrams
Timing diagram is one of the four view if the interaction model in
UML interaction diagrams used to show interactions when a primary
purpose of the diagram is to reason about time. Timing diagrams focus
on conditions changing within and among lifelines along a linear time
axis.
They are used to explore the behaviors of one or more objects
throughout a given period of time.
Life Line (1)
Lifeline is a named element which represents an individual
participant in the interaction.
Lifelines represent only one interacting entity.
The time flows from left to right.
EX : Lifelines representing instances of
System and Virus
Life Line (2)
When the system is in that state, a line is drawn in that band for the
duration of the time the system is in the state. The time axis is linear,
although special notations are sometimes used to indicate long
uninteresting periods of time.
EX Traffic Light
Life Line (3)
A value lifeline shows the change of value of an item over time. The
X-axis displays elapsed time in whatever units are chosen, the same as
for the state lifeline. The value is shown between the pair of horizontal
lines which cross over at each change in value. A value lifeline is shown
below.
EX Traffic Light
Timing Ruler
A timing ruler is a graduated device for indicating the passage of
time on a timing diagram. The graduations are called ticks and are
typically placed on the lower edge of the diagram frame. Time runs
from left to right. The scale and time units (ticks) depend upon what
the diagram represents and may be sub-second units such as
milliseconds or larger time divisions such as hours, days, months or
even years.
State or Condition timeline
Timing diagram could show states of the participating classifier or
attribute, or some testable conditions, such as a discrete or
enumerable value of an attribute.
It shows the changing state of an item over time.
Ex Timeline shows Virus changing its
state between Dormant, Propagation,
Triggering and Execution state
Duration Constraint (1)
A duration constraint is a type of interval constraint that specifies
that one or more model elements must conform to a restriction
specified by a duration interval.
Duration Constraint (2)
Like any constraint the duration constraint is used when the formal
semantics of an element are insufficient to express some restriction on
the modeled elements. A duration interval defines minimum and
maximum values defining a range, and this range of allowable values is
specified by the duration constraint and applied to one or more
elements. If the constraint does not evaluate to TRUE in a running
system the duration interval is considered to be invalid.
Duration Constraint (3)
Ice should melt into water in 1 to 6 minutes
Time Constraint (1)
A time constraint is a type of interval constraint that specifies that
one or more model elements must conform to a restriction specified by
a time interval. A time constraint is not the time interval itself but a
constraint, which associates the interval with one or more elements
specifying how it restricts the elements, time semantics.
Time Constraint (2)
Time constraint is an interval constraint that refers to a time
interval. The time interval is time expression used to determine
whether the constraint is satisfied.
Time constraint is shown as graphical association between a time
interval and the construct that it constrains. Typically this graphical
association is a small line.
Time Constraint (3)
Person should wake up between 5:40 am and 6 am
Event Occurrence (General Value)
An event occurrence is both a type of interaction fragment and a
type of message end. Event occurrences mark the points on a lifeline
where events occur. An event occurrence is the basic unit of meaning
in an interaction. A lifeline is used to describe the way an instance, or a
classifier playing a role, changes over time and event occurrences mark
the points on lifelines where messages start or end.
Destruction Event (1)
Destruction occurrence is a message occurrence which represents
the destruction of the instance described by the lifeline. It may result in
the subsequent destruction of other objects that this object owns by
composition. No other occurrence may appear after the destruction
event on a given lifeline.
Notation
The destruction event is depicted by a cross in the form of an X at the
end of a timeline.
Destruction Event (2)
Virus lifeline is terminated
Destruction Event (2)
Timing Diagram Example - Stages of Alzheimer’s Disease
Destruction Event (2)
Timing Diagram Example - Stages of Alzheimer’s Disease
Thank You
20

More Related Content

What's hot

What's hot (20)

Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagram
 
The Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram TutorialThe Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram Tutorial
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot net
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
 
Sequence diagrame
Sequence diagrameSequence diagrame
Sequence diagrame
 
Sequence Diagram
Sequence DiagramSequence Diagram
Sequence Diagram
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
 
09 package diagram
09 package diagram09 package diagram
09 package diagram
 
From use case to software architecture
From use case to software architectureFrom use case to software architecture
From use case to software architecture
 
Object diagram
Object diagramObject diagram
Object diagram
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
 
Loc and function point
Loc and function pointLoc and function point
Loc and function point
 
Basic behavioral modeling chapter 3 of OMD
Basic behavioral modeling chapter 3 of OMDBasic behavioral modeling chapter 3 of OMD
Basic behavioral modeling chapter 3 of OMD
 
Coupling and cohesion
Coupling and cohesionCoupling and cohesion
Coupling and cohesion
 
software engineering
 software engineering software engineering
software engineering
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
 
forms builder
forms builderforms builder
forms builder
 
Component Diagram Example Templates
Component Diagram Example TemplatesComponent Diagram Example Templates
Component Diagram Example Templates
 

Similar to Timing diagram

Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
Ricardo Quintero
 
Improving predictability and performance by relating the number of events and...
Improving predictability and performance by relating the number of events and...Improving predictability and performance by relating the number of events and...
Improving predictability and performance by relating the number of events and...
Asoka Korale
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
babak danyal
 

Similar to Timing diagram (20)

Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
 
Sequence Diagram
Sequence Diagram Sequence Diagram
Sequence Diagram
 
Sequence Diagram
Sequence Diagram Sequence Diagram
Sequence Diagram
 
SE18_Lec 10_ UML Behaviour and Interaction Diagrams
SE18_Lec 10_ UML Behaviour and Interaction DiagramsSE18_Lec 10_ UML Behaviour and Interaction Diagrams
SE18_Lec 10_ UML Behaviour and Interaction Diagrams
 
SE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour DiagramsSE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour Diagrams
 
Jar chapter 4, part 1
Jar chapter 4, part 1Jar chapter 4, part 1
Jar chapter 4, part 1
 
Chapter7
Chapter7Chapter7
Chapter7
 
Improving predictability and performance by relating the number of events and...
Improving predictability and performance by relating the number of events and...Improving predictability and performance by relating the number of events and...
Improving predictability and performance by relating the number of events and...
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Exploiting inference to improve temporal RDF annotations and queries for mach...
Exploiting inference to improve temporal RDF annotations and queries for mach...Exploiting inference to improve temporal RDF annotations and queries for mach...
Exploiting inference to improve temporal RDF annotations and queries for mach...
 
stochasticmodellinganditsapplications.ppt
stochasticmodellinganditsapplications.pptstochasticmodellinganditsapplications.ppt
stochasticmodellinganditsapplications.ppt
 
Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
 
Interaction overview & Timing diagram
Interaction overview & Timing diagramInteraction overview & Timing diagram
Interaction overview & Timing diagram
 
Discrete Event Simulation.ppt
Discrete Event Simulation.pptDiscrete Event Simulation.ppt
Discrete Event Simulation.ppt
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
 
Uml report
Uml reportUml report
Uml report
 
D017311724
D017311724D017311724
D017311724
 
Model Based Software Timing Analysis Using Sequence Diagram for Commercial Ap...
Model Based Software Timing Analysis Using Sequence Diagram for Commercial Ap...Model Based Software Timing Analysis Using Sequence Diagram for Commercial Ap...
Model Based Software Timing Analysis Using Sequence Diagram for Commercial Ap...
 
SPECIFICATION OF THE STATE’S LIFETIME IN THE DEVS FORMALISM BY FUZZY CONTROLLER
SPECIFICATION OF THE STATE’S LIFETIME IN THE DEVS FORMALISM BY FUZZY CONTROLLERSPECIFICATION OF THE STATE’S LIFETIME IN THE DEVS FORMALISM BY FUZZY CONTROLLER
SPECIFICATION OF THE STATE’S LIFETIME IN THE DEVS FORMALISM BY FUZZY CONTROLLER
 
Ooad 3
Ooad 3Ooad 3
Ooad 3
 

Recently uploaded

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 

Recently uploaded (20)

Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 

Timing diagram

  • 1. A presentation on Timing Diagrams Presented by Khaled Amirat Supervised by Pr Abdelkrim Amirat Department of Mathematics and Computer Science University of Souk Ahras, Algeria 2017 1
  • 2. The layout of the presentation will lead the following outline Lifeline ( Ligne de Vie ), Timing Ruler (La regle du temps), State or Condition Timeline (Etat ou Condition), Duration Constraint (Contrainte de Durée ), Time Constraint (Contrainte de Temps), Events (l'événement), And some Examples.
  • 3. Timing Diagrams Timing diagram is one of the four view if the interaction model in UML interaction diagrams used to show interactions when a primary purpose of the diagram is to reason about time. Timing diagrams focus on conditions changing within and among lifelines along a linear time axis. They are used to explore the behaviors of one or more objects throughout a given period of time.
  • 4. Life Line (1) Lifeline is a named element which represents an individual participant in the interaction. Lifelines represent only one interacting entity. The time flows from left to right. EX : Lifelines representing instances of System and Virus
  • 5. Life Line (2) When the system is in that state, a line is drawn in that band for the duration of the time the system is in the state. The time axis is linear, although special notations are sometimes used to indicate long uninteresting periods of time. EX Traffic Light
  • 6. Life Line (3) A value lifeline shows the change of value of an item over time. The X-axis displays elapsed time in whatever units are chosen, the same as for the state lifeline. The value is shown between the pair of horizontal lines which cross over at each change in value. A value lifeline is shown below. EX Traffic Light
  • 7. Timing Ruler A timing ruler is a graduated device for indicating the passage of time on a timing diagram. The graduations are called ticks and are typically placed on the lower edge of the diagram frame. Time runs from left to right. The scale and time units (ticks) depend upon what the diagram represents and may be sub-second units such as milliseconds or larger time divisions such as hours, days, months or even years.
  • 8. State or Condition timeline Timing diagram could show states of the participating classifier or attribute, or some testable conditions, such as a discrete or enumerable value of an attribute. It shows the changing state of an item over time. Ex Timeline shows Virus changing its state between Dormant, Propagation, Triggering and Execution state
  • 9. Duration Constraint (1) A duration constraint is a type of interval constraint that specifies that one or more model elements must conform to a restriction specified by a duration interval.
  • 10. Duration Constraint (2) Like any constraint the duration constraint is used when the formal semantics of an element are insufficient to express some restriction on the modeled elements. A duration interval defines minimum and maximum values defining a range, and this range of allowable values is specified by the duration constraint and applied to one or more elements. If the constraint does not evaluate to TRUE in a running system the duration interval is considered to be invalid.
  • 11. Duration Constraint (3) Ice should melt into water in 1 to 6 minutes
  • 12. Time Constraint (1) A time constraint is a type of interval constraint that specifies that one or more model elements must conform to a restriction specified by a time interval. A time constraint is not the time interval itself but a constraint, which associates the interval with one or more elements specifying how it restricts the elements, time semantics.
  • 13. Time Constraint (2) Time constraint is an interval constraint that refers to a time interval. The time interval is time expression used to determine whether the constraint is satisfied. Time constraint is shown as graphical association between a time interval and the construct that it constrains. Typically this graphical association is a small line.
  • 14. Time Constraint (3) Person should wake up between 5:40 am and 6 am
  • 15. Event Occurrence (General Value) An event occurrence is both a type of interaction fragment and a type of message end. Event occurrences mark the points on a lifeline where events occur. An event occurrence is the basic unit of meaning in an interaction. A lifeline is used to describe the way an instance, or a classifier playing a role, changes over time and event occurrences mark the points on lifelines where messages start or end.
  • 16. Destruction Event (1) Destruction occurrence is a message occurrence which represents the destruction of the instance described by the lifeline. It may result in the subsequent destruction of other objects that this object owns by composition. No other occurrence may appear after the destruction event on a given lifeline. Notation The destruction event is depicted by a cross in the form of an X at the end of a timeline.
  • 17. Destruction Event (2) Virus lifeline is terminated
  • 18. Destruction Event (2) Timing Diagram Example - Stages of Alzheimer’s Disease
  • 19. Destruction Event (2) Timing Diagram Example - Stages of Alzheimer’s Disease