JPH0591164A - Connection confirmation test system between communication equipments - Google Patents

Connection confirmation test system between communication equipments

Info

Publication number
JPH0591164A
JPH0591164A JP3247430A JP24743091A JPH0591164A JP H0591164 A JPH0591164 A JP H0591164A JP 3247430 A JP3247430 A JP 3247430A JP 24743091 A JP24743091 A JP 24743091A JP H0591164 A JPH0591164 A JP H0591164A
Authority
JP
Japan
Prior art keywords
communication device
communication
reception
transmission
data
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
Application number
JP3247430A
Other languages
Japanese (ja)
Inventor
Tomio Sakamoto
富美夫 坂本
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 JP3247430A priority Critical patent/JPH0591164A/en
Publication of JPH0591164A publication Critical patent/JPH0591164A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To automatically confirm duplex operation and to attain the connection confirmation between plural communication equipment and the normality confirmation of transmission reception data by changing the direction of transmission/reception between the communication equipments. CONSTITUTION:A transmission data generating means 13 of a 1st communication equipment 10 generates an information frame and sends the frame from an information transfer device 11. A reception data confirmation means 23 of a 2nd communication equipment 20 is driven, and when the reception is confirmed, a reply means 24 is driven to reply the normal reception and to start a transmission mode start means 25. A reception mode start means 15 of the communication equipment 10 is started, a reception data confirming means 16 is driven, a transmission data generating means 26 of the communication equipment 20 sends the information frame including the data received earlier. Then the reception data confirmation means 16 checks data and confirms it to be normal, then a reply means 17 is driven to send reply information and a reply confirmation means 27 of the communication equipment 20 receives reply information to confirm the normal reception and the processing is terminated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は規定された通信手順に従
って制御信号・情報等の送受信を行う情報転送装置を制
御する通信装置における,他の通信装置の情報転送装置
との間の接続を確認するための接続確認試験方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention confirms a connection between an information transfer device of another communication device and a communication device which controls an information transfer device for transmitting and receiving control signals, information and the like according to a prescribed communication procedure. Connection confirmation test method for doing.

【0002】HDLC通信制御手順等で情報転送を行う
情報転送を備えた通信装置を製造する工場等では,製造
された通信装置が決められた通信制御手順に従って正常
に動作できかどうかを試験する必要がある。このため,
通信装置の送信機能と受信機能を試験するために,他の
通信装置を接続して送信モード及び受信モードのそれぞ
れについて試験プログラムによる動作試験が行われてい
たが,時間と手間がかかるばかりでなく,チェックした
い他の機能について試験ができなかった。
[0002] In a factory or the like that manufactures a communication device equipped with information transfer for transferring information by an HDLC communication control procedure or the like, it is necessary to test whether or not the manufactured communication device can operate normally according to a predetermined communication control procedure. There is. For this reason,
In order to test the transmission function and the reception function of the communication device, another communication device was connected and an operation test was performed by a test program for each of the transmission mode and the reception mode. , I couldn't test other functions I want to check.

【0003】[0003]

【従来の技術】HDLC手順(High-level Data Link C
ontrol procedure) による情報転送装置を有する通信装
置は製造された時,各種の検査・試験の工程がある。す
なわち,外観検査,実装点検,表示検査の各検査を行っ
た後,布線試験(配線のチェック)及び通信装置単体の
機能を試験プログラムにより行う。このあと,2台の通
信装置(一方が試験済の装置で一方が検査対象)を接続
装置を介して総合試験が行われる。この総合試験は一方
の通信装置を送信状態,他方を受信状態にして試験を行
い,その後それぞれの通信装置を逆の状態にして試験を
行うことにより送信,受信の両機能を試験して,機能が
正常か否かを判定する。
2. Description of the Related Art HDLC procedure (High-level Data Link C
A communication device having an information transfer device according to the ontrol procedure) has various inspection and test processes when it is manufactured. That is, after performing the visual inspection, the mounting inspection, and the display inspection, the wiring test (wiring check) and the function of the communication device alone are performed by the test program. After that, a comprehensive test is performed on two communication devices (one of which has been tested and one of which is an inspection target) via the connection device. This comprehensive test is performed by setting one communication device in the transmitting state and the other in the receiving state, and then testing each communication device in the opposite state to test both transmission and reception functions. Is normal or not.

【0004】図7は通信装置の構成及び試験を行うため
の構成図が示されている。図7において,1Aは通信装
置A,2Aはプログラムを実行する中央処理装置,3A
はプログラムが格納された記憶装置,4Aはこの例では
HDLC手順(High-level Data Link Control procedu
re) による情報転送を行う情報転送装置,5Aは入出力
装置である。6は2つの通信装置の情報転送装置を接続
する接続装置(伝送路として機能する)である。1Bは
通信装置Bであり,2B〜5Bはそれぞれ通信装置Aの
2A〜5Aと同じ名称で同じ機能・構成を備える装置で
ある。
FIG. 7 is a block diagram showing the structure of a communication device and a test. In FIG. 7, 1A is a communication device A, 2A is a central processing unit that executes a program, and 3A.
Is a storage device in which a program is stored, and 4A is an HDLC procedure (High-level Data Link Control process) in this example.
An information transfer device for transferring information by re) and an input / output device 5A. Reference numeral 6 is a connection device (functions as a transmission line) that connects the information transfer devices of the two communication devices. 1B is a communication device B, and 2B to 5B are devices having the same names and the same functions and configurations as 2A to 5A of the communication device A, respectively.

【0005】通信装置Aまたは通信装置Bの一方を試験
済の装置として使用する場合が多いが,両方を共に製造
された製品であっても良い。また,この例では,情報転
送装置4A,4Bが通信手順として,HDLC手順(Hi
gh-level Data Link Controlprocedure) による情報転
送機能を持つものとする。
In many cases, one of the communication device A and the communication device B is used as a device that has been tested, but both products may be manufactured together. Further, in this example, the information transfer devices 4A and 4B use the HDLC procedure (Hi
gh-level Data Link Control procedure).

【0006】図8乃至図10に通常の通信動作を行う場
合のHDLC手順による2台の通信装置間で送受信され
る制御信号,及び情報の通信手順が示され,図8はリン
ク設定の手順,図9は情報転送の手順,図10はリンク
開放の手順である。
FIGS. 8 to 10 show communication procedures of control signals and information transmitted and received between two communication devices according to the HDLC procedure when performing a normal communication operation. FIG. 8 shows a link setting procedure. FIG. 9 shows an information transfer procedure, and FIG. 10 shows a link release procedure.

【0007】図8のリンク設定の手順の場合,通信装置
Aでは中央処理装置2Aがコマンド(リンク設定のコマ
ンド)登録を記憶装置3Aにメモリライト動作により行
う。情報転送装置4Aは,周期処理で記憶装置3Aから
メモリリードを行っており,コマンドを受付ると,情報
転送装置の状態を表すステータス表示情報として,コマ
ンド終了(コマンド受付終了)を記憶装置3Aに書き込
む(メモリライト)。
In the case of the link setting procedure shown in FIG. 8, the central processing unit 2A of the communication device A registers a command (link setting command) in the storage device 3A by a memory write operation. The information transfer device 4A performs memory reading from the storage device 3A in a cyclic process, and when a command is received, the command end (command reception end) is stored in the storage device 3A as status display information indicating the state of the information transfer device. Write (memory write).

【0008】コマンドにより情報転送装置4Aは,相手
通信装置Bに対してモードを設定する制御情報SABM
E(Set Aynchronous Balanced Mode Extended: 非同期
平衡拡張モード設定)を送信する。相手通信装置Bは,
これを情報転送装置4Bで受け取ると,UA(Unnumber
ed Acknowledge: 非番号応答)を通信装置Aに送信する
と共に,リンク設定表示のステータス登録を記憶装置3
Bに対して行う(メモリライト)。このステータスは,
中央処理装置2Bにおけるステータス受付処理により通
知される。
In response to the command, the information transfer device 4A sets the control information SABM for setting the mode for the partner communication device B.
Send E (Set Aynchronous Balanced Mode Extended). The partner communication device B is
When this is received by the information transfer device 4B, the UA (Unnumber
ed Acknowledge: A non-number response) is sent to the communication device A, and the status registration of the link setting display is sent to the storage device 3.
Perform to B (memory write). This status is
This is notified by the status acceptance process in the central processing unit 2B.

【0009】通信装置Aでは,通信装置Bからの応答情
報UAを受け取ると,リンク設定確認のステータスを記
憶装置3Aに書き込み,中央処理装置2Aではこのステ
ータス受付処理により検出する。
When the communication device A receives the response information UA from the communication device B, the status of the link setting confirmation is written in the storage device 3A, and the central processing unit 2A detects it by this status acceptance processing.

【0010】図8によりリンク設定が行われると,図9
に示すように中央処理装置2AがI(情報)フレーム送
信のコマンドを記憶装置3Aに書き込み,これを情報転
送装置4Aでコマンド受付処理で検出して,ステータス
登録(コマンド終了)を記憶装置3Aに対して行う。こ
の後,情報転送装置4Aにより通信装置Bに対してIフ
レーム(記憶装置3Aから取り出す)を送信する。これ
に対し通信装置Bでは情報転送装置4BでIフレーム受
信のステータスを登録して,RR(Receive Ready:受信
確認) を通信装置に送信する。この情報RRを通信装置
Aの情報転送装置4Aで受け取ると応答確認のステータ
スを記憶装置3Aに登録する。中央処理装置2Aはこの
ステータスを受付処理により検出することにより転送が
成功したことを識別する。
When the link setting is performed as shown in FIG.
As shown in FIG. 2, the central processing unit 2A writes a command for I (information) frame transmission in the storage device 3A, and the information transfer device 4A detects this command in the command reception process, and registers the status (command end) in the storage device 3A. To do. After that, the information transfer device 4A transmits an I frame (taken from the storage device 3A) to the communication device B. On the other hand, in the communication device B, the information transfer device 4B registers the status of I-frame reception and transmits RR (Receive Ready) to the communication device. When the information transfer device 4A of the communication device A receives this information RR, the response confirmation status is registered in the storage device 3A. The central processing unit 2A identifies that the transfer is successful by detecting this status by the acceptance processing.

【0011】この後,図10によりリンク開放の手順が
行われる。すなわち,通信装置Aの中央処理装置2Aか
らリンク開放のコマンドが記憶装置3Aに書き込まれ,
これを情報転送装置4Aで取り出すと,通信装置Bに対
しDISC(Disconnect) のコマンドが送信され, 通信
装置Bで受信すると,UA(非番号応答)を送信する。
これを通信装置Aで受け取ることによりリンク開放を確
認することができる。
After that, the procedure for releasing the link is performed as shown in FIG. That is, the link release command is written from the central processing unit 2A of the communication device A to the storage device 3A,
When this is taken out by the information transfer device 4A, a DISC (Disconnect) command is transmitted to the communication device B, and when received by the communication device B, a UA (unnumbered response) is transmitted.
The link release can be confirmed by receiving this at the communication device A.

【0012】上記のような各手順が通常のHDLC手順
の通信では実行されるが,通信装置を製造した時に図7
に示すように2台の通信装置A,Bの情報転送装置4
A,4B間を接続装置6により接続して行われる従来の
接続試験の処理フローを図11に示す。
Although each of the procedures described above is executed in the communication of the normal HDLC procedure, when the communication device is manufactured, as shown in FIG.
The information transfer device 4 of the two communication devices A and B as shown in FIG.
FIG. 11 shows a processing flow of a conventional connection test performed by connecting the A and 4B with the connecting device 6.

【0013】この試験では,図8〜図10に示すように
リンクの設定,Iフレーム送受信,リンク開放の手順が
必要であるが,図11にはIフレームの送受信の試験に
ついてだけ示し,以下に動作順に従い(1) 〜(10)につい
て説明する。
This test requires the steps of link setting, I frame transmission / reception, and link release as shown in FIGS. 8 to 10. However, FIG. 11 shows only the I frame transmission / reception test. (1) to (10) will be described in the order of operation.

