JP2000174848A - Communication controller - Google Patents

Communication controller

Info

Publication number
JP2000174848A
JP2000174848A JP10347531A JP34753198A JP2000174848A JP 2000174848 A JP2000174848 A JP 2000174848A JP 10347531 A JP10347531 A JP 10347531A JP 34753198 A JP34753198 A JP 34753198A JP 2000174848 A JP2000174848 A JP 2000174848A
Authority
JP
Japan
Prior art keywords
line
circuit
switch
communication
bus
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.)
Pending
Application number
JP10347531A
Other languages
Japanese (ja)
Inventor
Satoru Kobayashi
覚 小林
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP10347531A priority Critical patent/JP2000174848A/en
Publication of JP2000174848A publication Critical patent/JP2000174848A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily obtain a high fault detection rate without the need for manual revision of physical connection by providing a switch that short-circuits/ opens line connectors between the line connector and a line I/F circuit and short-circuits the switch in the case of test. SOLUTION: A switch circuit 29 is provided between a data transfer line 21, that interconnects a line I/F circuit 17 and a line connector 25 and a data transfer line 22 that connects a line I/F circuit 18 and a line connector 26. Similarly, a switch circuit 30 is provided between a data transfer line 23 that connects a line I/F circuit 19 and a line connector 27 and a data transfer line 24 that connects a line I/F circuit 20 and a line connector 28. At normal operation, switch circuits 29, 30 are open under the control of a microprocessor 2, and the switch circuits 29, 30 are closed at test operation. The switch circuit 29 is closed by a SW control signal 31 from the microprocessor 2 to connect the data transfer lines 21, 22 thereby conducting a loopback test.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、回線制御部の試験
に関する回線折り返し用スイッチ回路を備えた通信制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device provided with a line return switch circuit for testing a line control unit.

【0002】[0002]

【従来の技術】従来、通信回線を使用してデータを通信
する際に、使用する回線が増大するにつれて回線を通信
接続装置に接続し、通信接続装置を介して通信制御装置
がデータを回線に転送するシステムになっている。
2. Description of the Related Art Conventionally, when data is communicated using a communication line, the line is connected to a communication connection device as the number of lines to be used increases, and the communication control device transfers the data to the line via the communication connection device. It is a transfer system.

【0003】このシステムにおいて、通信制御装置の動
作を試験したい場合、このシステムを使用して試験する
か、通信制御装置に折り返し回路を付設して試験をする
方法を採用していた。このような場合、前者はシステム
を全部試験用とせねば成らず、試験に専有される時間、
設備、場所など不経済であり、後者は通信接続装置内の
アダプタとの信号採受状態がシステムと異なり、正確な
通信制御装置の試験ができないという問題がある。
In this system, when it is desired to test the operation of the communication control device, a method of performing the test using the system or a method of attaching a loopback circuit to the communication control device and performing the test has been adopted. In such cases, the former must make the entire system for testing, and the time dedicated to testing,
The equipment and the place are uneconomical, and the latter has a problem that the signal reception state with the adapter in the communication connection device is different from that of the system, so that an accurate test of the communication control device cannot be performed.

【0004】このため、特開昭57−30449号公報
には、回線制御装置に回線アダプタと折返し回路を付設
して、回線接続装置を経由することなく回線制御装置の
自己折返し試験を行うことが記載されている。本従来例
では回線アダプタと折返し回路とを必要としており、現
実運用に近接した回線の試験が必要であり、また試験の
ために更なる設備投資を縮小する必要がある。
For this reason, Japanese Patent Laying-Open No. 57-30449 discloses that a line adapter and a loopback circuit are added to a line control device to perform a self-loopback test of the line control device without passing through a line connection device. Has been described. In this conventional example, a line adapter and a loopback circuit are required, a test of a line close to the actual operation is required, and further capital investment for the test needs to be reduced.

【0005】また、特開平2−25141号公報には、
運用回線を介して行われる通信の送受信を制御し、かつ
装置内部折返しパスを利用する内部折返し診断ならびに
装置外部折返しパスを利用する折返し診断による自己診
断機能を備えた通信制御装置の診断を行う通信制御診断
方式において、内部折返し診断ならびに外部折返し診断
においては通信制御装置を運用回線から物理的に分離す
ると共に内部折返し診断ならびに外部折返し診断を互い
に排他的に実行する手段を備えることを特徴としてい
る。この従来例においても外部折返し診断用の折返しコ
ネクタを必要としており、人手と信頼性を更に向上する
必要性が残っていた。
[0005] Also, JP-A-2-25141 discloses that
Communication that controls transmission / reception of communication performed via the operation line and diagnoses a communication control device having a self-diagnosis function by internal loopback diagnosis using a loopback path inside the device and loopback diagnosis using a loopback path outside the device. In the control diagnosis method, the internal loopback diagnosis and the external loopback diagnosis are characterized in that the communication control device is physically separated from the operation line, and means for executing the internal loopback diagnosis and the external loopback diagnosis exclusively from each other is provided. This conventional example also requires a folded connector for external folded diagnosis, and there is a need to further improve the manpower and reliability.

【0006】ここで、従来の大規模な通信制御部におけ
る構成の一例を表したブロック図を、図15に示して説
明する。
Here, a block diagram showing an example of the configuration of a conventional large-scale communication control unit will be described with reference to FIG.

【0007】図15において、サーバのI/Oバスであ
るEISA(Extended Industry Standard Architectur
e:パソコン用32ビット拡張バス)やPCI(Periphe
ralComponent Interconnect:パソコン用入出力バス)
等の上位バス3およびMPUバス5との間にバスコンバ
ータ回路1が設けられ、バスコンバータ回路1、ローカ
ルメモリ4、マイクロプロセッサ2および回線制御回路
15,16が、MPUバス5を介して互いに接続され
る。回線制御回路15には回線I/F回路17,18、
回線制御回路16には回線I/F回路19,20が接続
されており、それぞれがデータ転送路21,22,2
3,24を介して、回線側コネクタ25,26,27,
28に接続される。
In FIG. 15, an EISA (Extended Industry Standard Architectur), which is an I / O bus of a server, is used.
e: 32-bit expansion bus for personal computers and PCI (Periphe
ralComponent Interconnect: I / O bus for personal computer)
A bus converter circuit 1 is provided between the host bus 3 and the MPU bus 5. The bus converter circuit 1, the local memory 4, the microprocessor 2, and the line control circuits 15 and 16 are connected to each other via the MPU bus 5. Is done. The line control circuit 15 includes line I / F circuits 17 and 18,
Line I / F circuits 19 and 20 are connected to the line control circuit 16, and they are respectively data transfer paths 21, 22 and 2.
Line connectors 25, 26, 27,
28.

【0008】本通信制御部は、サーバ等の上位バス3と
回線側コネクタとデータを送受信するユニットであり、
複数の通信回線に接続されてクライアントとサーバの通
信2局間の通信制御が行われる。回線制御系はMPU2
のプログラムに従ってバスコンバータ回路1との整合を
とり回線制御回路15,16とMPUバス5とのデータ
制御を行っており、上位バス3と回線制御回路15,1
6の送受データをMPUバス5を介して制御している。
MPU2はローカルメモリ4に格納された通信制御プロ
グラムに従って、回線制御回路15,16に制御指示を
出し、回線制御回路15,16と上位バス3との送受デ
ータを制御している。
The communication control unit is a unit for transmitting and receiving data to and from an upper bus 3 such as a server and a line side connector.
Communication is controlled between two communication stations of a client and a server by being connected to a plurality of communication lines. Line control system is MPU2
In accordance with the above program, data is controlled between the line control circuits 15, 16 and the MPU bus 5 by matching with the bus converter circuit 1, and the upper bus 3 and the line control circuits 15, 1 are controlled.
6 is controlled via the MPU bus 5.
The MPU 2 issues a control instruction to the line control circuits 15 and 16 according to a communication control program stored in the local memory 4 and controls data transmitted and received between the line control circuits 15 and 16 and the upper bus 3.

