JP2000125028A - Device and method for automatic modem connection - Google Patents

Device and method for automatic modem connection

Info

Publication number
JP2000125028A
JP2000125028A JP10288964A JP28896498A JP2000125028A JP 2000125028 A JP2000125028 A JP 2000125028A JP 10288964 A JP10288964 A JP 10288964A JP 28896498 A JP28896498 A JP 28896498A JP 2000125028 A JP2000125028 A JP 2000125028A
Authority
JP
Japan
Prior art keywords
modem
control
command
interface
registered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10288964A
Other languages
Japanese (ja)
Inventor
Tamio Nakamura
民男 中村
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP10288964A priority Critical patent/JP2000125028A/en
Publication of JP2000125028A publication Critical patent/JP2000125028A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable easy use by eliminating the need for a user to make settings corresponding to a modem each time the modem is connected. SOLUTION: This device is equipped with a modem interface 3 which is connected to the modem 2 communication software 10 which gives a prescribed function to the modem interface 3, a modem kind managing means 4 which is connected to the modem interface 3 and holds modem control command groups by the kinds of the modem 2 and a modem control specifying means 5 which is connected to the modem kind managing means 4 and holds control specification data and specifies control over the modem 2. The means 5 sets modem control with the modem control commands of management data when the modem is of a kind in the management data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータと電話
回線とをモデムを介して接続するとき、モデムの機種等
に応じてパラメータを自動的に設定して接続し、コンピ
ュータの構成要素であるモデム自動接続装置とその接続
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of connecting a computer and a telephone line via a modem by automatically setting parameters according to the model of the modem and the like, and automatically connecting a modem which is a component of the computer. The present invention relates to a connection device and a connection method thereof.

【0002】[0002]

【従来の技術】最近、電話回線を通じて互いに遠隔地に
あるコンピュータを接続し、多様な情報交換が行われて
様々な活用がされるようになってきた。そのような中、
コンピュータと電話回線とを接続するモデムの性能向上
にもめざましいものがある。電話回線の通信規格とコン
ピュータ内の信号規格は異なっているので、コンピュー
タの情報を電話回線を通じて伝送する際は、電話回線の
通信規格に合うよう信号を変換するためにモデムが用い
られる。モデムの変換速度が遅ければ電話回線の伝送速
度が生かされないため、変換速度の向上が図られ、単に
早いだけで処理コマンドが複雑多岐に亘っていれば使い
にくいため、コマンド体系がスマートなものへと改善さ
れている。このように、変換速度と使いやすいコマンド
体系の改善が図られ、モデムの性能は日々向上している
のである。
2. Description of the Related Art Recently, remote computers have been connected to each other through a telephone line, and various information exchanges have been carried out and various uses have been made. Under such circumstances,
There is also a remarkable improvement in the performance of modems that connect computers to telephone lines. Since the communication standard of the telephone line is different from the signal standard in the computer, when transmitting the information of the computer through the telephone line, a modem is used to convert the signal to conform to the communication standard of the telephone line. If the conversion speed of the modem is low, the transmission speed of the telephone line will not be used, so the conversion speed will be improved. And has been improved. Thus, the conversion speed and the easy-to-use command system have been improved, and the performance of the modem has been improving day by day.

【0003】そのため、ユーザが特定の機種のモデムを
使用していても、最新機種が発売されると、その性能と
便利さが買われて最新機種に入れ替えられ、コンピュー
タ通信設備の更新がされることが多くなっている。モデ
ムが入れ換えられると、コンピュータの接続設定をその
モデムのコマンド体系に合わせる必要があるため、諸設
定値が逐次キー入力される。
[0003] Therefore, even if the user uses a modem of a specific model, when the latest model is released, the performance and convenience are bought and replaced with the latest model, and the computer communication equipment is updated. Things are increasing. When the modem is replaced, it is necessary to adjust the connection settings of the computer to the command system of the modem.

【0004】[0004]

