Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

State machine diagram versus Protocol state machine diagram

There is two types of state machine diagram:

  1. State machine diagram

  2. Protocol state machine

but I can't get the precise differences between them

like image 868
user2019510 Avatar asked Jun 13 '14 10:06

user2019510


People also ask

What is protocol state machine diagram?

A Protocol State Machine is always defined in the context of a classifier. It specifies which Operations of the classifier can be called, in which State, and under which condition, thus specifying the allowable call sequences on the classifier's operations.

What are the two types in state diagram?

Composite state – We use a rounded rectangle to represent a composite state also. We represent a state with internal activities using a composite state. Final state – We use a filled circle within a circle notation to represent the final state in a state machine diagram.

Is state machine the same as state diagram?

A state diagram, sometimes known as a state machine diagram, is a type of behavioral diagram in the Unified Modeling Language (UML) that shows transitions between various objects. Using our collaborative UML diagram software, build your own state machine diagram with a free Lucidchart account today!

What is the difference between state diagram and activity diagram?

UML State machine diagram and activity diagram are both behavioral diagrams but have different emphases. Activity diagram is flow of functions without trigger (event) mechanism, state machine is consist of triggered states.


1 Answers

Protocol state machine IS state machine, a special case of state machine, applied to protocol specification.

  • UML state machine defines the concepts, syntactcal rules and base semantics of state diagrams
  • In case of Protocol state machine is this base semantics refined and put in this specific technical context.

In summary, Protocol state machine is a concrete application of a plain UML state machines to protocol specification/modelling.

You might want to read this article to learn more about the protocol state machine and how it employs UML state machine:

http://www.uml-diagrams.org/protocol-state-machine-diagrams.html

like image 73
Aleks Avatar answered Sep 28 '22 03:09

Aleks