JP2921105B2 - Modem with condition diagnosis function - Google Patents

Modem with condition diagnosis function

Info

Publication number
JP2921105B2
JP2921105B2 JP2310642A JP31064290A JP2921105B2 JP 2921105 B2 JP2921105 B2 JP 2921105B2 JP 2310642 A JP2310642 A JP 2310642A JP 31064290 A JP31064290 A JP 31064290A JP 2921105 B2 JP2921105 B2 JP 2921105B2
Authority
JP
Japan
Prior art keywords
unit
state
control unit
reset
data communication
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.)
Expired - Fee Related
Application number
JP2310642A
Other languages
Japanese (ja)
Other versions
JPH04181852A (en
Inventor
秀幸 相川
哲次 森下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2310642A priority Critical patent/JP2921105B2/en
Publication of JPH04181852A publication Critical patent/JPH04181852A/en
Application granted granted Critical
Publication of JP2921105B2 publication Critical patent/JP2921105B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 〔概 要〕 電話回線の交換機能を持ったモデムに関し、 モデムの作動状態を診断し、また、その結果適正な動
作をしていないときは、モデムを適正化する状態診断機
能付モデムを提供することを目的とし、 外部の交換機を復調部と変調部に接続し交換回線との
制御を行う交換回線制御部と、前記復調部と前記変調部
を外部の通信実施機に接続しデータ通信の制御を行うデ
ータ通信制御部とを備えたモデムに、前記交換回線制御
部の制御状態及び前記データ通信制御部の制御状態を検
出する状態検出部と、この状態検出部の検出データを外
部へ出力するインタフェースとを設け、インタフェース
が、出力した検出データに基づくリセット指令を受け
て、前記交換回線制御部と前記データ通信制御部に対し
リセット指令を出力するようにしたものである。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a modem having a telephone line switching function. The operating state of the modem is diagnosed, and as a result, if the modem is not operating properly, the modem is optimized. A switching line control unit for controlling a switching line by connecting an external switching unit to a demodulation unit and a modulation unit, and an external communication execution unit for connecting the demodulation unit and the modulation unit with each other. A modem having a data communication control unit connected to and controlling data communication, a state detection unit for detecting a control state of the switching line control unit and a control state of the data communication control unit, and a state detection unit. An interface for outputting detection data to the outside is provided, and the interface receives a reset command based on the output detection data, and issues a reset command to the switching line control unit and the data communication control unit. It is obtained so as to force.

また、上記モデムに、前記交換回線制御部の制御状態
及び前記データ通信制御部の制御状態を検出する状態検
出部と、リセットすべき異常状態の制御状態を記憶した
リセット状態記憶部と、このリセット状態記憶部の記憶
内容と前記状態検出部の検出データとを比較し一致した
とき前記交換回線制御部と前記データ通信制御部に対し
前記リセット指令を出力する比較部とを設けたものであ
る。
The modem further includes a state detection unit that detects a control state of the switching line control unit and a control state of the data communication control unit; a reset state storage unit that stores a control state of an abnormal state to be reset; A switching unit for comparing the storage contents of the state storage unit with the detection data of the state detection unit and outputting the reset command to the data communication control unit when they match.

また、上記モデムに、前記交換回線制御部の制御状態
及び前記データ通信制御部の制御状態を検出する状態検
出部と、前記制御状態を初期状態にリセットする外部操
作入力のリセット指令を受けて前記交換回線制御部と前
記データ通信制御部に対し前記リセット指令を出力する
インタフェースと、このインタフェースが前記リセット
指令を出力したときの前記状態検出部の検出データを記
憶するリセット状態記憶部と、このリセット状態記憶部
の記憶内容と前記状態検出部の検出データが一致したと
き前記交換回線制御部と前記データ通信制御部に対し前
記リセット指令を出力する比較部とを設けたものであ
る。
The modem further includes a state detection unit that detects a control state of the switching line control unit and a control state of the data communication control unit, and a reset command of an external operation input that resets the control state to an initial state. An interface for outputting the reset command to the switching line control unit and the data communication control unit; a reset state storage unit for storing detection data of the state detection unit when the interface outputs the reset command; A switching unit that outputs the reset command to the switched line control unit and the data communication control unit when the storage content of the state storage unit matches the detection data of the state detection unit.

また上記モデムに、前記交換回線制御部の制御状態及
び前記データ通信制御部の制御状態を検出する状態検出
部と、この状態検出部の検出データを外部に出力すると
共に、この出力に基づいて入力されたリセット指令を前
記交換回線制御部と前記データ通信制御部に出力して前
記それぞれの制御状態を初期状態にリセットするインタ
フェースと、このインタフェースが前記リセット指令を
出力したときの前記状態検出部の検出データを記憶する
リセット状態記憶部と、このリセット状態記憶部の記憶
内容と前記状態検出部の検出データが一致した時、前記
交換回線制御部と前記データ通信制御部へ前記リセット
指令を出力する比較部とを設けたものである。
Also, to the modem, a state detection unit for detecting a control state of the switching line control unit and a control state of the data communication control unit, outputting detection data of the state detection unit to the outside, and inputting based on the output. An interface for outputting the reset command to the switching line control unit and the data communication control unit to reset the respective control states to the initial state, and the state detection unit when the interface outputs the reset command. A reset state storage unit for storing detection data; and outputting the reset command to the switching line control unit and the data communication control unit when the storage content of the reset state storage unit matches the detection data of the state detection unit. A comparison unit is provided.

〔産業上の利用分野〕[Industrial applications]

本発明は、電話回線の交換機能を持ったモデムに関す
る。
The present invention relates to a modem having a telephone line switching function.

従来より遠隔の計算機と端末との間を電話回線を用い
て接続する交換機能付モデムが使われてきた。これは計
算機や端末とのRS232C(米国電子工業会EIA規格,同じ
ものがJIS:X5101や国際規格CCITT:V.24となっている)
インタフェースと電話回線の交換機能を合わせて持って
おり、自動発信,自動着信などの機能を行うことができ
る。
Conventionally, a modem with a switching function for connecting a remote computer and a terminal using a telephone line has been used. This is RS232C with computers and terminals (EIA standard of the Electronic Industries Association of America, the same is JIS: X5101 and international standard CCITT: V.24)
It has both an interface and a telephone line switching function, and can perform functions such as automatic calling and automatic receiving.

ところが、この交換機能付モデムは、しばしば交換機
側の交換機能,モデムの交換機能及びRS232C信号の制御
部機能、そして計算機側のRS232C信号のインタフェース
が少しづつ異なることから、電話回線がハングアップし
た状態に陥ったり、また、モデムの故障などの原因で自
動着信の機能が正常に働かないことがあった。ここでハ
ングアップした状態とは、モデムの自動着信などの動作
が正常に行われない状態で、例えばモデムに対して電話
がかかってきて、一旦着信したが、その後のホストへの
接続手続きが行われず、電話をかけた側は入手によって
電話を切ったが、モデム側は回線を保持したままの状態
でいて、次に新たに電話がかかってくると、話中の状態
となるような状態である。
However, the modem with the exchange function often has a telephone line hang-up because the exchange function on the exchange side, the exchange function of the modem and the control unit function of the RS232C signal, and the interface of the RS232C signal on the computer side are slightly different. In some cases, the automatic call receiving function did not work properly due to the failure of the modem or the like. Here, the hang-up state is a state in which operations such as automatic reception of the modem are not performed normally.For example, a call is received from the modem and the call is received once, but the connection procedure to the host is performed thereafter. The caller hangs up the phone when he gets it, but the modem keeps the line, and the next time a call arrives, the phone is busy. is there.

〔従来の技術〕[Conventional technology]

従来、交換機能のついたモデムを使って自動受信のサ
ービスを行っている場合、電話回線側の状態がハングア
ップしたときに、計算機のRS232Cインタフェース側から
は、これを感知することができなかった。
Conventionally, when using a modem with a switching function to provide automatic reception service, if the state of the telephone line hangs up, it could not be detected from the RS232C interface side of the computer .

モデムがハングアップしているか否かを検出する最も
簡単な第1の方法は、モデムに付けられたインジケータ
を操作者が目で見て判断する方法である。モデムには通
常通信中であるか否かを示すオン・オフ表示や、通信お
よびこの制御信号の出力状態を示すインジケータが設け
られている。ここで通信およびこの制御信号のJIS表示
の略号を説明する。
The first and simplest way to detect whether the modem is hung is to visually determine the indicator attached to the modem by the operator. The modem is provided with an on / off display indicating whether or not normal communication is being performed, and an indicator indicating communication and an output state of the control signal. Here, the communication and the abbreviation of the JIS display of this control signal will be described.

SD:送信データ;端末機からモデムを介して相手に送
るデータ RD:受信データ;モデムを介して相手から受け取るデ
ータ RS:送信要求;端末機が送信することをモデムに要求
する信号 CS:通信可;RSに対してモデムから返送される送信の許
可信号 DR:データ・セット・レディ;端末機からのERに対し
てモデムからの了承の信号 :データ端末レディ;伝送に先立って端末からモデム
が動作可能な状態になるように要求する信号 CD:データ・チャネル受信キャリア検出;受信側のモ
デムが相手のモデムからのキャリア(搬送波)を検出し
たことを端末機に通知する信号 2番目の方法は計算機側でモデムがハングアップして
いるか否かにかかわらず、一定時間毎にER信号をオフに
する方法である。通常のモデムであると、ER信号がオフ
になると通信状態をリセットすることができ、これによ
り通信接続を再度行い、ハングアップ状態を解消させ
る。
SD: transmission data; data sent from the terminal to the other party via the modem RD: reception data; data received from the other party via the modem RS: transmission request; signal requesting the modem to transmit from the terminal CS: communicable ; Transmission permission signal returned from modem to RS DR: Data set ready; Signal from modem to acknowledgment from modem to terminal ER: Data terminal ready; Modem operates from terminal prior to transmission Signal for requesting to be in a possible state CD: Data channel reception carrier detection; signal for notifying the terminal that the receiving modem has detected the carrier (carrier) from the other modem The second method is a computer This is a method of turning off the ER signal at regular intervals regardless of whether the modem is hung up on the side. With a normal modem, the communication state can be reset when the ER signal is turned off, thereby re-establishing the communication connection and eliminating the hang-up state.

3番目の方法は、実際にモデムの電話回線に電話をか
けて、実際につながることを確認する方法である。正常
に接続されていなければモデムに異常があると判断する
方法である。
The third method is a method of actually calling a telephone line of a modem and confirming that the connection is actually established. If it is not connected properly, it is a method to determine that there is an abnormality in the modem.

これら3つのいづれの方法でも、モデムがハングアッ
プしていると判断された場合には、手動、または計算機
からのER信号を一旦切ることによりモデムの状態をリセ
ットすることができる。
In any of these three methods, if it is determined that the modem is hung up, the state of the modem can be reset manually or by temporarily turning off the ER signal from the computer.

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

しかし、操作者がインジケータの状態を監視する第1
の方法は、操作者がいちいちモデムを設置してある場所
まで行く必要があり、1回当たりのチェックに要する時
間は少しでも定期的に行うにはかなりの労力が必要であ
る。さらにモデムのインジケータは、あくまで目安を示
すものであり、全ての状態がわかるようには配慮されて
いないので、このインジケータからそのモデムがハング
アップしていることを正確に判断することは困難であ
る。
However, when the operator monitors the status of the indicator,
In the method of (1), it is necessary for the operator to go to the place where the modem is installed each time, and even if the time required for one check is small, it requires a considerable amount of labor to perform the check periodically. Furthermore, since the indicator of the modem is only a guide and it is not considered so that all states can be understood, it is difficult to accurately determine that the modem is hung up from this indicator. .

また、第2の方法は、ER信号を定期的にオフするの
で、モデムが実際にハングアップしているか否かにかか
わらずモデムをリセットしてしまうため、ユーザが接続
しようとしている瞬間にリセットをかけてしまうという
ことが発生する。
In the second method, since the ER signal is periodically turned off, the modem is reset regardless of whether or not the modem is actually hung up. It happens that it is over.

第3の方法は、実際に電話をかけて接続を確認するの
で、モデムの異常をかなり正確に検出できるが、実際に
その電話回線から計算機に接続しようとするユーザの通
信を妨げる可能性がある。
In the third method, since the connection is actually confirmed by calling, the abnormality of the modem can be detected fairly accurately, but there is a possibility that the communication of the user who actually tries to connect to the computer from the telephone line may be hindered. .

本発明は、上述の問題点に鑑みてなされたもので、モ
デムの動作状態を診断し、またその結果適正な動作をし
ていないときは、モデムを適正化する状態診断機能付モ
デムを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides a modem with a state diagnosis function for diagnosing an operating state of a modem and, if the operation is not proper, as a result, optimizing the modem. The purpose is to:

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

第1図は本発明の第1原理図である。 FIG. 1 is a first principle diagram of the present invention.

同図において、1は復調部、2は変調部、3は交換回
線制御部で、外部の交換機と復調機1と変調部2を接続
し、交換回線とのモデムの送受信のインタフェースをと
ったり、通信のオン・オフを行う。4はデータ通信制御
部で、計算機や端末などの通信実施機との間でRS232Cイ
ンタフェースを行う。ER,DRなどの制御信号を入出力す
ると共に通信実施機間での実データ(制御信号を除いた
送信したいデータ)の通信を行う。5は状態検出器で交
換回線制御部3の制御状態(以下制御状態を単に状態と
も称する、ここでは電話器として接続されているか否
か、実際にアナログ信号が流れているかなど)とデータ
通信制御部4の状態(ER,DR,RS,CSなどのRS232Cで定義
された各信号線のオン・オフ等)を検出する。6はイン
タフェースで、状態検出部5で検出したデータを外部の
診断用端末に出力する。
In the figure, 1 is a demodulation unit, 2 is a modulation unit, 3 is a switching line control unit, which connects an external exchange with the demodulation unit 1 and the modulation unit 2 to interface with a switching line for transmitting and receiving a modem and for communication. On and off. Reference numeral 4 denotes a data communication control unit which performs an RS232C interface with a communication execution device such as a computer or a terminal. It inputs and outputs control signals such as ER and DR, and also communicates actual data (data to be transmitted excluding control signals) between communication implementing machines. Reference numeral 5 denotes a state detector, which is a control state of the switching line control unit 3 (hereinafter, the control state is also simply referred to as a state, here, whether or not the telephone is connected as a telephone, whether an analog signal is actually flowing, etc.) and data communication control. It detects the state of the unit 4 (ON / OFF of each signal line defined by RS232C such as ER, DR, RS, CS, etc.). Reference numeral 6 denotes an interface that outputs data detected by the state detection unit 5 to an external diagnostic terminal.

また、インタフェース6が、出力した検出データに基
づくリセット指令を診断用端末より入力して、前記交換
回線制御部3と前記データ通信制御部4にリセット指令
を出力してその制御状態を接続前の状態である初期状態
にリセット(以下通信状態をリセット)する。
Further, the interface 6 inputs a reset command based on the output detection data from the diagnostic terminal, outputs a reset command to the exchange control unit 3 and the data communication control unit 4, and changes the control state before connection. Reset to the initial state, which is the state (hereinafter, reset the communication state).

第2図は本発明の第2原理図である。 FIG. 2 is a second principle diagram of the present invention.

同図において、1〜5の各部は第1図と同じ機能を有
する。7はリセット状態記憶部で、モデムが異常状態で
リセットする必要のある場合の交換回線制御部3及びデ
ータ通信制御部4の制御状態を予め記憶している。8は
比較部で、このリセット状態記憶部7の記憶内容と状態
検出部5の検出データを比較し、一致したとき前記交換
回線制御部3と前記データ通信制御部4へ通信状態のリ
セット指令を出力する。
In this figure, each of the parts 1 to 5 has the same function as in FIG. Reference numeral 7 denotes a reset state storage unit which stores in advance the control states of the switching line control unit 3 and the data communication control unit 4 when the modem needs to be reset in an abnormal state. Numeral 8 denotes a comparing unit which compares the stored contents of the reset state storage unit 7 with the detection data of the state detecting unit 5 and, when they match, issues a communication state reset command to the switching line control unit 3 and the data communication control unit 4. Output.

第3図は本発明の第3原理図である。 FIG. 3 is a third principle diagram of the present invention.

同図において、1〜5,8の各部は第2図と同じ機能を
有する。6はインタフェースで前記交換回線制御部3と
前記データ通信制御部4へ通信状態のリセット指令を出
力し、7はリセット状態記憶部で、このインタフェース
6が、外部操作入力のリセット指令を受けて、リセット
指令を出力したときの前記状態検出部5の検出データを
リセット状態として記憶する。
In this figure, the components 1 to 5 and 8 have the same functions as in FIG. Reference numeral 6 denotes an interface for outputting a communication state reset command to the switching line control unit 3 and the data communication control unit 4. Reference numeral 7 denotes a reset state storage unit. The interface 6 receives an external operation input reset command. The data detected by the state detector 5 when the reset command is output is stored as a reset state.

第4図は本発明の第4原理図である。 FIG. 4 is a fourth principle diagram of the present invention.

同図において、1〜5,7,8の各部は第3図と同じ機能
を有する。6はインタフェースで、前記状態検出部5の
検出データを入力して診断用端末に出力し、この診断用
端末からの通信状態のリセット指令を受けて同指令を前
記交換回線制御部3と前記データ通信制御部4へ出力す
る。
In this figure, the components 1 to 5, 7, and 8 have the same functions as those in FIG. Reference numeral 6 denotes an interface, which inputs the detection data of the state detection unit 5 and outputs the data to the diagnostic terminal. Output to the communication control unit 4.

〔作 用〕(Operation)

上記構成により、第1原理図の場合、交換回線制御部
3とデータ通信制御部4の状態が状態検出部5で検出さ
れ、インタフェース6を介して診断用端末へ出力される
ので、ハングアップの状態を遠隔において目視または状
態解析により検出することができ、この検出データを検
討しハングアップ状態であるとわかったときは、インタ
フェース6よりリセット信号を交換回線制御部3とデー
タ通信制御部4へ送り、リセットさせることによりハン
グアップ状態を解消できる。
With the above configuration, in the case of the first principle diagram, the states of the switching line control unit 3 and the data communication control unit 4 are detected by the state detection unit 5 and output to the diagnostic terminal via the interface 6, so that the hang-up occurs. The state can be detected by visual observation or state analysis remotely, and if the detected data is examined and it is found that the state is a hang-up state, a reset signal is sent from the interface 6 to the switching line control unit 3 and the data communication control unit 4. The hang-up state can be eliminated by sending and resetting.

また、第2原理図の場合、リセットする状態を予めリ
セット状態記憶部7へ記憶しておき、状態検出部5の検
出データと比較して一致した時比較部8よりリセット指
令を交換回線制御部3とデータ通信制御部4へ出力して
リセットすることにより、一度リセットすべき状態をメ
モリに設定しておけばその状態で自動的にリセット指令
が出力されるので、ハングアップが自動的に解消でき
る。
In the case of the second principle diagram, the state to be reset is stored in the reset state storage unit 7 in advance, and compared with the detection data of the state detection unit 5, the reset command is sent from the comparison unit 8 when they match with each other. 3 and output to the data communication control unit 4 for resetting, once the state to be reset is set in the memory, the reset command is automatically output in that state, and the hang-up is automatically eliminated. it can.

また、第3原理図の場合、外部操作によりインタフェ
ース6からリセット信号を交換制御部3とデータ通信制
御部4へ出力してリセットさせる。このときの状態検出
部5の検出データをリセット状態としてリセット状態記
憶部7に記憶させることにより、以降リセット状態が発
生すれば、自動的にリセットされハングアップ状態が解
消される。
In the case of the third principle diagram, a reset signal is output from the interface 6 to the exchange control unit 3 and the data communication control unit 4 by an external operation to be reset. By storing the detection data of the state detection unit 5 at this time as a reset state in the reset state storage unit 7, if a reset state subsequently occurs, the reset is automatically performed and the hang-up state is eliminated.

第4原理図の場合、インタフェース6は、モデムの状
態を状態検出部5の検出データとして診断用端末に出力
し、診断用端末でハングアップ状態を判断し、このハン
グアップ状態のとき入力されたリセット信号を交換回線
制御部3とデータ通信制御部4に出力してリセットす
る。このリセットしたときの状態をリセット状態記憶部
7は状態検出部5から入力して記憶し、モデムが同様の
リセット状態となったとき自動的に比較部8よりリセッ
ト信号が交換回線制御部3とデータ通信制御部4へ出力
されリセットされる。これによりハングアップ状態が解
消される。
In the case of the fourth principle diagram, the interface 6 outputs the state of the modem to the diagnostic terminal as detection data of the state detector 5, judges the hang-up state at the diagnostic terminal, and inputs the hang-up state. A reset signal is output to the switching line control unit 3 and the data communication control unit 4 for resetting. The reset state storage unit 7 inputs and stores the state at the time of reset from the state detection unit 5, and automatically outputs a reset signal from the comparison unit 8 to the switched line control unit 3 when the modem enters the same reset state. The data is output to the data communication control unit 4 and reset. This eliminates the hang-up state.

〔実 施 例〕〔Example〕

以下、本発明の実施例を図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第5図は本発明の実施例の構成を示すブロック図であ
る。同図において、細線の枠内の各部は公知の装置を示
し、太線の枠内の各部が本実施例で追加された装置を示
す。
FIG. 5 is a block diagram showing the configuration of the embodiment of the present invention. In the same figure, each part in a thin line frame shows a known device, and each part in a thick line frame shows a device added in this embodiment.

10は復調部で、変調を受けた信号から元の信号を取り
出す。11は変調部で、信号伝送のために搬送信号のパラ
メータを入力信号に応じて変化させる。12は変換回線制
御部で、交換回線とのデータの送受信のインタフェース
をとり、受話器としての機能である回線のオン・オフ動
作を行う。13はRS232C制御部で、接続されている計算機
や端末などの間でRS232Cインタフェースを行い、ER,DR
……などの信号制御部と計算機や端末間での通信したい
実データの通信を行う。14は25ピンコネクタ、15は変調
部11、交換回線制御部12、RS232C制御部13を制御する制
御部、16はER信号線をオン・オフするスイッチであり、
このスイッチのオフにより交換回線制御部12も共にリセ
ットされる。17は検出回路で、変換回線制御部12の受話
器のオン・オフ信号とRS232C制御部13のER,DR,RS,CS,CD
の各信号を検出する。18は記憶回路で後述する制御部23
の指示により検出回路17の検出データを記憶する。19は
比較回路で検出回路17の検出データと記憶回路18の記憶
データを比較し、一致したか否かを検出する。20はRS23
2C制御部で、ハードウエア的にはRS232C制御部13と同一
であり、診断用端末に検出回路17の検出データを出力
し、また診断用端末からのコマンドを入力する。21はコ
マンドテーブルで診断用端末から入力されるコマンドの
内容が記憶されている。22はコマンド認識部で、診断用
端末および比較回路19から入力されたコマンドの意味を
コマンドテーブル21から解釈し、コマンドの内容を制御
部23に依頼する。23は制御部で、コマンド認識部22より
リセット命令が入力されるとスイッチ16を操作してER出
力を切断してリセットさせ、また検出回路17の検出デー
タをRS232C制御部20へ伝送し、リセット命令を出力する
ときは、その時の検出回路17の検出データをリセットデ
ータとして記憶回路18に記憶させる。
A demodulation unit 10 extracts an original signal from the modulated signal. Numeral 11 denotes a modulator for changing the parameters of the carrier signal for signal transmission according to the input signal. Reference numeral 12 denotes a conversion line control unit, which interfaces data transmission and reception with the switching line, and performs on / off operation of a line which is a function as a receiver. Reference numeral 13 denotes an RS232C control unit that performs an RS232C interface between connected computers and terminals, and
Communication of actual data to be communicated between a signal control unit such as... And a computer or a terminal is performed. 14 is a 25-pin connector, 15 is a control unit that controls the modulation unit 11, the switching line control unit 12, and the RS232C control unit 13, and 16 is a switch that turns on and off the ER signal line,
When the switch is turned off, the switching line controller 12 is also reset. Reference numeral 17 denotes a detection circuit, which is a receiver ON / OFF signal of the conversion line control unit 12 and ER, DR, RS, CS, CD of the RS232C control unit 13.
Are detected. Reference numeral 18 denotes a storage circuit which will be described later.
The detection data of the detection circuit 17 is stored according to the instruction. A comparison circuit 19 compares the detection data of the detection circuit 17 with the storage data of the storage circuit 18 and detects whether or not they match. 20 is RS23
The 2C control unit is the same as the RS232C control unit 13 in hardware, outputs detection data of the detection circuit 17 to the diagnostic terminal, and inputs a command from the diagnostic terminal. Reference numeral 21 denotes a command table in which the contents of commands input from the diagnostic terminal are stored. A command recognition unit 22 interprets the meaning of the command input from the diagnostic terminal and the comparison circuit 19 from the command table 21 and requests the control unit 23 for the content of the command. Reference numeral 23 denotes a control unit.When a reset command is input from the command recognition unit 22, the switch 16 is operated to cut off the ER output and reset, and the detection data of the detection circuit 17 is transmitted to the RS232C control unit 20, and reset. When an instruction is output, the detection data at that time is stored in the storage circuit 18 as reset data.

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

まず、検出回路17は、交換回線制御部12からは受話器
のオン・オフの状態信号を、RS232C制御部13からはER,D
R,RS,CS,CDの各信号を受け取る。またRS232C制御部20か
ら入力されたコマンド列は、コマンド認識部22によって
コマンドテーブル21に登録されているコマンドと比較さ
れ、一致したものはその意味に従って制御部23が処理を
行う。第6図はコマンドテーブル21に格納されているコ
マンド名とその動作を示したものである。show allでは
ER,DR,RS,CS,CDという制御信号の状態が示され、show d
iallineでは交換回線制御部12の受話器のオン・オフの
状況が知らされる。またresetではスイッチ16をオフと
しER信号をオフにしてリセットするようにする。
First, the detection circuit 17 outputs an ON / OFF state signal of the handset from the exchange line control unit 12 and ER, D from the RS232C control unit 13.
Receives R, RS, CS, and CD signals. The command sequence input from the RS232C control unit 20 is compared with the command registered in the command table 21 by the command recognizing unit 22, and if it matches, the control unit 23 processes according to the meaning. FIG. 6 shows the command names stored in the command table 21 and their operations. In show all
The status of the control signals ER, DR, RS, CS, and CD is shown, and show d
In ialline, the ON / OFF state of the handset of the switching line control unit 12 is notified. In reset, the switch 16 is turned off, the ER signal is turned off, and reset is performed.

ここで診断用端末からshow allなどの状態要求のコマ
ンドが入力されると、制御部23は検出回路17から検出し
た信号を予め決められたフォーマットに成形してRS232C
制御部20より出力する。また通信状態リセットのコマン
ドの場合には、制御部23は、スイッチ16をオフにしてモ
デムに計算機から入力されるER信号をオフとし、モデム
の状態をリセットするようにする。
Here, when a command for a status request such as show all is input from the diagnostic terminal, the control unit 23 shapes the signal detected from the detection circuit 17 into a predetermined format and converts the signal to RS232C.
Output from the control unit 20. In the case of a communication state reset command, the control unit 23 turns off the switch 16, turns off the ER signal input from the computer to the modem, and resets the modem state.

なお、検出回路17の検出データは記憶回路18に入力さ
れ、制御部23よりリセットコマンドが実行された(スイ
ッチ16をオフにする)タイミングで制御部23からの指示
に従いリセットデータとして記憶する。記憶回路18が記
憶しているリセットデータと検出回路17が検出している
状態は常に比較回路19で比較され、両者が一致すると比
較回路19からコマンド認識部22にリセットコマンドが発
行され、制御部23よりスイッチ16がオフとされモデムが
リセットされる。
The detection data of the detection circuit 17 is input to the storage circuit 18 and is stored as reset data in accordance with an instruction from the control unit 23 at the timing when the reset command is executed by the control unit 23 (turn off the switch 16). The reset data stored in the storage circuit 18 and the state detected by the detection circuit 17 are always compared by the comparison circuit 19, and when both match, a reset command is issued from the comparison circuit 19 to the command recognition unit 22, and the control unit At 23, the switch 16 is turned off and the modem is reset.

診断用端末は検出回路17からの状態検出データを監視
し、ハングアップ状態となればリセット命令を出力する
が、これは操作員がしてもいいし、プログラムで監視
し、リセット命令を出力するようにしてもよい。
The diagnostic terminal monitors the state detection data from the detection circuit 17 and outputs a reset instruction when a hang-up state occurs. This may be performed by an operator, or may be monitored by a program and output a reset instruction. You may do so.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかなように、本発明はモデムに状
態検出装置を設けモデムの通信状態を監視し、必要に応
じてリセットすることによりハングアップ状態を解消し
交換回線を使った計算機間、計算機とモデム間等の円滑
な通信を可能とする。
As is apparent from the above description, the present invention provides a modem with a state detecting device, monitors the communication state of the modem, resets the modem if necessary, eliminates the hang-up state, and allows the And smooth communication between the modem and the like.

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

第1図は本発明の第1原理図、第2図は本発明の第2原
理図、第3図は本発明の第3原理図、第4図は本発明の
第4原理図、第5図は本発明の実施例の構成を示すブロ
ック図、第6図はコマンドテーブルの内容を説明する図
である。 図において、 1……復調部、2……変調部、 3……交換回線制御部、4……データ通信制御部、 5……状態検出部、6……インタフェース、 7……リセット状態記憶部、8……比較部。
1 is a first principle diagram of the present invention, FIG. 2 is a second principle diagram of the present invention, FIG. 3 is a third principle diagram of the present invention, FIG. 4 is a fourth principle diagram of the present invention, and FIG. FIG. 6 is a block diagram showing the configuration of the embodiment of the present invention, and FIG. 6 is a diagram for explaining the contents of a command table. In the figure, 1 ... demodulation unit, 2 ... modulation unit, 3 ... switching line control unit, 4 ... data communication control unit, 5 ... state detection unit, 6 ... interface, 7 ... reset state storage unit , 8... Comparison section.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】外部の交換機を復調部(1)と変調部
(2)に接続し交換回線との制御を行う交換回線制御部
(3)と、前記復調部(1)と前記変調部(2)を外部
の通信実施機に接続しデータ通信の制御を行うデータ通
信制御部(4)とを備えたモデムに、前記交換回線制御
部(3)の制御状態及び前記データ通信制御部(4)の
制御状態を検出する状態検出部(5)と、この状態検出
部(5)の検出データを外部へ出力するインタフェース
(6)とを設けるとともに、該インタフェース(6)
が、出力した検出データに基づくリセット指令を受け
て、前記交換回線制御部(3)と前記データ通信制御部
(4)に対し前記リセット指令を出力してそれぞれの前
記制御状態を初期状態にリセットするようにしたことを
特徴とする状態診断機能付モデム。
A switching line control unit (3) for connecting an external switch to a demodulation unit (1) and a modulation unit (2) to control a switching line, the demodulation unit (1) and the modulation unit (3). And a data communication control unit (4) for controlling data communication by connecting the data communication control unit (2) to an external communication execution device. ), A state detection section (5) for detecting the control state, and an interface (6) for outputting detection data of the state detection section (5) to the outside, and the interface (6)
Receives the reset command based on the output detection data, outputs the reset command to the switching line control unit (3) and the data communication control unit (4), and resets the respective control states to the initial state. A modem with a condition diagnosis function.
【請求項2】外部の交換機を復調部(1)と変調部
(2)に接続し交換回線との制御を行う交換回線制御部
(3)と、前記復調部(1)と前記変調部(2)を外部
の通信実施機に接続しデータ通信の制御を行うデータ通
信制御部(4)とを備えたモデムに、前記交換回線制御
部(3)の制御状態及び前記データ通信制御部(4)の
制御状態を検出する状態検出部(5)と、リセットすべ
き異常状態の制御状態を記憶したリセット状態記憶部
(7)と、このリセット状態記憶部(7)の記憶内容と
前記状態検出部(5)の検出データとを比較し一致した
とき前記交換回線制御部(3)と前記データ通信制御部
(4)に対し前記リセット指令を出力してそれぞれの前
記制御状態を初期状態にリセットする比較部(8)とを
設けたことを特徴とする状態診断機能付モデム。
2. A switching line control unit (3) for connecting an external switch to a demodulation unit (1) and a modulation unit (2) to control a switching line, the demodulation unit (1) and the modulation unit (2). And a data communication control unit (4) for controlling data communication by connecting the data communication control unit (2) to an external communication execution device. ), A state detection unit (5) for detecting a control state of an abnormal state to be reset, a reset state storage unit (7) storing a control state of an abnormal state to be reset, a storage content of the reset state storage unit (7), and the state detection. The detected data of the unit (5) are compared and when they match, the reset command is output to the switching line control unit (3) and the data communication control unit (4) to reset the respective control states to the initial state. And a comparing unit (8) to be provided. Modem with state-diagnosis function.
【請求項3】外部の交換機を復調部(1)と変調部
(2)に接続し交換回線との制御を行う交換回線制御部
(3)と、前記復調部(1)と前記変調部(2)を外部
の通信実施機に接続しデータ通信の制御を行うデータ通
信制御部(4)とを備えたモデムに、前記交換回線制御
部(3)の制御状態及び前記データ通信制御部(4)の
制御状態を検出する状態検出部(5)と、前記制御状態
を初期状態にリセットする外部操作入力のリセット指令
を受けて前記交換回線制御部(3)と前記データ通信制
御部(4)に対し前記リセット指令を出力するインタフ
ェース(6)と、このインタフェース(6)が前記リセ
ット指令を出力したときの前記状態検出部(5)の検出
データを記憶するリセット状態記憶部(7)と、このリ
セット状態記憶部(7)の記憶内容と前記状態検出部
(5)の検出データが一致したとき前記交換回線制御部
(3)と前記データ通信制御部(4)に対し前記リセッ
ト指令を出力する比較部(8)とを設けたことを特徴と
する状態診断機能付モデム。
3. A switching line control unit (3) for connecting an external exchange to a demodulation unit (1) and a modulation unit (2) to control a switching line, the demodulation unit (1) and the modulation unit (3). And a data communication control unit (4) for controlling data communication by connecting the data communication control unit (2) to an external communication execution device. ) And a switching control unit (3) and a data communication control unit (4) upon receiving a reset command of an external operation input for resetting the control state to an initial state. An interface (6) for outputting the reset command to the controller, a reset status storage unit (7) for storing detection data of the status detector (5) when the interface (6) outputs the reset command, This reset state storage unit (7 When the storage content of the data matches the detection data of the state detection section (5), the switching section control section (3) and the comparison section (8) for outputting the reset command to the data communication control section (4) A modem with a condition diagnosis function, which is provided.
【請求項4】外部の交換機を復調部(1)と変調部
(2)に接続し交換回線との制御を行う交換回線制御部
(3)と、前記復調部(1)と前記変調部(2)を外部
の通信実施機に接続しデータ通信の制御を行うデータ通
信制御部(4)とを備えたモデムに、前記交換回線制御
部(3)の制御状態及び前記データ通信制御部(4)の
制御状態を検出する状態検出部(5)と、この状態検出
部(5)の検出データを外部に出力すると共に、この出
力に基づいて入力されたリセット指令を前記交換回線制
御部(3)と前記データ通信制御部(4)に出力して前
記それぞれの制御状態を初期状態にリセットするインタ
フェース(6)と、このインタフェース(6)が前記リ
セット指令を出力したときの前記状態検出部(5)の検
出データを記憶するリセット状態記憶部(7)と、この
リセット状態記憶部(7)の記憶内容と前記状態検出部
(5)の検出データが一致した時、前記交換回線制御部
(3)と前記データ通信制御部(4)へ前記リセット指
令を出力する比較部(8)とを設けたことを特徴とする
状態診断機能付モデム。
4. An exchange control unit (3) for connecting an external exchange to a demodulation unit (1) and a modulation unit (2) and controlling an exchange line, the demodulation unit (1) and the modulation unit (3). And a data communication control unit (4) for controlling data communication by connecting the data communication control unit (2) to an external communication execution device. ), A state detector (5) for detecting the control state, outputting detection data of the state detector (5) to the outside, and outputting a reset command based on the output to the switching line controller (3). ) And an interface (6) for outputting to the data communication control unit (4) and resetting the respective control states to the initial state, and the state detection unit (6) when the interface (6) outputs the reset command. 5) The memory for storing the detection data A reset state storage unit (7), and when the storage content of the reset state storage unit (7) matches the detection data of the state detection unit (5), the switching line control unit (3) and the data communication control A comparing section (8) for outputting the reset command to the section (4).
JP2310642A 1990-11-16 1990-11-16 Modem with condition diagnosis function Expired - Fee Related JP2921105B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2310642A JP2921105B2 (en) 1990-11-16 1990-11-16 Modem with condition diagnosis function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2310642A JP2921105B2 (en) 1990-11-16 1990-11-16 Modem with condition diagnosis function

Publications (2)

Publication Number Publication Date
JPH04181852A JPH04181852A (en) 1992-06-29
JP2921105B2 true JP2921105B2 (en) 1999-07-19

Family

ID=18007709

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2310642A Expired - Fee Related JP2921105B2 (en) 1990-11-16 1990-11-16 Modem with condition diagnosis function

Country Status (1)

Country Link
JP (1) JP2921105B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998006018A2 (en) * 1996-08-01 1998-02-12 Roxan Telecom. Co., Ltd. Computer capable of modem reset in case of modem down due to external communication hazard
KR20000046122A (en) * 1998-12-31 2000-07-25 김영환 Individual reset method of serial connection channel in cdma unmanned base station channel card
KR20060069463A (en) 2003-08-21 2006-06-21 어웨어, 인크. Nonlinear device detection
WO2009097243A1 (en) 2008-01-29 2009-08-06 Aware, Inc. Method and system for detecting non-linear devices
WO2011066524A1 (en) 2009-11-30 2011-06-03 Aware, Inc. Methods and systems for detecting metallic faults affecting communications links

Also Published As

Publication number Publication date
JPH04181852A (en) 1992-06-29

Similar Documents

Publication Publication Date Title
US5065427A (en) Fax/data call receiving system and method
US4788714A (en) Remote controlling telephone unit for selectively activating one of a plurality of devices
JP2921105B2 (en) Modem with condition diagnosis function
JPS62159947A (en) Communication terminal equipment
JP2982907B2 (en) Data processing device and data processing method
JPH1188632A (en) Communication equipment
KR0132154B1 (en) Method of speech path connecting in the interphone
KR960001045B1 (en) Connection detection method and circuit of controller
KR20060122183A (en) Apparatus and method for monitoring line connection in tele-communication system
US6643358B2 (en) Telephone answering apparatus and method for confirming an acoustic command signal
JP3357524B2 (en) No ringing communication system
JPS6175463A (en) Information processing system
JP2545618Y2 (en) Modem device
US6452697B2 (en) Facsimile apparatus, line control board and communication control method
JP2678602B2 (en) Carrier detection device
JP2665034B2 (en) Facsimile machine
JPH04170145A (en) Remote supervisory system
JPH07210787A (en) Telephone call system for apartment house
JPS621099A (en) Telecontroller
JPH1070589A (en) Communication equipment
JPH09149139A (en) Method and device for automatic notice
JPH0834524B2 (en) 2-wire simultaneous call intercom device
JPH08125713A (en) Communication terminal equipment and method for judging connection of line terminating equipment in the communication terminal equipment
KR19990050273A (en) Remote e-mail transmission method using internet TV
JPH0330346B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees