JPH1117777A - Mutual operability test specification generating method - Google Patents

Mutual operability test specification generating method

Info

Publication number
JPH1117777A
JPH1117777A JP9164818A JP16481897A JPH1117777A JP H1117777 A JPH1117777 A JP H1117777A JP 9164818 A JP9164818 A JP 9164818A JP 16481897 A JP16481897 A JP 16481897A JP H1117777 A JPH1117777 A JP H1117777A
Authority
JP
Japan
Prior art keywords
test
detailed
test specification
detailed test
specifications
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
JP9164818A
Other languages
Japanese (ja)
Inventor
Nobuhiro Tsubone
宣宏 坪根
Naonobu Okazaki
直宣 岡崎
Tachiki Ichihashi
立機 市橋
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9164818A priority Critical patent/JPH1117777A/en
Publication of JPH1117777A publication Critical patent/JPH1117777A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a mutual operability test specification generating method with which a test specification is generated from a protocol specification, plural detailed test specifications are generated from the partial set of test specifications, afterwards, the detailed test specification of high importance degree can be selected and tested within the range of test scale preset by a test executing person and the specification can be applied to the test work of a real communication system. SOLUTION: The protocol specifications of two communication systems, which are inputted in a protocol specification input (step ST1), composed of the set of state transitions are synthesized in an SSG generation (step ST2), the detailed test specification is generated from the partial set of the state transition of provided SSG in a detailed test specification generation (step ST4), and the detailed test specification to execute a test is selected out of these detailed test specifications within the range of test rate, which is separately inputted in a test rate input (step ST3), on a detailed test specification selection (step ST4) and outputted (step ST6).

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、通信システムの
相互運用性を検証するための試験仕様を生成する相互運
用性試験仕様生成方法に関するものである。
The present invention relates to an interoperability test specification generation method for generating a test specification for verifying interoperability of a communication system.

【0002】[0002]

【従来の技術】この種の相互運用性試験仕様生成方法
は、例えば特開平6−66603号公報や、文献「坪
根、土岐田:相互運用性試験に対する試験系列生成方式
の検討、情報処理学会 マルメディア通信と分散処理
75−1(1996)」などにおいて提案、検討がなさ
れている。それらに示された、従来の相互運用性試験仕
様生成方式を以下に説明する。
2. Description of the Related Art This type of interoperability test specification generation method is disclosed, for example, in Japanese Patent Laid-Open Publication No. Hei 6-66603, "Tsubone, Tokita: Examination of Test Sequence Generation Method for Interoperability Test," Media communication and distributed processing
75-1 (1996) "and the like. The conventional interoperability test specification generation method shown in them will be described below.

【0003】ここで、図16は従来の相互運用性試験仕
様生成方法に基づくプロトコル仕様の一例を示す状態遷
移図、図17は従来およびこの発明の相互運用性試験仕
様生成方法に基づく試験仕様生成の一例を示す状態遷移
図であり、図16において、1は相互運用性試験が行わ
れる一方の試験対象の通信システムのプロトコル仕様で
あり、2はもう一方の試験対象の通信システムのプロト
コル仕様である。
FIG. 16 is a state transition diagram showing an example of a protocol specification based on a conventional interoperability test specification generation method, and FIG. 17 is a test specification generation based on the conventional and interoperability test specification generation methods of the present invention. FIG. 16 is a state transition diagram showing an example of the communication system. In FIG. 16, 1 is a protocol specification of one communication system to be tested in which an interoperability test is performed, and 2 is a protocol specification of another communication system to be tested. is there.

【0004】この図16に示すような2つの通信システ
ムのプロトコル仕様1およびプロトコル仕様2を、有限
状態機械(Finite State Machin
e;以下、FSMと略記する)の形式で入力する。次
に、その2つのFSMからシステム状態グラフ(Sys
tem State Graph;以下、SSGと略記
する)を合成し、図17に示すようなSSGを生成す
る。そして、生成された上記SSG全体を試験仕様とし
て出力する。
A protocol specification 1 and a protocol specification 2 of two communication systems as shown in FIG. 16 are defined by a finite state machine (Finite State Machine).
e; hereinafter abbreviated as FSM). Next, the system state graph (Sys
This is combined with a “Stem State Graph” (hereinafter abbreviated as SSG) to generate an SSG as shown in FIG. Then, the entirety of the generated SSG is output as a test specification.

【0005】次に、上記文献「坪根、土岐田:相互運用
性試験に対する試験系列生成方式の検討、情報処理学会
マルメディア通信と分散処理 75−1(199
6)」に基づき、従来の相互運用性試験のための試験仕
様生成方式を説明する。
[0005] Next, the above-mentioned document "Tsubone, Tokita: Examination of test sequence generation method for interoperability test, Information Processing Society of Japan Multimedia Communication and Distributed Processing 75-1 (199)
6)), a description will be given of a conventional test specification generation method for an interoperability test.

【0006】ここで、図18は従来およびこの発明の相
互運用性試験仕様生成方法で想定している試験環境モデ
ルを示すブロック図である。この図18において、1
1、12はFSMであり、各々試験対象である2つの通
信システムのプロトコル仕様1、2をモデル化したもの
である。また、13、14はFSM11あるいはFSM
12の上部で本試験に関わるイベントを制御・観測する
拠点としての上位PCO(PCOはポイント・オブ・コ
ントロール・アンド・オブザベーション;Point
of Contro1 and Observatio
nの略)であり、15、16はFSM11あるいはFS
M12の下部で本試験に関わるイベントを制御・観測す
る拠点としての下位PCOである。17、18は各々上
位PCO13あるいは上位PCO14を通過するイベン
トを制御・観測する上位テスタであり、19、20は各
々下位PCO15あるいは下位PCO16を通過するイ
ベントを制御・観測する下位テスタである。さらに、2
1、22は各々FSM11、FSM12の下位層のサー
ビス・プロバイダをモデル化したファーストイン・ファ
ーストアウト(FIFO)に基づく双方向のチャネルで
ある。
FIG. 18 is a block diagram showing a test environment model assumed in the conventional and interoperability test specification generation methods of the present invention. In FIG. 18, 1
FSMs 1 and 12 model the protocol specifications 1 and 2 of the two communication systems to be tested. 13 and 14 are FSM11 or FSM
Upper PCO as a base for controlling and observing events related to this test at the upper part of PC12 (PCO is Point of Control and Observation; Point
of Contro1 and Observatio
n), and 15 and 16 are FSM11 or FS
It is a lower PCO as a base for controlling and observing events related to the main test below M12. Reference numerals 17 and 18 denote upper testers for controlling and observing events passing through the upper PCO 13 or upper PCO 14, respectively, and reference numerals 19 and 20 denote lower testers for controlling and observing events passing through the lower PCO 15 or the lower PCO 16, respectively. In addition, 2
Reference numerals 1 and 22 denote bidirectional channels based on a first-in first-out (FIFO) model of a service provider in a lower layer of the FSM 11 and the FSM 12, respectively.

【0007】従来の相互運用性試験仕様生成方法は、こ
の図18に示す上位テスタ17および18と、下位テス
タ19および20によって、制御・観測するためのイベ
ントの手順を生成することを目的とする。さらに、FS
M11、FSM12を合成して得られるSSGは、FS
M11、FSM12、チャネル21、チャネル22にお
ける状態を組み合わせてできる全ての状態のうち、初期
状態から到達可能な状態に対する状態遷移の集合であ
る。
The conventional interoperability test specification generation method aims to generate an event procedure for control and observation by the upper testers 17 and 18 and the lower testers 19 and 20 shown in FIG. . Furthermore, FS
SSG obtained by synthesizing M11 and FSM12 is FS
It is a set of state transitions for states that can be reached from the initial state among all states that can be formed by combining the states in M11, FSM 12, channel 21, and channel 22.

