JP3464011B2 - Terminal adapter capable of automatic line / packet switching - Google Patents

Terminal adapter capable of automatic line / packet switching

Info

Publication number
JP3464011B2
JP3464011B2 JP5577593A JP5577593A JP3464011B2 JP 3464011 B2 JP3464011 B2 JP 3464011B2 JP 5577593 A JP5577593 A JP 5577593A JP 5577593 A JP5577593 A JP 5577593A JP 3464011 B2 JP3464011 B2 JP 3464011B2
Authority
JP
Japan
Prior art keywords
terminal
data
communication
line
terminal adapter
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
JP5577593A
Other languages
Japanese (ja)
Other versions
JPH06268641A (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 JP5577593A priority Critical patent/JP3464011B2/en
Publication of JPH06268641A publication Critical patent/JPH06268641A/en
Application granted granted Critical
Publication of JP3464011B2 publication Critical patent/JP3464011B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデータ端末(DTE)等
を回線に接続するためのターミナルアダプタ(TA)に
関し、特に既存インタフェース(V.24/28,X.
21等)を使用したデータ端末をISDN(Integrated
Services Digital Network) に接続するためのターミナ
ルアダプタに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a terminal adapter (TA) for connecting a data terminal (DTE) or the like to a line, and particularly to an existing interface (V.24 / 28, X.
ISDN (Integrated
Services Digital Network) for connecting to a terminal adapter.

【0002】[0002]

【従来の技術】ISDNが普及していく過程では既存の
電話機やデータ端末を使用してのISDNの利用が中心
になる。ターミナルアダプタは、ユーザの現状の情報通
信システム形態を変えずに既存の端末をISDNに接続
するための装置である。そのため、高速性や経済性とい
ったISDNの利点を簡単に提供できる。
2. Description of the Related Art In the process of popularization of ISDN, the use of ISDN using existing telephones and data terminals is the main focus. The terminal adapter is a device for connecting an existing terminal to the ISDN without changing the current information communication system form of the user. Therefore, the advantages of ISDN such as high speed and economy can be easily provided.

【0003】図10は、従来のターミナルアダプタ(T
A)32を介してデータ端末(DTE)30とネットワ
ーク(ISDN)との間でデータ通信を行うための通信
手順の一例を示したシーケンス図である。図10におい
て、端末30とターミナルアダプタ32との間は、例え
ばパーソナルコンピュータ等に標準的に使用されている
V.24/28インタフェース(RS−232Cインタ
フェースに相当)等によって接続される。また、端末3
0は、同期端末ではV.25bisコマンド、非同期端
末ではATコマンド等を使って端末操作によりターミナ
ルアダプタ32に対して発信要求を行う。その際、ユー
ザ自らがデータ通信開始前にダイヤルコマンドの内容、
又はターミナルアダプタ32のモード設定等により回線
交換又はパケット交換の選択指定を行う。
FIG. 10 shows a conventional terminal adapter (T
FIG. 4 is a sequence diagram showing an example of a communication procedure for performing data communication between the data terminal (DTE) 30 and the network (ISDN) via A) 32. 10, a space between the terminal 30 and the terminal adapter 32 is V.V. which is normally used in personal computers and the like. 24/28 interface (corresponding to RS-232C interface) or the like. Also, the terminal 3
0 is V.0 in the synchronous terminal. 25 bis command, an asynchronous terminal uses an AT command or the like to make a call request to the terminal adapter 32 by terminal operation. At that time, the contents of the dial command before the data communication start by the user himself,
Alternatively, the circuit switching or packet switching is selectively designated by the mode setting of the terminal adapter 32.

【0004】次に、前記ターミナルアダプタ32は、回
線指定パラメータ(回線交換又はパケット交換)や着ア
ドレス等を有する呼設定メッセージ(Q931のSET
UP)をネットワーク31に送出する。その後、ネット
ワーク31からは前記呼設定メッセージの受付確認等を
示す呼設定受付メッセージ、そして最終的に着端末が応
答し通信パスが設定された旨を通知する応答メッセージ
がターミナルアダプタ32へ送られる。ターミナルアダ
プタ32は前記応答メッセージを受信すると前記端末3
0に応答信号を送出してデータの送信開始を指示する。
前記端末30はその応答信号を受信するとターミナルア
ダプタ32を介してネットワーク31へのデータ送信を
開始する。
Next, the terminal adapter 32 uses the call setting message (SET of Q931) having the line designating parameter (line switching or packet switching), the destination address, etc.
UP) to the network 31. After that, the network 31 sends to the terminal adapter 32 a call setting acceptance message indicating acceptance confirmation of the call setting message, and finally a response message notifying that the destination terminal responds and the communication path is set. When the terminal adapter 32 receives the response message, the terminal 3
A response signal is sent to 0 to instruct the start of data transmission.
Upon receiving the response signal, the terminal 30 starts data transmission to the network 31 via the terminal adapter 32.

【0005】[0005]

【発明が解決しようとする課題】ところで、回線交換と
パケット交換とでは課金形態が異なり、回線交換では時
間に、そしてパケット交換ではデータ量に応じて料金が
定まる。回線交換での最低使用料金は10円であり、そ
れに対してパケット交換では0.4円である。前記通信
料金は、またさらに通信距離そして昼夜及び平日と休日
の区別等の種々の料金パラメータによって細分化され
る。
By the way, the charge mode is different between the circuit switching and the packet switching, and the charge is determined according to time in the circuit switching and according to the data amount in the packet switching. The minimum usage fee for circuit switching is 10 yen, while that for packet switching is 0.4 yen. The communication fee is further subdivided by various communication parameters such as communication distance and day / night and distinction between weekdays and holidays.

【0006】従って、データ通信の回線使用料金は、同
じデータ量を送る場合においても回線交換又はパケット
交換のいずれを使用するか、その際に上記種々の料金パ
ラメータをいかに選択するか等によって異なることにな
る。今日、様々な通信ネットワーク、例えば広範囲な地
域間を結ぶ企業内ネットワークやVAN、LAN等、の
登場によって、そこで取り扱われるデータ量も飛躍的に
増大してきており、ユーザにとって通信費用の低減は従
来にも増して重大な関心事である。
Therefore, the line fee for data communication differs depending on whether line switching or packet switching is used even when the same amount of data is sent, and how the above various fee parameters are selected at that time. become. Today, with the advent of various communication networks, such as corporate networks, VANs, LANs, etc., that connect a wide range of regions, the amount of data handled there has been increasing dramatically, and the reduction of communication costs for users has hitherto been achieved. It is of even greater concern.

【0007】しかしながら、上述したように従来におい
てはユーザはデータ通信を行う際に自らの判断で事前に
ダイヤルコマンドの内容やターミナルアダプタのモード
設定等を行い、いわゆる手動で回線交換又はパケット交
換の選択を行っていたため、ユーザが事前に通信データ
量を把握し、さらに上記種々のパラメータ等を考慮して
より料金の安い方の回線を効率良く使用することは困難
であって、そのため上述した通信費用の低減が十分に達
成できないという問題があった。
However, as described above, in the prior art, when performing data communication, the user preliminarily determines the contents of the dial command and the mode of the terminal adapter by his / her own judgment, and selects what is called manual circuit switching or packet switching. Therefore, it is difficult for the user to grasp the communication data amount in advance and to use the cheaper line efficiently by considering the above various parameters. However, there was a problem that the reduction of the above could not be achieved sufficiently.

【0008】そこで本発明の目的は、上記問題点に鑑
み、既存のデータ端末が回線交換及びパケット交換の通
信が可能なISDN網を効率よく低料金で使用できるよ
うにするために、通信開始時に自動的に通信費用の低減
を達成すべく回線交換又はパケット交換を選択するター
ミナルアダプタを提供せんとするものである。
In view of the above problems, an object of the present invention is to enable an existing data terminal to efficiently use an ISDN network capable of circuit-switched and packet-switched communication at a low charge. An object of the present invention is to provide a terminal adapter that automatically selects circuit switching or packet switching to achieve reduction in communication cost.

【0009】[0009]

【課題を解決するための手段】本発明では、端末をネッ
トワークの回線へ接続するターミナルアダプタは、端末
に対して擬似的にネットワークの回線との接続通信手順
を実行する擬似回線通信制御手段と、端末から送られて
きたデータの終了を検出する通信終了検出手段と、デー
タを一時記憶するための端末データ記憶手段と、端末デ
ータ記憶手段に記憶されたデータ量を基に種々のパラメ
ータを計算若しくは比較判定することによってデータの
送信料金の安い方の回線交換又はパケット交換を選択す
る交換種別判定手段と、データの終了後に、前記交換種
別判定手段によって選択された回線交換又はパケット交
換のネットワークに対し擬似的に端末の接続通信手順を
実行し端末データ記憶手段に記憶されたデータを送出す
る擬似端末通信制御手段とを有する
According to the present invention , a terminal is connected to a network.
The terminal adapter that connects to the network line is a terminal
Connection procedure with a network line
Pseudo-line communication control means to execute, and sent from the terminal
Communication end detection means for detecting the end of incoming data, and
Terminal data storage means for temporarily storing data
The various parameters are based on the amount of data stored in the data storage means.
Data by calculating or comparing data
Select the circuit or packet switch with the cheaper transmission fee
Exchange type determining means and the exchange type after the end of the data.
Circuit switching or packet exchange selected by another determination means
Pseudo terminal connection communication procedure for exchange network
Execute and send the data stored in the terminal data storage means
And pseudo terminal communication control means .

【0010】また本発明によれば、前記交換種別判定手
段7は、前記パラメータとして送信データ量(送信量及
びパケットサイズ)、相手先電話番号(距離)及び/又
は日時(昼、夜、平日、休日)を使用し回線使用料金判
定のための課金テーブルを有し、さらに前記通信終了検
出手段5は、送信データの終了をデータの送信中におけ
る所定時間継続した無信号状態によって検出するタイマ
ー手段、及び/又は送信データの終了を指示するための
制御信号によって検出する送信データ終了信号検出手段
から成る。
Further, according to the present invention, the exchange type judging means 7 has the transmission data amount (transmission amount and packet size), the destination telephone number (distance) and / or date and time (day, night, weekday, etc.) as the parameters. Holidays) and has a billing table for determining the line usage fee, and the communication end detecting means 5 detects the end of the transmission data by a no-signal state which continues for a predetermined time during data transmission, And / or transmission data end signal detecting means for detecting with a control signal for instructing the end of the transmission data.

