Skip to main content

数据字典(DD)

条目

  • 数据项
  • 数据流
  • 数据存储
  • 基本加工

数据项

组成数据流或数据存储的最小元素。

符号

=meanis defined as+meancombined withcasex=a+b[|]meanorcasex=[a|b]{}meaninfinity repeatcasex={a}min{}maxmeanlimited repeatcasex=2{a}8()meanoptionalcasex=(a)""meanvaluecasex="c"...meanone ofcasex=0...9\textbf{=} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{is \space defined \space as}} \\ \textbf{+} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{combined \space with}} \xrightarrow{case} \text{x=a+b} \\ \textbf{[|]} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{or}} \xrightarrow{case} \text{x=[a|b]} \\ \text{\{\}} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{infinity \space repeat}} \xrightarrow{case} \text{x=\{a\}} \\ \textbf{\scriptstyle{min}\{\}\scriptstyle{max}} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{limited \space repeat}} \xrightarrow{case} \text{x=2\{a\}8} \\ \textbf{()} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{optional}} \xrightarrow{case} \text{x=(a)} \\ \textbf{""} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{value}} \xrightarrow{case} \text{x="c"} \\ \textbf{...} \textcolor{gray}{\xrightarrow{mean}} \textcolor{orange}{\scriptsize{one \space of}} \xrightarrow{case} \text{x=0...9}

数据流

对DFD中数据流的定义。

数据存储

对DFD中数据存储的定义。

基本加工

对DFD中加工逻辑的定义,使用结构化语言、判定表或判定树表示。

结构化语言

分为外层和内层

外层

  • 顺序结构
    • 祈使句、选择语句、重复语句顺序排列。
  • 选择结构
    • IF THEN ELSE ENDIF
    • CASE OF ENDCASE
  • 重复结构
    • DO WHILE ENDDO
    • REPEATR UNTIL

内层

祈使句自然语言短语。

判定表

条件定义
条件取值的组合
动作定义
在各种条件下应该执行的动作

判定树