【0014】(1) 通信装置A,通信装置Bにおいて入出
力装置5A,5Bから試験プログラムを記憶装置3A,
3Bに読み込み,通信装置Bでは受信側プログラムを起
動し,通信装置Aでは送信側プログラムを起動する。
(1) In the communication device A and the communication device B, the test program is stored in the storage device 3A, from the input / output devices 5A and 5B.
3B, the communication device B activates the receiving side program, and the communication device A activates the transmitting side program.

【0015】(2) 通信装置Bでは, 中央処理装置2Bが
ステータスを周期的にリードし,Iプログラム受信ステ
ータス(通信装置AからのIプログラム受信表示)が報
告されるのを待つ(図11の120,121)。
(2) In the communication device B, the central processing unit 2B periodically reads the status and waits for the I program reception status (I program reception display from the communication device A) to be reported (see FIG. 11). 120, 121).

【0016】(3) 通信装置Aでは,中央処理装置2Aが
情報転送装置4Aに対してIフレーム送信オーダ(コマ
ンド)を送出する(同110)。 (4) 通信装置Aでは情報転送装置4Aが指定動作を実行
し,コマンド終了ステータスを記憶装置3Aに返送する
と共に,Iフレームを通信装置Bに送出する(同11
1,112)。
(3) In the communication device A, the central processing unit 2A sends an I frame transmission order (command) to the information transfer device 4A (at step 110). (4) In the communication device A, the information transfer device 4A executes the designated operation, returns the command end status to the storage device 3A, and sends the I frame to the communication device B (at 11
1,112).

【0017】(5) 通信装置Aでは,上記(4) の送信ステ
ータスを予め記憶装置3Aに格納しておいた正解データ
と照合する(同113,114)。照合結果が一致であ
れば,テスト正常とみなして後述の(8) へ進み, 不一致
であればテスト不良とみなし入出力装置5Aに障害情報
を出力し,試験を中断する(同119)。
(5) The communication device A collates the transmission status of (4) with the correct data stored in the storage device 3A in advance (113 and 114). If the collation results match, the test is considered normal and the process proceeds to (8) described below. If they do not match, the test is considered defective and fault information is output to the input / output device 5A and the test is interrupted (step 119).

【0018】(6) 通信装置Bでは,情報転送装置4Bが
Iフレームを受信後,Iフレーム受信ステータスを記憶
装置3Bに格納すると共に,Iフレーム受信確認信号を
通信装置Aに送出する(同120〜121)。
(6) In the communication device B, after the information transfer device 4B receives the I frame, the I frame reception status is stored in the storage device 3B and the I frame reception confirmation signal is sent to the communication device A (at 120). ~ 121).

【0019】(7) 通話路装置Bでは,上記(6) の受信ス
テータスを予め記憶装置3Bに格納しておいた正解デー
タと照合する(同122,123)。この照合結果が一
致であれば,テスト正常とみなし,(9) へ進む。不一致
であれば, テスト不良とみなし, 入出力装置に障害情報
を出力し試験を中断する(同124)。
(7) In the communication path device B, the reception status of (6) is collated with the correct answer data stored in the storage device 3B in advance (steps 122 and 123). If this verification result is a match, the test is considered normal and the procedure advances to (9). If they do not match, it is regarded as a test failure, fault information is output to the input / output device, and the test is interrupted (124).

【0020】(8) 通信装置Aでは情報転送装置4AがI
フレーム受信確認信号を受信後,応答確認ステータスを
記憶装置3Aに格納するので,受信ステータスを予め記
憶装置3Aに格納しておいて正解データと照合する(同
115〜118)。照合結果が一致であれば,テスト正
常とみなし(9) へ進み,不一致であれば,テスト不良と
みなし入出力装置5Aに障害情報を出力し,試験を中断
する。
(8) In the communication device A, the information transfer device 4A is I
After receiving the frame reception confirmation signal, since the response confirmation status is stored in the storage device 3A, the reception status is stored in the storage device 3A in advance and collated with the correct answer data (115 to 118). If the collation results match, the test is considered normal and the process proceeds to (9). If they do not match, the test is considered defective and fault information is output to the input / output device 5A to interrupt the test.

【0021】(9) 通信装置A,Bの送信・受信の状態を
変えて(逆の状態),上記(1) 〜(8) の手順を繰り返
す。 (10)通信装置の組み合わせ(他の通信装置について)を
変えて上記(1) 〜(9)の手順を繰り返す。
(9) The transmission / reception states of the communication devices A and B are changed (reverse state), and the steps (1) to (8) are repeated. (10) The combination of communication devices (for other communication devices) is changed and the above steps (1) to (9) are repeated.

【0022】[0022]

【発明が解決しようとする課題】上記したように従来の
2台の通信装置を対向させた試験によれば,次のような
問題があった。
According to the test in which two conventional communication devices are opposed to each other as described above, there are the following problems.

【0023】通信装置に読み込むプログラムが送信側
と受信側の2種類が必要である。 1対n,n対1,n対nの接続の場合等のような複数
の通信装置と接続された場合の接続確認ができない。
There are two types of programs to be read into the communication device, one for the transmitting side and the other for the receiving side. The connection cannot be confirmed when connected to a plurality of communication devices, such as in the case of 1-to-n, n-to-1 and n-to-n connections.

【0024】通信装置Aから通信装置Bへの接続確認
後,通信装置Bから通信装置Aへの接続確認をする必要
がある。 実際の通信で起きる複数の接続装置を同時に動作させ
るような競合試験が不可能である。
After confirming the connection from the communication device A to the communication device B, it is necessary to confirm the connection from the communication device B to the communication device A. It is impossible to conduct a competitive test in which a plurality of connecting devices that operate in actual communication are operated at the same time.