【0011】[0011]

【作用】前記擬似回線通信制御手段4は、端末1に対し
て回線との間で接続及び通信を実行したのと同等な通信
制御(図10参照)を行なう擬似的な回線通信制御機能
を有し、前記機能によって一旦端末1からの送出データ
を前記端末データ記憶手段6に記憶する。前記通信終了
検出手段5によって端末1からの送信データの終了を検
出すると前記交換種別判定手段7は前記端末データ記憶
手段6内の受信データ量やその際の前記種々の料金パラ
メータ等を比較考慮して料金の最も安い交換種別(回線
/パケット)を選択する。
The pseudo line communication control means 4 has a pseudo line communication control function for performing communication control (see FIG. 10) equivalent to that for connecting and communicating with the line to the terminal 1. Then, the transmission data from the terminal 1 is temporarily stored in the terminal data storage means 6 by the function. When the end of transmission data from the terminal 1 is detected by the communication end detecting means 5, the exchange type judging means 7 compares and considers the amount of received data in the terminal data storage means 6 and the various charge parameters at that time. Select the exchange type (line / packet) with the lowest charge.

【0012】次に、前記擬似端末通信制御手段9が端末
1の代わりに擬似端末としてネットワークとの間で端末
の通信制御を実行して前記選択された交換網にデータを
送出する。前記装置制御手段10は上記各手段(4,
5,7,9)の各制御シーケンス等を管理してアダプタ
装置全体として本発明を実現する。なお、前記端末イン
タフェース手段3は既存のデータ端末インタフェース、
例えば各種V、Xシリーズ等の端末との電気的接続や通
信手順等を実行する。また回線インタフェース手段8
は、例えばISDN回線との接続のためDSU(Digital
Service Unit)と対向接続するためのインタフェースを
行う。なお、前記回線インタフェース手段8は、前記D
SUの機能をも兼用して直接ISDN回線とインタフェ
ースしてもよい。
Next, the pseudo terminal communication control means 9 acts as a pseudo terminal instead of the terminal 1 to execute communication control of the terminal with the network and send data to the selected switching network. The device control means 10 includes the above-mentioned means (4,
The present invention is realized as an entire adapter device by managing each control sequence of 5, 7, 9). The terminal interface means 3 is an existing data terminal interface,
For example, electrical connection with various V and X series terminals and communication procedures are executed. The line interface means 8
Is a DSU (Digital
Interface to connect with the Service Unit). In addition, the line interface means 8 uses the D
The interface may be directly interfaced with the ISDN line by also using the function of SU.

