System modeling of Software Engineering: Design Dynamic Model

Source: Internet
Author: User

This chapter introduces the dynamic model design process, the system instance dynamic model uses the sequence diagram to describe, first introduced chooses the sequence diagram the reason, finally designs each use case main path the sequence diagram separately. The results of this design will enrich and improve the content of the system structure representation service layer, business context service layer, Business rule service layer, Data Transformation service layer and data Access Service layer.

1. Select sequence Diagram

UML provides 4 dynamic models in the form of graphs: Sequence diagrams, collaboration diagrams, State and activity diagrams, and sequence diagrams and collaboration diagrams are interactive graphs. A sequence diagram is a description of how an object interacts, the most important of which is time, which is used in most dynamic modeling because the sequence diagram is related to the use case path. A collaboration diagram is also a description of object delivery, but focus on object space collaboration, collaboration diagram is the "twin brother" sequence diagram, in sequence diagrams and collaboration diagrams can be optional, state diagram only in a class with the dynamic characteristics of replication is useful, more for real-time applications, most applications do not need a statechart diagram. Activity diagrams Describe the sequence of activities that are suitable for form workflows and concurrent processing. Sequence diagrams can clearly describe the implementation steps of a use case path, so it is used most in the system design, and the other 3 graphs are only used when needed, in the case of office automation system, only the sequence diagram can satisfy the need of the design dynamic model. A use case path is described by a sequence diagram, and the sequence of messages from a sequence diagram comes from a class diagram of the object sequences chosen by the use case path.

2. Select sequence Diagram

We take the dispatch process as an example, to explain the sequence diagram design, the new proposed dispatch sequence diagram is as follows:

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/project/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.