JPH05300195A - Line state monitoring system - Google Patents

Line state monitoring system

Info

Publication number
JPH05300195A
JPH05300195A JP4102722A JP10272292A JPH05300195A JP H05300195 A JPH05300195 A JP H05300195A JP 4102722 A JP4102722 A JP 4102722A JP 10272292 A JP10272292 A JP 10272292A JP H05300195 A JPH05300195 A JP H05300195A
Authority
JP
Japan
Prior art keywords
line
state
bit
disconnection instruction
interrupt
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
JP4102722A
Other languages
Japanese (ja)
Inventor
Akira Kanayama
晃 金山
Masayuki Kuramoto
雅之 倉本
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
Hitachi Information Systems Ltd
Original Assignee
Hitachi Ltd
Hitachi Information Network 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, Hitachi Information Network Ltd filed Critical Hitachi Ltd
Priority to JP4102722A priority Critical patent/JPH05300195A/en
Publication of JPH05300195A publication Critical patent/JPH05300195A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent the interruption of a program except for disconnecting instructions and to reduce the load of a program processing by separately detecting the entire 24-bit continuation states of an R line and a 1 line and the times of the 24-bit continuation and the disconnecting instruction. CONSTITUTION:A communication controller 200 for connecting line by an X21 interface and performing transmission/reception is provided with line controllers 500-50n. Then, the state of the R and 1 lines from a line terminating equipment 600 is detected, an interruption signal for indicating the same 24-bit state and the interruption signal for indicating only the disconnecting instruction state are outputted, and also the suppression of the interruption by the interruption signal in each state is set and released by the control program. When the state of the lines turns to the state in which the monitoring is unnecessary except for the disconnecting instructions, the detection and the interruption of the same 24-bit state are suppressed by a control program, and only by detecting disconnecting instruction, 24-bit identification and the disconnection instruction can be separately detected.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CCITT勧告のX2
1インタフェースでDCEを用いてデータ通信を行うシ
ステムに係り、特に回線状態監視方式に関する。
The present invention relates to CCITT Recommendation X2.
The present invention relates to a system for performing data communication using DCE with one interface, and particularly to a line state monitoring method.

【0002】[0002]

【従来の技術】通常、デジタル通信網によってデジタル
データ通信を行うようなシステムにおいて、通信制御処
理装置(DTE)とデジタル通信網の間には回線終端装
置(DCE)を介して通信が行われる。
2. Description of the Related Art Generally, in a system in which digital data communication is performed by a digital communication network, communication is performed between a communication control processing unit (DTE) and the digital communication network via a line terminating device (DCE).

【0003】この通信制御処理装置とデジタル通信網に
接続されたDCE間は一般的にCCiTT勧告X21イ
ンタフェースによって接続されている。X21インタフ
ェースでは、通信制御処理装置とDCE間はデータ出力
線であるT線、データ入力線であるR線、制御(状態)
送出線であるC線、制御(状態)入力線であるI線によ
って接続されている。
The communication control processor and the DCE connected to the digital communication network are generally connected by the CCiTT recommended X21 interface. In the X21 interface, between the communication control processing device and the DCE, a T line that is a data output line, an R line that is a data input line, and a control (state)
They are connected by a C line which is a transmission line and an I line which is a control (state) input line.

【0004】CCiTT勧告では、T線又はi線の2進
状態「1」又は「0」はc線又はi線の状態の組合せを
伴って少なくとも24ドット持続し、切断指示信号の検
出は、I線=OFF,R線=0を10ms以上とするこ
とが望ましいと規定されている。
According to the CCiTT recommendation, the binary state "1" or "0" of the T-line or the i-line lasts at least 24 dots with the combination of the states of the c-line or the i-line, and the detection of the disconnection instruction signal is I It is specified that it is desirable that the line = OFF and the R line = 0 be 10 ms or more.

【0005】これについて従来の装置では、24ビット
検出回路を設けその割込み時にR線、I線の状態組合せ
で検出するか、あるいはR線、I線をデータ受信回路を
用いデータとして24ビットみている。
With respect to this, in the conventional apparatus, a 24-bit detection circuit is provided to detect by a state combination of the R line and the I line at the time of interruption, or the R line and the I line are viewed as 24 bits as data using a data receiving circuit. ..

