JPH01136496A - Verification route automatic selection system - Google Patents

Verification route automatic selection system

Info

Publication number
JPH01136496A
JPH01136496A JP62294604A JP29460487A JPH01136496A JP H01136496 A JPH01136496 A JP H01136496A JP 62294604 A JP62294604 A JP 62294604A JP 29460487 A JP29460487 A JP 29460487A JP H01136496 A JPH01136496 A JP H01136496A
Authority
JP
Japan
Prior art keywords
task module
instance data
simulation
data
state
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
JP62294604A
Other languages
Japanese (ja)
Inventor
Mitsuaki Kakemizu
光明 掛水
Yasuo Iwami
岩見 泰夫
Yoshinobu Fujii
藤井 義信
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62294604A priority Critical patent/JPH01136496A/en
Publication of JPH01136496A publication Critical patent/JPH01136496A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Monitoring And Testing Of Exchanges (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

PURPOSE:To improve the efficiency of selection of verification route and execution job by comparing an instance data outputted from a simulation means with an instance data representing simulatingly the same state stored already in a task module simulate data storage means so as to detect the presence of the instance data after storage. CONSTITUTION:A comparator means 400 compares an instance data outputting a simulation means 100 with an instance data representing simulatingly the same state stored already in the task module simulate data storage means 200. When the instance data coincident and stored already is detected, the storage of the instance data outputted from the simulation means 100 to the storage means 200 is stopped. If the coincident said data is not detected, the instance data is stored in the storage means 200. Thus, all verification routes required to verify the task module are selected automatically and the verification processing is executed, the labor required for the selection and execution of the verification route is much reduced.

Description

【発明の詳細な説明】 〔概要〕 タスクモジュール自動検証システムに係り、特に交換機
の動作を制御するタスクモジュールを、シミュレーショ
ンモデルを用いて検証する検証ルート自動選択方式に関
し、 タスクモジュールの検証に対する検証条件設定を、極力
効率化することを目的とし、 交換機の動作を制御するタスクモジュールを入力され、
タスクモジュールを実行した結果の交換機の状態の擬似
的に示すインスタンスデータを出力するシミュレーショ
ン手段と、シミュレーション手段が出力するインスタン
スデータを保持するタスクモジュールシミュレートデー
タ保持手段と、タスクモジュールシミュレートデータ保
持手段が保持するインスタンスデータに基づき、タスク
モジュールの検証を実行する検証手段とを具備するタス
クモジュール自動検証システムにおいて、シミュレーシ
ョン手段が出力するインスタンスデータを、タスクモジ
ュールシミュレートデータ保持手段に保持済みの同一の
状態を擬似的に示すインスタンスデータと比較し、一致
する保持済みのインスタンスデータが検出された場合に
、シミュレーション手段から出力されたインスタンスデ
ータのタスクモジュールシミュレートデータ保持手段へ
の保持を停止し、一致する保持済みのインスタンスデー
タが検出されなかった場合に、シミュレーション手段か
ら出力されたインスタンスデータをタスクモジュールシ
ミュレートデータ保持手段へ保持させる比較手段を設け
る様に構成する。
[Detailed Description of the Invention] [Summary] This invention relates to an automatic task module verification system, and in particular to an automatic verification route selection method for verifying a task module that controls the operation of an exchange using a simulation model. In order to make the settings as efficient as possible, the task module that controls the operation of the exchange is input.
A simulation means for outputting instance data that pseudo-indicates the state of the exchange as a result of executing the task module, a task module simulation data holding means for holding the instance data output by the simulation means, and a task module simulation data holding means In the task module automatic verification system, the task module automatic verification system includes a verification means for performing verification of the task module based on the instance data held by the task module, the instance data output by the simulation means is transferred to the same The state is compared with instance data that pseudo-indicates the state, and if matching retained instance data is detected, the instance data output from the simulation means is stopped being retained in the task module simulation data retaining means, and a match is detected. The present invention is configured to provide a comparison means for causing the task module simulation data holding means to hold the instance data output from the simulation means when the held instance data is not detected.

〔産業上の利用分野〕[Industrial application field]

本発明は、交換機の動作を制御する呼処理プログラムを
構成するタスクモジュールを、シミュレーションモデル
を用いて検証するタスクモジュール自動検証システムに
おける検証ルート自動選択方式に関する。
The present invention relates to an automatic verification route selection method in an automatic task module verification system that verifies task modules constituting a call processing program that controls the operation of an exchange using a simulation model.

蓄積プログラム制御方式の交換機は、中央制御装置が呼
処理プログラムを構成する各種のサービスモジュールを
実行することにより、各種の交換サービスを提供する。
A storage program control switching system provides various switching services by having a central controller execute various service modules that constitute a call processing program.

従って、呼処理プログラムラ構成するサービスモジュー
ル、更にサービスモジュールを構成するタスクモジュー
ルを作成する際に、誤りを除去して置くことが不可欠で
ある。
Therefore, it is essential to eliminate errors when creating the service modules that make up the call processing program and the task modules that make up the service modules.

かかるタスクモジュールの誤りを検出する為に払われる
労力を極力削減する為に、実際の交換機の動作を擬似す
るシミュレーションモデルによりタスクモジュールを実
行し、実行した結果における交換機の状態を擬似的に示
すインスタンスデータに基づき、タスクモジュールを検
証するタスクモジュール自動検証システムが実用化され
ている。
In order to reduce the effort required to detect errors in such a task module as much as possible, the task module is executed using a simulation model that simulates the operation of an actual exchange, and an instance that pseudo-presents the status of the exchange as a result of execution. An automatic task module verification system that verifies task modules based on data has been put into practical use.

〔従来の技術〕[Conventional technology]

第4図は本発明の対象となるタスクモジュールの一例を
示す図であり、第5図は従来あるタスクモジュール自動
検証システムの一例を示す図である。
FIG. 4 is a diagram showing an example of a task module to which the present invention is applied, and FIG. 5 is a diagram showing an example of a conventional task module automatic verification system.

第4図において、STIは、自動式構内交換機に収容さ
れる内線A、BおよびCと、保留音源Hとに、捕捉端末
装置番号としてそれぞれ1.2.3および4が付与され
、内線Bおよび0間に相互に通話路が設定され、また保
留音源Hから内線Aに至る通話路が設定されている状態
に付与された状態番号である。(以後、状態番号STI
を付与された状態を状態STIと称する。) かかる状態STlにおいて、内線Cが受話器を下ろす(
オンフッタ)イベントLNON (C)が発生すると、
予め定められたタスクモジュールTM1が実行され、状
態ST4に遷移する。
In FIG. 4, the STI assigns 1, 2, 3 and 4 as captured terminal device numbers to extensions A, B and C accommodated in the automatic private branch exchange and to the held sound source H, respectively, and to This is a state number given to a state in which a mutual communication path is set between 0 and 0, and a communication path from the held sound source H to extension A is set. (Hereafter, state number STI
The state in which this is given is called the state STI. ) In such state STl, extension C hangs up the telephone (
When the on-footer) event LNON (C) occurs,
A predetermined task module TM1 is executed and transitions to state ST4.

状態ST4は、保留音源Hから内線Aに至る通話路は設
定された侭で、内線Bと内線Cとの間の通話路は解放さ
れ、タイマが起動された状態(1)を示す。
State ST4 indicates a state (1) in which the communication path from the held sound source H to extension A is set, the communication path between extensions B and C is released, and the timer is activated.

かかる状態ST4において、起動中のタイマがタイムア
ウトするイベントCTOOが発生すると、捕捉端末装置
番号2から1に至る通話路を設定するタスクマクロ%C
MODS  C2,CI、捕捉端末装置番号1から2に
至る通話路を設定するタスクマクロ%CMODS  C
1,C2、並びにタスクモジュールの実行終了を示すタ
スクマクロ%が設定され、保留音源Hから内線Aに至る
通話路が解放された状態5に遷移する。
In this state ST4, when an event CTOO in which the activated timer times out occurs, task macro %C sets a communication path from captured terminal device number 2 to 1.
MODS C2, CI, task macro for setting the communication path from captured terminal device number 1 to 2 %CMODS C
1, C2, and a task macro % indicating the end of execution of the task module are set, and the state transitions to state 5 in which the communication path from the held sound source H to the extension A is released.

なお状態ST4には、状態STIの他の状BsT2およ
びSr1からも、イベントLNON (C)の発生によ
り所定のタスクモジュールTM2および7M3が実行さ
れて遷移される。
Note that state ST4 is also transitioned from other states BsT2 and Sr1 of state STI by executing predetermined task modules TM2 and 7M3 due to the occurrence of event LNON (C).

かかる状態ST2およびST3から遷移した状態ST4
は、例えば状aST2から遷移した場合に保留音源Hか
ら内線Bに至る通話路が設定された侭となり、内線Aと
内線Cとの間の通話路は解放され、タイマが起動された
状態(1)となる等、状態STIから遷移した状態ST
4と、通話路の設定状態等が必ずしも完全に一致はして
いないが、何れもイベントCTOOの発生により、タス
クモジュールTM4が実行されて状態ST5に遷移する
State ST4 transitioned from such states ST2 and ST3
For example, when transitioning from state aST2, the state is such that a communication path from the held sound source H to extension B is set, the communication path between extensions A and C is released, and the timer is activated (1 ), etc., the state ST that has transitioned from the state STI.
4 and the setting state of the communication path, etc. do not necessarily match completely, but in both cases, upon occurrence of event CTOO, task module TM4 is executed and transitions to state ST5.

従って、タスクモジュールTM4を検証する為には、状
態STIから遷移した状態ST4を遷移元状態としてタ
スクモジュールTM4の実行過程を検証するのみならず
、状fisT2或いは状BST3から遷移した状態ST
4を遷移元状態としてタスクモジュールTM4の実行過
程を検証する必要が生ずる。
Therefore, in order to verify task module TM4, it is necessary not only to verify the execution process of task module TM4 using state ST4 that has transitioned from state STI as the transition source state, but also to verify the execution process of task module TM4 that has transitioned from state fisT2 or state BST3.
It becomes necessary to verify the execution process of the task module TM4 with TM4 as the transition source state.

第5図に示されるタスクモジュール自動検証システムは
、以上のタスクモジュールを実際の交換機を擬似するシ
ミュレーションモデル上で実行させ、その実行結果によ
りタスクモジュールの検証を行う。
The task module automatic verification system shown in FIG. 5 executes the above task module on a simulation model that simulates an actual exchange, and verifies the task module based on the execution result.

第5図において、タスクモジュール部1には、シミュレ
ーションモデル上で実行するタスクモジュールが、例え
ば図示されぬキーボード等から入力され、蓄積されてい
る。
In FIG. 5, task modules to be executed on a simulation model are input and stored in the task module section 1 from, for example, a keyboard (not shown).

タスクモジュール読込部2は、タスクモジュール部lに
蓄積されているタスクモジュールを抽出し、内部データ
に変換してタスクモジュール内部データ変換保持部3に
蓄積する。
The task module reading section 2 extracts the task module stored in the task module section l, converts it into internal data, and stores it in the task module internal data conversion holding section 3.

シミュレーション部4は、タスクモジュール内部データ
変換保持部3に蓄積されている内部データ化されたタス
クモジュールを117 成するタスクマクロを順次抽出
し、タスクモジュールシミュレートデータ保持部5に保
持済みのインスタンスデータに対し、タスクマクロに対
応して予め定められた変更を施して新たな状態に対する
インスタンスデータを作成し、タスクモジュールシミュ
レートデータ保持部5に蓄積する。
The simulation unit 4 sequentially extracts the task macros that constitute the task module converted into internal data stored in the task module internal data conversion holding unit 3, and extracts the instance data already held in the task module simulation data holding unit 5. A predetermined change corresponding to the task macro is made to create instance data for a new state, and the instance data is stored in the task module simulation data holding unit 5.

検証部6は、タスクモジュール内部データ変換保持部3
から抽出したタスクマクロと、タスクモジュール内部デ
ータ変換保持部3に蓄積したインスタンスデータとを参
照して、タスクモジュールの検証処理を実行する。
The verification unit 6 is the task module internal data conversion holding unit 3
The task module verification process is executed by referring to the task macro extracted from the task module and the instance data stored in the task module internal data conversion and storage unit 3.

かかるタスクモジュール自動検証システムにより、第4
図に示されるタスクモジュールTM4を検証する為には
、最初にタスクモジュールシミュレートデータ保持部5
に状態STIに対応するインスタンスデータを蓄積した
状態から、イベントLNON (C)および所要のタス
クモジュールTM1をタスクモジュール部工に人力し、
イベントLNON (C)の発生およびタスクモジュー
ルTM1の実行のシミュレーションをシミュレーション
部4により実行し、状11sT4に対応するインスタン
スデータを作成してタスクモジュールシミュレートデー
タ保持部5に蓄積し、続いてタスクモジュールTM4を
タスクモジュール部1に入力して前述の過程により検証
を実行する。
With this task module automatic verification system, the fourth
In order to verify the task module TM4 shown in the figure, first the task module simulation data holding unit 5
From the state where the instance data corresponding to the state STI has been accumulated, the event LNON (C) and the required task module TM1 are manually input to the task module department,
The simulation unit 4 executes a simulation of the occurrence of the event LNON (C) and the execution of the task module TM1, creates instance data corresponding to state 11sT4 and stores it in the task module simulation data holding unit 5, and then TM4 is input to the task module section 1 and verification is performed through the above-described process.

続いてタスクモジュールシミュレートデータ保持部5に
状態ST2に対応するインスタンスデータ■を蓄積した
状態から、イベントLNON (C)の発生およびタス
クモジュールTM2の実行のシミュレーションをシミュ
レーション部4により実行し、状態ST4に対応するイ
ンスタンスデータを作成してタスクモジュールシミュレ
ートデータ保持部5に蓄積し、続いてタスクモジュール
TM4をタスクモジュール部1に入力して前述の過程に
より検証を実行する。
Next, from the state where the instance data corresponding to state ST2 has been accumulated in the task module simulation data holding section 5, the simulation section 4 executes a simulation of the occurrence of the event LNON (C) and the execution of the task module TM2, and the state ST4 is reached. Instance data corresponding to is created and stored in the task module simulation data holding section 5, and then the task module TM4 is input to the task module section 1 and verification is executed by the above-described process.

最後にタスクモジュールシミュレートデータ保持部5に
状MST3に対応するインスタンスデータIを蓄積した
状態がら、イベントLNON (C)の発生およびタス
クモジュールTM3の実行のシミュレーションをシミュ
レーション部4により実行し、状態ST4に対応するイ
ンスタンスデータを作成してタスクモジュールシミュレ
ートデータ保持部5に蓄積し、続いてタスクモジュール
TM4をタスクモジュール部lに入力して前述の過程に
より検証を実行する。
Finally, while the instance data I corresponding to the state MST3 is stored in the task module simulation data holding section 5, the simulation section 4 executes a simulation of the occurrence of the event LNON (C) and the execution of the task module TM3. Instance data corresponding to is created and stored in the task module simulation data holding section 5, and then the task module TM4 is input to the task module section 1 and verification is performed by the above-described process.

なお状態ST2から遷移した状態ST4と、状態ST3
から遷移した状態ST4とのインスタンスデータが等し
いとすると、状態ST3から出発する検証は省略するご
とにより、検証処理に要する時間を削減することも可能
である。
Note that state ST4 transitioned from state ST2 and state ST3
Assuming that the instance data is the same as that of the state ST4 to which the state transitioned from, the time required for the verification process can be reduced by omitting the verification starting from the state ST3.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上の説明から明らかな如く、従来あるタスクモジュー
ル自動検証システムにおいては、例えばタスクモジュー
ルTM4を検証する為には、状態STIから状態S T
 4に遷移した後にタスクモジュールTM4を検証する
検証ルートと、状態ST2から状態ST4に遷移した後
にタスクモジュールTM4を検証する検証ルートと、状
態ST3から状態S T4に遷移した後にタスクモジュ
ールTM4を検証する検証ルートとを、それぞれ検証者
が選択して独立に実行させる必要があり、また同一条件
となる検証ルート(例えば状態ST2から遷移する検証
ルートに対する状態ST3から遷移する検証ルート)を
省略して検証効率を向上する等、検証対象となるタスク
モジュールTM4に対する検証ルートの選択作業および
実行作業に多くの労力を費やす問題点があった。
As is clear from the above explanation, in a conventional task module automatic verification system, in order to verify task module TM4, for example, the state STI to state ST
4, a verification route that verifies task module TM4 after transitioning from state ST2 to state ST4, and a verification route that verifies task module TM4 after transitioning from state ST3 to state ST4. Verification routes must be selected by the verifier and executed independently, and verification routes that have the same conditions (for example, a verification route that transitions from state ST3 to a verification route that transitions from state ST2) are omitted. In order to improve efficiency, there is a problem in that a lot of effort is required to select and execute a verification route for the task module TM4 to be verified.

本発明は、タスクモジュールの検証に必要な検証ルート
の選択作業および実行作業を、極力効率化することを目
的とする。
An object of the present invention is to make the selection and execution of a verification route necessary for verifying a task module as efficient as possible.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図において、100はシミュレーション手段、20
0はタスクモジュールシミュレートデータ保持手段、3
00は検証手段である。
In FIG. 1, 100 is a simulation means, 20
0 is task module simulation data holding means, 3
00 is a verification means.

400は、本発明により設けられた比較手段である。400 is a comparison means provided according to the present invention.

〔作用〕[Effect]

シミュレーション手段100は、交換機の動作を制御す
るタスクモジュールを人力され、タスクモジュールを実
行した結果の交換機の状態の擬似的に示すインスタンス
データを出力する。
The simulation means 100 is configured to manually execute a task module that controls the operation of the exchange, and outputs instance data that pseudo-indicates the state of the exchange as a result of executing the task module.

タスクモジュールシミュレートデータ保持手段200は
、シミュレーション手段100が出力するインスタンス
データを保持する。
The task module simulation data holding means 200 holds instance data output by the simulation means 100.

検証手段300は、タスクモジュールシミュレートデー
タ保持手段200が保持するインスタンスデータに基づ
き、タスクモジュールの検証を実行する。
The verification means 300 performs verification of the task module based on the instance data held by the task module simulation data holding means 200.

比較手段400は、シミュレーション手段100が出力
するインスタンスデータを、タスクモジュールシミュレ
ートデータ保持手段200に保持済みの同一の状態を擬
似的に示すインスタンスデータと比較し、一致する保持
済みのインスタンスデータが検出された場合に、シミュ
レーション手段100から出力されたインスタンスデー
タのタスクモジュールシミュレートデータ保持手段20
0への保持を停止し、一致する保持済みのインスタンス
データが検出されなかった場合に、シミュレーション手
段100から出力されたインスタンスデータをタスクモ
ジュールシミュレートデータ保持手段200へ保持させ
る。
The comparison means 400 compares the instance data output by the simulation means 100 with instance data that pseudo-indicates the same state held in the task module simulation data holding means 200, and detects matching held instance data. When the task module simulation data holding means 20 of the instance data output from the simulation means 100
If holding the instance data to 0 is stopped and matching held instance data is not detected, the instance data output from the simulation means 100 is held in the task module simulation data holding means 200.

従って、タスクモジュールの検証に必要な総ての検証ル
ートが自動的に選択され、検証処理が実行される為、検
証ルートの選択作業および実行作業に要する労力が大幅
に削減される。
Therefore, all verification routes necessary for verification of a task module are automatically selected and verification processing is executed, so that the labor required for selection and execution of verification routes is significantly reduced.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例によるタスクモジュール自動
検証システムを示す図であり、第3図は第2図における
インスタンスデータ生成過程を例示する図である。なお
、企図を通じて同一符号は同一対象物を示す。また対象
とするタスクモジュールは、第4図に示す通りとする。
FIG. 2 is a diagram showing a task module automatic verification system according to an embodiment of the present invention, and FIG. 3 is a diagram illustrating the instance data generation process in FIG. 2. Note that the same reference numerals refer to the same objects throughout the plan. The target task module is as shown in FIG.

第2図においては、第1図におけるシミュレーション手
段100としてシミュレーション部4が設けられ、第1
図におけるタスクモジュールシミュレートデータ保持手
段200としてタスクモジュールシミュレートデータ保
持部5が設けられ、第1図における検証手段300とし
て検証部6が設けられ、第1図における比較手段400
として、インスタンスデータ比較処理部7が設けられて
いる。
In FIG. 2, a simulation section 4 is provided as the simulation means 100 in FIG.
A task module simulation data holding unit 5 is provided as the task module simulation data holding unit 200 in the figure, a verification unit 6 is provided as the verification unit 300 in FIG. 1, and a comparison unit 400 in FIG.
As such, an instance data comparison processing section 7 is provided.

インスタンスデータ比較処理部7は、比較データ項目保
持部71およびインスタンスデータ比較部72から構成
されており、比較データ項目保持部71には、インスタ
ンスデータを構成する項目、例えば通話路設定状態、捕
捉端末装置番号、タイマ状態、捕捉端末制御プロセッサ
の状態、等の中から、検証ルートを選択する際に、比較
の対象となる項目を保持している。
The instance data comparison processing section 7 includes a comparison data item holding section 71 and an instance data comparison section 72. The comparison data item holding section 71 stores items constituting the instance data, such as the call path setting state and the captured terminal. It holds items to be compared when selecting a verification route from among the device number, timer status, captured terminal control processor status, etc.

また第3図において、各インスタンスデータは便宜上、
状態図により表示されている。
In addition, in Fig. 3, each instance data is shown as
It is represented by a state diagram.

第2図乃至第4図において、第4図に示される状態ST
I乃至ST3から遷移される状態ST4を遷移元状態と
するタスクモジュールTM4の検証を実行する場合に、
タスクモジュールシミュレートデータ保持部5に状態S
TI乃至ST3に対応するインスタンスデータ11乃至
■3が蓄積され、状態ST4に対応するインスタンスデ
ータが蓄積されていない状態で、状fisT1から状態
ST4へ遷移するに必要なイベントLNON (C)お
よびタスクモジュールTM14が、タスクモジュール部
1に図示されぬ手段により自動的に入力されると、シミ
ュレーション部4は前述の過程により、インスタンスデ
ータ141を生成し、インスタンスデータI41が付与
されるべき状態番号ST4と共にインスタンスデータ比
較処理部7に伝達する。
In FIGS. 2 to 4, the state ST shown in FIG.
When performing verification of task module TM4 whose transition source state is state ST4 that is transitioned from I to ST3,
Status S is set in the task module simulation data holding unit 5.
Event LNON (C) and task module necessary for transitioning from state fisT1 to state ST4 in a state where instance data 11 to ■3 corresponding to TI to ST3 are accumulated and instance data corresponding to state ST4 is not accumulated. When TM14 is automatically input to the task module section 1 by a means not shown, the simulation section 4 generates the instance data 141 through the process described above, and the instance data I41 and the state number ST4 to which the instance data I41 is to be assigned are generated. It is transmitted to the data comparison processing section 7.

インスタンスデータ比較処理部7においては、インスタ
ンスデータ比較部72が、シミュレーション部4から伝
達された状態番号ST4によりタスクモジュールシミュ
レートデータ保持部5を検索するが、現在は状態番号S
T4を付与されたインスタンスデータが保持されていな
い為、シミュレーション部4から伝達されたインスタン
スデータ141に、状態番号ST4を付与してタスクモ
ジュールシミュレートデータ保持部5に蓄積する。
In the instance data comparison processing section 7, the instance data comparison section 72 searches the task module simulation data holding section 5 using the state number ST4 transmitted from the simulation section 4, but currently the state number ST is
Since the instance data assigned T4 is not retained, the instance data 141 transmitted from the simulation unit 4 is assigned a state number ST4 and stored in the task module simulation data retention unit 5.

かかる状態で、タスクモジュール部1にイベン)CTO
OおよびタスクモジュールTM4が図示されぬ手段によ
り入力されると、シミュレーション部4は前述と同様の
過程により、インスタンスデータ141に対してイベン
トCTOOの発生を擬似することによりインスタンスデ
ータI411を生成し、タスクモジュールTM4を構成
するタスクマクロ%CMODS  C2,C1の実行を
擬似することによりインスタンスデータI412を生成
し、更にタスクマクロ%CMODS  C1゜C2およ
び%TSKFLの実行を擬似することによりインスタン
スデータ■5を生成し、インスタンスデータ■411お
よびI412には状態番号を付与せずにインスタンスデ
ータ比較部72に伝達し、インスタンスデータI5には
状態番号ST5を付与してインスタンスデータ比較部7
2に伝達する。
In this state, the task module section 1 receives an event) CTO.
When O and the task module TM4 are input by means not shown, the simulation unit 4 generates the instance data I411 by simulating the occurrence of the event CTOO for the instance data 141 through the same process as described above, and Instance data I412 is generated by simulating the execution of task macros %CMODS C2 and C1 that constitute module TM4, and instance data ■5 is further generated by simulating the execution of task macros %CMODS C1°C2 and %TSKFL. Then, the instance data 411 and I412 are transmitted to the instance data comparison unit 72 without assigning a status number, and the instance data I5 is transmitted to the instance data comparison unit 72 with a status number ST5 assigned.
2.

