JPS6318226B2 - - Google Patents
Info
- Publication number
- JPS6318226B2 JPS6318226B2 JP57171549A JP17154982A JPS6318226B2 JP S6318226 B2 JPS6318226 B2 JP S6318226B2 JP 57171549 A JP57171549 A JP 57171549A JP 17154982 A JP17154982 A JP 17154982A JP S6318226 B2 JPS6318226 B2 JP S6318226B2
- Authority
- JP
- Japan
- Prior art keywords
- processing program
- call
- communication processing
- simulator
- creates
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/261—Functional testing by simulating additional hardware, e.g. fault simulation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、計算機間の通信処理プログラムの試
験方式に関し、特に各計算機が発呼側処理および
着呼側処理を併せもつプログラムにより対称的な
通信を行なうシステムにおいて、発呼側機能と着
呼側機能とを一括して試験する方式に関する。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a test method for a communication processing program between computers, and in particular, the present invention relates to a test method for a communication processing program between computers. This invention relates to a method for testing the calling side functions and the called side functions at once in a system that performs.
従来は、発呼処理あるいは着呼処理とその切断
などの通信制御手順に沿つた処理を実行する計算
機間通信処理プログラムについてデバツグを行な
う場合には、2台の計算機を用意し、実際の使用
環境を設定して試験を行なうか、あるいは第1図
に例示的に示す通信アクセス法、通信制御装置
CCPプログラムなどの計算機間の通信系プログ
ラムについてのシミユレータを作成して試験を行
なつていた。しかし、前者の場合、試験のために
二つの空き計算機システムを準備するのは容易で
なく、また後者では計算機間通信処理プログラム
を、発呼側処理()と着呼側処理()とに分割し
て別々に試験しなければならず、しかもシミユレ
ータに入出力手段を設けて、シミユレート手順お
よびメツセージ(電文)を外部データとして与え
てやる必要があつた。
Conventionally, when debugging a computer-to-computer communication processing program that executes processing according to communication control procedures such as call processing or incoming call processing and its disconnection, two computers were prepared and the actual usage environment was debugged. or use the communication access method and communication control device illustratively shown in Figure 1.
We created and tested simulators for communication programs between computers, such as CCP programs. However, in the former case, it is not easy to prepare two free computer systems for the test, and in the latter case, the inter-computer communication processing program is divided into calling side processing () and called side processing (). Moreover, it was necessary to provide input/output means to the simulator and provide the simulated procedure and messages as external data.
このように、従来の試験方法では、実際の使用
環境を調えるためのハードウエアが必要であり、
また後者のシミユレータを用いる場合でも、シミ
ユレート用のデータ作成負担が大きいなどの問題
があり、簡単に試験を行なうことができなかつ
た。 In this way, conventional testing methods require hardware to examine the actual usage environment.
Even when using the latter simulator, there are problems such as the burden of creating simulation data, making it difficult to conduct tests easily.
〔発明の目的および構成〕
本発明の目的は、計算機間で対称的な通信処理
を行なうプログラムのデバツグにおいて、シミユ
レート用のデータ作成を不要にするもので、プロ
グラムの発呼側機能と着呼側機能とを、シミユレ
ータを用いて折返し連結することにより、両機能
を同時に一括して試験する方式を提供することに
ある。[Object and Structure of the Invention] An object of the present invention is to eliminate the need to create data for simulation when debugging a program that performs symmetrical communication processing between computers, and to The object of the present invention is to provide a method for simultaneously testing both functions by linking them together using a simulator.
第2図は、本発明の基本原理を示すものであ
る。同図において、1は実ホスト、2は仮想ホス
ト、3はシミユレータ、4は通信処理プログラ
ム、5は発呼側処理、6は着呼側処理、4′は仮
想通信処理プログラム、5′は仮想発呼側処理、
6′は仮想着呼側処理を表わしている。 FIG. 2 shows the basic principle of the invention. In the figure, 1 is a real host, 2 is a virtual host, 3 is a simulator, 4 is a communication processing program, 5 is a calling side process, 6 is a called side process, 4' is a virtual communication processing program, and 5' is a virtual calling party processing;
6' represents virtual called side processing.
本発明によるシミユレータ3は、実ホスト1の
通信処理プログラム4が発呼側処理5を試験する
とき、シミユレーシヨンの相手側ホストとなる仮
想ホスト2の仮想着呼側処理6′を、プログラム
4の着呼側処理6で代替させ、同様に、プログラ
ム4の着呼側処理6を試験するとき、相手側ホス
トとなる仮想ホスト2の仮想発呼側処理5′を、
プログラム4の発呼側処理5で代替させるように
コマンドやデータなどの情報を折返すものであ
り、そのために双方のインタフエースが整合する
よう、発呼および着呼相互間の情報変換を行なう
ものである。このように、プログラム4の発呼側
処理機能と着呼側処理機能とを折返して連結する
ことにより、同一プログラムの両機能を同時に試
験することが可能になるとともに、シミユレータ
に要求される機能は、インタフエースを整合させ
る処理に限られるため、従来のシミユレータと比
較して構成が簡単となり、そしてシミユレート手
順やメツセージなどを外部から供給してやる必要
をなくすことができる。 When the communication processing program 4 of the real host 1 tests the calling side process 5, the simulator 3 according to the present invention tests the virtual called side process 6' of the virtual host 2, which is the other side host of the simulation. Similarly, when testing the called side process 6 of the program 4, the virtual calling side process 5' of the virtual host 2, which is the other side host, is substituted with the calling side process 6.
This is to return information such as commands and data so that it can be substituted by the calling side process 5 of program 4, and for this purpose, it converts information between the calling and called parties so that the interfaces on both sides are compatible. It is. In this way, by linking the calling side processing function and called side processing function of program 4, it becomes possible to test both functions of the same program at the same time, and the functions required of the simulator can be Since the process is limited to matching the interfaces, the configuration is simpler than that of conventional simulators, and there is no need to supply simulation procedures, messages, etc. from the outside.
それにより、本発明の構成は、計算機間で対称
的な通信を行なう通信処理プログラムのデバツグ
処理システムにおいて、
ホスト計算機に、試験すべき発呼処理機能およ
び着呼処理機能を有する単一の通信処理プログラ
ムと、該通信処理プログラムを試験するためのシ
ミユレータとを設置し、
該シミユレータは、上記通信処理プログラムの
発呼処理機能のインタフエースを着呼処理機能の
インタフエースに整合させて計算機内部で折り返
し連結する処理を行ない、該処理では、通信処理
プログラムが試験的実行を行なう際に、生成され
る発呼情報より着呼情報を作成し、着呼応答につ
いては発呼完了通知を作成し、送信データについ
ては受信側インタフエースに合わせて通知し、受
信データに対する応答については送信完了結果通
知を作成し、切断要求を着呼側インタフエースに
合わせて通知し、切断要求に対する応答について
は切断要求結果を作成する機能動作を行なうこと
を特徴とするものである。 As a result, the configuration of the present invention is such that in a debugging processing system for a communication processing program that performs symmetrical communication between computers, the host computer has a single communication processing function that has a call processing function and an incoming call processing function to be tested. A program and a simulator for testing the communication processing program are installed, and the simulator matches the interface of the call processing function of the communication processing program with the interface of the incoming call processing function and loops back within the computer. In this process, when the communication processing program performs a trial run, incoming call information is created from the generated outgoing call information, and for incoming call responses, a call completion notification is created and sent. Data is notified according to the receiving side interface, a transmission completion result notification is created for the response to the received data, a disconnection request is notified according to the called side interface, and a disconnection request result is generated for the response to the disconnection request. It is characterized by performing a functional operation to create a .
第3図は、本発明実施例方式の機能説明図であ
り、第4図は第3図の機能説明図に対応する更に
具体的な動作説明図である。
FIG. 3 is a functional explanatory diagram of the system according to the embodiment of the present invention, and FIG. 4 is a more specific operational explanatory diagram corresponding to the functional explanatory diagram of FIG. 3.
両図において、5は通信処理プログラムの発呼
側処理、6は同じく着呼側処理、3はシミユレー
タを表わす。 In both figures, 5 represents the calling side process of the communication processing program, 6 the called side process, and 3 the simulator.
また第4図中の記号Aは自ホストID(識別コー
ド、以下同じ)、Bは相手ホストID、aは自ノー
ドアドレス、bは相手ノードアドレス、αは自起
動プログラム番号、βは相手起動プログラム番
号、Lは網種別、Fidは通信処理プログラムとシ
ミユレータ間の通信に使用されるFパスと名付け
るパスのID、HDUはメツセージ(電文)、BIND
は発呼要求コマンド、RSPはレスポンス、
UNBINDは切断要求コマンドをそれぞれ表わし
ている。 In addition, the symbol A in Fig. 4 is the own host ID (identification code, the same applies hereinafter), B is the other host ID, a is the own node address, b is the other node address, α is the self-starting program number, and β is the other party's starting program. number, L is the network type, Fid is the ID of the path called F path used for communication between the communication processing program and the simulator, HDU is the message, BIND
is a call request command, RSP is a response,
UNBIND each represents a disconnection request command.
シミユレータ3は、計算機間通信処理プログラ
ムが発呼あるいは着呼の実行処理に際して発行あ
るいは受領する上記各コマンドおよびデータ等の
情報を、同一プログラム内の対向する処理機能部
間で折返す処理を行なう。それにより、通信処理
プログラムは、シミユレータ3の作用に基づいて
自らの発呼処理機能部と着呼処理機能部とが、互
いに相手を仮想ホストとして通信を行なつている
かのように実行され、両機能が同時的に試験され
る。 The simulator 3 performs a process of returning the above-mentioned commands, data, and other information issued or received by the intercomputer communication processing program during call origination or call execution processing between opposing processing function units within the same program. Thereby, the communication processing program is executed based on the action of the simulator 3 as if its own call processing function section and call processing function section were communicating with each other using the other party as a virtual host. Functions are tested simultaneously.
以下、第3図および第4図にしたがつて、実施
例の動作を説明する。 The operation of the embodiment will be described below with reference to FIGS. 3 and 4.
図示の例は、発呼側5が、着呼側6に発呼要求
を行ない、通信接続を完成してから、発呼側から
着呼側へデータを送信し、受信完了を確認してか
ら、発呼側から着呼側へ、通信接続の切断要求を
行ない、切断要求応答により停止する、一連の通
信処理動作を示したものである。 In the illustrated example, the calling side 5 makes a call request to the called side 6, completes the communication connection, then sends data from the calling side to the called side, confirms that the reception is complete, and then , shows a series of communication processing operations in which the calling side issues a request to disconnect the communication connection to the called side, and stops upon response to the disconnection request.
まず、発呼側5は、相手および自己のネツトワ
ーク情報を作成し、発呼要求
BIND(A、B、a、b、α、β、L)
を発行する。シミユレータ3は、発呼側とシミユ
レータ間のFパス(Fid1)および着呼側とシミ
ユレータ間のFパス(Fid2)を決定し、また発
呼要求中の相手ネツトワーク情報と自ネツトワー
ク情報とを交換し、着呼通知
BIND(B、A、b、a、β、α、L、Fid2)
およびリターン情報(Fid1)を作成し、インタ
フエースを整合させて、それぞれ着呼側および発
呼側へ通知する。 First, the calling side 5 creates network information for the other party and itself, and issues a call request BIND (A, B, a, b, α, β, L). The simulator 3 determines the F-path (Fid1) between the calling side and the simulator and the F-path (Fid2) between the called side and the simulator, and also determines the network information of the other party in the call request and its own network information. exchange, create incoming call notification BIND (B, A, b, a, β, α, L, Fid2) and return information (Fid1), match the interface, and send it to the called and calling sides respectively. Notice.
着呼側は、着呼受付処理を行ない、着呼応答情
報±RSP<BIND>(Fid2)を作成して送出する。
シミユレータはこれを受信し、FパスのIDを
Fid2からFid1に変換し、インタフエース整合を
行なつて、完了通知±RSP<BIND>(Fid1)を
作成し、発呼側へ通知する。続いて着呼側から受
信依頼が行なわれ、HDU受信要求通知(Fid2)
が発行されたときには、シミユレータは、受信依
頼のキユーイングを行ない、送信依頼を待つ。 The called side performs call reception processing, creates and sends call response information ±RSP<BIND> (Fid2).
The simulator receives this and sends the F path ID.
Convert Fid2 to Fid1, perform interface matching, create completion notification ±RSP<BIND> (Fid1), and notify the calling party. Next, a reception request is made from the called side, and an HDU reception request notification (Fid2) is sent.
is issued, the simulator queues the reception request and waits for the transmission request.
次に、発呼側は、HDU(メツセージ)を作成し
て、HDU送信要求通知(Fid1、HDU)を送出す
る。シミユレータは、これについてFパスのID
変換(Fid1→Fid2)を行ない、HDUについてイ
ンタフエースを整合させて、データ受信通知
HDU(Fid2)を、着呼側へ出力する。 Next, the calling side creates an HDU (message) and sends an HDU transmission request notification (Fid1, HDU). The simulator uses the F-pass ID for this
Performs conversion (Fid1 → Fid2), matches the interface for HDU, and sends a data reception notification.
Output HDU (Fid2) to the called side.
着呼側は、HDUの受信処理を行ない、応答情
報±RSP<HDU>(Fid2)を作成し、送出する。
シミユレータは、これについてFパスのID変換
(Fid2→Fid1)とインタフエース整合とを行なつ
て、送信結果通知±RSP<HDU>(Fid1)を発
呼側へ出力する。 The called side performs HDU reception processing, creates and sends response information ±RSP<HDU> (Fid2).
The simulator performs F-path ID conversion (Fid2→Fid1) and interface matching for this, and outputs a transmission result notification ±RSP<HDU>(Fid1) to the calling side.
ここで、発呼側は、パス切断要求UNBIND
(Fid1)を作成して送出する。シミユレータはこ
れについてFパスIDの変換(Fid1→Fid2)とイ
ンタフエース整合とを行なつて、切断要求通知
UNBIND(Fid2)を着呼側へ出力する。 Here, the calling party sends the path disconnection request UNBIND
Create and send (Fid1). The simulator converts the F path ID (Fid1 → Fid2) and matches the interface, and notifies the disconnection request.
Outputs UNBIND (Fid2) to the called party.
着呼側では、パス切断要求に対する処理を行な
い、応答情報±RSP<UNBIND>(Fid2)を作
成して送出する。シミユレータは、これについて
FパスID変換(Fid2→Fid1)とインタフエース
整合とを行なつて、切断結果通知±RSP<
UNBIND>(Fid1)を発呼側へ出力する。発呼
側は、これにより後処理を行ない、停止する。 The called side processes the path disconnection request, creates and sends response information ±RSP<UNBIND> (Fid2). The simulator performs F path ID conversion (Fid2→Fid1) and interface matching, and notifies the disconnection result ±RSP<
Outputs UNBIND>(Fid1) to the calling side. The calling party then performs post-processing and stops.
以上のような処理により、通信処理プログラム
の発呼側および着呼側の機能についての障害の有
無を、容易に検出することができる。 Through the processing described above, it is possible to easily detect whether or not there is a failure in the functions of the communication processing program on the calling side and the called side.
以上述べたように、本発明によれば、シミユレ
ータ自体に外部データを与える必要なしに、通信
処理プログラムの試験を行なうことが可能とな
り、また発呼側および着呼側の両機能の試験を同
時に一括して行なうことができるため、作業負担
が軽減され、トラブルも減少して、プログラムデ
バツグの処理効率を大幅に向上させることができ
る。
As described above, according to the present invention, it is possible to test a communication processing program without the need to provide external data to the simulator itself, and it is possible to test both functions of the calling side and the called side at the same time. Since it can be done all at once, the workload is reduced, troubles are reduced, and the processing efficiency of program debugging can be greatly improved.
第1図は従来方式の説明図、第2図は本発明実
施例方式の概念図、第3図および第4図は実施例
方式の動作説明図である。
図中、1は実ホスト、2は仮想ホスト、3はシ
ミユレータ、4は計算機間通信処理プログラム、
5は発呼側処理、6は着呼側処理を示す。
FIG. 1 is an explanatory diagram of the conventional system, FIG. 2 is a conceptual diagram of the system according to the embodiment of the present invention, and FIGS. 3 and 4 are diagrams illustrating the operation of the embodiment system. In the figure, 1 is a real host, 2 is a virtual host, 3 is a simulator, 4 is an intercomputer communication processing program,
5 indicates the calling side process, and 6 indicates the called side process.
Claims (1)
ログラムのデバツグ処理システムにおいて、 ホスト計算機に、試験すべき発呼処理機能およ
び着呼処理機能を有する単一の通信処理プログラ
ムと、該通信処理プログラムを試験するためのシ
ミユレータとを設置し、 該シミユレータは、上記通信処理プログラムの
発呼処理機能のインタフエースを着呼処理機能の
インタフエースに整合させて計算機内部で折り返
し連結する処理を行ない、該処理では、通信処理
プログラムが試験的実行を行なう際に、生成され
る発呼情報より着呼情報を作成し、着呼応答につ
いては発呼完了通知を作成し、送信データについ
ては受信側インタフエースに合わせて通知し、受
信データに対する応答については送信完了結果通
知を作成し、切断要求を着呼側インタフエースに
合わせて通知し、切断要求に対する応答について
は切断要求結果を作成する機能動作を行なうこと
を特徴とする計算機間通信処理プログラムの試験
方式。[Claims] 1. In a debugging processing system for a communication processing program that performs symmetrical communication between computers, a single communication processing program having a call processing function and an incoming call processing function to be tested is installed in a host computer. , a simulator for testing the communication processing program is installed, and the simulator matches the interface of the call processing function of the communication processing program with the interface of the incoming call processing function and loops back and connects it inside the computer. In this process, when the communication processing program performs a trial run, it creates incoming call information from the generated call information, creates a call completion notification for the incoming call response, and creates a call completion notification for the outgoing data. sends a notification in accordance with the receiving interface, creates a transmission completion result notification in response to received data, notifies a disconnection request in accordance with the called interface, and creates a disconnection request result in response to the disconnection request. A test method for a computer-to-computer communication processing program characterized by performing functional operations.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57171549A JPS5960655A (en) | 1982-09-30 | 1982-09-30 | System for testing inter-computer communication processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57171549A JPS5960655A (en) | 1982-09-30 | 1982-09-30 | System for testing inter-computer communication processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5960655A JPS5960655A (en) | 1984-04-06 |
| JPS6318226B2 true JPS6318226B2 (en) | 1988-04-18 |
Family
ID=15925183
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57171549A Granted JPS5960655A (en) | 1982-09-30 | 1982-09-30 | System for testing inter-computer communication processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5960655A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0447522U (en) * | 1990-08-28 | 1992-04-22 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59157752A (en) * | 1983-02-25 | 1984-09-07 | Hitachi Ltd | Computer test system |
| JPS60220447A (en) * | 1984-04-16 | 1985-11-05 | Fujitsu Ltd | Network test system |
| JPS62220031A (en) * | 1986-03-20 | 1987-09-28 | Fujitsu Ltd | Inter-system communication system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS51149738A (en) * | 1975-06-18 | 1976-12-22 | Hitachi Ltd | Method of testing electeronic computers |
| JPS6028017B2 (en) * | 1980-11-17 | 1985-07-02 | 日本電気株式会社 | information processing equipment |
| JPS57141759A (en) * | 1981-02-26 | 1982-09-02 | Nec Corp | Data processing system |
-
1982
- 1982-09-30 JP JP57171549A patent/JPS5960655A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0447522U (en) * | 1990-08-28 | 1992-04-22 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5960655A (en) | 1984-04-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4684885A (en) | Arrangement for on-line diagnostic testing of an off-line standby processor in a duplicated processor configuration | |
| Diaz et al. | Observer-a concept for formal on-line validation of distributed systems | |
| CN112039722A (en) | A kind of MQTT protocol simulation method and simulation device | |
| US20010011215A1 (en) | Network device simulation system and method | |
| CN113489603A (en) | Interactive background traffic generation method and system in network shooting range | |
| JPH06348530A (en) | Portable method and apparatus for executing development, verification and test of computer system | |
| CN113746683B (en) | Interconnection, Interoperability and Interoperability Simulation Methods in Cross-Domain Environment | |
| US7095718B1 (en) | Client/server scan software architecture | |
| CN101668036B (en) | Simulating system of distributed device and method for processing service by simulating distributed device | |
| JPS6318226B2 (en) | ||
| Bochmann et al. | Test result analysis with respect to formal specifications | |
| CN109712701A (en) | Slave computer simulator and master system test method | |
| CN119201357A (en) | Computer Systems | |
| CN114047948B (en) | Reconfigurable trusted cryptographic module simulator, implementation method and simulation reconstruction method | |
| CN100449964C (en) | Method for software testing and fault location of network management system for optical synchronous digital transmission system | |
| CN115248798A (en) | Linux-based virtual serial port communication method, device, system and medium | |
| CN105528256A (en) | Communication control method for main program and multimedia courseware of spaceflight equipment training system | |
| JP2894296B2 (en) | Software test system for mobile switching system | |
| CN115987843B (en) | Equipment simulation debugging method and equipment | |
| JP2568374B2 (en) | Simulation device for networking code | |
| JPH01204547A (en) | Simulated test node for packet exchange network | |
| KR100406031B1 (en) | The exchange simulation method using the oms and thereof system | |
| CN115934144A (en) | Cross-platform operation and maintenance method, system, device and equipment for electric energy collection | |
| CN108415839A (en) | The development frame of multinuclear SoC chip and the development approach of multinuclear SoC chip | |
| CN116795668A (en) | A testing method, device, terminal and cloud platform |