JPH11102291A - Specification consistency certification system - Google Patents

Specification consistency certification system

Info

Publication number
JPH11102291A
JPH11102291A JP26326597A JP26326597A JPH11102291A JP H11102291 A JPH11102291 A JP H11102291A JP 26326597 A JP26326597 A JP 26326597A JP 26326597 A JP26326597 A JP 26326597A JP H11102291 A JPH11102291 A JP H11102291A
Authority
JP
Japan
Prior art keywords
model
specifications
data flow
logical
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26326597A
Other languages
Japanese (ja)
Inventor
Takayasu Kasahara
孝保 笠原
Naoyuki Yamada
直之 山田
Yoshikazu Ishii
良和 石井
Toshihiko Nakano
利彦 中野
Toshiaki Higashihara
敏昭 東原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP26326597A priority Critical patent/JPH11102291A/en
Publication of JPH11102291A publication Critical patent/JPH11102291A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To certify the consistency of mutual detailed design specifications described by different logic models. SOLUTION: A consistency check function 105 for specifications traces the detailed correspondence of specifications between Views at an upstream level so as to map it onto the specification between Views at a downstream level. The pair of specifications made correspondent like this is checked in consistency based on the rules of consistency between Views stored in View relation information 102.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はFAシステムや火力
・原子力プラント,ネットワーク情報制御システムなど
の制御ソフトウエア及びマン・マシンソフトウエアの正
しさを検証するシステム、特に仕様相互の整合性の検証
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for verifying the correctness of control software and man-machine software such as an FA system, a thermal power plant, a nuclear power plant, and a network information control system, and more particularly to the verification of the mutual compatibility of specifications. .

【0002】[0002]

【従来の技術】従来の技術としては、プログラムおよび
モジュール仕様書から仕様情報を抽出して統合化DBに
格納し、一方が変更された場合には、他方を変更結果の
情報が抽出されて格納された統合化DBを用いて逆生成
することにより仕様の整合性を維持する技術がある(ソ
フトウエア開発システム:特許第2606356号公報)。ま
た、状態遷移関係が上流の仕様と下流の仕様の間で正し
く詳細化されているかを判定する技術(仕様検証方式:
特開平6−282423 号公報)や、プログラムの呼び出しの
インターフェースにしぼって、設計情報を格納して実際
のプログラムとの整合性を検査する技術(インターフェ
ース検査装置:特許第2560545 号公報)がある。
2. Description of the Related Art As a conventional technique, specification information is extracted from a program and a module specification and stored in an integrated DB, and when one is changed, information on a change result is extracted and stored in the other. There is a technique for maintaining the consistency of specifications by reverse generation using the integrated DB that has been made (software development system: Japanese Patent No. 2606356). Also, a technique for determining whether the state transition relationship is correctly detailed between an upstream specification and a downstream specification (specification verification method:
Japanese Patent Application Laid-Open No. Hei 6-282423) and a technique for checking the consistency with an actual program by storing design information by focusing on an interface for calling a program (Interface inspection apparatus: Japanese Patent No. 2560545).

【0003】[0003]

【発明が解決しようとする課題】上記従来技術では、状
態遷移関係などの、単一の論理モデル上での上流と下流
の仕様の整合性のチェックが可能であるか、または、同
一の詳細度における同一内容の仕様が、設計図書のなか
に散在する場合に内容の一致化を図ることが可能であっ
たが、同じ内容の仕様が、異なった論理モデル上で順次
詳細化された場合に、詳細化された仕様相互の整合性を
効率よく検証したり、または、ある論理モデルのある詳
細化レベルでの仕様の修正に伴う整合性の維持を、異な
った論理モデル相互の間で維持することは困難であっ
た。
In the above-mentioned prior art, it is possible to check the consistency between the specifications of upstream and downstream on a single logical model, such as a state transition relationship, or to provide the same level of detail. It was possible to match the contents when the specifications of the same content in were scattered in the design document, but when the specifications of the same content were sequentially detailed on different logical models, Efficiently verify the reconciliation of refined specifications, or maintain the consistency of a specification modification at a certain level of a logical model between different logical models Was difficult.

【0004】[0004]

【課題を解決するための手段】上記目的は、仕様を記述
するための論理的枠組である複数のView の詳細化が正
しく行われたかどうかを、それぞれのView について判
定するView 詳細化ルールを格納する詳細化ルールD
B、およびView とView との関連を定義するView 関
連情報を格納するView 関連情報DB、およびこれらの
データの定義を支援するView 定義支援機構,定義され
た、それぞれのView の論理的枠組みにしたがって仕様
の入力を支援する仕様入力支援機構、および入力された
仕様を格納する仕様格納DB、および生成された仕様総
合の整合性をチェックする整合性チェック機構からな
る。
SUMMARY OF THE INVENTION An object of the present invention is to store a view refinement rule for judging, for each view, whether or not a plurality of views, which are a logical framework for describing specifications, have been correctly refined. Refinement rule D
B, a View related information DB that stores the view related information that defines the relationship between the views and the view, and a view definition support mechanism that supports the definition of these data, according to the defined logical framework of each view. The system comprises a specification input support mechanism for supporting the input of specifications, a specification storage DB for storing the input specifications, and a consistency check mechanism for checking the consistency of the generated specifications.

【0005】[0005]

【発明の実施の形態】View 定義支援機能は、複数のV
iew の論理モデルと詳細化ルールを定義するのに用いら
れる。仕様入力支援機能は、複数のView の論理モデル
と、View の関係情報を用いて、View ごとの仕様とV
iew 間の仕様の対応関係の入力の支援に用いられる。一
旦、上流の仕様でView 間の仕様の対応づけが定義され
ると、それぞれのView ごとに、整合性チェック機能に
より、それぞれのView の詳細化ルールを参照して、詳
細化が正しく行われたかチェックしながら、仕様入力支
援機能により仕様が定義され仕様格納DBに格納され
る。
BEST MODE FOR CARRYING OUT THE INVENTION
Used to define the logical model and refinement rules for iew. The specification input support function uses the logical model of a plurality of views and the relation information of the views to specify the specification and the V
It is used to support input of the correspondence of specifications between iew. Once the specification mapping between views is defined in the upstream specification, for each view, the consistency check function refers to the detail rules for each view, and is the detail refinement performed correctly? While checking, the specification is defined by the specification input support function and stored in the specification storage DB.

【0006】また、仕様の整合性チェック機構は、上流
レベルでのView 間の仕様の対応づけを、それぞれのV
iew 内での詳細化の対応づけをたどることにより、下流
でのView 間の仕様の対応づけにマッピングする。この
ように対応づけられた仕様の組はView 関連情報に収め
られたView 間の整合性ルールにより整合性をチェック
される。これによって、上流でのView 間の仕様の対応
づけだけによって下流でのView 間の仕様の整合性のチ
ェックを容易に行うことができる。
[0006] The specification consistency check mechanism compares the specifications between the views at the upstream level with each VIE.
By mapping the detailing within the iew, mapping is performed to the correspondence of specifications between the downstream views. The set of specifications associated in this manner is checked for consistency by the consistency rules between views contained in the view related information. As a result, it is possible to easily check the consistency of the specifications between the downstream views only by associating the specifications between the upstream views.

【0007】以下、図1を用いて本発明の一実施例を説
明する。仕様入力および検証システムはView 詳細化ル
ールDB,View 関連情報DB、および仕様格納DBの
3つのDBおよび、View 定義支援機能,整合性チェッ
ク機能、および仕様入力支援機能の3つの機能からな
る。この仕様入力および検証システムにより、いかに仕
様が定義され、仕様相互の矛盾のチェックが行われるか
を以下に、大規模・分散システムにおける時計一致処理
の設計を例にとり説明する。図6に設計対象システムの
ハードウエア構成を示す。
An embodiment of the present invention will be described below with reference to FIG. The specification input and verification system is composed of three DBs: a view detailing rule DB, a view related information DB, and a specification storage DB, and three functions: a view definition support function, a consistency check function, and a specification input support function. The following describes how specifications are defined by this specification input and verification system and checks for inconsistencies between specifications are performed, taking as an example the design of clock matching processing in a large-scale / distributed system. FIG. 6 shows a hardware configuration of the system to be designed.