【0009】図16を用いて、図15の従来の構成にお
ける折り返し試験について説明する。図15のように構
成される通信制御部を用いた折り返し試験では、回線I
/F回路17と18の間、および回線I/F回路19と
20の間を直接接続する機構がなく回線制御回路15お
よび16により回線側でデータを折り返すことが出来な
い。折返し試験を実施する場合には、回線制御回路15
および16で通信データを折り返している。したがって
折り返し試験が正常終了したとしても、診断が実行され
るのは、図16中の黒太線付き矢印で接続されたMPU
バス5に接続された部分、すなわちバスコンバータ回路
1、マイクロプロセッサMPU2、ローカルメモリ4、
回線制御回路15および16に限定されるため、上位バ
ス3からこの回線制御回路15,16までが正常に機能
しているかどうかの判別しかできず、回線I/F回路1
7,18,19,20(図16中の網掛けの部分)の故
障検出ができない。
Referring to FIG. 16, a folding test in the conventional configuration shown in FIG. 15 will be described. In the loopback test using the communication control unit configured as shown in FIG.
Since there is no mechanism for directly connecting between the / F circuits 17 and 18 and between the line I / F circuits 19 and 20, data cannot be looped back on the line side by the line control circuits 15 and 16. When performing the loopback test, the line control circuit 15
The communication data is looped back at and 16. Therefore, even if the loopback test is normally completed, the diagnosis is performed only for the MPUs connected by the thick arrows in FIG.
The parts connected to the bus 5, namely the bus converter circuit 1, the microprocessor MPU2, the local memory 4,
Since it is limited to the line control circuits 15 and 16, it is only possible to determine whether or not the upper bus 3 to the line control circuits 15 and 16 are functioning normally.
Failures of 7, 18, 19, and 20 (shaded portions in FIG. 16) cannot be detected.

【0010】また、図15に示す上位バス以外は、図1
7に示すように、CCU(Communication Control Uni
t)カード60に収容されるもので、通常は、サーバの
上位バスの入出力用バスコネクタにCCUカード60の
パラレル端子66を挿入して動作させていた。また、C
CUカード60はコネクタ端子CH0〜CH3にCCU
ケーブル67の回線#0〜#3のコネクタ61を挿入接
続され、コネクタ62と外部クライアントとの回線を接
続して、データや制御データ等の送受信をおこなってい
た。
In addition, except for the upper bus shown in FIG.
As shown in Fig. 7, CCU (Communication Control Uni
t) Usually, the parallel terminals 66 of the CCU card 60 are inserted into the input / output bus connector of the upper bus of the server and are operated. Also, C
The CU card 60 is connected to the connector terminals CH0 to CH3 with the CCU.
The connectors 61 of the lines # 0 to # 3 of the cable 67 are inserted and connected, and the line between the connector 62 and the external client is connected to transmit and receive data and control data.

【0011】また、回線I/F回路17〜20を含めて
折り返し回路を構成する場合、通信制御装置(CCU)
の構成の通りに、人手を介入させて、折り返し(CC
U)コネクタまたはモデム65とCCUケーブル68の
コネクタ64とを接続し、更に、CCUケーブル68の
コネクタ63と回線#0〜#3のコネクタ62、CCU
ケーブル67による回線#0〜#3のコネクタ61とC
CUカード60の端子CH0〜CH3という具合に複数
個所の接続が必要であった。また、CCUカード60
は、ホストコンピュータの上位バスに配置されたバスコ
ネクタにパラレル端子66を挿入して、ホストコンピュ
ータとのデータの送受信を行う。この接続の下で、折り
返し試験を実施することが可能になり、この構成と接続
により、はじめてデータ転送路21,22,23,24
を含めた回線I/F回路17,18,19,20の障害
を検出することが可能となる。
When a loopback circuit is configured to include the line I / F circuits 17 to 20, a communication control unit (CCU)
As shown in the configuration of above, with human intervention,
U) The connector or modem 65 is connected to the connector 64 of the CCU cable 68, and the connector 63 of the CCU cable 68 and the connectors 62 of the lines # 0 to # 3,
Connectors 61 and C of lines # 0 to # 3 by cable 67
A plurality of connections were required, such as the terminals CH0 to CH3 of the CU card 60. Also, CCU card 60
Transmits and receives data to and from the host computer by inserting the parallel terminal 66 into a bus connector arranged on an upper bus of the host computer. A loopback test can be performed under this connection. With this configuration and connection, the data transfer paths 21, 22, 23, 24
, It is possible to detect a failure of the line I / F circuits 17, 18, 19, 20.

【0012】[0012]

【発明が解決しようとする課題】そこで、本発明は、通
信制御装置内部の折り返し試験を行う場合に、外付けの
回線ケーブルや折り返しコネクタを装着することなし
に、回線I/F回路を含む通信制御装置内部の障害を検
出することにより、物理的な接続を人手で変更すること
なく、容易に高い障害検出率を得ることを課題とする。
SUMMARY OF THE INVENTION Accordingly, the present invention provides a communication system including a line I / F circuit without attaching an external line cable or a loopback connector when performing a loopback test inside a communication control device. An object of the present invention is to easily obtain a high fault detection rate without manually changing a physical connection by detecting a fault inside a control device.

【0013】また、本発明は、人手を介することなく様
々な回線I/F回路の接続パターンにより試験を行い得
るようにすることを課題とする。
Another object of the present invention is to enable a test to be performed with various connection patterns of line I / F circuits without manual intervention.

【0014】[0014]

【課題を解決するための手段】本発明は、通信回線を通
してデータ通信を制御する通信制御装置において、複数
の回線と接続する回線側コネクタと、該回線側コネクタ
に接続されるインターフェースとなる複数の回線I/F
回路と、該回線I/F回路との送受信相互のデータを上
位バスに送受信する回線制御手段と、前記回線側コネク
タと前記回線I/F回路間に前記回線側コネクタと前記
回線側コネクタ間を短絡/開放するスイッチとを設け、
試験時に前記スイッチを短絡することを特徴とする。
According to the present invention, there is provided a communication control apparatus for controlling data communication through a communication line, wherein a plurality of line-side connectors connected to a plurality of lines and a plurality of interfaces serving as interfaces connected to the line-side connectors are provided. Line I / F
A circuit, line control means for transmitting and receiving data to and from a higher-level bus for transmission / reception to / from the line I / F circuit; A switch for short-circuit / open is provided.
The switch is short-circuited during the test.

【0015】また、本発明は、通信回線を通してデータ
通信を制御する通信制御装置において、送受信回線と接
続する回線側コネクタと、該回線側コネクタに接続され
るインターフェースとなる送信部及び受信部を有する回
線I/F回路と、該回線I/F回路との送受信相互のデ
ータを上位バスに送受信する回線制御手段と、前記回線
I/F回路の前記送信部及び前記受信部間に短絡/開放
するスイッチとを備え、前記制御手段により試験時に前
記スイッチを短絡することを特徴とする。
According to the present invention, a communication control device for controlling data communication through a communication line includes a line-side connector connected to a transmission / reception line, and a transmission unit and a reception unit serving as interfaces connected to the line-side connector. A line I / F circuit, line control means for transmitting and receiving data to and from the transmission / reception to / from the line I / F circuit to an upper bus, and a short circuit / open circuit between the transmission unit and the reception unit of the line I / F circuit. And a short circuit during the test by the control means.

【0016】また、本発明は、カード形式の通信制御部
において、回線用ケーブルおよび折り返しコネクタ(ま
たはモデム)を用いることなく、同一カード内での折り
返し試験を行なう場合に、回線制御用のゲートアレイか
らそれに接続する回線コネクタ間のインタフェース回路
も含めて試験を行うことを目的としたスイッチング回路
を備えることを特徴とする。
The present invention also provides a gate array for line control in a case where a return test is performed in the same card without using a line cable and a return connector (or a modem) in a card type communication control unit. And a switching circuit for performing a test including an interface circuit between line connectors connected to the line connector.

【0017】また、本発明を図面を参照して説明すれ
ば、図1において、マイクロプロセッサ2、ローカルメ
モリ4、回線制御回路6はMPUバス5に接続してい
る。
The present invention will be described with reference to the drawings. In FIG. 1, the microprocessor 2, the local memory 4, and the line control circuit 6 are connected to the MPU bus 5.

【0018】マイクロプロセッサ(MPU)2はローカ
ルメモリ4に格納されている通信制御プログラムに従
い、回線制御回路6をコントロールする。マイクロプロ
セッサ2にコントロールされる回線制御回路6は回線I
/F回路7,8をコントロールすることにより、外部に
対して通信データの送受信を行う。
A microprocessor (MPU) 2 controls a line control circuit 6 according to a communication control program stored in a local memory 4. The line control circuit 6 controlled by the microprocessor 2 has a line I
By controlling the / F circuits 7 and 8, communication data is transmitted and received to and from the outside.

【0019】回線インタフェース(I/F)回路7は、
データ転送路10を介して回線側コネクタ12に接続さ
れる。また回線I/F回路8は、データ転送路11を介
して回線側コネクタ13に接続される。回線側コネクタ
12および13は回線ケーブルに接続される。
The line interface (I / F) circuit 7
It is connected to the line side connector 12 via the data transfer path 10. The line I / F circuit 8 is connected to the line side connector 13 via the data transfer path 11. The line side connectors 12 and 13 are connected to a line cable.

【0020】スイッチ(SW)回路9はデータ転送路1
0および11の間に接続され、マイクロプロセッサ2の
指示により、マイクロプロセッサ2からSW回路9へ出
力されるスイッチ(SW)制御信号14を介してSW回
路9のONまたはOFFの動作を行う。このSW回路9
は通常動作時は、OFFの状態であるが、試験動作時に
はマイクロプロセッサ2からの指示によりONの状態に
遷移することにより、回線I/F回路7および回線I/
F回路8を物理的に接続し、これにより回線I/F回路
7と回線I/F回路8の間でデータが送受信され、回線
I/F回路7を介した回線と回線I/F回路8を介した
回線との間での折り返し試験が実行可能となる。
The switch (SW) circuit 9 is connected to the data transfer path 1
It is connected between 0 and 11 and turns on or off the SW circuit 9 via a switch (SW) control signal 14 output from the microprocessor 2 to the SW circuit 9 according to an instruction from the microprocessor 2. This SW circuit 9
Is in an OFF state during a normal operation, but is switched to an ON state in response to an instruction from the microprocessor 2 during a test operation, whereby the line I / F circuit 7 and the line I / F
The F circuit 8 is physically connected, whereby data is transmitted and received between the line I / F circuit 7 and the line I / F circuit 8, and the line via the line I / F circuit 7 and the line I / F circuit 8 A loopback test with a line via the terminal can be executed.

【0021】[0021]

【発明の実施の形態】本発明による実施形態について、
図面を参照しつつ詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments according to the present invention will be described.
This will be described in detail with reference to the drawings.

【0022】[第1の実施形態] (本実施形態の構成)図1は本発明の第1の実施形態を
示す機能ブロック図である。本実施形態による回線折り
返し用スイッチ回路は、通信制御装置内にカード形式で
格納され、カード内の折り返し試験を行うもので、バス
コンバータ回路1、マイクロプロセッサ2、ローカルメ
モリ4、MPUバス5、回線制御回路6、回線I/F回
路7,8、スイッチ回路9、データ転送路10,11お
よび回線側コネクタ12,13から構成される。
[First Embodiment] (Configuration of this Embodiment) FIG. 1 is a functional block diagram showing a first embodiment of the present invention. The line return switch circuit according to the present embodiment is stored in a card form in the communication control device and performs a return test in the card. The bus converter circuit 1, the microprocessor 2, the local memory 4, the MPU bus 5, the line It comprises a control circuit 6, line I / F circuits 7, 8, a switch circuit 9, data transfer paths 10, 11, and line side connectors 12, 13.

【0023】この回線折り返し用スイッチ回路を含む通
信制御装置において、バスコンバータ回路1、マイクロ
プロセッサ2、ローカルメモリ4、回線制御回路6はそ
れぞれMPUバス5に接続しており、MPUバス5と上
位バス3との間にバスコンバータ回路1が設けられてい
る。なお、図1中の各構成要素は、カード形式のCCU
カードに装着・収納された状態で、サーバ内のI/Oバ
ススロットに差し込むようになっている。また、このC
CUカードには、図1の回線側コネクタ12,13を複
数個装着して、外部のクライアント等の回線と接続され
る。
In the communication control apparatus including the line return switch circuit, the bus converter circuit 1, the microprocessor 2, the local memory 4, and the line control circuit 6 are connected to the MPU bus 5, respectively. 3, a bus converter circuit 1 is provided. Each component in FIG. 1 is a card type CCU.
The card is inserted into an I / O bus slot in the server while being attached to and stored in a card. Also, this C
The CU card is provided with a plurality of line-side connectors 12 and 13 shown in FIG. 1 and is connected to a line such as an external client.

【0024】回線I/F回路7はデータ転送路10によ
って回線側コネクタ12に接続され、回線I/F回路8
はデータ転送路11によって回線側コネクタ13にそれ
ぞれ接続されている。さらにデータ転送路10と11の
間にはスイッチ回路9が設けられている。回線I/F回
路7,8はそれぞれ受信I/F回路と送信I/F回路と
わ有し、回線側コネクタ12,13からの受信信号及び
送信信号とを回線制御回路6へのデータ構造の変換や回
線インピーダンスの整合等の機能を有している。
The line I / F circuit 7 is connected to the line side connector 12 by the data transfer path 10 and the line I / F circuit 8
Are connected to the line side connector 13 by the data transfer path 11, respectively. Further, a switch circuit 9 is provided between the data transfer paths 10 and 11. The line I / F circuits 7 and 8 have a reception I / F circuit and a transmission I / F circuit, respectively, and receive data and transmission signals from the line side connectors 12 and 13 in a data structure to the line control circuit 6. It has functions such as conversion and line impedance matching.

【0025】バスコンバータ回路1はマイクロプロセッ
サ2が接続されているMPUバス5および上位バス3
(EISA(Extended Industry Standard Archistectu
re:パソコン用32ビット拡張バスの一つ)バス、PC
I(Peripheral Component Interconnect)バスなど)
とのインタフェースを行うものである。
The bus converter circuit 1 comprises an MPU bus 5 to which the microprocessor 2 is connected and an upper bus 3
(EISA (Extended Industry Standard Archistectu
re: One of the 32-bit expansion buses for personal computers) Bus, PC
I (Peripheral Component Interconnect) bus etc.)
Interface with the

【0026】マイクロプロセッサ2はMPUバス5を介
してバスコンバータ回路1、回線制御回路6及びローカ
ルメモリ4に接続しており、様々な通信制御手順を行う
ためローカルメモリ4に格納された制御手順のプログラ
ムデータに従って、回線制御回路6を介して通信を行
う。
The microprocessor 2 is connected to the bus converter circuit 1, the line control circuit 6, and the local memory 4 via the MPU bus 5, and performs various communication control procedures. Communication is performed via the line control circuit 6 according to the program data.

【0027】回線制御回路6は回線I/F回路7,8と
接続されており、これらI/F回路7,8のデータ送受
信を制御する。
The line control circuit 6 is connected to the line I / F circuits 7 and 8, and controls data transmission and reception of these I / F circuits 7 and 8.

【0028】回線I/F回路7はデータ転送路10を介
して回線側コネクタ12に、回線I/F回路8はデータ
転送路11を介して回線側コネクタ13に接続されてお
り、これらは外部回線との信号出力及び入力を行うた
め、ITU−TS(電気通信標準化センター)などの勧
告に従って信号の電気的変換などを行う。
The line I / F circuit 7 is connected to the line side connector 12 via the data transfer path 10 and the line I / F circuit 8 is connected to the line side connector 13 via the data transfer path 11. In order to perform signal output and input to and from a line, signal electrical conversion and the like are performed according to recommendations of the ITU-TS (Telecommunication Standardization Center) and the like.