【発明が解決しようとする課題】ところが、モデムの仕
様はメーカやランクによって種類が多く、使用中の装置
を最新機種に入れ換えるといっても、モデム毎にコンピ
ュータの設定が異なり、モデム毎のマニュアルに沿って
注意深くモデム制御の設定をしなければならなかった。
このように、モデムに応じた設定は、ユーザにとっては
面倒なものとなっており、多数の設定をキー入力してい
るときに入力ミスが起き易く、使いにくいという問題が
あった。そこで本発明はかかる事情に鑑みてなされたも
のであり、ユーザの作業を軽減するモデム自動接続装置
とその接続方法を提供することを目的とする。
However, there are many types of modem specifications depending on manufacturers and ranks, and even if a device being used is replaced with the latest model, computer settings differ for each modem and manuals for each modem are different. Had to carefully set the modem control along.
As described above, the setting according to the modem is troublesome for the user, and there is a problem that an input error easily occurs when a large number of settings are input by a key and is difficult to use. The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an automatic modem connection apparatus and a connection method thereof that reduce user's work.

【0005】[0005]

【課題を解決するための手段】本発明のモデム自動接続
装置は、モデムと電話回線を介して離隔したコンピュー
タと通信するコンピュータの構成要素または周辺装置で
あって、前記モデムと接続するモデムインターフェース
と、該モデムインターフェースに所定の機能を付与する
通信ソフトウェアと、前記モデムインターフェースと接
続されて前記モデムの種別毎のモデム制御コマンドデー
タ群を保持するモデム種別管理手段と、該モデム種別管
理手段に接続され、制御特定データを保持して前記モデ
ムの制御を特定するモデム制御特定手段と、を備えたこ
とを特徴としている。また本発明のモデム自動接続方法
は、モデムと電話回線を介して離隔したコンピュータと
通信するコンピュータの構成要素または周辺装置におい
て、前記モデムと接続するモデムインターフェースと、
該モデムインターフェースに所定の機能を付与する通信
ソフトウェアと、前記モデムインターフェースと接続さ
れて前記モデムの種別毎のモデム制御コマンドデータ群
を保持するモデム種別管理手段と、該モデム種別管理手
段に接続され、制御特定データを保持して前記モデムの
制御を特定するモデム制御特定手段とを備え、次の手順
で機能することを特徴としている。その手順とは、
(1)まずはじめに前記モデムインターフェースによっ
てモデムが接続されたかどうかを検出し、(2)モデム
の接続が検出されると、そのモデムで使われるコマンド
が前記モデム種別管理手段に登録されたモデム制御コマ
ンドデータ群の何れかと一致するかどうかを判別して前
記モデムが登録されたものかどうかを検出し、(3)前
記モデムが登録されているものであれば登録されたその
コマンドを用いてモデムの制御を行い、(4)前記モデ
ムが登録されていなければ、前記モデム制御特定手段に
格納されている前記制御特定データに基づいてコマンド
を順次送出して前記モデムの応答を調べ、前記コマンド
に応じた応答をすればそのコマンドを前記モデムのコマ
ンドと特定して前記モデム種別管理手段に登録し、
(5)順次同様にコマンドの応答を調査して登録した
後、そのコマンドを用いてモデムの制御を行うというも
のである。このようになっているため、端末に接続され
たモデム制御の設定が自動的に行われるのである。
SUMMARY OF THE INVENTION An automatic modem connecting apparatus of the present invention is a computer component or a peripheral device for communicating with a remote computer via a modem and a telephone line, and includes a modem interface for connecting to the modem. Communication software for providing a predetermined function to the modem interface; modem type management means connected to the modem interface for holding a group of modem control command data for each type of modem; and modem software connected to the modem type management means. And modem control specifying means for storing control specifying data and specifying control of the modem. Also, a method for automatically connecting a modem according to the present invention comprises a computer component or a peripheral device that communicates with a computer separated from the modem via a telephone line, and a modem interface for connecting to the modem;
Communication software for providing a predetermined function to the modem interface, modem type management means connected to the modem interface to hold a group of modem control command data for each type of modem, connected to the modem type management means, And modem control specifying means for specifying control of the modem by holding control specifying data, and functioning in the following procedure. The procedure is
(1) First, it is detected whether or not a modem is connected by the modem interface. (2) When the connection of the modem is detected, a command used in the modem is registered in the modem type management means. It is determined whether or not the data group matches any of the data groups to detect whether or not the modem is registered. (3) If the modem is registered, the modem is registered by using the registered command. And (4) if the modem is not registered, sequentially sends out commands based on the control specifying data stored in the modem control specifying means, checks the response of the modem, and responds to the command. If a response is given, the command is identified as the command of the modem and registered in the modem type management means,
(5) In the same manner, after checking and registering the response of the command in a similar manner, the modem is controlled using the command. Because of this, the settings of the modem connected to the terminal are automatically set.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。まず、本発明の原理構成について図1を用
いて説明する。図において、1は本発明を具備するコン
ピュータ等の端末装置であり、2はモデム、3はシリア
ルインターフェイス等のモデムインターフェイスであ
る。端末装置1が備えるモデム制御自動設定方法は、モ
デム種別管理手段4とモデム制御特定手段5からなる。
モデム種別管理手段4はモデム2の種別ごとのモデム制
御コマンドデータ群の管理データを保持する。モデム制
御特定手段5はモデム2を特定するための制御特定デー
タを保持し、モデム種別管理手段4の管理データを参照
して端末装置1に接続されたモデム2の種別を特定し、
管理データにある種類のモデムであればその管理データ
のモデム制御コマンドによりモデム制御の設定を行う。
モデム種別管理手段4の管理データにない種類のモデム
であれば、モデム制御特定手段5の保持する制御特定デ
ータに基づいて制御の試行を行い、モデム制御の設定を
決定する。さらに決定したモデム制御コマンドデータを
管理データに新種として追加する。
Embodiments of the present invention will be described below. First, the principle configuration of the present invention will be described with reference to FIG. In the figure, 1 is a terminal device such as a computer equipped with the present invention, 2 is a modem, and 3 is a modem interface such as a serial interface. The modem control automatic setting method provided in the terminal device 1 includes a modem type management unit 4 and a modem control identification unit 5.
The modem type management means 4 holds management data of a modem control command data group for each type of the modem 2. The modem control specifying means 5 holds control specifying data for specifying the modem 2, specifies the type of the modem 2 connected to the terminal device 1 with reference to the management data of the modem type managing means 4,
If the type of the modem is in the management data, the modem control is set by the modem control command of the management data.
If the modem is of a type not included in the management data of the modem type management means 4, a trial of control is performed based on the control identification data held by the modem control identification means 5, and the setting of the modem control is determined. Further, the determined modem control command data is added to the management data as a new type.