【0006】例えばこの種の技術に関連するものは、特
開昭55−50762号公報「状態検出装置」のように
信号線の同一状態を計数するカウンタを設けて検出する
方法や特開昭64−78056号公報「DTE状態送出
方法とその状態」等がある。
For example, as a technique related to this kind of technique, there is provided a method for detecting by providing a counter for counting the same state of the signal lines as in "state detecting device" of Japanese Patent Laid-Open No. 55-50762, and Japanese Patent Laid-Open No. 64-64. -78056 publication, "DTE state transmission method and its state" and the like.

【0007】[0007]

【発明が解決しようとする課題】信号線(R線、I線)
の状態監視は、接続制御処理中は切断指示以外の信号線
の状態も監視する必要があるためR線、I線の状態が、
24ビット時間以上同一の場合又は、切断指示ならば2
4ビット時間以上継続、かつ10ms以上で監視し、検
出したらプログラムでX21インタフェースの信号制御
処理を行う。
Signal line (R line, I line)
In the state monitoring of, it is necessary to monitor the state of the signal line other than the disconnection instruction during the connection control processing, so the state of the R line and the I line is
If the same for 24 bit time or more, or 2 if disconnection instruction
It continues for 4 bit time or more, and monitors for 10 ms or more, and if detected, executes the signal control processing of the X21 interface by the program.

【0008】しかし前記の24ビット検出回路のみを設
けるその割込み時処理方法では通信可(I線=ON)検
出後の回線が接続された状態で切断指示以外は監視する
必要がないときでも送受信を行なっていない又は送受信
中R線、I線の状態が24ビット時間以上同一になると
切断指示以外でも常にプログラムに割り込みが入ってく
るようになるためプログラムの処理に負荷がかかるとい
う問題がある。又R線、I線をデータとして24ビット
みる方法ではデータ受信中の検出が困難である。
However, in the interrupt-time processing method provided with only the 24-bit detection circuit described above, transmission / reception is possible even when there is no need to monitor anything other than a disconnection instruction while the line is connected after communication is detected (I line = ON). If the state of the R line and the I line during transmission / reception is the same for 24 bits or more during transmission / reception, an interrupt will always be input to the program even if a command other than a disconnection instruction is given, which causes a problem that the processing of the program is burdened. In addition, it is difficult to detect during data reception by the method of observing 24 bits of R line and I line as data.

【0009】本発明の目的は、X21インタフェースで
の接続制御後の送受信制御においてR線、I線の24ビ
ット継続状態すべてと24ビット継続かつ切断指示の時
を区別して検出出来るようにして切断指示以外の状態で
はプログラムには割り込まないようにしてプログラムの
処理負荷を軽減することを可能とする。
An object of the present invention is to provide a disconnection instruction such that all 24-bit continuation states of the R line and I line and 24-bit continuation and disconnection instruction can be detected separately in transmission / reception control after connection control by the X21 interface. In other states, the processing load of the program can be reduced by not interrupting the program.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に本発明においては、X21インタフェースで回線接続
を行って送受信を行う装置において回線終端装置(DC
E)からの信号線(R線、I線)の状態検出を行って2
4ビット同一状態を示す割込み信号と切断指示状態のみ
を示す割込み信号を出力する回路を設けるとともに前
記、各々の状態の割込み信号による割込みの抑止を制御
プログラムで設定及び解除が出来る回路を設ける。
In order to achieve the above object, according to the present invention, a line terminating device (DC) is used in a device that performs line connection by an X21 interface to perform transmission / reception.
2) by detecting the status of the signal line (R line, I line) from E)
A circuit that outputs an interrupt signal indicating the same state of 4 bits and an interrupt signal indicating only the disconnection instruction state is provided, and a circuit that can set and cancel the inhibition of the interrupt by the interrupt signal in each state is provided by a control program.

【0011】[0011]

【作用】本発明において回線の状態が切断指示以外は監
視する必要が無い状態(接続された状態)になった時
は、制御プログラムで24ビット同一状態検出割込みを
抑止することにより切断指示の検出のみ行うことにより
24ビット同一と切断指示を分けて検出することができ
プログラムの負荷を軽減することができる。
According to the present invention, when the line state becomes a state where it is not necessary to monitor other than the disconnection instruction (connected state), the control program suppresses the 24-bit same state detection interrupt to detect the disconnection instruction. By performing only this, it is possible to detect the same 24-bit and disconnection instructions separately and reduce the load on the program.

【0012】[0012]