【0025】通信装置間において互いに応答が無い場
合,試験プログラム内で無限ループが形成される。 本発明は任意の通信装置間で送受信の方向を変えて,自
動的に両方向の確認を行うと共に複数通信装置間での接
続確認ができると共に送受信データの正常性を確認でき
る通信装置間の接続確認試験方式を提供することを目的
とする。
When the communication devices do not respond to each other, an infinite loop is formed in the test program. INDUSTRIAL APPLICABILITY The present invention changes the transmission / reception direction between arbitrary communication devices, automatically confirms both directions, and can confirm the connection between a plurality of communication devices and can confirm the normality of transmission / reception data. The purpose is to provide a test method.

【0026】[0026]

【課題を解決するための手段】図1は本発明の原理構成
図である。10は第1の通信装置,11は情報転送装
置,12は送信モード起動手段,13は送信データ作成
手段,14は応答確認手段,15は受信モード起動手
段,16は受信データ確認手段,17は応答手段であ
る。20は第2の通信装置,21は情報転送装置,22
は受信モード起動手段,23は受信データ確認手段,2
4は応答手段,25は送信モード起動手段,26は送信
データ作成手段,27は応答確認手段,30は接続装置
である。
FIG. 1 is a block diagram showing the principle of the present invention. Reference numeral 10 is a first communication device, 11 is an information transfer device, 12 is a transmission mode activation means, 13 is a transmission data creation means, 14 is a response confirmation means, 15 is a reception mode activation means, 16 is a reception data confirmation means, and 17 is It is a response means. 20 is a second communication device, 21 is an information transfer device, 22
Is a reception mode starting means, 23 is a reception data confirmation means, 2
Reference numeral 4 is a response means, 25 is a transmission mode activation means, 26 is a transmission data creation means, 27 is a response confirmation means, and 30 is a connection device.

【0027】本発明は2つの通信装置の一方を送信モー
ド,他方を受信モードにして起動し,予め決められたデ
ータを含む情報フレームを送信すると他方の通信装置で
受信データを確認して,それぞれの通信装置が正常であ
ることを確認すると,各通信装置でモードを逆にして他
方の通信装置から決められたデータを含む情報フレーム
送信して,一方の通信装置でこれを受信してそれぞれが
正常であることを確認することにより接続試験を行う。
According to the present invention, one of the two communication devices is activated in the transmission mode and the other in the reception mode, and when an information frame including predetermined data is transmitted, the other communication device confirms the received data and If it is confirmed that each communication device is normal, the mode is reversed in each communication device, the information frame including the data determined by the other communication device is transmitted, and one communication device receives the information frame, and each communication device receives the information frame. Perform a connection test by confirming that it is normal.

【0028】[0028]

【作用】第1の通信装置10と第2の通信装置20を接
続装置30を介して試験を行う場合,最初に第1の通信
装置を起動すると送信モード起動手段12が動作し,第
2の通信装置20の受信モード起動手段が動作する。第
1の通信装置10は送信データ作成手段13が予め決め
られたデータ(送信元番号,宛先番号等)を含む情報フ
レームを作成し情報転送装置11から送信する。第2の
通信装置20では受信データ確認手段23が駆動されて
おり情報フレームのデータの受信を確認すると,応答手
段24が駆動されて正常受信されたことを応答し,送信
モード起動手段25を起動する。
When the first communication device 10 and the second communication device 20 are tested via the connection device 30, the transmission mode starting means 12 operates when the first communication device is first activated, and the second communication device 20 is activated. The reception mode starting means of the communication device 20 operates. In the first communication device 10, the transmission data creating means 13 creates an information frame including predetermined data (source number, destination number, etc.) and transmits it from the information transfer device 11. In the second communication device 20, the reception data confirmation means 23 is driven, and when the reception of the data of the information frame is confirmed, the response means 24 is driven and responds that the reception is normally performed, and the transmission mode activation means 25 is activated. To do.

【0029】第1の通信装置10はこの応答情報を受信
すると,受信モード起動手段15が起動し,受信データ
確認手段16が駆動される。第2の通信装置20で送信
データ作成手段26により先に受信したデータを含む情
報フレームを作成して転送装置から送信する。第1の通
信装置10がこれを受信すると受信データ確認手段16
でデータをチェックし,正常であることを確認すると応
答手段17を駆動して応答情報を送信して終了する。第
2の通信装置20の応答確認手段27はこの応答情報を
受け取って正常受信であることを確認すると終了する。
When the first communication device 10 receives this response information, the reception mode activation means 15 is activated and the reception data confirmation means 16 is driven. In the second communication device 20, the transmission data creating means 26 creates an information frame containing the data previously received and transmits it from the transfer device. When the first communication device 10 receives this, the received data confirmation means 16
When the data is checked with, and it is confirmed that the data is normal, the response means 17 is driven, the response information is transmitted, and the process ends. When the response confirmation means 27 of the second communication device 20 receives this response information and confirms that it is a normal reception, it ends.

【0030】上記の各段階において,タイマにより所定
時間内に応答やデータ等の受信等の動作が行われないと
障害であるとして試験を終了させる。また,1対1の接
続だけでなく,1対n,n対1及びn対nの接続確認を
同様の原理で行うことができる。
In each of the above steps, if the timer does not perform an operation such as response or reception of data within a predetermined time, the test is concluded as a failure. Further, not only the one-to-one connection but also the one-to-n, n-to-one and n-to-n connection confirmation can be performed by the same principle.

【0031】[0031]

【実施例】図2,図3は実施例の処理フロー(その
1),(その2)である。この処理フローは具体的に
は,図7に示すような通信装置Aと通信装置Bの間を接
続装置により接続した場合に通信装置Aと通信装置Bの
各中央処理装置において実行される。
Embodiments FIGS. 2 and 3 are processing flows (1) and (2) of the embodiment. Specifically, this processing flow is executed in each central processing unit of the communication device A and the communication device B when the communication device A and the communication device B as shown in FIG. 7 are connected by the connecting device.

【0032】図2は,通信装置Aから通信装置Bへの通
信における処理フローであり,図3は通信装置Bから通
信装置Aへの通信における処理フローである。図2につ
いて処理の順に項に分けて説明する。
FIG. 2 is a process flow in communication from the communication device A to the communication device B, and FIG. 3 is a process flow in communication from the communication device B to the communication device A. FIG. 2 will be described in terms of processing in order.