【0008】本システムはFAシステムなどの半自動運
転を制御,監視するためのシステムで全体システムを管
理する統括管理システム,FAシステム内の個々の装置
の運転を支援する運転支援システム,システム全体の状
態を監視する監視装置、およびシステムの標準時計から
なる。本システムは、それぞれの装置が物理的に分散し
ており、各々が独自の時計をもってシステムの機能を実
現している。このようなシステムにおいては、立ち上げ
時と定期的に各装置の時計を一致化させる必要がある。
This system is a system for controlling and monitoring semi-automatic operation such as an FA system, which is a general management system for managing the entire system, a driving support system for supporting the operation of individual devices in the FA system, and a state of the entire system. The system consists of a monitoring device and a standard clock of the system. In this system, each device is physically dispersed, and each realizes the function of the system with its own clock. In such a system, it is necessary to synchronize the clocks of the respective devices at the time of startup and periodically.

【0009】図2は、この一致化処理の最上位の仕様を
一般的なデータフローのモデルで記述したものである。
データフローのモデルでは、処理を装置と装置の間を流
れるデータの流れとして記述する。一致化処理は、シス
テムの初期化要求が統合管理装置に対して初期化を要求
した場合、または、統括管理装置の時計がある時刻を指
した時に定期的に起動する。その際、図2に示したよう
に、まず統括管理装置は標準時計に対して時刻要求を送
信する。すると、標準時計からは、一致化時刻が統括装
置に帰される。この一致化時刻を統括管理装置が受け取
ると、その時刻を配下の装置に送信し全体システムの時
計の一致化を図る。ただし、ここでは、説明を簡単にす
るために通信時間に伴う時刻のずれの補正は省略する。
FIG. 2 describes the uppermost specification of the matching processing in a general data flow model.
In the data flow model, processing is described as a flow of data flowing between devices. The matching process is started periodically when a system initialization request requests initialization of the integrated management device or when the clock of the central management device indicates a certain time. At that time, as shown in FIG. 2, first, the supervisory device transmits a time request to the standard clock. Then, from the standard clock, the matching time is returned to the supervising device. When the centralized management device receives the coincidence time, the time is transmitted to the subordinate device, and the clocks of the entire system are synchronized. However, here, the correction of the time lag due to the communication time is omitted to simplify the description.

【0010】ところで、図2のようなデータフロー図
は、データがどのハードウエアの間を行き来きしている
かを把握するのにはよいが、どの順序でどのようにデー
タが流れるのかは把握しにくい。そのような観点から、
仕様を記述するには、その点を補うため図3のような状
態遷移図なども利用されるのが普通である。状態遷移図
は、事象の発生とともにシステムの状態がどう変化する
かを記述するもので、各状態ごとに、発生する事象,遷
移を起こす事象、および遷移先によってシステムを特徴
づける。
By the way, a data flow diagram as shown in FIG. 2 is good for grasping between which hardware data flows, but it is also necessary to grasp in what order and how data flows. Hateful. From that perspective,
To describe the specification, a state transition diagram as shown in FIG. 3 is usually used to supplement the point. The state transition diagram describes how the state of the system changes with the occurrence of an event. The system is characterized by an event that occurs, an event that causes a transition, and a transition destination for each state.

【0011】図3の例では、初期化中,標準時取得中,
定常運転の3つの状態が円で囲われて記述されている。
この各々の状態に対しての遷移が矢印で、そのそばに遷
移事象の名称が記述されている。たとえば、初期化中の
状態は、初期化という名称の遷移事象によって生じ、初
期化中の状態で標準時取得要求という事象が発生すると
標準時取得中の状態に遷移する。
In the example of FIG. 3, during initialization, during acquisition of standard time,
The three states of steady operation are described in a circle.
The transition for each state is indicated by an arrow, and the name of the transition event is described near the arrow. For example, the initializing state is caused by a transition event named “initialization”, and when an event “standard time acquisition request” occurs in the initializing state, the state transits to the standard time acquiring state.

【0012】このような状態遷移図にはいろいろとバリ
エーションがあり、ステートチャート(D. Harel, Stat
echarts:A visual formalism for complex system
s”, Science of Computer Programming”,Vol.
8,pp.231−274,1987)も状態遷移図の一種
である。これら、データフロー図と状態遷移図は、それ
ぞれ仕様の一側面を記述する論理的なモデルと考えるこ
とができる。
There are various variations in such a state transition diagram, and a state chart (D. Harel, Stat.
echarts: A visual formalism for complex system
s ", Science of Computer Programming", Vol.
8, pp. 231-274, 1987) is also a kind of state transition diagram. These data flow diagrams and state transition diagrams can be considered as logical models each describing one aspect of the specification.

【0013】以下ではこのような論理的なモデルをVie
w と呼ぶことにする。それぞれのView 上で仕様が詳細
化されて、最終的にソフトウエアを含んだシステムの設
計が完成する。図4は図2のデータフロー図を詳細化し
たもの、図5は図3の状態遷移図を詳細化したものであ
る。それぞれのView に対してこれら詳細化が正しく行
われたかどうかを判定する技術は各々公知である。たと
えば状態遷移のView に対しては(仕様検証方式:特開
平6−282423 号公報)がある。
In the following, such a logical model is referred to as Vie
Let's call it w. The specifications are refined on each view to finally complete the design of the system including the software. FIG. 4 is a detailed diagram of the data flow diagram of FIG. 2, and FIG. 5 is a detailed diagram of the state transition diagram of FIG. Techniques for determining whether these refinements have been correctly performed for each view are known in the art. For example, for the state transition view, there is (specification verification method: Japanese Patent Application Laid-Open No. 6-282423).

【0014】一般には、詳細化された状態と遷移を起こ
す事象を対応づけて、詳細化された結果の事象の発生順
序が、対応する詳細化される元の仕様における発生順序
と同じであれば、正しく詳細化されていると考えること
ができる。また、データフローのView に対しては、入
力の範囲が詳細化する前より広く、出力のデータの範囲
が詳細化する前より狭い場合に詳細化が正しく行われた
とするHoare Logic()に基づいて判定が行われるのが常
識である。
In general, a detailed state is associated with an event causing a transition, and if the order of occurrence of events as a result of the refinement is the same as the order of occurrence in the corresponding original specification to be refined. Can be considered correctly refined. Also, the view of the data flow is based on Hoare Logic (), which assumes that detailing has been correctly performed when the range of the input is wider than before the detail and the range of the output data is narrower than before the detail. It is common sense to make a judgment.

【0015】ただし、データの範囲の広さ,狭さの決め
方は場合によってさまざまである。このような個々のV
iew が正しく詳細化されたかどうかの判定ルールは前も
って、図1のView 詳細化ルールDBに格納しておく。
図7は、詳細化ルールDBに格納されたデータView と
状態遷移View の詳細化ルールの例である。ルールは、
データフローモデルの2つの要素であるブロックと入出
力関係に関する条件として定義する。そのために、以下
の語を予約語として定義する。
However, there are various ways to determine the width and narrowness of the data range. Such individual V
The rule for determining whether iew has been correctly refined is stored in advance in the View refinement rule DB of FIG.
FIG. 7 is an example of the detail rules of the data View and the state transition View stored in the detail rule DB. The rules are
It is defined as a condition relating to a block and an input / output relationship which are two elements of the data flow model. For this purpose, the following words are defined as reserved words.

【0016】(P1)Spec_DF:データフロー図で記述
された仕様の集合。
(P1) Spec_DF: A set of specifications described in a data flow diagram.

【0017】(P2)Block:データフロー図における、
データの流出元または、流入元。
(P2) Block: In the data flow diagram,
The source or source of the data.

【0018】(P3)DataFlow:データフロー図におけ
るデータの流れ。
(P3) DataFlow: Data flow in the data flow diagram.