【0008】図16は従来の相互運用性試験仕様生成方
法に基づいて、FSM11および12でモデル化された
2つのプロトコル仕様から、図17に示す試験仕様を生
成する一例を示している。この図17に示されたSSG
は、図16に示される2つのプロトコル仕様1および2
を合成して生成されたものである。なお、プロトコル仕
様1における“U?CONreq/L!CR”の記号は
「上位PCO(U)からFSM11にイベント名“CO
Nreq”なるイベントが入力(?)されると、下位P
CO(L)にイベント名“CR”なるイベントを出力
(!)する。」ことを示している。
FIG. 16 shows an example of generating a test specification shown in FIG. 17 from two protocol specifications modeled by the FSMs 11 and 12 based on a conventional interoperability test specification generation method. The SSG shown in FIG.
Are the two protocol specifications 1 and 2 shown in FIG.
Are generated by synthesizing. The symbol of “U? CONreq / L! CR” in the protocol specification 1 indicates that the event name “CO” is sent from the upper PCO (U) to the FSM 11.
When an event “Nreq” is input (?), The lower P
The event having the event name “CR” is output (!) To CO (L). "It is shown that.

【0009】すなわち、図16のプロトコル仕様1およ
び2に示した同様の記号は、一般的に下記の規則に基づ
いて解釈するものとする。 イベント1/イベント2:イベント1(以降、入力イベ
ントと呼称する)が入力されるとイベント2(以降、出
力イベントと呼称する)を出力する。 U:上位PCO L:下位PCO ?:入力 !:出力 ε:空イベント
That is, similar symbols shown in the protocol specifications 1 and 2 of FIG. 16 are generally interpreted based on the following rules. Event 1 / Event 2: When Event 1 (hereinafter, referred to as an input event) is input, Event 2 (hereinafter, referred to as an output event) is output. U: Upper PCO L: Lower PCO? : Input! : Output ε: Empty event

【0010】なお、図17におけるSSGに現れる“U
1?CONreq/L1!CR”等の記号も上記規則に
基づいて解釈するが、PCOについては、FSM11、
FSM12の何れのイベントであるかを明示的に区別す
るため、FSM11側はU1、L1、FSM12側はU
2、L2のように表記している。
Note that "U" appearing in SSG in FIG.
1? CONreq / L1! Symbols such as "CR" are also interpreted based on the above rules.
To explicitly distinguish which event of the FSM12, the FSM11 side is U1, L1, and the FSM12 side is U1.
It is described as 2, L2.

【0011】[0011]

【発明が解決しようとする課題】従来の相互運用性試験
仕様生成方法は以上のように構成されているので、網羅
性のある厳密な試験仕様を生成できるが、その反面その
試験仕様に含まれる状態遷移の数は通例膨大な数にな
り、その全ての状態遷移を辿って試験することは開発コ
ストや開発期間の観点から一般的には困難である。さら
に、その膨大な状態遷移の中から適切な試験実施範囲を
選択するにしても、その選択作業は現状人手に頼らなけ
ればならないが、その状態遷移数の膨大さは人間の情報
処理能力をはるかに越えているため、人手による選択も
困難であり、従来の相互運用性試験仕様生成方法は実際
の通信システムの試験作業には適用することができない
という課題があった。
Since the conventional interoperability test specification generation method is configured as described above, a strict test specification having completeness can be generated, but the test specification is included in the test specification. In general, the number of state transitions is enormous, and it is generally difficult to trace all the state transitions for testing in terms of development cost and development period. Furthermore, even if an appropriate test execution range is selected from among such a huge number of state transitions, the selection work still has to rely on humans at present, but the huge number of state transitions far exceeds human information processing ability. Therefore, it is difficult to make a manual selection, and there is a problem that the conventional interoperability test specification generation method cannot be applied to an actual communication system test operation.

【0012】なお、このような上記課題の一例を、先に
説明した図16と図17において具体的に示すことがで
きる。図16において、プロトコル仕様1に含まれる状
態遷移の数は9個、プロトコル仕様2に含まれる状態遷
移の数は6個であるのに対して、それらを合成して得ら
れるSSGに含まれる状態遷移の数は図17に示すよう
に26個となっている。このように、従来の相互運用性
試験仕様生成方法で生成される試験仕様、すなわちSS
Gに含まれる状態遷移の数は、それぞれの通信システム
のプロトコル仕様1、2を記述する各FSM11、12
に含まれる状態遷移の数に比べて大きなものとなる。
An example of the above problem can be specifically shown in FIGS. 16 and 17 described above. In FIG. 16, the number of state transitions included in the protocol specification 1 is nine, and the number of state transitions included in the protocol specification 2 is six, but the number of state transitions included in the SSG obtained by combining them is six. The number of transitions is 26 as shown in FIG. Thus, the test specification generated by the conventional interoperability test specification generation method, that is, SS
The number of state transitions included in G is determined by the FSMs 11 and 12 that describe the protocol specifications 1 and 2 of each communication system
Is larger than the number of state transitions included in the.

【0013】さらに、図16に示した通信システムのプ
ロトコル仕様1および2は、実際の通信システムのプロ
トコル仕様、例えばISO(国際標準化機構)標準であ
るOSI(開放型システム間相互接続)のトランスポー
ト層プロトコル(ISO8073)や、DTE用X.2
5パケットレベルプロトコル(ISO8208)などに
比べて極めて簡素なものであるので、実際の通信システ
ムのプロトコル仕様に対して従来の相互運用性試験仕様
生成方法を適用した場合には、得られる試験仕様の規
模、すなわちSSGに含まれる状態遷移の数が膨大なも
のになることは明らかである。
Further, the protocol specifications 1 and 2 of the communication system shown in FIG. 16 are the protocol specifications of the actual communication system, for example, the transport of OSI (Open System Interconnection) which is an ISO (International Organization for Standardization) standard. Layer protocol (ISO8073) or D.X. 2
5 is very simple as compared with the packet level protocol (ISO8208), etc. Therefore, when the conventional interoperability test specification generation method is applied to the protocol specification of the actual communication system, the obtained test specification becomes It is clear that the scale, that is, the number of state transitions included in the SSG becomes enormous.

【0014】この発明は以上のような課題を解決するた
めになされたもので、プロトコル仕様から試験仕様を生
成し、試験仕様の部分集合から複数の詳細試験仕様を生
成した後、試験実施者があらかじめ設定した試験規模の
範囲内で、重要度の高い詳細試験仕様を選んで試験する
ことができ、実際の通信システムの試験作業に適用可能
な相互運用性試験仕様生成方法を得ることを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems. A test specification is generated from a protocol specification, and a plurality of detailed test specifications are generated from a subset of the test specification. The purpose is to obtain an interoperability test specification generation method that can select and test a highly important detailed test specification within a preset test scale, and that can be applied to actual communication system test work. I do.

【0015】[0015]

【課題を解決するための手段】請求項1記載の発明に係
る相互運用性試験仕様生成方法は、プロトコル仕様入力
ステップにて状態遷移の集合からなる2つの通信システ
ムのプロトコル仕様をそれぞれ入力し、SSG生成ステ
ップでそれらを合成してSSGを生成するとともに、試
験率入力ステップにてSSGを構成する状態遷移の中
で、試験する状態遷移の割合を決定する試験率を別途入
力しておき、SSG生成ステップで生成されたSSGの
状態遷移の部分集合から、詳細試験仕様生成ステップで
詳細試験仕様を生成して、詳細試験仕様選択ステップに
おいて、その得られた詳細試験仕様より、試験率入力ス
テップにて入力された試験率の範囲内で、試験を実施す
る詳細試験仕様を選択し、出力ステップでそれを出力す
るようにしたものである。
According to a first aspect of the present invention, there is provided an interoperability test specification generation method, wherein a protocol specification of two communication systems comprising a set of state transitions is input in a protocol specification input step. In the SSG generation step, the SSG is generated by combining them, and in the test rate input step, a test rate for determining the ratio of the state transition to be tested among the state transitions constituting the SSG is separately input, and the SSG is generated. From the subset of state transitions of the SSG generated in the generation step, a detailed test specification is generated in a detailed test specification generation step, and in the detailed test specification selection step, the obtained detailed test specification is converted to a test rate input step. Select the detailed test specification to execute the test within the range of the input test rate and output it in the output step. That.

