JPH0740708B2 - Redial control system - Google Patents

Redial control system

Info

Publication number
JPH0740708B2
JPH0740708B2 JP61128155A JP12815586A JPH0740708B2 JP H0740708 B2 JPH0740708 B2 JP H0740708B2 JP 61128155 A JP61128155 A JP 61128155A JP 12815586 A JP12815586 A JP 12815586A JP H0740708 B2 JPH0740708 B2 JP H0740708B2
Authority
JP
Japan
Prior art keywords
line
redial
modem
signal
tone
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
JP61128155A
Other languages
Japanese (ja)
Other versions
JPS62285561A (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 JP61128155A priority Critical patent/JPH0740708B2/en
Publication of JPS62285561A publication Critical patent/JPS62285561A/en
Publication of JPH0740708B2 publication Critical patent/JPH0740708B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概 要〕 AA形NCU内蔵モデムによるリダイヤル制御方式におい
て、受信信号の品質を検出する信号品質検出回路(SQ
D)を設け、受信信号の品質低下が検出されたときは回
線を切断し、自動発呼コマンド中のリダイヤル指示パラ
メータに基づいてモデムが自動的にリダイヤルを行う。
これにより、回線状態悪化により回線が切断されても自
動的にリダイヤルを行うことが出来る。
DETAILED DESCRIPTION [Overview] A signal quality detection circuit (SQ) for detecting the quality of a received signal in a redial control system using an AA type NCU built-in modem.
D) is provided, the line is disconnected when the deterioration of the received signal is detected, and the modem automatically redials based on the redial instruction parameter in the automatic call command.
As a result, even if the line is disconnected due to deterioration of the line condition, redial can be automatically performed.

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

本発明は、モデムにおけるリダイヤル制御方式、特に、
発着信自動形網制御装置(AA形NCU)内蔵モデムにおけ
るリダイヤル制御方式に関する。
The present invention relates to a redial control method for a modem,
The present invention relates to a redial control method for a modem with a built-in outgoing / incoming automatic network controller (AA type NCU).

データ端末装置(DTE)からディジタル信号を電話回線
を用いてアナログ伝送する場合には、モデム(MODEM)
を用いてディジタル信号とアナログ信号の相互変換が行
われ、又モデルに内蔵された網制御装置(NCU:Network
Control Unit)により、通常の電話機と同様に交換網と
の接続制御及びDTEと電話回線との接続制御、ダイヤル
信号の発生等が行われる。ダイヤル信号形式には、ダイ
ヤルパルス信号(DP信号)及び押しボタンダイヤル信号
(PB信号)の両形式が用いられる。
Modem (MODEM) for analog transmission of digital signals from data terminal equipment (DTE) using telephone lines.
Is used to perform mutual conversion between digital signals and analog signals, and the network control unit (NCU: Network) built into the model.
The control unit) controls the connection with the switching network, the connection between the DTE and the telephone line, and the generation of dial signals as in the case of a normal telephone. Both dial pulse signals (DP signals) and push button dial signals (PB signals) are used as dial signal formats.

NCUによる1回線用の接続制御には、1回線用手動発着
信接続形式の場合に使用される手動型NCU(MM形NCU)、
1回線用手動発信、自動着信接続形式の場合に使用され
る半自動形NCU(MA形NCU)及び1回線用自動発着信接続
形式の場合に使用される自動形NCU(AA形NCU)がある。
For connection control for 1 line by NCU, manual type NCU (MM type NCU) used in the case of 1 line manual outgoing / incoming connection type,
There are semi-automatic NCU (MA type NCU) used in the case of 1 line manual transmission and automatic incoming connection type and automatic type NCU (AA type NCU) used in the case of 1 line automatic outgoing / incoming connection type.

本発明は、これ等の中のAA形NCU内蔵モデムにおいて、
回線接続を行う場合のリダイヤル制御方式に関する。
The present invention, in these AA type NCU built-in modem,
The present invention relates to a redial control method when making a line connection.

〔従来の技術〕[Conventional technology]

第4図により、従来のAA形NCU内蔵モデムによるリダイ
ヤル制御方式を説明する。第4図は、従来のDTEとモデ
ムの回線構成を示したものである。
Referring to FIG. 4, a redial control system by a conventional modem with built-in AA type NCU will be described. FIG. 4 shows the line structure of the conventional DTE and modem.

第4図において、21は全体のAA形NCU内蔵モデムで、211
はモデム部であり、212はAA形NCU(以下、NCUという)
である。
In FIG. 4, 21 is the entire AA type NCU built-in modem, 211
Is a modem unit, and 212 is an AA type NCU (hereinafter referred to as NCU)
Is.

22はDTE、23は端末インタフェース、24は電話回線であ
る。電話回線は図示しない電話交換網に接続され、端末
インタフェース23には、RS−232Cが使用されている。
22 is a DTE, 23 is a terminal interface, and 24 is a telephone line. The telephone line is connected to a telephone exchange network (not shown), and the terminal interface 23 uses RS-232C.

この構成において、DTE22が相手局とデータ通信をする
場合は、ダイヤル番号のキャラクタを端末インタフェー
ス23を経由してNCU212及びモデム211部に伝送すること
により自動発呼を行う。
In this configuration, when the DTE 22 performs data communication with the partner station, automatic dialing is performed by transmitting the character of the dial number to the NCU 212 and the modem 211 section via the terminal interface 23.