【0019】(P4)Output_from:Block−>P(Dat
aFlow)。データフロー図におけるブロックを入力と
し、そのブロックを流出元とするDataFlowの集合を出
力とする関数。ここでP(DataFlow)はDataFlowの部
分集合の集合を示し、Block−>P(DataFlow)はBlo
ckからDataFlowの部分集合への関数であることを示
す。 (P5)Output_from+:P(Block)−>P(DataFlo
w)。データフロー図におけるブロックの部分集合を入力
とし、そのブロックの部分集合を流出元とするDataFl
owの集合を出力とする関数。
(P4) Output_from: Block-> P (Dat
aFlow). A function that takes a block in the data flow diagram as input and outputs a set of DataFlow with the block as the source. Here, P (DataFlow) indicates a set of subsets of DataFlow, and Block-> P (DataFlow) indicates Blo
Indicates that this is a function from ck to a subset of DataFlow. (P5) Output_from +: P (Block)-> P (DataFlo
w). DataFl with a subset of blocks in the dataflow diagram as input and a subset of that block as source
Function that outputs a set of ow.

【0020】(P6)Input_to:Block−>P(DataFl
ow)。データフロー図におけるブロックを入力とし、そ
のブロックを流出先とするDataFlowの集合を出力とす
る関数。
(P6) Input_to: Block-> P (DataFl
ow). A function that takes a block in the data flow diagram as input and outputs a set of DataFlow with the block as the destination.

【0021】(P7)Input_to+:P(Block)−>P
(DataFlow)。データフロー図におけるブロックの部分
集合を入力とし、そのブロックを流出先とするDataFl
owの集合を出力とする関数。
(P7) Input_to +: P (Block)-> P
(DataFlow). DataFl with a subset of blocks in the data flow diagram as input and the block as destination
Function that outputs a set of ow.

【0022】(P8)Input:DataFlow−>Block。デ
ータフローの出力元のブロックを帰す関数。
(P8) Input: DataFlow-> Block. A function that returns the block from which the data flow is output.

【0023】(P9)Input+:DataFlow−>P(Bloc
k)。データフローの出力元のブロックの部分集合を帰す
関数。
(P9) Input +: DataFlow-> P (Bloc
k). Function that returns a subset of the blocks from which the data flow is output.

【0024】(P10)Output:DataFlow−>Bloc
k。 データフローの入力先のブロックを帰す関数。
(P10) Output: DataFlow → Bloc
k. Function that returns the block to which the data flow is input.

【0025】(P11)Output+:DataFlow−>P(B
lock)。データフローの入力先のブロックの部分集合を
帰す関数。
(P11) Output +: DataFlow-> P (B
lock). A function that returns a subset of the block into which the data flow is input.

【0026】(P12)conn:Block*Block−>bool。
あるブロックとブロックがフローで結合していれば、tr
ue、結合していなければ、false を帰す関数。
(P12) conn: Block * Block-> bool.
If a block is connected by a flow, tr
ue, a function that returns false if not bound.

【0027】(P13)conn+:P(Block)*P(Block)
−>bool。あるブロックの部分集合とブロックの部分集
合がフローで結合していれば、true、結合していなけれ
ば、falseを帰す関数。
(P13) conn +: P (Block) * P (Block)
-> Bool. A function that returns true if a subset of a block and a subset of blocks are combined in a flow, otherwise returns false.

【0028】(P14)refine_DF:Spec_DF*Spec
_DF−> bool。データフローで記述された仕様が正し
く詳細化していればtrue、そうでなければfalse を帰す
関数。 (P15)refine_DF1:P(Block)*Block−>boo
l。Block の部分集合がBlockを正しく詳細化していれ
ばtrue、そうでなければfalse を帰す関数。
(P14) refine_DF: Spec_DF * Spec
_DF-> bool. Function that returns true if the specification described in the data flow is correctly detailed, and false otherwise. (P15) refine_DF1: P (Block) * Block-> boo
l. A function that returns true if a subset of Block correctly refines Block, false otherwise.

【0029】(P16)refine_DF2:Block*Block
−>bool。Block がBlockを正しく詳細化していればt
rue、そうでなければfalse を帰す関数。
(P16) refine_DF2: Block * Block
-> Bool. T if Block correctly refines Block
rue, a function that returns false otherwise.

【0030】(P17)refine_DF3:DataFlow*Da
taflow−>bool。DataFlowが正しく詳細化していれば
true、そうでなければfalse を帰す関数。
(P17) refine_DF3: DataFlow * Da
taflow-> bool. If DataFlow is correctly detailed
A function that returns true, false otherwise.

【0031】(P18)in_DF:Block or P(Block)
*Spec。データフロー図で記述された仕様において、
あるブロックまたは、ブロックの部分集合がその仕様の
中で記述されていることを示す関係。
(P18) in_DF: Block or P (Block)
* Spec. In the specifications described in the data flow diagram,
A relationship that indicates that a block or a subset of blocks is described in its specification.

【0032】これらの予約語を用いて、データフローの
View に対する詳細化が正しく行われたかどうかのルー
ルを記述した一例が、(DR0)から(DR3)までの
3つである。また詳細化が正しく行われたかどうかの判
定のためには、詳細化ブロック相互が結合しているかど
うかを判定する関数connおよびconn+を利用するが、そ
の判定のルールが(C1)と(C2)である。
There are three examples from (DR0) to (DR3) in which the rules for whether or not the detail of the data flow View has been correctly written are described using these reserved words. In order to determine whether or not the detailing has been correctly performed, functions conn and conn + for determining whether or not the detailing blocks are connected to each other are used. The rules for the determination are (C1) and (C2). It is.

【0033】(DR1)は、データフローのView で記
述された仕様SpecAがSpecBを正しく詳細化している
ためには、SpecAのすべでのBlockがSpecBのあるB
lockを詳細化しており、すへてのSpecBのBlockに対
して、SpecAのあるBlockの集合PAが対応して、P
AがSpecB の集合を詳細化していることが必要十分で
あることを記述している。
(DR1) is that because the specification SpecA described in the view of the data flow correctly refines SpecB, all the blocks of SpecA are B with SpecB.
The lock is detailed, and the set PA of the block with SpecA corresponds to the block of all SpecB, and P
It describes that it is necessary and sufficient for A to refine the set of SpecB.

【0034】(DR2)は、データフローView のBlo
ckAがBlockBを正しく詳細化しているためには、Blo
ckAへのすべての入力が、あるBlockBの入力を詳細化
しており、かつ、BlockAからのすべての出力があるB
lockBの出力を詳細化していることが必要十分であるこ
とを定義している。
(DR2) is Blo of the data flow View.
For ckA to correctly refine BlockB, Blo
B where all the inputs to ckA refine the inputs of one BlockB and all the outputs from BlockA
It defines that it is necessary and sufficient to detail the output of lockB.

【0035】(DR2)は、データフローView で記述
された仕様SpecA のブロックの部分集合PA1が、仕
様SpecB のあるBlockB1を正しく詳細化しているた
めには、すべてのPAへの入力InPA1に対してある
BlockBの入力InB1が存在し、InPA1の出力元
が、あるSpecAの部分集合PA2である時、PA2
は、SpecB のあるブロックであるBlockB2を正しく
詳細化したものであり、かつInB1 の出力元がBlock
B2であること、しかも、すべてのPAへの入力InP
A1に対してあるBlockBの入力InB1 が存在し、I
nPA1の出力元が、あるSpecAの部分集合PA2であ
る時、PA2は、SpecBのあるブロックであるBlock
B2を正しく詳細化したものであり、かつInB1 の出
力元がBlockB2であること、かつ、すべてのPAから
の出力OutPA1に対してあるBlockBの出力OutB1
が存在し、OutPA1の入力先が、あるSpecA の部分
集合PA2である時、PA2は、SpecBのあるブロッ
クであるSpecB2を正しく詳細化したものであり、か
つOutB1の出力先がBlockB2であること、しかも、
すべてのPAへの入力InPA1 に対してあるBlockB
の入力InB1 が存在し、InPA1の出力元が、ある
SpecAの部分集合PA2である時、PA2は、SpecB
のあるブロックであるBlockB2を正しく詳細化した
ものであり、かつInB1 の出力元がBlockB2であ
り、かつ詳細化されたブロックの内部で、入力と出力
が、1つのブロックで実現されたようにつながっている
ことが必要十分であることを記述している。
(DR2) is that the block PA1 of the specification SpecA described in the data flow View correctly details the block B1 with the specification SpecB in order for the input InPA1 to all the PAs to be in detail. If there is an input InB1 of a certain Block B and the output source of InPA1 is a subset PA2 of a certain SpecA, PA2
Is a detail of Block B2, which is a block of SpecB, and the output source of InB1 is Block B2.
B2, and input InP to all PAs
A block B has an input InB1 for A1 and I
When the output source of nPA1 is a subset PA2 of a certain SpecA, PA2 is a block Bblock which is a certain block of SpecB.
B2 is correctly detailed, and the output source of InB1 is BlockB2, and the output OutB1 of BlockB for the output OutPA1 from all PAs
Exists, and when the input destination of OutPA1 is a subset PA2 of a certain SpecA, PA2 is a detail of SpecB2, which is a block of SpecB, and the output destination of OutB1 is BlockB2. Moreover,
BlockB for input InPA1 to all PAs
Is present, and the output source of InPA1 is a subset PA2 of some SpecA, PA2 is
BlockB2, which is a block having a block, is correctly refined, the output source of InB1 is BlockB2, and the input and output are connected as if they were realized in one block inside the refined block. State that it is necessary and sufficient.

