Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2556948B2 - Dynamic selection method of modem protocol supporting multiple modem types - Google Patents
[go: Go Back, main page]

JP2556948B2 - Dynamic selection method of modem protocol supporting multiple modem types - Google Patents

Dynamic selection method of modem protocol supporting multiple modem types

Info

Publication number
JP2556948B2
JP2556948B2 JP4319899A JP31989992A JP2556948B2 JP 2556948 B2 JP2556948 B2 JP 2556948B2 JP 4319899 A JP4319899 A JP 4319899A JP 31989992 A JP31989992 A JP 31989992A JP 2556948 B2 JP2556948 B2 JP 2556948B2
Authority
JP
Japan
Prior art keywords
modem
type
remotely connected
pointer
connected device
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
JP4319899A
Other languages
Japanese (ja)
Other versions
JPH06224964A (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.)
Boeing North American Inc
Original Assignee
Rockwell International 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 Rockwell International Corp filed Critical Rockwell International Corp
Priority to JP4319899A priority Critical patent/JP2556948B2/en
Publication of JPH06224964A publication Critical patent/JPH06224964A/en
Application granted granted Critical
Publication of JP2556948B2 publication Critical patent/JP2556948B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、一般には電子工学、更
に言えば、通信媒体を通じて他のデジタル信号デバイス
と通信する所定デジタル信号出力デバイスのそれらデバ
イス間における信号通信に関する。更に言えば、本発明
は、設定し、接続し、若しくはなんらかの通信を完了す
る最中に、モデムに送信され若しくはそのモデムから予
期される何らかの命令と関連して、接続されたモデムに
とって適当な正しいコマンドセットを使用するために、
もしいづれかのタイプのモデムが接続されているのな
ら、どのタイプのモデムが接続されているかのかを決定
するべくデジタルデバイスで利用される動的選択アルゴ
リズムに関する。
FIELD OF THE INVENTION This invention relates generally to electronics, and more specifically to signal communication between certain digital signal output devices that communicate with other digital signal devices through a communication medium. Moreover, the present invention relates to any command sent to or expected by a modem during setup, connection, or completion of any communication, which is appropriate for the connected modem. To use the command set,
If any type of modem is connected, it relates to a dynamic selection algorithm utilized by the digital device to determine which type of modem is connected.

【0002】[0002]

【従来の技術】電話線、電波等といった様々な通信手段
を通じてデジタルデバイス間で通信する場合、デバイス
からのデジタル信号を送信媒体に適した変調信号に変換
するため、モデムを用いる必要がある。本出願人のデバ
イスと同様のデバイスは、従来では、全ての出力ポート
上で同じタイプのモデムを用いるものとして設計されて
きた。異なるコマンドセットを必要とする他のモデムタ
イプが使用された場合には、その新たなモデムタイプに
インタフェース接続を行なうために、そのデバイスには
異なるボードが挿入される。プリント回路ボードを変更
すること無く、デジタルデバイス上のあらゆる所定ポー
トにあらゆるタイプのモデムを接続することができ、ま
た異なるタイプのモデムが現れた場合にその異なるタイ
プのモデムの物理的適用性を利用することができるとし
たならば、勿論、それは有用なことであろう。このよう
な状況に対する明白な解決策として、デジタルデバイス
の各出力ポートにいくつかのスイッチタイプを設ける、
ということが考えられるであろう。これらのスイッチ
は、数種の異なるモデムの各々に対するコマンドセット
に対応するような設定状態に設定され得る。この場合、
デジタルデバイスはスイッチの設定状態を調査し、その
設定状態に適したコマンドを使用することができる。し
かしながら、技術者が正しい設定を行わなかったり、ま
た何かを忘れてしまうこともあり、更に、スイッチの設
定状態を誤らないとしても、モデムの不能状態やモデム
の除去といった可能性に気を配らなくてはならない。
2. Description of the Related Art When communicating between digital devices through various communication means such as telephone lines and radio waves, it is necessary to use a modem in order to convert digital signals from the devices into modulated signals suitable for transmission media. Devices similar to Applicants' device have traditionally been designed with the same type of modem on all output ports. If another modem type that requires a different command set is used, a different board is inserted into the device to interface with the new modem type. You can connect any type of modem to any given port on a digital device without changing the printed circuit board, and take advantage of the physical applicability of different types of modems when they appear. If it could be done, of course, it would be useful. The obvious solution to this situation is to provide several switch types at each output port of the digital device,
That would be possible. These switches can be set to configuration settings corresponding to command sets for each of several different modems. in this case,
The digital device can inspect the setting status of the switch and use a command suitable for the setting status. However, a technician may not make the correct settings or forget something, and even if the switch settings are correct, pay attention to the possibility of the modem being disabled or the modem being removed. necessary.