インスタンスデータ比較部72は、状態番号が付与され
ぬインスタンスデータ1411およびI412、並びに
タスクモジュールシミュレートデータ保持部5内に蓄積
されていない状態番号ST5を付与されたインスタンス
データI5を何れもタスクモジュールシミュレートデー
タ保持部5に蓄積する。
The instance data comparison unit 72 performs a task module simulation on instance data 1411 and I412 to which no state number is assigned, and instance data I5 assigned a state number ST5 that is not stored in the task module simulation data holding unit 5. The stored data is stored in the data holding unit 5.

検証部6は、前述の如くタスクモジュール内部データ変
換保持部3から抽出された内部データ化されたタスクマ
クロと、タスクモジュールシミュレートデータ保持部5
に蓄積されたインスタンスデータI411、I412、
I5とに対して検証処理を実行し、誤りが無いことを表
示する。
The verification unit 6 converts the task macro extracted from the task module internal data conversion holding unit 3 into internal data as described above, and the task module simulation data holding unit 5.
Instance data I411, I412,
Verification processing is performed on I5, and it is displayed that there is no error.

インスタンスデータ141に基づくタスクモジュールL
!TM4の検証処理が完了した時点では、タスクモジュ
ールシミュレートデータ保持部5内には、状態番号ST
4を付与されたインスタンスデータとしてI41が保持
されている。
Task module L based on instance data 141
! When the verification process of TM4 is completed, the state number ST is stored in the task module simulation data holding unit 5.
I41 is held as instance data assigned 4.

