JP2003110738A - Method for controlling number of communication channels and dial-up router - Google Patents

Method for controlling number of communication channels and dial-up router

Info

Publication number
JP2003110738A
JP2003110738A JP2001295020A JP2001295020A JP2003110738A JP 2003110738 A JP2003110738 A JP 2003110738A JP 2001295020 A JP2001295020 A JP 2001295020A JP 2001295020 A JP2001295020 A JP 2001295020A JP 2003110738 A JP2003110738 A JP 2003110738A
Authority
JP
Japan
Prior art keywords
file
server
line
dial
optimum
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
JP2001295020A
Other languages
Japanese (ja)
Inventor
Yoshihito Imura
義仁 井村
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.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica 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 NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2001295020A priority Critical patent/JP2003110738A/en
Publication of JP2003110738A publication Critical patent/JP2003110738A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that the use efficiency of an ISDN line at the time of file transfer is deteriorated since the transfer quantity of a whole file is not recognized by a dial-up router, and it is necessary to start the file transfer with the minimum number of communication channels (one B channel) even when the capacity of the whole file is sufficiently large. SOLUTION: This method comprises file capacity detection processing for detecting the capacity of a file to be notified before a file is transferred from a server, the optimal number of communication channel calculation processing for calculating the optimal number of communication channels according to a prescribed calculation formula based on the capacity of the file detected by the file capacity detection processing, and file transfer processing for connection processing of the lines in the optimal number of communication channels of lines to be charged for the server, and for transmitting files to be transferred from the server through lines in the optimal number of communication channels to the terminal.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、FTP(File T
ransfer Protocol)サーバからファイルデータをダウン
ロードする際に、ISDN(Integrated Services Digi
tal Network )回線などの被課金回線の通信チャンネル
数を制御する通信チャンネル数制御方法、及びその方法
を適用したダイヤルアップルータに関するものである。
TECHNICAL FIELD The present invention relates to an FTP (File T
When downloading file data from a ransfer protocol server, ISDN (Integrated Services Digi)
The present invention relates to a communication channel number control method for controlling the number of communication channels of a chargeable circuit such as a tal network) and a dial-up router to which the method is applied.

【0002】[0002]

【従来の技術】LAN(Local Area Network)を外部の
通信回線と接続するためにはルータが利用されるが、特
に、LANをISDN回線と接続する場合は、ダイヤル
アップルータが多く用いられる。ダイヤルアップルータ
は、LANを接続するインターフェースとINSD回線
を接続するインターフェースを備え、LAN側からの要
求に応じて、ISDN回線によるダイヤルアップを自動
的に行い、相手先に接続するルータである。
2. Description of the Related Art A router is used to connect a LAN (Local Area Network) to an external communication line, and a dial-up router is often used especially when the LAN is connected to an ISDN line. The dial-up router is a router that has an interface for connecting a LAN and an interface for connecting an INSD line, and automatically performs dial-up via an ISDN line in response to a request from the LAN side and connects to the other party.

【0003】図5は、ダイヤルアップルータを用いたフ
ァイル転送システムの構成を示すシステム構成図であ
る。図5において、PC1A,1Bは、それぞれ、ファ
イル転送システムにおいて、FTPサーバ7に対してフ
ァイル転送を要求するクライアント側のパーソナルコン
ピュータである。PC1A,1Bは、LANケーブル2
によって互いに接続されることにより、LANが構築さ
れている。尚、LANには、PC1A,1B以外のPC
が接続されていても構わない。
FIG. 5 is a system configuration diagram showing the configuration of a file transfer system using a dial-up router. In FIG. 5, PCs 1A and 1B are client-side personal computers that request file transfer from the FTP server 7 in the file transfer system. LAN cable 2 for PC1A and 1B
A LAN is constructed by being connected to each other by. PCs other than PCs 1A and 1B are included in the LAN.
May be connected.

【0004】ダイヤルアップルータ3は、接続先のFT
Pサーバ7(即ちダイヤルアップルータ6)やインター
ネットサービスプロバイダ(図示せず)などの情報が予
め設定され、LAN側のPC1A,1Bから外部に対し
てアクセスするパケットデータが発生すると、そのパケ
ットデータに応じた相手先に自動的にダイヤルアップ接
続を行うルータである。このダイヤルアップルータ3
は、LANを接続するインターフェース(I/F)とI
NSD回線を接続するインターフェースを備えている。
尚、ダイヤルアップルータ3には、ルーティング機能や
ダイヤルアップ機能以外に、HUB機能を内蔵したもの
もある。
The dial-up router 3 is connected to the FT.
Information such as the P server 7 (that is, the dial-up router 6) and the Internet service provider (not shown) is set in advance, and when packet data for accessing the outside from the PCs 1A, 1B on the LAN side is generated, the packet data is added It is a router that automatically makes a dial-up connection to the corresponding destination. This dial-up router 3
Is an interface (I / F) for connecting a LAN and an I
It has an interface for connecting NSD lines.
Some dial-up routers 3 have a built-in HUB function in addition to the routing function and dial-up function.

【0005】ISDN回線4は、音声や画像などを含め
たデータを全てディジタル信号化して効率的に伝送する
ネットワークである。通信事業者が提供するISDN回
線4を利用するサービス(ISDNサービス)には、I
NS(Information NetworkSystem)ネット64とIN
Sネット1500の2種類がある。
The ISDN line 4 is a network for converting all data including voices and images into digital signals for efficient transmission. The service (ISDN service) that uses the ISDN line 4 provided by the communication carrier is I
NS (Information Network System) net 64 and IN
There are two types of S-net 1500.

【0006】INS64は、通信用のBチャネル(伝送
速度64Kbps)2本と、制御通信用のDチャネル
(同16Kbps)1本で構成される(基本インターフ
ェース;Basic Rate Interface)。INS64では、B
チャネル2本を同時に使用することにより、最大128
Kbpsの通信速度を得ることができる。一方、INS
1500は、Bチャネル23本とDチャネル(同64K
bps)1本、又はBチャネル24本で構成される(1
次群速度インターフェース;Primary Rate Interfac
e)。INS1500では、最大1500Kbps
(1.5Mbps)の通信速度を得ることができる。
The INS 64 is composed of two B channels for communication (transmission rate of 64 Kbps) and one D channel for control communication (16 Kbps of the same) (Basic Rate Interface). In INS64, B
Up to 128 by using two channels at the same time
A communication speed of Kbps can be obtained. Meanwhile, INS
1500 has 23 B channels and D channels (64K
bps) 1 or 24 B channels (1
Next group velocity interface; Primary Rate Interfac
e). With INS 1500, the maximum is 1500 Kbps
A communication speed of (1.5 Mbps) can be obtained.

【0007】一般に、企業においては、例えば本社と支
店間でデータ通信を行う場合、INS64の通信速度で
は容量不足のため、INS1500でデータ通信が行わ
れる。尚、図5のファイル転送システムでは、INSネ
ット1500のISDNサービスが適用されるものとし
て説明する。
Generally, in a company, for example, when data communication is performed between a head office and a branch office, data communication is performed by the INS 1500 because the communication speed of the INS 64 is insufficient. In the file transfer system shown in FIG. 5, the ISDN service of the INS net 1500 is applied.

【0008】交換機5は、ISDN回線4網においてパ
ケット交換(スイッチング)を行うものである。ダイヤ
ルアップルータ6は、上記したダイヤルアップルータ3
と同様に、ISDN回線によるダイヤルアップ接続を自
動的に行うルータである。
The exchange 5 performs packet switching (switching) in the ISDN line 4 network. The dial-up router 6 is the dial-up router 3 described above.
Similarly to the above, it is a router that automatically makes a dial-up connection by an ISDN line.

【0009】FTPサーバ7は、FTP(ファイル転送
プロトコル)に従って、クライアント側のPC1A,1
Bに対してファイルを転送するサーバである。このFT
Pサーバ7は、図5に示すように、ダイヤルアップルー
タ6に接続されている。
The FTP server 7 follows the client PCs 1A, 1 in accordance with FTP (File Transfer Protocol).
It is a server that transfers files to B. This FT
The P server 7 is connected to the dial-up router 6 as shown in FIG.