【0007】次に、図2の具体的実施例を用いて本発明
を詳細に説明する。図中、1は本発明を具備するコンピ
ュータ等の端末装置であり、2はモデム、3はシリアル
インターフェイス等のモデムインターフェイスである。
6はモデム種別ごとのモデム制御コマンドデータ群の管
理データを保持する制御コマンドテーブル、7はモデム
を特定するための制御特定テーブル、8はモデム制御部
であって、制御コマンドテーブルのデータに基づいてモ
デム2にATコマンドを送出するもの、9はモデム制御コ
マンド解析部であって、制御特定テーブルのデータをも
とにモデム制御の特定をおこなうものである。例えば、
モデム2を端末装置1に接続した場合、モデム制御部8
はモデムインターフェイス3よりモデム2の接続を検出
し、制御コマンドテーブル6を参照してモデム2の種類
を探す。モデムの種類が見つかった場合は制御コマンド
テーブル6の制御コマンド群により、最適に通信を行う
ための設定をATコマンドでモデム2に送出し設定を完
了する。モデムの種類が見つからなかった場合は、モデ
ム制御コマンド解析部9が制御特定テーブル7を参照
し、特定コマンドをモデム制御部8に送出し、そのリザ
ルトコードによりコマンドが有効などの判定を行い、モ
デム2の制御コマンドデータを作成し、制御コマンドテ
ーブルに新種として登録する。図3に本発明の実施例の
処理フローを図示する。
Next, the present invention will be described in detail with reference to a specific embodiment shown in FIG. In the figure, 1 is a terminal device such as a computer equipped with the present invention, 2 is a modem, and 3 is a modem interface such as a serial interface.
Reference numeral 6 denotes a control command table for holding management data of a modem control command data group for each modem type, reference numeral 7 denotes a control specification table for specifying a modem, and reference numeral 8 denotes a modem control unit, which is based on data in the control command table. An AT command is transmitted to the modem 2, and a modem control command analysis unit 9 specifies modem control based on data in the control specification table. For example,
When the modem 2 is connected to the terminal device 1, the modem control unit 8
Detects the connection of the modem 2 from the modem interface 3 and looks up the type of the modem 2 by referring to the control command table 6. If the type of the modem is found, the setting for optimal communication is transmitted to the modem 2 by the AT command according to the control command group of the control command table 6, and the setting is completed. If the type of the modem is not found, the modem control command analysis unit 9 refers to the control specification table 7 and sends a specific command to the modem control unit 8, and determines whether the command is valid or not based on the result code. 2 is created and registered as a new type in the control command table. FIG. 3 shows a processing flow of the embodiment of the present invention.