【0029】スイッチ(SW)回路9はデータ転送路1
0および11の間に備えられ、マイクロプロセッサ2と
はSW制御信号14を介して接続される。SW制御信号
14を介してのマイクロプロセッサ2からの指示で、ス
イッチ回路9はONまたはOFFの状態を取る。このス
イッチ回路9は、通常動作時にはOFFの状態である
が、折返し試験動作時にマイクロプロセッサ2の指示に
よりON状態に遷移することにより、回線I/F回路7
および8の間の信号線を接続状態にする。これにより回
線I/F回路7および8の間でデータの通信が可能とな
る。OFFの状態ではデータ転送路10,11間は切断
された状態と同じである。なお、スイッチ(SW)回路
9は複数線路を例えばMOSFETやリレー等で構成さ
れる。
The switch (SW) circuit 9 is connected to the data transfer path 1
It is provided between 0 and 11, and is connected to the microprocessor 2 via the SW control signal 14. The switch circuit 9 is turned on or off by an instruction from the microprocessor 2 via the SW control signal 14. The switch circuit 9 is in an OFF state during a normal operation, but transitions to an ON state in response to an instruction from the microprocessor 2 during a loopback test operation, whereby the line I / F circuit 7 is turned on.
And the signal line between 8 is connected. This enables data communication between the line I / F circuits 7 and 8. In the OFF state, the state between the data transfer paths 10 and 11 is the same as the disconnected state. The switch (SW) circuit 9 includes a plurality of lines formed of, for example, MOSFETs and relays.

【0030】回線側コネクタ12および13には外部伝
送線の回線ケーブルが接続される。例えば、LAN用の
イーサネットケーブルを用いて、プリンタやモデム、ル
ータ、ハードディスク等が接続される。
A line cable of an external transmission line is connected to the line side connectors 12 and 13. For example, a printer, a modem, a router, a hard disk, and the like are connected using a LAN Ethernet cable.

【0031】図1に示す構成で、スイッチ回路9を用い
て異なる回線I/F回路間で折り返し試験を行う場合に
ついて、RS−232−C方式における信号線の結線の
一例を図2に示す。図2によるスイッチ回路9は通常動
作時にはOFFの状態であるが、図2に示すように、マ
イクロプロセッサ2の指示によりON状態に遷移したと
きの各信号線の結線状態を示したものである。この図2
に示すようにスイッチ回路9がON状態に遷移すること
により、回線I/F回路7および8の間でデータ通信を
行うことが可能となる。
FIG. 2 shows an example of connection of signal lines in the RS-232-C system in the case of performing a loopback test between different line I / F circuits using the switch circuit 9 in the configuration shown in FIG. The switch circuit 9 shown in FIG. 2 is in an OFF state during a normal operation, but as shown in FIG. 2, shows a connection state of each signal line when the switch circuit 9 changes to an ON state in accordance with an instruction from the microprocessor 2. This figure 2
When the switch circuit 9 transits to the ON state as shown in (1), data communication can be performed between the line I / F circuits 7 and 8.

【0032】RS−232−C方式の各信号線名、ピン
番号および名称の一覧を図3に併せて示す。RS−23
2−Cは、通常データ端末装置(DTE:Data Termina
l Equipment)と、回線終端装置(DCE:Data Circui
t-terminating Equipment)との信号のやりとりについ
て定めた規格であり、DTEはパソコンで、DCEはモ
デムに相当する。RS−232−C規格では、25ピン
中9ピンを使ってシリアルインターフェースとして、送
信側DTEがERをオンにして送信側DCEに回線の接
続を指示する。送信側DCEはこれを受けて回線に接続
し、DRを送信側DTEに返す。つぎに送信側DTEは
RSをオンにして送信側DCEに送信を始めることを要
求する。RSを受けた送信側DCEは送信データを回線
に送出するためのキャリアを回線に出し、CSを送信側
DCEに返す。送信側DTEは、この段階でSDを使っ
て送信側DCEにデータを転送することが可能になる。
一方、送信側DCEが送ったキャリアを検出した受信側
DCEは、CDをオンにして受信側DTEに通知する。
CDを受けた受信側DTEは受信状態に入り、RDを通
じてデータを受け取る。このRS−232−C規格で
は、パソコンとモデム間を接続する場合、ストレート・
ケーブルを使用する。また、パソコン同士を接続する場
合、出力信号間の衝突を避けるためクロス・ケーブルを
使用して相互通信を可能とする。従って、本実施形態で
は後者のクロス・ケーブルを使用する。
A list of signal line names, pin numbers and names of the RS-232-C system is also shown in FIG. RS-23
2-C is a normal data terminal device (DTE: Data Termina).
l Equipment) and line termination equipment (DCE: Data Circui)
A standard that defines the exchange of signals with t-terminating equipment. DTE is equivalent to a personal computer and DCE is equivalent to a modem. According to the RS-232-C standard, the transmitting DTE turns on the ER and instructs the transmitting DCE to connect a line as a serial interface using 9 pins out of 25 pins. The transmitting DCE receives this, connects to the line, and returns the DR to the transmitting DTE. Next, the transmitting DTE turns on the RS and requests the transmitting DCE to start transmission. The transmitting DCE receiving the RS puts out a carrier for sending transmission data to the line, and returns CS to the transmitting DCE. At this stage, the transmitting DTE can transfer data to the transmitting DCE using SD.
On the other hand, the receiving DCE that has detected the carrier transmitted by the transmitting DCE turns on the CD and notifies the receiving DTE.
The receiving DTE that has received the CD enters a receiving state and receives data through the RD. According to the RS-232-C standard, when connecting between a personal computer and a modem,
Use cables. When connecting personal computers, mutual communication is made possible by using a cross cable to avoid collision between output signals. Therefore, in this embodiment, the latter cross cable is used.

【0033】(本実施形態の動作の説明)つぎに、図1
を用いて通信制御部の動作について説明する。
(Explanation of Operation of the Present Embodiment) Next, FIG.
The operation of the communication control unit will be described with reference to FIG.

【0034】バスコンバータ回路1は、上位バス3およ
びMPUバス5の間に設けられ、マイクロプロセッサ2
によるDMAリードおよびDMAライトにより、上位バ
ス3からのデータをローカルメモリ4に格納するとき
や、ローカルメモリ4のデータを上位バス3へ転送する
ときなどにおいて、その転送制御を行う。
The bus converter circuit 1 is provided between the upper bus 3 and the MPU bus 5 and includes a microprocessor 2
The transfer control is performed when the data from the upper bus 3 is stored in the local memory 4 or when the data in the local memory 4 is transferred to the upper bus 3 by the DMA read and DMA write.

【0035】マイクロプロセッサ2はMPUバス5で接
続されたローカルメモリ4に格納された通信制御プログ
ラムを実行し、通信手順に従って回線制御回路6を制御
する。またスイッチ(SW)制御信号14を用いて後述
のスイッチ回路9のON/OFF動作を制御する。
The microprocessor 2 executes a communication control program stored in the local memory 4 connected by the MPU bus 5, and controls the line control circuit 6 according to a communication procedure. The switch (SW) control signal 14 is used to control the ON / OFF operation of a switch circuit 9 described later.

【0036】ローカルメモリ4はマイクロプロセッサ2
が実行する通信制御プログラムを格納すると共に、通信
回線に対しての送受信データをバッファリングするバッ
ファともなる。通信回線への送信データは、上位バス
3、バスコンバータ回路1およびMPUバス5を経てロ
ーカルメモリ4に格納され、マイクロプロセッサ2の制
御により、回線I/F回路7,8に送信される。通信回
線からの受信データは回線I/F回路7,8で受信さ
れ、MPUバス5を介してローカルメモリ4に格納され
る。さらにマイクロプロセッサ2の制御により、バスコ
ンバータ回路1を経て上位バス3へ転送される。
The local memory 4 is a microprocessor 2
Stores a communication control program to be executed, and also serves as a buffer for buffering transmission / reception data to / from a communication line. Data transmitted to the communication line is stored in the local memory 4 via the upper bus 3, the bus converter circuit 1, and the MPU bus 5, and transmitted to the line I / F circuits 7, 8 under the control of the microprocessor 2. Data received from the communication line is received by the line I / F circuits 7 and 8 and stored in the local memory 4 via the MPU bus 5. Further, under the control of the microprocessor 2, the data is transferred to the upper bus 3 via the bus converter circuit 1.