かかる状態で、状態ST2から状態ST4へ遷移するに
必要なイベントLNON (C)およびタスクモジュー
ルTM24が、タスクモジュール部1に図示されぬ手段
により自動的に入力されると、シミュレーション部4は
前述の過程により、インスタンスデータI42を生成し
、インスタンスデータI42が付与されるべき状態番号
ST4と共にインスタンスデータ比較処理部7に伝達す
る。
In this state, when the event LNON (C) and the task module TM24 necessary for transitioning from state ST2 to state ST4 are automatically input to the task module section 1 by means not shown, the simulation section 4 performs the above-mentioned process. Through the process, instance data I42 is generated and transmitted to the instance data comparison processing section 7 together with the state number ST4 to which the instance data I42 is to be assigned.

インスタンスデータ比較処理部7においては、インスタ
ンスデータ比較部72が、シミュレーション部4から伝
達された状態番号ST4によりタスクモジュールシミュ
レートデータ保持部5を検索し、状態番号ST4を付与
されたインスタンスデータI41が保持されていること
を検出すると、インスタンスデータ141を抽出した後
、比較データ項目保持部71に設定されいる比較項目、
例えば、通話路設定状態、捕捉端末装置番号およびタイ
マ状態毎に、シミュレーション部4から伝達されたイン
スタンスデータ142と、タスクモジュールシミュレー
トデータ保持部5から抽出したインスタンスデータ14
1とを比較する。
In the instance data comparison processing section 7, the instance data comparison section 72 searches the task module simulation data holding section 5 using the state number ST4 transmitted from the simulation section 4, and finds the instance data I41 assigned the state number ST4. When it is detected that the instance data 141 is retained, the comparison item set in the comparison data item holding unit 71 is extracted, and then the comparison item set in the comparison data item storage unit 71 is
For example, the instance data 142 transmitted from the simulation unit 4 and the instance data 14 extracted from the task module simulation data holding unit 5 for each call path setting state, captured terminal device number, and timer state.
Compare with 1.