【0036】ここで、ブロックの部分集合の入出力と
は、ブロックの部分集合の外側に流れるデータフローの
ことで、図8に例を示す。図8はA11〜A34までの
ブロックをブロックの部分集合PA1,PA2,PA3
に分類して表わしたものである。この時、ブロックの部
分集合PA1の入力のフローは、F01とF02であ
り、出力フローは、F21,F22,FF12,FF2
2であり、内部のフローF11,FF11などは入力フ
ローでも出力フローでもない。また、宛先や出どころの
明記されていないF01や、F33に対する宛先や出ど
ころの値はunknown とする。図8の例では、Input(F
01)=output(F33)=unkonwn となる。また、図7
のルール(FD−1)はブロック相互が結合しているか
どうかを判定するためのルール,ルール(FD−2)は
ブロックの部分集合相互が結合しているかどうかを判定
する関数である。
Here, the input / output of a subset of blocks means a data flow flowing outside the subset of blocks, and an example is shown in FIG. FIG. 8 shows blocks A11 to A34 as block subsets PA1, PA2, PA3.
It is classified and expressed. At this time, the input flows of the block subset PA1 are F01 and F02, and the output flows are F21, F22, FF12, and FF2.
2, and the internal flows F11, FF11, etc. are neither input flows nor output flows. In addition, the value of the destination or source for F01 or F33 in which the destination or source is not specified is unknown. In the example of FIG. 8, Input (F
01) = output (F33) = unkonwn. FIG.
The rule (FD-1) is a rule for determining whether or not blocks are connected to each other, and the rule (FD-2) is a function for determining whether or not subsets of blocks are connected to each other.

【0037】この詳細化ルールの前提は、個々のブロッ
クに対して、対応するブロックの部分集合の対応づけが
なされており、データフローに対しても、元のデータフ
ローに対してどのデータフローが詳細化された仕様の中
で対応しているのかの対応づけがすでになされているこ
とである。つまり、(DR1)における判定の条件、お
よび、DR2において選ぶべきブロックの部分集合が定
義様れていることである。ただし、この詳細化のルール
は一例にすぎず、また、データの流れに関する詳細化が
正しく行われたかどうかをチェックするもので、データ
のタイプや値のとりうる範囲、フローを流れるデータ量
の制約などを完全に保証するものではない。これらの検
証のためには、データフローのモデルにデータの形式や
内容を記述するモデルを追加し、詳細化ルールも追加す
ればよい。
The premise of this detailing rule is that each block is associated with a subset of the corresponding block, and for a data flow, which data flow corresponds to the original data flow. That is, the correspondence has already been made in the detailed specification. That is, the conditions for the determination in (DR1) and the subset of blocks to be selected in DR2 are defined. However, this rule of refinement is only an example, and it checks whether the refinement of the data flow has been performed correctly. It is not completely guaranteed. For these verifications, a model that describes the format and contents of data may be added to the data flow model, and a refinement rule may be added.

【0038】一方、状態遷移のView の詳細化が正しく
行われたかどうかを判定する方法にも数多くの手法が提
案されている。ここでは、データフローのView の詳細
化の正当性検証ルールと同様の形式を用いる。ルールを
記述するために、以下の予約語を定義する。
On the other hand, many methods have been proposed for judging whether the detail of the state transition view has been correctly performed. Here, the same format as the validity verification rule of the detail of the view of the data flow is used. The following reserved words are defined to describe the rules.

【0039】(P1)Spec_ST:状態遷移図で記述され
た仕様の集合。
(P1) Spec_ST: a set of specifications described in the state transition diagram.

【0040】(P2)State:状態遷移図における、シス
テムの状態。
(P2) State: The state of the system in the state transition diagram.

【0041】(P3)Transition:状態遷移図における
State間の遷移関係。
(P3) Transaction: Transition relation between States in the state transition diagram.

【0042】(P4)comefrom:State−>P(Transiti
on)。状態遷移図におけるStateを入力とし、そのSta
teからの遷移の集合を出力とする関数。
(P4) comefrom: State-> P (Transiti
on). The state in the state transition diagram is input and its Sta.
Function that outputs a set of transitions from te.

【0043】(P5)comefrom+:P(State)−>P(Da
taFlow)。状態遷移図におけるStateの集合を入力と
し、そのStateからの遷移の集合を出力とする関数。
(P5) comefrom +: P (State)-> P (Da
taFlow). A function that receives a set of states in the state transition diagram as input and outputs a set of transitions from the states.

【0044】(P6)into:State−>P(Transitio
n)。状態遷移図におけるStateを入力とし、そのStat
eを遷移先とするTransitionの集合を出力とする関数。
(P6) into: State-> P (Transitio
n). Inputs State in the state transition diagram,
A function that outputs a set of Transactions whose transition destination is e.

【0045】(P7)into+:P(State)−>P(Transi
tion)。状態遷移図におけるState の集合を入力とし、
そのStateを遷移先とするTransition の集合を出力と
する関数。
(P7) into +: P (State)-> P (Transi
tion). The set of State in the state transition diagram is input and
A function that outputs a set of Transactions whose transition destination is the State.

【0046】(P8)Transfrom:Transition−>Bloc
k。Transitionに対して、その遷移元のStateを帰す関
数。
(P8) Transactions: Transition-> Bloc
k. A function that returns the state of the transition source for a transaction.

【0047】(P9)Transfrom+:Transition−>P
(Block)。Transitionに対して、その遷移元のState
の集合を帰す関数。
(P9) Transfrom +: Transaction-> P
(Block). For the Transition, the State of the transition source
A function that returns a set of

【0048】(P10)transto:Transition−>Stat
e。Transition に対して、その遷移先のStateを帰す
関数。
(P10) transto: Transition → Stat
e. A function that returns the State of the transition destination for a Transaction.

【0049】(P11)transto+:Transition−>P
(State)。Transition に対して、その遷移先のState
の集合を帰す関数。
(P11) transto +: Transaction-> P
(State). For the Transition, the State of the transition destination
A function that returns a set of

【0050】(P12)reachible:State*State−>b
ool。あるStateからあるState が遷移によって到達可
能なら、true、そうでなければ、false を帰す関数。
(P12) reachable: State * State-> b
ool. A function that returns true if a State is reachable from a State by a transition, false otherwise.

【0051】(P13)reachible+:P(State)*P(S
tate)−>bool。あるState の部分集合からStateの部
分集合がTransition によって到達可能なら、true、そ
うでなければ、false を帰す関数。
(P13) reachable +: P (State) * P (S
tate)-> bool. A function that returns true if a subset of State is reachable by a Transaction from a subset of State, and false otherwise.

【0052】(P14)refine_ST:Spec_ST*Spec
_ST−>bool 。状態遷移図で記述された仕様が正しく
詳細化していればtrue、そうでなければfalse を帰す関
数。
(P14) refine_ST: Spec_ST * Spec
_ST-> bool. A function that returns true if the specification described in the state transition diagram is correctly detailed, and returns false otherwise.