【0010】次に、ファイル転送動作について説明す
る。尚、PC1Aのユーザが、PC1A内のFTPクラ
イアントソフトウェアを起動して、FTPサーバ7から
ファイルをダウンロードする動作について説明するもの
とする。
Next, the file transfer operation will be described. The operation of the user of the PC 1A starting the FTP client software in the PC 1A and downloading the file from the FTP server 7 will be described.

【0011】ユーザがPC1A内のFTPクライアント
ソフトウェアでFTPサーバ7からのファイル転送を要
求すると、PC1Aは、FTP要求のパケットデータを
送出する。このFTP要求のパケットデータは、LAN
ケーブル2を介してダイヤルアップルータ3に送られ
る。ダイヤルアップルータ3は、PC1AからのFTP
要求のパケットデータを受け取ると、予め設定されてい
る相手先の情報に基づいて、相手先がFTPサーバ7で
あると判断する。そして、ダイヤルアップルータ3は、
FTPサーバ7に対してダイヤル信号を送出することに
よってダイヤル発信を行う。
When the user requests the file transfer from the FTP server 7 with the FTP client software in the PC 1A, the PC 1A sends out the packet data of the FTP request. The packet data of this FTP request is the LAN
It is sent to the dial-up router 3 via the cable 2. The dial-up router 3 uses the FTP from the PC 1A.
When the request packet data is received, it is determined that the destination is the FTP server 7 based on the preset information of the destination. And the dial-up router 3
Dial transmission is performed by transmitting a dial signal to the FTP server 7.

【0012】ダイヤルアップルータ3から送出されたダ
イヤル信号は、ISDN回線4及び交換機5を経由して
ダイヤルアップルータ6に送られる。ダイヤルアップル
ータ6がダイヤル信号に対して応答すると、ダイヤルア
ップルータ3,6間においてISDN回線4(Bチャネ
ル23本)の1本のBチャネルの回線が接続される。
The dial signal sent from the dial-up router 3 is sent to the dial-up router 6 via the ISDN line 4 and the exchange 5. When dial-up router 6 responds to the dial signal, one B-channel line of ISDN line 4 (23 B-channels) is connected between dial-up routers 3 and 6.

【0013】ダイヤルアップルータ3は、相手側のダイ
ヤルアップルータ6が応答してISDN回線4の1本の
Bチャネルの回線が接続されると、FTP要求のパケッ
トデータをFTPサーバ7に送出する。ダイヤルアップ
ルータ6は、ダイヤルアップルータ3から送出されたF
TP要求のパケットデータを受け取ると、そのパケット
データをFTPサーバ7に送信する。
The dial-up router 3 sends out the packet data of the FTP request to the FTP server 7 when the dial-up router 6 on the other side responds and one B channel line of the ISDN line 4 is connected. The dial-up router 6 sends the F sent from the dial-up router 3.
When receiving the packet data of the TP request, the packet data is transmitted to the FTP server 7.

【0014】FTPサーバ7が、PC1AからのFTP
要求のパケットデータを受け取ることにより、PC1A
とFTPサーバ7との間でFTP制御コネクションが張
られる。ユーザが、PC1Aから所定のファイルを指定
してGETコマンドをFTPサーバ7に送信すると、F
TPサーバ7は、GETコマンドで指定されたファイル
の容量を応答メッセージでPC1Aに通知し、そのファ
イルをPC1Aに転送(ダウンロード)する。そのファ
イルデータは、ダイヤルアップルータ6、ISDN回線
4、交換機5及びダイヤルアップルータ3を介してPC
1Aに転送される。
The FTP server 7 uses the FTP from the PC 1A.
By receiving the request packet data, PC1A
An FTP control connection is established between the server and the FTP server 7. When the user specifies a predetermined file from PC 1A and sends a GET command to the FTP server 7, F
The TP server 7 notifies the PC1A of the capacity of the file designated by the GET command in a response message, and transfers (downloads) the file to the PC1A. The file data is transferred to the PC via the dial-up router 6, ISDN line 4, exchange 5 and dial-up router 3.
1A is transferred.

【0015】ダイヤルアップルータ3は、FTPサーバ
7からPC1Aへのファイルデータの転送が行われてい
る間、一定時間に通過するデータ転送量をチェック(監
視)する。ダイヤルアップルータ3は、データ転送量が
多いと判断した場合は、ダイヤルアップによる回線接続
を行って、ファイル転送に使用するISDN回線4の通
信チャンネル数(Bチャネルの数)を増加させる。これ
により、ファイル転送にかかる時間が短縮される。
The dial-up router 3 checks (monitors) the amount of data transferred during a fixed time while the file data is transferred from the FTP server 7 to the PC 1A. When the dial-up router 3 determines that the data transfer amount is large, the dial-up line connection is performed by dial-up to increase the number of communication channels (number of B channels) of the ISDN line 4 used for file transfer. This reduces the time required for file transfer.

【0016】また、ダイヤルアップルータ3は、データ
転送量が少なくなったと判断した場合は、ダイヤルアッ
プによる回線接続を切断して、ファイル転送に使用する
ISDN回線4の通信チャンネル数(Bチャネルの数)
を減少させる。
When the dial-up router 3 determines that the data transfer amount has decreased, the dial-up line connection is disconnected and the number of communication channels of the ISDN line 4 used for file transfer (the number of B channels). )
To reduce.

【0017】[0017]

【発明が解決しようとする課題】しかし、以上のような
従来の通信チャンネル数制御方法では、ダイヤルアップ
ルータ3においてはファイル全体の転送量が予め解らな
いため、ファイル全体の容量が十分大きい場合でも、最
低の通信チャンネル数(1本のBチャネル)でファイル
転送を開始しなければならず、ファイル転送を行う際の
ISDN回線4の使用効率が悪いものであった。
However, in the conventional communication channel number control method as described above, since the transfer amount of the entire file is not known in advance in the dial-up router 3, even if the capacity of the entire file is sufficiently large. The file transfer must be started with the minimum number of communication channels (one B channel), and the efficiency of use of the ISDN line 4 at the time of file transfer was poor.

【0018】また、ISDN回線4は、従量課金の回線
であって、通信チャンネル数(Bチャネル)毎の回線使
用時間(通信時間)に応じて課金される(通信料金が決
定される)が、従来の通信チャンネル数制御方法では、
ISDN回線4の課金の単位時間について全く考慮され
ていなかったので、通信チャンネル数や回線使用時間に
よっては、非常に無駄な課金がされてしまう(通信料金
が高くなってしまう)ことがあるなどの課題があった。
The ISDN line 4 is a pay-per-use line and is charged (communication charge is determined) according to the line usage time (communication time) for each communication channel number (B channel). In the conventional communication channel number control method,
Since the unit time for charging the ISDN line 4 is not considered at all, depending on the number of communication channels and line use time, a very useless charge may be made (the communication charge may be high). There were challenges.

【0019】この発明は、上記のような課題を解決する
ためになされたものであり、ファイル転送が行われる際
に、ファイル転送時間の短縮化とファイル転送に要する
被課金回線(ISDN回線)の通信料金の低額化を同時
に実現することができる通信チャンネル数制御方法及び
ダイヤルアップルータを得ることを目的とする。
The present invention has been made to solve the above problems, and when a file is transferred, the file transfer time is shortened and the chargeable line (ISDN line) required for the file transfer is reduced. An object of the present invention is to obtain a communication channel number control method and a dial-up router that can simultaneously realize a reduction in communication charges.

【0020】[0020]