【0016】請求項2記載の発明に係る相互運用性試験
仕様生成方法は、詳細試験仕様選択ステップにおける詳
細試験仕様の選択を、SSGの初期状態から極力遠い状
態遷移を試験すること、およびできる限り多くの異なる
状態遷移を試験することを同時に満たすことを条件とし
て行うようにしたものである。
According to a second aspect of the present invention, there is provided an interoperability test specification generation method, wherein the selection of a detailed test specification in the detailed test specification selecting step includes testing a state transition as far as possible from an initial state of the SSG, and The testing is performed on condition that the testing of many different state transitions is simultaneously satisfied.

【0017】[0017]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1による相
互運用性試験仕様生成方法における処理の流れを示すフ
ローチャートである。図において、ST1はそれぞれが
状態遷移の集合からなる2つの通信システムの各プロト
コル仕様の入力を行うプロトコル仕様入力ステップ、S
T2はこのプロトコル仕様入力ステップST1にて入力
されたプロトコル仕様を合成してSSGの生成を行うS
SG生成ステップ、ST3はこのSSG生成ステップS
T2で生成されたSSGを構成する状態遷移の中で、試
験を実施する状態遷移の割合を決定する試験率の入力を
行う試験率入力ステップ、ST4はSSG生成ステップ
ST2で生成されたSSGの状態遷移の部分集合より詳
細試験仕様の生成を行う詳細試験仕様生成ステップ、S
T5はこの詳細試験仕様生成ステップST4で生成され
た詳細試験仕様より、試験率入力ステップST3で入力
された試験率の範囲内で試験を実施する詳細試験仕様の
選択を行う詳細試験仕様選択ステップ、ST6はこの詳
細試験仕様選択ステップST5で選択された詳細試験仕
様の出力を行う出力ステップである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a flowchart showing a processing flow in the interoperability test specification generation method according to the first embodiment of the present invention. In the figure, ST1 is a protocol specification input step for inputting each protocol specification of two communication systems each consisting of a set of state transitions.
T2 combines the protocol specifications input in the protocol specification input step ST1 to generate SSG.
SG generation step, ST3 is the SSG generation step S
A test rate input step of inputting a test rate for determining a rate of a state transition for performing a test among state transitions constituting the SSG generated in T2, and ST4 is a state of the SSG generated in the SSG generation step ST2. Detailed test specification generation step of generating a detailed test specification from a subset of transitions, S
T5 is a detailed test specification selecting step of selecting a detailed test specification for performing a test within the range of the test rate input in the test rate input step ST3 from the detailed test specification generated in the detailed test specification generating step ST4. ST6 is an output step for outputting the detailed test specification selected in the detailed test specification selecting step ST5.

【0018】また、図2はこの実施の形態1による相互
運用性試験仕様生成方法を用いて生成した試験仕様に基
づいた相互運用性試験が実行されるシステムの一例を示
したブロック図である。図において、31はこの発明の
実施の形態1による相互運用性試験仕様生成方法に基づ
いて試験仕様を生成する試験仕様生成装置である。32
はこの試験仕様生成装置31が生成した試験仕様に基づ
いて相互運用性試験を実行する相互運用性試験実行装置
であり、33はこの実施の形態1による相互運用性試験
仕様生成方法の試験対象となる第1の通信システム、3
4は同じく第2の通信システムである。35は試験仕様
生成装置31で生成された試験仕様が格納される試験仕
様ファイル、36は相互運用性試験実行装置32による
相互運用性試験の実行結果が格納される試験結果ファイ
ルである。
FIG. 2 is a block diagram showing an example of a system in which an interoperability test is executed based on a test specification generated by using the interoperability test specification generation method according to the first embodiment. In the figure, reference numeral 31 denotes a test specification generation device that generates a test specification based on the interoperability test specification generation method according to the first embodiment of the present invention. 32
Is an interoperability test execution device that executes an interoperability test based on the test specification generated by the test specification generation device 31, and 33 is a test target of the interoperability test specification generation method according to the first embodiment. A first communication system, 3
Reference numeral 4 denotes a second communication system. Reference numeral 35 denotes a test specification file in which the test specifications generated by the test specification generation device 31 are stored, and reference numeral 36 denotes a test result file in which execution results of the interoperability test by the interoperability test execution device 32 are stored.

【0019】次に動作について説明する。この実施の形
態1は2つの通信システムのプロトコル仕様を合成して
SSGを求めるとともに、得られたSSGに含まれる状
態遷移の部分集合からなる詳細試験仕様を求め、前記S
SGを構成する状態遷移の中で試験する状態遷移の割合
を決定する試験率の範囲内で、詳細試験仕様を選択する
ものである。以下、試験仕様生成装置31によって第1
の通信システム33と第2の通信システム34をそれぞ
れFSM11およびFSM12にモデル化し、それらに
基づいて試験仕様を生成する手順を図1のフローチャー
トに従って説明する。
Next, the operation will be described. In the first embodiment, the SSG is obtained by synthesizing the protocol specifications of the two communication systems, and a detailed test specification including a subset of state transitions included in the obtained SSG is obtained.
The detailed test specification is selected within the range of the test rate for determining the ratio of the state transition to be tested among the state transitions constituting the SG. Hereinafter, the first test specification generating device 31
The procedure for modeling the communication system 33 and the second communication system 34 of the first embodiment into FSM11 and FSM12, respectively, and generating a test specification based on them will be described with reference to the flowchart of FIG.

【0020】まず、プロトコル仕様入力ステップST1
において、試験実施者が、図16に示すようなFSMの
形式で記述された試験対象の第1の通信システム33お
よび第2の通信システム34のプロトコル仕様1および
2の入力を行う。試験仕様生成装置31はこの入力され
た2つのプロトコル仕様1および2をFSMの形式で読
み取る。なお、図16に示したプロトコル仕様1は試験
対象の通信システム33のプロトコル仕様、プロトコル
仕様2は試験対象の通信システム34のプロトコル仕様
である。
First, a protocol specification input step ST1
In, the tester inputs the protocol specifications 1 and 2 of the first communication system 33 and the second communication system to be tested described in the FSM format as shown in FIG. The test specification generation device 31 reads the two input protocol specifications 1 and 2 in the FSM format. Note that protocol specification 1 shown in FIG. 16 is the protocol specification of the communication system 33 to be tested, and protocol specification 2 is the protocol specification of the communication system 34 to be tested.

【0021】次に、SSG合成ステップST2におい
て、試験仕様生成装置31は図16に示した2つのFS
Mのプロトコル仕様1と2、および図18に示したチャ
ネル21と22における状態の組み合わせによってでき
るすべての状態のうち、2つの通信システム33および
34の初期状態から到達可能な状態に対する状態遷移の
集合、すなわちSSGを合成する。このSSG合成ステ
ップST2による処埋に基づいて、図16に示すプロト
コル仕様1とプロトコル仕様2から合成されたSSGの
一例を図17に示している。
Next, in the SSG synthesizing step ST2, the test specification generating device 31 sets the two FSs shown in FIG.
A set of state transitions for states that can be reached from the initial states of the two communication systems 33 and 34 among all the states formed by the combination of the states in the protocol specifications 1 and 2 of M and the channels 21 and 22 shown in FIG. That is, SSG is synthesized. FIG. 17 shows an example of an SSG synthesized from the protocol specification 1 and the protocol specification 2 shown in FIG. 16 based on the processing in the SSG synthesis step ST2.