いま、例えば、ASCIIコードでダイヤル番号D774111(D
はダイヤル信号を示し、774111が電話番号を示す)を送
るとNCU212は、このASCIIコード中の電話番号774111で
ダイヤリングして自動発呼を行う。
Now, for example, in ASCII code dial number D774111 (D
Indicates a dial signal, and 774111 indicates a telephone number), the NCU 212 dials the telephone number 774111 in the ASCII code to automatically make a call.

相手局との間の回線が接続され、相手局とハンドシェイ
クが成功すると、データ通信モードとなり、DTE22と相
手局間のデータ通信が行われる。
When the line with the partner station is connected and the handshake with the partner station succeeds, the data communication mode is set and data communication between the DTE 22 and the partner station is performed.

NCU212による回線接続制御動作中において、相手局が通
信中の場合は、モデム部211はNCU212に指定して所定回
数リダイヤルを行わせ、相手局との回線接続を成功させ
る様にする。
When the partner station is communicating during the line connection control operation by the NCU 212, the modem unit 211 instructs the NCU 212 to redial a predetermined number of times so that the line connection with the partner station is successful.

相手局に正しく接続した場合に、もし接続した回線状態
が悪く(例えばノイズが多い)ハンドシェイクが成功し
なかったり、あるいは通信中に回線状態が悪化しエラー
が多発する様になると、通信の途中において回線が切断
される場合がある。
If you connect to the partner station correctly, if the connected line status is bad (for example, there is a lot of noise), handshaking does not succeed, or if the line status deteriorates during communication and many errors occur, communication will be interrupted. The line may be disconnected at.

この様に途中で回線が切断されたときに再び同一の相手
局との回線接続を行う場合には、発呼から始まる同一の
接続制御手順を最初からやり直して、相手局と再接続す
る操作が行われる。
In this way, when the line is disconnected again during the line connection with the same partner station, the same connection control procedure starting from the call is restarted from the beginning, and the operation to reconnect with the partner station is performed. Done.

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

従来のAA形NCU内蔵モデムによる回線接続方式において
は、相手局に接続した場合に、回線状態の悪化等により
信号品質が低下すると通信の途中において回線が切断さ
れる場合があり、そのとき同一相手局と再接続する場合
は、相手局との接続処理を再び最初からやり直さねばな
らなかった。
In the conventional line connection method using the AA NCU built-in modem, when connecting to the partner station, if the signal quality deteriorates due to the deterioration of the line condition, the line may be disconnected during the communication. When reconnecting with a station, the connection process with the other station had to be restarted from the beginning.

この為、通信途中において回線状態の悪化等により回線
切断が発生した場合には、その再接続処理に時間と手間
が掛るという問題があった。
Therefore, if the line is disconnected during communication due to the deterioration of the line condition, there is a problem that the reconnection process takes time and trouble.

本発明は、AA形NCU内蔵モデムによる通信回線設定時に
おける電話回線よりのビジートーンまたは音声信号が検
出された場合、また、通信途中において、回線状態悪化
等により回線切断が発生した場合に、回線状態を判断し
て自動的にリダイヤルを行うリダイヤル制御方式を提供
することを目的とする。
The present invention, when the busy tone or voice signal from the telephone line is detected when the communication line is set up by the modem with built-in AA type NCU, and when the line is disconnected due to the deterioration of the line condition during communication, the line condition is generated. An object of the present invention is to provide a redial control method for automatically redialing data based on the judgment.

〔問題点を解決するための手段〕[Means for solving problems]

AA形NCU内蔵モデムによる回線接続方式における前述の
問題点を解決する為に本発明が講じた手段を、第1図を
参照して説明する。
Means taken by the present invention to solve the above-mentioned problems in the line connection system using the AA type NCU built-in modem will be described with reference to FIG.

第1図は、本発明の基本構成をブロック図で示したもの
である。
FIG. 1 is a block diagram showing the basic configuration of the present invention.

第1図において、11はAA形NCU内蔵モデム(以下、単に
モデム11という)であり、12はDTE(図示せず)と接続
する端末インタフェースであり、13は交換網(図示せ
ず)と接続する電話回線である。
In FIG. 1, 11 is a modem with built-in AA NCU (hereinafter, simply referred to as modem 11), 12 is a terminal interface for connecting with a DTE (not shown), and 13 is for connecting with a switching network (not shown). It is a telephone line that

DTEがモデム11に送る自動発呼コマンド中には、リダイ
ヤル情報としてリダイヤル指示パラメータが付加されて
いる。
In the automatic call command sent from the DTE to the modem 11, a redial instruction parameter is added as redial information.

モデム11において、111はAA形NCU(以下、NCU111とい
う)で、交換網との接続制御及びDTEと電話回線との接
続制御を行う。
In the modem 11, 111 is an AA type NCU (hereinafter referred to as NCU111), which controls the connection with the switching network and the connection between the DTE and the telephone line.

112は信号品質検出器(SQD:Signal Quality Detector)
で、通信中の受信信号の品質を指示する信号品質指示値
(SQ指示値)を発生する。
112 is a signal quality detector (SQD)
Then, a signal quality instruction value (SQ instruction value) for instructing the quality of the received signal during communication is generated.