比較の結果、捕捉端末装置番号およびタイマ状態に就い
ては、インスタンスデータ142はI41と一致するが
、通話路設定状態については、インスタンスデータI4
2が保留音源Hから内線Bに至る通話路が設定されてい
るのに対し、インスタンスデータI41は保留音源Hか
ら内線Aに至る通話路が設定されており、インスタンス
データ142がインスタンスデータ141と異なること
を検出し、状態番号ST4を付与してタスクモジュール
シミュレートデータ保持部5に蓄積する。
As a result of the comparison, the instance data 142 matches I41 regarding the captured terminal device number and the timer state, but the instance data I4 matches the channel setting state.
Instance data 142 is different from instance data 141 because instance data 141 has a call path set from held sound source H to extension A, whereas instance data I41 has a call path set from held sound source H to extension A. This is detected and stored in the task module simulation data holding unit 5 with a state number ST4 assigned thereto.

かかる状態で、タスクモジュール部1にイベントCTO
OおよびタスクモジュールTM4が図示されぬ手段によ
り自動的に入力されると、シミュレーション部4は前述
と同様の過程により、インスタンスデータI42に対し
てイベントCTOOの発生を擬似することによりインス
タンスデータI421を生成し、タスクモジュールTM
4を構成するタスクマクロ%CMODS  C2,CI
の実行を擬似することによりインスタンスデータI42
2を生成し、状態番号を付与せずにインスタンスデータ
比較部72に伝達する。
In this state, the event CTO is sent to the task module section 1.
When O and task module TM4 are automatically input by means not shown, the simulation unit 4 generates instance data I421 by simulating the occurrence of event CTOO for instance data I42 through the same process as described above. and task module TM
Task macro %CMODS C2, CI that constitutes 4
instance data I42 by simulating the execution of
2 is generated and transmitted to the instance data comparison unit 72 without assigning a state number.

インスタンスデータ比較部72は、状態番号が付与され
ぬインスタンスデータ■411およびI412を何れも
タスクモジュールシミュレートデータ保持部5に蓄積す
る。
The instance data comparison unit 72 stores both instance data 411 and I 412, to which no state number is assigned, in the task module simulation data holding unit 5.

検証部6は、前述の如くタスクモジュール内部データ変
換保持部3から抽出された内部データ化されたタスクマ
クロと、タスクモジュールシミュレートデータ保持部5
に蓄積されたインスタンスデータとに対して検証処理を
実行する。
The verification unit 6 converts the task macro extracted from the task module internal data conversion holding unit 3 into internal data as described above, and the task module simulation data holding unit 5.
Verification processing is performed on the instance data accumulated in .

なお検証部6は、予め保有する検証規則に照合して、イ
ンスタンスデータ■422の如き通話路設定状態に対し
ては、保留音源Hから内線Bに送達される保留音が、内
線Aに漏れると言う検証結果を出力する。
The verification unit 6 checks the pre-held verification rules to determine if the hold tone delivered from the hold sound source H to extension B leaks to extension A for a call path setting state such as instance data ■422. Output the verification results.

イススタンスデータ142に基づくタスクモジュールT
M4の検証処理が完了した時点では、タスクモジュール
シミュレートデータ保持部5内には状態番号ST4を付
与されたインスタンスデータとして、141およびI4
2が保持されている。
Task module T based on instance data 142
When the verification process for M4 is completed, 141 and I4 are stored in the task module simulation data holding unit 5 as instance data assigned the state number ST4.
2 is retained.