【0003】本発明は、デジタルデバイスの記憶手段の
中で使用される全てのモデムタイプのリストと、各タイ
プに関して使用される関連するコマンドセットとを保持
することによって、この問題を解決する。更に、各モデ
ムタイプに対して唯一つとされた(ユニークである)初
期化コマンドを記憶装置に保持することによってそのモ
デムに問い合わせを行なうことが可能となり、どのモデ
ムタイプが接続されているかを正確に知ることができる
まで各モデムタイプに関して予期応答を連続的に調査す
ることができる。出力されたコマンドが応答を意味する
ものでなかったり、あるいは所定の応答を意味するよう
なものでない場合には、モデムの不能状態、あるいは切
断状態を判断して適当なエラー信号を発生することがで
きる。
The present invention solves this problem by maintaining a list of all modem types used in the storage means of the digital device and the associated command set used for each type. In addition, having a unique initialization command in memory that is unique to each modem type allows that modem to be queried to determine exactly which modem type is connected. The expected response can be continuously examined for each modem type until known. If the output command does not mean a response, or does not mean a predetermined response, the modem may be disabled or disconnected and an appropriate error signal may be generated. it can.

【0004】故に、本発明の目的は、デジタルデバイス
とそれに接続されるモデム間に改善されたインタフェー
スを提供し、そのようなインタフェースを提供すること
によって動的モデム選択アルゴリズムを用いてモデムタ
イプを論理的に確定して、そのモデムで使用される適当
なコマンドを選択することである。
Therefore, it is an object of the present invention to provide an improved interface between a digital device and a modem connected to it, and by providing such an interface, a dynamic modem selection algorithm is used to determine the modem type. To determine the appropriate command to be used with that modem.

【0005】[0005]

【実施例】図1には、ランダムアクセスユニット、即ち
RAU10が、4つのポート1〜4と共に示されてい
る。ポート1はモデム12に接続されており、一方、ポ
ート2、3、及び4はモデム14、16、及び18にそ
れぞれ接続されている。送信ライン、電話線、若しくは
通信手段20は、モデム12とモデム22の間に接続さ
れており、それらのモデムはコンピュータ24に接続さ
れている。モデム14は送信ライン26によってモデム
28及びビデオ端末30に接続されている。モデム16
は送信ライン32及びモデム34を介して、プリンタ3
6に接続されている。モデム18は送信ラインに接続さ
れているだけであって、この送信ラインの他端には何も
接続されていない。ブロック10は内部の3つのブロッ
クを示している。1つは、比較手段、1つは記憶手段、
もう1つはフラグ手段である。コンピュータが比較、記
憶、及び項目のフラグ表示といった機能を実行するよう
プログラムされていることは稀であるため、これらのブ
ロックが列挙されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A random access unit, or RAU 10, is shown in FIG. 1 with four ports 1-4. Port 1 is connected to modem 12, while ports 2, 3, and 4 are connected to modems 14, 16 and 18, respectively. A transmission line, telephone line, or communication means 20 is connected between the modem 12 and the modem 22, which modems are connected to the computer 24. The modem 14 is connected by a transmission line 26 to a modem 28 and a video terminal 30. Modem 16
The printer 3 via the transmission line 32 and the modem 34.
6 is connected. The modem 18 is only connected to the transmission line and nothing is connected to the other end of this transmission line. Block 10 shows three internal blocks. One is a comparison means, one is a storage means,
The other is a flag means. These blocks are listed because the computer is rarely programmed to perform functions such as compare, store, and flag items.