【課題を解決するための手段】以上の目的を達成するた
め、本発明に係る通信チャンネル数制御方法及びダイヤ
ルアップルータでは、LAN及び多チャンネルからなる
被課金回線と接続されたダイヤルアップルータによっ
て、LAN側の端末からのサーバに対するファイル転送
要求のパケットデータを受けると、サーバに対する被課
金回線の回線接続処理を行うとともに、ファイル転送要
求のパケットデータをサーバに送信してアクセスするサ
ーバアクセス処理と、サーバからファイルが転送される
前に通知されるファイルの容量を検出するファイル容量
検出処理と、ファイル容量検出処理で検出されたファイ
ルの容量に基づいて、所定の計算式に従って最適通信チ
ャンネル数を算出する最適通信チャンネル数算出処理
と、サーバに対する被課金回線の最適通信チャンネル数
の回線接続処理を行うとともに、最適通信チャンネル数
の回線によってサーバから転送されるファイルを端末に
送るファイル転送処理とを備えたものである。
In order to achieve the above object, in the communication channel number control method and dial-up router according to the present invention, a dial-up router connected to a chargeable line composed of a LAN and multiple channels is provided. When the packet data of the file transfer request to the server is received from the terminal on the LAN side, the line connection process of the charged line to the server is performed, and the server access process of transmitting the packet data of the file transfer request to the server for access. Calculate the optimal number of communication channels according to a predetermined formula based on the file size detection process that detects the file size that is notified before the file is transferred from the server and the file size detected by the file size detection process To calculate the optimal number of communication channels to Performs line connection processing of the optimum number of communication channels of gold lines, in which a file transfer process to send the file to be transferred from the server to the terminal by the line of optimum number of communication channels.

【0021】また、本発明に係る通信チャンネル数制御
方法及びダイヤルアップルータでは、LAN及び多チャ
ンネルからなる被課金回線と接続されたダイヤルアップ
ルータによって、LAN側の端末からのFTPサーバに
対するファイル転送要求のパケットデータを受けると、
FTPサーバに対する被課金回線の回線接続処理を行う
とともに、ファイル転送要求のパケットデータをFTP
サーバに送信してアクセスするサーバアクセス処理と、
FTPサーバからファイルが転送される前に通知される
応答メッセージのプロトコルを解析し、応答メッセージ
内のファイルの容量を検出するファイル容量検出処理
と、ファイル容量検出ステップで検出されたファイルの
容量に基づいて、所定の計算式に従って最適通信チャン
ネル数を算出する最適通信チャンネル数算出ステップ
と、サーバに対する被課金回線の最適通信チャンネル数
の回線接続処理を行うとともに、最適通信チャンネル数
の回線によってFTPサーバから転送されるファイルを
端末に送るファイル転送処理とを備えたものである。
Further, in the communication channel number control method and dial-up router according to the present invention, a file transfer request from the terminal on the LAN side to the FTP server is made by the dial-up router connected to the charged line consisting of LAN and multiple channels. When receiving the packet data of
Performs line connection processing of the billed line to the FTP server, and transfers packet transfer request packet data to the FTP.
Server access processing to send to the server for access,
Based on the file size detection processing that analyzes the protocol of the response message notified before the file is transferred from the FTP server and detects the file size in the response message, and the file size detected in the file size detection step. Then, the optimum communication channel number calculation step of calculating the optimum communication channel number according to a predetermined calculation formula, and the line connection processing of the optimum communication channel number of the billed line to the server are performed, And a file transfer process for sending the transferred file to the terminal.

【0022】また、本発明に係る通信チャンネル数制御
方法及びダイヤルアップルータでは、最適通信チャンネ
ル数算出ステップにおいて、ファイルの容量に基づき、
第1の計算式によってファイル転送時間を計算し、その
ファイル転送時間に基づき、第2の計算式によって導き
出される通信料金が最少となるような通信チャンネル数
を最適通信チャンネル数として決定するようにしたもの
である。
Further, in the communication channel number control method and the dial-up router according to the present invention, in the optimum communication channel number calculation step, based on the file capacity,
The file transfer time is calculated by the first formula, and the number of communication channels that minimizes the communication charge derived by the second formula is determined as the optimum number of communication channels based on the file transfer time. It is a thing.

【0023】また、本発明に係る通信チャンネル数制御
方法及びダイヤルアップルータでは、最適通信チャンネ
ル数算出ステップによって算出される最適通信チャンネ
ル数には、ファイルの容量に応じて最低限のチャンネル
数が予め設定されているようにしたものである。
Further, in the communication channel number control method and the dial-up router according to the present invention, the optimum communication channel number calculated in the optimum communication channel number calculating step has a minimum number of channels in advance according to the file capacity. It is set as it is set.

【0024】[0024]

【発明の実施の形態】以下、本発明の実施の一形態を説
明する。 実施の形態1.図1は、本発明のダイヤルアップルータ
の構成を示すブロック図である。図1において、ダイヤ
ルアップルータ10は、上記したように、相手先のFT
Pサーバ7などの情報が予め設定され、LAN側のPC
(端末)1A,1Bから外部に対してアクセスするパケ
ットデータが発生すると、そのパケットデータに応じた
相手先に自動的にダイヤルアップ接続を行うルータであ
る。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below. Embodiment 1. FIG. 1 is a block diagram showing the configuration of the dial-up router of the present invention. In FIG. 1, the dial-up router 10 uses the FT of the other party as described above.
Information such as the P server 7 is set in advance, and the PC on the LAN side
This is a router that automatically makes a dial-up connection to the other party according to the packet data when the packet data for accessing the outside from the (terminal) 1A, 1B is generated.

【0025】ダイヤルアップルータ10において、LA
NI/F部(LANインターフェース部)11は、PC
1A,1Bから構築されたLAN(LANケーブル2)
を接続するためのインターフェースである。経路制御部
12は、LANI/F部11と回線I/F部15との間
に設けられ、予め設定された情報に基づいて、LAN側
及びISDN回線4側から送られてきたパケットデータ
のIPアドレスをチェックして経路選択(ルーティン
グ)を行うものである。
In the dial-up router 10, LA
The NI / F unit (LAN interface unit) 11 is a PC
LAN built from 1A and 1B (LAN cable 2)
Is an interface for connecting to. The route control unit 12 is provided between the LAN I / F unit 11 and the line I / F unit 15, and based on preset information, IP of packet data sent from the LAN side and the ISDN line 4 side. The address is checked and the route is selected.

【0026】プロトコル解析部(ファイル容量検出部)
13は、経路制御部12を通過するパケットデータをモ
ニタし、そのパケットデータのプロトコルを解析するこ
とにより、FTPサーバ7からの応答メッセージをチェ
ックして、FTPサーバ7から転送されるファイルのデ
ータ容量を検出するものである。最適通信ch数算出部
(最適通信チャンネル数算出部)14は、プロトコル解
析部13が検出したファイルのデータ容量に基づいて、
所定の計算式によりファイル転送を行うのに最適な通信
チャンネル数を算出するものである。
Protocol analysis unit (file capacity detection unit)
13 monitors the packet data passing through the route control unit 12, analyzes the protocol of the packet data, checks the response message from the FTP server 7, and determines the data capacity of the file transferred from the FTP server 7. Is to detect. The optimum communication channel number calculation unit (optimal communication channel number calculation unit) 14 calculates the number of files based on the data capacity of the file detected by the protocol analysis unit 13.
The optimum number of communication channels for file transfer is calculated by a predetermined calculation formula.

【0027】回線I/F部(回線インターフェース部)
15は、ISDN回線4を接続するためのインターフェ
ースである。この回線I/F部15は、ダイヤルアップ
による回線接続を制御する機能を備えている。
Line I / F unit (line interface unit)
Reference numeral 15 is an interface for connecting the ISDN line 4. The line I / F unit 15 has a function of controlling line connection by dial-up.

【0028】ファイル転送システムについては、図5に
示した構成と同様である。なお、図5におけるFTPサ
ーバ7側のダイヤルアップルータ6も、図1に示したダ
イヤルアップルータ10と同様の構成であるものとし、
以下の説明では、ダイヤルアップルータ20(図示はし
ていない)とする。また、図5で説明した構成と同一の
構成については同一符号を付すことにより、重複する説
明を省略する。
The file transfer system has the same configuration as that shown in FIG. Note that the dial-up router 6 on the FTP server 7 side in FIG. 5 also has the same configuration as the dial-up router 10 shown in FIG.
In the following description, the dial-up router 20 (not shown) is used. Further, the same components as those described with reference to FIG. 5 are designated by the same reference numerals, and redundant description will be omitted.

【0029】尚、本発明においては、通信事業者が提供
するISDNサービスとしてINSネット1500が適
用されるものとして説明する。
In the present invention, it is assumed that the INS net 1500 is applied as an ISDN service provided by a telecommunications carrier.

【0030】次に、ファイル転送動作について説明す
る。図2は、ファイル転送システムにおけるファイル転
送動作を説明するためのシーケンス図である。尚、PC
1Aのユーザが、PC1A内のFTPクライアントソフ
トウェア(S/W)を起動して、FTPサーバ7からフ
ァイルをダウンロードする動作について説明する。
Next, the file transfer operation will be described. FIG. 2 is a sequence diagram for explaining the file transfer operation in the file transfer system. In addition, PC
The operation in which the user of 1A starts the FTP client software (S / W) in the PC 1A and downloads the file from the FTP server 7 will be described.

【0031】ユーザが、PC1A内のFTPクライアン
トソフトウェアでFTPサーバ7からのファイル転送を
要求すると、FTP要求のパケットデータが、PC1A
からダイヤルアップルータ10に送出される(ステップ
ST1)。
When the user requests the file transfer from the FTP server 7 with the FTP client software in the PC 1A, the packet data of the FTP request is sent to the PC 1A.
To the dial-up router 10 (step ST1).

【0032】ダイヤルアップルータ10内では、FTP
要求のパケットデータは、LANI/F部11を通って
経路制御部12に送られる。経路制御部12は、PC1
AからのFTP要求のパケットデータを受け取ると、そ
のパケットデータのIPアドレスを読み取り、予め設定
されている相手先の情報に基づいて、相手先がFTPサ
ーバ7であると認識する。そして、経路制御部12は、
回線I/F部15に対して回線接続の指示を行う。
In the dial-up router 10, FTP is used.
The request packet data is sent to the route control unit 12 through the LAN I / F unit 11. The route control unit 12 is the PC 1
When the packet data of the FTP request from A is received, the IP address of the packet data is read, and the destination is recognized as the FTP server 7 based on the preset information of the destination. Then, the route control unit 12
A line connection instruction is issued to the line I / F unit 15.

【0033】回線I/F部15は、経路制御部12から
の回線接続の指示を受けると、ISDN回線4の1つの
Bチャネルを使用して、FTPサーバ7(即ちダイヤル
アップルータ20)のダイヤル信号を送出することによ
ってダイヤル発信を行う(ステップST2)。
Upon receiving the line connection instruction from the route control unit 12, the line I / F unit 15 uses one B channel of the ISDN line 4 to dial the FTP server 7 (that is, the dial-up router 20). Dial transmission is performed by transmitting a signal (step ST2).

【0034】ダイヤルアップルータ10から送出された
ダイヤル信号は、ISDN回線4及び交換機5を経由し
てダイヤルアップルータ20に送られる。ダイヤルアッ
プルータ20がダイヤル信号に対して応答すると(ステ
ップST3)、ダイヤルアップルータ10,20間にお
いてISDN回線4(Bチャネル23本のうち)の1本
のBチャネルの回線が接続される。
The dial signal sent from the dial-up router 10 is sent to the dial-up router 20 via the ISDN line 4 and the exchange 5. When dial-up router 20 responds to the dial signal (step ST3), one B-channel line of ISDN line 4 (of 23 B-channels) is connected between dial-up routers 10 and 20.

【0035】ダイヤルアップルータ10は、相手先のダ
イヤルアップルータ20が応答してISDN回線4の1
本のBチャネルの回線が接続されると、PC1Aからの
FTP要求のパケットデータをFTPサーバ7に対して
送出する(ステップST4)。ダイヤルアップルータ2
0は、ダイヤルアップルータ10から送出されたFTP
要求のパケットデータを受け取ると、経路選択を行うこ
とにより、そのパケットデータをFTPサーバ7に送信
する。その結果、PC1AからのFTP要求のパケット
データがFTPサーバ7に到達する。
The dial-up router 10 responds to the dial-up router 20 of the other party, and
When the B channel line of the book is connected, the packet data of the FTP request from the PC 1A is sent to the FTP server 7 (step ST4). Dial-up router 2
0 is the FTP sent from the dial-up router 10.
When the request packet data is received, the packet data is transmitted to the FTP server 7 by selecting a route. As a result, the packet data of the FTP request from the PC 1A reaches the FTP server 7.

【0036】FTPサーバ7が、PC1AからのFTP
要求のパケットデータを受け取ることにより、PC1A
とFTPサーバ7との間でFTP制御コネクションが張
られ、PC1Aは、FTPサーバ7とのFTP通信が可
能となる。ここで、FTP制御コネクションを利用した
制御コマンドと応答メッセージの例を図3に示す。
The FTP server 7 uses the FTP from the PC 1A.
By receiving the request packet data, PC1A
The FTP control connection is established between the FTP server 7 and the FTP server 7, and the PC 1A can perform the FTP communication with the FTP server 7. Here, an example of the control command and the response message using the FTP control connection is shown in FIG.

【0037】ユーザは、FTPサーバ7にログインする
ために、PC1Aからパスワードを入力してFTPサー
バ7に送信する(ステップST5)。FTPサーバ7
は、PC1Aから送信されたパスワードを受け取ると、
そのパスワードに基づいてユーザ認証を行い(ステップ
ST6)、ユーザのサーバへのログインを認める(ステ
ップST7)。
To log in to the FTP server 7, the user inputs a password from the PC 1A and sends it to the FTP server 7 (step ST5). FTP server 7
Receives the password sent from PC1A,
User authentication is performed based on the password (step ST6), and the user is permitted to log in to the server (step ST7).

【0038】ユーザは、FTPサーバ7へのログイン
後、PC1AからFTPサーバ7内のファイルを指定し
てGETコマンドを発行する(ステップST8)。図3
の例では、ファイル(tcpbook tar bookfile)を指定し
てGETコマンド(get pub)を発行したものである。
FTPサーバ7は、PC1Aから送られたGETコマン
ドを受信すると、GETコマンドで指定されたファイル
の容量を応答メッセージでPC1Aに通知(送信)する
(ステップST9)。図3の例では、下線の引かれた
(77897088bytes)がファイルの容量である。
After logging in to the FTP server 7, the user designates a file in the FTP server 7 from the PC 1A and issues a GET command (step ST8). Figure 3
In the above example, a GET command (get pub) is issued by designating a file (tcpbook tar bookfile).
Upon receiving the GET command sent from the PC 1A, the FTP server 7 notifies (sends) the capacity of the file designated by the GET command to the PC 1A with a response message (step ST9). In the example of FIG. 3, the underlined (77897088 bytes) is the file size.

【0039】このとき、ダイヤルアップルータ10のプ
ロトコル解析部13では、経路制御部12を通過するパ
ケットデータをモニタし、FTPサーバ7からの応答メ
ッセージをチェックしている。従って、プロトコル解析
部13は、FTPサーバ7から通知された応答メッセー
ジをチェックして、その応答メッセージ内のファイルの
容量を検出する(ステップST10)。そして、プロト
コル解析部13は、その検出したファイルの容量を最適
通信ch数算出部14に通知する。
At this time, the protocol analysis unit 13 of the dial-up router 10 monitors the packet data passing through the route control unit 12 and checks the response message from the FTP server 7. Therefore, the protocol analysis unit 13 checks the response message notified from the FTP server 7 and detects the file size in the response message (step ST10). Then, the protocol analysis unit 13 notifies the optimum communication channel number calculation unit 14 of the detected file capacity.

【0040】最適通信ch数算出部14は、プロトコル
解析部13から通知されたファイルの容量から、以下の
ような計算を実施して最適な通信チャンネル数を算出す
る(ステップST11)。まず、ファイル容量を用い
て、次の計算式(1)によって、ファイル転送時間T
(ファイル全体を転送するのに必要な時間)が求められ
る。
The optimum communication channel number calculation unit 14 calculates the optimum number of communication channels by performing the following calculation from the file size notified from the protocol analysis unit 13 (step ST11). First, using the file capacity, the file transfer time T is calculated by the following calculation formula (1).
(Time required to transfer the entire file) is required.

【0041】 ファイル転送時間T(sec)=ファイル容量F(bits)/{使用通信c h数N×6400(bits/sec)}・・・(1)[0041]   File transfer time T (sec) = file capacity F (bits) / {used communication c h number N × 6400 (bits / sec)} (1)

【0042】この計算式(1)においては、ISDN回
線4の1本のBチャネルの転送速度(スピード)を64
000bpsとし、ファイル転送に使用する通信チャン
ネル(ch)数をN(Nは1〜23)とし、FTPサー
バ7から転送されるファイルの容量をFとしている。
In this calculation formula (1), the transfer rate (speed) of one B channel of the ISDN line 4 is set to 64.
000 bps, the number of communication channels (ch) used for file transfer is N (N is 1 to 23), and the capacity of the file transferred from the FTP server 7 is F.

【0043】次に、ファイル転送時間Tを用いて、次の
計算式(2)によって、通信チャンネル数Nを使用した
場合におけるファイル転送に必要な通信料金Cが求めら
れる。
Next, using the file transfer time T, the communication charge C required for the file transfer when the number N of communication channels is used is obtained by the following calculation formula (2).

【0044】 通信料金C=(T※a)×b×N・・・(2)[0044] Communication charge C = (T * a) × b × N ... (2)

【0045】この計算式(2)においては、通信事業者
の定める課金の単位時間をa(sec)とし、その課金
の単位時間当たりの課金料金をb(円)としている。ま
た、T※aの演算は、Tをaで割り、小数点第1位を繰
り上げた整数を表すものとする。
In this calculation formula (2), the unit time of charging determined by the communication carrier is a (sec), and the charging fee per unit time of the charging is b (yen). In addition, the calculation of T * a represents an integer obtained by dividing T by a and raising the first decimal place.

【0046】また、計算式(2)における通信チャンネ
ル数Nは、例えば図4に示すように、ファイル容量Fと
対応付けて予め設定されている最低チャンネル数が代入
されるものとする。このように、通信チャンネル数Nに
最低チャンネル数が代入されるのは、次の理由による。
As the number N of communication channels in the equation (2), for example, as shown in FIG. 4, the minimum number of channels preset in association with the file capacity F is substituted. The reason why the minimum number of channels is substituted for the number of communication channels N is as follows.

【0047】単純に、通信料金Cが最少の金額となるよ
うな通信チャンネル数Nが、計算式(2)によって求め
られると、その通信チャンネル数Nが、あまりに少ない
数となる場合がある。この場合、通信料金Cは最少の金
額となるが、ファイル転送時間Tが著しく長くなってし
まうおそれがある。ファイル転送時間Tが長くなると、
ユーザの待ち時間も長くなってしまう。従って、通信料
金Cを多少犠牲にしても、ある程度は短縮化されたファ
イル転送時間Tを確保する必要がある。よって、通信チ
ャンネル数Nとして図4に示すような最低チャンネル数
が設定されている。
If the number N of communication channels that minimizes the communication charge C is simply calculated by the equation (2), the number N of communication channels may be too small. In this case, the communication charge C is the minimum amount, but the file transfer time T may be significantly long. If the file transfer time T becomes long,
The waiting time of the user also becomes long. Therefore, even if the communication charge C is sacrificed to some extent, it is necessary to secure the file transfer time T shortened to some extent. Therefore, the minimum number of channels as shown in FIG. 4 is set as the number of communication channels N.

【0048】以上の条件のもと、最適通信ch数算出部
14は、計算式(2)で求められる通信料金Cが最少の
金額となるような通信チャンネル数Nを算出し、その通
信チャンネル数Nを最適通信チャンネル数として決定す
る。尚、最適通信ch数算出部14は、最適通信チャン
ネル数を計算した結果、最少の通信料金Cとなる通信チ
ャンネル数が複数存在した場合は、ファイル転送時間T
を最も短縮するために、最も数の多い通信チャンネル数
を最適通信チャンネル数として決定するものとする。
Under the above conditions, the optimum communication channel number calculation unit 14 calculates the communication channel number N such that the communication charge C obtained by the calculation formula (2) becomes the minimum amount, and the communication channel number is calculated. Determine N as the optimal number of communication channels. The optimum communication channel number calculation unit 14 calculates the optimum communication channel number, and as a result, when there are a plurality of communication channels having the minimum communication charge C, the file transfer time T
In order to shorten the maximum number of communication channels, the number of communication channels with the largest number is determined as the optimum number of communication channels.

【0049】最適通信ch数算出部14は、算出した最
適通信チャンネル数を回線I/F部15に通知する。回
線I/F部15は、最適通信ch数算出部14から最適
通信チャンネル数が通知されると、一旦、接続されてい
る回線を切断する(ステップST12)。これにより、
ISDN回線4の1本のBチャネルの回線は、開放され
る。その後直ちに、回線I/F部15は、最適通信ch
数算出部14から通知された最適通信チャンネル数のB
チャネルを使用して、FTPサーバ7(即ちダイヤルア
ップルータ20)のダイヤル信号を送出することによっ
てダイヤル発信を行う(ステップST13)。
The optimum communication channel number calculation unit 14 notifies the calculated optimum communication channel number to the line I / F unit 15. The line I / F unit 15 disconnects the connected line once the optimum communication channel number is notified from the optimum communication channel number calculation unit 14 (step ST12). This allows
One B channel line of the ISDN line 4 is released. Immediately thereafter, the line I / F unit 15 determines that the optimum communication channel
B of the optimum number of communication channels notified from the number calculation unit 14
Dial transmission is performed by transmitting a dial signal from the FTP server 7 (that is, the dial-up router 20) using the channel (step ST13).

【0050】ダイヤルアップルータ20がダイヤル信号
に対して応答すると(ステップST14)、ダイヤルア
ップルータ10,20間においてISDN回線4(Bチ
ャネル23本のうち)の最適通信チャンネル数のBチャ
ネルの回線が接続される。
When the dial-up router 20 responds to the dial signal (step ST14), the B channel line having the optimum number of communication channels of the ISDN line 4 (of 23 B channels) is established between the dial-up routers 10 and 20. Connected.

【0051】その後、FTPサーバ7は、PC1Aから
のGETコマンドで指定されたファイルを、最適通信チ
ャンネル数のBチャネルの回線を使用してPC1Aに対
して転送する(ステップST15)。PC1Aは、FT
Pサーバ7からのファイル全てが転送され、そのファイ
ルを保存すると、ファイル転送の終了をダイヤルアップ
ルータ10に通知する(ステップST16)。
After that, the FTP server 7 transfers the file designated by the GET command from the PC 1A to the PC 1A using the B channel line having the optimum number of communication channels (step ST15). PC1A is FT
When all the files from the P server 7 are transferred and the files are saved, the dial-up router 10 is notified of the end of the file transfer (step ST16).

【0052】ダイヤルアップルータ10の回線I/F部
15は、PC1Aからファイル転送の終了が通知される
と、ISDN回線4の最適通信チャンネル数のBチャネ
ルの回線全てを切断する(ステップST17)。これに
より、最適通信チャンネル数のBチャネルの回線は、全
て開放される。
The line I / F unit 15 of the dial-up router 10, when notified of the end of the file transfer from the PC 1A, disconnects all the B channels of the optimum number of communication channels of the ISDN line 4 (step ST17). As a result, all the B-channel lines having the optimum number of communication channels are released.

【0053】尚、PC1Aがファイル転送の終了をダイ
ヤルアップルータ10に通知するように構成されていた
が、これに限るものではなく、FTPサーバ7がファイ
ル転送の終了をダイヤルアップルータ20に通知し、ダ
イヤルアップルータ20が回線切断を行うように構成さ
れてもよい。
Although the PC 1A is configured to notify the dial-up router 10 of the end of the file transfer, the present invention is not limited to this, and the FTP server 7 notifies the dial-up router 20 of the end of the file transfer. The dial-up router 20 may be configured to disconnect the line.