【0037】回線制御回路6はマイクロプロセッサ2か
らの制御により、回線I/F回路7,8を用いてデータ
の送受信を制御する。また、ローカルメモリ4に格納さ
れた送信データを取り込み、回線I/F回路7または8
へ、データを送信することや、回線I/F回路7または
8から受信したデータを、ローカルメモリ4へ格納する
ことなどを行う。
The line control circuit 6 controls transmission and reception of data using the line I / F circuits 7 and 8 under the control of the microprocessor 2. Also, the transmission data stored in the local memory 4 is fetched and the line I / F circuit 7 or 8 is read.
To transmit the data to the local memory 4, and to store the data received from the line I / F circuit 7 or 8 into the local memory 4.

【0038】回線I/F回路7および8は、回線制御回
路6に接続されており、回線制御回路6の制御の下でデ
ータの送受信を行い、転送用のデータを通信回線に適合
した信号に電気的に変換する。
The line I / F circuits 7 and 8 are connected to the line control circuit 6 to transmit and receive data under the control of the line control circuit 6 and convert transfer data into a signal suitable for the communication line. Converts electrically.

【0039】スイッチ回路9はデータ転送路10および
11の間に設けられ、通常動作時はOFFの状態、すな
わちデータ転送路10および11の間の回線は物理的に
絶縁された状態である。試験動作時にマイクロプロセッ
サ2の指示によりONの状態に遷移することにより、デ
ータ転送路10および11を物理的に接続する。
The switch circuit 9 is provided between the data transfer paths 10 and 11, and is in an OFF state during normal operation, that is, the line between the data transfer paths 10 and 11 is in a physically isolated state. The data transfer paths 10 and 11 are physically connected by making a transition to an ON state in accordance with an instruction from the microprocessor 2 during the test operation.

【0040】同一カード内での異なる回線の間での折り
返し試験を行う場合について図4および図5に基づいて
説明する。
A case in which a loopback test is performed between different lines in the same card will be described with reference to FIGS.

【0041】図4および図5は、図1で示した構成と基
本的に同じ構成ブロック図であり、回線制御回路1つ、
回線I/F回路2つ、回線側コネクタ2つ、データ転送
路2つ、スイッチ回路1つおよびSW制御信号1つを、
それぞれ2組持つ場合を示したものである。
FIGS. 4 and 5 are block diagrams basically showing the same configuration as the configuration shown in FIG.
Two line I / F circuits, two line side connectors, two data transfer paths, one switch circuit, and one SW control signal
This shows a case where two sets are provided.

【0042】図4において、スイッチ回路29は、回線
I/F回路17と回線コネクタ25とを接続するデータ
転送路21と、回線I/F回路18と回線コネクタ26
とを接続するデータ転送路22との間に設けられてい
る。同様にスイッチ回路30は、回線I/F回路19と
回線コネクタ27とを接続するデータ転送路23と、回
線I/F回路20と回線コネクタ28とを接続するデー
タ転送路24との間に設けられている。このスイッチ回
路29および30は、通常動作時はOFFの状態であ
り、試験動作時にマイクロプロセッサ2の制御によりO
N状態に遷移する。
In FIG. 4, a switch circuit 29 includes a data transfer path 21 connecting the line I / F circuit 17 and the line connector 25, a line I / F circuit 18 and a line connector 26.
And a data transfer path 22 connecting the Similarly, switch circuit 30 is provided between data transfer path 23 connecting line I / F circuit 19 and line connector 27 and data transfer path 24 connecting line I / F circuit 20 and line connector 28. Have been. The switch circuits 29 and 30 are off during normal operation, and are turned off under the control of the microprocessor 2 during test operation.
Transition to the N state.

【0043】次に、このスイッチ回路29および30の
動作について図5を用いて説明する。マイクロプロセッ
サ2からSW制御信号31を介してスイッチ回路29を
閉じる、すなわちONに遷移することにより、データ転
送路21および22の間が物理的に接続される。このと
きの状態を示したのが図5の上側の部分である。この間
で折り返し試験を行うことにより、データ転送路21お
よび22を通じて、回線I/F回路17と回線I/F回
路18との間でデータの送受信が行われる。
Next, the operation of switch circuits 29 and 30 will be described with reference to FIG. The data transfer paths 21 and 22 are physically connected by closing the switch circuit 29 from the microprocessor 2 via the SW control signal 31, that is, turning on the switch circuit 29. The state at this time is shown in the upper part of FIG. By performing the loopback test during this time, data is transmitted and received between the line I / F circuit 17 and the line I / F circuit 18 via the data transfer paths 21 and 22.

【0044】本構成においては、全二重通信でも半二重
通信でも試験可能であり、例えば、その時々において回
線制御回路15の指示により、回線I/F回路17と回
線I/F回路18のどちらか一方を受信用回路、もう一
方を送信用回路と切り替えることにより、回線I/F回
路17および18の回線間で、半二重通信又は全二重通
信を行う試験が可能となる。
In this configuration, both full-duplex communication and half-duplex communication can be tested. For example, the line I / F circuit 17 and the line I / F circuit 18 can be tested by the instruction of the line control circuit 15 at each time. By switching one of the circuits for reception and the other for transmission, a test for performing half-duplex communication or full-duplex communication between the line I / F circuits 17 and 18 becomes possible.

【0045】同様に、マイクロプロセッサ2からSW制
御信号32を介してスイッチ回路30を閉じる、すなわ
ちONに遷移することにより、データ転送路23および
24の間が物理的に接続される。このときの状態を示し
たのが図5の下側の部分である。この間で折り返し試験
を行うことにより、データ転送路23および24を通じ
て、回線I/F回路19と回線I/F回路20との間で
データの送受信が行われる。
Similarly, by closing the switch circuit 30 from the microprocessor 2 via the SW control signal 32, that is, turning on, the data transfer paths 23 and 24 are physically connected. The state at this time is shown in the lower part of FIG. By performing the loopback test during this time, data is transmitted and received between the line I / F circuit 19 and the line I / F circuit 20 through the data transfer paths 23 and 24.

【0046】本構成においては、全二重通信でも半二重
通信でも試験可能であり、例えば、その時々において回
線制御回路16の指示により、回線I/F回路19と回
線I/F回路20のどちらか一方を受信用回路、もう一
方を送信用回路と切り替えることにより、回線I/F回
路19および20の回線間で、全二重又は半二重による
データ通信を行う試験が可能となる。
In this configuration, both full-duplex communication and half-duplex communication can be tested. For example, the line I / F circuit 19 and the line I / F circuit 20 can be tested by the instruction of the line control circuit 16 at each time. By switching one of the circuits to the receiving circuit and the other to the transmitting circuit, a test for performing full-duplex or half-duplex data communication between the line I / F circuits 19 and 20 becomes possible.

【0047】このような本構成によるデータ通信制御装
置の動作により、上位バスと回線とを結ぶ回線制御回路
や回線I/Fの試験を回線スイッチを通して、人手不要
でマイクロコンピュータによるプログラム制御の下で容
易にできる。
By the operation of the data communication control device according to the present configuration, a test of a line control circuit and a line I / F connecting an upper bus and a line is performed through a line switch under a program control by a microcomputer without manual operation. Easy.

【0048】[第2の実施形態]上記第1の実施形態で
示した図4の構成においては、スイッチ回路29がON
の状態に遷移した場合は、データ転送路21と22の間
を接続し、同様にスイッチ回路30がONの状態に遷移
した場合は、データ転送路23と24の間を接続するの
みであるため、実際に折り返し試験でエラーした場合、
データ転送路を含むどちらの回線I/F回路が故障して
いるかを最終的に切り分けることができない。
[Second Embodiment] In the configuration of FIG. 4 shown in the first embodiment, the switch circuit 29 is turned on.
When the switch circuit 30 transitions to the ON state, only the connection between the data transfer paths 23 and 24 is performed. , If you actually get an error in the loopback test,
It cannot be finally determined which line I / F circuit including the data transfer path has failed.