【0053】(P15)refine_ST1:P(State)*St
ate−>bool。State の集合がStateを正しく詳細化し
ていればtrue、そうでなければfalse を帰す関数。
(P15) refine_ST1: P (State) * St
ate-> bool. A function that returns true if the set of States correctly refines State, otherwise returns false.

【0054】(P16)refine_ST2:State*State
−>bool。StateがState を正しく詳細化していればt
rue、そうでなければfalse を帰す関数。
(P16) refine_ST2: State * State
-> Bool. T if the State correctly refines the State
rue, a function that returns false otherwise.

【0055】(P17)refine_ST3:Transition*T
ransition−>bool。Transitionが正しく詳細化してい
ればtrue、そうでなければfalse を帰す関数。
(P17) refine_ST3: Transaction * T
ransition-> bool. A function that returns true if the Transaction is correctly refined, false otherwise.

【0056】(P18)in_ST:State or P(State)
*Spec。データフロー図で記述された仕様において、
あるブロックまたは、ブロックの部分集合がその仕様の
中で記述されていることを示す関係。
(P18) in_ST: State or P (State)
* Spec. In the specifications described in the data flow diagram,
A relationship that indicates that a block or a subset of blocks is described in its specification.

【0057】これらの予約語を用いて状態遷移図の詳細
化関係の正当性を検証するルールを図9に示す。これら
の関係は基本的にはデータフロー図の正当性を検証する
ためのルールとある意味で同型である。つまり、図7の
DF1からDF3までのルールと、図9のST1からS
T3までのルールは、データフロー図のBlockを状態遷
移図のStateに、データフロー図のデータフローを状態
遷移図のTransition(遷移)に対応づけると同じもの
とみなすことができる。ただし、データフロー図がデー
タ相互の関連性という観点からデータの連動性を図7の
SR0,1でconnで特徴づけて詳細化の正しさを定義し
ているのに対して、状態遷移図では、StateからState
へ遷移によって到達できるか、という観点からの特徴づ
けを図9のC1,C2によって定義して詳細化の正しさ
の基準にしている。
FIG. 9 shows rules for verifying the validity of the detailed relation of the state transition diagram using these reserved words. These relationships are basically isomorphic in some sense to the rules for verifying the validity of data flow diagrams. That is, the rules from DF1 to DF3 in FIG.
The rules up to T3 can be regarded as the same as associating Block in the data flow diagram with State in the state transition diagram, and associating the data flow in the data flow diagram with Transaction in the state transition diagram. However, while the data flow diagram defines the correctness of the detailing by characterizing the interlocking of the data with conn in SR0 and SR1 in FIG. 7 from the viewpoint of the reciprocity of data, the state transition diagram , State to State
Is defined from C1 and C2 in FIG. 9 and used as a criterion for the correctness of the refinement.

【0058】これらの個々のモデルに対して詳細化が正
しく行われたかどうかの判定は従来技術である。しか
し、データフローのViewと状態遷移のViewのような異
なったモデルでそれぞれ詳細化が行われた場合に相互の
整合性を確保することが、本発明の目的である。これを
本発明により実現する手段を、設計の手順にしたがっ
て、データフローと状態遷移のView により仕様を記述
する場合について順次説明する。
It is a conventional technique to determine whether or not the refinement has been correctly performed on each of these models. However, it is an object of the present invention to ensure mutual consistency when refinement is performed with different models, such as a data flow view and a state transition view. Means for realizing this in accordance with the present invention will be described sequentially for a case where specifications are described by a data flow and a view of state transition according to a design procedure.

【0059】まず、データフローと状態遷移で仕様を記
述する場合に、2つのモデルの間で整合性をとるルール
をView関連情報DBに記述する。関連情報の中には、
(1)記述項目と(2)対応関係が記述されている。
(1)記述項目は、それぞれのView ごとに仕様を
定義する項目を定義するもので、例えば、同じ状態遷移
モデルでも遷移に付随する情報として何を記述するか
は、対象とする問題に依存する。この例では、付随情報
として、データ内容,事象の種類及び遷移条件を付加し
ている。そして、データの内容を時刻か、要求信号かに
分類している。一方、データフローモデルでは、データ
設計の初期段階では、データフローに付随している情報
としてデータの内容を記述している。
First, when a specification is described by a data flow and a state transition, a rule for obtaining consistency between the two models is described in the View related information DB. Some related information includes
(1) Description items and (2) correspondence are described.
(1) A description item defines an item for defining a specification for each view. For example, what is described as information accompanying a transition in the same state transition model depends on a target problem. . In this example, data contents, event types, and transition conditions are added as accompanying information. Then, the content of the data is classified into a time and a request signal. On the other hand, in the data flow model, at the initial stage of data design, data contents are described as information accompanying the data flow.