116はトーン検出回路で、通信回線設定時の電話回線の
ビジートーンまたは音声信号を検出する。
A tone detection circuit 116 detects a busy tone or a voice signal of the telephone line when the communication line is set.

113はリダイヤル制御部で、トーン検出部116でビジート
ーンまたは音声信号が検出されたとき、また、SQD112か
ら入力されたSQ指示値により受信信号の品質を判別し、
受信信号の品質低下が検出されたときは回線を切断し
て、自動発呼コマンド中のリダイヤル指示パラメータに
基づいてNCU111にリダイヤルを指示する。
Reference numeral 113 denotes a redial control unit, which determines the quality of a received signal when the tone detection unit 116 detects a busy tone or a voice signal, and also based on the SQ instruction value input from the SQD 112.
When the deterioration in the quality of the received signal is detected, the line is disconnected and the NCU 111 is instructed to redial based on the redial instruction parameter in the automatic call command.

〔作 用〕[Work]

モデム11は、DTEより送られた自動発呼コマンドに基づ
いて自動発呼を行い、相手局との回線接続を行う。
The modem 11 automatically makes a call based on the automatic call command sent from the DTE to establish a line connection with the partner station.

回線接続時に、回線より相手が話中であるビジートーン
や音声信号がトーン検出回路116で検出された場合は、
回線を切断して自動発呼コマンド中のリダイヤル指示パ
ラメータに基づいてNCU111に対してリダイヤル制御部11
3はリダイヤルを指示する。
During line connection, if the tone detection circuit 116 detects a busy tone or voice signal that the other party is busy from the line,
The redial control section 11 is sent to the NCU111 based on the redial instruction parameter in the automatic call command after disconnecting the line.
3 instructs redial.

すなわち、通信相手はモデムであるが、通信相手がモデ
ムと電話機が並列に接続された構成の場合が存在する。
このような構成の場合、交換器よりの呼出しに対して電
話機をオフフックするとモデムとの接続は出来ない。
That is, although the communication partner is a modem, there is a case where the communication partner has a configuration in which a modem and a telephone are connected in parallel.
In such a configuration, if the telephone is off-hook for a call from the exchange, the connection with the modem cannot be established.

そこで、電話機をオフフックして音声信号が返送され、
トーン検出回路116で検出された場合は、回線を切断し
てリダイヤルを行なう。
So the phone goes off-hook and the voice signal is sent back,
If detected by the tone detection circuit 116, the line is disconnected and redial is performed.

リダイヤルが行なわれ、再度相手局と接続し、呼出しベ
ルが鳴った場合は、前回の通信がモデムであることを知
っていることにより電話機をオフフックを行なわず、モ
デムと接続される。
When redialing is performed and the remote station is connected again and the call bell rings, the telephone is connected off-hook without going off-hook by knowing that the previous communication was a modem.

以上の様に、回線設定時に、相手局の受信信号よりビジ
ートーンまたは音声信号のいずれかが検出された場合は
回線を切断し、自動的にリダイヤルするようにしたの
で、再処理のための手間を省くことができる。
As described above, when either the busy tone or the voice signal is detected from the received signal of the partner station when the line is set, the line is disconnected and redial is automatically performed. It can be omitted.

回線が接続されてデータ通信中、SQD112は、相手局より
受信された信号の品質を検出し、SQ指示値を発生する。
いま、信号品質が良好な場合はSQ指示値のレベルは低
く、信号品質が低下する程SQ指示値のレベルは高くなる
ことにより信号品質の指示が行われるものとする(本発
明のSQ指示値の内容は、これに限定されるものではな
い)。
During the data communication with the line connected, the SQD 112 detects the quality of the signal received from the partner station and generates the SQ instruction value.
Now, when the signal quality is good, the level of the SQ instruction value is low, and the signal quality is instructed by the level of the SQ instruction value becoming higher as the signal quality decreases (the SQ instruction value of the present invention. Content is not limited to this).

データ通信中において、回線の状態が悪化して信号品質
が低下すると、SQD112の発生するSQ指示値のレベルが高
くなる。
During data communication, if the line condition deteriorates and the signal quality deteriorates, the level of the SQ instruction value generated by the SQD 112 increases.

リダイヤル制御部113は、SQD112から入力されたSQ指示
値により受信信号の品質を判別し、受信信号の品質低下
が検出されたときは回線を切断して、自動発呼コマンド
中のリダイヤル指示パラメータに基づいてNCU111にリダ
イヤルを指示する。
The redial control unit 113 determines the quality of the received signal based on the SQ instruction value input from the SQD 112, disconnects the line when deterioration of the received signal quality is detected, and sets the redial instruction parameter in the automatic call command as the redial instruction parameter. Based on this, the NCU111 is instructed to redial.

交換網を経由して相手局と回線接続を行う場合には、相
手局と接続する回線の接続ルートは多数存在し、各回線
の状態は、通常各回線毎に異なったものとなる。例え
ば、1つの回線ルートの状態が悪くとも、他の回線ルー
トの状態は良好である場合がある。従って、モデム11に
おいてリダイヤルを行い、通信中に回線切断された同一
相手局に対して再接続を行うと、良好な状態の回線ルー
トによる接続が可能となる。
When the line is connected to the partner station via the exchange network, there are many connection routes for the line connecting to the partner station, and the state of each line is usually different for each line. For example, even if the condition of one line route is bad, the condition of the other line route may be good. Therefore, if the modem 11 redials and reconnects to the same partner station whose line has been disconnected during communication, it is possible to make a connection by the line route in a good state.