【0006】図2において、モデム初期化ブロック40
は、図3の流れ図の幾つかの部分の1つからの故障、若
しくは、エラー状態に因るA入力を用いて示されてい
る。このデバイスは、ユニットのTURN ON時にも
モデム初期化ブロック40にエンターする。ブロック4
0で開始したプロセスはブロック42に進む。ブロック
42においてモデムタイプフラグがクリアされ、図4の
ポインタテーブルの第1のモデムタイプに対してポイン
タが設定される。ここではHayes/ATタイプのモ
デムである。このアルゴリズムはブロック44に進み、
図4及びブロック44の両方に示されているように、A
Tとあるオプション及びキャリッジリターン(carr
iage return)(CR)の和として初期化コ
マンドシーケンスが送信される。ブロック46に示され
ているように、2秒タイマが開始され、コマンドシーケ
ンスを送信することが可能とされる。この待ち状態は決
定ブロック48によって達成される。一旦コマンドが送
信されると、アルゴリズムはブロック50に進み、図1
のモデム12等からのポートによって受信したなんらか
の応答を調査する。決定ブロック50とタイムアウトブ
ロック52の間にループが形成される。応答が受信され
た場合には、決定ブロック54への経路に沿って進み、
応答を調査してHayes/ATタイプのモデムにとっ
て有効な応答であるかどうか判断される。有効な応答で
ある場合には、図4に示されているように、OKとキャ
リッジリターン(CR)であり、アルゴリズムはブロッ
ク56に進み、ポート1がHayes/ATモデムに接
続されていることがフラグ表示されるであろう。プログ
ラムはその後、図3のB入力に進む。一方、応答を受信
せずにタイムアウトが発生した場合、若しくは決定ブロ
ック54において、その応答がHayes/ATモデム
にとって適当でないと判断された場合には、ブロック5
8に示されているように、MOTOROLA/EN初期
化コマンドシーケンスの待ち状態に入れられる。これは
図4では、第2のモデムタイプとして示されている。ブ
ロック60で説明されているように、図4のテーブルの
MOTOROLA/ENの位置にポインタが再設定され
る。ブロック62に示されているように2秒タイマが開
始され、このアルゴリズムは決定ブロック64に進む。
一旦、コマンドが送信されると、アルゴリズムはブロッ
ク66に進み、タイムアウトが発生するか若しくは応答
が受信されるまで、決定ブロック66と決定ブロック6
8間のループを移動する。タイムアウトが発生した場
合、それはブロック70に進む。ブロック70では、M
OTOROLA/NON−AUTODIALモデムとし
てポートがフラグ表示され、図3に進む。MOTORO
LA/ENブロックにとって有効でない応答が受信され
た場合には、決定ブロック72に示されているように、
ブロック70に進む。しかしながら、その応答がMOT
OROLA/ENに有効なものならば、言葉を代えて言
えば、その応答が予期された応答として図4に示されて
いるコロン(:)であるならば、ブロック74に説明さ
れているように、アルゴリズムはMOTOROLA/E
Nモデムとしてポートをフラグ表示する。Hayesモ
デムに対するオプションを初期化コードの部分として送
信することができるが、MOTOROLAタイプのモデ
ムの場合は、これらのオプションは初期コマンドシーケ
ンスの後に送信され、またブロック76に従って送信さ
れる。その後、アルゴリズムは図3の入力に進む。
In FIG. 2, the modem initialization block 40
Is shown with the A input due to a fault or error condition from one of several parts of the flow chart of FIG. This device also enters the modem initialization block 40 when the unit TURN ON. Block 4
The process started at 0 proceeds to block 42. The modem type flag is cleared at block 42 and the pointer is set for the first modem type in the pointer table of FIG. Here, it is a Hayes / AT type modem. The algorithm proceeds to block 44
As shown in both FIG. 4 and block 44, A
Options with T and carriage return (carr
The initialization command sequence is sent as the sum of the image return (CR). As shown in block 46, a 2 second timer is started to allow the command sequence to be sent. This wait state is achieved by decision block 48. Once the command is sent, the algorithm proceeds to block 50 and FIG.
Investigate any response received by the port from the modem 12, etc. A loop is formed between decision block 50 and timeout block 52. If a response is received, then follow the path to decision block 54,
The response is examined to determine if it is a valid response for a Hayes / AT type modem. If it is a valid response, then OK and Carriage Return (CR), as shown in FIG. 4, the algorithm proceeds to block 56 and port 1 is connected to a Hayes / AT modem. Will be flagged. The program then proceeds to the B input in FIG. On the other hand, if a timeout occurs without receiving a response, or decision block 54 determines that the response is not suitable for a Hayes / AT modem, then block 5
A MOTOROLA / EN initialization command sequence is queued, as shown in FIG. This is shown in FIG. 4 as the second modem type. As explained in block 60, the pointer is reset to the MOTOROLA / EN position in the table of FIG. A two second timer is started as indicated at block 62 and the algorithm proceeds to decision block 64.
Once the command is sent, the algorithm proceeds to block 66 and goes to decision block 66 and decision block 6 until a timeout occurs or a response is received.
Move the loop between eight. If a timeout has occurred, it proceeds to block 70. In block 70, M
The port is flagged as an OTOROLA / NON-AUTODIAL modem and proceed to FIG. MOTORO
If a response is received that is not valid for the LA / EN block, as indicated by decision block 72,
Proceed to block 70. However, the response is MOT
If valid for OROLA / EN, in other words, if the response is the colon (:) shown in FIG. 4 as the expected response, then as described in block 74. , The algorithm is MOTOROLA / E
Flag the port as an N modem. The options for the Hayes modem can be sent as part of the initialization code, but for MOTOROLA type modems, these options are sent after the initial command sequence and according to block 76. Then the algorithm proceeds to the input of FIG.

【0007】以下に述べるように、MOTOROLA
NON−AUTODIALタイプのモデムはリターン応
答を与えない。発明概念の一例として、RAU10から
の全てのコマンドがMOTOROLA NON−AUT
ODIALコマンドであるとした場合にもし応答が受信
されなければ、図4に示されているように、それはMO
TOROLA NON−AUTODIALタイプのコマ
ンドであると仮定されるであろう。
As described below, MOTOROLA
NON-AUTODIAL type modems do not give a return response. As an example of the inventive concept, all commands from RAU10 are MOTOROLA NON-AUT.
If no response is received, assuming it is an ODIAL command, then it is a MO, as shown in FIG.
It will be assumed to be a TOROLA NON-AUTODIAL type command.

【0008】図3を参照すれば明かなように、第1のブ
ロック80は図3の流れ図に対するエントリポイントで
あり、ブロック80で切断状態に設定され、DTR(デ
ータ端末準備)が0に設定される。流れ図は決定ブロッ
ク82に進み、様々な項目が調査される。DSR(デー
タ設定準備)が0に等しく、DCD(データキャリア検
出)が0に設定され、更に、CTS(送信のためのクリ
ア)が0に設定されている場合は、ブロック84でクリ
アエラーフラグが設定される。しかしながら、もしこれ
らの項目のいづれか1つでも0に設定されていなけれ
ば、エラーフラグがブロック86で設定され、所定のモ
デムを試行及び確立するために制御が図2のブロック4
0に返る。セットエラーフラグは一般に、整合するモデ
ムが存在しないことを示す。ブロック84から、アルゴ
リズムはブロック88に進む。このブロック88では、
データ端末準備(DTR)が1に設定される。決定ブロ
ック82の3つの参照項目のいづれかに1が設定された
場合には、RAU10若しくはこれに関連するモデム1
2等のいづれかにハードウエアエラーが存在するという
ことになる。なぜなら、この時は、これらの状態はいづ
れも0以外になるべきでないからである。換言すれば、
キャリアが存在せず、データセットが準備されておら
ず、また、送信すべきデータが何も存在しない、即ちC
TSは0となるべき、ということである。ブロック88
で述べたように、一旦、データ端末準備フラグが1に設
定されると、プログラムは決定ブロック90に進み、何
らかによる係属中の接続要求がRAUブロック10内部
に存在しないかどうか調査される。もし存在しなけれ
ば、プログラムは決定ブロック92に進み、データ設定
準備が1に設定されたかどうか調査する。設定されてい
なければ、プログラムは決定ブロック90に戻り、デー
タの送信準備がなされるまでこのループに滞在する。係
属中の要求が存在し、またデータ設定準備が1に設定さ
れている場合には、プログラムはブロック94に進む。
ポインタは、図4のテーブルのモデムタイプフラグによ
って決定された変換テーブル図5中の適当なモデムタイ
プに設定される。その後、アルゴリズムはブロック96
に進み、モデムタイプフラグによって決定されたオンラ
イン有効応答テーブルを指し示す。このテーブルは図6
に説明されている。ポインタはその後、ブロック98に
説明されているように、電話番号に設定され、ダイアル
調整される。ポインタは適当な変換テーブルに位置づけ
られているため、ブロック94で前に示したように、プ
ロセスはブロック100に進むことが可能である。ブロ
ック100で、図5に説明した変換テーブルを用いて接
続が明らかとされたモデムのプロトコルに整合するよう
に、そのローカルプロセッサコマンドが変換される。そ
の後、プロセスはブロック102に進み、変換されたコ
マンドがポート1等に対して待ち状態とされる。2秒タ
イマがブロック104で開始され、コマンドが送信され
るまで決定ブロック106の周囲にループが形成され
る。一旦コマンドが送信されると、アルゴリズムはポー
トからの応答を待つ決定ブロック108に進む。プロセ
スはタイムアウト決定ブロック110に進み、タイムア
ウトが発生して図2のモデム初期化ブロック40に戻る
か、あるいは応答が受信されて決定ブロック112に進
むまで、これら2つの決定ブロックを循環する。図4の
ポインタによって示されたモデムタイプにとってその応
答が有効でない場合には、図2に戻ってそのモデムを初
期化する。応答が有効である場合には、決定ブロック1
14に進み、その応答がビジーであるか、若しくは発信
音が存在せず、またはエラー、即ちアボート信号が存在
しないかどうか調査される。これらの状態が存在した場
合は次に進み、ブロック116の5分タイマを開始し、
その後、タイムアウトループを形成する決定ブロック1
18に進む。5分タイムアウトが完了した後、決定ブロ
ック90に進み、係属中の接続要求が存在しないかどう
か調査する。再び決定ブロック114に戻り、発信音が
存在し、エラーアボートフラグが存在せず、しかも応答
がビジーでない場合は、プロセスは接続状態を設定する
ためブロック120に進み、更に決定ブロック122に
進み、切断要求が係属中でないかどうか調査する。もし
係属中でなければ、決定ブロック124に進む。切断要
求が係属中であった場合は、ブロック80に戻って切断
に設定する。一方、係属中の切断が存在しなかった場合
は、ブロック124に進み、データ設定準備が0に設定
されたかどうか調査される。もし設定されていなけれ
ば、決定ブロック122及び124の2つの判断規準の
中の1つに整合し、新たな通信を設定するブロック80
に返るまでループに残存する。
As can be seen with reference to FIG. 3, the first block 80 is the entry point to the flow diagram of FIG. 3 and is set to the disconnected state and the DTR (data terminal ready) is set to 0 in block 80. It The flow chart proceeds to decision block 82 where various items are examined. If DSR (data set preparation) is equal to 0, DCD (data carrier detect) is set to 0, and CTS (clear for transmission) is set to 0, the clear error flag is set in block 84. Is set. However, if any one of these items is not set to 0, an error flag is set at block 86 and control is taken to block and establish a given modem at block 4 of FIG.
Return to 0. The set error flag generally indicates that there is no matching modem. From block 84, the algorithm proceeds to block 88. In this block 88,
Data terminal preparation (DTR) is set to 1. If one of the three references in decision block 82 is set to 1, RAU 10 or its associated modem 1
It means that there is a hardware error in either of the 2 and the like. Because at this time, none of these states should be non-zero. In other words,
There is no carrier, no dataset is prepared, and there is no data to send, ie C
This means that TS should be 0. Block 88
As mentioned above, once the data terminal ready flag is set to 1, the program proceeds to decision block 90 to check if there is any pending connection request inside RAU block 10. If not, the program proceeds to decision block 92 to check if the data set ready is set to one. If not, the program returns to decision block 90 and stays in this loop until the data is ready to be sent. If there are pending requests and the data set preparation is set to 1, the program proceeds to block 94.
The pointer is set to the appropriate modem type in the conversion table FIG. 5 determined by the modem type flag in the table of FIG. Then the algorithm is block 96.
And point to the online valid response table determined by the modem type flag. This table is shown in Figure 6.
Explained. The pointer is then set to the telephone number and dialed, as described in block 98. Since the pointer is located in the appropriate translation table, the process can proceed to block 100, as previously shown at block 94. At block 100, the local processor command is translated to match the protocol of the modem for which the connection was established using the translation table described in FIG. The process then proceeds to block 102 where the translated command is queued to port 1, etc. A two second timer is started at block 104 and a loop is formed around decision block 106 until a command is sent. Once the command is sent, the algorithm proceeds to decision block 108 which waits for a response from the port. The process proceeds to timeout decision block 110 and cycles through these two decision blocks until a timeout occurs and returns to modem initialization block 40 of FIG. 2 or a response is received and proceeds to decision block 112. If the response is not valid for the modem type indicated by the pointer in FIG. 4, then return to FIG. 2 to initialize the modem. If the response is valid, decision block 1
Proceed to 14 to check if the response is busy, or there is no dial tone, or if there is an error or abort signal. If these conditions exist, proceed to start the five minute timer in block 116,
Then a decision block 1 forming a timeout loop
Proceed to 18. After the 5 minute timeout has completed, proceed to decision block 90 to check if there are any pending connection requests. Returning again to decision block 114, if a dial tone is present, the error abort flag is not present, and the response is not busy, the process proceeds to block 120 to set the connection state and then to decision block 122 to disconnect. Investigate if the request is pending. If not pending, proceed to decision block 124. If the disconnect request is pending, the process returns to block 80 to set disconnect. On the other hand, if there is no pending disconnection, the method proceeds to block 124 where it is examined whether the data set preparation is set to zero. If not set, block 80, which matches one of the two criteria of decision blocks 122 and 124 and sets a new communication.
It remains in the loop until it returns to.

【0009】前に述べたように、図4は、本発明の一実
施例で使用される3つのタイプのモデムリストと、更
に、自身の唯一つの予期応答と共に、最初の2つに対し
て送信される唯一のコマンドを備える。本発明の一実施
例で、RAU10は、コマンドのデフォルトセットと、
MOTORORAL NON−AUTODIALと同一
の予期応答を使用しているため、アルゴリズムによって
示された実行においてはコマンドを送信する必要はな
い。しかしながら、より一般的な解決策は、全ての予期
モデムに関して唯一つのコマンドを有するというもので
ある。このとき、MOTOROLA NON−AUTO
DIALモデムを更に調査するとしても、図2への付加
は最小のものしか必要とされない。
As mentioned previously, FIG. 4 shows the three types of modem lists used in one embodiment of the present invention, plus the transmission of the first two along with its own unique expected response. With the only command that is done. In one embodiment of the invention, RAU 10 includes a default set of commands,
Since it uses the same expected response as MOTORORAL NON-AUTODIAL, it is not necessary to send a command in the execution indicated by the algorithm. However, a more general solution is to have only one command for every expected modem. At this time, MOTOROLA NON-AUTO
Further investigation of the DIAL modem requires only minimal additions to FIG.

【0010】図5は、2つのモデムタイプ、即ちHay
es/AT及びMOTOROLA/ENの各々に対する
ダイアル、ポーズ、発信音待ち、及び命令終了のような
様々な命令の変換テーブルを、RAU10に含有され且
つMOTOROLA/NON−AUTODIALの下に
掲げられたデフォルト命令と比較しつつ、示したもので
ある。
FIG. 5 illustrates two modem types, namely Hay.
A conversion table for various commands such as dial, pause, dial tone wait, and command end for each of es / AT and MOTOROLA / EN, the default commands contained in RAU10 and listed under MOTOROLA / NON-AUTODIAL It is shown in comparison with.

【0011】図6は、図4において3つ掲載されたモデ
ムタイプの各々から発生し得る様々なモデム応答を示し
たものである。動作 アルゴリズム動作は、図2及び図3、並びに図1、更に
図4〜図6の表から自明であると思われるが、詳細な説
明を加える。接続されたモデムタイプの判断を試み、且
つそれが明かとなったとき、システムは図4のリストの
第1のモデムタイプに進み、唯一の初期化コマンドを送
信する。もし、システムがそのモデムタイプに予期され
る応答を得た場合には、ブロック56に示されるように
フラグが設定され、システムはハードウエア若しくは他
のエラーをチェックするために更に先に進む。何も発見
されなかった場合、ソフトウエアは全ての事象が実行可
能な順序であるものとして、処理すべき通信が他に存在
しないかチエックする。所定の通信が完了したときに係
属中の切断要求が存在する場合、あるいはデータ設定準
備が0に設定された場合、システムは決定ブロック80
に返る。システムが無効を得た場合には、システムは図
2に戻って再び初期化を行い、ビジー応答が存在する場
合には、システムは決定ブロック90に戻ってその点か
ら進む。
FIG. 6 illustrates various modem responses that can be generated from each of the three listed modem types in FIG. Operation Algorithm The operation appears to be self-explanatory from the tables of FIGS. 2 and 3 and FIG. 1 and further FIGS. When attempting to determine the connected modem type, and when it becomes apparent, the system proceeds to the first modem type in the list of FIG. 4 and sends the only initialization command. If the system gets the expected response for that modem type, a flag is set, as shown in block 56, and the system proceeds further to check for hardware or other errors. If none are found, the software will check if there are any more communications to process, assuming all events are in feasible order. If there is a pending disconnect request when the predetermined communication is completed, or if the data set preparation is set to 0, the system will proceed to decision block 80.
Return to. If the system gets invalid, the system returns to FIG. 2 to reinitialize, and if there is a busy response, the system returns to decision block 90 and proceeds from that point.

【0012】まとめれば、本発明は、モデムが接続され
ることになっているポートに対して唯一つの初期化コマ
ンドを用いて質問を行い、どのタイプのモデムが該ポー
トに接続されているのか、接続されているポートは動作
可能であるか否か、或いは、接続されていない状態であ
るのか、を決定するという概念に関する。次に、使用す
べき変換テーブルを命令するために、内部に記憶された
テーブルを前に確定された論理による選択に基づいて利
用し、将来におけるモデムとのどのような通信をも、適
当な変換応答テーブルに対して設定されているポインタ
や他の幾つかのタイプの表示によって認識できるように
している。本発明では、適当な応答が最初のN−1個の
モデムから受信されなかった場合、つまり代替可能であ
るモデムがリスト上の最後のモデムだけであった場合、
を仮定しているが、本発明の概念は、リスト上の全ての
モデムを調査するために必要とされる付加的なプログラ
ミング空間の使用が希望された場合に、リスト上の全て
のモデムを調査することも含む。
In summary, the present invention asks the port to which a modem is to be connected using a single initialization command to ask which type of modem is connected to that port, The present invention relates to the concept of determining whether a connected port is operable or in a non-connected state. It then uses the internally stored table to command the translation table to be used, based on the selection made by the previously established logic, to ensure that any future communication with the modem will be translated appropriately. It can be recognized by the pointer and some other types of display that are set for the response table. In the present invention, if the proper response is not received from the first N-1 modems, ie, the only modem that can be substituted is the last modem on the list,
However, the concept of the present invention is to search all modems on the list when it is desired to use the additional programming space needed to search all modems on the list. Including doing.

【0013】従来技術では、RAUに接続された全ての
モデムは同一タイプであることを要したが、本発明の概
念によれば、もし種々のテーブルに載せられた異種のコ
マンドタイプが充分に存在するならば、各ポートを異な
るモデムに接続することが可能とされる。更に、この本
発明の概念によれば、次にエラーが検出したときはシス
テムはそのポートに対する内部フラグを自動的に再設定
するため、技術者が必要なハードウエアスイッチの交換
を忘れてしまうようなことななく、故障したモデムを異
なるタイプのモデムと置換することが可能とされる。
In the prior art, all modems connected to the RAU were required to be of the same type, but the concept of the present invention is that if there are different types of commands listed in various tables. If so, each port can be connected to a different modem. Further, according to this inventive concept, the next time an error is detected, the system will automatically reset an internal flag for that port, so that the technician will forget to replace the necessary hardware switch. Nonetheless, it is possible to replace a failed modem with a different type of modem.

【0014】本発明のある所定の実施例を開示したが、
本発明は、図示されたものではなく、添付された請求項
の範囲のみによって限定されるべきである。
Having disclosed certain embodiments of the present invention,
The invention is not to be limited by what has been shown, and should be limited only by the scope of the appended claims.

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

【図1】モデムを通じて様々な他のデジタルデバイスに
接続されたデジタルデバイスのブロック図。
FIG. 1 is a block diagram of a digital device connected to various other digital devices through a modem.

【図2】本発明の概念を構成するアルゴリズムの一部の
流れ図。
FIG. 2 is a flow chart of a part of an algorithm forming the concept of the present invention.

【図3】本発明の概念を記述した図2の流れ図と共に使
用される他の流れ図。
FIG. 3 is another flow chart used in conjunction with the flow chart of FIG. 2 describing the concepts of the present invention.

【図4】初期化コマンドシーケンス及び予期応答を示す
図。
FIG. 4 is a diagram showing an initialization command sequence and an expected response.

【図5】図4に示された各モデムタイプに対するモデム
コマンド変換テーブルを示す図。
5 is a diagram showing a modem command conversion table for each modem type shown in FIG. 4;

【図6】図4に載せられた各モデム若しくはモデムタイ
プからの予期応答に関するモデム応答テーブル。
6 is a modem response table for expected responses from each modem or modem type listed in FIG.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 遠隔接続されたデバイスのタイプに従っ
て、その遠隔接続されたデバイスに対して外向きの通信
プロトコルを自動調整する方法において、 a.複数のデバイスタイプと通信を行なうために複数の
通信プロトコルコマンドを確立し、 b.遠隔接続されたデバイスに第1のデバイスタイプと
適合する第1のコマンドセットを与え、 c.前記遠隔接続されたデバイスからの返答信号を解読
して前記遠隔接続されたデバイスが前記第1のデバイス
タイプかどうか判断し、 d.前記遠隔接続されたデバイスが前記第1のデバイス
タイプであると判断された場合には段階(g)に進み、 e.前記遠隔接続されたデバイスに第2のデバイスタイ
プと適合する第2のコマンドセットを与え、 f.前記遠隔接続されたデバイスからの返答信号を解読
して前記遠隔接続されたデバイスが前記第2のデバイス
タイプかどうか判断し、 g.返答信号の解読に適合したコマンドセットを用いて
前記遠隔接続されたデバイスとの通信を更に続ける、こ
とを特徴とする方法。
1. A method for automatically adjusting an outgoing communication protocol for a remotely connected device according to the type of the remotely connected device, comprising: a. Establishing multiple communication protocol commands to communicate with multiple device types, b. Providing the remotely connected device with a first command set compatible with the first device type; c. Decoding a reply signal from the remotely connected device to determine if the remotely connected device is the first device type, d. If it is determined that the remotely connected device is of the first device type, go to step (g); e. Providing the remotely connected device with a second command set compatible with a second device type; f. Decoding a reply signal from the remotely connected device to determine if the remotely connected device is the second device type, g. The method further comprising continuing communication with the remotely connected device using a command set adapted to decode a reply signal.
【請求項2】 初期化コマンドシーケンスの送信後に受
信された応答に従って、所定のポートから接続デバイス
に送信される外向きの通信プロトコルを自動調整する方
法において、 その各々が適当に接続され且つ動作するモデムから唯一
の応答を作り出す複数の初期化コマンドシーケンスのリ
ストを生成する段階と、 リストの第1のモデムタイプに対してポインタを設定す
る段階と、 (a)現実の応答が予期された応答に整合すること、お
よび、(b)ポインタがリストの最後のモデムタイプに
移動されること、の中の最初のものが起きるまで、 (c)ポインタによって表示されたモデムに対応する初
期化コマンドシーケンスを送信する段階と、 (d)リストと設定可能なポインタとによって所定時間
内に決定される予期応答を待ち、 前記所定時間内に予期応答が受信されなかった場合はリ
ストの次の位置にポインタを移動させ、 ポインタがリストの最後のモデムタイプを指していない
ときは段階(c)に戻る、段階、 を繰り返し実行する段階と、 ポインタによって表示されたモデムタイプに従って前記
所定のポートをフラグ表示する段階と、 前記ポインタによって表示されたモデムタイプと適合す
るコマンドセットを使用して前記遠隔接続されたデバイ
スとの通信を更に続ける段階と、を備えることを特徴と
する方法。
2. A method for automatically adjusting an outgoing communication protocol sent from a given port to a connecting device according to a response received after sending an initialization command sequence, each of which is properly connected and operating. Generating a list of initialization command sequences that produces a unique response from the modem, setting a pointer to the first modem type in the list, and (a) the actual response to the expected response. Until the first of the matching and (b) the pointer is moved to the last modem type in the list, (c) the initialization command sequence corresponding to the modem indicated by the pointer. Waiting for an expected response determined within a predetermined time by a step of transmitting, and (d) a list and a configurable pointer, If the expected response is not received within the specified time, move the pointer to the next position in the list, and if the pointer does not point to the last modem type in the list, return to step (c), repeat step Flagging the predetermined port according to the modem type indicated by the pointer, and communicating with the remotely connected device using a command set compatible with the modem type indicated by the pointer. Further continuing.
JP4319899A 1992-11-30 1992-11-30 Dynamic selection method of modem protocol supporting multiple modem types Expired - Fee Related JP2556948B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4319899A JP2556948B2 (en) 1992-11-30 1992-11-30 Dynamic selection method of modem protocol supporting multiple modem types

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4319899A JP2556948B2 (en) 1992-11-30 1992-11-30 Dynamic selection method of modem protocol supporting multiple modem types

Publications (2)

Publication Number Publication Date
JPH06224964A JPH06224964A (en) 1994-08-12
JP2556948B2 true JP2556948B2 (en) 1996-11-27

Family

ID=18115479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4319899A Expired - Fee Related JP2556948B2 (en) 1992-11-30 1992-11-30 Dynamic selection method of modem protocol supporting multiple modem types

Country Status (1)

Country Link
JP (1) JP2556948B2 (en)

Also Published As

Publication number Publication date
JPH06224964A (en) 1994-08-12

Similar Documents

Publication Publication Date Title
US5202899A (en) Apparatus for providing dynamic selection of modem protocol to support multiple modem types
JP2522870B2 (en) DATA COMPRESSION CONTROL METHOD AND DATA COMPRESSION CONTROL SYSTEM FOR DATA COMMUNICATION NETWORK
JP3492229B2 (en) Communication control device
CN110515343B (en) Communication connection device, programmable logic controller, communication method and product
JP2556948B2 (en) Dynamic selection method of modem protocol supporting multiple modem types
JP2510221B2 (en) Network node address setting method
JP2000101582A (en) Non-recognition communication method and mobile radio equipment provided with non-recognition communication function
JPH08228157A (en) Data transfer circuit
JPH0243846A (en) Line terminator
JP2590773B2 (en) Facsimile communication system
JP3173592B2 (en) Signal communication method and apparatus, communication relay method and apparatus, signal communication system
JP2001339417A (en) Apparatus in IEEE 1394 standard and configuration method in the apparatus
JPS6351584B2 (en)
JPH04299458A (en) Information retrieving device
JP2502850B2 (en) Communication method for SCSI system
JP2576429B2 (en) Facsimile machine
JP2749278B2 (en) Communication control system
JP3155919B2 (en) Information processing apparatus inspection system, inspection method, and inspection apparatus
JPH1021202A (en) Network connection system of duplex computer
JPS63186353A (en) Data communication system for electronic computer
JPH0594671A (en) Connector for audio-video signal
JPS601961A (en) Retrieving and request system of facsimile picture information
JPH10336342A (en) Facsimile equipment
JPH06112946A (en) Transmission medium selection method
JPH0477165A (en) Response signal control system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080905

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090905

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees