0

我正在研究 SysSML 来描述复杂系统的结构,我想知道哪个是描述网络配置的最合适的图表。让我们假设系统的一部分(宏组件)是由通过 LAN 网络相互交互的不同组件组成的。我们可能会有一个框图来描述其架构(即一个路由器、一台服务器、一个客户端等),据我所知,我们还可以为每个相关组件创建一个内部框图来描述它们的结构。

我的疑问是,如何通过宏组件中的路由器表示服务器 A 和客户端 B 之间的物理连接?答案可能是使用 UML 2.0 中指定的部署图,您认为还有更好的方法吗?

此外,给定在客户端和服务器之间传输的某些内容(即消息,在块或类消息中定义),是否有可能表达消息和网络之间的关系(即通过该网络的流包括这种类型的消息)?

非常感谢

4

1 回答 1

1

What do you want to describe? The software components deployed on the server, router and client and what communication paths they have? Then a deployment diagram is the right choice. If it is the software components, their interfaces and their logical wiring, a component diagram is the way to go. And if you want to describe the hardware and their physical connections together with the software blocks and their interfaces an ibd with ports and InterfaceBlocks would be right.

Please note that SysML software blocks cannot be realized by classes. They will only be placeholders for an UML Component, that can.

There is an overlap between the ibd and deployment diagrams. However, the focus of both is clear. A deployment diagram shows software components deployed on hardware. The hardware is just described superficially. An ibd shows hardware and software blocks that together form a system. The software is only described superficially.

A message would be modeled by a Signal. The InterfaceBlocks used to define the ports of the blocks in the ibd would have receptions for the signal. If two such ports are connected, it means that the Signal can flow between them.

于 2020-10-29T21:17:10.240 回答