以上の様にして、通信途中において回線状態悪化等によ
り信号品質が低下したことにより回線切断が行われた場
合にも、モデムが同一相手局に対して自動的にリダイヤ
ルを行って回線を再接続させることが出来る。その際、
良好な状態の回線ルートによる接続が可能である。
As described above, even when the line is disconnected due to the deterioration of the signal quality due to the deterioration of the line status during communication, the modem automatically redials to the same partner station and reconnects the line. It can be done. that time,
It is possible to connect by a circuit route in good condition.

〔実施例〕〔Example〕

本発明の実施例を、第2及び第3図を参照して説明す
る。
An embodiment of the present invention will be described with reference to FIGS.

第2図は本発明の一実施例の構成のブロック説明図、第
3図は同実施例の処理フローチャートである。
FIG. 2 is a block diagram of the configuration of an embodiment of the present invention, and FIG. 3 is a processing flowchart of the embodiment.

(A)実施例の構成 第2図において、AA形NCU内蔵モデム11(モデム11)、A
A形NCU111(NUC111)については、第1図で説明した通
りである。
(A) Configuration of the embodiment In FIG. 2, AA type NCU built-in modem 11 (modem 11), A
The A-type NCU111 (NUC111) is as described in FIG.

モデム11は、この実施例では、2線式全二重モデムであ
るとする。
Modem 11 is assumed to be a two-wire full-duplex modem in this example.

113はリダイヤル制御の他、モデム11の動作モードの設
定、NCU111の制御等、モデム11の全体の動作制御も行う
ので、以下、制御部という。
In addition to redial control, 113 also controls the overall operation of the modem 11 such as setting the operation mode of the modem 11 and controlling the NCU 111.

制御部113において、113aはマイクロプロセッサ(MPU)
で、DTEから与えられた各種コマンドに従って、モデム1
1の動作モードの設定や、NCU111を制御してダイヤリン
グ等を行わせる。113bはコマンド用RAMで、DTEから送ら
れた各種コマンドが蓄えられる。113cはプログラムROM
で、モデム11の行う各種制御動作を指令するプログラム
が格納されている。
In the control unit 113, 113a is a microprocessor (MPU)
In accordance with various commands given by DTE, modem 1
The operation mode 1 is set, and the NCU 111 is controlled to perform dialing or the like. A command RAM 113b stores various commands sent from the DTE. 113c is a program ROM
Stores programs for instructing various control operations performed by the modem 11.

114は受信部で、相手局から受信された信号から元のデ
ータを復調する。SQD112は、受信部114で行われる復調
動作時に得られる信号を用いてSQ指示値を発生するの
で、受信部114の内部に示されている。
A receiving unit 114 demodulates original data from the signal received from the partner station. The SQD 112 is shown inside the receiving unit 114 because it uses the signal obtained during the demodulation operation performed by the receiving unit 114 to generate the SQ instruction value.

115はキャリヤ検出回路(CD検出回路)で、受信信号に
おけるキャリヤ検出を行う。
A carrier detection circuit (CD detection circuit) 115 detects a carrier in a received signal.

116はトーン検出回路で、電話回線上のトーン、即ち、
音声信号、ダイヤルトーン、リングバックトーン、ビジ
ートーンの検出、判定、及びこれらのトーンを有無の検
出、判定等を行う。
116 is a tone detection circuit, which is a tone on the telephone line, that is,
It detects and determines voice signals, dial tones, ring back tones, and busy tones, and detects and determines the presence or absence of these tones.

117は送信部で、DTEからのデータでキャリヤを変調して
電話回線上に送出する。
A transmitter 117 modulates a carrier with data from the DTE and sends it out over the telephone line.

118は帯域分離回路で、送信部117から送出される送信信
号と、受信信号とを帯域によって分離する。
A band separation circuit 118 separates the transmission signal sent from the transmission unit 117 and the reception signal by band.

12は端末インタフェースで、DTE(図示せず)とモデム1
1間を接続する。端末インタフェース12としてRS−232C
が使用される。
12 is a terminal interface, a DTE (not shown) and a modem 1
Connect between 1 RS-232C as terminal interface 12
Is used.

13は交換網(図示せず)と接続される電話回線である。Reference numeral 13 is a telephone line connected to a switching network (not shown).

(B)実施例の動作 実施例の動作を、第3図の処理フローチャートを参照
し、そのステップに従って説明する。
(B) Operation of Embodiment The operation of the embodiment will be described with reference to the processing flowchart of FIG. 3 and its steps.

ステップS1 図示しないDTEより端末インタフェース12を経由してモ
デム11に、ASCIIコードを用いて自動発呼コマンドが送
られる。
Step S 1 An automatic call command is sent from the DTE (not shown) to the modem 11 via the terminal interface 12 using the ASCII code.

この自動発呼コマンド中には、次に例示する様に、もし
回線接続に失敗したり、相手局が出なかったり、相手局
が話中であったり、又、相手局と回線接続後に回線状態
悪化等により通信途中で切断が行われた場合に、再度同
一の相手に自動的にリダイヤルする様に指示を与えるパ
ラメータが付加される。
During this automatic call command, if the line connection fails, the partner station does not come out, the partner station is busy, or the line status after connecting to the partner station, as shown in the example below. If a disconnection is made during communication due to deterioration or the like, a parameter for giving an instruction to automatically redial the same party again is added.

DP0424774111R3 〔自動発呼コマンドの例〕 この自動発呼コマンドにおいて、最初の“D"はダイヤル
コマンドを指示し、次の“P"(押しボタンダイヤルのと
きは“T")はパルスダイヤルであることを指示し、“04
24774111"は相手電話番号を指示する。
DP0424774111R3 [Example of automatic call command] In this automatic call command, the first "D" indicates a dial command, and the next "P"("T" when using push button dial) is a pulse dial. And instruct "04
24774111 "indicates the other party's telephone number.

最後の“R3"はリダイヤルを指示するパラメータであ
る。この中“R3"は、リダイヤルを指示するパラメータ
であり、“3"は、自動的にリダイヤルを行う回数が3回
であることを指示する。リダイヤルを指示するパラメー
タは、“R"以外に、ダイヤル番号に使用されない文字や
記号を用いることが出来る。この様にすると、このパラ
メータを検出することにより、電話番号の終了とリダイ
ヤルの有無を共に知ることが出来る。又、リダイヤル回
数は、“3"以外に一般にn回まで行わせることが出来
る。リダイヤル回数nの指示が無いときは、1回として
扱われる。なお、自動発呼コマンドは、ASCIIコード以
外のコードを用いる様にしてもよい。
The last "R3" is a parameter for instructing redial. Among these, "R3" is a parameter for instructing redial, and "3" indicates that the number of times of automatically redialing is three times. As the parameter for instructing redial, characters or symbols not used for dialed numbers can be used other than "R". In this way, by detecting this parameter, it is possible to know both the end of the telephone number and the presence / absence of redial. Further, the number of redials can be generally n times other than "3". If there is no instruction for the number of redials n, it is treated as once. A code other than ASCII code may be used for the automatic call command.

ステップS2 MPU113aは、自動発呼コマンドを受けると、このコマン
ドをコマンド用RAMA113bに記憶し、NCU111を制御してダ
イヤリングを行わせる。NCU111は、自動発呼コマンド中
の電話番号“0424774111"でダイヤリングを行う。電話
番号は、パルス信号形式でもって電話回線13に送出され
る。
Upon receiving the automatic call command, the step S 2 MPU 113a stores this command in the command RAMA 113b and controls the NCU 111 to perform dialing. The NCU111 dials the telephone number "0424774111" in the automatic call command. The telephone number is sent to the telephone line 13 in the form of a pulse signal.

ダイヤルに失敗した場合は、ステップS6に移って、リダ
イヤルを行い、ダイヤルに成功した場合は、次のステッ
プS3に移る。
If it fails to dial, the process shifts to a step S 6, performs a redial, if successful to dial, and then proceeds to the next step S 3.

ダイヤルに失敗する場合は、例えば、社内PBXを使用し
て外線にダイヤルする時に、外線に接続されなかった場
合である。この場合は、外線のダイヤルトーンが返送さ
れない。MPU113aは、トーン検出回路116に外線ダイヤル
トーンの検出を指示し、トーン検出回路116により外線
ダイヤルトーンが検出されないときは、ステップS6に移
ってリダイヤル処理を行わせる。ステップS6の処理につ
いては、後に説明する。
When dialing fails, for example, when dialing an external line using the in-house PBX, the external line is not connected. In this case, the dial tone for the outside line is not returned. MPU113a instructs the detection of external dial tone to tone detection circuit 116, when the external line dial tone is not detected by the tone detection circuit 116 to perform the redial processing proceeds to step S 6. The processing in step S 6, will be described later.

ステップS3,S4,S5 ダイヤルを行った後、MPU113aは、トーン検出回路116に
指示して、ビジートーンの検出(ステップS3)、ボイス
の検出(ステップS4)及びリングバックトーンの検出
(ステップS5)を行わせる。
After dialing steps S 3 , S 4 , and S 5 , the MPU 113a instructs the tone detection circuit 116 to detect busy tone (step S 3 ), detect voice (step S 4 ) and detect ringback tone. (Step S 5 ) is performed.

トーン検出回路116がビジートーンを検出した場合は
(ステップS3)相手は話中であるので、ステップS6に移
ってリダイヤル処理を行う。
Because if the tone detection circuit 116 detects a busy tone (step S 3) partner is busy, performing the redial processing proceeds to step S 6.

モデムの場合、切換えを誤って人間が応答する場合があ
り、その場合は、トーン検出回路116に音声即ちボイス
が検出される。トーン検出116がボイスを検出した場合
も(ステップS4)回線接続に失敗したものとし、ステッ
プS6に移ってリダイヤル処理を行う。ボイスは、リング
バックトーン(2100HZ)と異なって、一定閾値以上のレ
ベルを持った信号がビジートーンやリングバックトーン
とも異なる不規則な同期で発生されるので、これを検出
することによりボイスが検出される。
In the case of a modem, a human may respond by mistakenly switching, and in that case, voice is detected by the tone detection circuit 116. Even if the tone detector 116 detects a voice (step S 4 ), it is considered that the line connection has failed, and the process proceeds to step S 6 to perform the redial process. Unlike the ringback tone (2100HZ), the voice has a level above a certain threshold and is generated with irregular synchronization that is different from the busy tone and ringback tone.Voice is detected by detecting this. It

リングバックトーンが検出されているのに相手が所定の
一定時間内に出なかった場合も(ステップS5)回線接続
に失敗したものとし、ステップS6に移ってリダイヤル処
理を行う。MPU113aは、内部のタイマによりトーン検出
回路116より送られたリングバックトーンの持続時間を
カウントし、前述の一定時間以上リングバックトーンが
持続した場合は、回線接続に失敗したものとする。
Even if the ring back tone is detected but the other party does not come out within the predetermined fixed time (step S 5 ), it is considered that the line connection has failed, and the process proceeds to step S 6 to perform the redial process. The MPU 113a counts the duration of the ringback tone sent from the tone detection circuit 116 by an internal timer, and if the ringback tone continues for a certain period of time or more, it is determined that the line connection has failed.

ステップS2〜S5において、回線接続に失敗すると、MPU1
13aは回線の切断処理を行う。
In step S 2 to S 5, when failing to line connection, MPU 1
13a performs disconnection processing of the line.

ステップS6 回線接続に失敗した場合は、MPU113aは自動発呼コマン
ド中にリダイヤルを指示するパラメタ(Rn)の有無を検
出する。
Step S 6 If the line connection fails, the MPU 113a detects whether or not there is a parameter (Rn) instructing redial in the automatic call command.

パラメタ(Rn)が検出されないときは、そのまま処理が
終了し、パラメタRnが検出されたときは、次のステップ
S7の処理を行う。
If the parameter (Rn) is not detected, the process ends, and if the parameter Rn is detected, the next step
The processing of S 7.

ステップS7 MPU113aは、リダイヤルの回数をカウントし、それが指
定値nに達したか否かを判別する。指定値n回リダイヤ
ルされたときは、リダイヤルを行わず処理を終了すす
る。
Step S 7 The MPU 113a counts the number of redials and determines whether or not it has reached the designated value n. When the designated value is redialed n times, the process is terminated without redialing.

リダイヤルの回数が指定値nに達しない場合は、所定の
遅延時間(Delay)後にステップS1に戻って、リダイヤ
ルを行う。この遅延時間は、ステップS1〜S5によって生
じた各回線接続失敗の内容及び後に説明する回線状態悪
化によるリダイヤルに応じて異なった値に選定される。
これらの値は、コマンド用RAM113b中に予めコマンドと
して与えられている。
If the number of redials does not reach the specified value n, the process returns to step S 1 after a predetermined delay time (Delay) and redialing is performed. The delay time is selected at different values depending on the redial by circuit condition deterioration described respective line connection contents of failure and post caused by the step S 1 to S 5.
These values are given in advance as commands in the command RAM 113b.

なお、自動リダイヤルの回数が、法律等により一定回数
以下に規制されている場合がある。もしパラメタRnで指
示したリダイヤル回数nがこの規制回数より大きい場合
は、リダイヤル回数は、この規制回数までとする。規制
回数は、各国によって異なることが多いので、各国毎の
規則回数をプログラムROM113cに記憶させて、各国別に
リダイヤル回数が規制回数以下となる様に処理する。
In addition, the number of times of automatic redial may be restricted to a certain number or less by law or the like. If the number of redials n indicated by the parameter Rn is larger than the restricted number of times, the number of redials is limited to the restricted number of times. Since the number of regulations often varies from country to country, the number of regulations for each country is stored in the program ROM 113c and processed so that the number of redials is less than or equal to the number of regulations for each country.

ステップS8 ステップS1〜S5において回線接続が正しく行われた場
合、又はリダイヤルによる回線接続が正しく行われた場
合はリダイヤル制御は無効となり、全二重方式で相手局
との間で通常のデータ通信が行われる。
If in step S 8 Step S 1 to S 5 line connection was successful, or the line connection by redialing is invalid redial control if done correctly, with the partner station in full duplex normal Data communication is performed.

送信時は、DTEからのデータは、端末インタフェース12
を介して送信部117に入力される。送信部117は、このデ
ータでキャリヤを変調し、帯域分離回路118及びNCU111
を経由して電話回線13に送出する。送信信号は、図示し
ない交換網及び受信側モデムを経由して相手局に送られ
る。
When transmitting, the data from the DTE is sent to the terminal interface 12
Is input to the transmission unit 117 via. The transmission unit 117 modulates the carrier with this data, and the band separation circuit 118 and the NCU 111.
To the telephone line 13 via. The transmission signal is sent to the partner station via a switching network and a receiving modem not shown.

受信時は、相手局からの受信信号は、電話回線13、NCU1
11及び帯域分離回路118を経由して受信部114及びCD検出
回路115に入力される(受信信号はトーン検出回路116に
も入力されるが、データ通信時はトーン検出回路116は
動作しない)。
During reception, the signal received from the partner station is the telephone line 13, NCU1.
The signal is input to the receiving unit 114 and the CD detection circuit 115 via 11 and the band separation circuit 118 (the reception signal is also input to the tone detection circuit 116, but the tone detection circuit 116 does not operate during data communication).

受信部114は、受信信号から元のデータを復調し、この
データを、端末インタフェース12を介してDTEに送る。
The receiving unit 114 demodulates the original data from the received signal and sends this data to the DTE via the terminal interface 12.

ステップ SQD112は、受信信号より信号品質指示値(SQ指示値)を
発生してMPU113aに供給する。
Step 9 The SQD 112 generates a signal quality instruction value (SQ instruction value) from the received signal and supplies it to the MPU 113a.

QAM(Quadrature Amplitude Modulation:直交振幅変
調)波が送信及び受信信号として用いられる場合、SQ指
示値は、QAM波復調時の基準点(その大きさは受信信号
の最大値に比例する)と直角格子点に配置された各信号
点との間の距離の和で表される。この距離の和が大きく
なる程、即ちSQ指示値のレベルが大きくなる程エラー発
生率が高くなり、信号品質が低下する。従って、このSQ
指示値のレベルを監視することにより、信号品質及び回
線状態を検出することが出来る。
When a QAM (Quadrature Amplitude Modulation) wave is used as a transmission and reception signal, the SQ indication value is a reference point at the time of demodulating the QAM wave (its size is proportional to the maximum value of the reception signal) and a rectangular grid. It is represented by the sum of the distances between the signal points arranged at the points. The larger the sum of the distances, that is, the larger the level of the SQ instruction value, the higher the error occurrence rate and the lower the signal quality. Therefore, this SQ
By monitoring the level of the indicated value, the signal quality and line condition can be detected.

MPU113aは、閾値を設け、SQD112より入力されたSQ指示
値のレベルがこの閾値を越えた場合は、回線状態が悪化
して通信に必要な信号品質が得られなくなったと判定
し、一旦回線を切断してステップS6に戻り、前述のリダ
イヤル処理を行う。
The MPU113a sets a threshold value, and when the level of the SQ instruction value input from the SQD112 exceeds this threshold value, it is determined that the line condition has deteriorated and the signal quality necessary for communication cannot be obtained, and the line is disconnected once. and returns to step S 6 and performs the redial processing described above.

ステップS10 SQ指示値が閾値よりも低く回線状態が良好である場合で
も、相手局からのキャリヤが一定時間以上検出されない
ときは、通信を終了する。
Step S 10 Even if the SQ instruction value is lower than the threshold value and the line condition is good, if the carrier from the partner station is not detected for a certain time or more, the communication is ended.

相手局からデータが送られる場合は、規約により必ずキ
ャリヤが送られるので、CD検出回路115によりキャリヤ
が検出される。MPU113aは、CD検出回路115より一定時間
キャリヤ検出信号が入力されないきは、相手局からの通
信は終了したと判定し、通信終了処理を行う。
When data is sent from the partner station, the carrier is always sent by convention, so the carrier is detected by the CD detection circuit 115. If the carrier detection signal is not input from the CD detection circuit 115 for a certain period of time, the MPU 113a determines that the communication from the partner station has ended, and performs communication end processing.

ステップS11 DTEより相手局にデータを送信する場合は、規約によりD
TEからER(Equipment Ready:データ端末レディ)信号が
モデム11に送られる。
When sending data to the other station from step S 11 DTE, D by convention
An ER (Equipment Ready: data terminal ready) signal is sent from the TE to the modem 11.

MPU113aは、端末インタフェース12を介してDTEより送ら
れるER信号を監視し、このER信号が一定時間以上検出さ
れないときは、DTEからのデータの通信が終了したもの
と判定し、通信終了処理を行う。
The MPU 113a monitors the ER signal sent from the DTE via the terminal interface 12, and when this ER signal is not detected for a certain period of time, determines that the data communication from the DTE has ended, and performs communication end processing. .

以上、全二重モデムの場合の実施例について説明した
が、本発明はこの全二重モデムの場合に限定されるもの
でなく、半二重モデムの場合にも適用されるものであ
る。
Although the embodiment in the case of the full-duplex modem has been described above, the present invention is not limited to the case of the full-duplex modem, but is also applied to the case of the half-duplex modem.

半二重モデムの場合は、帯域分離回路118の代りに、送
信時は受信部117をNUC111に接続し、受信時は受信部11
4、CD検出回路115及びトーン検出回路116にNCU111を接
続する切換え回路が用いられる。その他の構成は、全二
重モデムの場合と同じであり、その回路接続及びリダイ
ヤル動作は、前述の全二重モデムの場合と同じである。
In the case of a half-duplex modem, instead of the band separation circuit 118, the receiving unit 117 is connected to the NUC111 when transmitting and the receiving unit 11 is receiving when receiving.
4. A switching circuit that connects the NCU 111 to the CD detection circuit 115 and the tone detection circuit 116 is used. The other configuration is the same as that of the full-duplex modem, and its circuit connection and redial operation are the same as those of the above-mentioned full-duplex modem.

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

以上説明した様に、本発明によれば、通信回線設定時に
電話回線より音声信号またはビジートーンが検出された
場合、また、通信途中において回線状態悪化等により信
号品質が低下したことにより回線切断が行われた場合に
も、モデムが同一相手局に対して自動的にリダイヤルを
行って回線を再接続させることが出来る。その際、自動
的にリダイヤルされるので、再設定のための手間を省く
ことができ、良好な状態の回線ルートによる接続が可能
である。
As described above, according to the present invention, the line is disconnected when a voice signal or a busy tone is detected from the telephone line when the communication line is set up, or when the signal quality is deteriorated due to the deterioration of the line state during communication. In the case of the call, the modem can automatically redial the same station and reconnect the line. At that time, since redialing is automatically performed, it is possible to save the trouble of re-setting, and it is possible to connect by the line route in a good state.

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