【0008】次に図3を用いて本発明の方法の手順を説
明する。その手順とは、 (1)まずはじめにモデムインターフェース3によって
モデム2が接続されたかどうかを検出する。 (2)モデム2の接続が検出されると、モデム2で使わ
れるコマンドがモデム種別管理手段4に登録されたモデ
ム制御コマンドデータ群の何れかと一致するかどうかを
判別し、モデム2が登録されたものかどうかを検出す
る。 (3)モデム2が登録されているものであれば、以降、
登録されたそのコマンドを用いてモデムの制御を行う。 (4)モデム2が登録されていないものであれば、モデ
ム制御特定手段5に格納されている制御特定データに基
づきコマンドを順次送出してモデム2の応答を調べ、コ
マンドに対応した応答をすればそのコマンドをモデム2
のコマンドと特定してモデム種別管理手段4に登録す
る。 (5)順次同様にコマンドの応答を調査して登録した
後、そのコマンドを用いてモデムの制御を行う。
Next, the procedure of the method of the present invention will be described with reference to FIG. The procedure is as follows: (1) First, the modem interface 3 detects whether or not the modem 2 is connected. (2) When the connection of the modem 2 is detected, it is determined whether the command used in the modem 2 matches any one of the modem control command data groups registered in the modem type management means 4, and the modem 2 is registered. Detect if it is. (3) If the modem 2 is registered,
The modem is controlled using the registered command. (4) If the modem 2 is not registered, commands are sequentially transmitted based on the control specifying data stored in the modem control specifying means 5 to check the response of the modem 2, and a response corresponding to the command is sent. If the command is modem2
And registers it in the modem type management means 4. (5) After sequentially examining and registering the response of the command, the modem is controlled using the command.