【0054】以上のように、この実施の形態1では、プ
ロトコル解析部13が、経路制御部12を通過するFT
Pサーバ7からの応答メッセージをチェックし、その応
答メッセージ内のファイル容量を検出し、最適通信ch
数算出部14が、プロトコル解析部13で検出されたフ
ァイル容量に基づいて、所定の計算式に従って最適通信
チャンネル数を算出し、回線I/F部15が、最適通信
ch数算出部14で算出された最適通信チャンネル数で
ダイヤルアップ回線接続を行って、その最適通信チャン
ネル数の回線を使用してFTPサーバ7からのファイル
転送が行われるように構成されている。従って、ファイ
ル転送が行われる際に、ファイル転送時間Tの短縮化と
ISDN回線4の通信料金Cの低額化を同時に実現する
ことができる。
As described above, in the first embodiment, the protocol analysis unit 13 causes the FT which passes through the route control unit 12.
The response message from the P server 7 is checked, the file capacity in the response message is detected, and the optimum communication channel
The number calculation unit 14 calculates the optimum number of communication channels according to a predetermined calculation formula based on the file capacity detected by the protocol analysis unit 13, and the line I / F unit 15 calculates the optimum communication channel number calculation unit 14. The dial-up line connection is performed with the optimum number of communication channels, and the file transfer from the FTP server 7 is performed using the line with the optimum number of communication channels. Therefore, when the file transfer is performed, the file transfer time T can be shortened and the communication charge C of the ISDN line 4 can be reduced at the same time.

【0055】また、最適通信ch数算出部14は、ファ
イル容量Fに基づき、所定の計算式(1)によってファ
イル転送時間Tを計算し、そのファイル転送時間Tに基
づき、所定の計算式(2)によって導き出される通信料
金Cが最少となるような通信チャンネル数を最適通信チ
ャンネル数として決定するように構成されている。従っ
て、簡易かつ確実に、ユーザにとってファイル転送に最
適な通信チャンネル数を算出することができる。
Further, the optimum communication channel number calculation unit 14 calculates the file transfer time T by the predetermined calculation formula (1) based on the file capacity F, and based on the file transfer time T, the predetermined calculation formula (2 ), The number of communication channels that minimizes the communication charge C is determined as the optimum number of communication channels. Therefore, it is possible to simply and reliably calculate the optimum number of communication channels for file transfer for the user.

【0056】また、最適通信チャンネル数として算出さ
れる通信チャンネル数には、最低チャンネル数を予め設
定しておくことにより、最低限短縮化されたファイル転
送時間Tを確保することができるとともに、通信料金C
の低額化も実現することができる。
By setting a minimum number of channels in advance as the number of communication channels calculated as the optimum number of communication channels, it is possible to secure a minimum shortened file transfer time T and to communicate. Charge C
It is possible to realize a low price.

【0057】実施の形態2.上記実施の形態1では、F
TPサーバ7からのファイルのダウンロード時における
通信チャンネル数の制御を行うものであったが、これに
限るものではなく、FTPサーバ7からのファイルのア
ップロード時における通信チャンネル数の制御を行うも
のであっても構わない。この場合でもあっても、ファイ
ル転送が行われる際におけるファイル転送時間の短縮化
とISDN回線4の通信料金の低額化を同時に実現する
ことができる。
Embodiment 2. In the first embodiment, F
Although the number of communication channels is controlled when the file is downloaded from the TP server 7, the number of communication channels is not limited to this, and the number of communication channels is controlled when the file is uploaded from the FTP server 7. It doesn't matter. Even in this case, it is possible to simultaneously shorten the file transfer time when the file is transferred and reduce the communication charge of the ISDN line 4.

【0058】また、プロトコル解析部13がFTPサー
バ7から転送される応答メッセージのパケットデータか
らファイルの容量を検出していたが、何らかの手段によ
り事前にファイルの容量を得る(知る)ことができる場
合には、通信チャンネル数の制御を行うことができる。
この場合も、ファイル転送が行われる際におけるファイ
ル転送時間の短縮化とISDN回線4の通信料金の低額
化を同時に実現することができる。
Further, when the protocol analysis unit 13 detects the file size from the packet data of the response message transferred from the FTP server 7, the file size can be obtained (known) in advance by some means. It is possible to control the number of communication channels.
Also in this case, it is possible to realize the reduction of the file transfer time when the file is transferred and the reduction of the communication charge of the ISDN line 4 at the same time.

【0059】[0059]

【発明の効果】以上のように、本発明では、LAN及び
多チャンネルからなる被課金回線と接続されたダイヤル
アップルータによって、LAN側の端末からのサーバに
対するファイル転送要求のパケットデータを受けると、
サーバに対する被課金回線の回線接続処理を行うととも
に、ファイル転送要求のパケットデータをサーバに送信
してアクセスするサーバアクセス処理と、サーバからフ
ァイルが転送される前に通知されるファイルの容量を検
出するファイル容量検出処理と、ファイル容量検出処理
で検出されたファイルの容量に基づいて、所定の計算式
に従って最適通信チャンネル数を算出する最適通信チャ
ンネル数算出処理と、サーバに対する被課金回線の最適
通信チャンネル数の回線接続処理を行うとともに、最適
通信チャンネル数の回線によってサーバから転送される
ファイルを端末に送るファイル転送処理とを備えた。従
って、ファイル転送が行われる際に、ファイル転送時間
の短縮化と被課金回線の通信料金の低額化を同時に実現
することができる。
As described above, according to the present invention, when a dial-up router connected to a charged line consisting of a LAN and multiple channels receives packet data of a file transfer request from a terminal on the LAN side to a server,
Performs line connection processing of the billed line to the server, detects server access processing that sends packet transfer request packet data to the server for access, and detects the file size notified before the file is transferred from the server File capacity detection processing, optimum communication channel number calculation processing that calculates the optimum communication channel number according to a predetermined calculation formula based on the file capacity detected by the file capacity detection processing, and optimum communication channel of the billed line to the server In addition to performing a number of line connection processes, a file transfer process of sending files transferred from the server by the line having the optimum number of communication channels to the terminal is provided. Therefore, at the time of file transfer, it is possible to realize the reduction of the file transfer time and the reduction of the communication charge of the chargeable line at the same time.

【0060】また、本発明では、LAN及び多チャンネ
ルからなる被課金回線と接続されたダイヤルアップルー
タによって、LAN側の端末からのFTPサーバに対す
るファイル転送要求のパケットデータを受けると、FT
Pサーバに対する被課金回線の回線接続処理を行うとと
もに、ファイル転送要求のパケットデータをFTPサー
バに送信してアクセスするサーバアクセス処理と、FT
Pサーバからファイルが転送される前に通知される応答
メッセージのプロトコルを解析し、応答メッセージ内の
ファイルの容量を検出するファイル容量検出処理と、フ
ァイル容量検出ステップで検出されたファイルの容量に
基づいて、所定の計算式に従って最適通信チャンネル数
を算出する最適通信チャンネル数算出ステップと、サー
バに対する被課金回線の最適通信チャンネル数の回線接
続処理を行うとともに、最適通信チャンネル数の回線に
よってFTPサーバから転送されるファイルを端末に送
るファイル転送処理とを備えた。従って、上記の効果に
加えて、FTPサーバから通知される応答メッセージに
はファイルの容量が記載されているので、その記載から
確実にファイル容量を検出することができる。
Further, according to the present invention, when the dial-up router connected to the chargeable line composed of the LAN and the multi-channel receives the packet data of the file transfer request to the FTP server from the terminal on the LAN side, the FT is performed.
Server access processing for performing line connection processing of the charged line to the P server, transmitting packet data of the file transfer request to the FTP server for access, and FT
Based on the file size detection processing that analyzes the protocol of the response message notified before the file is transferred from the P server and detects the file size in the response message, and the file size detected in the file size detection step. Then, the optimum communication channel number calculation step of calculating the optimum communication channel number according to a predetermined calculation formula, and the line connection processing of the optimum communication channel number of the billed line to the server are performed, And a file transfer process for sending the transferred file to the terminal. Therefore, in addition to the above effects, since the file size is described in the response message notified from the FTP server, the file size can be reliably detected from the description.