第1図…本発明の基本構成の説明図、 第2図…本発明の一実施例の構成の説明図、 第3図…同実施例の処理フローチャート、 第4図…従来のデータ端末装置(DTE)とモデムの回線
構成の説明図、 第1図及び第2図において、 11……発着信自動形網制御装置(AA形NCU)内蔵モデ
ム、12……端末インタフェース、13……電話回線、111
……発着信自動形網制御装置(AA形NCU:NCUと略記)、1
12……信号品質検出回路(SQD)、113……リダイヤル制
御部(又は制御部)。
FIG. 1 ... Explanatory diagram of basic configuration of the present invention, FIG. 2 ... Explanatory diagram of configuration of an embodiment of the present invention, FIG. 3 ... Processing flowchart of the same embodiment, FIG. 4 ... Conventional data terminal device ( Fig. 1 and Fig. 2 are diagrams for explaining the line configuration of the DTE) and the modem. In Fig. 1 and Fig. 2, 11 ... Modem with a built-in outgoing / incoming automatic network controller (AA NCU), 12 ... Terminal interface, 13 ... 111
...... Calling and receiving automatic network controller (AA type NCU: NCU), 1
12 …… Signal quality detection circuit (SQD), 113 …… Redial control section (or control section).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】発着信自動形網制御装置(111)内蔵形モ
デム(11)によるリダイヤル制御方式において、 (a)通信中の前記モデム(11)で受信された受信信号
の品質値を出力する信号品質検出回路(112)と、 (b)通信回路設定時の前記モデル(11)で受信される
電話回線のビジートーンおよび音声信号を検出するトー
ン検出回路(116)と、 (c)前記信号品質検出手段(112)より出力される品
質値が或る一定値以下に低下したとき、また、前記トー
ン検出回路(116)でビジートーンまたは音声信号が検
出されたとき、設定されている回線を切断し、自動発呼
コマンド中のリダイヤル指示パラメータに基づいて発着
信自動網制御装置(111)にリダイヤルを指示するリダ
イヤル制御部(113)、 を前記モデム(11)に備えたことを特徴とするリダイヤ
ル制御方式。
1. A redial control system using a modem (11) with a built-in outgoing / incoming automatic network controller (111), (a) outputting a quality value of a received signal received by the modem (11) during communication. A signal quality detection circuit (112), (b) a tone detection circuit (116) for detecting a busy tone and a voice signal of a telephone line received by the model (11) when the communication circuit is set, (c) the signal quality When the quality value output from the detection means (112) drops below a certain value, or when the tone detection circuit (116) detects a busy tone or a voice signal, the set line is disconnected. And a redial control unit (113) for instructing the automatic dialing / incoming network control device (111) to perform redial based on a redial instruction parameter in an automatic call command. Dial control system.
JP61128155A 1986-06-04 1986-06-04 Redial control system Expired - Fee Related JPH0740708B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61128155A JPH0740708B2 (en) 1986-06-04 1986-06-04 Redial control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61128155A JPH0740708B2 (en) 1986-06-04 1986-06-04 Redial control system

Publications (2)

Publication Number Publication Date
JPS62285561A JPS62285561A (en) 1987-12-11
JPH0740708B2 true JPH0740708B2 (en) 1995-05-01

Family

ID=14977743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61128155A Expired - Fee Related JPH0740708B2 (en) 1986-06-04 1986-06-04 Redial control system

Country Status (1)

Country Link
JP (1) JPH0740708B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2566267B2 (en) * 1988-01-31 1996-12-25 松下電工株式会社 Entrance / exit display system using a telephone line
JPH03165165A (en) * 1989-11-22 1991-07-17 Mitsubishi Electric Corp Communication equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5970043A (en) * 1982-10-13 1984-04-20 Ricoh Co Ltd Communication system of switching network and its terminal equipment

Also Published As

Publication number Publication date
JPS62285561A (en) 1987-12-11

Similar Documents

Publication Publication Date Title
EP0390931B1 (en) Method of matching operation mode of a modem
US5752199A (en) Method and apparatus for sending faxes over analog cellular
EP0653872A1 (en) Conversion of a fax modulation to a data modulation
JP2656196B2 (en) Data communication device
JPS6051056A (en) Communication device
EP0721716A1 (en) Method for controlling a modem connection in the event of disturbance
US6307881B1 (en) Modem control method
US6353748B1 (en) Digital wireless local loop fax/data interface
JP3285176B2 (en) Data transmission system
JPH0740708B2 (en) Redial control system
US5920402A (en) Use of compression to improve the sending of faxes over analog cellular
JPH0444460B2 (en)
US6418204B1 (en) Data interface apparatus and method
JPH10500812A (en) Method and apparatus for transmitting data and voice
JPS6165661A (en) Facsimile communication equipment
JP3285066B2 (en) Data transmission system
JPH0697774B2 (en) Communication terminal
JPH02215261A (en) Facsimile equipment
JP2637444B2 (en) Communications system
JP2633502B2 (en) Modem with error correction function
JPH10107996A (en) Detector for wrong dialing
JPS63196160A (en) Facsimile communication system
JPH04192963A (en) Facsimile response equipment
JPH09224144A (en) Facsimile equipment communicating by plural communication protocol and its communication method
Goodman Troubleshooting microprocessors & digital logic

Legal Events

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