【0013】[0013]

【実施例】図1は、ターミナルアダプタの基本構成を示
す図である。図1に示すようにターミナルアダプタのデ
ータ送信部は、端末1からの信号をインタフェースする
ための端末インタフェース手段3、前記端末1に対して
擬似的に回線との接続通信手順を実行する擬似回線通信
制御手段4、前記端末1から送られてきたデータの終了
を検出する通信終了検出手段5、前記端末1から送られ
てきたデータを一時記憶するための端末データ記憶手段
6、前記端末データ記憶手段6に記憶されたデータ量を
基に種々の料金パラメータを計算若しくは比較判定する
ことによって前記データの送信料金の安い方の回線交換
又はパケット交換を選択する交換種別判定手段7、ネッ
トワーク側とインタフェースするための回線インタフェ
ース手段8、前記交換種別判定手段7によって選択され
た回線交換又はパケット交換ネットワークに対し擬似的
に端末の接続通信手順を実行し前記回線インタフェース
手段8を介して前記端末データ記憶手段6に記憶された
データを送出する擬似端末通信制御手段9、そして前記
各手段4,5,7,9を装置全体として制御するための
装置制御手段10から構成する回線/パケット交換自動
切替可能なターミナルアダプタが提供される。図2は、
本発明によるターミナルアダプタの一実施例を示したブ
ロック図である。図2と図1との関係では、図2の端末
制御部21及びISDN回線制御部26は図1の端末イ
ンタフェース手段3及び回線インタフェース手段8にそ
れぞれ対応する。なお前記図2の端末制御部21及びI
SDN回線制御部26は図1の擬似回線通信制御手段4
及び擬似端末通信制御手段9のそれぞれの機能の一部又
は全部を有していてもよい。また、図2のタイマ27は
図1の通信終了検出手段5に対応し、図2の算出回路2
8及び課金テーブル29は図1の交換種別判定手段7に
対応する。図2のCPU24,ROM22そしてRAM
23は図1の装置制御手段10に対応するが、前記CP
U24,ROM22そしてRAM23のいわゆるCPU
回路は図1の擬似回線通信制御手段4及び擬似端末通信
制御手段9の機能、さらには図1の交換種別判定手段7
の機能を含んでいてもよい。また、図2のRAM23は
図1の端末データ記憶手段6にも対応する。
EXAMPLE FIG . 1 shows the basic configuration of a terminal adapter.
It is a figure. As shown in Fig. 1, the terminal adapter
The data transmission unit interfaces the signal from the terminal 1.
For the terminal interface means 3 for said terminal 1
Pseudo line communication that executes connection communication procedure with the line in a pseudo manner
Control means 4, end of data sent from the terminal 1
Communication end detecting means 5 for detecting
Terminal data storage means for temporarily storing incoming data
6, the amount of data stored in the terminal data storage means 6
Calculate or compare various charge parameters based on
By doing so, the circuit exchange for the one with the lowest data transmission fee
Alternatively, the exchange type determination means 7 for selecting packet exchange, the network
A line interface for interfacing with the network side
Selected by the exchange means 8 and the exchange type determination means 7.
Pseudo for circuit switched or packet switched networks
Execute the connection communication procedure of the terminal to the above-mentioned line interface
Stored in the terminal data storage means 6 via the means 8
Pseudo terminal communication control means 9 for transmitting data, and
For controlling each means 4, 5, 7, 9 as a whole device
Automatic circuit / packet switching composed of device control means 10
A switchable terminal adapter is provided. Figure 2
1 is a block diagram showing an embodiment of a terminal adapter according to the present invention. 2 and FIG. 1, the terminal control unit 21 and the ISDN line control unit 26 of FIG. 2 correspond to the terminal interface unit 3 and the line interface unit 8 of FIG. 1, respectively. The terminal control unit 21 and I of FIG.
The SDN line control unit 26 is the pseudo line communication control means 4 of FIG.
Also, it may have a part or all of the respective functions of the pseudo terminal communication control means 9. Further, the timer 27 of FIG. 2 corresponds to the communication end detecting means 5 of FIG. 1, and the calculation circuit 2 of FIG.
8 and the charging table 29 correspond to the exchange type determining means 7 of FIG. CPU 24, ROM 22 and RAM in FIG.
Reference numeral 23 corresponds to the device control means 10 of FIG.
U24, ROM22 and RAM23 so-called CPU
The circuit has the functions of the pseudo line communication control means 4 and the pseudo terminal communication control means 9 of FIG. 1, and further the exchange type determination means 7 of FIG.
The function of may be included. The RAM 23 in FIG. 2 also corresponds to the terminal data storage means 6 in FIG.