【0022】次に、試験率入力ステップST3におい
て、SSG生成ステップST2で生成されたSSGを構
成する状態遷移の中で、試験する状態遷移の割合を決定
する試験率を入力する。例えば、図17に示されるSS
Gには26個の状態遷移が含まれるが、その中で13個
の状態遷移を試験する場合には、試験率を50%として
入力する。
Next, in a test rate input step ST3, a test rate for determining a ratio of a state transition to be tested in the state transitions constituting the SSG generated in the SSG generation step ST2 is input. For example, the SS shown in FIG.
G includes 26 state transitions. When 13 state transitions are tested, G is input as a test rate of 50%.

【0023】次に、詳細試験仕様生成ステップST4に
おいて、試験仕様生成装置31はSSG生成ステップS
T2で求めたSSGの全状態遷移から部分集合を選ん
で、複数の詳細試験仕様を生成する。なお、この詳細試
験仕様の生成方法は以下に示す方法1〜方法3による。
Next, in the detailed test specification generation step ST4, the test specification generation device 31
A subset is selected from all the state transitions of the SSG obtained at T2, and a plurality of detailed test specifications are generated. The method of generating the detailed test specifications is based on the following methods 1 to 3.

【0024】方法1:SSGの初期状態S1から出発し
て各状態遷移を辿ってゆき、一度通過した状態(ある1
つのループを開始する状態)に到達した場合に、それま
でに辿った全ての状態遷移の集合を1つの詳細試験仕様
とする。 方法2:SSGの初期状態S1から出発して各状態遷移
を辿ってゆき、終端の状態に到達した場合に、それまで
に辿った全ての状態遷移の集合を1つの詳細試験仕様と
する。 方法3:SSGを構成する全ての状態遷移が、少なくと
も1つの詳細試験仕様に含まれるまで方法1または方法
2を繰り返す。
Method 1: Starting from the initial state S1 of the SSG, tracing each state transition, and passing the state once (one state
(A state where two loops are started), a set of all state transitions traced so far is defined as one detailed test specification. Method 2: Each state transition is traced starting from the initial state S1 of the SSG, and when the terminal state is reached, a set of all state transitions traced so far is defined as one detailed test specification. Method 3: Method 1 or Method 2 is repeated until all state transitions constituting the SSG are included in at least one detailed test specification.

【0025】例えば、図17に示すSSGから詳細試験
仕様を生成する場合、上記の方法1により、SSGの初
期状態S1から出発して状態S2〜S6,S8,S1
2,S15,S18,S7,S11を辿り一度通過した
状態S2に到達し、図3に示す詳細試験仕様d1 を生成
する。なお、図中の太線で示す経路が該当の詳細試験仕
様であり、この詳細試験仕様d1 では状態遷移数は12
である。
For example, when the detailed test specification is generated from the SSG shown in FIG. 17, the method 1 starts from the initial state S1 of the SSG and states S2 to S6, S8, S1.
2, S15, S18, S7, S11 reaches a state S2 once passed through follows a generates a detailed test specification d 1 shown in FIG. Incidentally, a detailed test specification of the relevant route indicated by the thick line in the figure, the state transition number in this detailed test specification d 1 12
It is.

【0026】次に、方法3で詳細試験仕様d1 に含まれ
ない状態遷移があるので、方法1を繰り返すことによ
り、図4〜図11に示す詳細試験仕様d2 〜d9 を順次
生成する。これら詳細試験仕様d2 〜d9 においても、
図中の太線で示す経路が該当の詳細試験仕様であり、そ
れぞれの状態遷移数は12,12,11,11,9,
9,9,7である。この詳細試験仕様d9 を生成した時
点で、SSGを構成する全ての状態遷移が少なくとも1
つの詳細試験仕様に含まれるため、方法3に基づいて詳
細試験仕様生成ステップST4の処理を終了する。な
お、この場合には、方法1および方法3を適用すること
により詳細試験仕様が求まるので、方法2は適用する必
要がない。
Next, there is a state transition not included in the method 3 detailed test specification d 1, by repeating the method 1, sequentially generating detailed test specification d 2 to d 9 shown in FIGS. 4 to 11 . In these detailed test specifications d 2 to d 9 ,
The route indicated by the thick line in the figure is the corresponding detailed test specification, and the number of state transitions is 12, 12, 11, 11, 9,
9, 9, 7. Once generated the detailed test specification d 9, all the state transitions constituting the SSG at least 1
Since the detailed test specifications are included in the three detailed test specifications, the process of the detailed test specification generation step ST4 is terminated based on the method 3. In this case, since detailed test specifications are obtained by applying the methods 1 and 3, the method 2 does not need to be applied.

【0027】次に、詳細試験仕様選択ステップST5に
おいて、試験仕様生成装置31は詳細試験仕様生成ステ
ップST4にて生成された複数の詳細試験仕様の中か
ら、試験率入力ステップST3で入力された試験率の範
囲内で、試験を実施する詳細試験仕様を選択する。な
お、ここでの選択は、以下に示す各情報の少なくとも1
つを分析することにより行う。 (1)ステップST1で入力された前記第1のプロトコ
ル仕様1と第2のプロトコル仕様2 (2)ステップST2で生成されたSSG (3)ステップST4で生成された各詳細試験仕様
Next, in the detailed test specification selecting step ST5, the test specification generating device 31 selects the test input in the test rate input step ST3 from the plurality of detailed test specifications generated in the detailed test specification generating step ST4. Select a detailed test specification for performing the test within the range of the rate. The selection here is at least one of the information shown below.
This is done by analyzing one. (1) The first protocol specification 1 and the second protocol specification 2 input in step ST1 (2) SSG generated in step ST2 (3) Detailed test specifications generated in step ST4

【0028】具体的な選択方法の一例としては、SSG
生成ステップST2で生成されたSSG、および詳細試
験仕様生成ステップST4で生成された各詳細試験仕様
を分析することにより、 [条件1]:SSGの初期状態から極力遠い状態遷移を
試験すること [条件2]:できる限り多くの異なる状態遷移を試験す
ること の2つの条件を同時に満たすことを条件として選択する
方法である。これらの条件を同時に満たすことにより、
相互運用性試験の最終目的である試験対象の品質を高め
ることに有効な詳細試験仕様を選択することができる。
As an example of a specific selection method, SSG
By analyzing the SSG generated in the generation step ST2 and the detailed test specifications generated in the detailed test specification generation step ST4, [condition 1]: testing a state transition as far as possible from the initial state of the SSG [condition] 2]: A method in which two conditions of testing as many different state transitions as possible are simultaneously selected. By satisfying these conditions at the same time,
It is possible to select detailed test specifications that are effective in improving the quality of the test object, which is the ultimate purpose of the interoperability test.

【0029】この最終目的に有効な詳細試験仕様を選択
するために、[条件1]および[条件2]を挙げた理由
は以下の通りである。 [条件1]を挙げた理由 試験仕様に相当するSSGの初期状態から遠い所にある
条件遷移を試験するためには、その状態遷移に到達する
までの各状態遷移に関わる2つのIUT間での各インタ
ラクションを実現する必要があるが、相互運用性試験を
行う以前の単体システムの試験では、このような各イン
タラクションを全て実現することは難しいため、厳密な
試験は実施困難であり、初期状態から遠い状態遷移に関
わる実装部分は不具合が見逃されている可能性が高い。 [条件2]を挙げた理由 一般に、試験においてはカバレッジの大きい方が効果が
あり、この観点からはなるべく多くの状態遷移を試験す
ることが有効である。
The reason why [condition 1] and [condition 2] are given in order to select a detailed test specification effective for this final purpose is as follows. Reason for [Condition 1] In order to test a condition transition far from the initial state of the SSG corresponding to the test specification, a test must be performed between two IUTs related to each state transition until the state transition is reached. Although it is necessary to realize each interaction, it is difficult to realize all such interactions in a single system test before performing the interoperability test, so it is difficult to perform a strict test. It is highly probable that failures have been overlooked for implementation parts related to distant state transitions. Reason for [Condition 2] Generally, in a test, a larger coverage is more effective, and from this viewpoint, it is effective to test as many state transitions as possible.