かかる状態で、状態ST3から状態ST4へ遷移するに
必要なイベントLNON (C)およびタスクモジュー
ルTM34が、タスクモジュール部1に図示されぬ手段
により自動的に入力されると、シミュレーション部4は
前述の過程により、インスタンスデータI43を生成し
、インスタンスデータI43が付与されるべき状態番号
ST4と共にインスタンスデータ比較処理部7に伝達す
る。
In this state, when the event LNON (C) and the task module TM34 necessary for transitioning from state ST3 to state ST4 are automatically input to the task module section 1 by means not shown, the simulation section 4 performs the above-mentioned process. Through the process, instance data I43 is generated and transmitted to the instance data comparison processing unit 7 together with the state number ST4 to which the instance data I43 is to be assigned.

インスタンスデータ比較処理部7においては、インスタ
ンスデータ比較部72が、シミュレーション部4から伝
達された状態番号ST4によりタスクモジュールシミュ
レートデータ保持部5を検索し、状態番号ST4を付与
されたインスタンスデータ141および142が保持さ
れていることを検出すると、最初にインスタンスデータ
141を抽出した後、比較データ項目保持部71に設定
されいる比較項目(通話路設定状態、捕捉端末装置番号
およびタイマ状態)毎に、シミュレーション部4から伝
達されたインスタンスデータI43と、タスクモジュー
ルシミュレートデータ保持部5から抽出したインスタン
スデータI41とを比較する。
In the instance data comparison processing section 7, the instance data comparison section 72 searches the task module simulation data holding section 5 using the state number ST4 transmitted from the simulation section 4, and searches the instance data 141 and the instance data assigned the state number ST4. 142 is held, first extracts the instance data 141, and then extracts the instance data 141 for each comparison item (call path setting state, captured terminal device number, and timer state) set in the comparison data item holding section 71. The instance data I43 transmitted from the simulation unit 4 and the instance data I41 extracted from the task module simulation data holding unit 5 are compared.