【実施例】以下、本発明の実施例を図を用いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は、本発明の一実施例による通信制御
処理装置のブロック図を示す。通信制御装置200は、
ホストコンピュータ100と回線終端装置(DCE)6
00と接続されDCE600とは、データ出力線である
T線、データ入力線であるR線、制御(状態)送出線で
あるC線、制御(状態)入力線であるI線に接続され、
ホストコンピュータ100とのチャネル接続150の制
御を行うチャネル制御プロセッサ300、回線コントロ
ーラ(以下LCと称す)500、…、50nの管理をす
るプロセッサ400、データの送受信及び回線インタフ
ェースの制御を行うLC500、…、50nで構成して
いる。
FIG. 1 is a block diagram of a communication control processing device according to an embodiment of the present invention. The communication control device 200 is
Host computer 100 and line termination equipment (DCE) 6
The DCE 600 connected to 00 is connected to a T line which is a data output line, an R line which is a data input line, a C line which is a control (state) transmission line, and an I line which is a control (state) input line,
A channel control processor 300 for controlling a channel connection 150 with the host computer 100, a line controller (hereinafter referred to as LC) 500, ..., A processor 400 for managing 50n, an LC 500 for transmitting / receiving data and controlling a line interface ,. , 50n.

【0014】図2は、本発明を実施したX21インタフ
ェース用のLC500のブロック図を示しており、LC
500を制御するプロセッサである回線インタフェース
制御プロセッサ530(以下LCPと称す)、LCP5
30のプログラムが格納されているローカルメモリ52
0、データの送受信及びキャラクタの分解・組立を行う
送受信コントローラ540、LCP530及びバス57
0制御をする回線制御ユニット510、クロックの生成
及びLC内部制御用のインタバルタイマ560、回線イ
ンタフェース信号線の制御及び監視を行う回線インタフ
ェースコントローラ550(以下LiCと称す)で構成
している。
FIG. 2 shows a block diagram of an LC500 for the X21 interface embodying the present invention.
Line interface control processor 530 (hereinafter referred to as LCP), which is a processor for controlling 500, LCP5
Local memory 52 in which 30 programs are stored
0, a transmission / reception controller 540 that transmits / receives data and disassembles / assembles characters, an LCP 530, and a bus 57.
A line control unit 510 for 0 control, an interval timer 560 for clock generation and LC internal control, and a line interface controller 550 (hereinafter referred to as LiC) for controlling and monitoring the line interface signal line.

【0015】LiC550は以下の様に構成されてい
る。送受信コントローラ540からの送信データを回線
へ送出するか又はX21インタフェース制御信線T線、
C線を制御するためT線、C線の状態指定をするレジス
タ551(以下LCTLと称す)の内容を送出するか切
替える制御回路552、R線、I線の状態が24ビット
継続でかつR線、I線が0かつOFFでない状態を検出
する回路554、R線=0,I線=OFF(切断指示)
の状態が24ビット継続かつ10ms以上同一かを検出
する回路555、回路554、回路555か各々の検出
信号を出力したときプログラムに割込みを行なうかある
いは禁止するレジスタ556(以下XiNTと称す)、
その時のR線、I線の状態が設定されているレジスタ5
57(以下STATと称す)で構成されている。
LiC550 is constructed as follows. The transmission data from the transmission / reception controller 540 is sent to the line, or the X21 interface control line T line,
In order to control the C line, the control circuit 552 that switches or outputs the contents of the register 551 (hereinafter referred to as LCTL) that specifies the states of the T line and the C line, the state of the R line and the I line is 24 bits continuously and the R line , A circuit 554 for detecting a state where the I line is 0 and not OFF, R line = 0, I line = OFF (disconnect instruction)
Register 556 (hereinafter referred to as XiNT) that interrupts or prohibits the program when the detection signals of the circuit 555, the circuit 554, and the circuit 555 that detect whether the state of 24 bits continues for 10 ms or more are output,
Register 5 in which the state of R line and I line at that time is set
57 (hereinafter referred to as STAT).

【0016】回線の接続(着信制御)から切断までの制
御を例として本発明を説明する。
The present invention will be described by taking control from line connection (incoming control) to disconnection as an example.

