什么是数据流图 DFD?

发布于 2024-07-11 14:22:13 字数 1435 浏览 6 评论 0原文

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

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

发布评论

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

评论(3

罪歌 2024-07-18 14:22:13

正如您所看到的,数据流图是显示应用程序中的数据流的图表。

在最高级别,您有上下文图,可以表示为:

          +-------------+
input --> | Application | --> output
          +-------------+

You can zoom into the function to show detailed dataflow:

          +-------+      +--------+     +----------+
code  --> | lexer | -->  | parser | --> | treetool | --> grapical representation
          +-------+      +--------+     +----------+
              |              ^                 ^
              |              |                 |
              |              V                 |
              |    ================            |
              +--> | symbol table | -----------+
                   ================

如您所见,有函数和数据存储。 函数可以更改数据,数据存储用于存储和检索数据。

As you can see, is a data flow diagram a diagram that shows the dataflow in an application.

At the highest level you have the context diagram that can be represented as:

          +-------------+
input --> | Application | --> output
          +-------------+

You can zoom into the function to show detailed dataflow:

          +-------+      +--------+     +----------+
code  --> | lexer | -->  | parser | --> | treetool | --> grapical representation
          +-------+      +--------+     +----------+
              |              ^                 ^
              |              |                 |
              |              V                 |
              |    ================            |
              +--> | symbol table | -----------+
                   ================

As you see, there are functions and data stores. Functions can change the data and datastores are used to store and retrieve the data.

独自唱情﹋歌 2024-07-18 14:22:13

数据流图(DFD)是数据/信息流的图形表示。 它用于显示数据如何在不同进程之间移动。

有 4 个基本符号元素:

  • 圆:操作
  • 框:信息接收器,(输入/输出)
  • 平行条:数据存储/文件/数据库
  • 弧:信息/数据流

DFS 位于问题域而不是解决方案域中。 它们基本上是基于信息流的事物如何运作的顶级模型。 DFD 中也不支持并发表示。

以下是示例:

在此处输入图像描述

Data Flow Diagram (DFD) is graphical representation of flow of data/info. It is used to show how data is moved between different processes.

There are 4 basic notation elements:

  • Circle: Operation
  • Box: Sink of information, (input/output)
  • Parrallel Bar: Data store / File / Database
  • Arc: Flow of info/data

DFS's are in problem domain rather than in solution domain. They are basicly top level model of how something operates based on flow of information. Also there is no support for concurrency representation in DFD.

Following is an example:

enter image description here

む无字情书 2024-07-18 14:22:13

上面解释了“什么”。

DFD 对项目经理没有帮助。
DFD 主要有助于开发人员更好地了解数据在(子)系统中的组件之间如何流动。

The "What" is explained above.

DFD's don't help project managers.
DFD's are mainly useful for developers to get a good overview of how data flows between components in a (sub)system.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文