【0033】(1) 最初に,通信装置A,通信装置Bにお
いて入出力装置(図7の5A,5B参照)から試験プロ
グラムを記憶装置(図7の3A.3B)に読み込み,通
信装置Bでは受信側プログラムを起動し(S12),通
信装置Aには送信プログラムを起動する(S1)。
(1) First, in the communication devices A and B, the test program is read from the input / output device (see 5A and 5B in FIG. 7) into the storage device (3A.3B in FIG. 7), and in the communication device B, The reception side program is activated (S12), and the transmission program is activated for the communication device A (S1).

【0034】(2) 通信装置Bでは中央処理装置(図7の
2B)がステータスを周期的にリードし,Iフレーム受
信ステータス(通信装置AよりのIフレーム受信表示)
が報告されるのを待つ(S13,S15〜S18)。も
し,規定の時間以内にステータスが報告さない場合は,
試験終了となる(S14でイエスの場合での経路を介
し図3へ移行)。
(2) In the communication device B, the central processing unit (2B in FIG. 7) periodically reads the status, and the I frame reception status (I frame reception display from the communication device A)
Is waited for (S13, S15 to S18). If the status is not reported within the specified time,
The test ends (S14 goes through the route in the case of YES to shift to FIG. 3).

【0035】(3) 通信装置Aでは中央処理装置(図7の
2A)が情報転送装置(図7の4A)に対して,データ
に送受信側の装置番号を埋め込み, Iフレーム送信オー
ダを送出する(S2,S3)。
(3) In the communication device A, the central processing unit (2A in FIG. 7) embeds the transmission / reception side device number in the data and sends the I frame transmission order to the information transfer device (4A in FIG. 7). (S2, S3).

【0036】(4) 通信装置Aでは情報転送装置(図7の
4A)が指定動作を実行し,コマンド終了ステータスを
記憶装置(図7の3A)に返送すると共に,Iフレーム
を通信装置Bに送出する。
(4) In the communication device A, the information transfer device (4A in FIG. 7) executes the designated operation, returns the command end status to the storage device (3A in FIG. 7), and sends the I frame to the communication device B. Send out.

【0037】(5) 通信装置Aでは,(4)の送信ステータス
を予め記憶装置に格納しておいた正解データと照合する
(S4〜S7)。照合結果が一致すればテスト正常とみ
なし,(8)へ進み, 不一致であればテスト不良とみなし,
入出力装置( 図7の5A)に障害情報を出力し,試験を
中断する(の経路を介し図3のS26へ移行)。
(5) The communication device A collates the transmission status of (4) with the correct answer data stored in the storage device in advance (S4 to S7). If the verification results match, the test is considered normal and proceed to (8) .If they do not match, the test is considered defective, and
The failure information is output to the input / output device (5A in FIG. 7), and the test is interrupted (via the route to S26 in FIG. 3).

【0038】(6) 通信装置Bでは情報転送装置がIフレ
ームを受信後,Iフレーム受信ステータスを記憶装置に
格納すると共に,Iフレーム受信確認信号を通信装置A
に送出する。
(6) In the communication device B, after the information transfer device receives the I frame, the I frame reception status is stored in the storage device and the I frame reception confirmation signal is sent to the communication device A.
To send to.

【0039】(7) 通信装置Bでは(6) の受信ステータス
を予め記憶装置に格納しておいた正解データと照合する
(S19,20)。 (8) 通信装置Aでは情報転送装置がIフレーム受信確認
信号を受信後,応答確認ステータスを記憶装置に格納す
るので受信ステータスを予め記憶装置に格納しておいた
正解データと照合する(S8〜S11)。照合結果が一
致であれば,テスト正常とみなし,次の(9) へ進み, 不
一致であればテスト不良とみなし, 入出力装置に障害情
報を出力し, 試験を中断する。
(7) The communication device B collates the reception status of (6) with the correct answer data stored in advance in the storage device (S19, 20). (8) In the communication device A, since the information transfer device stores the response confirmation status in the storage device after receiving the I-frame reception confirmation signal, the reception status is collated with the correct answer data stored in advance in the storage device (S8- S11). If the verification results match, the test is considered normal, and the procedure advances to the next step (9). If they do not match, the test is considered defective, the failure information is output to the I / O device, and the test is interrupted.

【0040】この後,通信装置Aはの経路で受信モー
ドに移行し,通信装置Bはの経路で送信モードに移行
し,図3に示す通信装置Bから通信装置Aへの送信動作
に移行する。
After this, the communication device A shifts to the reception mode along the route of, the communication device B shifts to the transmission mode along the route of and shifts to the transmission operation from the communication device B to the communication device A shown in FIG. ..

【0041】(9) 通信装置Aでは中央処理装置が情報転
送装置に対して,Iフレーム受信ステータス(通信装置
BからのIフレーム受信表示)が報告されるのを待つ。 (10)通信装置Bでは中央処理装置が送受信号側の装置番
号をデータに埋め込んだIフレームを作成して,情報転
送装置に対して,Iフレーム送信オーダを送出する(S
27,28)。
(9) In the communication device A, the central processing unit waits for the information transfer device to report the I frame reception status (I frame reception display from the communication device B). (10) In the communication device B, the central processing unit creates an I frame in which the device number of the transmitter / receiver is embedded in the data, and sends the I frame transmission order to the information transfer device (S).
27, 28).

【0042】(11)通信装置Bでは情報転送装置が指定動
作を実行し,コマンド終了ステータスを記憶装置に返送
すると共に,Iフレームを通信装置Aに送出する。 (12)通信装置Bでは,(11)の受信ステータスを予め記憶
装置に格納しておいた正解データと照合する(S29〜
32)。ここで照合不一致なら入出力装置に障害情報転
送装置を出力し試験を中断し, 一致していれば(15)に進
む。
(11) In the communication device B, the information transfer device executes the designated operation, returns the command end status to the storage device, and sends the I frame to the communication device A. (12) In the communication device B, the reception status of (11) is collated with the correct answer data stored in the storage device in advance (S29-).
32). If the collation does not match, the fault information transfer device is output to the input / output device and the test is interrupted. If they match, proceed to (15).