【0014】図2において、本発明によるターミナルア
ダプタ20の端末制御部21は、既存のデータ端末に対
する電気的及び通信手順等のインタフェース(V.24
/28,V.25bis、X21等)を行う。前記CP
U回路24,22,23はターミナルアダプタ20の装
置全体としての制御を行い、また前記RAM23は端末
から送られてきたデータを一時記憶するためのデータバ
ッファとして機能する。なお、上述のように前記CPU
回路は前記端末制御部21における既存端末との間の通
信手順の制御さらには後述のISDN回線制御部26に
おける通信プロトコル制御等の各機能の一部若しくは全
部を実施してもよい。
2, the terminal control unit 21 of the terminal adapter 20 according to the present invention is an interface (V.24) for electrical and communication procedures to an existing data terminal.
/ 28, V.I. 25 bis, X21, etc.). CP
The U circuits 24, 22 and 23 control the terminal adapter 20 as a whole, and the RAM 23 functions as a data buffer for temporarily storing the data sent from the terminal. As described above, the CPU
The circuit may perform some or all of the functions of the terminal control unit 21 such as the control of the communication procedure with the existing terminal and the communication protocol control of the ISDN line control unit 26 described later.

【0015】タイマ27は、端末から送られてきた送信
データの終了を検知するため、例えば端末送信データの
1バイト毎の受信検出信号によって駆動されるリトリガ
ブルタイマ回路、若しくはそれと同等の機能を前記CP
U回路によってソフトウェア的に実現したソフトタイマ
等からなり、所定時間受信データがない場合にデータの
終了を検知する。本実施例においては端末からの送信デ
ータ終了を検出するために所定時間内における受信デー
タの有無を前記タイマ27によって監視しているが、そ
れとは別の方法として受信データに含まれるデータ終了
を指示する制御信号、例えばベーシック手順におけるE
TX(End of Text) 等の制御信号を検出してもよい。
The timer 27 detects the end of the transmission data sent from the terminal, and therefore has, for example, a retriggerable timer circuit driven by a reception detection signal for each byte of the terminal transmission data, or a function equivalent thereto. CP
It is composed of a soft timer realized by software by the U circuit and detects the end of data when there is no received data for a predetermined time. In the present embodiment, the presence or absence of received data within a predetermined time is monitored by the timer 27 in order to detect the end of transmitted data from the terminal, but as another method, the end of data included in the received data is instructed. Control signal, eg E in the basic procedure
A control signal such as TX (End of Text) may be detected.

