JPH0962531A - Test result matching method - Google Patents
Test result matching methodInfo
- Publication number
- JPH0962531A JPH0962531A JP7219985A JP21998595A JPH0962531A JP H0962531 A JPH0962531 A JP H0962531A JP 7219985 A JP7219985 A JP 7219985A JP 21998595 A JP21998595 A JP 21998595A JP H0962531 A JPH0962531 A JP H0962531A
- Authority
- JP
- Japan
- Prior art keywords
- data
- processes
- sequence
- communication
- combination
- 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.)
- Withdrawn
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
(57)【要約】
【課題】 リアルタイム処理システムに於ける複数のプ
ロセス間通信の試験結果照合方法に関し、照合処理を簡
単化する。
【解決手段】 プロセス間通信の期待動作データを基
に、プロセス間通信を行うプロセスの組合せを示すプロ
セス・テーブル1と、期待動作シーケンスに従ったプロ
セス間の通信データをプロセスの組合せ対応の領域に書
込んでテーブル化したシーケンス・テーブル2とを形成
し、期待動作データに基づいてプロセス間通信を実行さ
せた結果の動作結果データを収集し、この動作結果デー
タを基に、プロセスの組合せを示すプロセス・テーブル
3と、プロセスの組合せ対応の領域にプロセス間通信の
データを書込んでテーブル化したシーケンス・テーブル
4とを形成し、期待動作のプロセス・テーブル1及びシ
ーケンス・テーブル2と、動作結果のプロセス・テーブ
ル3及びシーケンス・テーブル4とを照合する。
(57) [Summary] [PROBLEMS] To simplify a verification process in a test result verification method for communication between a plurality of processes in a real-time processing system. SOLUTION: Based on expected operation data of inter-process communication, a process table 1 showing a combination of processes performing inter-process communication, and communication data between processes according to an expected operation sequence are set in an area corresponding to a process combination. A sequence table 2 which is written and tabulated is formed, and operation result data as a result of executing inter-process communication based on expected operation data is collected, and a combination of processes is shown based on the operation result data. A process table 3 and a sequence table 4 in which interprocess communication data is written in an area corresponding to a combination of processes to form a table are formed, and a process table 1 and a sequence table 2 of expected operation and an operation result are formed. The process table 3 and the sequence table 4 are compared.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、複数のプロセスを
含むリアルタイム処理システムに於けるプロセス間通信
の試験結果を照合する試験結果照合方法に関する。各種
の交換システムやデータ伝送システム等のリアルタイム
処理システムは、呼処理,制御情報の送受信処理,交換
接続処理等の各種の処理を実行するプロセスを含み、各
プロセスは、処理に必要なデータや処理結果のデータ等
の送受信を行うものである。このような複数のプロセス
の相互間で通信を行うものであり、この通信が正常に行
われるか否かを試験し、リアルタイム処理システムの正
常性の確認が行われる。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test result collating method for collating test results of inter-process communication in a real-time processing system including a plurality of processes. Real-time processing systems such as various switching systems and data transmission systems include processes that perform various processes such as call processing, control information transmission / reception processing, and switching connection processing. Each process includes data and processing necessary for processing. The result data and the like are transmitted and received. Communication is performed between such a plurality of processes, and normality of the real-time processing system is confirmed by testing whether or not this communication is normally performed.
【0002】[0002]
【従来の技術】リアルタイム処理システムに於いては、
例えば、図3に示すように、複数のプロセスA,B,
C,・・・Xを含み、オペレーティングシステム(O
S)によって管理し、プロセスA,B,C,・・・Xの
相互間でメッセージの送受信を行うものである。2. Description of the Related Art In a real-time processing system,
For example, as shown in FIG. 3, a plurality of processes A, B,
Including C, ... X, operating system (O
S), and messages are transmitted and received among the processes A, B, C, ... X.
【0003】例えば、図4に示すように、プロセスA
は、プロセスBに送信し(1) 、又プロセスCに送信して
(2) 、受信待ちとする(3) 。そして、プロセスBより受
信すると(4) 、必要に応じてプロセスBへ送信して(5)
、再び受信待ちとする(3) 。又プロセスCより受信す
ると(6) 、必要に応じてプロセスCへ送信して(7) 、再
び受信待ちとする(3) 。For example, as shown in FIG.
Sends to process B (1) and to process C
(2) Wait for reception (3). When it is received from process B (4), it is sent to process B as necessary (5).
, Wait for reception again (3). When it is received from the process C (6), it is sent to the process C (7) if necessary, and the reception is waited again (3).
【0004】プロセス間通信の試験は、例えば、図5に
示すように、期待動作シーケンスを示す期待動作データ
を作成して実行させ、それによって得られた動作結果デ
ータを、期待動作データと照合して正常性をチェックす
る。その場合、左側に示す期待動作シーケンスは、プロ
セスAが、プロセスBへデータaを送信し、プロセスB
からデータbを受信し、次にプロセスBへデータcを送
信し、プロセスBからデータdを受信し、次にプロセス
Cへデータeを送信し、プロセスCからデータfを受信
し、又プロセスCは、プロセスXへデータgを送信し、
そのプロセスXからデータhを受信する場合を示す。The interprocess communication test, for example, as shown in FIG. 5, creates and executes expected operation data indicating an expected operation sequence, and the operation result data obtained thereby is collated with the expected operation data. Check normality. In that case, the expected operation sequence shown on the left is that process A sends data a to process B, and process B
From process B, then send data c to process B, receive data d from process B, then send data e to process C, receive data f from process C, and also process C. Sends data g to process X,
The case where the data h is received from the process X is shown.
【0005】このような期待動作シーケンスに対して、
動作結果シーケンスは、右側に示すように、プロセスA
がプロセスBへデータaを送信した後、プロセスBから
データbを受信する前に、プロセスCへデータeを送信
し、又プロセスAは、プロセスBからのデータbを受信
して、プロセスBへデータcを送信した後、プロセスC
からデータfを受信するようなシーケンスとなる場合が
ある。For such an expected operation sequence,
The operation result sequence, as shown on the right side, is process A
After sending data a to process B and before receiving data b from process B, it sends data e to process C, and process A receives data b from process B and sends it to process B. After sending data c, process C
There is a case where the sequence is such that the data f is received from.
【0006】[0006]
【発明が解決しようとする課題】前述のように、プロセ
ス間通信の試験は、期待動作データを作成して実行さ
せ、その結果による動作結果データを収集して、期待動
作データと照合するものであり、その場合に、図5に示
すように、期待動作シーケンスと動作結果シーケンスと
は、複数のプロセスが相互に関連を持つことにより異な
ったものとなる。従って、期待動作データと動作結果デ
ータとを逐次照合するとしても、その順序が複雑に変化
したものとなるから、照合の作業には多くの人手と時間
とを要する問題があった。本発明は、照合処理を簡単化
し、且つ自動化も可能とすることを目的とする。As described above, in the inter-process communication test, expected operation data is created and executed, and operation result data resulting from the operation is collected and collated with the expected operation data. In that case, as shown in FIG. 5, the expected operation sequence and the operation result sequence are different because the plurality of processes are related to each other. Therefore, even if the expected operation data and the operation result data are sequentially collated, the order thereof is changed in a complicated manner, so that the collation work requires a lot of manpower and time. An object of the present invention is to simplify the collation process and also enable automation.
【0007】[0007]
【課題を解決するための手段】本発明の試験結果照合方
法は、複数のプロセス間通信の期待動作データと、この
期待動作データを実行した結果の動作結果データとを照
合して、複数のプロセス間でメッセージを送受信するリ
アルタイム処理システムを試験する方法に於いて、プロ
セス間通信の期待値データを基に、通信を行うプロセス
A,B,C,・・・の組合せを示すプロセス・テーブル
1と、期待動作シーケンスに従ったプロセス間の通信デ
ータをテーブル化したシーケンス・テーブル2とを形成
し、期待動作データに基づいてプロセス間通信を実行さ
せた結果の動作結果データを収集し、この動作結果デー
タを基に、通信を行ったプロセスの組合せを示すプロセ
ス・テーブル3と、このプロセス・テーブル3に従った
領域にプロセス間の通信データを書込んでテーブル化し
たシーケンス・テーブル4とを形成し、期待動作のプロ
セス・テーブル1及びシーケンス・テーブル2と、動作
結果のプロセス・テーブル3及びシーケンス・テーブル
4とを照合する過程を含むものである。A test result collation method according to the present invention collates expected operation data of a plurality of interprocess communication with operation result data of a result of execution of the expected operation data, and a plurality of processes are compared. In a method for testing a real-time processing system for transmitting and receiving messages between processes, a process table 1 showing a combination of processes A, B, C, ... , A sequence table 2 in which communication data between processes according to an expected operation sequence is tabulated, and operation result data as a result of executing interprocess communication based on the expected operation data is collected, and the operation result Based on the data, the process table 3 showing the combination of processes that have communicated, and the process table 3 in the area according to the process table 3 A sequence table 4 in which communication data is written and formed into a table is formed, and the process table 1 and the sequence table 2 of the expected operation are compared with the process table 3 and the sequence table 4 of the operation result. It includes.
【0008】プロセス・テーブル1,3は、通信を行う
プロセスA,B,C,・・・の組合せを示し、シーケン
ス・テーブル2,4は、プロセス間の送受信方向と通信
データとを、プロセスの組合せ対応の領域に格納したも
のである。従って、複数のプロセス間の関連によって、
期待動作シーケンスと異なる時間順序で動作結果データ
が得られた場合でも、正常なプロセス間通信を実行した
場合は、プロセス・テーブル3及びシーケンス・テーブ
ル4を形成すると、期待動作のプロセス・テーブル1及
びシーケンス・テーブル2と同一となる。従って、プロ
セス・テーブル1,3の照合及びシーケンス・テーブル
2,4の照合は、ディスプレイ上に於いても容易に行う
ことができる。Process tables 1 and 3 show combinations of processes A, B, C, ... Performing communication, and sequence tables 2 and 4 show transmission / reception directions between processes and communication data. It is stored in the area corresponding to the combination. Therefore, due to the association between multiple processes,
Even when the operation result data is obtained in a time order different from the expected operation sequence, if normal interprocess communication is executed, the process table 3 and the sequence table 4 are formed, and the process table 1 of the expected operation and the process table 1 It is the same as the sequence table 2. Therefore, the collation of the process tables 1 and 3 and the collation of the sequence tables 2 and 4 can be easily performed on the display.
【0009】又プロセス・テーブル1,3及びシーケン
ス・テーブル2,4を形成する過程に於いて、期待動作
データ又は動作結果データについて1メッセージ毎に読
込み、このメッセージを送受信するプロセスの組合せが
プロセス・テーブル1,3に存在するか否かを判定し、
存在しない場合はこのプロセスの組合せをプロセス・テ
ーブル1,3に書込み、このプロセス・テーブル1,3
のプロセスの組合せに対応したシーケンス・テーブル
2,4の領域に、メッセージの送受信方向とメッセージ
の内容とを書込むものである。Further, in the process of forming the process tables 1 and 3 and the sequence tables 2 and 4, the expected operation data or the operation result data is read for each message, and the combination of processes for transmitting and receiving this message is the process. Determine if it exists in Tables 1 and 3,
If it does not exist, this process combination is written to process tables 1 and 3, and this process table 1 and 3 is written.
The transmission / reception direction of the message and the content of the message are written in the areas of the sequence tables 2 and 4 corresponding to the combination of processes.
【0010】プロセス・テーブル1,3は、通信を行う
プロセスA,B,C,・・・の組合せを示すものであ
り、従って、プロセス間通信の期待動作データ又は動作
結果データについて、1メッセージ毎に送受信プロセス
を識別することができるから、送受信プロセスの組合せ
がプロセス・テーブル1,3に存在するか否かを検索
し、存在しない場合は、新たなプロセスの組合せである
から、このプロセスの組合せをプロセス・テーブル1,
3に書込む。このような処理を繰り返すことにより、期
待動作データ及び動作結果データを用いてプロセス・テ
ーブル1,3を形成することができる。又シーケンス・
テーブル2,4は、プロセスの組合せに対応した領域に
よって形成するもので、例えば、プロセスA,Bの組合
せの領域に、プロセスAからBへ、又BからAへの送受
信方向とその内容とを書込む。従って、プロセスの同一
の組合せについては、正常時は、期待動作のシーケンス
・テーブル2と動作結果のシーケンス・テーブル3との
内容とは同一となる。The process tables 1 and 3 show combinations of processes A, B, C, ... Communicating with each other. Therefore, the expected operation data or the operation result data of the inter-process communication is set for each message. Since it is possible to identify the transmission / reception process, it is searched whether or not the combination of the transmission / reception process exists in the process tables 1 and 3, and if it does not exist, it is a new process combination. Process table 1,
Write to 3. By repeating such processing, the process tables 1 and 3 can be formed using the expected operation data and the operation result data. Sequence again
Tables 2 and 4 are formed by the areas corresponding to the combination of the processes. For example, in the area of the combination of the processes A and B, the transmission / reception directions from the processes A to B and B to A and the contents thereof are shown. Write. Therefore, for the same combination of processes, the contents of the expected operation sequence table 2 and the operation result sequence table 3 are the same under normal conditions.
【0011】[0011]
【発明の実施の形態】図1は本発明の実施例のテーブル
化の説明図であり、期待動作データと動作結果データ
と、期待動作のプロセス・テーブル1とシーケンス・テ
ーブル2と、動作結果のプロセス・テーブル3とシーケ
ンス・テーブル4との要部を示す。プロセス・テーブル
1,3は、プロセス間通信を行うプロセスA,B,C,
・・・の組合せを示し、シーケンス・テーブル2,4
は、プロセス・テーブル1,3のプロセスA,B,C,
・・・の組合せ対応の領域を有し、それぞれの領域に
は、メッセージの送受信方向とその内容とを書込み、期
待動作データ及び動作結果データをテーブル化したもの
である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an explanatory diagram of tabulation of an embodiment of the present invention, in which expected operation data and operation result data, expected operation process table 1 and sequence table 2 and operation result The main parts of the process table 3 and the sequence table 4 are shown. The process tables 1 and 3 include processes A, B, C, and
.., sequence table 2, 4
Are processes A, B, C of process tables 1 and 3,
.. has a region corresponding to the combination of ..., In each region, the transmission / reception direction of the message and its contents are written, and the expected operation data and the operation result data are tabulated.
【0012】例えば、プロセス・テーブル1,3は、プ
ロセス間通信を行うプロセスA,Bの組合せ、プロセス
A,Cの組合せ、・・・プロセスA,Xの組合せ、プロ
セスB,Cの組合せ、・・・プロセスC,Xの組合せ等
が書込まれて形成されている。又シーケンス・テーブル
2,4は、プロセスA,Bの組合せ対応の領域に、プロ
セスA,B間の通信データa,b,c,dが送受信方向
と共に書込まれ、又プロセスA,Cの組合せ対応の領域
に、プロセスA,C間の通信データe,fが送受信方向
と共に書込まれ、又プロセスC,Xの組合せ対応の領域
に、プロセスC,X間の通信データg,hが送受信方向
と共に書込まれて形成されている。For example, the process tables 1 and 3 include a combination of processes A and B for performing inter-process communication, a combination of processes A and C, ... A combination of processes A and X, a combination of processes B and C ,. ..A combination of processes C and X is written and formed. In the sequence tables 2 and 4, the communication data a, b, c, d between the processes A and B are written together with the transmission / reception direction in the area corresponding to the combination of the processes A and B. Communication data e and f between the processes A and C are written in the corresponding area together with the transmission / reception direction, and communication data g and h between the processes C and X are transmitted and received in the area corresponding to the combination of the processes C and X. It is written and formed with.
【0013】期待動作データとして、プロセスAからB
(From A to B)へのデータと、その次にプ
ロセスBからプロセスA(From B to A)へ
のデータ等を設定して実行した場合、動作結果データ
は、その実行順序に従って、プロセスAからB(Fro
m A to B)へのデータの次に、プロセスAから
C(From A to C)へのデータを収集するこ
とがある。例えば、前述の図5の期待動作シーケンスの
ように、プロセスAがプロセスBへデータaを送信し、
プロセスBからデータbを受信することを示す場合に、
動作結果シーケンスのように、プロセスAがプロセスB
へデータaを送信し、次にプロセスAがプロセスCへデ
ータeを送信する場合がある。As expected operation data, processes A to B
When the data to (From A to B) and then the data from the process B to the process A (From B to A) are set and executed, the operation result data is output from the process A according to the execution order. B (Fro
Data from m A to B) may be followed by data from process A to C (From A to C). For example, process A sends data a to process B as in the expected operation sequence of FIG.
When indicating that the data b is received from the process B,
As in the operation result sequence, process A is process B
Data a may be transmitted to process C, and then process A may transmit data e to process C.
【0014】このような動作結果データを収集し、プロ
セス間通信を行ったプロセスの組合せをプロセス・テー
ブル3に書込み、プロセスの組合せ対応のシーケンス・
テーブル4の領域に、そのプロセス間の通信データを送
受信方向と共に順次書込む。従って、プロセスBからプ
ロセスAへ送信する前に、プロセスAからプロセスCへ
データeを送信した場合でも、プロセスA,Bの組合せ
対応のシーケンス・テーブル4の領域には、プロセス
A,B間の送受信データと送受信方向とが書込まれ、プ
ロセスA,C間の送受信データと送受信方向とは、プロ
セスA,Cの組合せ対応のシーケンス・テーブル4の領
域に書込まれるから、時間順序が期待動作データと相違
しても、テーブル化することにより、期待動作のシーケ
ンス・テーブル2の内容と同一となる。Such operation result data is collected, the process combinations that have been subjected to inter-process communication are written in the process table 3, and a sequence corresponding to the process combination is displayed.
In the area of the table 4, the communication data between the processes are sequentially written together with the transmission / reception direction. Therefore, even when the data e is transmitted from the process A to the process C before the process B is transmitted to the process A, the area between the processes A and B is stored in the area of the sequence table 4 corresponding to the combination of the processes A and B. The transmission / reception data and the transmission / reception direction are written, and the transmission / reception data between the processes A and C and the transmission / reception direction are written in the area of the sequence table 4 corresponding to the combination of the processes A and C. Even if it differs from the data, the contents of the sequence table 2 of the expected operation become the same as the contents of the expected operation by forming the table.
【0015】即ち、図5に於ける期待動作シーケンスと
して、送受信方向を矢印としてデータa,b,c,・・
・を示すと、A→B=a,B→A=b,A→B=c,B
→A=d,A→C=e,C→A=f,C→X=g,X→
C=hと表すと、シーケンス・テーブル2は図1の左側
に示すものとなる。そして、図5に於ける動作結果シー
ケンスが、A→B=a,A→C=e,B→A=b,A→
B=c,C→A=f,B→A=d,C→X=g,A→B
=i,A→C=k,X→C=hとして示すように得られ
た場合、シーケンス・テーブル4は図1の右側に示すも
のとなる。That is, as the expected operation sequence in FIG. 5, data a, b, c, ...
.., A → B = a, B → A = b, A → B = c, B
→ A = d, A → C = e, C → A = f, C → X = g, X →
Expressing C = h, the sequence table 2 is shown on the left side of FIG. Then, the operation result sequence in FIG. 5 is A → B = a, A → C = e, B → A = b, A →
B = c, C → A = f, B → A = d, C → X = g, A → B
= I, A-> C = k, X-> C = h, the sequence table 4 is as shown on the right side of FIG.
【0016】複数のプロセスの相互関係等によって、期
待動作データを実行した場合に期待動作シーケンスとは
異なる動作結果シーケンスとなっても、テーブル化する
ことにより、プロセス間通信が正常に行われた場合に
は、同一内容のシーケンス・テーブルとなる。従って、
期待動作のシーケンス・テーブル2と、動作結果のシー
ケンス・テーブル4とをプリントアウトして目視で照合
するか、ディスプレイの表示内容を目視で照合するか、
或いはコンピュータ等を用いた比較手段によって自動的
に照合して、リアルタイム処理システムのプロセス間通
信が正常であるか否かを判定することができる。Even when the expected operation data is executed and the operation result sequence differs from the expected operation sequence due to the interrelationship of a plurality of processes and the like, the inter-process communication is normally performed by tabulating. Will be the sequence table with the same contents. Therefore,
Whether the sequence table 2 of the expected operation and the sequence table 4 of the operation result are printed out and visually checked, or the displayed contents of the display are visually checked,
Alternatively, it is possible to determine automatically whether or not the interprocess communication of the real-time processing system is normal by collating with a comparing means using a computer or the like.
【0017】図2は本発明の実施例のテーブル形成処理
のフローチャートであり、期待動作データ又は動作結果
データの1メッセージを読込み(a) 、期待動作データ又
は動作結果データの読込みが終了したか否かを判定し
(b) 、終了した場合はテーブル形成処理を終了し- 終了
でない場合は、プロセス間の組合せがプロセス・テーブ
ル1,3に有るか否かを判定し(c) 、有る場合はステッ
プ(e) に移行し、無い場合は、プロセス・テーブル1,
3に新たなプロセスの組合せを追加する(d) 。即ち、期
待動作データ又は動作結果データの例えば「From
Y to X」により、プロセス・テーブル1,3のプ
ロセスX,Yの組合せの有無を検索し、この組合せが無
い場合に、新たにプロセス・テーブル1,3にプロセス
X,Yの組合せを書込む。FIG. 2 is a flow chart of the table forming process of the embodiment of the present invention, in which one message of expected operation data or operation result data is read (a) and whether reading of expected operation data or operation result data is completed or not. To determine
(b) If it is finished, the table forming process is terminated.-If it is not finished, it is judged whether or not there is a combination between processes in the process tables 1 and 3 (c), and if there is, a step (e) Process table 1, if there is no process table 1,
Add a new process combination to 3 (d). That is, the expected motion data or motion result data such as "From
“Y to X” is searched for the presence / absence of a combination of the processes X and Y in the process tables 1 and 3, and if there is no such combination, a new combination of the processes X and Y is written in the process tables 1 and 3. .
【0018】そして、メッセージの送受信方向とその内
容とをシーケンス・テーブルに書込む(e) 。例えば、
「From A to B」により、プロセスAからプ
ロセスBへ送信することを示し、その後のデータを総合
してaとすると、プロセス・テーブル1,3のプロセス
A,Bの組合せ対応のシーケンス・テーブル2,4の領
域に、送受信方向としてA→B、データとしてaを書込
むことになる。以下同様にして、プロセス・テーブル
1,3とシーケンス・テーブル2,4とが形成されるも
のである。Then, the transmission / reception direction of the message and its contents are written in the sequence table (e). For example,
“From A to B” indicates that the process A is transmitted to the process B, and if the data after that is a, the sequence table 2 corresponding to the combination of the processes A and B of the process tables 1 and 3 is shown. , 4 are written in the area of A → B as the transmission / reception direction and a as the data. Similarly, the process tables 1 and 3 and the sequence tables 2 and 4 are formed.
【0019】[0019]
【発明の効果】以上説明したように、本発明は、プロセ
ス間通信の期待動作データを基に、プロセス・テーブル
1とシーケンス・テーブル2とを形成し、この期待動作
データを実行した結果の動作結果データを収集して、プ
ロセス間通信を行ったプロセスの組合せを示すプロセス
・テーブル3と、プロセスの組合せ対応の領域にプロセ
ス間通信データとその送受信方向とを書込んだシーケン
ス・テーブル4とを形成し、プロセス・テーブル1,3
及びシーケンス・テーブル2,4の照合によって、プロ
セス間通信の正常性を判定するものである。As described above, according to the present invention, the process table 1 and the sequence table 2 are formed on the basis of the expected operation data of the inter-process communication, and the operation resulting from the execution of the expected operation data is performed. A process table 3 that collects result data and indicates a combination of processes that have performed inter-process communication, and a sequence table 4 that writes inter-process communication data and a transmission / reception direction thereof in an area corresponding to the combination of processes. Form and Process Table 1,3
By comparing the sequence tables 2 and 4, the normality of interprocess communication is determined.
【0020】従って、複数のプロセスの相互間の関連に
よって期待動作シーケンスに対して動作結果シーケンス
が相違しても、テーブル化によりプロセスの組合せ対応
で照合するから、異なるプロセスの組合せのプロセス間
通信に影響を受けることがなく、照合が極めて容易とな
り、自動化が可能となる利点がある。又プロセスの組合
せ対応のシーケンスのみでなく、データについても照合
することが可能となり、信頼性の高い試験結果の照合方
法を提供できる利点がある。Therefore, even if the operation result sequence differs from the expected operation sequence due to the relationship between a plurality of processes, the table is used to compare the process result combinations so that interprocess communication of different process combinations can be achieved. There is an advantage that it is not affected, collation becomes extremely easy, and automation becomes possible. Further, not only the sequence corresponding to the combination of the processes but also the data can be collated, and there is an advantage that a highly reliable collating method of the test result can be provided.
【図1】本発明の実施例のテーブル化の説明図である。FIG. 1 is an explanatory diagram of table formation according to an embodiment of the present invention.
【図2】本発明の実施例のテーブル形成処理のフローチ
ャートである。FIG. 2 is a flowchart of a table forming process according to the embodiment of this invention.
【図3】プロセス構成の説明図である。FIG. 3 is an explanatory diagram of a process configuration.
【図4】プロセス間通信処理の説明図である。FIG. 4 is an explanatory diagram of inter-process communication processing.
【図5】シーケンス説明図である。FIG. 5 is a sequence explanatory diagram.
1,3 プロセス・テーブル 2,4 シーケンス・テーブル 1,3 Process table 2,4 Sequence table
Claims (2)
と、該期待動作データを実行した結果の動作結果データ
とを照合して、複数のプロセス間でメッセージを送受信
するリアルタイム処理システムを試験する方法に於い
て、 前記プロセス間通信の期待動作データを基に、通信を行
うプロセスの組合せを示すプロセス・テーブルと、期待
動作シーケンスに従ったプロセス間の通信データをテー
ブル化したシーケンス・テーブルとを形成し、 前記期待動作データに基づいてプロセス間通信を実行さ
せた結果の動作結果データを収集し、該動作結果データ
を基に、通信を行ったプロセスの組合せを示すプロセス
・テーブルと、該プロセス・テーブルに従った領域にプ
ロセス間の通信データを書込んでテーブル化したシーケ
ンス・テーブルとを形成し、 前記期待動作のプロセス・テーブル及びシーケンス・テ
ーブルと、前記動作結果のプロセス・テーブル及びシー
ケンス・テーブルとを照合する過程を含むことを特徴と
する試験結果照合方法。1. A method for testing a real-time processing system for transmitting and receiving a message between a plurality of processes by collating expected operation data of communication between a plurality of processes with operation result data of a result of executing the expected operation data. In the above, based on the expected operation data of the inter-process communication, a process table showing a combination of processes performing communication and a sequence table forming a table of communication data between processes according to an expected operation sequence are formed. And collecting operation result data as a result of executing inter-process communication based on the expected operation data, and based on the operation result data, a process table indicating a combination of processes that have performed communication, and the process table. Creates a sequence table in which communication data between processes is written in an area according to the table and tabulated. , The expected and the process table and sequence table operation, the test result verification method characterized by comprising the step of collating the process table and sequence table of the operation results.
・テーブルを形成する過程に於いて、前記期待動作デー
タ又は前記動作結果データについて1メッセージ毎に読
込み、該メッセージを送受信するプロセスの組合せが前
記プロセス・テーブルに存在するか否かを判定し、存在
しない場合は該プロセスの組合せを前記プロセス・テー
ブルに書込み、該プロセス・テーブルのプロセスの組合
せに対応した前記シーケンス・テーブルの領域に、前記
メッセージの送受信方向と該メッセージの内容とを書込
む過程を含むことを特徴とする請求項1記載の試験結果
照合方法。2. In the process of forming the process table and the sequence table, a combination of processes for reading the expected operation data or the operation result data for each message and transmitting / receiving the message is the process table. Whether or not the message is transmitted and received, the combination of the processes is written in the process table, and the message is transmitted and received in the area of the sequence table corresponding to the combination of the processes in the process table. 2. The test result matching method according to claim 1, further comprising a step of writing the content of the message and the content of the message.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7219985A JPH0962531A (en) | 1995-08-29 | 1995-08-29 | Test result matching method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7219985A JPH0962531A (en) | 1995-08-29 | 1995-08-29 | Test result matching method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0962531A true JPH0962531A (en) | 1997-03-07 |
Family
ID=16744121
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7219985A Withdrawn JPH0962531A (en) | 1995-08-29 | 1995-08-29 | Test result matching method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0962531A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010066933A (en) * | 2008-09-09 | 2010-03-25 | Fujitsu Ltd | Network system, information processor, and system test program |
-
1995
- 1995-08-29 JP JP7219985A patent/JPH0962531A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010066933A (en) * | 2008-09-09 | 2010-03-25 | Fujitsu Ltd | Network system, information processor, and system test program |
| US8595311B2 (en) | 2008-09-09 | 2013-11-26 | Fujitsu Limited | Network system, information processing apparatus, and computer product |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110287267A (en) | A cross-node data processing method and device | |
| US5630135A (en) | Multiple-execution method of multiple-version programs and computer system therefor | |
| CN114579327A (en) | Cross-process communication method and device, storage medium and electronic equipment | |
| CN116701011A (en) | Algorithm service dispatching management system based on rule engine | |
| CN111367934A (en) | Data consistency checking method, device, server and medium | |
| JPH0962531A (en) | Test result matching method | |
| JPH0196750A (en) | Data processing system | |
| CN115903600A (en) | Method for data acquisition by using Modbus industrial bus field protocol | |
| JPH01125634A (en) | Module cooperation test method | |
| JP2653514B2 (en) | Scan controller | |
| CN118802626A (en) | Indicator collection method, system and electronic device in communication scenario | |
| JPH048810B2 (en) | ||
| US6922736B2 (en) | Computer system and data processing method | |
| JP2000357109A (en) | Multitask tracing system | |
| CN117061272A (en) | A vehicle communication protocol identification method, device, equipment and medium | |
| JPH0556083A (en) | Data processing system | |
| JPH07202990A (en) | Debug device | |
| JPH117424A (en) | E-mail transmission method and system | |
| JPH04273327A (en) | Static parallel processing program creation support device | |
| JPH0520160A (en) | Remote file access system | |
| CN111475204A (en) | Host interactive operation method, system and intermediate conversion device | |
| JPS6354650A (en) | Defining system for system environment | |
| JPH05324521A (en) | Multiwindow communication method | |
| JPH01120940A (en) | Command response identification system at maintenance operation of electronic switching system | |
| JPH0784824A (en) | Program debug device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20021105 |