JPH05268186A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH05268186A
JPH05268186A JP4050260A JP5026092A JPH05268186A JP H05268186 A JPH05268186 A JP H05268186A JP 4050260 A JP4050260 A JP 4050260A JP 5026092 A JP5026092 A JP 5026092A JP H05268186 A JPH05268186 A JP H05268186A
Authority
JP
Japan
Prior art keywords
transmission
channel
data
reception
frame
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
JP4050260A
Other languages
Japanese (ja)
Other versions
JP2833910B2 (en
Inventor
Shinichi Tamada
眞一 玉田
Ikufumi Yamada
郁文 山田
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.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP4050260A priority Critical patent/JP2833910B2/en
Publication of JPH05268186A publication Critical patent/JPH05268186A/en
Application granted granted Critical
Publication of JP2833910B2 publication Critical patent/JP2833910B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

PURPOSE:To reduce the test for a multiplexer/demultiplexer circuit in a communication controller and to make the test efficient. CONSTITUTION:A storage device 5 stores transmission data from line adaptors 1-4 by one channel. A comparator circuit 10 compares the transmission data of one channel with reception channel data stored in the storage device. When a loopback instruction is received from a host equipment, a transmission frame control section 8 at first stores channel data from a 1st line adaptor to the storage device 5. Then the channel data from the first line adaptor are used as in-frame channel '0' data and channel data stored in the storage device as in-frame channel '1' and subsequent data are used to compose a transmission frame. In the execution of loopback, as for channel data after the in-frame channel 1 data in the reception/transmission frame with equal content as the transmission frame, the comparator circuit 10 compares them with the channel data in the storage device 5 and the result of comparison is outputted to the host equipment through a signal line 18.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は通信制御装置に関し、特
に多重回線の折返し試験方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication controller, and more particularly to a loopback test system for multiple lines.

【0002】[0002]

【従来の技術】従来の通信制御装置における多重回線の
折返し試験は、送信回線を介して1つの被試験対象の回
線アダプタから1チャネル分のデータを送信し、伝送フ
レーム制御部でフレームの組立、分解を行い、受信回線
を介して同じ回線アダプタに折返す自回線折返しを行っ
ていた。
2. Description of the Related Art In a conventional multiple line loopback test in a communication control device, one channel data is transmitted from one line adapter to be tested via a transmission line, and a transmission frame control unit assembles a frame, It was disassembled and returned to the same line adapter via the receiving line and looped back.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の通信制
御装置の多重回線の折返し試験は、1チャネルの回線ア
ダプタからのデータでフレームの組立、分離を行うた
め、伝送フレーム制御部の全チャネル(例えば24チャ
ネル)分の伝送フレーム組立、分離の試験ができない。
従って、チャネルごとに自回線折返し試験を実施しなけ
ればならず、試験時間がかかり、効率や保守性が悪いと
いう欠点があった。
In the above-mentioned conventional multi-line loopback test of the communication controller, since the frame is assembled and separated by the data from the 1-channel line adapter, all the channels of the transmission frame control unit ( For example, transmission frame assembly and separation tests for 24 channels cannot be performed.
Therefore, the own line loopback test must be carried out for each channel, and there is a drawback that the test takes time and the efficiency and maintainability are poor.

【0004】[0004]

【課題を解決するための手段】第1の発明は、複数の回
線アダプタからシリアルに送られるチャネルデータを多
重化して送信伝送フレームに組立て相手装置に送信しま
た前記相手装置から受信した受信伝送フレームを前記複
数の各回線アダプタにシリアルな受信チャネルデータと
して分離出力する多重分離制御機能及び上位装置からの
折返し指示を受けると前記送信伝送フレームを前記受信
伝送フレームとして折返す折返し機能を有する通信制御
装置において、前記回線アダプタからの送信データを1
チャネル分記憶する読み出し書き込み可能な記憶装置
と、前記記憶装置に記憶されている前記1チャネル分の
送信データと前記受信チャネルデータを比較する送受信
データ比較回路とを備え、前記上位装置からの折返し指
示を受けた場合に、前記チャネルデータの送信順番の一
番早い第一の回線アダプタからの第一のチャネルデータ
を前記記憶装置に格納する記憶装置格納手段と、前記第
一のチャネルデータをフレーム内チャネル0データとし
フレーム内チャネル1以降のデータとして前記記憶装置
に格納されたチャネルデータを用いて第一の送信伝送フ
レームを組立てる多重化手段と、前記折返し機能により
折返される前記第一の送信伝送フレームと内容の等しい
前記受信伝送フレームにおける前記フレーム内チャネル
1以降の前記受信チャネルデータについては前記記憶装
置の前記チャネルデータと前記送受信データ比較回路に
て比較させ前記比較結果を前記上位装置に出力する比較
出力手段とを含むことを特徴とする。
According to a first aspect of the present invention, channel data sent serially from a plurality of line adapters are multiplexed, assembled into a transmission transmission frame, transmitted to a partner device, and received by the partner device. Communication control having a demultiplexing control function for demultiplexing and outputting to each of the plurality of line adapters as serial reception channel data and a loopback function for looping back the transmission transmission frame as the reception transmission frame when receiving a loopback instruction from a higher-level device. In the device, send data from the line adapter to 1
A read / write storage device for storing channels, and a transmission / reception data comparison circuit for comparing the transmission data of the one channel stored in the storage device with the reception channel data, and a loopback instruction from the host device Storage means for storing the first channel data from the first line adapter having the earliest transmission order of the channel data in the storage device, and the first channel data in the frame. Multiplexing means for assembling a first transmission / transmission frame using channel data stored in the storage device as channel 0 data and intra-frame channel 1 and subsequent data, and the first transmission transmission folded back by the folding function. The reception channel after the intra-frame channel 1 in the reception transmission frame having the same content as the frame For channel data is characterized in that it comprises a comparator output means for outputting the comparison result is compared with said channel data of the storage device the received data comparator circuit to the higher-level device.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0006】図1は本発明の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0007】図1において、参照番号1から4は回線ア
ダプタ、参照番号5は回線アダプタからの送信データを
1チャネル分記憶する読み出し書き込み可能な記憶装置
である。参照番号6は記憶装置5に記憶されている1チ
ャネル分の送信データを読み出すためのカウンタであ
る。参照番号7は折返し試験の場合にチャネルごとの送
信イネーブル信号を制御して、フレームの複数チャネル
にシリアレデータを入力し、チャネルごとの受信イネー
ブル信号を出力する送受信フレーム制御回路、参照番号
8は送信側と受信側のデータ移送のずれを調整する回線
同期制御回路と送受信シリアルデータを伝送フレームに
組立、分解する多重分離制御回路と送受信折返し回路を
有する伝送フレーム制御部である。参照番号9は、受信
イネーブル信号を表示する受信イネーブル表示レジスタ
であり、参照番号10は記憶装置5に記憶されている1
チャネル分の送信データと受信データを比較する送受信
データ比較回路である。参照番号11は、回線アダプタ
1〜4から出力される送信シリアルデータを転送する信
号線、参照番号12はチャネルごとに分離された受信シ
リアルデータを転送する信号線である。参照番号13は
回線アダプタ1〜4に対して送受信の許可をする送受信
チャネルイネーブル信号線であり、参照番号14は記憶
装置5を制御するための信号線、参照番号15は上位装
置からの折返し指示信号線である。さらに、参照番号1
6は伝送フレーム制御部8からのクロック信号線、参照
番号17はチャネルごとに出力される送受信フレームイ
ネーブル信号線である。最後に、参照番号18は比較回
路10の比較結果や、受信イネーブル表示レジスタ9の
信号状態を読み出すための信号線である。
In FIG. 1, reference numerals 1 to 4 are line adapters, and reference numeral 5 is a readable / writable storage device for storing transmission data from the line adapter for one channel. Reference numeral 6 is a counter for reading the transmission data for one channel stored in the storage device 5. Reference numeral 7 is a transmission / reception frame control circuit that controls a transmission enable signal for each channel in the case of a loopback test, inputs serial data to a plurality of channels of a frame, and outputs a reception enable signal for each channel, and reference numeral 8 is A transmission frame control unit having a line synchronization control circuit for adjusting a shift in data transfer between a transmission side and a reception side, a demultiplexing control circuit for assembling and disassembling transmission / reception serial data into a transmission frame, and a transmission / reception loopback circuit. Reference numeral 9 is a reception enable display register for displaying a reception enable signal, and reference numeral 10 is 1 stored in the storage device 5.
It is a transmission / reception data comparison circuit for comparing transmission data and reception data for channels. Reference numeral 11 is a signal line for transferring the transmission serial data output from the line adapters 1 to 4, and reference numeral 12 is a signal line for transferring the reception serial data separated for each channel. Reference numeral 13 is a transmission / reception channel enable signal line for permitting transmission / reception to the line adapters 1-4, reference numeral 14 is a signal line for controlling the storage device 5, and reference numeral 15 is a return instruction from the host device. It is a signal line. Further, reference number 1
Reference numeral 6 is a clock signal line from the transmission frame control unit 8, and reference numeral 17 is a transmission / reception frame enable signal line output for each channel. Finally, reference numeral 18 is a signal line for reading the comparison result of the comparison circuit 10 and the signal state of the reception enable display register 9.

【0008】次に、動作について説明する。Next, the operation will be described.

【0009】まず、上位装置は、信号線15を介して折
返し指示信号を出力して伝送フレーム制御部8における
折返し回路により送信側と受信側を接続して折返しモー
ドにする。次に、上位装置は被試験対象の回線アダプタ
(この場合回線アダプタ1とする)に対して送信イネー
ブルコマンドおよび受信イネーブルコマンドを出力して
被試験チャネルを送受信可能状態にしておく。この状態
で、上位装置から送られてきたデータは回線アダプタ1
によってパラレルからシリアルデータに変換され、信号
線11を介して送信シリアルデータとして伝送フレーム
制御部8に送られ、伝送フレーム制御部8の回線同期制
御回路で同期化され伝送フレームに組立てられる(即ち
チャネル1のデータとなる)。同時に、信号線11を介
して伝送フレーム制御部8に送られるこの送信シリアル
データは、伝送フレーム制御部8からのクロック信号に
より動作するカウンタ6からのアドレスに基き記憶装置
5に格納される。
First, the host device outputs a loopback instruction signal via the signal line 15 and connects the transmitting side and the receiving side by the loopback circuit in the transmission frame control section 8 to enter the loopback mode. Next, the higher-level device outputs a transmission enable command and a reception enable command to the line adapter under test (in this case, the line adapter 1) to make the channel under test ready for transmission and reception. In this state, the data sent from the host device is the line adapter 1
Is converted from parallel to serial data by the signal line 11 and sent as transmission serial data via the signal line 11 to the transmission frame control unit 8 and is synchronized by the line synchronization control circuit of the transmission frame control unit 8 to be assembled into a transmission frame (that is, a channel). 1 data). At the same time, the transmission serial data sent to the transmission frame control unit 8 via the signal line 11 is stored in the storage device 5 based on the address from the counter 6 operated by the clock signal from the transmission frame control unit 8.

【0010】続く回線アダプタ2のデータ(即ちチャネ
ル2のデータ)としては、伝送フレーム制御部8から出
力される送信フレームイネーブル信号を信号線17を介
して受けとった送受信フレーム制御回路7からの信号線
14を介した制御信号によって、カウンタ6により示さ
れるところの先に記憶された記憶装置5のチャネル1の
データが信号線11を介して読み出されて用いられる。
As the data of the subsequent line adapter 2 (that is, the data of channel 2), the signal line from the transmission / reception frame control circuit 7 which has received the transmission frame enable signal output from the transmission frame control unit 8 via the signal line 17. By the control signal via 14, the previously stored data of channel 1 of the storage device 5, which is indicated by the counter 6, is read out via the signal line 11 and used.

【0011】この動作を、最終チャネル分(回線アダプ
タ24)まで繰返す。
This operation is repeated until the final channel (line adapter 24).

【0012】送信終了は、送受信フレーム制御回路7が
回線アダプタ1(被試験チャネル)からの転送要求を信
号線13を介して受信し、伝送フレーム終了信号を回線
アダプタ1に信号線13を介して返送することによって
行われる。
For the end of transmission, the transmission / reception frame control circuit 7 receives a transfer request from the line adapter 1 (channel under test) via the signal line 13, and sends a transmission frame end signal to the line adapter 1 via the signal line 13. It is done by returning.

【0013】伝送フレーム終了信号を検出した回線アダ
プタ1では、上位装置へ次のフレームのデータを要求す
る。一方、伝送フレームに組立てられた送信データは、
伝送フレーム制御部にある折返し回路によって受信側に
折返され受信シリアルデータに変換されて出力されると
ともに、チャネルごとの受信フレームイネーブル信号が
信号線17に出力される。チャネルごとの受信フレーム
イネーブル信号は、送受信フレーム制御回路7で変換さ
れて受信チャネルイネーブル信号として信号線13を介
して各回線アダプタに送られる。
The line adapter 1, which has detected the transmission frame end signal, requests the data of the next frame from the host device. On the other hand, the transmission data assembled in the transmission frame is
The loopback circuit in the transmission frame control section loops back the signal to the receiving side, converts it into received serial data, and outputs it. At the same time, a receive frame enable signal for each channel is output to the signal line 17. The reception frame enable signal for each channel is converted by the transmission / reception frame control circuit 7 and sent as a reception channel enable signal to each line adapter via the signal line 13.

【0014】受信チャネルイネーブル信号を受け取った
回線アダプタ1は、受信可能になり、信号線12を介し
て受信シリアルデータを受信し、上位装置へ転送し、チ
ャネル1分のデータ転送を終了する。後続の他チャネル
の受信データは、記憶装置5に格納された送信データと
比較回路10で比較され、その結果が信号線18を介し
て上位装置に通知される。また、この時、回線アダプタ
2から回線アダプタ24の他チャネルの受信フレームイ
ネーブル信号が信号線17を介して受信イネーブル表示
レジスタにセットされ、どのチャネルでエラーが発生し
たかを判別できるように、同じく信号線18により上位
装置に通知される。
The line adapter 1 which has received the reception channel enable signal becomes receivable, receives the reception serial data through the signal line 12, transfers it to the host device, and ends the data transfer for channel 1. The subsequent reception data of the other channel is compared with the transmission data stored in the storage device 5 by the comparison circuit 10, and the result is notified to the host device via the signal line 18. At this time, the reception frame enable signal of the other channel from the line adapter 2 is set in the reception enable display register through the signal line 17 so that it can be determined which channel the error has occurred in. The higher-level device is notified by the signal line 18.

【0015】このようにして、1チャネルを使用した自
回線折返し試験により、伝送フレーム制御部の多重分離
回路の試験が可能になる。
In this way, the own line loopback test using one channel makes it possible to test the demultiplexing circuit of the transmission frame control unit.

【0016】[0016]

【発明の効果】以上説明したように、本発明の通信制御
装置は、折返し試験時に、最初の回線アダプタからの送
信データを記憶装置に格納しておき、送信伝送フレーム
は0チャネルは最初の回線アダプタからの送信データを
用い、他のチャネルは記憶装置内のデータを埋めて構成
し、折返された受信伝送フレームの0チャネル以外は、
記憶装置内のデータと比較するようにしたことにより、
1チャネルを使用した自回線折返し試験により、全チャ
ネル共通な伝送フレーム制御部の多重分離回路の試験が
可能になり、試験の短縮、効率化が図れる効果がある。
As described above, in the communication control device of the present invention, the transmission data from the first line adapter is stored in the storage device at the time of the loopback test, and the 0th channel of the transmission transmission frame is the first line. The data transmitted from the adapter is used, the other channels are configured by filling the data in the storage device, and except for the 0 channel of the received transmission frame returned,
By comparing with the data in the storage device,
The own line loopback test using one channel makes it possible to test the demultiplexing circuit of the transmission frame control unit common to all channels, which has the effect of shortening the test and improving the efficiency.

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

【図1】本発明の通信制御装置の一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a communication control device of the present invention.

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

1〜4 回線アダプタ 5 記憶装置 6 カウンタ 7 送受信フレーム制御回路 8 伝送フレーム制御部 9 受信イネーブル表示レジスタ 10 比較回路 1 to 4 line adapter 5 storage device 6 counter 7 transmission / reception frame control circuit 8 transmission frame control unit 9 reception enable display register 10 comparison circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の回線アダプタからシリアルに送られ
るチャネルデータを多重化して送信伝送フレームに組立
て相手装置に送信しまた前記相手装置から受信した受信
伝送フレームを前記複数の各回線アダプタにシリアルな
受信チャネルデータとして分離出力する多重分離制御機
能及び上位装置からの折返し指示を受けると前記送信伝
送フレームを前記受信伝送フレームとして折返す折返し
機能を有する通信制御装置において、前記回線アダプタ
からの送信データを1チャネル分記憶する読み出し書き
込み可能な記憶装置と、前記記憶装置に記憶されている
前記1チャネル分の送信データと前記受信チャネルデー
タを比較する送受信データ比較回路とを備え、前記上位
装置からの折返し指示を受けた場合に、前記チャネルデ
ータの送信順番の一番早い第一の回線アダプタからの第
一のチャネルデータを前記記憶装置に格納する記憶装置
格納手段と、前記第一のチャネルデータをフレーム内チ
ャネル0データとしフレーム内チャネル1以降のデータ
として前記記憶装置に格納されたチャネルデータを用い
て第一の送信伝送フレームを組立てる多重化手段と、前
記折返し機能により折返される前記第一の送信伝送フレ
ームと内容の等しい前記受信伝送フレームにおける前記
フレーム内チャネル1以降の前記受信チャネルデータに
ついては前記記憶装置の前記チャネルデータと前記送受
信データ比較回路にて比較させ前記比較結果を前記上位
装置に出力する比較出力手段とを含むことを特徴とする
通信制御装置。
1. Channel data sent serially from a plurality of line adapters is multiplexed into a transmission transmission frame and transmitted to a partner device, and a reception transmission frame received from the partner device is serialized to each of the plurality of line adapters. In a communication control device having a demultiplexing control function of separating and outputting as reception channel data and a return function of returning the transmission transmission frame as the reception transmission frame when receiving a return instruction from a higher-level device, transmission data from the line adapter And a transmission / reception data comparison circuit that compares the transmission data of the one channel stored in the storage device with the reception channel data. When receiving a loopback instruction, the channel data transmission order A storage device storing means for storing the first channel data from the earliest first line adapter in the storage device, and the first channel data as intra-frame channel 0 data and the intra-frame channel 1 and subsequent data. Multiplexing means for assembling a first transmission transmission frame using channel data stored in the device, and the intra-frame channel in the reception transmission frame having the same content as the first transmission transmission frame returned by the return function The communication control device is characterized in that it includes comparison output means for comparing the channel data of the storage device with the channel data of the storage device after 1 in the transmission / reception data comparison circuit and outputting the comparison result to the host device. ..
JP4050260A 1992-03-09 1992-03-09 Communication control device Expired - Lifetime JP2833910B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4050260A JP2833910B2 (en) 1992-03-09 1992-03-09 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4050260A JP2833910B2 (en) 1992-03-09 1992-03-09 Communication control device

Publications (2)

Publication Number Publication Date
JPH05268186A true JPH05268186A (en) 1993-10-15
JP2833910B2 JP2833910B2 (en) 1998-12-09

Family

ID=12854012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4050260A Expired - Lifetime JP2833910B2 (en) 1992-03-09 1992-03-09 Communication control device

Country Status (1)

Country Link
JP (1) JP2833910B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9496676B2 (en) 2013-03-15 2016-11-15 Nec Corporation Optical amplifier and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9496676B2 (en) 2013-03-15 2016-11-15 Nec Corporation Optical amplifier and control method thereof
JPWO2014141684A1 (en) * 2013-03-15 2017-02-16 日本電気株式会社 Optical amplifier and control method thereof

Also Published As

Publication number Publication date
JP2833910B2 (en) 1998-12-09

Similar Documents

Publication Publication Date Title
US4908823A (en) Hybrid communications link adapter incorporating input/output and data communications technology
EP0653896A2 (en) Information processing apparatus for multiplex transmission of signals for arbitration and signals for data transfer
EP0183080A2 (en) Loop transmission system with a variable station connection order
JPH09321870A (en) Communication measurement instrument
US4542507A (en) Apparatus for switch path verification
EP0494772A2 (en) Cell switch and network with simplified testing
US4720828A (en) I/o handler
GB1581838A (en) I/o bus transceiver for a data processing system
JPH05268186A (en) Communication controller
JPS6118236A (en) Method of folding data communication system with multiplex link
JP3192890B2 (en) Parallel test equipment
JP3445443B2 (en) Communication control method
CN113704163B (en) Testing device and method for verifying SRIO protocol integrity
JPH0618373B2 (en) Data transmission method and device
JP3189753B2 (en) Duplex system of STM-ATM converter
JPH0151226B2 (en)
JPH07226743A (en) Switching system for communication
JPH05136838A (en) Long-distance data transmission method and device
JPS59207763A (en) Loop type full duplex communication system of data transmission line
JPH1188361A (en) Monitoring control system for transmission device
JPH07226723A (en) Line test circuit
JPH0282851A (en) Loopback system in serial line interface
JPS6348213B2 (en)
JPH01112844A (en) Communication control equipment
JPH02119335A (en) Interface circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980825