【0017】着信制御の指示を受けるとLCP530は
LiC550内のレジスタLCTL551の値をT線=
1,C線=OFFにしてDTEレディ状態に設定後、D
CEレディ(R線=1,I線=OFF)状態を検出する
ために回路556をR線、I線の状態が24ビット同一
又は切断指示検出で割り込みが発生するよう回路55
3、回路555の出力割込み信号を許可するよう指定す
る。回路554が24ビット同一状態回路でかつR線=
0,I線=OFFでない状態を検出するとR線、I線の
状態が24ビット同一を検出すると信号571が出力さ
れレジスタXiNT556を介してLCP530に割り
込みが発生し、この時LCP530がレジスタSTAT
557の内容をリードしてDCEレディ状態ならDCE
からの「着呼信号」を受信するために送受信コントロー
ラ540に受信指示を出す。「着呼信号」を受信すると
LCP530は、レジスタLCTL551を「着呼受
付」(T線=1,C線=ON)に設定して通信可(R線
=1,I線=ON)検出待ちになる。通信可検出後は接
続された状態であるため、これ以後のR線、I線の状態
監視は切断指示だけを行なうようにするためレジスタ5
56の24ビット同一状態検出554の出力信号571
による割込みのみを抑止するように指定する。これによ
りR線、I線の状態が切断指示以外で24ビット時間以
上同一であって回路554から信号571が出力されて
もレジスタ556で割り込みを抑止しているためLCP
530のプログラムには割り込みが発生しない。
When receiving the instruction of the incoming control, the LCP 530 sets the value of the register LCTL551 in the LiC550 to the T line =
After setting the C line = OFF and setting the DTE ready state,
In order to detect the CE ready (R line = 1, I line = OFF) state, the circuit 556 is configured so that the state of the R line and the I line is the same for 24 bits or an interrupt is generated when the disconnection instruction is detected.
3. Designate to allow the output interrupt signal of the circuit 555. The circuit 554 is a 24-bit same-state circuit and the R line =
When the state where 0 and I line are not OFF is detected, when the state of R line and I line is the same for 24 bits, a signal 571 is output and an interrupt is generated to the LCP 530 via the register XiNT 556. At this time, the LCP 530 is set to the register STAT.
If the contents of 557 are read and DCE is ready, DCE
In order to receive the "incoming call signal" from the transmission / reception controller, a reception instruction is issued to the transmission / reception controller 540. Upon receipt of the "incoming call signal", the LCP 530 sets the register LCTL551 to "incoming call acceptance" (T line = 1, C line = ON) and waits for communication (R line = 1, I line = ON) to wait for detection. Become. Since the state is connected after the communication is detected, the register 5 is used to monitor the state of the R line and the I line thereafter so that only the disconnection instruction is given.
56 output signal 571 of 24-bit same state detection 554
Specifies that only interrupts due to are suppressed. As a result, even if the state of the R line and the I line is the same for 24 bits or more except for the disconnection instruction, and the signal 571 is output from the circuit 554, the interrupt is suppressed by the register 556, so the LCP.
No interrupt occurs in the program of 530.

【0018】R線=0、I線=OFFの状態が24ビッ
トかつ10ms同一状態であると切断指示検出回路55
5は切断指示検出信号572をと出力しレジスタXiN
T556を介してLCP530に割り込みが発生し、こ
の時のレジスタSTAT557の内容をリードすること
によりDCEからの切断指示を検出する。
If the state of R line = 0 and I line = OFF is the same state for 24 bits and 10 ms, the disconnection instruction detection circuit 55
5 outputs the disconnection instruction detection signal 572 to output the register XiN.
An interrupt is generated in the LCP 530 via T556, and the content of the register STAT557 at this time is read to detect the disconnection instruction from the DCE.

【0019】[0019]

【発明の効果】以上のように、本発明によれば、R線、
I線の状態検出の割り込みは、24ビット状態継続検出
の場合と切断指示の場合を分けて検出できるとともにそ
の割込みの抑止は各々任意に設定及び解除が出来る。こ
れにより回線接続後はR線、I線の状態検出による割り
込みを切断指示のみに設定することにより送受信処理中
にR線、I線の状態が24ビット時間以上同一でも切断
指示以外では、LCP530のプログラムには割り込み
が発生しないためプログラムの処理負荷を軽減する効果
がある。
As described above, according to the present invention, the R line,
The interrupt for detecting the state of the I line can be detected separately for the case of 24-bit state continuation detection and the case of disconnection instruction, and the inhibition of the interrupt can be arbitrarily set and released. As a result, after the line is connected, the interrupt due to the state detection of the R line and the I line is set to the disconnection instruction only, and even if the state of the R line and the I line is the same for 24 bits time or more during the transmission / reception processing, the LCP 530 Since the program is not interrupted, it has the effect of reducing the processing load of the program.

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

【図1】一実施例による通信制御処理装置のブロック図
である。
FIG. 1 is a block diagram of a communication control processing device according to an embodiment.

【図2】本発明実施において採用したX21インタフェ
ース用の回線コントローラのブロック図である。
FIG. 2 is a block diagram of a line controller for an X21 interface adopted in implementing the present invention.

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