【0016】算出回路28は、例えば前記端末送信デー
タの1バイト毎の受信検出信号によってカウントアップ
するカウンタ回路からなり、端末からの送信データ量を
カウントする。なお前記算出回路28の機能は、前記C
PU回路によりRAM23内の受信データ数を検索する
等のソフトウェエアによって実現してもよい。課金テー
ブル29は通信料金低下のための判断データとして前述
した通信料金に関する種々のパラメータ(データ量、パ
ケットサイズ、距離、昼夜、平日と休日等)に基づいた
各料金テーブル、又は前記各パラメータの組み合わせか
ら最適の交換種別が容易に選択できるように構成された
交換種別選択テーブル等からなる。前記課金テーブル2
9は前記CPU回路のROM23に含まれてもよい。I
SDN回線制御部26は、ISDN回線と接続するため
に上記DSUと対向接続するためのインタフェースを提
供する。例えば、速度整合のためTTC勧告のJT−V
110等により低速データを64Kb/sのBチャネル
へインタフェースする。なおISDN回線制御部26は
前記DSUの機能を含むものとして実現してもよい。
The calculation circuit 28 is composed of, for example, a counter circuit which counts up by a reception detection signal for each byte of the terminal transmission data, and counts the amount of transmission data from the terminal. The function of the calculation circuit 28 is the same as that of the C
It may be realized by software such as searching the number of received data in the RAM 23 by the PU circuit. The charge table 29 is a charge table based on various parameters (data amount, packet size, distance, day and night, weekdays and holidays, etc.) relating to the above-mentioned communication charges as judgment data for lowering communication charges, or a combination of the above parameters. The replacement type selection table is configured so that the optimum replacement type can be selected easily. Billing table 2
9 may be included in the ROM 23 of the CPU circuit. I
The SDN line control unit 26 provides an interface for opposite connection with the DSU for connecting with the ISDN line. For example, JT-V recommended by TTC for speed matching
The low speed data is interfaced to the 64 Kb / s B channel by 110 or the like. The ISDN line control unit 26 may be realized as including the function of the DSU.

【0017】図3は、本発明によるターミナルアダプタ
の特徴的な動作を説明するための通信制御シーケンス例
を示したものである。図3において、既存のデータ端末
30からは従来の通信制御手順、例えば前述したV.2
5bisやATコマンド等を用いて本発明によるターミ
ナルアダプタ20へ発信要求がなされる。前記ターミナ
ルアダプタ20はこの時点では前記データ端末30に対
して擬似ネットワークとして機能し、所定の手順に従っ
てデータ端末30へ擬似応答を返す。データ端末30は
ネットワーク側がデータの受付状態にあると判断し、タ
ーミナルアダプタ20へデータを送出する。
FIG. 3 shows an example of a communication control sequence for explaining the characteristic operation of the terminal adapter according to the present invention. In FIG. 3, a conventional communication control procedure such as the above-mentioned V. Two
A call request is made to the terminal adapter 20 according to the present invention using 5bis or AT command. At this point, the terminal adapter 20 functions as a pseudo network for the data terminal 30, and returns a pseudo response to the data terminal 30 according to a predetermined procedure. The data terminal 30 determines that the network side is in a data receiving state and sends the data to the terminal adapter 20.

【0018】ターミナルアダプタ20は、図2で説明し
たように前記データをRAM23に記憶する。そして、
前記タイマ27によって受信データの終了を検出すると
算出回路28による受信データ量をもとに前記課金テー
ブル29を使って最も安価な通信料金となる回線交換又
はパケット交換のいずれかを選択する。その後、ターミ
ナルアダプタ20は、ネットワーク31に対して擬似的
なISDNデータ端末として機能し、ネットワーク31
との間で図10の従来技術で示したのと同様の手順に従
って前記選択された回線交換又はパケット交換接続を指
定した発呼を行う。その後、ネットワーク31からの応
答により前記RAM23内に記憶された前記データ端末
30からの受信データをネットワーク31へ送出する。
The terminal adapter 20 stores the data in the RAM 23 as described with reference to FIG. And
When the timer 27 detects the end of the received data, based on the amount of received data by the calculation circuit 28, the accounting table 29 is used to select either the circuit exchange or the packet exchange with the lowest communication charge. After that, the terminal adapter 20 functions as a pseudo ISDN data terminal for the network 31,
A call is made by designating the selected circuit-switched or packet-switched connection according to the same procedure as shown in the prior art of FIG. Thereafter, the received data from the data terminal 30 stored in the RAM 23 is sent to the network 31 in response to the network 31.

【0019】図4及び図5は、上述した本発明によるタ
ーミナルアダプタの通信制御手順の処理フロー例を示し
ている。なお実線のボックスは端末動作、太い実線のボ
ックスはターミナルアダプタの動作、点線のボックスは
ネットワーク動作をそれぞれ示している。図4におい
て、端末からターミナルアダプタに対して発信要求が発
せられると(S101)、ターミナルアダプタは前記発
信要求を受付そして発信要求情報(着信先アドレス等)
を内部メモリに記憶する(S102,S103)。次
に、ターミナルアダプタは端末に対して網側を擬似した
データ受付可能状態であることを示す応答メッセージを
送信する(S104)。端末は前記応答メッセージを受
信するとターミナルアダプタへデータの送信を開始する
(S105,S106)。ターミナルアダプタは前記デ
ータを受信して内部メモリに記憶すると共にその受信デ
ータ量をカウントし、また所定時間継続する無信号時間
若しくは所定のデータ終了制御信号を監視して前記端末
からの送信データの終了を検知する(S107〜S10
9)。
4 and 5 show an example of the processing flow of the communication control procedure of the terminal adapter according to the present invention described above. The solid line box indicates the terminal operation, the thick solid line box indicates the terminal adapter operation, and the dotted line box indicates the network operation. In FIG. 4, when the terminal issues a call request to the terminal adapter (S101), the terminal adapter accepts the call request and call request information (destination address etc.).
Is stored in the internal memory (S102, S103). Next, the terminal adapter sends a response message indicating that the data is in a state of accepting data, simulating the network side, to the terminal (S104). Upon receiving the response message, the terminal starts data transmission to the terminal adapter (S105, S106). The terminal adapter receives the data, stores it in the internal memory, counts the amount of the received data, and monitors the no-signal time or a predetermined data end control signal that continues for a predetermined time to end the transmission data from the terminal. Is detected (S107 to S10
9).

【0020】次に、図5において、ターミナルアダプタ
はデータ終了を検出すると回線交換又はパケット交換利
用時の料金を受信データ量、相手先電話番号(通信距
離)、日時(昼、夜、平日、休日)から、またパケット
交換利用時にはさらにデータの分割方法(パケットサイ
ズ)等から総合的に算出し前記いずれの交換が安価かを
判断する(S110〜S112)。
Next, in FIG. 5, when the terminal adapter detects the end of data, the charge for using circuit switching or packet switching is received data amount, destination telephone number (communication distance), date and time (day, night, weekday, holiday). ), And when packet exchange is used, it is further comprehensively calculated from the data division method (packet size) and the like to determine which of the exchanges is cheaper (S110 to S112).

【0021】図6から図9は、上記判断の一例を示す説
明図を示したものである。図6は、送信データ量と東京
から着信先までの距離をパラメータとした場合に、回線
交換又はパケット交換のいずれかが料金的に有利かを示
した簡易交換種別選択テーブル(課金テーブル)の一例
である。このような簡易選択テーブルが昼、夜、平日そ
して休日に対応してそれぞれ用意され、各条件を総合的
に判断して上記選択が行われる。例えば、上記テーブル
を使えば、100バイト未満のデータを転送する場合
に、東京以外の地域に対しては回線交換を利用すればよ
いことが容易に判断できる。なお、直接料金表示した詳
細料金テーブルを使って、上記種々の条件から使用料金
を比較計算して回線又はパケットの交換種別を選択して
もよいことは勿論である。
6 to 9 are explanatory views showing an example of the above determination. FIG. 6 is an example of a simple exchange type selection table (billing table) showing whether either circuit switching or packet switching is advantageous in terms of charges when the transmission data amount and the distance from Tokyo to the destination are used as parameters. Is. Such a simple selection table is prepared for day, night, weekday and holiday respectively, and the above selection is performed by comprehensively judging each condition. For example, if the above table is used, it is possible to easily determine that circuit switching should be used for areas other than Tokyo when transferring data of less than 100 bytes. Of course, it is also possible to use the detailed charge table displayed as a direct charge to compare and calculate the use charges from the above various conditions and select the switching type of the line or packet.

【0022】図7から図9は、パケット交換を選択した
場合に、さらに安価にデータを転送するためのパケット
サイズの選択若しくは組合せの一例を示した説明図であ
る。図7はデータサイズに対するパケットサイズの選択
及びその組合せの一例を示したものである。図7におい
て、データサイズが5632オクテットを送信する場合
に、A欄では2816オクテットのパケットサイズを選
択し、それを2回送信する。この場合の通信手順を図式
的に示した説明図が図8である。また、B欄では前記5
632オクテットのデータを4096オクテット及び1
536オクテットの2種類のパケットサイズを使用して
それぞれ1回づつ送信する。この場合の通信手順を図式
的に示した説明図が図9である。
FIGS. 7 to 9 are explanatory views showing an example of selection or combination of packet sizes for transferring data at a lower cost when packet switching is selected. FIG. 7 shows an example of selection of packet size with respect to data size and combination thereof. In FIG. 7, when a data size of 5632 octets is transmitted, a packet size of 2816 octets is selected in the A column, and it is transmitted twice. FIG. 8 is an explanatory diagram schematically showing the communication procedure in this case. In column B, the above 5
Data of 632 octets and 4096 octets and 1
It transmits once using each of the two packet sizes of 536 octets. FIG. 9 is an explanatory diagram schematically showing the communication procedure in this case.

【0023】前者の場合の料金は(図7のA欄、図
8)、4.9円(2816オクテット)×2回=9.8
円であり、後者の場合の料金は(図7のB欄、図9)、
6.2円(4096オクテット)+3.2円(1536
オクテット)=9.4円である。従って、上記例から同
一データ量を送信する場合にもパケットサイズの選択・
組合せの仕方によって料金に違いが生じることがわか
り、本例の場合には料金面から後者が選択されることに
なる。また、図7のC欄は上述した例よりも小さなデー
タサイズ3072オクテットを送信する場合を示したも
のであり、その場合にもパケットサイズの選択を誤ると
料金面で不利になる一例を示したものである。すなわ
ち、この場合の料金は0.8円(256オクテット)×
12回=9.6円となり、B欄の場合よりも高額とな
る。
In the case of the former, the charge is (column A in FIG. 7, FIG. 8), 4.9 yen (2,816 octets) × 2 times = 9.8.
It is a yen, and the charge in the latter case (column B in FIG. 7, FIG. 9) is
6.2 yen (4096 octets) + 3.2 yen (1536)
Octet) = 9.4 yen. Therefore, even if the same data amount is transmitted from the above example, the packet size selection /
It can be seen that the charge varies depending on the combination method, and in the case of this example, the latter is selected from the viewpoint of the charge. Further, the column C of FIG. 7 shows a case where a data size of 3072 octets smaller than that of the above example is transmitted, and in that case also, an example in which a wrong packet size is selected is disadvantageous in terms of price is shown. It is a thing. In other words, the charge in this case is 0.8 yen (256 octets) x
12 times = 9.6 yen, which is more expensive than in the case of column B.