【0049】これを切り分けられるように、データ転送
路間をいくつかのパターンで接続可能となるようにした
スイッチ回路を設ける構成が考えられる。この一例を図
6に示して説明する。
A configuration is conceivable in which a switch circuit is provided so that the data transfer paths can be connected in several patterns so as to be able to separate them. This example will be described with reference to FIG.

【0050】図6に設けられたスイッチ回路33は、3
つの端子a,b,cを持つスイッチで、データ転送路2
1,22,23の間に設けられ、データ転送路21とは
端子aで、23とは端子bで、22とは端子cでそれぞ
れ接続される。マイクロプロセッサ2の制御によりSW
制御信号31を介してSW回路33のON/OFF動作
を行う。
The switch circuit 33 provided in FIG.
A switch having two terminals a, b, and c, and a data transfer path 2
The data transfer path 21 is connected to the terminal a, the terminal 23 is connected to the terminal b, and the terminal 22 is connected to the terminal c. SW controlled by microprocessor 2
The ON / OFF operation of the SW circuit 33 is performed via the control signal 31.

【0051】また、スイッチ回路34は3つの端子d,
e,fを持つスイッチで、データ転送路22,23,2
4の間に設けられ、データ転送路23とは端子dで、2
2とは端子eで、24とは端子fでそれぞれ接続され
る。マイクロプロセッサ(MPU)2の制御によりSW
制御信号32を介してSW回路34のON/OFF動作
を行う。これらスイッチ回路はOFFとして1つの状態
を、ONとして3つある端子のうち2つを接続するため
に3つの状態を取ることが可能である。例えばSW制御
信号32の2ビット信号により、SW回路33において
は、ON状態のときデータ転送路間の接続パターンは、
端子aとbとの接続、端子bとcとの接続、端子cとa
との接続の3通りとなる。
The switch circuit 34 has three terminals d,
switches having data transfer paths 22, 23, 2
4, the data transfer path 23 is connected to the terminal d,
2 is connected to the terminal e, and 24 is connected to the terminal f. SW under control of microprocessor (MPU) 2
The ON / OFF operation of the SW circuit 34 is performed via the control signal 32. These switch circuits can take one state as OFF and three states to connect two of the three terminals as ON. For example, according to the 2-bit signal of the SW control signal 32, the connection pattern between the data transfer paths in the SW circuit 33 when in the ON state is as follows.
Connection between terminals a and b, connection between terminals b and c, terminal c and a
And three types of connection.

【0052】スイッチ回路33および34がON状態を
取った場合を具体的に図7,図8,図9を用いて説明す
る。尚、これらの図において、破線で示された部分は接
続されていない(データ通信が行われない)経路を示
し、実線で示された部分はスイッチにより接続されてい
る(データ通信が行われる)経路を示している。
The case where the switch circuits 33 and 34 are turned ON will be specifically described with reference to FIGS. 7, 8, and 9. FIG. In these figures, a portion shown by a broken line indicates a path that is not connected (data communication is not performed), and a portion shown by a solid line is connected by a switch (data communication is performed). Shows the route.

【0053】図7の接続パターンはスイッチ回路33が
端子aと端子bを接続することにより回線I/F回路1
7および19がデータ転送路21および23を通じて物
理的に接続され、スイッチ回路34が端子eと端子fを
接続することにより回線I/F回路18および20がデ
ータ転送路22および24を通じて物理的に接続された
場合を示している。これにより回線I/F回路17,1
9および回線I/F回路18,20の間で折り返し試験
が可能となる。
The connection pattern shown in FIG. 7 is such that the switch circuit 33 connects the terminal a and the terminal b so that the line I / F circuit 1
7 and 19 are physically connected via data transfer paths 21 and 23, and switch I / F circuits 18 and 20 are physically connected via data transfer paths 22 and 24 by switch circuit 34 connecting terminals e and f. This shows the case where the connection is made. Thus, the line I / F circuits 17, 1
9 and a loopback test between the line I / F circuits 18 and 20.

【0054】図8の接続パターンはスイッチ回路33が
端子aと端子cを接続することにより、回線I/F回路
17および18がデータ転送路21および22を通じて
物理的に接続され、スイッチ回路34が端子dと端子f
を接続することにより、回線I/F回路19および20
がデータ転送路23および24を通じて物理的に接続さ
れた場合を示している。これにより回線I/F回路1
7,18および回線I/F回路19,20の間で折り返
し試験が可能となる。
In the connection pattern of FIG. 8, when the switch circuit 33 connects the terminals a and c, the line I / F circuits 17 and 18 are physically connected through the data transfer paths 21 and 22, and the switch circuit 34 is connected. Terminal d and terminal f
By connecting the line I / F circuits 19 and 20
Are physically connected through the data transfer paths 23 and 24. Thus, the line I / F circuit 1
A loopback test can be performed between the circuits 7 and 18 and the line I / F circuits 19 and 20.

【0055】図9の接続パターンはスイッチ回路33が
端子bと端子cを接続し、スイッチ回路34が端子dと
端子eを接続することにより回線I/F回路18および
19がデータ転送路22および23を通じて物理的に接
続された場合を示している。これにより回線I/F回路
18と19の間で折り返し試験が可能となる。
In the connection pattern shown in FIG. 9, the switch circuit 33 connects the terminals b and c, and the switch circuit 34 connects the terminals d and e, so that the line I / F circuits 18 and 19 connect the data transfer paths 22 and 23 shows a case where they are physically connected. This enables a loopback test between the line I / F circuits 18 and 19.

【0056】このようにスイッチ回路を用いてデータ転
送路間の接続パターンを変更することにより、従来の回
線制御回路までの試験及び図4の構成では特定できない
回線I/F回路またはデータ転送路ごとの故障を切り分
けることが可能となる。
As described above, by changing the connection pattern between the data transfer paths using the switch circuit, a test up to the conventional line control circuit and each line I / F circuit or data transfer path that cannot be specified by the configuration of FIG. Can be isolated.

【0057】以上で、図1の基本構成、および図4〜図
9における構成を用いて、2組の回線I/F回路間で折
り返し試験を行う場合について説明した。
The case where the loopback test is performed between two sets of line I / F circuits using the basic configuration shown in FIG. 1 and the configurations shown in FIGS. 4 to 9 has been described.

【0058】[第3の実施形態]さらに、第3の実施形
態として、図10のような構成により、通信制御部に回
線I/F回路を1つしか備えていない場合でも、図1と
同等の試験が可能となる。回線I/F回路44からは送
信用のデータ転送路47が回線側コネクタ48へ、回線
側コネクタ48からは受信用のデータ転送路46が接続
されており、データ転送路46と47の間にSW回路4
5が設けられている。
[Third Embodiment] Further, as a third embodiment, even if the communication control unit is provided with only one line I / F circuit by the configuration as shown in FIG. Test is possible. A transmission data transfer path 47 is connected to the line connector 48 from the line I / F circuit 44, and a reception data transfer path 46 is connected to the line connector 48 between the data transfer paths 46 and 47. SW circuit 4
5 are provided.

【0059】試験動作時において、マイクロプロセッサ
2の指示によりSW回路45がON状態に遷移すること
により、データ転送路46と47の間が物理的に接続さ
れるため、回線I/F回路44でデータの送受信を行う
ことにより同一回線での折り返し試験が可能となる。
At the time of the test operation, the data transfer paths 46 and 47 are physically connected by the transition of the SW circuit 45 to the ON state in accordance with the instruction of the microprocessor 2, so that the line I / F circuit 44 By transmitting and receiving data, a loopback test on the same line becomes possible.

【0060】ただし、図1の2組の回線I/F回路間で
折り返し試験を行う場合は、半二重通信でも全二重通信
のどちらでも折り返し試験を行うことは可能であった
が、図10の構成においては、同一回線上で送受信を同
時に行わなければならないため、全二重通信が可能でな
いと、試験を行うことは出来ない。
However, when the loopback test is performed between the two sets of line I / F circuits in FIG. 1, it is possible to perform the loopback test in either half-duplex communication or full-duplex communication. In the configuration of No. 10, since transmission and reception must be performed simultaneously on the same line, a test cannot be performed unless full-duplex communication is possible.