【0009】図4は、制御コマンドテーブルの一実施例
である。モデムの種類とそのモデムに対応した制御コマ
ンド群が登録されている。制御コマンド群は「,」で区
切られたATコマンド命令セットのリストになっており、
リストの先頭のATコマンド命令セットが最適に通信を行
うためのものである。新種のモデムが発見された場合
は、このテーブルのモデムの種類をモデムBなどと適当
につけ、コマンド群の追加が行われる。図5は制御特定
テーブルの一実施例である。制御特定に必要なATコマン
ド群と予測されるその応答としてのリザルトコードと、
そのリザルトコードが一致したときの判定識別子(A〜F
などの数段階)からなる。この判定識別子を基準に、制
御コマンドテーブルの最適に通信するための制御コマン
ド群のAT命令セットが作成される。このようにすること
によって、前記の機能を得ることができるのである。
FIG. 4 shows an embodiment of the control command table. A type of modem and a control command group corresponding to the modem are registered. The control command group is a list of AT command instruction sets separated by ",".
The AT command instruction set at the top of the list is for optimal communication. When a new type of modem is found, the type of modem in this table is appropriately set to modem B or the like, and a command group is added. FIG. 5 shows an embodiment of the control specifying table. AT command group required for control identification and expected result code as its response,
Judgment identifier (A to F) when the result code matches
Etc.). Based on this determination identifier, an AT instruction set of a control command group for optimal communication in the control command table is created. By doing so, the above function can be obtained.

【0010】[0010]

【発明の効果】以上述べたように、本発明によればモデ
ムに応じた端末装置の諸設定を自動的にすることができ
るので、オペレータの作業を軽減できるという実用的な
効果がある。
As described above, according to the present invention, since various settings of the terminal device according to the modem can be automatically made, there is a practical effect that the work of the operator can be reduced.

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

【図1】本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.

【図2】本発明の方法を説明する一実施例のブロック図FIG. 2 is a block diagram of one embodiment illustrating the method of the present invention.

【図3】本発明の方法を説明する一実施例のフローチャ
ート
FIG. 3 is a flow chart of one embodiment illustrating the method of the present invention.

【図4】制御コマンドテーブルの一実施例FIG. 4 shows an embodiment of a control command table.

【図5】制御特定テーブルの一実施例FIG. 5 is an example of a control specifying table.

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

1 端末装置 2 モデム 3 モデムインターフェース 4 モデム種別管理手段 5 モデム制御特定手段 6 制御コマンドテーブル 7 制御特定テーブル 8 モデム制御部 9 モデム制御コマンド解析部 10 通信ソフトウェア DESCRIPTION OF SYMBOLS 1 Terminal device 2 Modem 3 Modem interface 4 Modem type management means 5 Modem control specification means 6 Control command table 7 Control specification table 8 Modem control unit 9 Modem control command analysis unit 10 Communication software

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】モデムと電話回線を介して離隔したコンピ
ュータと通信するコンピュータの構成要素または周辺装
置であって、 前記モデムと接続するモデムインターフェースと、 該モデムインターフェースに所定の機能を付与する通信
ソフトウェアと、 前記モデムインターフェースと接続されて前記モデムの
種別毎のモデム制御コマンドデータ群を保持するモデム
種別管理手段と、 該モデム種別管理手段に接続され、制御特定データを保
持して前記モデムの制御を特定するモデム制御特定手段
と、を備えたことを特徴とするモデム自動接続装置。
1. A component or a peripheral device of a computer that communicates with a computer remote from a modem via a telephone line, comprising: a modem interface connected to the modem; and communication software for giving a predetermined function to the modem interface. A modem type management means connected to the modem interface and holding a modem control command data group for each type of the modem; a modem type control means connected to the modem type management means and holding control specific data to control the modem. And a modem control specifying means for specifying.
【請求項2】モデムと電話回線を介して離隔したコンピ
ュータと通信するコンピュータの構成要素であって、 前記モデムと接続するモデムインターフェースと、 該モデムインターフェースに所定の機能を付与する通信
ソフトウェアと、 前記モデムインターフェースと接続されて前記モデムの
種別毎のモデム制御コマンドデータ群を保持するモデム
種別管理手段と、 該モデム種別管理手段に接続され、制御特定データを保
持して前記モデムの制御を特定するモデム制御特定手段
とを備え、次の手順で機能することを特徴とするモデム
自動接続方法。 (1)まずはじめに前記モデムインターフェースによっ
てモデムが接続されたかどうかを検出し、(2)モデム
の接続が検出されると、そのモデムで使われるコマンド
が前記モデム種別管理手段に登録されたモデム制御コマ
ンドデータ群の何れかと一致するかどうかを判別して前
記モデムが登録されたものかどうかを検出し、(3)前
記モデムが登録されているものであれば登録されたその
コマンドを用いてモデムの制御を行い、(4)前記モデ
ムが登録されていなければ、前記モデム制御特定手段に
格納されている前記制御特定データに基づいてコマンド
を順次送出して前記モデムの応答を調べ、前記コマンド
に応じた応答をすればそのコマンドを前記モデムのコマ
ンドと特定して前記モデム種別管理手段に登録し、
(5)順次同様にコマンドの応答を調査して登録した
後、そのコマンドを用いてモデムの制御を行う。
2. A component of a computer which communicates with a computer remote from a modem via a telephone line, comprising: a modem interface connected to the modem; communication software for giving a predetermined function to the modem interface; A modem type management means connected to a modem interface and holding a modem control command data group for each type of the modem; a modem connected to the modem type management means and holding control specifying data to specify control of the modem A method for automatically connecting a modem, comprising a control specifying means, and functioning in the following procedure. (1) First, it is detected whether or not a modem is connected by the modem interface. (2) When the connection of the modem is detected, a command used in the modem is registered in the modem type management means. It is determined whether or not the data group matches any of the data groups to detect whether or not the modem is registered. (3) If the modem is registered, the modem is registered by using the registered command. And (4) if the modem is not registered, sequentially sends out commands based on the control specifying data stored in the modem control specifying means, checks the response of the modem, and responds to the command. If a response is given, the command is identified as the command of the modem and registered in the modem type management means,
(5) After sequentially examining and registering the response of the command, the modem is controlled using the command.
JP10288964A 1998-10-12 1998-10-12 Device and method for automatic modem connection Pending JP2000125028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10288964A JP2000125028A (en) 1998-10-12 1998-10-12 Device and method for automatic modem connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10288964A JP2000125028A (en) 1998-10-12 1998-10-12 Device and method for automatic modem connection