【0030】上記の条件に基づいた選択は、次に示す第
1ステップ〜第5ステップによる一連の手順により実現
することができる。なお、この手順に用いられている用
語は以下の意味を持つ。
The selection based on the above conditions can be realized by a series of the following first to fifth steps. The terms used in this procedure have the following meanings.

【0031】※ 詳細試験仕様;di (1≦i≦n) 詳細試験仕様生成ステップST4で生成された各詳細試
験仕様で、nは生成された詳細試験仕様の総数である。 ※ 詳細試験仕様の集合;D={d1 ,d2 ,・・・
・,dn } ※ 選択された詳細試験仕様;pi (1≦i≦m) 詳細試験仕様選択ステップST5で詳細試験仕様の集合
Dから選択された詳細試験仕様で、この選択された詳細
試験仕様pi は詳細試験仕様の集合Dに属している。ま
た、mは選択された詳細試験仕様の総数である。 ※ 選択された詳細試験仕様の集合;P={p1 ,p
2 ,・・・・,pm } ※ 選択された詳細試験仕様の規模;Scale(P) ※ 試験率;TestRatio 試験率入力ステップST3で入力された試験率。
* Detailed test specifications; d i (1 ≦ i ≦ n) In each detailed test specification generated in the detailed test specification generation step ST4, n is the total number of generated detailed test specifications. * A set of detailed test specifications; D = {d 1 , d 2 , ...
·, D n } * The selected detailed test specification; p i (1 ≦ i ≦ m) The detailed test specification selected from the detailed test specification set D in the detailed test specification selection step ST5. The specifications p i belong to a set D of detailed test specifications. M is the total number of the selected detailed test specifications. * A set of selected detailed test specifications; P = {p 1 , p
2, ····, p m} ※ scale of selected details test specification; Scale (P) ※ test rate; TestRatio test rate input entered tested rate in step ST3.

【0032】なお、上記各詳細試験仕様di はSSG生
成ステップST2で生成されたSSGに含まれる全ての
状態遷移の部分集合で、次の式(1)のように表現で
き、また、上記選択された詳細試験仕様の規模Scal
e(P)は次の式(2)のように表現できる。
[0032] Each of the above detailed test specification d i is a subset of all the state transitions included in the SSG generated in SSG generating step ST2, the can be expressed as the following equation (1), also, the selective Scale of detailed test specifications
e (P) can be expressed as in the following equation (2).

【0033】[0033]

【数1】 (Equation 1)

【0034】第1ステップ:選択された詳細試験仕様の
集合Pを初期設定のために空集合Φとする。すなわち、
P=Φとなる。
First step: A set P of the selected detailed test specifications is set as an empty set Φ for initial setting. That is,
P = Φ.

【0035】第2ステップ:詳細試験仕様の集合Dよ
り、前述の[条件1]および[条件2]を定量的に表現
した以下に示す詳細条件1および詳細条件2を満たす詳
細試験仕様di を選択し、それを選択された詳細試験仕
様の集合Pの要素として追加して第3ステップに進む。
ただし、次に示す[詳細条件1]および[詳細条件2]
を満たす詳細試験仕様が複数ある場合には、その中の任
意の1つを選択する。
The second step: from the set D of detailed test specification, the aforementioned [Condition 1] and [Condition 2] quantitatively satisfy the detailed conditions 1 and detailed condition 2 below that expresses detailed test specification d i Select, add it as an element of the selected detailed test specification set P, and proceed to the third step.
However, [Detailed condition 1] and [Detailed condition 2] shown below
If there are a plurality of detailed test specifications that satisfy the condition, any one of them is selected.

【0036】[詳細条件1]選択された詳細試験仕様の
集合Pに含まれる全ての状態遷移と重複しない各状態遷
移の初期状態からの距離の和を最大にするもの。すなわ
ち、詳細試験仕様の集合Dの各要素(詳細試験仕様)d
i と選択された詳細試験仕様の集合Pについて、選択さ
れた詳細試験仕様の集合Pに含まれる全ての状態遷移の
集合をG(P)と表記した場合、次の式(3)で表され
る集合に含まれる各状態遷移の初期状態からの距離の和
を最大にする詳細試験仕様di を選択する。
[Detailed condition 1] A condition that maximizes the sum of the distances from the initial state of each state transition that does not overlap with all the state transitions included in the set P of the selected detailed test specifications. That is, each element (detailed test specification) d of the set D of detailed test specifications
With respect to i and the set P of the selected detailed test specifications, when a set of all state transitions included in the selected set P of the detailed test specifications is denoted by G (P), it is expressed by the following equation (3). the sum of the distances from the initial state of each state transition included in the set to select a detailed test specification d i that maximizes that.

【0037】[0037]

【数2】 (Equation 2)

【0038】なお、ここで用いている「状態遷移の初期
状態からの距離」は一般的に次のように定義される。す
なわち、図12に示した、S1を初期状態とするS1か
らS2を経てS3へ状態遷移するSSGを例にとると、
初期状態S1に引き続くS1からS2への状態遷移の、
初期状態S1からの距離を1と定義する。また、状態S
2からS3への状態遷移の、初期状態S1からの距離は
2である。従って、S1からS2への状態遷移とS2か
らS3への状態遷移の2つの状態遷移の初期状態S1か
らの距離の和は3となる。
The "distance from the initial state of the state transition" used here is generally defined as follows. That is, in the example of SSG shown in FIG.
Of the state transition from S1 to S2 following the initial state S1,
The distance from the initial state S1 is defined as 1. Also, state S
The distance of the state transition from 2 to S3 from the initial state S1 is 2. Therefore, the sum of the distance from the initial state S1 of the two state transitions of the state transition from S1 to S2 and the state transition from S2 to S3 is 3.

【0039】[詳細条件2]上記[詳細条件1]を満た
す詳細試験仕様が複数ある場合には、それら[詳細条件
1]を満たす詳細試験仕様の中で、選択された詳細試験
仕様の集合Pに含まれる全ての状態遷移と重複する状態
遷移の数を最小にするもの。すなわち、状態遷移の集合
G(P)に含まれる状態遷移の数を最小にする詳細試験
仕様di を選択する。
[Detailed Condition 2] When there are a plurality of detailed test specifications satisfying the above [Detailed Condition 1], a set P of the selected detailed test specifications among the detailed test specifications satisfying the [Detailed Condition 1] is set. That minimize the number of state transitions that overlap with all state transitions included in That is, to select a detailed test specification d i to the number of state transitions included in the set of state transition G (P) to a minimum.

【0040】第3ステップ:第2ステップで選択された
詳細試験仕様di を詳細試験仕様の集合Dから除外して
新たに詳細試験仕様の集合Dを再定義し、第4ステップ
に進む。
[0040] Third step: to redefine the set D of new detailed test specification excluded from the set D of detailed test specification selected detailed test specification d i in the second step, the process proceeds to the fourth step.

【0041】第4ステップ:選択された詳細試験仕様の
規模Scale(P)が、試験実施者があらかじめ設定
した試験率TestRatioと等しいか試験率Tes
tRatioを越える場合、すなわちScale(P)
≧TestRatioならば第5ステップに進む。ま
た、選択された詳細試験仕様の規模Scale(P)
が、試験率TestRatioより小さい場合、すなわ
ちScale(P)<TestRatioならば第2ス
テップに進む。
Fourth Step: Whether the scale Scale (P) of the selected detailed test specification is equal to the test rate TestRatio set in advance by the tester or not, and the test rate Tes
If the ratio exceeds tRatio, that is, Scale (P)
If ≧ TestRatio, proceed to the fifth step. The scale Scale (P) of the selected detailed test specification
Is smaller than the test rate TestRatio, that is, if Scale (P) <TestRatio, the process proceeds to the second step.

【0042】第5ステップ:この場合の選択された詳細
試験仕様の集合Pが求めるべき詳細試験仕様の集合Pで
あり、この一連の処理を終了する。
Fifth step: The set P of the selected detailed test specifications in this case is the set P of the detailed test specifications to be obtained, and this series of processing ends.

【0043】次に、図3〜図11に示される詳細試験仕
様d1 〜d9 について、上記の第1ステップ〜第5ステ
ップを適用して、試験率50%で詳細試験仕様di を選
択する手順を説明する。
Next, details test specification d 1 to d 9 shown in FIGS. 3 to 11, by applying the first step to fifth step described above, select a detailed test specifications d i in the test 50% The procedure to be performed will be described.

【0044】まず、第1ステップにおいて選択された詳
細試験仕様の集合Pを空集合Φとする。次に、第2ステ
ップにおいて[詳細条件1]を評価すると、P=Φであ
ることから、式(3)よりΔi =di となる。すなわ
ち、Δi 含まれる各状態遷移の初期状態からの距離の和
を最大にするdi は、最も多くの状態遷移を有するもの
ということになるので、選択される詳細試験仕様は、1
2個の状態遷移を有する詳細試験仕様d1 ,d2 ,d3
の何れかである。これらの詳細試験仕様d1 ,d2 ,d
3 に対して[詳細条件2]の評価をすると、何れもG
(P)=Φとなり、互いに同等の選択条件を持つため、
ここではその中の任意の1つである詳細試験仕様d1
選択するものとする。従って、P={d1 }となる。
First, a set P of the detailed test specifications selected in the first step is defined as an empty set Φ. Next, when [Detailed Condition 1] is evaluated in the second step, since P = Φ, Δ i = d i from equation (3). That is, d i that maximizes the sum of the distances from the initial state of each state transition included in Δ i has the largest number of state transitions. Therefore, the selected detailed test specification is 1
Detailed test specification d 1 , d 2 , d 3 having two state transitions
One of These detailed test specifications d 1 , d 2 , d
When [Detailed Condition 2] is evaluated for 3
Since (P) = Φ and having the same selection conditions as each other,
Here, it is assumed to select the at any one is detailed test specification d 1 therein. Therefore, P = {d 1 }.

【0045】次に、第3ステップで詳細試験仕様の集合
Dからここで選択された詳細試験仕様d1 を除外し、D
={d2 ,d3 ,d4 ,d5 ,d6 ,d7 ,d8 ,d
9 }として第4ステップに進む。
Next, in the third step, the detailed test specification d 1 selected here is excluded from the set D of detailed test specifications, and D
= {D 2 , d 3 , d 4 , d 5 , d 6 , d 7 , d 8 , d
9 Go to 4th step as}.

【0046】この第4ステップでScale(P)を評
価すると、次の式(4)に示すように、詳細試験仕様の
規模Scale(P)があらかじめ設定しておいた試験
率TestRatioの50%よりも小さくなるので、
第2ステップに進む。
When the Scale (P) is evaluated in the fourth step, as shown in the following equation (4), the scale Scale (P) of the detailed test specification becomes larger than the preset test rate TestRatio of 50%. Is also smaller,
Proceed to the second step.

【0047】[0047]

【数3】 (Equation 3)

【0048】第2ステップにおいて、[詳細条件1]の
評価条件:「選択された詳細試験仕様の集合Pに含まれ
る全ての状態遷移と重複しない各状態遷移の初期状態か
らの距離の和」、および[詳細条件2]の評価条件:
「選択された詳細試験仕様の集合Pに含まれる全ての状
態遷移と重複する状態遷移の数」を評価する。
In the second step, the evaluation condition of [detailed condition 1] is: "the sum of the distance from the initial state of each state transition which does not overlap with all the state transitions included in the set P of the selected detailed test specifications"; And evaluation conditions of [Detailed condition 2]:
"The number of state transitions overlapping with all the state transitions included in the set P of the selected detailed test specifications" is evaluated.

【0049】これらの評価条件を、図8に示す詳細試験
仕様d6 を例に取って説明すると以下のようになる。ま
ず、[詳細条件1]の評価条件については、選択された
詳細試験仕様の集合Pは{d1 }であるから、詳細試験
仕様d6 について、図3に示す詳細試験仕様d1 に含ま
れる全ての状態遷移と重複しない各状態遷移の初期状態
からの距離の和を求めることになる。詳細試験仕様d6
について詳細試験仕様d1 に含まれる全ての状態遷移と
重複しない状態遷移は、図13のa欄からd欄に示した
4つの状態遷移であり、各々の初期状態S1からの距離
は、上から順番に6、7、8、9である。従って、これ
らの距離の和である30が詳細試験仕様d6 に対する
[詳細条件1]の評価条件となる。
These evaluation conditions will be described below with reference to the detailed test specification d 6 shown in FIG. 8 as an example. First, regarding the evaluation condition of [Detailed condition 1], since the selected detailed test specification set P is {d 1 }, the detailed test specification d 6 is included in the detailed test specification d 1 shown in FIG. The sum of the distances from the initial state of each state transition that does not overlap with all the state transitions is obtained. Detailed test specification d 6
State transition that does not overlap with all state transitions included in the detailed test specification d 1 is a four state transitions shown in d column from a column in FIG. 13, the distance from each of the initial state S1 is from the top The numbers are 6, 7, 8, 9 in order. Therefore, the sum of these distances 30 is rated conditions [detailed conditions 1] for details test specification d 6.

【0050】次に、[詳細条件2]の評価条件について
は、詳細試験仕様d6 について詳細試験仕様d1 に含ま
れる全ての状態遷移と重複する状態遷移は、図14のa
欄からe欄に示した5つであるから、詳細試験仕様d6
に対する[詳細条件2]の評価条件は5となる。
[0050] Next, the evaluation conditions of the detailed conditions 2], the state transition that overlaps with all state transitions included in the detailed test specification d 1 for details test specification d 6 is, a in FIG. 14
Column 5 to column e, the detailed test specifications d 6
The evaluation condition of [detailed condition 2] is 5.

【0051】ここで、詳細試験仕様の集合D={d2
3 ,d4 ,d5 ,d6 ,d7 ,d8 ,d9 }の全ての
詳細試験仕様について[詳細条件1]および[詳細条件
2]の評価条件を評価すると、図15に示すようにな
る。この図15は2つ目の詳細試験仕様を選択する際の
各評価値を示したものであり、各詳細試験仕様di
に、[詳細条件1]の評価値である、選択された詳細試
験仕様の集合Pに含まれる全ての状態遷移と重複しない
各状態遷移の初期状態からの距離の和と、[詳細条件
2]の評価値である、選択された詳細試験仕様の集合P
に含まれる全ての状態遷移と重複する状態遷移の数、お
よび選択候補が示されている。この図15に示すよう
に、次に選択すべき詳細試験仕様は、[詳細条件1]の
評価値が“30”で[詳細条件2]の評価値が“5”で
ある詳細試験仕様d6 ,d7 ,d8 の何れかとなるが、
ここでは、例えば詳細試験仕様d6 を選択する。従っ
て、P={d1 ,d6 }となる。
Here, a set of detailed test specifications D = {d 2 ,
When the evaluation conditions of [Detailed Condition 1] and [Detailed Condition 2] are evaluated for all the detailed test specifications of d 3 , d 4 , d 5 , d 6 , d 7 , d 8 , d 9 }, FIG. Become like FIG. 15 shows the respective evaluation values in selecting the second full test specifications, each detail test specification d i, the evaluation value for the detailed conditions 1], selected details The set P of the selected detailed test specifications, which is the sum of the distance from the initial state of each state transition that does not overlap with all the state transitions included in the test specification set P, and the evaluation value of [Detailed Condition 2]
, The number of state transitions that overlap with all the state transitions included in, and selection candidates are shown. As shown in FIG. 15, the detailed test specification to be selected next is a detailed test specification d 6 in which the evaluation value of [Detailed Condition 1] is “30” and the evaluation value of [Detailed Condition 2] is “5”. , D 7 or d 8 ,
Here, for example, selects a detailed test specification d 6. Therefore, P = {d 1 , d 6 }.