【0061】また、本発明では、最適通信チャンネル数
算出ステップにおいて、ファイルの容量に基づき、第1
の計算式によってファイル転送時間を計算し、そのファ
イル転送時間に基づき、第2の計算式によって導き出さ
れる通信料金が最少となるような通信チャンネル数を最
適通信チャンネル数として決定するようにしたので、簡
易かつ確実に、ユーザにとってファイル転送に最適な通
信チャンネル数を算出することができる。
Further, according to the present invention, in the optimum communication channel number calculating step, the first communication channel number is calculated based on the file size.
Since the file transfer time is calculated by the formula, and the number of communication channels that minimizes the communication charge derived by the second formula is determined as the optimum number of communication channels based on the file transfer time. It is possible to easily and reliably calculate the optimum number of communication channels for file transfer for the user.

【0062】また、本発明では、最適通信チャンネル数
算出ステップによって算出される最適通信チャンネル数
には、ファイルの容量に応じて最低限のチャンネル数が
予め設定されているようにしたので、最低限短縮化され
たファイル転送時間を確保することができるとともに、
通信料金の低額化も実現することができる。
Further, according to the present invention, the optimum number of communication channels calculated in the optimum communication channel number calculating step is set to the minimum number of channels in advance according to the file size, so that the minimum number of channels is set in advance. Along with being able to secure a shortened file transfer time,
It is also possible to reduce the communication charge.

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

【図1】 本発明のダイヤルアップルータの構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a dial-up router of the present invention.

【図2】 ファイル転送システムにおけるファイル転送
動作を説明するためのシーケンス図である。
FIG. 2 is a sequence diagram for explaining a file transfer operation in the file transfer system.

【図3】 FTP制御コネクションを利用した制御コマ
ンドと応答メッセージの一例を示す図である。
FIG. 3 is a diagram showing an example of a control command and a response message using an FTP control connection.

【図4】 ファイル容量と通信チャンネル数との関係を
示す図である。
FIG. 4 is a diagram showing a relationship between a file capacity and the number of communication channels.

【図5】 ダイヤルアップルータを用いたファイル転送
システムの構成を示すシステム構成図である。
FIG. 5 is a system configuration diagram showing a configuration of a file transfer system using a dial-up router.

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

1A,1B PC(端末) 4 ISDN回線(被課金回線) 7 FTPサーバ(サーバ) 10 ダイヤルアップルータ 11 LANI/F部(LANインターフェース部) 12 経路制御部 13 プロトコル解析部(ファイル容量検出部) 14 最適通信ch数算出部(最適通信チャンネル数算
出部) 15 回線I/F部(回線インターフェース部)
1A, 1B PC (terminal) 4 ISDN line (charged line) 7 FTP server (server) 10 Dial-up router 11 LAN I / F unit (LAN interface unit) 12 Route control unit 13 Protocol analysis unit (file capacity detection unit) 14 Optimal communication channel number calculation unit (optimal communication channel number calculation unit) 15 Line I / F unit (line interface unit)

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 LAN及び多チャンネルからなる被課金
回線と接続されたダイヤルアップルータによって、前記
LAN側の端末からのサーバに対するファイル転送要求
のパケットデータを受けると、前記サーバに対する前記
被課金回線の回線接続処理を行うとともに、前記ファイ
ル転送要求のパケットデータを前記サーバに送信してア
クセスするサーバアクセスステップと、 前記ダイヤルアップルータによって、前記サーバからフ
ァイルが転送される前に通知される前記ファイルの容量
を検出するファイル容量検出ステップと、 前記ダイヤルアップルータによって、前記ファイル容量
検出ステップで検出された前記ファイルの容量に基づい
て、所定の計算式に従って最適通信チャンネル数を算出
する最適通信チャンネル数算出ステップと前記ダイヤル
アップルータによって、前記サーバに対する前記被課金
回線の前記最適通信チャンネル数の回線接続処理を行う
とともに、前記最適通信チャンネル数の回線によって前
記サーバから転送される前記ファイルを前記端末に送る
ファイル転送ステップとを備えたことを特徴とする通信
チャンネル数制御方法。
1. When a dial-up router connected to a charged line composed of a LAN and multiple channels receives packet data of a file transfer request from the terminal on the LAN side to the server, the charged line to the server is connected. A server access step of performing line connection processing and transmitting the packet data of the file transfer request to the server for access, and the file of the file notified before the file is transferred from the server by the dial-up router. A file capacity detecting step of detecting a capacity; and an optimum communication channel number calculation for calculating an optimum communication channel number according to a predetermined calculation formula based on the file capacity detected by the dial-up router in the file capacity detecting step. Step and above A file transfer step of performing line connection processing of the optimum number of communication channels of the billed line to the server by the earl up router and sending the file transferred from the server to the terminal by the line of the optimum communication channel number. And a method for controlling the number of communication channels.
【請求項2】 LAN及び多チャンネルからなる被課金
回線と接続されたダイヤルアップルータによって、前記
LAN側の端末からのFTPサーバに対するファイル転
送要求のパケットデータを受けると、前記FTPサーバ
に対する前記被課金回線の回線接続処理を行うととも
に、前記ファイル転送要求のパケットデータを前記FT
Pサーバに送信してアクセスするサーバアクセスステッ
プと、 前記ダイヤルアップルータによって、前記FTPサーバ
からファイルが転送される前に通知される応答メッセー
ジのプロトコルを解析し、前記応答メッセージ内の前記
ファイルの容量を検出するファイル容量検出ステップ
と、 前記ダイヤルアップルータによって、前記ファイル容量
検出ステップで検出された前記ファイルの容量に基づい
て、所定の計算式に従って最適通信チャンネル数を算出
する最適通信チャンネル数算出ステップと前記ダイヤル
アップルータによって、前記サーバに対する前記被課金
回線の前記最適通信チャンネル数の回線接続処理を行う
とともに、前記最適通信チャンネル数の回線によって前
記FTPサーバから転送される前記ファイルを前記端末
に送るファイル転送ステップとを備えたことを特徴とす
る通信チャンネル数制御方法。
2. When a dial-up router connected to a charged line composed of a LAN and multiple channels receives packet data of a file transfer request from the terminal on the LAN side to the FTP server, the charged charge is applied to the FTP server. The line connection processing of the line is performed and the packet data of the file transfer request is transmitted to the FT.
A server access step of transmitting to a P server for access, analyzing a protocol of a response message notified by the dial-up router before the file is transferred from the FTP server, and determining a capacity of the file in the response message. And a file capacity detecting step for detecting an optimum communication channel number according to a predetermined formula based on the file capacity detected by the dial-up router in the file capacity detecting step. And the dial-up router performs line connection processing of the optimum communication channel number of the billed line to the server and sends the file transferred from the FTP server to the terminal by the line of the optimum communication channel number. Number of communication channel control method is characterized in that a Airu transfer step.
【請求項3】 最適通信チャンネル数算出ステップにお
いて、ファイルの容量に基づき、第1の計算式によって
ファイル転送時間を計算し、そのファイル転送時間に基
づき、第2の計算式によって導き出される通信料金が最
少となるような通信チャンネル数を最適通信チャンネル
数として決定することを特徴とする請求項1又は請求項
2記載の通信チャンネル数制御方法。
3. In the optimum communication channel number calculating step, the file transfer time is calculated by the first calculation formula based on the file capacity, and the communication charge derived by the second calculation formula is calculated based on the file transfer time. The communication channel number control method according to claim 1 or 2, wherein the number of communication channels that minimizes is determined as the optimum number of communication channels.
【請求項4】 最適通信チャンネル数算出ステップによ
って算出される最適通信チャンネル数には、ファイルの
容量に応じて最低限のチャンネル数が予め設定されてい
ることを特徴とする請求項1から請求項3のうちのいず
れか1項記載の通信チャンネル数制御方法。
4. The optimum number of communication channels calculated in the optimum communication channel number calculating step is set to a minimum number of channels in advance according to the file capacity. 4. The method for controlling the number of communication channels according to any one of 3.
【請求項5】 LANを接続するLANインターフェー
ス部と、 多チャンネルからなる被課金回線を接続し、前記LAN
側の端末からのサーバに対するファイル転送要求のパケ
ットデータの送信時に、前記サーバに対する前記被課金
回線の回線接続処理を行うとともに、前記ファイル転送
要求のパケットデータを前記サーバに送信してアクセス
し、また、前記サーバからのファイルの転送時に、前記
サーバに対する前記被課金回線の最適通信チャンネル数
の回線接続処理を行う回線インターフェース部と、 前記LANインターフェース部と前記回線インターフェ
ース部の間に設けられ、予め設定された情報に基づい
て、前記LAN側及び前記被課金回線側から送られてき
たパケットデータのIPアドレスをチェックして経路選
択を行う経路制御部と、 前記経路制御部を通過するパケットデータをモニタし、
前記サーバからファイルが転送される前に通知される前
記ファイルの容量を検出するファイル容量検出部と、 前記ファイル容量検出部で検出された前記ファイルの容
量に基づいて、所定の計算式に従って前記最適通信チャ
ンネル数を算出する最適通信チャンネル数算出部とを備
えたことを特徴とするダイヤルアップルータ。
5. A LAN interface unit for connecting a LAN, and a chargeable line comprising multiple channels are connected to form the LAN.
When transmitting the packet data of the file transfer request from the terminal on the side to the server, the connection process of the chargeable line to the server is performed, and the packet data of the file transfer request is transmitted to the server for access. A line interface unit that performs line connection processing for the optimum number of communication channels of the billed line to the server when a file is transferred from the server; and a line interface unit that is provided between the LAN interface unit and the line interface unit and set in advance. A route control unit that checks the IP address of the packet data sent from the LAN side and the billed line side to select a route based on the obtained information, and monitors the packet data that passes through the route control unit. Then
A file capacity detection unit that detects the capacity of the file that is notified before the file is transferred from the server, and the optimum capacity according to a predetermined calculation formula based on the capacity of the file that is detected by the file capacity detection unit. A dial-up router comprising: an optimum communication channel number calculation unit that calculates the number of communication channels.
【請求項6】 LANを接続するLANインターフェー
ス部と、 多チャンネルからなる被課金回線を接続し、前記LAN
側の端末からのFTPサーバに対するファイル転送要求
のパケットデータの送信時に、前記FTPサーバに対す
る前記被課金回線の回線接続処理を行うとともに、前記
ファイル転送要求のパケットデータを前記FTPサーバ
に送信してアクセスし、また、前記FTPサーバからの
ファイルの転送時に、前記FTPサーバに対する前記被
課金回線の最適通信チャンネル数の回線接続処理を行う
回線インターフェース部と、 前記LANインターフェース部と前記回線インターフェ
ース部の間に設けられ、予め設定された情報に基づい
て、前記LAN側及び前記被課金回線側から送られてき
たパケットデータのIPアドレスをチェックして経路選
択を行う経路制御部と、 前記経路制御部を通過するパケットデータをモニタし、
前記FTPサーバからファイルが転送される前に通知さ
れる応答メッセージのプロトコルを解析し、前記応答メ
ッセージ内の前記ファイルの容量を検出するプロトコル
解析部と、 前記プロトコル解析部で検出された前記ファイルの容量
に基づいて、所定の計算式に従って前記最適通信チャン
ネル数を算出する最適通信チャンネル数算出部とを備え
たことを特徴とするダイヤルアップルータ。
6. A LAN interface unit for connecting a LAN, and a chargeable line comprising multiple channels are connected to said LAN.
When transmitting the packet data of the file transfer request from the terminal on the side to the FTP server, the line connection processing of the charged line to the FTP server is performed, and the packet data of the file transfer request is transmitted to the FTP server for access. Between the LAN interface unit and the line interface unit, which performs line connection processing for the optimum number of communication channels of the billed line to the FTP server when transferring a file from the FTP server. A route control unit provided to check the IP address of the packet data sent from the LAN side and the charged line side based on preset information and to select a route; and to pass the route control unit. Monitor the packet data to
A protocol analysis unit that analyzes the protocol of the response message notified before the file is transferred from the FTP server, and detects the capacity of the file in the response message; and a file of the file detected by the protocol analysis unit. A dial-up router comprising: an optimum communication channel number calculation unit that calculates the optimum communication channel number based on a capacity according to a predetermined calculation formula.
【請求項7】 最適通信チャンネル数算出部において、
ファイルの容量に基づき、第1の計算式によってファイ
ル転送時間を計算し、そのファイル転送時間に基づき、
第2の計算式によって導き出される通信料金が最少とな
るような通信チャンネル数を最適通信チャンネル数とし
て決定することを特徴とする請求項5又は請求項6記載
のダイヤルアップルータ。
7. The optimum communication channel number calculation unit,
Calculate the file transfer time by the first formula based on the file capacity, and based on the file transfer time,
7. The dial-up router according to claim 5 or 6, wherein the number of communication channels that minimizes the communication charge derived by the second calculation formula is determined as the optimum number of communication channels.
【請求項8】 最適通信チャンネル数算出部によって算
出される最適通信チャンネル数には、ファイルの容量に
応じて最低限のチャンネル数が予め設定されていること
を特徴とする請求項5から請求項7のうちのいずれか1
項記載のダイヤルアップルータ。
8. The minimum number of channels is preset as the optimum number of communication channels calculated by the optimum number of communication channels calculation unit according to the capacity of the file. Any one of seven
Dial-up router described in section.
JP2001295020A 2001-09-26 2001-09-26 Method for controlling number of communication channels and dial-up router Pending JP2003110738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001295020A JP2003110738A (en) 2001-09-26 2001-09-26 Method for controlling number of communication channels and dial-up router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001295020A JP2003110738A (en) 2001-09-26 2001-09-26 Method for controlling number of communication channels and dial-up router

Publications (1)

Publication Number Publication Date
JP2003110738A true JP2003110738A (en) 2003-04-11

Family

ID=19116523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001295020A Pending JP2003110738A (en) 2001-09-26 2001-09-26 Method for controlling number of communication channels and dial-up router

Country Status (1)

Country Link
JP (1) JP2003110738A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015511415A (en) * 2011-12-26 2015-04-16 ▲ホア▼▲ウェイ▼技術有限公司 Method, device and system for monitoring quality of internet access service of mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015511415A (en) * 2011-12-26 2015-04-16 ▲ホア▼▲ウェイ▼技術有限公司 Method, device and system for monitoring quality of internet access service of mobile terminal
US9398475B2 (en) 2011-12-26 2016-07-19 Huawei Technologies Co., Ltd. Method, device, and system for monitoring quality of internet access service of mobile terminal

Similar Documents

Publication Publication Date Title
CA2207456C (en) Improved client-server architecture using internet and guaranteed quality of service networks for accessing distributed media sources
US5995606A (en) Client-server architecture using internet and public switched networks
JP4212230B2 (en) Media communication system and terminal device in the system
US6574239B1 (en) Virtual connection of a remote unit to a server
US8103798B2 (en) Gateway for connecting networks of different types and system for charging fees for communication between networks of different types
JP2004040824A (en) Subscriber device for mobile communication and its method of communicating with wireless variable bandwidth airlink system
JP2002208968A (en) Data network
JP5350650B2 (en) COMMUNICATION CONTROL METHOD, GATEWAY DEVICE, RELAY SERVER, COMMUNICATION SYSTEM, AND DEVICE PROGRAM
US20040001512A1 (en) Method and apparatus for peer to peer bandwidth sharing
US5787363A (en) System and method for connect message synchronization of modems in a cellular data gateway
EP1172977A1 (en) A method and a system for data exchange over a data network such as the public internet
SE515264C2 (en) Method to connect data services for GSM
JP2003110738A (en) Method for controlling number of communication channels and dial-up router
JP2005269434A (en) Voip voice communication system
US7292584B1 (en) Effective multilink flow handling
US7212544B2 (en) Method of and apparatus for transmitting data at a time-variable data rate
US20010000301A1 (en) Device and system for providing access to the internet
JP3634316B2 (en) Node and optical path network and program and recording medium
JP2002502572A (en) Method of switching data traffic in a data communication system
JP2002502573A (en) Method of switching data traffic in a data communication system
JP3587174B2 (en) Dial-up connection system, dial-up connection method and program
JP2003229912A (en) Access line band control gateway device, access line band control router device and access line band control system
JP2000163376A (en) Computer network communication certificate and history recording device
WO2005107183A1 (en) Packet communication system
JPS58181352A (en) Data communication system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050422

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050524

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050623

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050623

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070124