Publications (1)

Publication Number Publication Date
JP2000125028A true JP2000125028A (en) 2000-04-28

Family

ID=17737088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10288964A Pending JP2000125028A (en) 1998-10-12 1998-10-12 Device and method for automatic modem connection

Country Status (1)

Country Link
JP (1) JP2000125028A (en)

Similar Documents

Publication Publication Date Title
JP2000125028A (en) Device and method for automatic modem connection
US6356583B1 (en) Device and method for controlling the baud rate between a portable telephone and an external device
CN109542812A (en) Data communication control method, device and terminal device
JP3102069B2 (en) Numerical control group management method
CN100479574C (en) Interface for transmitting trace information
JP2875121B2 (en) Data communication system
CN110505136B (en) Layered MODBUS communication system and method
JP2587950B2 (en) Facsimile machine
JP2709720B2 (en) Line connection method between the numerical controller and its peripheral devices
CN108289039A (en) Reminding method, control chip, USB connecting lines and the system of download state
JP2000036883A (en) Remote diagnosis communication method
JPH04332239A (en) Station data transfer and informing system
JPS62166426A (en) Remote job entry control system
JPH04336354A (en) Decentralized computer system
CN113810303A (en) Self-adaptive method, device and equipment of communication module and storage medium
JPH04268852A (en) Communication equipment
CN115708029A (en) Equipment and method for diagnosing and configuring hydraulic device based on wireless local area network
JP2625049B2 (en) Break signal monitoring time setting method
JPH05120185A (en) Automatic connecting/disconnecting system for terminal equipment
JPH01256857A (en) Communication controller
JPH0390548U (en)
JPH04205156A (en) Communication controller
JPS63211942A (en) Non-procedure communication control method
JPH05257787A (en) Document text file transmission processing system
JPH06231056A (en) Plural file transfer system