【0024】再び図5にもどって、上述したように種々
の料金パラメータを総合的に判断して回線交換又はパケ
ット交換が選択される(S112)。ターミナルアダプ
タは、回線交換を選択した場合には呼設定メッセージに
おいて回線交換を指定し、ネットワークからの応答メッ
セージによって内部に記憶してある端末からの受信デー
タをネットワーク側へ送出する(S113〜S11
7)。それとは反対に、パケット交換を選択した場合に
は、呼設定メッセージにおいてパケット交換を指定し、
ネットワークからの応答メッセージによって内部に記憶
してある端末からの受信データをBチャネルパケット情
報若しくはDチャネルパケット情報としてネットワーク
側へ送出する(S113〜S117)。
Returning to FIG. 5 again, the circuit switching or packet switching is selected by comprehensively judging various charge parameters as described above (S112). When the circuit switching is selected, the terminal adapter specifies the circuit switching in the call setting message, and sends the received data from the terminal stored internally to the network side by the response message from the network (S113 to S11).
7). On the contrary, if packet switching is selected, packet switching is specified in the call setup message,
In response to a response message from the network, the received data from the terminal stored internally is sent to the network side as B channel packet information or D channel packet information (S113 to S117).

【0025】[0025]

【発明の効果】以上説明したように、本発明よればデー
タ端末が回線交換又はパケット交換の両者の通信が可能
なISDNを自動的に効率よく低料金で使用できるよう
になりデータ通信に要する経費の削減効果は累積的に顕
著なものとなる。
As described above, according to the present invention, the data terminal can automatically and efficiently use the ISDN capable of performing both the circuit switching and the packet switching, and the cost required for the data communication. The reduction effect of is cumulatively significant.

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

【図1】本発明によるターミナルアダプタの基本構成を
示したブロック図である。
FIG. 1 is a block diagram showing a basic configuration of a terminal adapter according to the present invention.

【図2】本発明によるターミナルアダプタの一実施例を
示したブロック図である。
FIG. 2 is a block diagram showing an embodiment of a terminal adapter according to the present invention.

【図3】本発明によるターミナルアダプタの動作を説明
するための通信制御手順の一例を示した図である。
FIG. 3 is a diagram showing an example of a communication control procedure for explaining the operation of the terminal adapter according to the present invention.

【図4】本発明によるターミナルアダプタの通信制御手
順の処理フローの一例(1)を示したフロー図である。
FIG. 4 is a flowchart showing an example (1) of a processing flow of a communication control procedure of the terminal adapter according to the present invention.

【図5】本発明によるターミナルアダプタの通信制御手
順の処理フローの一例(2)を示したフロー図である。
FIG. 5 is a flowchart showing an example (2) of the processing flow of the communication control procedure of the terminal adapter according to the present invention.

【図6】送信データ量と着信先までの距離をパラメータ
とした簡易交換種別選択テーブルの一例を示した図であ
る。
FIG. 6 is a diagram showing an example of a simple exchange type selection table in which a transmission data amount and a distance to a destination are parameters.

【図7】データサイズに対するパケットサイズの選択及
びその組合せの一例を示した図である。
FIG. 7 is a diagram showing an example of selection of packet size with respect to data size and combination thereof.

【図8】5632オクテットのデータを2816オクテ
ットのパケットサイズで2回に分けて送信する場合を図
式的に示した説明図である。
FIG. 8 is an explanatory diagram schematically showing a case where 5632 octet data is transmitted in a packet size of 2816 octet in two divided transmissions.

【図9】5632オクテットのデータを4096オクテ
ット及び1536オクテットの2種類のパケットサイズ
で送信する場合を図式的に示した説明図である。
FIG. 9 is an explanatory diagram schematically showing a case where 5632 octet data is transmitted with two packet sizes of 4096 octet and 1536 octet.

【図10】従来のターミナルアダプタを介して既存端末
とネットワークとの間でデータ通信を行うための通信手
順の一例を示した図である。
FIG. 10 is a diagram showing an example of a communication procedure for performing data communication between an existing terminal and a network via a conventional terminal adapter.

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

