The dynamic model focuses on the control logic of the system, examines the changes of objects and their relationships at any time, and describes the states that involve timing and change.
Dynamic models include state diagrams and event-tracking graphs. A statechart diagram is a network of States and events that focuses on describing the dynamic behavior of each class of object. Event-tracking diagrams focus on describing a feature "scene" in the execution of a system, also called a script (scenarios), which is a sequence of events that completes a function of the system. Scripts usually start with an input event outside of a system, ending in an output event outside of a system.
A single message to an object is called an event, and a series of event queues that occur in a particular environment are called a scene. In a scenario, this sequence of events and objects that Exchange events can be represented in an event-tracking diagram.
The main steps to establish a dynamic model:
(1). Prepare the typical interactive sequence scene;
(2). Determine the events between objects, and create an event tracking chart for each scene;
(3). Prepare an event flowchart for each system;
(4) To establish a state diagram for classes with important dynamic behaviors;
(5). Verify the consistency and integrity of events shared in different statechart diagrams.