JPH02150146A - Instrument and method for testing communication equipment - Google Patents

Instrument and method for testing communication equipment

Info

Publication number
JPH02150146A
JPH02150146A JP63302156A JP30215688A JPH02150146A JP H02150146 A JPH02150146 A JP H02150146A JP 63302156 A JP63302156 A JP 63302156A JP 30215688 A JP30215688 A JP 30215688A JP H02150146 A JPH02150146 A JP H02150146A
Authority
JP
Japan
Prior art keywords
communication
memory
data
message
test
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.)
Granted
Application number
JP63302156A
Other languages
Japanese (ja)
Other versions
JP2644558B2 (en
Inventor
Takashi Kuwamoto
桑本 隆司
Masao Takizawa
滝沢 雅雄
Masaharu Tsuboi
坪井 正晴
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63302156A priority Critical patent/JP2644558B2/en
Publication of JPH02150146A publication Critical patent/JPH02150146A/en
Application granted granted Critical
Publication of JP2644558B2 publication Critical patent/JP2644558B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To test critical ability concerning the reception of a communication controller to be tested and a terminal controller and to facilitate the verification of a product quality by deleting or inserting a synchronous flag, and arbitrarily making variable a telegram interval. CONSTITUTION:The communication data of the telegram are accumulated in a memory 9, the writing and reading of the memory 9 is independently controlled, the synchronous flag is deleted or inserted at the designated arbitrary data interval between the communication data, the telegram is changed so as to have various lengths, and resent. Thus, in the communication equipment in a network system, the critical ability of the communication equipment can be tested through a communication line 4 on-line, further, by inserting the test device to the communication line 4 between the plural pieces of the communication equipment in the network system and testing the communication equipment, the performance of the communication equipment can be checked on-line.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信データの先頭に複数の同期フラグを有す
る電文を通信回線により送受信する通信装置の試験装置
および試験方法に関し、特に、通信される電文の同期フ
ラグ長を任意に可変し、データ間隔の可変テストを行い
、通信装置の限界能力を試験する試験装置および試験方
法に関するものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a testing device and a testing method for a communication device that transmits and receives messages having a plurality of synchronization flags at the beginning of communication data over a communication line, and particularly relates to The present invention relates to a test device and a test method that arbitrarily vary the length of the synchronization flag of a message sent to a communication device, perform a variable data interval test, and test the limit capability of a communication device.

〔従来の技術〕[Conventional technology]

例えば、通信回線により複数の計算機システ11を結合
してシステムを構成しているネットワークシステム等に
おいては、各システムの間を通信装置が通信回線を介し
て結合している。このような通信装置は、予め定められ
た伝送手順に従い、各々の通信装置の間で通信回線を介
して通信を行っている。通信装置が行う通信回線を用い
る通信においては、どのような通信装置の間でも通信が
可能なように、通信を行う場合の伝送手順として共通の
伝送手順を用いて行う。このような通信における伝送手
順として、例えば、HD L C伝送手順がある。この
HDLC伝送手順は、基本モード制御手順の欠点を取り
除き、効率的な伝送、拡張性。
For example, in a network system in which a plurality of computer systems 11 are connected through communication lines to form a system, a communication device connects each system through communication lines. Such communication devices communicate via communication lines between each communication device according to a predetermined transmission procedure. In communication using communication lines performed by communication devices, a common transmission procedure is used as a transmission procedure when performing communication so that communication is possible between any communication devices. As a transmission procedure in such communication, for example, there is an HD LC transmission procedure. This HDLC transmission procedure eliminates the shortcomings of the basic mode control procedure and provides efficient transmission and scalability.

信頼性の向上を目的として開発された手順である。This procedure was developed to improve reliability.

伝送する情報をフレームと呼ぶ規定の枠に収容し、情報
の種類のいかんを問わず統一的に伝送する。
The information to be transmitted is accommodated in a prescribed frame called a frame, and is uniformly transmitted regardless of the type of information.

効率的伝送を行うための全二重通信を可能にし、フレー
ムの連続伝送を行う。また、会話型オペレーションや複
数の二次局との同時転送もでき、伝送効率を上げている
。拡張性を維持するためにフレームによる伝送を行い、
コードインデイペンデントな透過伝送をする。さらに信
頼性を向上するため、全てのフレームに等価なチェック
情報を付加し誤り制御を行う。
Enables full-duplex communication for efficient transmission and performs continuous frame transmission. It also enables conversational operation and simultaneous transmission with multiple secondary stations, increasing transmission efficiency. Transmission is performed using frames to maintain scalability.
Code-independent transparent transmission. To further improve reliability, error control is performed by adding equivalent check information to all frames.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、このように、効率的に伝送を行うためのHD
 L C伝送手順においては、連続する電文の間の同期
フラグは、最低1キヤラクタでも良いことになっている
。このため、HD L C伝送手順により通信を行う通
信装置は、連続する電文の間の同期フラグが1キヤラク
タであるような高負荷の電文に対しても、正常な通信動
作を行える性能を有していなければならない。
By the way, in this way, HD for efficient transmission
In the LC transmission procedure, the synchronization flag between consecutive messages may be at least one character. Therefore, a communication device that performs communication using the HDLC transmission procedure has the ability to perform normal communication operations even for high-load messages where the synchronization flag between consecutive messages is one character. must be maintained.

しかし、従来の通信装置の試験装置は、連続する電文の
間の同期フラグが1キヤラクタであるような高負荷の電
文に対して試験が行えるようになっておらず、通信装置
の性能試験を十分に行うことはできないという問題があ
った。また、その試験もオフラインで行うものであり、
オンラインで試験を行うものではなかった。このため、
通信装置が使う通信回線によっては、ノイズ特性、電気
的特性などの伝送品質の諸条件が異なるので、この種の
通信装置の試験装置は、実際の運用を行いながら試験す
るオンラインテストを行って、通信性能の限界能力を確
認できる試験機能を有することが所望される。
However, conventional test equipment for communication equipment is not capable of testing high-load messages such as one-character synchronization flag between consecutive messages, and it is not possible to test the performance of communication equipment sufficiently. The problem was that it could not be done. In addition, the exam is also conducted offline,
The exam was not conducted online. For this reason,
Since transmission quality conditions such as noise characteristics and electrical characteristics vary depending on the communication line used by the communication device, test equipment for this type of communication device conducts online tests during actual operation. It is desirable to have a test function that can confirm the limit of communication performance.

通信装置に対してオンラインで高負荷の電文に対する限
界能力試験を十分に行っていないと、ネットワークシス
テムの中で通信装置を稼働させる場合に、同期フラグが
1キヤラクタである電文を連続的に受信するような高負
荷電文受信においては、事故に至る虞れがあるという問
題がある。
If the limit capability test for high-load messages has not been sufficiently tested online for the communication device, messages with a synchronization flag of 1 character will be continuously received when the communication device is operated in a network system. There is a problem in receiving such high-load messages that there is a risk of an accident.

本発明は、上記問題点を解決するためになされたもので
ある。
The present invention has been made to solve the above problems.

本発明の目的は、通信回線による通信を行う通信装置に
対して高負荷電文受信に対する限界能力試験を行える通
信装置の試験装置および試験方法を提供することにある
SUMMARY OF THE INVENTION An object of the present invention is to provide a communication device testing device and a testing method that can perform a limit capability test for high-load message reception on a communication device that communicates via a communication line.

また、本発明の他の目的は、通信回線による通信を行う
通信装置に対して試験を行うために、通信回線を介して
伝送される電文に対して、入力される電文の間隔を任意
に可変し、データ間隔の可変テストを可能とする試験装
置を提供することにある。
Another object of the present invention is to arbitrarily vary the interval between input messages for messages transmitted via a communication line in order to test a communication device that communicates via a communication line. The object of the present invention is to provide a test device that enables variable data interval testing.

本発明の前記ならびにその他の目的と新規な特徴は、本
明細書の記述及び添付図面によって明らかになるであろ
う。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明においては、通信デー
タの先頭に複数の同期フラグを有する電文を通信回線に
より送受信する通信装置の試験装置において、受信した
電文の同期フラグを検出する比較器と、通信データを蓄
積するメモリと、該メモリへのデータ書込み及びデータ
読出しを独立に制御するメモリ制御回路と、前記メモリ
に記憶した通信データを読出し、指定する任意の間隔で
同期フラグを間挿して電文を再構成し送信する試験制御
回路とを有することを特徴とする。
In order to achieve the above object, the present invention provides a test device for a communication device that transmits and receives a message having a plurality of synchronization flags at the beginning of communication data via a communication line, including a comparator that detects a synchronization flag of a received message; A memory that stores communication data, a memory control circuit that independently controls writing and reading data to the memory, reads the communication data stored in the memory, inserts synchronization flags at specified intervals, and generates a message. and a test control circuit that reconfigures and transmits.

また、通信データの先頭に複数の同期フラグを有する電
文を通信回線により送受信する通信装置の試験方法にお
いて、受信した電文の同期フラグを検出して、通信デー
タをメモリに蓄積する書込み制御を行い、前記メモリか
らのデータ読み出しを独立に制御して、前記メモリに記
憶した通信データを読出し、指定する任意の間隔で同期
フラグを間挿して電文を再構成し送信する試験装置を用
い、間挿する同期フラグの間隔の指定を変えて、限界性
能テストを行うことを特徴とする。
Further, in a test method for a communication device that transmits and receives a message having a plurality of synchronization flags at the beginning of the communication data over a communication line, the synchronization flag of the received message is detected and write control is performed to store communication data in a memory, Interpolation is performed using a test device that independently controls data readout from the memory, reads communication data stored in the memory, and interpolates synchronization flags at specified arbitrary intervals to reconstruct and transmit the message. The feature is that a limit performance test is performed by changing the interval specification of the synchronization flag.

また、この試験装置を、通信回線を介して通信装置が相
互接続されたネットワークシステムの通信装置の間の通
信回線の間に挿入して通信装置の試験を行い、オンライ
ンで通信装置のチェックを行うことを特徴とする。
In addition, this test device is inserted between communication lines between communication devices in a network system in which communication devices are interconnected via communication lines to test communication devices and check communication devices online. It is characterized by

〔作用〕[Effect]

前記手段によれば、通信装置の試験装置には。 According to the above means, there is provided a testing device for a communication device.

同期フラグを検出する比較器と、通信データを蓄積する
メモリと、メモリ制御回路と、性能試験制御回路とが備
えられる。比較器は1通信回線で通信されている電文を
入力し、通信データの先頭に付加されている同期フラグ
を検出する。すなわち、比較器は、通信回線から入力さ
れた電文をキャラクタ中4位に同期フラグパターンか、
それ以外のパターンかをチェックし、同期フラグパター
ン以外であれば通信データであるので、該キャラクタを
メモリに順次蓄積する。この時、出力側の通信回線には
同期フラグを送出する。同期フラグパターンのときは、
任意に定められた個数だけはメモリに蓄積されるが、該
個数を越えた場合は、直接的に出力側の通信回線に同期
フラグを送出する。メモリに蓄積された通信データは、
任意の所定時間に設定された時間を経過した後に、メモ
リから読出され、出力側の通信回線に送出される。すな
わち、入力された電文は、比較器で同期フラグが検出さ
れ、メモリに蓄積され、指示された内容に従い電文中の
同期フラグの削除または挿入が行われ、電文間隔を変え
て、出力側の通信回線に送出される。この場合、同期フ
ラグの挿入または削除により電文間隔を変えられるが、
電文内部のデータはメモリに蓄積され、そのまま読み出
され、変化せずに出力されるので、誤動作することはな
い。
It includes a comparator that detects a synchronization flag, a memory that stores communication data, a memory control circuit, and a performance test control circuit. The comparator inputs the message being communicated over one communication line and detects the synchronization flag added to the beginning of the communication data. In other words, the comparator determines whether the message input from the communication line is a synchronization flag pattern at the 4th place among the characters, or
A check is made to see if it is any other pattern, and if it is other than the synchronization flag pattern, it is communication data, and the characters are sequentially stored in the memory. At this time, a synchronization flag is sent to the output communication line. When using a synchronous flag pattern,
An arbitrarily determined number of flags is stored in the memory, but if this number is exceeded, a synchronization flag is directly sent to the output communication line. Communication data stored in memory is
After an arbitrary predetermined time has elapsed, the data is read from the memory and sent to the output communication line. In other words, the comparator detects the synchronization flag of the input message, stores it in the memory, deletes or inserts the synchronization flag in the message according to the specified contents, changes the message interval, and outputs the communication. sent to the line. In this case, the message interval can be changed by inserting or deleting the synchronization flag, but
The data inside the message is stored in the memory, read out as is, and output without change, so there is no possibility of malfunction.

このように、電文の通信データをメモリに蓄積し、メモ
リの書込みと読み出しとを独立に制御して、通信データ
の間に指定された任意のデータ間隔で同期フラグの削除
または挿入を行い、種々の長さを有する電文に変化させ
て再送出する。これにより、ネットワークシステムの通
信装置において、オンラインで通信回線を介して通信装
置の限界能力の試験を行うことができる。
In this way, the communication data of the message is stored in the memory, writing and reading of the memory are controlled independently, and synchronization flags are deleted or inserted at specified data intervals between the communication data, and various The message is changed to a message with a length of , and then resent. Thereby, in the communication device of the network system, the limit capability of the communication device can be tested online via the communication line.

また、この試験装置をネットワークシステムの通信装置
の間の通信回線の間に挿入して通信装置の試験を行うこ
とにより、オンラインで通信装置の性能のチェックを行
うことができる。
Further, by inserting this test device between communication lines between communication devices of a network system and testing the communication devices, it is possible to check the performance of the communication devices online.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて具体的に説明す
る。
Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

第1図は、本発明の一実施例にかかる試験装置のネット
ワークシステムおける位置を示す系統図である。第1図
において、1は通信制御装置、2は通信回線試験装置、
3は端末制御装置、4は回線インターフェイス(通信回
線)を示す。回線インターフェイス4としては、HD 
L C伝送手順またはSYN同期伝送手順をサポートす
るV24インターフェイス、X21インターフエイス、
高速ディジタル回線インターフェイス等がある。以下1
回線インターフェイス4は、I−(D CL伝送手順を
サポートする通信回線を例として説明する。
FIG. 1 is a system diagram showing the position of a test device according to an embodiment of the present invention in a network system. In FIG. 1, 1 is a communication control device, 2 is a communication line test device,
3 is a terminal control device, and 4 is a line interface (communication line). As line interface 4, HD
V24 interface, X21 interface supporting LC transmission procedure or SYN synchronous transmission procedure,
There are high-speed digital line interfaces, etc. Below 1
The line interface 4 will be explained using a communication line that supports the I-(DCL transmission procedure) as an example.

通信制御装置1からの電文は、先頭に複数の同期フラグ
があり、続いてデータ部があり、最後に同期フラグが設
けられたフォーマットで構成されているものである。該
電文は、回線インターフェイス4を介して、通信回線試
験装置2に届く。通信回線試験装置2は、該電文中の該
同期フラグに作用し、該データ部のデータには作用せず
、該電文を回線インターフェイス4を介し、端末制御装
置3に再送出する。端末制御装置3から通信制御装置1
への電文も同様に通信回線試験装置2を経由して転送さ
れる。
The message from the communication control device 1 has a format in which a plurality of synchronization flags are provided at the beginning, followed by a data section, and a synchronization flag is provided at the end. The message reaches the communication line testing device 2 via the line interface 4. The communication line testing device 2 acts on the synchronization flag in the message, does not affect the data in the data section, and resends the message to the terminal control device 3 via the line interface 4. From terminal control device 3 to communication control device 1
The message to is also transferred via the communication line testing device 2 in the same way.

第2図は、通信回線試験装置における1方向の電文の流
れを示すブロック図である。第2図のブロック図は、例
えば、通信回線試験装置2における通信制御装置1から
端末制御装置3への方向の電文の流れを示している。第
2図において、5はレシーバ、6は比較器、7はメモリ
制御回路、8は書込みレジスタ、9はメモリ、10は読
出しレジスタ、11はI−ランスミッタである。また、
12はセレクタ、13は同期フラグまたはテストデータ
等を発生するシフトレジスタである。また、14は外部
から与えらる指示により試験する内容に応じて制御信号
を出力する制御回路である。シフトレジスタ13からセ
レクタ12を介してトランスミッタ11に至るデータの
流れは、同期フラグまたはテストデータを挿入する際の
流れであり、トランスミッタ11でテストデータおよび
同期フラグを挿入するように構成されている場合、また
、メモリ9からのデータ読み出しを独立して制御して、
同期フラグの間挿または削除を行う場合には、セレクタ
12およびシフトレジスタ13の構成は必要とならない
FIG. 2 is a block diagram showing the flow of messages in one direction in the communication line testing device. The block diagram in FIG. 2 shows, for example, the flow of messages from the communication control device 1 to the terminal control device 3 in the communication line testing device 2. In FIG. 2, 5 is a receiver, 6 is a comparator, 7 is a memory control circuit, 8 is a write register, 9 is a memory, 10 is a read register, and 11 is an I-transmitter. Also,
12 is a selector, and 13 is a shift register that generates a synchronization flag or test data. Further, 14 is a control circuit that outputs a control signal according to the content to be tested based on an instruction given from the outside. The flow of data from the shift register 13 to the transmitter 11 via the selector 12 is the flow when inserting a synchronization flag or test data, and when the transmitter 11 is configured to insert test data and synchronization flags. , and independently controls data reading from the memory 9,
When interpolating or deleting the synchronization flag, the configuration of the selector 12 and shift register 13 is not required.

通信回線を介して通信が行われている時の電文のデータ
は、レシーバ5、比較器6、メモリ制御回路7の流れで
同期信号が検出され、レシーバ5゜書込みレジスタ8、
メモリ9、読出しレジスタ10、トランスミッタ11の
順にデータ電文が流れる。メモリ9はライト動作、リー
ド動作を順に繰り返す。
When the data of the message is being communicated via the communication line, a synchronization signal is detected in the flow of the receiver 5, the comparator 6, and the memory control circuit 7, and the data is sent to the receiver 5, the write register 8,
A data message flows in the order of memory 9, read register 10, and transmitter 11. The memory 9 repeats a write operation and a read operation in order.

メモリ書込み開始アドレス(初期値)とメモリ読出し開
始アドレスは同じである。メモリ書込みアドレスとメモ
リ読出しアドレスの更新は、メモリ制御回路7により行
われる。
The memory write start address (initial value) and the memory read start address are the same. The memory write address and memory read address are updated by the memory control circuit 7.

データの先頭に複数の同期フラグを有する電文が、連続
して通信回線試験装置2のレシーバ5を経て比較器6に
届くと、制御回路14からの制御信号で実質的に電文長
を変える一連の動作のシーケンスが開始される。
When a message having a plurality of synchronization flags at the beginning of the data successively reaches the comparator 6 via the receiver 5 of the communication line testing device 2, a series of messages that essentially change the message length by a control signal from the control circuit 14 are transmitted. A sequence of operations begins.

以下、理解を容易とするため、2つの連続した電文を受
信する場合について動作を説明する。まず、最初の電文
の先頭キャラクタが入力されると、比較器6でキャラク
タ単位に、該キャラクタが同期フラグパターンかそれ以
外かを比較する。同期フラグパターンの場合は、メモリ
9の書込みアドレスと読出しアドレスは更新せず、同期
フラグパターンを該アドレスに書込み、その後、該アド
レスのデータを読出して、読出しレジスタ10、トラン
スミッタ11を介して回線インターフェイス4に送出す
る。この動作がキャラクタ単位に順次実行される。同期
フラグパターン以外のキャラクタが入力されると、比較
器6は、メモリ制御回路7に対して、メモリ9の書込み
アドレス+1を指示し、順次書込みアドレスの更新を行
い、同期フラグパターン以外のキャラクタは順次メモリ
に書込まれる。読出しア1(レスは更新しないので、メ
モリ9にデータが書込まれている間キノ、初期1直アド
レスの同期フラグパターンを、読出しレジスタ10、ト
ランスミッタ11を介して回線インターフェイス4に送
出する。
Hereinafter, for ease of understanding, the operation will be described for the case where two consecutive messages are received. First, when the first character of the first message is input, the comparator 6 compares each character to see if the character is a synchronization flag pattern or something else. In the case of a synchronous flag pattern, the write address and read address of the memory 9 are not updated, the synchronous flag pattern is written to the address, and then the data at the address is read and sent to the line interface via the read register 10 and transmitter 11. Send to 4. This operation is performed sequentially character by character. When a character other than the synchronization flag pattern is input, the comparator 6 instructs the memory control circuit 7 to write the memory 9 write address +1, updates the write address sequentially, and inputs a character other than the synchronization flag pattern. written to memory sequentially. Since the read address 1 (response) is not updated, the synchronization flag pattern of the initial 1 address is sent to the line interface 4 via the read register 10 and transmitter 11 while data is being written to the memory 9.

この動作は、入力されるキャラクタ単位に順次実行され
、最初の電文のデータ部は、メモリ9に格納され、この
格納されている時間帯は、前述のようにメモリ読出し動
作により、回線インターフェイス4へは同期フラグパタ
ーンが送出される。
This operation is executed sequentially for each input character, and the data part of the first message is stored in the memory 9, and the time period during which it is stored is transferred to the line interface 4 by the memory read operation as described above. The synchronization flag pattern is sent.

次に、2つの連続した電文の最初のデータ部と2番目の
データ部の間に挟さまれた同期フラグパターンへの処理
について説明する。この間の同期フラグパターンは、任
意に指定された数だけ、比較器6の制御により、メモリ
9に格納される。この格納されている時間帯は、前述の
メモリ読出し動作により、トランスミッタ11へは同期
フラグパターンが送出される。指定された数の同期フラ
グに続く同期フラグに対しては、メモリ制御回路は書込
みアドレスの更新を行わず、同期フラグパターンが同じ
アドレスに重ね書きされる。この間もメモリ9の読出し
アドレスは更新しないので、初期値アドレスのメモリ9
の読出しを行い、同期フラグパターンが読出しレジスタ
10.トランスミッタ11を介して、回線インターフェ
イス4に送出される。
Next, processing for the synchronization flag pattern sandwiched between the first data part and the second data part of two consecutive messages will be described. An arbitrarily designated number of synchronization flag patterns during this period are stored in the memory 9 under the control of the comparator 6. During this stored time zone, a synchronization flag pattern is sent to the transmitter 11 by the above-mentioned memory read operation. For synchronization flags that follow the specified number of synchronization flags, the memory control circuit does not update the write address, and the synchronization flag pattern is overwritten at the same address. During this time, the read address of memory 9 is not updated, so memory 9 of the initial value address
The synchronization flag pattern is read out from the read register 10. It is sent to the line interface 4 via the transmitter 11.

同期フラグが、比較器6で、任意に定められた時間内に
終了し、2番目のデータの先頭が入力された(同期フラ
グパターン以外のキャラクタが入力された)場合は、比
較器6は、メモリ制御回路7に対して、メモリ9の書込
みアドレス+1を指示し、順次書込みアドレスの更新を
行い、メモリ9への格納を続ける。一方、このタイミン
グで、メモリ9の読出しアドレスを順次更新(+1)L
ながら、読出しを開始する。読出されたキャラクタは、
読出しレジスタ10より、トランスミッタ11を介して
、回線インターフェイス4に送出する。
If the synchronization flag ends within the arbitrarily determined time in the comparator 6 and the beginning of the second data is input (a character other than the synchronization flag pattern is input), the comparator 6 The memory control circuit 7 is instructed to write the memory 9 write address +1, and the write address is sequentially updated to continue storing in the memory 9. On the other hand, at this timing, the read address of the memory 9 is sequentially updated (+1) L
While doing so, start reading. The read character is
It is sent from the read register 10 to the line interface 4 via the transmitter 11.

この動作は2番目の電文の送出が完了するまで行う。This operation is continued until the sending of the second message is completed.

]一番目と2番目の電文の間の同期フラグが、比較器6
で、任意に定められた時間内に終了しない場合、タイム
アウトとして、メモリ9の読出しアドレスを順次更新(
+1)Lながら、読出しを開始する。読出されたキャラ
クタは、読出しレジスタ10より、トランスミッタ11
を介して、回線インターフェイス4に送出される。
] If the synchronization flag between the first and second messages is
If it does not end within an arbitrarily determined time, the read address of the memory 9 is updated sequentially as a timeout (
+1) Start reading while at L. The read character is transferred from the read register 10 to the transmitter 11.
is sent to line interface 4 via.

タイムアウトとして読出しが開始され、読出し中に2番
目のデータの先頭が入力された場合は、メモリ9の読出
し動作と並行して、メモリ9の書込みアドレスの順次更
新(+1)を行い、メモリ9への格納を行う。
If reading is started as a timeout and the beginning of the second data is input during reading, the write address of memory 9 is sequentially updated (+1) in parallel with the read operation of memory 9, and the data is transferred to memory 9. is stored.

2番目のデータの後の同期フラグは、該指定された数の
同期フラグに続く同期フラグに対しては、メモリ制御回
路7は書込みアドレスの更新を行わない。メモリ9の読
出しは、書込み時の開始アドレスより順次行われ、−旦
読出し動作を開始すると、書込みアドレスの現有値と一
致するまで続けられる。アドレスが一致した後は、書込
みアドレス、読込みアドレスの両方が、初期値に戻され
、前述の動作が繰り返えされる。以上の動作により、連
続した2つの電文が入力されると、2つのデータにはさ
まれた同期フラグの数が任意の数に圧縮して出力される
Regarding the synchronization flag after the second data, the memory control circuit 7 does not update the write address for the synchronization flag following the specified number of synchronization flags. Reading from the memory 9 is performed sequentially from the start address at the time of writing, and once the read operation is started, it is continued until it matches the current value of the write address. After the addresses match, both the write address and read address are returned to their initial values, and the above-described operation is repeated. With the above operation, when two consecutive messages are input, the number of synchronization flags sandwiched between the two data is compressed to an arbitrary number and output.

第3図は、入力された電文と出力される電文の間係を説
明する図である。第3図に示すように、通信回線試験装
置を通すことによって、入力した入力電文のデータa、
データbにはさまれた同期フラグが圧縮され、出力電文
として出力される。
FIG. 3 is a diagram illustrating the relationship between the input message and the output message. As shown in Fig. 3, input message data a,
The synchronization flag sandwiched between data b is compressed and output as an output message.

また、同期フラグの長さを任意の長さとした電文が出力
される。
Additionally, a message is output in which the length of the synchronization flag is set to an arbitrary length.

以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

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

以上、説明したように、本発明によれば、同期フラグを
削除または挿入して電文間隔を任意に可変できるため、
被試験通信制御装置や端末制御装置の受信に係わる限界
能力を試験でき、製品の品質検証を容易に行うことがで
きる。また、この試験装置をネットワークシステムの通
信装置の間の通信回線の間に挿入して通信装置の試験を
行うことにより、オンラインで通信装置のチェックを行
うことができる。
As explained above, according to the present invention, the message interval can be arbitrarily varied by deleting or inserting the synchronization flag.
The reception-related limit capability of the communication control device or terminal control device under test can be tested, and the quality of the product can be easily verified. Further, by inserting this test device between communication lines between communication devices of a network system and testing the communication devices, it is possible to check the communication devices online.

【図面の簡単な説明】 第1図は、本発明の一実施例にかかる通信回線試験装置
のネットワークシステムおける位置を示す系統図、 第2図は、通信回線試験装置における1方向の電文の流
れを示すブロック図、 第3図は、入力された電文と出力される電文の状態を説
明する図である。 図において、1・・・通信制御装置、2・・・通信回線
試験装置、3・・・端末制御装置、4・・・回線インタ
ーフェイス(通信回線)、5・・・レシーバ、6・・・
比較器、7・・・メモリ制御回路、8・・書込みレジス
タ、9・・・メモリ、10・・・読出しレジスタ、11
・・・トランスミッタ、12・・・セレクタ、13・・
・シフトレジスタ、14・・・制御回路。
[Brief Description of the Drawings] Fig. 1 is a system diagram showing the position of a communication line testing device according to an embodiment of the present invention in a network system, and Fig. 2 shows the flow of messages in one direction in the communication line testing device. FIG. 3 is a diagram illustrating the states of the input message and the output message. In the figure, 1... Communication control device, 2... Communication line testing device, 3... Terminal control device, 4... Line interface (communication line), 5... Receiver, 6...
Comparator, 7...Memory control circuit, 8...Write register, 9...Memory, 10...Read register, 11
...Transmitter, 12...Selector, 13...
- Shift register, 14... control circuit.

Claims (1)

【特許請求の範囲】 1、通信データの先頭に複数の同期フラグを有する電文
を通信回線により送受信する通信装置の試験装置におい
て、受信した電文の同期フラグを検出する比較器と、通
信データを蓄積するメモリと、該メモリへのデータ書込
み及びデータ読出しを独立に制御するメモリ制御回路と
、前記メモリに記憶した通信データを読出し、指定する
任意の間隔で同期フラグを間挿して電文を再構成し送信
する試験制御回路とを有することを特徴とする通信装置
の試験装置。 2、通信データの先頭に複数の同期フラグを有する電文
を通信回線により送受信する通信装置の試験方法におい
て、受信した電文の同期フラグを検出して、通信データ
をメモリに蓄積する書込み制御を行い、前記メモリから
のデータ読み出しを独立に制御して、前記メモリに記憶
した通信データを読出し、指定する任意の間隔で同期フ
ラグを間挿して電文を再構成し送信する試験装置を用い
、間挿する同期フラグの間隔の指定を変えて、限界性能
テストを行うことを特徴とする通信装置の試験方法。 3、請求項1に記載の通信装置の試験装置を、通信回線
を介して通信装置が相互接続されたネットワークシステ
ムの通信装置の間の通信回線の間に挿入して通信装置の
試験を行い、オンラインで通信装置のチェックを行うこ
とを特徴とする通信装置の試験方法。
[Scope of Claims] 1. A test device for a communication device that transmits and receives a message having a plurality of synchronization flags at the beginning of the communication data via a communication line, comprising a comparator that detects the synchronization flag of the received message and a comparator that stores the communication data. a memory that independently controls data writing and data reading to the memory, a memory control circuit that reads the communication data stored in the memory, and reconstructs the message by inserting synchronization flags at specified arbitrary intervals. 1. A test device for a communication device, comprising a test control circuit for transmitting data. 2. In a test method for a communication device that transmits and receives a message having a plurality of synchronization flags at the beginning of the communication data via a communication line, detecting the synchronization flag of the received message and performing write control to store communication data in a memory, Interpolation is performed using a test device that independently controls data readout from the memory, reads communication data stored in the memory, and interpolates synchronization flags at specified arbitrary intervals to reconstruct and transmit the message. A communication device testing method characterized by performing a limit performance test by changing the interval specification of synchronization flags. 3. Testing a communication device by inserting the communication device testing device according to claim 1 between communication lines between communication devices of a network system in which communication devices are interconnected via communication lines; A method for testing a communication device, characterized by checking the communication device online.
JP63302156A 1988-12-01 1988-12-01 Test apparatus and test method for communication device Expired - Lifetime JP2644558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63302156A JP2644558B2 (en) 1988-12-01 1988-12-01 Test apparatus and test method for communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63302156A JP2644558B2 (en) 1988-12-01 1988-12-01 Test apparatus and test method for communication device

Publications (2)

Publication Number Publication Date
JPH02150146A true JPH02150146A (en) 1990-06-08
JP2644558B2 JP2644558B2 (en) 1997-08-25

Family

ID=17905590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63302156A Expired - Lifetime JP2644558B2 (en) 1988-12-01 1988-12-01 Test apparatus and test method for communication device

Country Status (1)

Country Link
JP (1) JP2644558B2 (en)

Also Published As

Publication number Publication date
JP2644558B2 (en) 1997-08-25

Similar Documents

Publication Publication Date Title
US5301186A (en) High speed transmission line interface
JPH0618374B2 (en) Data transmission method for multi-network system
WO1984002628A1 (en) Method and apparatus for graceful preemption on a digital communications link
EP0183080B1 (en) Loop transmission system with a variable station connection order
JPH05168073A (en) Device for inserting and extracting common line signal
US6662247B1 (en) Protocol for extended data transfer in scan-based industrial controller I/O system
JPH02150146A (en) Instrument and method for testing communication equipment
JP3110319B2 (en) Load test equipment for packet data communication
KR950012328B1 (en) Packet handling method
JP3445443B2 (en) Communication control method
JPH01221958A (en) Interpolation circuit for defective packet
JP2793480B2 (en) LAN data transmission method
JPH0126213B2 (en)
JPS61270952A (en) Data transmitting system
JP2754684B2 (en) Communication line test equipment
KR950035207A (en) Cell multiplexer
JP2630675B2 (en) Message relay device
JPS608949A (en) General interface bus analyzer
JP3456009B2 (en) Communication method
JPH0784897A (en) Information processing system suitable for data transfer between equipments
JPH0546729B2 (en)
JPS63222549A (en) Reception buffer management equipment
JPH04344736A (en) Line test system
JPH0151226B2 (en)
JPH03106143A (en) Communication fault check method in data communication system