UML类图是描述系统结构的唯一符号 /语言吗?

发布于 2025-02-04 12:18:08 字数 41 浏览 3 评论 0原文

除经典的UML类图外,还可以使用哪些其他语言或符号来描述系统的结构?

What other languages or notations can be used to describe the structure of the system in addition to the classic UML class diagram?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

再可℃爱ぅ一点好了 2025-02-11 12:18:08

系统的结构可以在许多口味中表达。例如:

  • UML类图。这就是显微镜:如果您想显示最详细的级别。
  • uml组件图 。这就是放大镜:您可以显示更高级别的可互换组件。
  • uml复合结构。这就是手术视图:您打开组件以显示内部的类和零件。
  • UML部署图。它显示了如何在人工制品(可执行文件,库,配置文件)中实现组件并在处理节点上分布。
  • c4型号图。这些允许在上下文(其环境中的系统),容器(主平台/服务器/…)和floctable级别(主要是嵌套的框)中显示系统的高级别结构(主要是嵌套的框)和组件级别。它很简单,直观但不如UML精确,这就是为什么C4依赖于更详细的较低级别(例如UML类图)的原因。

还有许多其他,但是UML是许多这些建模技术的收敛性,并且涵盖了结构的完整范围。

请注意,我不是故意的报价:

  • ERD图,因为这些不是用于建模系统的完整结构,而是仅用于域信息的完整结构。
  • Archimate> Archimate 它是另一个非常丰富的语言,具有几个功能为建筑目的描述更高级别的系统结构,但不适合实施级别。

The structure of a system can be expressed in many flavors. For example:

  • UML class diagram. That‘s the microscope: you can show the most detailed level if you wan to.
  • UML component diagram. That‘s the magnifying glasses: you can show higher level of interchangeable components.
  • UML composite structure. That‘s the surgical view: you open up components to show the classes and parts which are inside.
  • UML deployment diagram. It shows how components are materialized in artefacts (executables, libraries, configuration files) and distributed on processing nodes.
  • C4 model diagrams. These allow to show the high level structure of a system in a light, simple an intuitive manner (mostly nested boxes), at the level of the context (system in its environment), the container (main platforms/servers/…) and the component level. It‘s simple, intuitive but less precise than UML, and this is why C4 relies on UML for lower levels that are more detailed (e.g. UML class diagrams).

There are many others, but UML is the convergence of many of these modeling techniques and covers the full spectrum of the structure.

Note that I didn‘t on purpose quote:

  • ERD diagrams as these are not meant for modeling the full structure of a system, but only of domain information.
  • Archimate which is another very rich language that has several features to describe system structure at a higher level, for architectural purpose, but is not suited for implementation level.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文