【0043】(13)通信装置Aでは情報転送装置がIフレ
ームを受信後,Iフレーム受信ステータスを記憶装置に
格納すると共にIフレーム受信確認信号を通信装置Bに
送出する。
(13) In the communication device A, after the information transfer device receives the I frame, the I frame reception status is stored in the storage device and the I frame reception confirmation signal is sent to the communication device B.

【0044】(14)通信装置Aでは(13)の受信ステータス
を予め記憶装置に格納しておいた正解データと照合する
(S21〜S25)。照合結果が一致であれば, テスト
正常とみなし, (16)へ進み, 不一致であればテスト不良
とみなし,入出力装置に障害情報を出力し(S26),
試験を中断する。
(14) The communication device A collates the reception status of (13) with the correct answer data stored in advance in the storage device (S21 to S25). If the verification results match, the test is considered normal, and the procedure advances to (16). If the verification results do not match, the test is considered defective, and failure information is output to the input / output device (S26).
Discontinue the test.

【0045】(15)通信装置Bでは情報転送装置がIフレ
ーム受信確認信号を受信後,応答確認ステータスを記憶
装置に格納するので,受信ステータスを予め記憶装置に
格納しておいた正解データと照合する(S33〜S3
6)。
(15) In the communication device B, since the information transfer device stores the response confirmation status in the storage device after receiving the I frame reception confirmation signal, the reception status is collated with the correct answer data stored in the storage device in advance. Yes (S33 to S3
6).

【0046】照合結果が一致であればテスト正常とみな
し,(2) へ戻る。不一致であればテスト不良とみなし,
入出力装置に障害情報を出力し試験を中断する(S3
7)。 (16)通信装置A, 通信装置Bのいずれかを他の通信装置
と交換し, 上記(1) 〜(15)を実行する。
If the collation results match, the test is considered normal and the process returns to (2). If they do not match, it is considered as a test failure,
Fault information is output to the input / output device and the test is interrupted (S3
7). (16) Either the communication device A or the communication device B is replaced with another communication device, and the above (1) to (15) are executed.

【0047】次に上記の試験を行う場合に転送されるI
フレームに含まれる試験用データの構成例を図4に示
す。図4において,40は通信装置Aが送信モードの時
に通信送信Bへ送信される送信データであり,ヘッダ部
の後,送信側の装置番号と受信側の装置番号を予め分か
っているので,それぞれの装置番号x,装置番号yを設
定して,その後にオール“0”のデータを一定長だけ格
納した試験用データを設定する。この試験用データはI
フィールドに載せられてフレーム(HDLCに対応する
フレーム)により送信される。
Next, I is transferred when the above-mentioned test is performed.
FIG. 4 shows a configuration example of the test data included in the frame. In FIG. 4, reference numeral 40 denotes transmission data to be transmitted to the communication transmission B when the communication device A is in the transmission mode. Since the device number of the transmitting side and the device number of the receiving side are known in advance after the header part, respectively. The device number x and the device number y are set, and then the test data in which all "0" data are stored for a fixed length is set. This test data is I
It is placed in the field and transmitted in frames (frames corresponding to HDLC).

【0048】通信装置Bでこのフレームを受信すると,
受信フレームのIフィールドの受信データ41に試験用
データが格納されているかチェックする。この時,予め
送信側の装置番号xと受信側(自装置)の装置番号yが
試験実行前に格納されているので,受信した試験データ
の各番号と比較することにより正常に受信したか判断で
きる。
When the communication device B receives this frame,
It is checked whether the test data is stored in the reception data 41 of the I field of the reception frame. At this time, since the device number x on the transmitting side and the device number y on the receiving side (self device) are stored in advance before the test is executed, it is judged whether or not the data is normally received by comparing each number of the received test data. it can.

【0049】次に42は,通信装置Bが送信モードで通
信送信Aへ送信されるIフレームに含まれる送信データ
である。この場合,ヘッダ部の後の試験用データとし
て,最初の通信モードにおいて通信送信Aから送られて
きた試験用データの一部(送信側の装置番号xと受信側
の装置番号y)をそのまま設定すると共に,新たに送信
側の装置番号yと受信側の装置番号xとを付加して構成
する。この試験データを含むフレームは相手側の通信装
置Aに送信されると,通信装置Aでは受信データ43の
試験用データの内容と予め用意された通信装置Bの送信
データ(試験用データ)42と同じ内容のデータとを照
合する。これにより正確にデータが転送されるか否かの
チェックを行うことができる。
Next, reference numeral 42 denotes transmission data included in the I frame transmitted to the communication transmission A by the communication device B in the transmission mode. In this case, as the test data after the header part, a part of the test data sent from the communication transmission A in the first communication mode (device number x on the transmitting side and device number y on the receiving side) is set as it is. At the same time, a device number y on the transmitting side and a device number x on the receiving side are newly added. When the frame including the test data is transmitted to the communication device A on the other side, the communication device A receives the contents of the test data of the reception data 43 and the transmission data (test data) 42 of the communication device B prepared in advance. Match data with the same content. This makes it possible to check whether or not the data is transferred accurately.