1…端末 2…ターミナルアダプタ 3…端末インタフェース手段 4…擬似回線通信制御手段 5…通信終了検出手段 6…端末データ記憶手段 7…交換種別判定手段 8…回線インタフェース手段 9…擬似端末通信制御手段 1 ... Terminal 2 ... Terminal adapter 3 ... Terminal interface means 4 ... Pseudowire communication control means 5: Communication end detecting means 6 ... Terminal data storage means 7 ... Exchange type determination means 8 ... Line interface means 9 ... Pseudo terminal communication control means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平6−104930(JP,A) 特開 平4−124943(JP,A) 特開 平4−329795(JP,A) 特開 平3−45053(JP,A) 特開 平2−264536(JP,A) 特開 昭62−289028(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/14 H04L 12/64 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-6-104930 (JP, A) JP-A-4-124943 (JP, A) JP-A-4-329795 (JP, A) JP-A-3- 45053 (JP, A) JP-A-2-264536 (JP, A) JP-A-62-289028 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 12/14 H04L 12 / 64

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 端末をネットワークの回線へ接続するタ
ーミナルアダプタにおいて、前記端末に対して擬似的に
前記ネットワークの回線との接続通信手順を実行する
似回線通信制御手段と前記端末から送られてきたデー
タの終了を検出する通信終了検出手段と前記データを
一時記憶するための端末データ記憶手段と前記端末デ
ータ記憶手段に記憶されたデータ量を基に種々のパラメ
ータを計算若しくは比較判定することによって前記デー
タの送信料金の安い方の回線交換又はパケット交換を選
択する交換種別判定手段と前記データの終了後に、前記交換種別判定手段 によって
選択された回線交換又はパケット交換ネットワークに
対し擬似的に端末の接続通信手順を実行し前記端末デー
タ記憶手段に記憶されたデータを送出する擬似端末通信
制御手段とを有することを特徴とするターミナルアダプ
1. A terminal for connecting a terminal to a network line.
-In the terminal adapter, pseudo for the terminal
Pseudo executing the access communication procedure with the line of the network
And line communication control means similar, and communication end detection means for detecting the end of the data transmitted from the terminal, the terminal data storage means for temporarily storing the data, the terminal de
Switching type determining means for selecting circuit switching or packet switching with a lower transmission fee of the data by calculating or comparing and determining various parameters based on the amount of data stored in the data storage means ; after completion of the exchange type determination unit network of circuit switching or packet switching selected by relative perform the connection communication procedure pseudo-terminal the terminal data
Pseudo terminal communication for sending data stored in the data storage means
A terminal adapter having a control means.
Ta .
【請求項2】 前記交換種別判定手段は、前記パラメー
タとして送信データ量、相手先電話番号及び/又は日時
を使用し回線使用料金判定のための課金テーブルを有す
る請求項1記載のターミナルアダプタ
2. The exchange type judging means has a billing table for judging a line charge by using the transmission data amount , the telephone number of the other party and / or the date and time as the parameter. Terminal adapter .
【請求項3】 前記通信終了検出手段は、送信データの
終了をデータの送信中における所定時間継続した無信号
状態によって検出するタイマー手段、及び/又は送信デ
ータの終了を指示するための制御信号によって検出する
送信データ終了信号検出手段から成る請求項1記載の
ーミナルアダプタ
3. The communication end detecting means uses a timer means for detecting the end of the transmission data by a no-signal state which continues for a predetermined time during data transmission, and / or a control signal for instructing the end of the transmission data. 2. The tag according to claim 1, comprising transmission data end signal detecting means for detecting .
-Terminal adapter .
JP5577593A 1993-03-16 1993-03-16 Terminal adapter capable of automatic line / packet switching Expired - Fee Related JP3464011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5577593A JP3464011B2 (en) 1993-03-16 1993-03-16 Terminal adapter capable of automatic line / packet switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5577593A JP3464011B2 (en) 1993-03-16 1993-03-16 Terminal adapter capable of automatic line / packet switching

Publications (2)

Publication Number Publication Date
JPH06268641A JPH06268641A (en) 1994-09-22
JP3464011B2 true JP3464011B2 (en) 2003-11-05

Family

ID=13008260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5577593A Expired - Fee Related JP3464011B2 (en) 1993-03-16 1993-03-16 Terminal adapter capable of automatic line / packet switching

Country Status (1)

Country Link
JP (1) JP3464011B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2693341A4 (en) 2011-03-29 2015-12-02 Fujitsu Ltd Information processing device, subsystem, information processing method, and information processing program

Also Published As

Publication number Publication date
JPH06268641A (en) 1994-09-22

Similar Documents

Publication Publication Date Title
US5963629A (en) Method for embodying automatic call in a keyphone system
US4879742A (en) Charging system in data communication network
CN1647461B (en) Communication control method in connection-type communication, related relay device, and accounting management device
JP3464011B2 (en) Terminal adapter capable of automatic line / packet switching
JPH0345053A (en) Data terminal equipment
GB2367205A (en) Opening up a connection across a computer network
KR100518428B1 (en) Control method for call connection in image communication
JP2669441B2 (en) DTE facility control method using AT command
JP2000174846A (en) Communication equipment and recording medium
JPH01264357A (en) Data terminal system for integrated service digital network
JPH11331240A (en) Information transmission system and its terminal
JP2944568B2 (en) Data communication method
JP2624770B2 (en) Communications system
JP3350007B2 (en) Frame error rate threshold variation control method
JP2862601B2 (en) Private branch exchange system
JP3231809B2 (en) Switching device and control method thereof
KR100193827B1 (en) Communication system with auto dialing function and auto dialing method
JP4146629B2 (en) Terminal device
JPH0865416A (en) Communication control system
KR100304533B1 (en) Method for displaying bill information using isdn
JP3000893B2 (en) Communication method and communication terminal device
JPH02218260A (en) Charge notice system
JPH11155056A (en) Communication terminal equipment
JP2000278449A (en) Key telephone system
JPH10126460A (en) Data communication controller for isdn

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030715

LAPS Cancellation because of no payment of annual fees