【0052】次に第3ステップに進み、詳細試験仕様の
集合Dからここで選択された詳細試験仕様d6 を除外
し、D={d2 ,d3 ,d4 ,d5 ,d7 ,d8 ,d
9 }として第4ステップに進む。
Next, proceeding to the third step, the detailed test specification d 6 selected here is excluded from the set D of detailed test specifications, and D = {d 2 , d 3 , d 4 , d 5 , d 7 , d 8 , d
9 Go to 4th step as}.

【0053】この第4ステップでScale(P)を評
価すると、次の式(5)に示すように、詳細試験仕様の
規模Scale(P)があらかじめ設定した試験率Te
stRatioの50%よりも多くなるので、第5ステ
ップに進む。
When Scale (P) is evaluated in the fourth step, as shown in the following equation (5), the scale Scale (P) of the detailed test specification becomes equal to the preset test rate Te.
Since it is more than 50% of stRatio, the process proceeds to the fifth step.

【0054】[0054]

【数4】 (Equation 4)

【0055】なお、この場合の選択された詳細試験仕様
の集合Pが求めるべき最適な試験となる。すなわち、試
験率50%に対する最適な試験として詳細試験仕様d1
と詳細試験仕様d6 の2つの試験系列を選択したことに
なる。実質的には、全体で26個の状態遷移の内、合計
16個の状態遷移を少なくとも1回は試験することにな
る。
In this case, the set P of the selected detailed test specifications is the optimum test to be obtained. That is, the detailed test specification d 1 is an optimal test for a test rate of 50%.
And it will be selected the two test series Details test specification d 6. In effect, a total of 16 state transitions out of a total of 26 state transitions will be tested at least once.

【0056】次に、図1に示す出力ステップST6にお
いて、試験仕様生成装置31は詳細試験仕様選択ステッ
プST5で選択した各詳細試験仕様di を試験仕様ファ
イル35に出力する。
Next, in the output step ST6 shown in FIG. 1, the test specification generator 31 outputs each detailed test specification d i selected in detail test specification selection step ST5 to the test specification file 35.

【0057】以後、相互運用性試験実行装置32は指示
された詳細試験仕様di を試験仕様ファイル35から読
み込んで、第1の通信システム33と第2の通信システ
ム34に対する相互運用性試験を行い、その結果を試験
結果ファイル36に出力する。
[0057] Thereafter, interoperability test execution unit 32 reads the detailed test specification d i instructed by the test specification file 35, performed interoperability tests with the first communication system 33 to the second communication system 34 , And outputs the result to the test result file 36.

【0058】以上のように、この実施の形態1によれ
ば、プロトコル仕様から試験仕様を生成し、試験仕様の
部分集合から複数の詳細試験仕様を生成した後、試験実
施者があらかじめ設定した試験規模の範囲内で、重要度
の高い詳細試験仕様を選んで試験することができるた
め、実際の通信システムの相互運用性を検証することが
可能な相互運用性試験仕様生成方法が得られる効果があ
る。
As described above, according to the first embodiment, a test specification is generated from a protocol specification, a plurality of detailed test specifications are generated from a subset of the test specifications, and then a test set by a tester in advance. Since it is possible to select and test highly important detailed test specifications within the scope of the scale, the effect of obtaining an interoperability test specification generation method that can verify the interoperability of an actual communication system is obtained. is there.

【0059】なお、上記実施の形態1では、試験率入力
ステップをSSG生成ステップと詳細試験仕様生成ステ
ップの間で実行している場合について説明したが、詳細
試験仕様選択ステップの前であればどこで実行してもよ
く、上記実施の形態と同様の効果を奏する。
In the first embodiment, the case where the test rate input step is executed between the SSG generation step and the detailed test specification generation step has been described. It may be executed, and the same effects as those of the above embodiment can be obtained.

【0060】[0060]

【発明の効果】以上のように、請求項1記載の発明によ
れば、入力された状態遷移の集合からなる2つの通信シ
ステムの各プロトコル仕様を合成してSSGを生成し、
得られたそのSSGの状態遷移の部分集合から生成した
詳細試験仕様より、別途入力された試験率の範囲内で、
試験を実施する詳細試験仕様を選択して出力するように
構成したので、試験する重要度の高い詳細試験仕様を選
んで試験することが可能となって、膨大な数の状態遷移
の全てを辿って相互運用性の試験を行う必要がなくな
り、実際の通信システムの相互運用性の検証に適用する
ことが可能な相互運用性試験仕様生成方法が得られる効
果がある。
As described above, according to the first aspect of the present invention, an SSG is generated by synthesizing each protocol specification of two communication systems including a set of input state transitions,
From the detailed test specification generated from the obtained subset of the state transition of the SSG, within the range of the test rate separately input,
Since the detailed test specifications to be tested are selected and output, it is possible to select and test the detailed test specifications with high importance to be tested, and trace all of the huge number of state transitions. This eliminates the need to perform an interoperability test, and provides an interoperability test specification generation method that can be applied to interoperability verification of an actual communication system.

【0061】請求項2記載の発明によれば、SSGの初
期状態から極力遠い状態遷移を試験することと、できる
限り多くの異なる状態遷移を試験することとを同時に満
たすことを条件として、詳細試験仕様選択ステップにお
ける詳細試験仕様の選択を行うように構成したので、試
験対象の品質向上に有効な、重要度の高い詳細試験仕様
を的確に選択することが可能となる効果がある。
According to the second aspect of the present invention, a detailed test is performed on the condition that a state transition as far as possible from the initial state of the SSG and a state transition as many as possible are simultaneously tested. Since the detailed test specification is selected in the specification selection step, there is an effect that it is possible to accurately select a highly important detailed test specification which is effective for improving the quality of the test object.

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

【図1】 この発明の実施の一形態による相互運用性試
験仕様生成方法における処理の流れを示すフローチャー
トである。
FIG. 1 is a flowchart showing a process flow in an interoperability test specification generation method according to an embodiment of the present invention.

【図2】 この発明の実施の形態1による相互運用性試
験仕様生成方法で生成された試験仕様に基づいて相互運
用性試験が実行されるシステムの一例を示すブロック図
である。
FIG. 2 is a block diagram illustrating an example of a system in which an interoperability test is performed based on a test specification generated by an interoperability test specification generation method according to a first embodiment of the present invention.

【図3】 この発明の実施の形態1における詳細試験仕
様d1 を示した状態遷移図である。
FIG. 3 is a state transition diagram showing a detailed test specification d1 according to the first embodiment of the present invention.

【図4】 この発明の実施の形態1における詳細試験仕
様d2 を示した状態遷移図である。
FIG. 4 is a state transition diagram showing a detailed test specification d 2 according to the first embodiment of the present invention.

【図5】 この発明の実施の形態1における詳細試験仕
様d3 を示した状態遷移図である。
FIG. 5 is a state transition diagram showing a detailed test specification d 3 according to the first embodiment of the present invention.

【図6】 この発明の実施の形態1における詳細試験仕
様d4 を示した状態遷移図である。
6 is a state transition diagram showing a detailed test specification d 4 in the first embodiment of the present invention.

【図7】 この発明の実施の形態1における詳細試験仕
様d5 を示した状態遷移図である。
7 is a state transition diagram showing a detailed test specification d 5 in the first embodiment of the present invention.

【図8】 この発明の実施の形態1における詳細試験仕
様d6 を示した状態遷移図である。
8 is a state transition diagram showing a detailed test specification d 6 in the first embodiment of the present invention.

【図9】 この発明の実施の形態1における詳細試験仕
様d7 を示した状態遷移図である。
9 is a state transition diagram showing a detailed test specification d 7 in the first embodiment of the present invention.

【図10】 この発明の実施の形態1における詳細試験
仕様d8 を示した状態遷移図である。
10 is a state transition diagram showing a detailed test specification d 8 in a first embodiment of the present invention.

【図11】 この発明の実施の形態1における詳細試験
仕様d9 を示した状態遷移図である。
11 is a state transition diagram showing a detailed test specification d 9 in the first embodiment of the present invention.