【0050】次に図5は1対1の場合と1対nの場合の
接続構成の例を示し,図6はn対nの場合とn対1の場
合の接続構成の例を示す。図5のA.は上記図2〜図3
について説明した1対1の場合の接続である。B.は,
1台の通信装置Aと接続する接続装置を介して,複数の
通信装置B,通信装置C及び通信装置Dが接続されてい
る。この場合にも,本発明の原理により同様の接続確認
を行うことができる。すなわち,通信装置Aを送信側と
して,複数の通信装置B〜通信装置Dのそれぞれ対して
個別にIフレームI0 ,I2 ,I4を送信して試験を行
い,次に通信装置B〜通信装置Dからそれぞれ異なるI
フレームI1 ,I3 ,I5 が通信装置Aに送信されて試
験が行われ,通信装置Aと対向する各通信装置B〜通信
装置Dと個別に試験を行うのと同様の試験を行うことが
できる。
Next, FIG. 5 shows an example of the connection configuration in the case of 1: 1 and 1: n, and FIG. 6 shows an example of the connection configuration in the case of n: n and n: 1. A. of FIG. 2 to 3 above
This is a one-to-one connection described in. B. Is
A plurality of communication devices B, C, and D are connected via a connection device that connects to one communication device A. Also in this case, the same connection confirmation can be performed according to the principle of the present invention. That is, with the communication device A as the transmission side, I frames I 0 , I 2 , and I 4 are individually transmitted to each of the plurality of communication devices B to D to perform a test, and then the communication devices B to communication are performed. I different from device D
Frames I 1 , I 3 , and I 5 are transmitted to the communication device A to be tested, and the same test as that for each communication device B to communication device D facing the communication device A is performed individually. You can

【0051】図6のA.はn対nの場合の接続構成を示
す。この場合,送信側として通信装置A,通信装置B及
び通信装置Cを接続装置に対して接続し,受信側として
通信装置D〜通信装置Fが接続装置の反対側に接続され
ている。この場合,送信側の各通信装置A,通信装置
B,通信装置Cからそれぞれ, 受信側として通信装置
E,通信装置D,通信装置Fを宛先とするIフレームが
個別のI0 ,I2 ,I 4として送信されて試験を行う。
送信側と受信側を逆にした時には,通信装置D,通信装
置E,通信装置Fから,それぞれ個別に受信側として通
信装置B,通信装置A,通信装置Cに対してIフレーム
3 ,I1 ,I5 が送信される。これにより,送信側の
各通信装置A〜通信装置Cではそれぞれが送信したIフ
レームに含まれた試験用データを,相手から送信された
Iフレームを受信した時にその中から同じ内容のものを
検出することにより確認を行うことができる。
FIG. 6A. Indicates the connection configuration for n to n. In this case, the communication device A, the communication device B, and the communication device C are connected to the connection device as the transmission side, and the communication devices D to F are connected to the opposite side of the connection device as the reception side. In this case, from the communication device A, the communication device B, and the communication device C on the transmission side, the I frames destined for the communication device E, the communication device D, and the communication device F on the receiving side are respectively I 0 , I 2 , Sent as I 4 for testing.
When the transmitting side and the receiving side are reversed, the communication device D, the communication device E, and the communication device F individually receive I frames I 3 , I for the communication device B, the communication device A, and the communication device C as the receiving side, respectively. 1 and I 5 are transmitted. As a result, in each of the communication devices A to C on the transmission side, the test data included in the I frame transmitted by each of them is detected as having the same content when the I frame transmitted from the other party is received. By doing so, confirmation can be performed.

【0052】図6のB.はn対1の場合である。この場
合,最初の通信モードでは送信側がn台で,受信側が1
台であり,上記図5のB.と逆の接続構成である。この
場合は,図に示すように各通信装置A乃至通信装置Cが
同じ通信装置Dに対して個別にIフレームを送信し,通
信装置Dがそれらを全て受信することにより試験を行
い,逆方向の通信モードの時は通信装置Dから,各通信
装置A〜通信装置Cに対し個別にIフレームを送信する
ことにより試験を行う。
FIG. 6B. Is the case of n to 1. In this case, in the first communication mode, there are n transmitters and 1 receiver.
The table of FIG. This is the reverse connection configuration. In this case, each communication device A to communication device C individually transmits an I frame to the same communication device D as shown in FIG. In the communication mode (1), the test is performed by individually transmitting an I frame from the communication device D to each of the communication devices A to C.

【0053】[0053]

【発明の効果】本発明によれば試験を行う時に対向する
通信装置に読み込むプログラムが送信側と受信側で共通
化することができ,送信と受信の相互試験を同時に行う
ことができるので接続確認試験が簡単化される。また,
送信側と受信側の通信装置が,1対1,1対n,n対
1,n対nの通信の場合にも接続確認を行うことができ
る。また,送受信の正常性をデータの内容をチェックす
ることにより確認することができる。さらに,送受信の
終了を時間計測により判定することができる。
According to the present invention, the program read into the opposite communication device at the time of performing the test can be shared by the transmitting side and the receiving side, and the mutual test of transmission and reception can be performed at the same time. Testing is simplified. Also,
The connection can be confirmed even when the communication devices on the transmitting side and the receiving side are in the one-to-one communication, the one-to-one communication, the one-to-n communication, and the one-to-n communication. Also, the normality of transmission / reception can be confirmed by checking the content of the data. Furthermore, the end of transmission / reception can be determined by measuring the time.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】実施例の処理フロー(その1)である。FIG. 2 is a processing flow (1) of the embodiment.

【図3】実施例の処理フロー(その2)である。FIG. 3 is a processing flow (2) of the embodiment.

【図4】Iフレームに含まれる試験用データの構成例で
ある。
FIG. 4 is a configuration example of test data included in an I frame.

【図5】1対1の場合と1対nの場合の接続構成の例で
ある。
FIG. 5 is an example of a connection configuration in the case of 1: 1 and the case of 1: n.

【図6】n対nの場合とn対1の場合の接続構成の例で
ある。
FIG. 6 is an example of a connection configuration in the case of n to n and the case of n to 1.

【図7】通信装置の構成及び試験を行うための構成図で
ある。
FIG. 7 is a configuration diagram for performing a configuration and a test of a communication device.

【図8】リンク設定の手順を示す図である。FIG. 8 is a diagram showing a procedure for link setting.

【図9】情報転送の手順を示す図である。FIG. 9 is a diagram showing a procedure of information transfer.

【図10】リンク開放の手順である。FIG. 10 is a procedure for releasing a link.

【図11】従来の接続試験の処理フローである。FIG. 11 is a processing flow of a conventional connection test.

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