【0061】異なる回線I/F回路間の折り返し試験の
場合と同様に、図10の構成を用いて、同一回線I/F
回路内での折り返し試験を行う場合について、RS−2
32−C方式における結線の一例を、図11に示す。図
11は、SW回路45は通常動作時にはOFFの状態で
あるが、マイクロプロセッサ2の指示によりON状態に
遷移したときの各信号の結線状態を示したものである。
この図11に示すようにスイッチ回路45がON状態に
遷移することにより、データ転送路46および47を通
じて回線I/F回路44での同一回線I/F回路を用い
た全二重通信の試験を行うことが可能となる。
As in the case of the loopback test between different line I / F circuits, the same line I / F
For the case of performing a loopback test in a circuit, RS-2
FIG. 11 shows an example of the connection in the 32-C system. FIG. 11 shows a connection state of each signal when the SW circuit 45 is in an OFF state during a normal operation, but transitions to an ON state in accordance with an instruction from the microprocessor 2.
By switching the switch circuit 45 to the ON state as shown in FIG. 11, a test of full-duplex communication using the same line I / F circuit in the line I / F circuit 44 through the data transfer paths 46 and 47 is performed. It is possible to do.

【0062】[第4の実施形態]これまでに示した構成
では、回線I/F回路間を接続するスイッチ回路を制御
する信号をマイクロプロセッサから出力させていたが、
第4の実施形態として、これを回線制御回路から出力さ
せる構成を考えることも出来る。この場合の構成を図1
2,図13および図14にしめす。
[Fourth Embodiment] In the configuration described so far, the signal for controlling the switch circuit connecting the line I / F circuits is output from the microprocessor.
As a fourth embodiment, a configuration in which this is output from the line control circuit can be considered. The configuration in this case is shown in FIG.
2, FIG. 13 and FIG.

【0063】図12は、図4の構成において、マイクロ
プロセッサ2より出力していたSW制御信号を、回線制
御回路15,16から出力させるように変更したもので
ある。図12において、SW回路37はデータ転送路2
1および22の間に設けられ、SW制御信号35を介し
て回線制御回路15に接続され、回線制御回路15の制
御に応じてON/OFF動作を行う。SW回路38はデ
ータ転送路23および24の間に設けられ、SW制御信
号36を介して回線制御回路16に接続され、回線制御
回路16の制御に応じてON/OFF動作を行う。
FIG. 12 is a modification of the configuration of FIG. 4 in which the SW control signal output from the microprocessor 2 is output from the line control circuits 15 and 16. In FIG. 12, the SW circuit 37 is connected to the data transfer path 2
1 and 22, which are connected to the line control circuit 15 via the SW control signal 35, and perform an ON / OFF operation according to the control of the line control circuit 15. The SW circuit 38 is provided between the data transfer paths 23 and 24, is connected to the line control circuit 16 via the SW control signal 36, and performs an ON / OFF operation according to the control of the line control circuit 16.

【0064】図13は、図6の構成においてマイクロプ
ロセッサ2より出力していたSW制御信号を回線制御回
路15,16から出力させるように変更したものであ
る。図13において、SW回路41はデータ転送路2
1,22,23の間に設けられ、SW制御信号39を介
して回線制御回路15に接続され、回線制御回路15の
制御に応じてON/OFF動作を行う。SW回路42は
データ転送路22,23,24の間に設けられ、SW制
御信号40を介して回線制御回路16に接続され、回線
制御回路16の制御に応じてON/OFF動作を行う。
FIG. 13 is a modification of the configuration of FIG. 6 in which the SW control signal output from the microprocessor 2 is output from the line control circuits 15 and 16. In FIG. 13, the SW circuit 41 is connected to the data transfer path 2
It is provided between 1, 2, and 23, is connected to the line control circuit 15 via the SW control signal 39, and performs ON / OFF operation according to the control of the line control circuit 15. The SW circuit 42 is provided between the data transfer paths 22, 23, and 24, is connected to the line control circuit 16 via the SW control signal 40, and performs an ON / OFF operation according to the control of the line control circuit 16.

【0065】図14は、図10の構成においてマイクロ
プロセッサ2より出力していたSW制御信号を回線制御
回路50から出力させるように変更したものである。図
14において、SW回路45はデータ転送路46および
47の間に設けられ、SW制御信号51を介して回線制
御回路50に接続され、回線制御回路50の制御に応じ
てON/OFF動作を行う。
FIG. 14 is a modification of the configuration of FIG. 10 in which the SW control signal output from the microprocessor 2 is output from the line control circuit 50. 14, a SW circuit 45 is provided between data transfer paths 46 and 47, is connected to a line control circuit 50 via a SW control signal 51, and performs an ON / OFF operation under the control of the line control circuit 50. .

【0066】[0066]

【発明の効果】以上説明したように、本発明によれば、
従来の通信制御装置内部の折り返し試験では、通信制御
装置内部の回線I/F回路の障害を検出することが出来
なかったが、本発明によるスイッチング回路を用いるこ
とで、これら回線I/F回路を網羅した範囲の試験が可
能となるため、回線I/F回路の障害を検出することが
出来るので、通信制御装置内部の折り返し試験を行う場
合に、外付けの回線ケーブルや折り返しコネクタを装着
することなしに、回線I/F回路を含む通信制御装置内
部の障害を検出することにより、物理的な接続を人手で
変更することなく、容易に高い障害検出率を得ることが
できる。
As described above, according to the present invention,
In the conventional loopback test inside the communication control device, it was not possible to detect a fault in the line I / F circuit inside the communication control device. However, by using the switching circuit according to the present invention, these line I / F circuits can be detected. Since it is possible to perform a test in a comprehensive range, it is possible to detect a fault in the line I / F circuit. Therefore, when performing a loopback test inside the communication control device, attach an external line cable or loopback connector. Without detecting a fault inside the communication control device including the line I / F circuit, a high fault detection rate can be easily obtained without manually changing the physical connection.

【0067】また、回線I/F回路の出力側のスイッチ
ング回路の制御をマイクロプロセッサもしくは回線制御
回路を用いて行うことにより、それらからの出力信号を
用いて回線I/F回路の接続パターンを変更可能となる
ので、人手を介することなく様々な回線I/F回路の接
続パターンで、試験を行うことが可能となる。
Further, by controlling the switching circuit on the output side of the line I / F circuit by using a microprocessor or a line control circuit, the connection pattern of the line I / F circuit is changed by using the output signal from these circuits. Since it becomes possible, it becomes possible to perform tests with various connection patterns of the line I / F circuits without manual intervention.

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

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

【図2】本発明によるスイッチ回路と回線I/F回路と
の結線の例を示した図である。
FIG. 2 is a diagram showing an example of connection between a switch circuit and a line I / F circuit according to the present invention.

【図3】RS−232−Cのピン配置の一覧を示した図
である。
FIG. 3 is a diagram showing a list of RS-232-C pin arrangements;

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

【図5】本発明の動作原理を示す図である。FIG. 5 is a diagram showing the operation principle of the present invention.

【図6】本発明の実施の別形態を示した機能ブロック図
である。
FIG. 6 is a functional block diagram showing another embodiment of the present invention.

【図7】本発明の実施の別形態による動作原理を示した
機能ブロック図である。
FIG. 7 is a functional block diagram showing an operation principle according to another embodiment of the present invention.

【図8】本発明の実施の別形態による動作原理を示した
機能ブロック図である。
FIG. 8 is a functional block diagram showing an operation principle according to another embodiment of the present invention.

【図9】本発明の実施の別形態による動作原理を示した
機能ブロック図である。
FIG. 9 is a functional block diagram showing an operation principle according to another embodiment of the present invention.

【図10】本発明の実施の別形態による動作原理を示し
た機能ブロック図である。
FIG. 10 is a functional block diagram showing an operation principle according to another embodiment of the present invention.

【図11】本発明によるスイッチ回路と回線I/F回路
との結線の例を示した図である。
FIG. 11 is a diagram showing an example of connection between a switch circuit and a line I / F circuit according to the present invention.