【図12】 状態遷移の初期状態からの距離の定義を説
明するための状態遷移図である。
FIG. 12 is a state transition diagram for explaining a definition of a distance from an initial state of a state transition.

【図13】 この発明の実施の形態1における詳細試験
仕様にて、詳細試験仕様の全ての遷移状態と重複しない
遷移状態を示す説明図である。
FIG. 13 is an explanatory diagram showing transition states that do not overlap with all transition states of the detailed test specification in the detailed test specification according to the first embodiment of the present invention.

【図14】 この発明の実施の形態1における詳細試験
仕様にて、詳細試験仕様の全ての遷移状態と重複する遷
移状態を示す説明図である。
FIG. 14 is an explanatory diagram showing transition states that overlap with all transition states of the detailed test specifications in the detailed test specifications in the first embodiment of the present invention.

【図15】 この発明の実施の形態1における2つ目の
詳細試験仕様を選択する際の各評価値を示す説明図であ
る。
FIG. 15 is an explanatory diagram showing evaluation values when a second detailed test specification is selected in the first embodiment of the present invention.

【図16】 この発明および従来の相互運用性試験仕様
生成方法に基づくプロトコル仕様の一例を説明するため
の状態遷移図である。
FIG. 16 is a state transition diagram for explaining an example of a protocol specification based on the present invention and a conventional interoperability test specification generation method.

【図17】 この発明および従来の相互運用性試験仕様
生成方法に基づく試験仕様生成の一例を説明するための
状態遷移図である。
FIG. 17 is a state transition diagram for explaining an example of test specification generation based on the present invention and a conventional interoperability test specification generation method.

【図18】 この発明および従来の相互運用性試験仕様
生成方法で想定している試験環境モデルを示すブロック
図である。
FIG. 18 is a block diagram showing a test environment model assumed in the present invention and a conventional interoperability test specification generation method.

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

ST1 プロトコル仕様入力ステップ、ST2 SSG
生成ステップ、ST3試験率入力ステップ、ST4 詳
細試験仕様生成ステップ、ST5 詳細試験仕様選択ス
テップ、ST6 出力ステップ、1,2 プロトコル仕
様、11,12 FSM。
ST1 protocol specification input step, ST2 SSG
Generation step, ST3 test rate input step, ST4 detailed test specification generation step, ST5 detailed test specification selection step, ST6 output step, 1, 2 protocol specification, 11, 12 FSM.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 試験対象の2つの通信システムのプロト
コル仕様を各々有限状態機械でモデル化し、その2つの
有限状態機械を合成して得られるシステム状態グラフを
もとに、前記2つの通信システムの相互運用性を検証す
る試験仕様を生成する相互運用性試験仕様生成方法にお
いて、 状態遷移の集合からなる前記2つの通信システムの各プ
ロトコル仕様を入力するプロトコル仕様入力ステップ
と、 前記プロトコル仕様入力ステップで入力された2つのプ
ロトコル仕様を合成して前記システム状態グラフを生成
するシステム状態グラフ生成ステップと、 前記システム状態グラフ生成ステップで生成されたシス
テム状態グラフを構成する状態遷移の中で、試験を行う
状態遷移の割合を決定する試験率を入力する試験率入力
ステップと、 前記システム状態グラフ生成ステップで生成されたシス
テム状態グラフの状態遷移の部分集合から詳細試験仕様
を生成する詳細試験仕様生成ステップと、 前記詳細試験仕様生成ステップで生成された詳細試験仕
様より、前記試験率入力ステップで入力された試験率の
範囲内で試験を実施する詳細試験仕様を選択する詳細試
験仕様選択ステップと、 前記詳細試験仕様選択ステップで選択された詳細試験仕
様を出力する出力ステップとを備えたことを特徴とする
相互運用性試験仕様生成方法。
1. A protocol specification of two communication systems to be tested is respectively modeled by a finite state machine, and based on a system state graph obtained by synthesizing the two finite state machines, An interoperability test specification generating method for generating a test specification for verifying interoperability, comprising: a protocol specification inputting step of inputting each protocol specification of the two communication systems consisting of a set of state transitions; A test is performed in a system state graph generating step of generating the system state graph by synthesizing the two input protocol specifications, and in a state transition forming the system state graph generated in the system state graph generating step. A test rate input step of inputting a test rate for determining a state transition ratio; A detailed test specification generating step of generating a detailed test specification from a subset of state transitions of the system state graph generated in the system state graph generating step; and a test rate based on the detailed test specification generated in the detailed test specification generating step. A detailed test specification selecting step of selecting a detailed test specification for performing a test within the range of the test rate input in the input step; and an output step of outputting the detailed test specification selected in the detailed test specification selecting step. A method for generating an interoperability test specification.
【請求項2】 詳細試験仕様選択ステップが、システム
状態グラフの初期状態から極力遠い状態遷移を試験する
ことと、できる限り多くの異なる状態遷移を試験するこ
ととを、同時に満たすことを条件として詳細試験仕様を
選択するものであることを特徴とする請求項1記載の相
互運用性試験仕様生成方法。
2. The detailed test specification selecting step is characterized in that the step of testing a state transition as far as possible from the initial state of the system state graph and the step of testing as many different state transitions as possible are simultaneously performed. 2. The method according to claim 1, wherein a test specification is selected.
JP9164818A 1997-06-20 1997-06-20 Mutual operability test specification generating method Pending JPH1117777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9164818A JPH1117777A (en) 1997-06-20 1997-06-20 Mutual operability test specification generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9164818A JPH1117777A (en) 1997-06-20 1997-06-20 Mutual operability test specification generating method

Publications (1)

Publication Number Publication Date
JPH1117777A true JPH1117777A (en) 1999-01-22

Family

ID=15800508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9164818A Pending JPH1117777A (en) 1997-06-20 1997-06-20 Mutual operability test specification generating method

Country Status (1)

Country Link
JP (1) JPH1117777A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009266092A (en) * 2008-04-28 2009-11-12 Toshiba Corp Test case generation apparatus, generation method therefor, and program for test case generation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009266092A (en) * 2008-04-28 2009-11-12 Toshiba Corp Test case generation apparatus, generation method therefor, and program for test case generation

Similar Documents

Publication Publication Date Title
JP3212959B2 (en) Automatic communication protocol test system having message / sequence editing function and test method
JPH1172361A (en) Diagnostic system
JP4418591B2 (en) Method and apparatus for comparing a preset characteristic of a technical system with a first characteristic
Cartaxo et al. LTS-BT: a tool to generate and select functional test cases for embedded systems
Le Guen et al. Reliability estimation for statistical usage testing using markov chains
JPH1117777A (en) Mutual operability test specification generating method
CN106294109A (en) Obtain the method and device of defect code
Keim et al. Combining GAs and symbolic methods for high quality tests of sequential circuits
CN110221955A (en) Test report generating means
CN116132357A (en) Test information determining method, device and computer readable storage medium
Doldi et al. Assessment of automatic generation methods of conformance test suites in an industrial context
US5872795A (en) Method and apparatus for scan testing of multi-phase logic
Andrade et al. Testing interruptions in reactive systems
JPH1079775A (en) Method for generating mutual operability test specification
Jones et al. Knowledge-based system tool for high-level BIST design
JPH09171056A (en) Test design method and device, test method and device
JP3569237B2 (en) Electronic device test means information providing system
JP2001156176A (en) Method and system for generating lsi test program
JPH09264938A (en) Device and method for testing integrated circuit and device and method for designing integrated circuit
US20240046018A1 (en) Logic circuit design method and logic circuit designing apparatus
JPH05264656A (en) Circuit function inspecting method
JP2000088925A (en) Method and apparatus for specifying fault position of semiconductor device
Dean Timing the testing of cots software products
JP3586587B2 (en) System and method for verifying connection between circuit blocks of LSI
Lin et al. Modeling and optimization of hierarchical synchronous circuits