JPH03102946A - Private line connection method - Google Patents

Private line connection method

Info

Publication number
JPH03102946A
JPH03102946A JP1241195A JP24119589A JPH03102946A JP H03102946 A JPH03102946 A JP H03102946A JP 1241195 A JP1241195 A JP 1241195A JP 24119589 A JP24119589 A JP 24119589A JP H03102946 A JPH03102946 A JP H03102946A
Authority
JP
Japan
Prior art keywords
modem
command
timer
computer
atd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1241195A
Other languages
Japanese (ja)
Other versions
JPH0722295B2 (en
Inventor
Toru Takahashi
徹 高橋
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP1241195A priority Critical patent/JPH0722295B2/en
Publication of JPH03102946A publication Critical patent/JPH03102946A/en
Publication of JPH0722295B2 publication Critical patent/JPH0722295B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To reduce the line connection time by allowing a computer (CMP) in the caller mode to send an ATD command at a variable period and a CMP in the called party mode to send an ATA command at a constant period to an AT MODEM. CONSTITUTION:An ATD command issue means 4 of a caller CMP 1S issues an ATD command to an AT MODEM 2S when a private line 3 is connected and starts a command issue interval variable timer 6. The CMP 1S revises the setting time of the timer 6 when no return information comes from the MODEM 2S even when the setting time of the timer 6 elapses after the issue of the ATD command and issues the ATD command again. On the other hand, when the called CMP 1R connects to the line 3, an ATA command is issued from an issue means 5 to an AT MODEM 2R to start a constant period timer 7. When no return information comes from the MODEM 2R even after the setting time of the timer 7 elapses after the issue of the ATA command, the AT command is issued again.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、2台のコンピュータをいわゆるATモデム
を介して専用回線で1対1に接続してデータの授受を行
うシステムにおける回線接続方法に関する。 ここでATモデムとは、知能を持ったモデムで、ATT
ENT I ONコマンドと呼ばれる各種のコマンドに
応じて相手モデムの呼出等の動作を行うモデムをいう。
The present invention relates to a line connection method in a system in which two computers are connected one-to-one through a dedicated line via a so-called AT modem to exchange data. Here, AT modem is a modem with intelligence.
A modem that performs operations such as calling a remote modem in response to various commands called ENT I ON commands.

【従来の技術】[Conventional technology]

2台のコンピュータをATモデムを介して専用回線で1
対1に接続し、回線をオフライン状態からオンライン状
態にする場合には、発信に設定されたATモデム側のコ
ンピュータと着信モードに設定されたATモデム側のコ
ンピュータとで回線をオンライン状態にするための行為
、例えば発信側と着信側でそれぞれ回線接続コマンドの
発行、或いは、それに該当する処理を同時に行わなけれ
ばならない。このため従来は発信側と着信側とで人間が
別回線等を用いて互いに交信しながら、手動でそれぞれ
の側のATモデムに対するフック操作等を行っていた。
Connect two computers to one using a dedicated line via an AT modem.
When connecting to a 1-to-1 connection and bringing the line from an offline state to an online state, the computer on the AT modem side set for outgoing and the computer on the AT modem side set for incoming mode bring the line online. For example, each calling and receiving side must issue a line connection command or perform corresponding processing at the same time. For this reason, conventionally, humans on the calling and receiving sides communicated with each other using separate lines, etc., and manually performed hook operations for the AT modems on each side.

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかしながら上述の回線接続方法は煩わしく、時間がか
かるという問題がある。 そこで本発明はこの問題を解消し得る専用回線接続方法
を提供することを課題とする。
However, the above line connection method has the problem of being troublesome and time consuming. Therefore, it is an object of the present invention to provide a dedicated line connection method that can solve this problem.

【課題を解決するための手段】[Means to solve the problem]

前記の課題を解決するために本発明の方法は、『2つの
コンピュータ(Is,IRなど)と、それぞれこの各コ
ンピュータに属するATモデム(2S,2Rなど)と、
を備え、 前記2つのATモデムは専用回線(3など)で結合され
、前記2つのコンピュータが前記ATモデムと専用回線
とを介し互にデータを授受するシステムにおいて、 前記専用回線の接続の際、回線接続に成功する迄は、前
記コンピュータのうち発信側のコンピュータは第1の周
期で自身に属する前記ATモデムヘ(発信のため相手の
ATモデムを呼出すべき旨の)ATDコマンドを与え、
同じく着信側のコンピュータは第2の周期で自身に属す
る前記ATモデムヘ(着信のため相手のATモデムを呼
出すべき旨の)ATAコマンドを与えるようにし、かつ
この際、前記第1または第2の周期の一方を固定し、他
方を少なくとも所定の上下限値の間で所定の変化分づつ
順次変化するように』するものとする。
In order to solve the above problems, the method of the present invention provides two computers (Is, IR, etc.), an AT modem (2S, 2R, etc.) belonging to each computer,
In a system in which the two AT modems are connected by a dedicated line (such as 3) and the two computers exchange data with each other via the AT modem and the dedicated line, when the dedicated line is connected, Until the line connection is successful, one of the computers on the calling side gives an ATD command (to call the other party's AT modem for making a call) to the AT modem belonging to itself in a first cycle;
Similarly, the computer on the receiving side gives an ATA command (indicating that the other party's AT modem should be called to receive a call) to the AT modem belonging to itself in the second cycle, and in this case, One of them is fixed, and the other is made to change sequentially by a predetermined amount of change between at least predetermined upper and lower limit values.

【作 用】[For use]

ATモデムが発信モードのコンピュータはATDコマン
ドを可変周期で該ATモデムに送り、ATモデムが着信
モードのコンピュータはATAコマンドを定周期で該A
Tモデムに送ってATDコマンドの出力時点とATAコ
マンドの出力時点とが一致する機会を自動的に作り出す
A computer whose AT modem is in sending mode sends an ATD command to the AT modem at variable intervals, and a computer whose AT modem is in receiving mode sends an ATA command to the AT modem at regular intervals.
The command is sent to the T modem to automatically create an opportunity for the output time of the ATD command and the output time of the ATA command to match.

【実施例】【Example】

以下第1図ないし第3図を用いて本発明の実施例を説明
する。第1図は本発明の一実施例としてのシステム構或
図である。同図において3は専用回線、2(2S.2R
)はこの回la3の両端に設けられたATモデムである
。1 ( 15. IR)はそれぞれ自身に属するAT
モデム2S,2Rおよび専用回線3を介して相互にデー
タを授受するコンピュータで、この例では便宜上Isを
発信側、IRを着信側とする。またこれに応じてATモ
デム2sは予め発信モードに設定され、同様にATモデ
ム2Rは着信モードに設定されている。 また4および6はコンピュータISO機能の一部を分担
すると見做した部分機能部としてのATDコマンド発行
手段およびコマンド発行間隔可変タイマであり、5およ
び7は同しくコンピュータIRの機能の一部を分担する
と見做した部分機能部としてのATAコマンド発行手段
および定周期タイマである。 第2図,第3図はそれぞれコンピュータIs,IRの要
部動作を示すフローチャートである。なお以下20〜2
6の符号は第2図中のステップを示し、30〜36の符
号は第3図中のステップを示す。 次に第2図,第3図を用いて第1図の動作を説明スる。 発信側のコンピュータlS(のATDコマンド発行千段
4)は専用回線3を接続しようとする際、ATDコマン
ドをATモデム2Sへ発行し(20.21)、コマンド
発行間隔可変タイマ6を起動する(22)。そして発行
されたATDコマンドに対する復帰情報(つまり回線接
続の戒立または不成立を示す情報)としてATモデム2
SがコンピュータISへ回線接続不戊立を返して来た場
合に(23,分岐Y→24,分岐N)、前記タイマ6の
タイムアウトを持って(26,分岐Y)、コンピュータ
Is(のATDコンピュータ発行手段4)は再度ATD
コマンドをATモデム2Sへ発行し(21)、回線接続
或立を返して来た場合には終了する(23、分岐Y→2
4,分岐Y)。 コンピュータIsは、ATDコマンドを発行してから、
ATモデム2Sの復帰情報が帰るまで時間監視し、AT
Dコマンドの発行後コマンド発行間隔可変タイマ゛6の
設定時間を経過してもATモデム2Sから復帰情報が返
って来ない場合には、再度ATDコマンドを発行する(
21〜23,分岐N→25,分岐Y→21)。 このコマンド発行間隔可変タイマ6の設定時間を最小値
から少しづつ長くし、最大値に達した時点で最小値に戻
す。最小値は1秒から5秒までの間の所定値とし、最大
値は5秒から20秒までの間の所定値とする。この設定
時間の増加値は1秒から5秒までの間の所定値とする。 他方、着信側のコンピュータIR(のATAコマンド発
行手段5)は専用回線3を接続しようとする際、ATA
コマンドをATモデム2Rへ発行し(30.31)、定
周期タイマ7を起動する(32)。そして発行されたA
TAコマンドに対する復帰情報としてATモデム2Rが
コンピュータIRへ回線接続不戒立を返して来た場合に
(33,分岐Y→34,分岐N)、前記タイマ7のタイ
ムアウトを待って(36,分岐Y)、コンピュータIR
(のATAコマンド発行千段5)は再度、ATAコマン
ドをATモデム2Rへ発行し(31)、回線接続戒立を
返して来た場合には終了する(33,分岐Y→34,分
岐Y).コンピュータIRは、ATAコマンドを発行し
てからATモデム2Rの復帰情報が帰るまで時間監視し
、ATAコマンドの発行後、定周期タイマ7の設定時間
を経過してもATモデム2Rから復帰情報が帰って来な
い場合には、再度、ATAコマンドを発行する(31〜
33,分岐N→35,分岐Y→31). この定周期タイマ7の設定時間を5秒から15秒までの
間の所定値とする。
Embodiments of the present invention will be described below with reference to FIGS. 1 to 3. FIG. 1 is a system configuration diagram as an embodiment of the present invention. In the same figure, 3 is a dedicated line, 2 (2S.2R
) are AT modems installed at both ends of this circuit la3. 1 (15. IR) is the AT that belongs to itself
These are computers that exchange data with each other via the modems 2S and 2R and the dedicated line 3. In this example, for convenience, Is is assumed to be the originating side, and IR is assumed to be the receiving side. Further, in accordance with this, the AT modem 2s is set in advance to a calling mode, and the AT modem 2R is similarly set to a receiving mode. Further, 4 and 6 are ATD command issuing means and a command issuance interval variable timer as partial functional units that are considered to share a part of the computer ISO function, and 5 and 7 are also part of the computer IR function. Then, the ATA command issuing means and fixed period timer are considered as partial functional units. FIGS. 2 and 3 are flowcharts showing the main operations of the computers Is and IR, respectively. The following 20-2
Reference numeral 6 indicates the step in FIG. 2, and reference numerals 30 to 36 indicate the steps in FIG. Next, the operation shown in FIG. 1 will be explained using FIGS. 2 and 3. When the sending computer IS (ATD command issuing stage 4) attempts to connect the dedicated line 3, it issues an ATD command to the AT modem 2S (20.21) and starts the command issuance interval variable timer 6 ( 22). Then, the AT modem 2 receives return information in response to the issued ATD command (that is, information indicating whether the line connection is established or not established).
When S returns the line connection failure to computer IS (23, branch Y → 24, branch N), when the timer 6 has timed out (26, branch Y), the ATD computer of computer IS (23, branch Y → 24, branch N) Issuance method 4) is ATD again
A command is issued to the AT modem 2S (21), and if it returns a line connection or establishment, the process ends (23, branch Y → 2
4, Branch Y). The computer Is issues the ATD command and then
The time is monitored until the return information of AT modem 2S is returned, and the AT
If the return information is not returned from the AT modem 2S even after the time set in the command issuance interval variable timer 6 has elapsed after issuing the D command, issue the ATD command again (
21-23, branch N→25, branch Y→21). The set time of this command issue interval variable timer 6 is gradually increased from the minimum value, and when it reaches the maximum value, it is returned to the minimum value. The minimum value is a predetermined value between 1 second and 5 seconds, and the maximum value is a predetermined value between 5 seconds and 20 seconds. The increment value of this set time is a predetermined value between 1 second and 5 seconds. On the other hand, when the computer IR on the receiving side (the ATA command issuing means 5) attempts to connect the dedicated line 3, the ATA
A command is issued to the AT modem 2R (30.31), and the periodic timer 7 is activated (32). and issued A
When the AT modem 2R returns line connection failure to the computer IR as return information in response to the TA command (33, branch Y → 34, branch N), it waits for the timeout of the timer 7 (36, branch Y ), computer IR
(ATA command issue 1,000 steps 5) issues an ATA command to AT modem 2R again (31), and ends if it returns a line connection command (33, branch Y → 34, branch Y) .. The computer IR monitors the time from when the ATA command is issued until the return information of the AT modem 2R is returned, and after the ATA command is issued, the return information is not returned from the AT modem 2R even after the set time of the periodic timer 7 has elapsed. If it does not come, issue the ATA command again (31~
33, branch N → 35, branch Y → 31). The set time of this periodic timer 7 is set to a predetermined value between 5 seconds and 15 seconds.

【発明の効果】【Effect of the invention】

本発明によればATモデムが発信モードのコンピュータ
がATDコマンドを可変周期で該ATモデムに送るよう
にしたので、ATモデムが着信モードのコンピュータが
定周期で該ATモデムに発行するATAコマンドと手早
く同期できる。
According to the present invention, since the computer in which the AT modem is in the transmission mode sends the ATD command to the AT modem at variable intervals, the computer in which the AT modem is in the reception mode can quickly and easily respond to the ATA commands issued to the AT modem at regular intervals. Can be synchronized.

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

第1図は本発明の一実施例としてのシステム構威図、 第2図は同じく第1図の発信側コンピュータの要部動作
を示すフローチャート、 第3図は同じく第1図の着信側コンピュータの要部動作
を示すフローチャートである.1 (IS.IR ’)
  :コンピュータ、2 (2S. 2R):ATモデ
ム、3:専用回線、4:ATDコマンド発行手段、5:
ATAコマンド発行手段、6:コマンド発行間隔可変タ
イマ、7:定周期タイマ。 発イ寞イ員11 着イ=イ^1{
FIG. 1 is a system configuration diagram as an embodiment of the present invention, FIG. 2 is a flowchart showing the main operations of the sending computer in FIG. 1, and FIG. 3 is a flowchart showing the operation of the receiving computer in FIG. This is a flowchart showing the main operations. 1 (IS.IR')
: Computer, 2 (2S. 2R): AT modem, 3: Dedicated line, 4: ATD command issuing means, 5:
ATA command issuing means, 6: command issuing interval variable timer, 7: fixed period timer. Departing I member 11 Arriving I = I ^1 {

Claims (1)

【特許請求の範囲】 1)2つのコンピュータと、それぞれこの各コンピュー
タに属するATモデムと、を備え、 前記2つのATモデムは専用回線で結合され、前記2つ
のコンピュータが前記ATモデムと専用回線とを介し互
にデータを授受するシステムにおいて、 前記専用回線の接続の際、回線接続に成功する迄は、前
記コンピュータのうち発信側のコンピュータは第1の周
期で自身に属する前記ATモデムヘATDコマンドを与
え、同じく着信側のコンピュータは第2の周期で自身に
属する前記ATモデムへATAコマンドを与えるように
し、 かつこの際、前記第1または第2の周期の一方を固定し
、他方を少なくとも所定の上下限値の間で所定の変化分
づつ順次変化するようにしたことを特徴とする専用回線
接続方法。
[Scope of Claims] 1) Two computers and an AT modem belonging to each computer, the two AT modems are connected by a dedicated line, and the two computers are connected to the AT modem and the dedicated line. In a system in which data is mutually exchanged via the dedicated line, when the dedicated line is connected, the sending computer among the computers sends an ATD command to the AT modem belonging to itself in the first cycle until the line connection is successful. Similarly, the receiving side computer is configured to give an ATA command to the AT modem belonging to itself in a second period, and at this time, one of the first or second period is fixed, and the other is set to at least a predetermined period. 1. A dedicated line connection method characterized in that the value is sequentially changed by a predetermined amount between upper and lower limit values.
JP1241195A 1989-09-18 1989-09-18 Dedicated line connection method Expired - Fee Related JPH0722295B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1241195A JPH0722295B2 (en) 1989-09-18 1989-09-18 Dedicated line connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1241195A JPH0722295B2 (en) 1989-09-18 1989-09-18 Dedicated line connection method

Publications (2)

Publication Number Publication Date
JPH03102946A true JPH03102946A (en) 1991-04-30
JPH0722295B2 JPH0722295B2 (en) 1995-03-08

Family

ID=17070624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1241195A Expired - Fee Related JPH0722295B2 (en) 1989-09-18 1989-09-18 Dedicated line connection method

Country Status (1)

Country Link
JP (1) JPH0722295B2 (en)

Also Published As

Publication number Publication date
JPH0722295B2 (en) 1995-03-08

Similar Documents

Publication Publication Date Title
JPH03102946A (en) Private line connection method
JPH01194739A (en) System for transferring non-response of automatic exchange
JPH0764472A (en) Remote i/o system of programmable controller
JP2573332B2 (en) Data transfer control method
JP2709720B2 (en) Line connection method between the numerical controller and its peripheral devices
JP2644204B2 (en) Signal link test execution judgment method
JPS6223258A (en) Line connection control system
JPS63122991A (en) Load control system
JP2750934B2 (en) Communication method in multi-connection
JPH06103889B2 (en) Remote monitoring controller
JPH02217039A (en) Poling/selecting control procedure system
JPS62189855A (en) Fault notice system for key telephone set
JPH01297999A (en) Time division multiplex remote control system
JPH0362150A (en) Communication control system
JPH01196956A (en) Telephone line set for maintenance
JPH05110665A (en) Remote control system for data exchange/line concentrator
JPH01256248A (en) Hierarchical protocol parallel processor
JPH027240B2 (en)
JPH04301945A (en) High efficiency multicast system
JPH0834615B2 (en) Line state management control method in switching system
JPS63267038A (en) Communication system
JPS60177748A (en) Circuit controlling system
JPS6326758A (en) Packet communication equipment by dynamic polling
JPS63207238A (en) Data communication system
JPH01297591A (en) Setting and processing system for system timepiece