比較の結果、捕捉端末装置番号およびタイマ状態に就い
てはインスタンスデータ143がインスタンスデータ1
41と一致するが、通話路設定状態についてはインスタ
ンスデータ143がインスタンスデータ141と異なる
ことを検出し、次にインスタンスデータ142を抽出し
た後、比較デ−夕項目保持部71に設定されいる比較項
目(通話路設定状態、捕捉端末装置番号およびタイマ状
態)毎に、シミュレーション部4から伝達されたインス
タンスデータI43と、タスクモジュールシミュレート
データ保持部5から抽出したインスタンスデータ142
とを比較する。
As a result of the comparison, the instance data 143 is the same as the instance data 1 regarding the captured terminal device number and timer status.
41, but it is detected that the instance data 143 is different from the instance data 141 regarding the call path setting state, and then after extracting the instance data 142, the comparison item set in the comparison data item holding unit 71 is Instance data I43 transmitted from the simulation unit 4 and instance data 142 extracted from the task module simulation data holding unit 5 for each (call path setting state, captured terminal device number, and timer state)
Compare with.

比較の結果、総ての比較項目(通話路設定状態、捕捉端
末装置番号およびタイマ状態)に就いて、インスタンス
データ143は142と一致することを検出すると、イ
ンスタンスデータ143のタスクモジュールシミュレー
トデータ保持部5への蓄積を停止する。
As a result of the comparison, if it is detected that the instance data 143 matches 142 for all comparison items (call path setting state, captured terminal device number, and timer state), the task module simulate data retention of the instance data 143 is performed. The storage in section 5 is stopped.

従って検証部6は、検証処理済みのインスタンスデータ
T42に基づくタスクモジュールTM4の検証処理と等
価の、インスタンスデータI43に基づくタスクモジュ
ールTM4の検証処理を処理することは無い。
Therefore, the verification unit 6 does not perform verification processing of the task module TM4 based on the instance data I43, which is equivalent to verification processing of the task module TM4 based on the verified instance data T42.

以上の説明から明らかな如く、本実施例によれば、イン
スタンスデータ比較処理部7は、同一状態番号ST4を
付与されるインスタンスデータ141乃至143の内、
比較データ項目保持部71に設定されている比較項目に
就いてインスタンスデータI42と等しいインスタンス
データ143は、重複してタスクモジュールシミュレー
トデータ保持部5に蓄積することを防止し、その結果、
同一の検証処理を重複して実行することを防止し、必要
とする検証ルート、即ちインスタンスデータI41およ
び142を自動的に設定し、タスクモジュールTM4の
検証処理を自動的に遂行する。
As is clear from the above description, according to the present embodiment, the instance data comparison processing unit 7 selects the instance data 141 to 143 that are given the same state number ST4.
The instance data 143 that is equal to the instance data I42 with respect to the comparison items set in the comparison data item holding unit 71 is prevented from being stored redundantly in the task module simulation data holding unit 5, and as a result,
It prevents the same verification process from being executed redundantly, automatically sets the required verification route, that is, the instance data I41 and 142, and automatically performs the verification process of the task module TM4.

なお、第2図乃至第4図はあく迄本発明の一実施例に過
ぎず、例えば検証対象はタスクモジュールTM4に限定
されることは無(、サービスモジュール単位に一括して
検証処理を実行する等、他に幾多の変形が考慮されるが
、何れの場合にも本発明の効果は変わらない。
It should be noted that FIGS. 2 to 4 are only one embodiment of the present invention, and for example, the verification target is not limited to the task module TM4 (the verification process may be executed in batch for each service module). Although many other modifications may be considered, the effects of the present invention remain the same in any case.

〔発明の効果〕〔Effect of the invention〕

以上、本発明によれば、前記タスクモジュール自動検証
システムにおいて、タスクモジュールの検証に必要な総
ての検証ルートが自動的に選択され、検証処理が実行さ
れる為、検証ルートの選択作業および実行作業に要する
労力が大幅に削減される。
As described above, according to the present invention, in the task module automatic verification system, all verification routes necessary for verification of a task module are automatically selected and verification processing is executed. The labor required for the work is significantly reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理を示す図、第2図は本発明の一実
施例によるタスクモジュール自動検証システムを示す図
、第3図は第2図におけるインスタンスデータ生成過程
を例示する図、第4図は本発明の対象となるタスクモジ
ュールの一例を示す図、第5図は従来あるタスクモジュ
ール自動検証システムの一例を示す図である。 図において、1はタスクモジュール部、2はタスクモジ
ュール読込部、3はタスクモジュール内部データ変換保
持部、4はシミュレーション部、5はタスクモジュール
シミュレートデータ保持部、6は検証部、7はインスタ
ンスデータ比較処理部、71は比較データ項目保持部、
72はインスタンスデータ比較部、100はシミュレー
ション手段、200はタスクモジュールシミュレートデ
ータ保持手段、300は検証手段、400は比較手段、
fP、発明の対り星図 第 1 g
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing a task module automatic verification system according to an embodiment of the present invention, FIG. 3 is a diagram illustrating the instance data generation process in FIG. FIG. 4 is a diagram showing an example of a task module to which the present invention is applied, and FIG. 5 is a diagram showing an example of a conventional task module automatic verification system. In the figure, 1 is a task module section, 2 is a task module reading section, 3 is a task module internal data conversion holding section, 4 is a simulation section, 5 is a task module simulation data holding section, 6 is a verification section, and 7 is instance data a comparison processing unit; 71 is a comparison data item holding unit;
72 is an instance data comparison unit, 100 is a simulation means, 200 is a task module simulation data holding means, 300 is a verification means, 400 is a comparison means,
fP, Inventive Star Chart No. 1 g

Claims (1)

【特許請求の範囲】 交換機の動作を制御するタスクモジュールを入力され、
該タスクモジュールを実行した結果の前記交換機の状態
の擬似的に示すインスタンスデータを出力するシミュレ
ーション手段(100)と、前記シミュレーション手段
(100)が出力するインスタンスデータを保持するタ
スクモジュールシミュレートデータ保持手段(200)
と、前記タスクモジュールシミュレートデータ保持手段
(200)が保持するインスタンスデータに基づき、前
記タスクモジュールの検証を実行する検証手段(300
)とを具備するタスクモジュール自動検証システムにお
いて、 前記シミュレーション手段(100)が出力するインス
タンスデータを、前記タスクモジュールシミュレートデ
ータ保持手段(200)に保持済みの同一の状態を擬似
的に示すインスタンスデータと比較し、一致する保持済
みのインスタンスデータが検出された場合に、該シミュ
レーション手段(100)から出力されたインスタンス
データの前記タスクモジュールシミュレートデータ保持
手段(200)への保持を停止し、一致する保持済みの
インスタンスデータが検出されなかった場合に、該シミ
ュレーション手段(100)から出力されたインスタン
スデータを前記タスクモジュールシミュレートデータ保
持手段(200)へ保持させる比較手段(400)を設
けることを特徴とする検証ルート自動選択方式。
[Claims] A task module for controlling the operation of an exchange is input;
simulation means (100) for outputting instance data that pseudo-indicates the state of the exchange as a result of executing the task module; and task module simulation data holding means for holding the instance data output by the simulation means (100). (200)
and verification means (300) for verifying the task module based on the instance data held by the task module simulation data holding means (200).
), wherein the instance data output by the simulation means (100) is replaced with instance data that pseudo-indicates the same state held in the task module simulation data holding means (200). If matching held instance data is detected, the holding of the instance data output from the simulation means (100) in the task module simulation data holding means (200) is stopped, and a match is detected. further comprising a comparison means (400) for causing the task module simulation data holding means (200) to hold the instance data output from the simulation means (100) when the held instance data is not detected. Features automatic verification route selection method.
JP62294604A 1987-11-20 1987-11-20 Verification route automatic selection system Pending JPH01136496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62294604A JPH01136496A (en) 1987-11-20 1987-11-20 Verification route automatic selection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62294604A JPH01136496A (en) 1987-11-20 1987-11-20 Verification route automatic selection system

Publications (1)

Publication Number Publication Date
JPH01136496A true JPH01136496A (en) 1989-05-29

Family

ID=17809910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62294604A Pending JPH01136496A (en) 1987-11-20 1987-11-20 Verification route automatic selection system

Country Status (1)

Country Link
JP (1) JPH01136496A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04299431A (en) * 1991-03-27 1992-10-22 Victor Co Of Japan Ltd Information processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04299431A (en) * 1991-03-27 1992-10-22 Victor Co Of Japan Ltd Information processing system

Similar Documents

Publication Publication Date Title
JP2710896B2 (en) How to support the development of a communication automaton set
JPH02264329A (en) Automatic program generating device
CN104425001A (en) System for simultaneously burning multiple switches, method thereof and corresponding switches
CN111949553A (en) Rule engine-based scene case testing method and device
WO2016124230A1 (en) Method for automated testing of distributed software and testing unit
WO2023071062A1 (en) Device control system construction method and apparatus
US5568545A (en) Centralized command system for a telecommunications network
JPS63142431A (en) Pipeline control system
CN114240379A (en) Approval flow configuration method
CN120387403A (en) An integrated development system and integrated development method for chip design
CN119961067B (en) A prototype verification method, apparatus, electronic device, and storage medium
JPH0934534A (en) Plant simulation system
JPH01284096A (en) Task module split verifying device
JP2902157B2 (en) Conflict detection system using work area of call processing memory
JP2773672B2 (en) Input check method
JP2595815B2 (en) Program correction amount judgment processing device
TWM657257U (en) Multifunctional task automatic execution system
CN120928765A (en) Intelligent programming controller system, intelligent programming method and electronic equipment
JP2830742B2 (en) Line-adaptive control function batch conversion method
CN114330776A (en) Automatic operation and maintenance system
JPH0282895A (en) High speed simulation system
JPH03295339A (en) Test system for protocol verification
JPH01298891A (en) Terminal incorporation simulation system
JPH04248636A (en) Control system for plural programs
Foran Hardware/software integration & verification for the mobile servicing system of the international space station