10 第1の通信装置 11 情報転送装置 12 送信モード起動手段 13 送信データ作成手段 14 応答確認手段 15 受信モード起動手段 16 受信データ確認手段 17 応答手段 20 第2の通信装置 21 情報転送装置 22 受信モード起動手段 23 受信データ確認手段 24 応答手段 25 送信モード起動手段 26 送信データ作成手段 27 応答確認手段 30 接続装置 DESCRIPTION OF SYMBOLS 10 1st communication apparatus 11 Information transfer apparatus 12 Transmission mode starting means 13 Transmission data creation means 14 Response confirmation means 15 Reception mode activation means 16 Received data confirmation means 17 Response means 20 Second communication apparatus 21 Information transfer apparatus 22 Reception mode Activation means 23 Reception data confirmation means 24 Response means 25 Transmission mode activation means 26 Transmission data creation means 27 Response confirmation means 30 Connection device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 HDLC手順等の通信手順に従って制御
・情報信号を送受信する情報転送装置を制御する通信装
置間の接続確認試験方式において, 情報転送装置間を接続装置で接続して各通信装置に送信
モード,受信モードで起動する手段を備え, 一方の通信装置において送信モードで起動すると,予め
設定された試験データを含むフレームを送信し,他方の
通信装置は受信モードでこれを受信すると応答を返送
し, 前記一方の通信装置は該応答を応答確認手段により検出
すると受信モードが起動し, 前記他方の通信装置は応答送信後に送信モードが起動
し,予め設定された試験データを含むフレームを送信
し,前記一方の通信装置からの応答を確認することによ
り終了し, 前記一方の通信装置は前記他方の通信装置からのフレー
ムを受信すると,前記他方の通信装置へ応答を送信して
終了することを特徴とする通信装置間の接続確認試験方
式。
1. In a connection confirmation test method between communication devices for controlling an information transfer device for transmitting / receiving a control / information signal according to a communication procedure such as an HDLC procedure, the information transfer devices are connected to each other by a connection device. The communication device has means for starting in the transmission mode and the reception mode. When one communication device starts in the transmission mode, it transmits a frame containing preset test data, and the other communication device receives a response in the reception mode and sends a response. The communication mode is returned, and when one of the communication devices detects the response by the response confirmation means, the reception mode is activated, and the other communication device is activated in the transmission mode after transmitting the response, and transmits a frame including preset test data. Then, the process ends by confirming the response from the one communication device, and the one communication device receives the frame from the other communication device. That when the connection confirmation test method between the communication devices, characterized in that the exit sends a response to the other communication device.
【請求項2】 請求項1において, 前記一方の通信装置が送信モードの時作成される試験デ
ータとして送信側と受信側の装置を特定する情報を含
め, 前記他方の通信装置が送信モードの時作成される試験デ
ータとして前記一方の通信装置から受信した試験データ
を含むことを特徴とする通信装置間の接続確認試験方
式。
2. The method according to claim 1, wherein the test data created when the one communication device is in the transmission mode includes information for identifying the transmission side device and the reception side device, and when the other communication device is in the transmission mode. A connection confirmation test method between communication devices, wherein the created test data includes test data received from the one communication device.
【請求項3】 請求項1または請求項2において, 前記情報転送装置を接続する接続装置の少なく共一方の
側に複数の通信装置の情報転送装置を接続して,1対
n,n対1またはn対nにおける通信装置間の接続確認
を行うことを特徴とする通信装置間の接続確認試験方
式。
3. The information transfer device according to claim 1 or 2, wherein the information transfer devices of a plurality of communication devices are connected to one side of at least one of the connection devices to which the information transfer device is connected, and one to n, n to one. Alternatively, a connection confirmation test method between communication devices, characterized by performing connection confirmation between n-to-n communication devices.
JP3247430A 1991-09-26 1991-09-26 Connection confirmation test system between communication equipments Withdrawn JPH0591164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3247430A JPH0591164A (en) 1991-09-26 1991-09-26 Connection confirmation test system between communication equipments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3247430A JPH0591164A (en) 1991-09-26 1991-09-26 Connection confirmation test system between communication equipments

Publications (1)

Publication Number Publication Date
JPH0591164A true JPH0591164A (en) 1993-04-09

Family

ID=17163326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3247430A Withdrawn JPH0591164A (en) 1991-09-26 1991-09-26 Connection confirmation test system between communication equipments

Country Status (1)

Country Link
JP (1) JPH0591164A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015165166A (en) * 2014-02-28 2015-09-17 三菱重工業株式会社 Pipe connection detector and pipe connection detection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015165166A (en) * 2014-02-28 2015-09-17 三菱重工業株式会社 Pipe connection detector and pipe connection detection method

Similar Documents

Publication Publication Date Title
EP0033228A2 (en) Industrial control system
US5847659A (en) Electronic wiring system using automatic cyclic, communication means
JPH0591164A (en) Connection confirmation test system between communication equipments
JP2005510955A (en) Method for checking error-free function of a module in a bus system with a central processing unit and corresponding module and central processing unit
JPH10232704A (en) Duplex programmable controller
KR100257674B1 (en) Method for copying flash memory with duplexed processor board
JP3693461B2 (en) Test diagnosis method for transfer error detection checker
JP2644571B2 (en) Remote IPL control method
JPH02311099A (en) Malfunction prevention control system
JP2530731B2 (en) Communication line test equipment
JPH1168802A (en) Faulty environment supervisory system
JPH03130803A (en) Programmable controller
JPH06290070A (en) Cable misconnection detecting system
JPS61108239A (en) Method for transferring right of communication master station
JPH03129943A (en) Remote supervisory controller
JPS60237744A (en) Communication control equipment
JPH01125627A (en) Module abnormality checking system
JPH01251937A (en) Data transmission system
JP2000179939A (en) Inspecting apparatus for controller of water heater
JPH11220780A (en) Remote control system
JPH02154548A (en) Test method for on-line system
KR19990056544A (en) How to Diagnose Faults on Specific Devices in Asynchronous Transfer Mode Networks
JPH04188934A (en) Communicating function confirming system
JPH04249941A (en) Local area network
JPH06303246A (en) Fault part retrieval system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981203