500…回線コントローラ、 550…回線インタフェースコントローラ、 553…R線、I線の状態検出レジスタ、 554…24ビット同一状態検出回路、 555…切断指示検出回路、 556…X21状態監視用割込み抑止レジスタ。 500 ... Line controller, 550 ... Line interface controller, 553 ... R line and I line state detection register, 554 ... 24-bit same state detection circuit, 555 ... Disconnection instruction detection circuit, 556 ... X21 state monitoring interrupt suppression register.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04L 29/14 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI technical display location H04L 29/14

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】国際電信電話諮問委員会(以下CCITT
と称す)勧告のX21インタフェース回線終端装置(以
下DCEと称す)を用いてデータ通信を行うシステムに
おいて、DCEからの信号線(R線、I線)の状態監視
を行ない同一状態が24ビット以上継続したことをもっ
て割込み信号を発生させる回路と切断指示状態のみを示
す割込み信号を発生させる回路及び、各々の状態検出の
割込み信号による割込みの抑止を制御プログラムで設定
及び解除ができる回路とを有し、この割込み信号をトリ
ガとして信号線の状態(「0」状態又は「1」状態)を
分析することによって回線の状態が切断指示以外は監視
する必要が無い状態(接続された状態)になった時は、
制御プログラムで24ビット同一状態検出割り込みを抑
止することにより切断指示のみ行うことにより24ビッ
ト同一と切断指示状態を分けて検出できるようにしたこ
とを特徴とする回線状態監視方式。
[Claim 1] International Telegraph and Telephone Advisory Committee (CCITT
In the system that performs data communication using the recommended X21 interface line terminator (hereinafter referred to as DCE), the state of the signal line (R line, I line) from DCE is monitored and the same state continues for 24 bits or more. And a circuit that generates an interrupt signal indicating only a disconnection instruction state, and a circuit that can set and release interrupt suppression by an interrupt signal for each state detection by a control program, This interrupt signal is used as a trigger to analyze the state of the signal line (“0” state or “1” state), and when the line state becomes a state where there is no need to monitor other than a disconnection instruction (connected state) Is
A line status monitoring method characterized in that the control program suppresses the 24-bit same-state detection interrupt so that only the disconnection instruction is given so that the same 24-bit state and the disconnection instruction state can be detected separately.
JP4102722A 1992-04-22 1992-04-22 Line state monitoring system Pending JPH05300195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4102722A JPH05300195A (en) 1992-04-22 1992-04-22 Line state monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4102722A JPH05300195A (en) 1992-04-22 1992-04-22 Line state monitoring system

Publications (1)

Publication Number Publication Date
JPH05300195A true JPH05300195A (en) 1993-11-12

Family

ID=14335164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4102722A Pending JPH05300195A (en) 1992-04-22 1992-04-22 Line state monitoring system

Country Status (1)

Country Link
JP (1) JPH05300195A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8917609B2 (en) 2008-03-18 2014-12-23 Fujitsu Limited Line monitoring apparatus and line monitoring method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8917609B2 (en) 2008-03-18 2014-12-23 Fujitsu Limited Line monitoring apparatus and line monitoring method

Similar Documents

Publication Publication Date Title
JPH05300195A (en) Line state monitoring system
JPH0126217B2 (en)
US5970087A (en) Transmission device
JPH0358217B2 (en)
KR100206991B1 (en) Communication protocol processing method
JP2000269863A (en) Dcme unit and line changeover method
JP2750944B2 (en) Failure detection method in token ring LAN
JP2516256B2 (en) Failure detection method
JPS6036147B2 (en) Synchronous detection method
JP3910903B2 (en) Control packet receiving method and receiving apparatus
KR100217738B1 (en) Computer communication speed improving method of keyphone
JPS615654A (en) Initial setting system of digital line terminator
JP2715137B2 (en) Communication network control method
JP2591457B2 (en) Data line termination device management method
JP2924950B2 (en) Interface circuit for electronic exchange
JP2569603B2 (en) Signal processing method for digital subscriber line accommodation equipment.
JP2000250624A (en) Monitoring system for intra-device state
JPS61156945A (en) Reception-status notification control system
JPH0654023A (en) Communication terminal adaptor
JP2758762B2 (en) Auto fallback apparatus and method
JPH0621965A (en) Data communication equipment
JPH0653990A (en) Electronic computer
JPH03117945A (en) Communication equipment using hdlc procedure
JPH05236543A (en) Customer promises communication controller
JPH0685942A (en) Automatic fault notice system