【0060】図11の記述によれば、データフローは、
名称とデータ内容から成り立っており(ここで、+は、
2つの項目から成り立つことを示す)、またデータ内容
は、時刻または要求であることを示す。2つの異なった
モデルの間にあっても、データの内容は共通であるの
で、このように状態遷移のView の遷移に付随する情報
のうち、データの内容に関する情報とデータフローのV
iew におけるデータフローに付随するデータの内容に関
する情報は同じ種類のものであることをこのように管理
できる。
According to the description of FIG. 11, the data flow is:
It consists of a name and data contents (here, +
The data content indicates a time or a request. Since the data contents are common even between two different models, the information related to the data contents and the data flow V
In this way, it can be managed that the information on the contents of data accompanying the data flow in iew is of the same type.

【0061】さらに、図2と図3は、このようなView
関連情報で定義された記述項目にしたがって上流の仕様
を記述した例であるが、さらに、この2つのView にお
いて記述されたデータ内容で共通のものを指定して、図
1の仕様入力支援機能によりView 関連情報DBに格納
しておく。例えば、図11には、図3のSpec_ST1に
おける標準時取得中の状態から、定常運転の状態への遷
移に付随するデータ内容が図2にデータフローの形式で
記述された仕様の中の統括装置から配下装置へのデータ
フローのデータ内容と一致していることを定義してい
る。
FIGS. 2 and 3 show such a view.
This is an example in which the upstream specifications are described in accordance with the description items defined in the related information. In addition, the common data contents described in the two views are designated, and the specification input support function of FIG. It is stored in the View related information DB. For example, FIG. 11 shows the contents of data accompanying the transition from the state during acquisition of the standard time in the Spec_ST1 of FIG. 3 to the state of the steady operation from the supervising device in the specification described in the data flow format in FIG. Defines that it matches the data content of the data flow to the subordinate device.

【0062】設計の詳細化はそれぞれのView を詳細化
することによって行われる。データフローのView を詳
細化したものが、図4に記述されたSpec_DF2であ
る。詳細化の際にそれぞれどのブロックがどのブロック
を詳細化し、どのデータフローがどのデータフローを詳
細化したかを設定することにより、図7に定義した詳細
化のルールを用いてデータフローが正しく詳細化された
かどうかを判定することができる。そのような定義づけ
は、仕様入力支援機能のグラフィックI/Fを用いて実
行することができる。図11は、このような対応づけを
図示したもので、Spec_DF1の配下装置がSpec_DF
2では、運転支援装置,監視装置,情報制御装置の3つ
に詳細化されており、それに対応してSpec_DF1の配
下装置から出入りするデータフローが詳細化されてい
る。この対応づけは、図7の詳細化のルールのDR1で
のデータフロー相互の詳細化の対応づけrefine_DF3
を設定することにあたり、View 関連情報DBに図10
のように格納される。また、運転支援装置,監視装置,
情報制御装置の3つが配下装置を詳細化していると定義
されているので、図10のDR2の判定をする対象とな
るデータとしてView関連情報DBにCheck{運転支援装
置,監視装置,情報制御装置}refine_DF1配下装
置、と格納される。
Design refinement is performed by refining each view. Spec_DF2 described in FIG. 4 is a detail of the view of the data flow. By setting which block has been refined which block and which data flow has refined which data flow at the time of refinement, the data flow is correctly refined using the refinement rule defined in FIG. Can be determined. Such a definition can be executed using the graphic I / F of the specification input support function. FIG. 11 illustrates such an association, in which the subordinate device of Spec_DF1 is Spec_DF1.
In FIG. 2, the details are divided into three: a driving support device, a monitoring device, and an information control device, and correspondingly, the data flow entering and exiting from the subordinate device of Spec_DF1 is detailed. This association is performed by the refinement rule DR1 in FIG.
10 is set in the View related information DB.
Is stored as follows. In addition, driving support equipment, monitoring equipment,
Since it is defined that three of the information control devices refine the subordinate devices, Check {driving support device, monitoring device, and information control device are stored in the View related information DB as data to be subjected to DR2 determination in FIG. $ Refine_DF1 subordinate device is stored.

【0063】この内容に対して、図7の詳細化ルールで
検証を行うと、運転支援装置,監視装置,情報制御装置
から統括装置に戻るフローが上位のSpec_DF1にない
ことがわかる。そこで、この場合は逆に上位の仕様Spe
c_DF1を図12のSpec_DF1′のように変更するこ
とになる。この変更の結果、図7の詳細化のルールによ
り詳細化が検証される。
When this content is verified by the refinement rule shown in FIG. 7, it is found that there is no flow returning from the driving support device, the monitoring device, and the information control device to the supervising device in the higher-level Spec_DF1. Therefore, in this case, on the contrary, the upper specification Spe
c_DF1 will be changed to Spec_DF1 'in FIG. As a result of this change, the refinement is verified by the refinement rule in FIG.

【0064】一方、状態遷移図の上では、図3のSpec_
ST1がSpec_ST2に詳細化する時に図11のような
対応づけをする。ここでは、定常運転が運転支援装置,
監視装置,標準時設定中と定常運転に詳細化される、こ
の対応関係はView 関連情報DBに図10に示すように
Check{運転支援装置標準時設定中,監視装置標準時設
定中,情報制御装置標準時設定中,定常運転}refine_
ST1 定常運転と格納される。格納された仕様Spec_
ST2がSpecST1 を正しく詳細化しているかどうか
を図9のルールにしたがってチェックし確認することが
できる。
On the other hand, on the state transition diagram, Spec__ in FIG.
When ST1 details to Spec_ST2, the correspondence is made as shown in FIG. Here, the steady operation is a driving support device,
As shown in FIG. 10, the correspondence between the monitoring device, the standard time setting, and the steady operation is described in the View related information DB. Medium, steady operation} refine_
ST1 Stored as normal operation. Stored specifications Spec_
Whether or not ST2 correctly refines SpecST1 can be checked and confirmed according to the rules of FIG.

【0065】このようにデータフローや状態遷移などの
単一の論理モデル上で記述された仕様が正しく詳細化さ
れていることを検証することは、図10に示したView
相互の関連情報、特に図10の(2)の対応内容の情報
がなくても可能で、従来技術と考えられる。本発明の特
徴は個々の論理モデルでの詳細化の正当性を確認するた
めのルール(図7,図9の詳細化のルール)と個別の論
理モデル内における仕様の対応づけ(図10の(3)の
情報)に加えて、図10の(2)に記述された別のモデ
ルで記述された仕様相互の対応関係、及び図14に示し
た異なったモデル間での仕様の整合性を、図10の
(3)に記述されたView 内(同じ論理モデル内)での
詳細化対応と、図10の(2)に記述されたView 間で
の対応関係をたどってチェックするためのルールを用い
て検証することにある。
As described above, verifying that the specifications described on a single logical model such as a data flow and a state transition are correctly detailed is performed by using the view shown in FIG.
This is possible even without the mutual related information, especially the information of the corresponding contents of (2) in FIG. A feature of the present invention is that a rule for confirming the validity of the refinement in each logical model (the refinement rule in FIGS. 7 and 9) is associated with a specification in each logical model (( In addition to the information of (3), the correspondence between specifications described in another model described in (2) of FIG. 10 and the consistency of specifications between different models shown in FIG. The detailing correspondence within the view (in the same logical model) described in (3) of FIG. 10 and the rules for checking the correspondence between the views described in (2) of FIG. It is to verify using.

【0066】図14のルールはSpec1 の構成要素(例
えば、図2におけるデータフロー図の統括制御装置から
配下装置へのDataFlow)のなかのある記述項目(例え
ばデータ内容)が、Spec2 の構成要素(例えば、図3
における状態遷移図の標準時取得中から定常運転状態へ
遷移)のなかのある記述項目(例えばデータ内容)が一
致していると図10のView 関連情報の“(2)対応内
容”に記述されていたそれぞれの構成要素を詳細化した
ものも、その記述項目に関する等価性(たとえば、デー
タ内容の等価性)という観点からは、一致している必要
があるということを記述している。ここで、refineは既
に定義したrefine_ST1や、refine_DF1,refine_
DF2などすべ含んだ詳細化の関係であり、inも、in_
STやin_DFを含んだものである。
In the rule of FIG. 14, a certain description item (for example, data content) in a component of Spec1 (for example, DataFlow from the general control device to a subordinate device in the data flow diagram in FIG. 2) is replaced by a component of Spec2 (for example, data content). For example, FIG.
In the state transition diagram in FIG. 10, if a certain description item (for example, data content) in the transition from the acquisition of the standard time to the steady operation state matches, it is described in “(2) Corresponding content” of the view related information in FIG. 10. The detailed description of each of the constituent elements also indicates that they need to match from the viewpoint of the equivalence of the description items (for example, the equivalence of data contents). Here, the refine is defined as refine_ST1, refine_DF1, refine_
It is a relation of detailing including everything such as DF2.
ST and in_DF are included.

【0067】また、等価性は、それぞれの記述項目につ
いて定義する。例えば、データ内容の等価性は、含んで
いるデータ内容が一致するものとして定義する。これら
の、新たに追加したデータと詳細化のルールによって、
例えば、データフロー図と、状態遷移図がそれぞれ、図
12(Spec_DF1′),図3(Spec_ST1)から、図
15(Spec_DF3)と図5(Spec_ST2)のように個
々のView の中では正しく詳細化されていても、View
相互の関係としては正しく詳細化されていないことを見
付け出すことができる。Spec_DF3(図15)とSpec
DF2(図4)の違いは、統括管理装置から、監視装置に
対してだけは、データ内容として、時刻だけではなく、
時刻の誤差の許容範囲が送られることで、これによって
故障を判定しようというものである。
The equivalence is defined for each description item. For example, the equivalence of the data contents is defined as that the contained data contents match. With these newly added data and refinement rules,
For example, the data flow diagram and the state transition diagram are correctly detailed in each view as shown in FIGS. 12 (Spec_DF1 ') and 3 (Spec_ST1), FIG. 15 (Spec_DF3) and FIG. 5 (Spec_ST2). Even if it is
It can be found that the relationship is not correctly detailed. Spec_DF3 (FIG. 15) and Spec
The difference between DF2 (Fig. 4) is that, from the central management device to the monitoring device,
By sending the allowable range of the time error, it is intended to judge a failure based on this.

【0068】元の仕様との詳細化の対応づけは図16に
示すように、図11とほぼ同じである。また新たなデー
タフロー名,一致化時刻′が仕様に加えられたことによ
り、View 関連情報は図10に記述したものとほぼ同じ
で、図10中の(2)対応内容の中のSpec_DF1がS
pec_DF1′に変わるだけである。それぞれが、それぞ
れのView 内の詳細化のルールに従って、正しく詳細化
されて判定されることは、既に説明したのと同様に説明
できる。一方、図14のルールに従って図1の整合性チ
ェック機能によりチェックを行うと、Spec_ST1 の
標準時取得から定常運転へのTransitionを詳細化して
いるとView 関連情報DBに記述されている、Spec_S
T2中の標準時取得中から{運転支援装置,監視装置,
情報制御装置}の標準時設定中への各遷移3tsの遷移の
データ内容は、Spec_DT3の、統括装置から{運転支
援,監視,情報制御}の各装置へのデータフローのデー
タ内容と一致する必要がある。しかし、Spec_ST2の
データ内容は、時刻だけで成り立っているに対し、Spe
c_ST3のデータ内容は、時刻と誤差許容範囲から成り
立っているので一致しない。
As shown in FIG. 16, the correspondence between the specification and the original specification is almost the same as that in FIG. Also, because the new data flow name and the matching time 'have been added to the specification, the view-related information is almost the same as that described in FIG. 10, and Spec_DF1 in (2) corresponding contents in FIG.
It only changes to pec_DF1 '. The fact that each is correctly refined and determined in accordance with the detailing rule in each view can be explained in the same manner as described above. On the other hand, when the consistency check function of FIG. 1 performs a check in accordance with the rule of FIG. 14, it is described in the View related information DB that the transition from the acquisition of the standard time of the Spec_ST1 to the normal operation is detailed.
During the acquisition of standard time during T2, ① driving support equipment, monitoring equipment,
The data content of the transition of each transition 3ts during the standard time setting of the information control device must match the data content of the data flow of the Spec_DT3 from the supervisory device to the {operation support, monitoring, and information control} devices. is there. However, while the data content of Spec_ST2 consists only of time,
The data content of c_ST3 does not match because it is composed of the time and the allowable error range.

【0069】このよう仕様の不整合は、のちのプログラ
ミングやシステム改造の際の事故の原因となりうる。そ
こで、例えば、図17のような表示画面で2つの仕様の
間の不整合箇所と、View 関連情報DBでの満足されな
い条件のID(この場合はT1)を表示する。最終的に
は、Spec_ST2の標準時取得中から監視装置への遷移
の付加情報のデータ内容に誤差許容範囲を付加すること
で整合性をとることができる。
Such inconsistency in specifications can cause an accident at the time of later programming or system modification. Therefore, for example, an inconsistency between two specifications and an ID of an unsatisfied condition in the View related information DB (T1 in this case) are displayed on a display screen as shown in FIG. Eventually, consistency can be obtained by adding an error tolerance to the data content of the additional information of transition from during acquisition of Spec_ST2 to standard time to the monitoring device.

【0070】また、本実施例では、仕様を上流から段々
と詳細化していく設計プロセスに則って説明したが、す
でにある仕様の一部を変更する場合にも、すでに、図1
のView 詳細化ルールや、詳細化の対応づけをつけなお
しさえすれば、同様の方法により異ったモデルでの仕様
の整合性のチェックができることは明らかである。ま
た、仕様の詳細化の対応づけを行うにあたっては、図1
1や図13に示したような従来技術として存在する、コ
ンピュータ画面上での仕様のグラフィカルな編集手法
に、対応する仕様の部分,部分を選択して対応づけ、図
10に示したような形の図1のView 関連情報DBに格
納する機能をつけ加えた仕様入力支援を用いれば、より
一層簡単に仕様の整合性を検証するためのデータを入力
できる。また、図10の(1)記述項目や(2)の対応内容
のような、異なったView 間での仕様の関連性を定義す
るための情報を形式に従って入力するためには、従来技
術として存在するキーワードでの質問応答などのよう
な、従来技術を応用したView 定義支援機能により入力
を支援すれば、一層容易にView の定義をすることがで
きる。図18は、その一例で、View の名称,View の
構成要素となるオブジェクト,オブジェクト相互の関連
を定義する関係の名称、図7や図9に相当する各View
ごとの詳細化の関係式、および図10の(2)対応内容に
相当する他View との関連情報などをメニューに従って
入力するものである。
Further, in the present embodiment, the description has been made in accordance with the design process in which the specifications are gradually refined from the upstream. However, even when a part of the existing specifications is changed, FIG.
It is obvious that the consistency of the specifications of different models can be checked by the same method only by re-associating the view refinement rule and the refinement with each other. Also, in associating the details of the specification,
The corresponding specification part and the corresponding part are selected and corresponded to the graphical editing method of the specification on the computer screen, which exists as a conventional technique as shown in FIG. By using the specification input support with the function of storing in the View related information DB of FIG. 1, data for verifying specification consistency can be input even more easily. In order to input information for defining the relevance of specifications between different views, such as the description items (1) in FIG. 10 and the corresponding contents in (2) in FIG. If the input is supported by a view definition support function to which the prior art is applied, such as a question answer with a given keyword, the view can be more easily defined. FIG. 18 shows an example of such a view, the names of the views, the objects constituting the views, the names of the relations defining the relationships between the objects, and the views corresponding to FIGS. 7 and 9.
According to the menu, a relational expression of detailing for each item and information related to another view corresponding to the corresponding content of (2) in FIG. 10 are input.

【0071】[0071]

【発明の効果】以上述べたように本発明によれば、給水
系の構成変更が水位変動に影響しない給水制御システム
を提供することができる。
As described above, according to the present invention, it is possible to provide a water supply control system in which a change in the configuration of the water supply system does not affect the water level fluctuation.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を示すシステム構成図であ
る。
FIG. 1 is a system configuration diagram showing an embodiment of the present invention.

【図2】データフローで記述した上流仕様の例を示した
図である。
FIG. 2 is a diagram showing an example of an upstream specification described in a data flow.

【図3】状態遷移図で記述した上流仕様の例を示した図
である。
FIG. 3 is a diagram showing an example of an upstream specification described in a state transition diagram.

【図4】データフローで記述した詳細化された仕様の例
を示した図である。
FIG. 4 is a diagram showing an example of a detailed specification described in a data flow.

【図5】状態遷移図で記述した詳細化された仕様の例を
示した図である。
FIG. 5 is a diagram showing an example of a detailed specification described in a state transition diagram.

【図6】設計対象のシステム構成の例を示した図であ
る。
FIG. 6 is a diagram showing an example of a system configuration to be designed.

【図7】データフローの詳細化ルールの例を示した図で
ある。
FIG. 7 is a diagram showing an example of a data flow detailing rule.

【図8】データフローにおけるブロックの集まりの取り
扱い方法の説明図である。
FIG. 8 is an explanatory diagram of a method of handling a group of blocks in a data flow.

【図9】状態遷移の詳細化ルールの例を示した図であ
る。
FIG. 9 is a diagram showing an example of a state transition detailing rule.

【図10】本発明の一実施方法を示すView 関連情報の
例を示した図である。
FIG. 10 is a diagram showing an example of View related information indicating one embodiment of the present invention.

【図11】本発明の一実施方法を示すデータフロー図に
おける詳細化の対応図である。
FIG. 11 is a correspondence diagram of detailing in a data flow diagram showing an embodiment of the present invention.

【図12】従来手法により修正されたデータフローで記
述された上流仕様の例を示した図である。
FIG. 12 is a diagram showing an example of an upstream specification described in a data flow modified by a conventional method.

【図13】本発明の一実施方法を示す状態遷移図におけ
る詳細化の対応図である。
FIG. 13 is a correspondence diagram of detailing in a state transition diagram showing an embodiment of the present invention.

【図14】本発明の一実施方法をView 間の整合性検証
ルールの例を示した図である。
FIG. 14 is a diagram showing an example of a rule for verifying consistency between views according to an embodiment of the present invention.

【図15】本発明の一実施例を示す詳細化されたデータ
フロー図の例を示した図である。
FIG. 15 is an example of a detailed data flow diagram illustrating one embodiment of the present invention.

【図16】本発明の一実施例を示す詳細化されたデータ
フロー図の詳細化の対応図である。
FIG. 16 is a correspondence diagram of a detailed data flow diagram showing an embodiment of the present invention.

【図17】本発明の一実施例を示す仕様の不整合性を表
示する表示画面の例を示した図である。
FIG. 17 is a diagram illustrating an example of a display screen that displays specification inconsistency according to an embodiment of the present invention.

【図18】本発明の一実施例を示すView 定義支援機能
の表示画面の例を示した図である。
FIG. 18 is a diagram illustrating an example of a display screen of a view definition support function according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

101…View 詳細化ルールDB、102…View 関連
情報DB、103…仕様格納DB、104…View 定義
支援機能、105…整合性チェック機能、106…仕様入
力支援機能。
101: View detail rule DB, 102: View related information DB, 103: Specification storage DB, 104: View definition support function, 105: Consistency check function, 106: Specification input support function.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中野 利彦 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 東原 敏昭 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Toshihiko Nakano 5-2-1 Omikacho, Hitachi City, Ibaraki Prefecture Inside the Omika Plant of Hitachi, Ltd. (72) Inventor Toshiaki Higashihara 5-chome Omikacho, Hitachi City, Ibaraki Prefecture No. 1 Inside the Omika Plant of Hitachi, Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】仕様をデータフローモデル,プロセスのモ
デル,ハードウエアの接続関係のモデルなどの複数の論
理モデルによって記述する仕様記述方式において、論理
モデル相互の関連づけを定義することにより、個々の論
理モデル上で記述された仕様相互の整合性を検証する仕
様整合性検証システム。
In a specification description system in which specifications are described by a plurality of logical models such as a data flow model, a process model, and a hardware connection model, an association between logical models is defined by defining each logical model. A specification consistency verification system that verifies the compatibility of specifications described on a model.
【請求項2】仕様をデータフローモデル,プロセスのモ
デル,ハードウエアの接続関係のモデルなどの複数の論
理モデルによって記述し、それぞれの論理モデルで定義
された詳細化の正当性をチェックするための条件を用い
て、仕様の詳細化が正しく行われたことをチェックしな
がら設計を進める仕様記述方式において、論理モデル相
互の関連づけを定義することにより、個々の論理モデル
上で詳細化された仕様相互の整合性を検証する仕様整合
性検証システム。
2. A specification for describing specifications by a plurality of logical models such as a data flow model, a process model, and a model of a hardware connection relation, and checking the validity of the refinement defined by each logical model. In a specification description system that proceeds with the design while checking that the specification has been correctly refined using conditions, by defining the association between the logical models, the specification Specification integrity verification system that verifies the integrity of a specification.
【請求項3】仕様をデータフローモデル,プロセスのモ
デル,ハードウエアの接続関係のモデルなどの複数の論
理モデルによって記述し、それぞれの論理モデルで定義
された詳細化の正当性をチェックするための条件を用い
て、仕様の詳細化が正しく行われたことをチェックする
機能を有する仕様記述方式において、論理モデル相互の
関連づけを定義することにより、個々の論理モデルの任
意の詳細化のレベルにおける設計変更に対応して変更が
必要な可能性のある仕様の部分を提示し、このまま放置
すれば仕様相互の整合性が維持できない場にはその旨を
表示することを特徴とする仕様整合性検証システム。
3. A specification for describing a specification by a plurality of logical models such as a data flow model, a process model, and a model of a hardware connection relationship, and checking the validity of the refinement defined by each logical model. In a specification description system that has a function to check that specification refinement has been performed correctly using conditions, design of each logical model at any level of refinement by defining the association between logical models A specification consistency verification system characterized by presenting the parts of the specification that may need to be changed in response to the change, and indicating that if the specifications cannot be maintained if they are left untouched, this fact is indicated. .
【請求項4】仕様をデータフローモデル,プロセスのモ
デル,ハードウエアの接続関係のモデルなどの複数の論
理モデルによって記述し、それぞれの論理モデルで定義
された詳細化の正当性をチェックするための条件を用い
て、仕様の詳細化が正しく行われたことをチェックしな
がら設計を進める仕様記述方式において、論理モデル相
互の関連づけを定義することにより、個々の論理モデル
上で詳細化された仕様相互の整合性を詳細化の際の同一
論理モデル上での仕様の部分的対応関係と、論理モデル
相互の対応関係の2つの対応関係を用いて検証する仕様
整合性検証システム。
4. A specification for describing specifications by a plurality of logical models such as a data flow model, a process model, and a model of a hardware connection relationship, and checking the validity of the refinement defined by each logical model. In a specification description system that proceeds with the design while checking that the specification has been correctly refined using conditions, by defining the association between the logical models, the specification A specification consistency verification system that verifies the consistency of specifications using two correspondences: a partial correspondence between specifications on the same logical model at the time of detailing, and a correspondence between logical models.
JP26326597A 1997-09-29 1997-09-29 Specification consistency certification system Pending JPH11102291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26326597A JPH11102291A (en) 1997-09-29 1997-09-29 Specification consistency certification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26326597A JPH11102291A (en) 1997-09-29 1997-09-29 Specification consistency certification system

Publications (1)

Publication Number Publication Date
JPH11102291A true JPH11102291A (en) 1999-04-13

Family

ID=17387066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26326597A Pending JPH11102291A (en) 1997-09-29 1997-09-29 Specification consistency certification system

Country Status (1)

Country Link
JP (1) JPH11102291A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257426A (en) * 2007-04-04 2008-10-23 Hitachi Ltd Screen transition design support device, screen transition design support method and program
JP2008276556A (en) * 2007-04-27 2008-11-13 Toyota Motor Corp Cross verification device
JP2008310663A (en) * 2007-06-15 2008-12-25 Fujitsu Ltd Specification verification program, computer-readable recording medium with its program recorded thereon, specification verification device and specification verification method
JP2010250598A (en) * 2009-04-16 2010-11-04 Mitsubishi Denki Micom Kiki Software Kk Program development support device
JP2011096111A (en) * 2009-10-30 2011-05-12 Toshiba Corp Apparatus and program for managing specification information
WO2015145556A1 (en) * 2014-03-25 2015-10-01 株式会社 日立製作所 Device for verifying dependencies between software specifications, and method for verifying dependencies between software specifications

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257426A (en) * 2007-04-04 2008-10-23 Hitachi Ltd Screen transition design support device, screen transition design support method and program
JP2008276556A (en) * 2007-04-27 2008-11-13 Toyota Motor Corp Cross verification device
JP2008310663A (en) * 2007-06-15 2008-12-25 Fujitsu Ltd Specification verification program, computer-readable recording medium with its program recorded thereon, specification verification device and specification verification method
JP2010250598A (en) * 2009-04-16 2010-11-04 Mitsubishi Denki Micom Kiki Software Kk Program development support device
JP2011096111A (en) * 2009-10-30 2011-05-12 Toshiba Corp Apparatus and program for managing specification information
WO2015145556A1 (en) * 2014-03-25 2015-10-01 株式会社 日立製作所 Device for verifying dependencies between software specifications, and method for verifying dependencies between software specifications
CN106104469A (en) * 2014-03-25 2016-11-09 株式会社日立制作所 Between software metrics, dependence verifies dependence verification method between device and software metrics
JPWO2015145556A1 (en) * 2014-03-25 2017-04-13 株式会社日立製作所 Dependency verification device between software specifications and dependency verification method between software specifications

Similar Documents

Publication Publication Date Title
CN110138733B (en) Block chain-based object storage system trusted evidence storage and access authority control method
EP3779760B1 (en) Blockchain-based data processing method and apparatus, and electronic device
US20030105843A1 (en) Input/output device information management system for multi-computer system
CN108665272A (en) Block chain data processing method, device, equipment and storage medium
WO2019149051A1 (en) Method for configuring automobile diagnosis function, apparatus, and automobile diagnosis device
CN107092491A (en) A kind of configuring load application method and system
CN109063362A (en) Avionics software interface controls document design management system
CN108132796A (en) The upgrade method and device of a kind of combination instrument
CN108647300A (en) Database access intermediate system, method, equipment and storage medium
JPH11102291A (en) Specification consistency certification system
Song et al. System design for online foreign language education based on blockchain technology
CN106951593A (en) A kind of method and apparatus for the configuration file for generating protection supervisory equipment
CN106997322A (en) Method and apparatus for automatic test
JP5887271B2 (en) Method, computer program, computer system and computer-readable storage medium for just-in-time reliability establishment and propagation
US11501033B2 (en) Model-based systems engineering model conversion with text requirements
CN111796984A (en) Data monitoring method and device, computer equipment and storage medium
US8527446B2 (en) Information integrity rules framework
CN110472215A (en) A kind of tender documents generation method, device, equipment and medium
CN110083657A (en) Data interchange method, apparatus, terminal and storage medium
CN111046115B (en) Heterogeneous database interconnection management method based on knowledge graph
JP2021035041A (en) Computer implemented method for cross-chain-interoperability
CN108459887A (en) A kind of service flow management method, engine and computer readable storage medium
CN115543969B (en) Data migration method, device, equipment and medium
US7188324B1 (en) Assertion morphing in functional verification of integrated circuit design
CN112632886B (en) Method and apparatus for checking bus verification, electronic device and storage medium