Unified modeling language
One: UML defines 5 categories, 10 models
The basic model diagrams provided by UML include:
(1), use case: Relationship between various types of executors provided by the exterior of the system and the various use cases provided by the system
(2)
(3)
(4), package: is a grouping mechanism. In the UML1.1 version, the package map no longer views a separate model map.
* (5), status diagram: Describe all possible status and transfer relationships of a class of objects (it shows all possible states of objects, and the transfer of status when specific events occur)
* (6), sequential diagram: a dynamic collaborative relationship between display objects (a set of objects composition, exchange messages between objects over time, highlighting time relationship)
* (7), cooperation map: Dynamic collaborative relationship between another angle display object (inter-object dynamic collaboration relationship, highlight message transceiver relationship)
* (8), activity map: Execution process of various activities in the system (execution order, execution process)
(9), component map: The physical structure of the display program code (describing the organizational structure of the program code, the dependence between various components)
(10), configuration diagram: Display software in a hardware environment (especially in distributed and network environments) configuration relationship (physical configuration and system architecture of hardware and software in the system)
Modeling process
First: Describe the requirements
Second: Establish a static model of the system based on the requirements to construct the structure of the system
Third: Describe the behavior of the system
The models established in the first step and the second step are static, including six diagrams such as examples, class diagrams, class diagrams, object maps, components, and configuration diagrams. These patterns constitute a static modeling mechanism of the standard modeling language UML.
The model established in the third step or can be executed or indicated in the timing state or interaction relationship, which includes four diagrams such as state diagrams, active diagrams, sequence diagrams, and cooperation. These patterns constitute the dynamic modeling mechanism of standard modeling language UML.
A system can be described using the following usual perspective:
(1), the use of the system: the function of description system from the operator outside the system
(2) The logical structure of the system: describes the static structures and dynamic behaviors within the system, that is, describes how to design system functions from the internal description.
(3) The composition of the system: describes which program components are described by the system.
(4) Compact the system: describe the concurrency of the system, emphasizing various communication and synchronization problems existing in the concurrent system
(5), system configuration: describe the configuration relationship between the software and various hardware devices