【図12】本発明の実施の別形態による動作原理を示し
た機能ブロック図である。
FIG. 12 is a functional block diagram showing an operation principle according to another embodiment of the present invention.

【図13】本発明の実施の別形態による動作原理を示し
た機能ブロック図である。
FIG. 13 is a functional block diagram showing an operation principle according to another embodiment of the present invention.

【図14】本発明の実施の別形態による動作原理を示し
た機能ブロック図である。
FIG. 14 is a functional block diagram showing an operation principle according to another embodiment of the present invention.

【図15】従来の通信制御部の一形態を示す機能ブロッ
ク図である。
FIG. 15 is a functional block diagram showing one form of a conventional communication control unit.

【図16】従来の通信制御部の一形態を示す機能ブロッ
ク図である。
FIG. 16 is a functional block diagram showing one form of a conventional communication control unit.

【図17】コネクタ・モデム折り返し試験の形態を示し
た図である。
FIG. 17 is a diagram illustrating a form of a connector / modem loopback test.

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

1 バスコンバータ回路 2 マイクロプロセッサ(MPU) 3 上位バス 4 ローカルメモリ 5 MPUバス 6,15,16,50 回線制御回路 7,8,17〜20,44 回線I/F回路 9,29,30,33,34,37,38,41,4
2,45 SW回路 10,11,21〜24,46,47 データ転送路 12,13,25〜28,48 回線側コネクタ 14 SW制御信号 31,32,35,36,39,40 SW制御信号
1 Bus converter circuit 2 Microprocessor (MPU) 3 Upper bus 4 Local memory 5 MPU bus 6,15,16,50 Line control circuit 7,8,17-20,44 Line I / F circuit 9,29,30,33 , 34,37,38,41,4
2,45 SW circuit 10,11,21-24,46,47 Data transfer path 12,13,25-28,48 Line side connector 14 SW control signal 31,32,35,36,39,40 SW control signal

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 通信回線を通してデータ通信を制御する
通信制御装置において、複数の回線と接続する回線側コ
ネクタと、該回線側コネクタに接続されるインターフェ
ースとなる複数の回線I/F回路と、該回線I/F回路
との送受信相互のデータを上位バスに送受信する回線制
御手段と、前記回線側コネクタと前記回線I/F回路間
に前記回線側コネクタと前記回線側コネクタ間を短絡/
開放するスイッチとを設け、試験時に前記スイッチを短
絡することを特徴とする通信制御装置。
1. A communication control apparatus for controlling data communication through a communication line, comprising: a line-side connector connected to a plurality of lines; a plurality of line I / F circuits serving as interfaces connected to the line-side connector; Line control means for transmitting and receiving data to and from a higher-level bus for transmission / reception to / from a line I / F circuit;
A communication control device, comprising: a switch for opening the switch; and short-circuiting the switch during a test.
【請求項2】 請求項1に記載の通信制御装置におい
て、さらに、前記上位バスに接続されて前記送受信相互
のデータの構造を変換するバスコンバータ回路と、制御
プログラムを格納するローカルメモリと、前記制御プロ
グラムに従って前記バスコンバータ回路及び前記回線制
御手段、前記スイッチを制御するマイクロプロセッサと
を備えたことを特徴とする通信制御装置。
2. The communication control device according to claim 1, further comprising: a bus converter circuit connected to the upper bus for converting a data structure between the transmitting and receiving devices; a local memory storing a control program; A communication control device, comprising: a microprocessor for controlling the bus converter circuit, the line control means, and the switch according to a control program.
【請求項3】 請求項2に記載の通信制御装置におい
て、前記スイッチは前記回線側コネクタと複数の前記回
線側コネクタ間に設け、前記回線制御手段の指示に従っ
て、前記スイッチを順次切り替えて前記回線側コネクタ
と前記回線側コネクタ間を試験を行うことを特徴とする
通信制御装置。
3. The communication control device according to claim 2, wherein the switch is provided between the line-side connector and a plurality of the line-side connectors, and the switch is sequentially switched according to an instruction of the line control means to switch the line. A communication control device for performing a test between a side connector and the line side connector.
【請求項4】 通信回線を通してデータ通信を制御する
通信制御装置において、送受信回線と接続する回線側コ
ネクタと、該回線側コネクタに接続されるインターフェ
ースとなる送信部及び受信部を有する回線I/F回路
と、該回線I/F回路との送受信相互のデータを上位バ
スに送受信する回線制御手段と、前記回線I/F回路の
前記送信部及び前記受信部間に短絡/開放するスイッチ
とを備え、前記回線制御手段により試験時に前記スイッ
チを短絡することを特徴とする通信制御装置。
4. A communication controller for controlling data communication through a communication line, a line I / F having a line-side connector connected to a transmission / reception line, and a transmission unit and a reception unit serving as an interface connected to the line-side connector. A circuit, line control means for transmitting and receiving data to and from a higher-level bus to and from the line I / F circuit, and a switch for short-circuiting / opening between the transmission unit and the reception unit of the line I / F circuit. A communication control device for short-circuiting the switch during a test by the line control means.
【請求項5】 請求項4に記載の通信制御装置におい
て、前記送受信回線はクライアントからのデータを送受
信するもので、前記上位バスはPCIバスでPCIバス
スロットに挿入してサーバとデータを送受信するもの
で、前記回線制御手段はマイクロプロセッサと該マイク
ロプロセッサの動作手順を格納したメモリとを含み、前
記マイクロプロセッサからの制御信号により前記スイッ
チをオンオフすることを特徴とする通信制御装置。
5. The communication control device according to claim 4, wherein said transmission / reception line transmits / receives data from a client, and said upper bus is inserted into a PCI bus slot by a PCI bus to transmit / receive data to / from a server. Wherein the line control means includes a microprocessor and a memory storing an operation procedure of the microprocessor, and the switch is turned on / off by a control signal from the microprocessor.
JP10347531A 1998-12-07 1998-12-07 Communication controller Pending JP2000174848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10347531A JP2000174848A (en) 1998-12-07 1998-12-07 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10347531A JP2000174848A (en) 1998-12-07 1998-12-07 Communication controller

Publications (1)

Publication Number Publication Date
JP2000174848A true JP2000174848A (en) 2000-06-23

Family

ID=18390865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10347531A Pending JP2000174848A (en) 1998-12-07 1998-12-07 Communication controller

Country Status (1)

Country Link
JP (1) JP2000174848A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012063347A1 (en) * 2010-11-11 2012-05-18 富士通株式会社 Switch device and method for testing switch device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012063347A1 (en) * 2010-11-11 2012-05-18 富士通株式会社 Switch device and method for testing switch device

Similar Documents

Publication Publication Date Title
US6453374B1 (en) Data bus
US6826713B1 (en) Diagnostic access to processors in a complex electrical system
US7353307B2 (en) Linking addressable shadow port and protocol for serial bus networks
US6519544B1 (en) Method and apparatus for IEEE 1394 bus analysis
JP2000174848A (en) Communication controller
US5309092A (en) Token ring test simulation method and device
US6700872B1 (en) Method and system for testing a utopia network element
CN114578211A (en) Automatic test method and device for PCIe bus interface circuit
EP1636598B1 (en) Apparatus and method for sensing emulator cable orientation while providing signal drive capability
JP4335429B2 (en) System switching control device and redundant CPU system of control device
JP2522897B2 (en) Communication port test method
KR910005333B1 (en) Subscriber testing system
JPS6260860B2 (en)
JPS60106247A (en) Diagnostic system of transmitting and receiving circuit
JPH10133903A (en) Data transfer controller and loop back test system
JP2508580B2 (en) Bus termination control system
JP2872118B2 (en) Equipment test method
JP3082455B2 (en) Media connection device
JPH11338594A (en) Defective contact detecting circuit
JP2841436B2 (en) Communication function self-diagnosis device
JPS59219052A (en) Data transmission equipment
JPH08313579A (en) Pc card testing device
JPS6027054B2 (en) Input/output control method
JP2001051868A (en) Data processor with built-in debugging mechanism, host machine, and recording medium
JPH05289789A (en) Input/output device