JP2002118602A - Communication control method for dial-up router - Google Patents

Communication control method for dial-up router

Info

Publication number
JP2002118602A
JP2002118602A JP2000307298A JP2000307298A JP2002118602A JP 2002118602 A JP2002118602 A JP 2002118602A JP 2000307298 A JP2000307298 A JP 2000307298A JP 2000307298 A JP2000307298 A JP 2000307298A JP 2002118602 A JP2002118602 A JP 2002118602A
Authority
JP
Japan
Prior art keywords
dial
router
communication
software
control method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000307298A
Other languages
Japanese (ja)
Other versions
JP3650019B2 (en
Inventor
Yuji Shinozaki
雄二 篠崎
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.)
TDK Corp
Original Assignee
TDK Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TDK Corp filed Critical TDK Corp
Priority to JP2000307298A priority Critical patent/JP3650019B2/en
Publication of JP2002118602A publication Critical patent/JP2002118602A/en
Application granted granted Critical
Publication of JP3650019B2 publication Critical patent/JP3650019B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce meaningless dialing up for appropriate accounting of telephone charges, concerning the communication control method for a dial-up router which connects its own system to a telephone circuit every time when a communication to an external network is requested. SOLUTION: When a start-up software corresponds to a registered software (steps S1 and S2), a value of a dial-up waiting counter 33 is added with plus one (steps S4 and S5). If the counter value of the dial-up waiting counter 33 is not zero, a router is set to be ready for dial-up communication (step 6), and when an IP packet is inputted, the router starts dialing up for connection. If the counter value is zero, the router interrupts dial-up connection and terminates the communication.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、外部ネットワーク
との通信要求が発生する度に電話回線に接続して、IP
パケット転送の中継処理を行うダイヤルアップルータの
通信制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of connecting to a telephone line every time a communication request with an external network is generated,
The present invention relates to a communication control method of a dial-up router that performs a packet transfer relay process.

【0002】[0002]

【従来の技術】通信ネットワークを構築するには、例え
ばTCP/IP(通信プロトコルの一種)による通信処
理機能を有するルータが必須である。ルータは、あるネ
ットワークから別のネットワークへIPパケット(デー
タ)を転送する際の中継処理を行う。あるLAN(ロー
カルエリアネットワーク)内のホスト(例えば、パーソ
ナルコンピュータ)から送り出されたIPパケットはル
ータ内の所定のLANポートに入力する。IPパケット
は、大別してIPヘッダとIPデータとから構成され
る。IPヘッダには種々の情報と共に宛先IPアドレス
が格納されており、IPデータにはデータが格納されて
いる。ルータは、入力されたIPパケットのIPヘッダ
に格納された宛先IPアドレスを読み出し、ルータに備
えられているルーティングテーブルを参照して当該宛先
IPアドレスに対応する出力ポートを見つけ出し、当該
出力ポートから当該IPパケットを送出する。
2. Description of the Related Art To construct a communication network, a router having a communication processing function based on, for example, TCP / IP (a type of communication protocol) is essential. The router performs a relay process when transferring an IP packet (data) from one network to another network. An IP packet sent from a host (for example, a personal computer) in a certain LAN (local area network) is input to a predetermined LAN port in the router. An IP packet is roughly composed of an IP header and IP data. The IP header stores a destination IP address together with various information, and the IP data stores data. The router reads the destination IP address stored in the IP header of the input IP packet, finds an output port corresponding to the destination IP address with reference to a routing table provided in the router, and finds the output port corresponding to the destination IP address. Send an IP packet.

【0003】近年、家庭や小規模オフィスでもLANの
普及に伴いルータが用いられるようになってきている。
このような小規模のLAN環境では、LANポートとI
SDNポートとを有し、ISDN回線を用いてインター
ネット等の外部の通信ネットワークと接続するISDN
ルータ(ダイヤルアップルータ)が用いられる。
In recent years, routers have been used in homes and small offices with the spread of LANs.
In such a small LAN environment, LAN ports and I
An ISDN having an SDN port and connecting to an external communication network such as the Internet using an ISDN line
A router (dial-up router) is used.

【0004】小規模ネットワークで使用されるダイヤル
アップルータのルーティングテーブルには、宛先が社内
LANの場合はLANポートへ、それ以外は全てISD
NポートへIPパケットを送出するように設定してある
場合が多い。これにより、IPパケットの宛先が社内L
AN以外は全てダイヤルアップ(電話をかける)してI
SDNポートにIPパケットを出力し、インターネット
上のISP(インターネットサービスプロバイダ)のル
ータに当該パケットの転送を依頼するようにしている。
In a routing table of a dial-up router used in a small-scale network, if a destination is an in-house LAN, the destination is a LAN port, and all other destinations are ISDs.
In many cases, an IP packet is set to be transmitted to the N port. As a result, the destination of the IP packet is
Dial up (make a call) everything except AN
An IP packet is output to the SDN port, and a router of an ISP (Internet service provider) on the Internet is requested to transfer the packet.

【0005】[0005]

【発明が解決しようとする課題】ところで、LAN上に
はアプリケーションソフトウエア以外のソフトウエアか
ら制御用IPパケットが定期的に送出されたり、メモリ
常駐型アプリケーションソフトウエアから定期的にIP
パケットが送出されたりする。これらのIPパケットは
社内LAN以外の宛先を有しているため、ダイヤルアッ
プルータは、ダイヤルアップしてインターネット上のI
SPに接続してしまう。これらのISDN回線接続は、
ネットワーク利用者が意図しない場合には無意味であ
り、この無意味なダイヤルアップによりプロバイダへの
接続料金や電話料金がかさんでしまう。
On the LAN, control IP packets are periodically transmitted from software other than the application software, or IP packets are periodically transmitted from the memory-resident application software.
Packets are sent out. Since these IP packets have destinations other than the corporate LAN, the dial-up router dials up
Connect to SP. These ISDN line connections are:
It is meaningless if the network user does not intend, and this meaningless dial-up increases the connection fee and telephone charge to the provider.

【0006】例えば、PCの代表的OS(オペレーティ
ングシステム)であるWindows95/98(マイ
クロソフト社の商標)の場合、ネットワーク共有サービ
スを実現するため、「NetBIOS(ネットワーク制
御用のソフトウエア・インターフェース) over
TCP/IPプロトコル(以下、NBTと略称する)」
により、DNSサーバ宛てのIPパケットを定期的に送
出している。家庭や小規模オフィスでは社内LAN上に
DNSサーバを備えていないのが通常である。このた
め、NBTのDNS要求に対してダイヤルアップルータ
は、ISDNポートを介してインターネット上のISP
に設置されているDNSサーバにDNS要求のIPパケ
ットを送出するためにISDN電話回線を接続してしま
う。
For example, in the case of Windows 95/98 (a trademark of Microsoft Corporation) which is a typical OS (operating system) of a PC, in order to realize a network sharing service, "NetBIOS (software interface for network control) over"
TCP / IP protocol (hereinafter abbreviated as NBT) "
Thus, an IP packet addressed to the DNS server is periodically transmitted. A home or small office usually does not have a DNS server on an in-house LAN. For this reason, the dial-up router responds to the NBT DNS request through the ISDN port to the ISP on the Internet.
Is connected to an ISDN telephone line in order to send a DNS request IP packet to a DNS server installed in the Internet.

【0007】このように現状のOS及びアプリケーショ
ンソフトでは、ネットワーク使用者が意図しないにもか
かわらずISDN回線に接続されてIPパケットの送出
が行われてしまう事態が発生する。この事態を防止する
には、手動でダイヤルアップを行うことが考えられる
が、これでは自動的にIPパケットを転送してくれる中
継装置としてのダイヤルアップルータの利便性は失われ
てしまう。
[0007] As described above, in the current OS and application software, a situation occurs in which an IP packet is transmitted by being connected to an ISDN line even though the network user does not intend. In order to prevent this situation, it is conceivable to perform dial-up manually, but in this case, the convenience of the dial-up router as a relay device that automatically transfers IP packets is lost.

【0008】また、ダイヤルアップルータに備えられて
いるIPフィルタリング機能を使って、NBTによるD
NS要求がISDN回線側に流れないように所定のポー
トをフィルタリングするか、所定の手順によりWind
ows95/98の設定を変更することにより上記事態
の発生を防止することは可能である。
[0008] In addition, using the IP filtering function provided in the dial-up router, the DBT by NBT is used.
Filter a predetermined port so that NS requests do not flow to the ISDN line side, or perform Wind
By changing the setting of ows 95/98, it is possible to prevent the above situation from occurring.

【0009】ところが、これらの設定はTCP/IP等
に対する専門知識が必要であり容易に誰もが設定できる
ものではない。このため、専任のネットワーク管理者が
いない家庭や小規模オフィスでは、ダイヤルアップルー
タからの無意味なダイヤルアップを止めることができ
ず、プロバイダへの接続料金や電話料金が不当にかさん
でしまうという問題が生じている。
However, these settings require specialized knowledge of TCP / IP and the like, and cannot be easily set by anyone. For this reason, in homes and small offices where there is no dedicated network administrator, it is impossible to stop meaningless dial-up from a dial-up router, and connection charges and telephone charges to providers are unduly increased. There is a problem.

【0010】本発明の目的は、無意味なダイヤルアップ
を低減させて接続料金や電話料金に適切な課金がなされ
るダイヤルアップルータの通信制御方法を提供すること
にある。
An object of the present invention is to provide a communication control method of a dial-up router in which a meaningless dial-up is reduced and a connection charge or a telephone charge is appropriately charged.

【0011】[0011]

【課題を解決するための手段】上記目的は、外部ネット
ワアークとの通信要求が発生する度に電話回線に接続し
て、IPパケット転送の中継処理を行うダイヤルアップ
ルータの通信制御方法であって、前記通信要求を発生す
るアプリケーションソフトウエアの全てが起動していな
い期間は、ダイヤルアップ接続を行わないことを特徴と
するダイヤルアップルータの通信制御方法によって達成
される。
SUMMARY OF THE INVENTION The object of the present invention is to provide a communication control method for a dial-up router which connects to a telephone line every time a communication request with an external network is generated and performs a relay process of IP packet transfer. The communication control method for a dial-up router is characterized in that a dial-up connection is not performed during a period in which all of the application software that generates the communication request is not running.

【0012】上記本発明のダイヤルアップルータの通信
制御方法であって、前記アプリケーションソフトウエア
から所望のアプリケーションソフトウエアを選択し、前
記所望のアプリケーションソフトウエアの少なくとも1
つが起動している期間のみダイヤルアップ接続すること
を特徴とする。
[0012] In the communication control method for a dial-up router according to the present invention, desired application software is selected from the application software, and at least one of the desired application software is selected.
It is characterized in that dial-up connection is made only during the period when one is running.

【0013】上記本発明のダイヤルアップルータの通信
制御方法であって、選択された前記所望のアプリケーシ
ョンソフトウエアは、ウエブブラウザ又は電子メール送
受信ソフトウエアを含んでいることを特徴とする。
[0013] In the communication control method for a dial-up router according to the present invention, the selected desired application software includes a web browser or electronic mail transmission / reception software.

【0014】上記本発明のダイヤルアップルータの通信
制御方法であって、同時に起動している前記アプリケー
ションソフトウエアの起動数をカウントし、前記起動数
が0の場合、ダイヤルアップ接続を行わないことを特徴
とする。
In the communication control method for a dial-up router according to the present invention, the number of activated software programs started simultaneously is counted, and if the number of activated software is 0, dial-up connection is not performed. Features.

【0015】本発明のダイヤルアップルータの通信制御
方法において、例えば、ダイヤルアップ接続を許可する
アプリケーションソフトウエアを選択して予め登録する
データフォルダを備えるようにしてもよい。そして、デ
ータフォルダ内のソフトウエアが起動し、あるいは終了
する度に、ダイヤルアップ接続を許可するアプリケーシ
ョンソフトウエアが存在するか否かを判断するようにし
てもよい。この判断は、判断時点におけるダイヤルアッ
プ接続を許可するアプリケーションソフトウエアの起動
数を数えてもよいし、複数の登録アプリケーションソフ
トを起動した場合は、最初に登録アプリケーションソフ
トウエアが起動した時点と最後に登録アプリケーション
ソフトウエアが終了する時点を判断するようにしてもよ
い。
In the communication control method of the dial-up router according to the present invention, for example, a data folder for selecting and registering in advance application software for which dial-up connection is permitted may be provided. Then, each time the software in the data folder is activated or terminated, it may be determined whether or not there is application software that permits the dial-up connection. This determination may be made by counting the number of activated application software that permits the dial-up connection at the time of the determination, or when a plurality of registered application software is activated, the time when the registered application software is activated first and the time when the last. The point in time when the registered application software ends may be determined.

【0016】こうすることにより、ウエブブラウザや電
子メールソフト等の特定のアプリケーションソフトウエ
ア以外のソフトウエアが勝手にダイヤルアップルータに
外部ネットワークとの接続要求をしても、特定アプリケ
ーションソフトウエアが起動していない限りダイヤルア
ップルータが電話回線に接続することはなくなるので、
意図しない課金を防ぐことができるようになる。
In this way, even if software other than the specific application software, such as a web browser and e-mail software, requests the dial-up router to connect to the external network without permission, the specific application software is activated. The dial-up router will not connect to the phone line unless it is
Unintentional charging can be prevented.

【0017】[0017]

【発明の実施の形態】本発明の一実施の形態によるダイ
ヤルアップルータの通信制御方法について図1乃至図3
を用いて説明する。まず、本実施の形態によるダイヤル
アップルータを含むネットワークの概要について図1を
用いて説明する。図1は、TCP/IPプロトコルによ
る通信ネットワークを構築する本実施の形態によるダイ
ヤルアップルータ1を中心とした通信ネットワーク構成
を示している。
1 to 3 show a communication control method of a dial-up router according to an embodiment of the present invention.
This will be described with reference to FIG. First, an outline of a network including a dial-up router according to the present embodiment will be described with reference to FIG. FIG. 1 shows a communication network configuration centered on a dial-up router 1 according to the present embodiment for constructing a communication network based on the TCP / IP protocol.

【0018】ダイヤルアップルータ1は、複数のホスト
(本例では、ホスト10、12)を有するLANを構築
するためのLANポート6と、LAN上のホスト10や
ホスト12をISDN回線14を介してISP16に接
続するISDNポート7とを有している。
The dial-up router 1 includes a LAN port 6 for constructing a LAN having a plurality of hosts (hosts 10 and 12 in this example), and a host 10 and a host 12 on the LAN via an ISDN line 14. And an ISDN port 7 connected to the ISP 16.

【0019】ダイヤルアップルータ1内には、ルータ用
の専用OSや各種アプリケーションソフトウエアを格納
しているフラッシュメモリ3と、OSに基づいて各種内
部回路を制御する制御部2とが設けられている。また、
フラッシュメモリ3内には、ルーティングテーブル4も
保管されている。
In the dial-up router 1, there are provided a flash memory 3 storing a dedicated OS for the router and various application software, and a control unit 2 for controlling various internal circuits based on the OS. . Also,
The routing table 4 is also stored in the flash memory 3.

【0020】ISP16はインターネット18上に配置
されており、ホスト10又は12は、ISP16を介し
てインターネット18上の複数のホスト(本例ではホス
ト20、22)との間で通信することができるようにな
っている。
The ISP 16 is located on the Internet 18 so that the host 10 or 12 can communicate with a plurality of hosts (the hosts 20 and 22 in this example) on the Internet 18 via the ISP 16. It has become.

【0021】LAN上のホスト10、12は、OSとし
てWindows95/98が搭載されたPCである。
いずれも図示は省略しているが、ホスト10、12は、
各種装置を制御する制御部(CPU)と、主として半導
体メモリで構成される主記憶装置と、例えばハードディ
スク記憶装置(HDD)等の補助記憶装置とを有してい
る。またネットワークを構成するためのLANアダプタ
11を内蔵しており、各LANアダプタ11とダイヤル
アップルータ1のLANポート6内のいずれかのポート
とが有線あるいは無線で接続されている。さらに、情報
入力手段としてキーボードやマウスを備え、表示装置と
してCRTモニタやLCD(液晶表示装置)モニタ等を
備えている。
The hosts 10 and 12 on the LAN are PCs having Windows 95/98 installed as an OS.
Although not shown, the hosts 10 and 12
It has a control unit (CPU) for controlling various devices, a main memory mainly composed of a semiconductor memory, and an auxiliary memory such as a hard disk memory (HDD). A LAN adapter 11 for configuring a network is built in, and each LAN adapter 11 is connected to one of the LAN ports 6 of the dial-up router 1 by wire or wirelessly. Further, a keyboard and a mouse are provided as information input means, and a CRT monitor and an LCD (liquid crystal display) monitor are provided as display devices.

【0022】ホスト10、12の不図示のHDD内に
は、種々のアプリケーションソフトウエアと共に、本実
施の形態によるダイヤルアップルータの通信制御方法を
実現するための通信ソフトウエア30が格納されてい
る。また、HDD内には、所定のアプリケーションソフ
トウエアの識別情報(例えば、ファイル名等)を登録し
たファイルが格納されている。このファイルに予め登録
された識別情報は通信ソフトウエア30により利用され
る。
In the HDDs (not shown) of the hosts 10 and 12, communication software 30 for implementing the communication control method of the dial-up router according to the present embodiment is stored together with various application software. In the HDD, a file in which identification information (for example, a file name or the like) of predetermined application software is registered is stored. The identification information registered in this file in advance is used by the communication software 30.

【0023】ダイヤルアップルータ1側のフラッシュメ
モリ3内には、ホスト10、12側の通信ソフトウエア
30と協働して、本実施の形態によるダイヤルアップル
ータの通信制御方法を実現する通信ソフトウエア32が
格納されている。また、フラッシュメモリ3内には、通
信ソフトウエア30に基づきホスト10、12側の制御
部により送信されたカウント値データに基づくカウント
値を格納するダイヤルアップ待機カウンタ33が設けら
れている。通信ソフトウエア32は、ダイヤルアップ待
機カウンタ33のカウンタ値に基づいて、外部ネットワ
ークの例えばインターネット18とのISP16へのI
SDN回線14の接続あるいは切断を決定するようにな
っている。
In the flash memory 3 on the dial-up router 1 side, communication software for realizing the communication control method of the dial-up router according to the present embodiment in cooperation with the communication software 30 on the hosts 10 and 12 side. 32 are stored. In the flash memory 3, there is provided a dial-up standby counter 33 for storing a count value based on the count value data transmitted by the control units of the hosts 10 and 12 based on the communication software 30. The communication software 32, based on the counter value of the dial-up standby counter 33, transmits the I / O to the ISP 16 with the external network, for example, the Internet 18.
The connection or disconnection of the SDN line 14 is determined.

【0024】次に、本実施の形態によるダイヤルアップ
ルータ1の通信制御方法の手順を図2及び図3を用いて
説明する。図2及び図3は本実施の形態によるダイヤル
アップルータ1の通信制御方法の手順を示すフローチャ
ートである。図2右側は通信ソフトウエア30に基づく
ホスト10の制御部(図示せず)の動作手順を示し、左
側は通信ソフトウエア32に基づくダイヤルアップルー
タ1の制御部2の動作手順を示している。
Next, the procedure of the communication control method of the dial-up router 1 according to the present embodiment will be described with reference to FIGS. 2 and 3 are flowcharts showing the procedure of the communication control method of the dial-up router 1 according to the present embodiment. 2 shows the operation procedure of the control unit (not shown) of the host 10 based on the communication software 30, and the left side shows the operation procedure of the control unit 2 of the dial-up router 1 based on the communication software 32.

【0025】通信ソフトウエア30は、ホスト10への
電源投入によるOSの起動と共に起動するメモリ常駐型
アプリケーションソフトウエアとして動作するようにな
っている。通信ソフトウエア30に基づきホスト10の
制御部は、OSの起動後に起動されるアプリケーション
ソフトウエアを監視しており、何らかのアプリケーショ
ンソフトウエアが起動すると(ステップS1)、所定の
ファイルに格納された予登録ソフトウエアの識別情報に
基づき、起動したソフトウエアが予め登録しておいたア
プリケーションソフトウエアに該当するか否かを判断す
る(ステップS2)。起動したソフトウエアが予登録ソ
フトウエアと異なる場合には何ら処理をせず(ステップ
S3)、次に起動するアプリケーションソフトウエアの
監視に戻る。本例では、予登録ソフトウエアはウエブブ
ラウザ及び電子メール送受信ソフトウエアの2つであ
る。
The communication software 30 operates as memory-resident application software that starts up when the OS is started up when the power to the host 10 is turned on. Based on the communication software 30, the control unit of the host 10 monitors application software started after the OS is started, and when any application software is started (step S1), the pre-registration stored in a predetermined file is performed. Based on the software identification information, it is determined whether the activated software corresponds to pre-registered application software (step S2). If the activated software is different from the pre-registered software, no processing is performed (step S3), and the process returns to monitoring the next activated application software. In this example, the pre-registration software is a web browser and electronic mail transmission / reception software.

【0026】ステップS2において、ホスト10の制御
部は、起動したソフトウエアが予登録ソフトウエアに該
当すると判断した場合には、ホスト10のLANアダプ
タ11を介してダイヤルアップルータ1に対し、カウン
タ値を“1”だけ増加させるインクリメントデータを送
信する(ステップS4)。
In step S2, when the control unit of the host 10 determines that the activated software corresponds to the pre-registered software, the control unit sends the counter value to the dial-up router 1 through the LAN adapter 11 of the host 10. Is transmitted by "1" (step S4).

【0027】通信ソフトウエア32に基づきダイヤルア
ップルータ1の制御部2は、ホスト10からインクリメ
ントデータを受け取ると、ダイヤルアップ待機カウンタ
33の値に“+1”を加算する(ステップS5)。次い
で、ダイヤルアップルータ1をダイヤルアップ通信可能
な待機状態にセットする(ステップS6)。
When the control unit 2 of the dial-up router 1 receives the increment data from the host 10 based on the communication software 32, it adds "+1" to the value of the dial-up standby counter 33 (step S5). Next, the dial-up router 1 is set to a standby state in which dial-up communication is possible (step S6).

【0028】この状態において、ホスト10側からIP
パケットが送信されてくると、通信ソフトウエア32に
基づきダイヤルアップルータ1の制御部2は、ダイヤル
アップ待機カウンタ33の値を参照してカウンタ値が0
でないことを確認する。ここでは、ステップS4におい
てインクリメントデータを受け取っているため、カウン
タ値は0にはなっていない。従って、ダイヤルアップル
ータ1の制御部2は、IPパケットのIPヘッダに格納
された宛先IPアドレスを読み出し、フラッシュメモリ
3内のルーティングテーブル4を参照して当該宛先IP
アドレスに対応する出力ポートを見つけ出し、当該出力
ポートから当該IPパケットを送出する。
In this state, the IP address from the host 10 is
When the packet is transmitted, the control unit 2 of the dial-up router 1 refers to the value of the dial-up standby counter 33 and sets the counter value to 0 based on the communication software 32.
Make sure it is not. Here, since the increment data is received in step S4, the counter value is not 0. Therefore, the control unit 2 of the dial-up router 1 reads the destination IP address stored in the IP header of the IP packet, and refers to the routing table 4 in the flash memory 3 to read the destination IP address.
An output port corresponding to the address is found, and the IP packet is transmitted from the output port.

【0029】ステップS8において、IPパケットの宛
先が同一LAN内であれば通信ソフトウエア32に基づ
き制御部2は、当該IPパケットを所定のLANポート
に出力する以外は特に何もせずダイヤルアップ通信待機
状態を維持する(ステップS10)。IPパケットの宛
先が外部ネットワークの場合には、ISDN回線14を
介してインターネット18上のISP16との電話回線
を接続してダイヤルアップ通信を開始する(ステップS
9)。
In step S8, if the destination of the IP packet is in the same LAN, the control unit 2 does not perform any operation other than outputting the IP packet to a predetermined LAN port based on the communication software 32, and waits for dial-up communication. The state is maintained (step S10). If the destination of the IP packet is an external network, dial-up communication is started by connecting a telephone line to the ISP 16 on the Internet 18 via the ISDN line 14 (step S).
9).

【0030】通信ソフトウエア32に基づき制御部2
は、ダイヤルアップルータ1で予め設定した無通信監視
タイマの設定時間内に通信があったか否かをモニタし、
通信があった場合にはダイヤルアップ接続を継続する
(ステップS12)。設定時間内に通信がなかった場合
にはダイヤルアップ接続を切断してからステップS6に
戻り、ダイヤルアップルータ1をダイヤルアップ通信可
能な待機状態にセットする。
The control unit 2 based on the communication software 32
Monitors whether or not there has been communication within the set time of the no-communication monitoring timer preset by the dial-up router 1,
If there is communication, the dial-up connection is continued (step S12). If there is no communication within the set time, the dial-up connection is disconnected, and the process returns to step S6 to set the dial-up router 1 to a standby state in which dial-up communication is possible.

【0031】引き続き図3を用いて本実施の形態による
ダイヤルアップルータ1の通信制御方法について説明す
る。図3右側は通信ソフトウエア30に基づくホスト1
0の制御部の動作手順を示し、左側は通信ソフトウエア
32に基づくダイヤルアップルータ1の制御部2の動作
手順を示している。
Next, a communication control method of the dial-up router 1 according to the present embodiment will be described with reference to FIG. 3 is the host 1 based on the communication software 30.
0 shows the operation procedure of the control unit, and the left side shows the operation procedure of the control unit 2 of the dial-up router 1 based on the communication software 32.

【0032】通信ソフトウエア30は、ホスト10上で
起動していたが所定の役割を果たして終了するアプリケ
ーションソフトウエアを監視しており、起動していたア
プリケーションソフトウエアが終了すると(ステップS
13)、終了したソフトウエアが予め登録しておいたア
プリケーションソフトウエアに該当するか否かを判断す
る(ステップS14)。終了したソフトウエアが予登録
ソフトウエアと異なる場合には何ら処理をせず(ステッ
プS15)、次に終了するアプリケーションソフトウエ
アの監視に戻る。
The communication software 30 monitors the application software which has been activated on the host 10 but has been terminated by playing a predetermined role. When the activated application software terminates (step S).
13) It is determined whether the completed software corresponds to application software registered in advance (step S14). If the terminated software is different from the pre-registered software, no processing is performed (step S15), and the process returns to monitoring of the application software to be terminated next.

【0033】ステップS14において、終了したソフト
ウエアが予登録ソフトウエアに該当するとホスト10の
制御部が判断した場合には、ホスト10のLANアダプ
タ11を介してダイヤルアップルータ1に対し、ダイヤ
ルアップ待機カウンタ33のカウンタ値を“1”だけ減
算させるデクリメントデータを送信する(ステップS1
6)。
In step S14, if the control unit of the host 10 determines that the finished software corresponds to the pre-registered software, the dial-up router 1 via the LAN adapter 11 of the host 10 waits for dial-up. The decrement data for decrementing the counter value of the counter 33 by "1" is transmitted (step S1).
6).

【0034】通信ソフトウエア32に基づきダイヤルア
ップルータ1側の制御部2は、ホスト10からデクリメ
ントデータを受け取ると、ダイヤルアップ待機カウンタ
33の値に“−1”を加算する(ステップS17)。次
いで、ダイヤルアップ待機カウンタ33の値が“0”に
なっているか否かを判断する(ステップS18)。ダイ
ヤルアップ待機カウンタ33の値が“0”でない場合に
は、通信ソフトウエア32に基づき制御部2は特別な処
理動作はせずに現状を維持する(ステップS19)。
Upon receiving the decrement data from the host 10 based on the communication software 32, the control unit 2 of the dial-up router 1 adds "-1" to the value of the dial-up standby counter 33 (step S17). Next, it is determined whether or not the value of the dial-up standby counter 33 is "0" (step S18). If the value of the dial-up standby counter 33 is not "0", the control unit 2 maintains the current state without performing any special processing operation based on the communication software 32 (step S19).

【0035】ダイヤルアップ待機カウンタ33の値が
“0”になっている場合には、現在ダイヤルアップ通信
中か否かを判断し(ステップS20)、ダイヤルアップ
通信中でなければダイヤルアップ通信待機を終了させる
(ステップS22)。ダイヤルアップ通信中の場合に
は、ダイヤルアップ通信が終了するのを待ってダイヤル
アップ通信のためのISDN回線を切断してから(ステ
ップS21)、ダイヤルアップ通信待機を終了させる
(ステップS22)。
If the value of the dial-up standby counter 33 is "0", it is determined whether or not the dial-up communication is currently in progress (step S20). It ends (step S22). If the dial-up communication is being performed, the ISDN line for the dial-up communication is disconnected after the completion of the dial-up communication (step S21), and the standby for the dial-up communication is ended (step S22).

【0036】こうすることにより、上述のようにNBT
等から社内LAN以外の宛先を有する制御用IPパケッ
トが定期的に送出されたり、メモリ常駐型アプリケーシ
ョンソフトウエアから定期的にISDNポートへのIP
パケットの送出が発生したりしても、ダイヤルアップル
ータ1はダイヤルアップ接続を行わないので、無意味な
ダイヤルアップを減らしてプロバイダへの接続料金や電
話料金を低減させることができるようになる。
By doing so, as described above, the NBT
For example, a control IP packet having a destination other than the in-house LAN is sent periodically, or a memory resident application software periodically sends an IP to an ISDN port.
Even if a packet is transmitted, the dial-up router 1 does not make a dial-up connection, so it is possible to reduce unnecessary dial-ups and reduce the connection fee to the provider and the telephone fee.

【0037】本実施の形態によれば、既存のOS及び各
種アプリケーションソフトを用いていても、手動でのダ
イヤルアップ接続や、専門知識が必要なIPフィルタリ
ング機能を使わなくても、ネットワーク使用者の意図し
ないIPパケットがISDN回線を通じて送出されてし
まう事態を防止できる。従って、専任のネットワーク管
理者がいない家庭や小規模オフィスにおいて、容易にダ
イヤルアップルータからの無意味なダイヤルアップを止
めることができ、プロバイダへの接続料金や電話料金が
不当にかさんでしまうことを防止できる。
According to the present embodiment, even if an existing OS and various kinds of application software are used, a manual dial-up connection or an IP filtering function that requires specialized knowledge is not used, and a network user can be used. It is possible to prevent a situation in which an unintended IP packet is transmitted through the ISDN line. Therefore, meaningless dial-up from a dial-up router can easily be stopped in a home or small office where there is no dedicated network administrator, and connection fees and telephone charges to the provider will be unduly increased. Can be prevented.

【0038】なお、予め登録しておいたアプリケーショ
ンソフトウエアが起動している最中においては、NBT
等から社内LAN以外の宛先を有する制御用IPパケッ
トが定期的に送出されたり、メモリ常駐型アプリケーシ
ョンソフトウエアから定期的にISDNポート7へのI
Pパケットの送出が発生したりする事態が生じ得る。し
かしながらこの場合には、ネットワーク利用者は、予登
録アプリケーションソフトウエアの起動によるISDN
回線の接続を容認している期間であるので大きな問題と
はならない。但し、少しでも課金の無駄を省くために
は、予登録アプリケーションソフトウエアによるISD
N回線接続の必要が無くなったら、速やかにそれらソフ
トウエアを終了させることが望ましい。
While the pre-registered application software is running, the NBT
For example, a control IP packet having a destination other than the in-house LAN is sent periodically, or a memory resident application software periodically sends an I / O packet to the ISDN port 7.
A situation in which transmission of a P packet occurs may occur. However, in this case, the network user must use the ISDN
This is not a big problem because it is a period during which line connection is permitted. However, in order to avoid any waste of billing, ISD using pre-registration application software
When it is no longer necessary to connect N lines, it is desirable to terminate those software immediately.

【0039】[0039]

【発明の効果】以上の通り、本発明によれば、無意味な
ダイヤルアップを低減させて接続料金や電話料金を適切
にすることができる。
As described above, according to the present invention, unnecessary dial-ups can be reduced and connection charges and telephone charges can be made appropriate.

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

【図1】本発明の一実施の形態によるTCP/IPプロ
トコルによる通信ネットワークを構築する本実施の形態
によるダイヤルアップルータを中心とした通信ネットワ
ーク構成を示す図である。
FIG. 1 is a diagram showing a communication network configuration centering on a dial-up router according to an embodiment for constructing a communication network based on a TCP / IP protocol according to an embodiment of the present invention.

【図2】本発明の一実施の形態によるダイヤルアップル
ータの通信制御方法の手順を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a procedure of a communication control method of the dial-up router according to one embodiment of the present invention.

【図3】本発明の一実施の形態によるダイヤルアップル
ータの通信制御方法の手順を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a procedure of a communication control method of the dial-up router according to one embodiment of the present invention.

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

1 ダイヤルアップルータ 2 制御部 3 フラッシュメモリ 4 ルーティングテーブル 6 LANポート 7 ISDNポート 10、12、20、22 ホスト 14 ISDN回線 16 ISP 18 インターネット DESCRIPTION OF SYMBOLS 1 Dial-up router 2 Control part 3 Flash memory 4 Routing table 6 LAN port 7 ISDN port 10, 12, 20, 22 Host 14 ISDN line 16 ISP 18 Internet

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】外部ネットワークとの通信要求が発生する
度に電話回線に接続して、IPパケット転送の中継処理
を行うダイヤルアップルータの通信制御方法であって、 前記通信要求を発生するアプリケーションソフトウエア
の全てが起動していない期間は、ダイヤルアップ接続を
行わないことを特徴とするダイヤルアップルータの通信
制御方法。
1. A communication control method for a dial-up router, which connects to a telephone line every time a communication request with an external network is generated and performs a relay process of IP packet transfer, comprising: application software for generating the communication request A communication control method for a dial-up router, wherein a dial-up connection is not performed during a period in which all the wear is not activated.
【請求項2】請求項1記載のダイヤルアップルータの通
信制御方法であって、 前記アプリケーションソフトウエアから所望のアプリケ
ーションソフトウエアを選択し、 前記所望のアプリケーションソフトウエアの少なくとも
1つが起動している期間のみダイヤルアップ接続するこ
とを特徴とするダイヤルアップルータの通信制御方法。
2. The communication control method for a dial-up router according to claim 1, wherein a desired application software is selected from the application software, and a period during which at least one of the desired application software is activated. A communication control method for a dial-up router, wherein only a dial-up connection is made.
【請求項3】請求項2記載のダイヤルアップルータの通
信制御方法であって、 選択された前記所望のアプリケーションソフトウエア
は、ウエブブラウザ又は電子メール送受信ソフトウエア
を含んでいることを特徴とするダイヤルアップルータの
通信制御方法。
3. The communication control method for a dial-up router according to claim 2, wherein the selected desired application software includes a web browser or electronic mail transmission / reception software. Up router communication control method.
【請求項4】請求項1乃至3のいずれか1項に記載のダ
イヤルアップルータの通信制御方法であって、 同時に起動している前記アプリケーションソフトウエア
の起動数をカウントし、 前記起動数が0の場合、ダイヤルアップ接続を行わない
ことを特徴とするダイヤルアップルータの通信制御方
法。
4. The communication control method for a dial-up router according to claim 1, wherein the number of activated software is simultaneously counted, and the number of activated software is 0. A communication control method for a dial-up router, wherein a dial-up connection is not performed.
JP2000307298A 2000-10-06 2000-10-06 Communication control method of dial-up router Expired - Fee Related JP3650019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000307298A JP3650019B2 (en) 2000-10-06 2000-10-06 Communication control method of dial-up router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000307298A JP3650019B2 (en) 2000-10-06 2000-10-06 Communication control method of dial-up router

Publications (2)

Publication Number Publication Date
JP2002118602A true JP2002118602A (en) 2002-04-19
JP3650019B2 JP3650019B2 (en) 2005-05-18

Family

ID=18787833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000307298A Expired - Fee Related JP3650019B2 (en) 2000-10-06 2000-10-06 Communication control method of dial-up router

Country Status (1)

Country Link
JP (1) JP3650019B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007053637A (en) * 2005-08-18 2007-03-01 Hitachi Electronics Service Co Ltd Connection system and connection method
US7620732B2 (en) 2003-11-18 2009-11-17 Kabushiki Kaisha Toshiba Apparatus for and method of setting communication path

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7620732B2 (en) 2003-11-18 2009-11-17 Kabushiki Kaisha Toshiba Apparatus for and method of setting communication path
JP2007053637A (en) * 2005-08-18 2007-03-01 Hitachi Electronics Service Co Ltd Connection system and connection method
JP4557839B2 (en) * 2005-08-18 2010-10-06 日立電子サービス株式会社 Connection system and connection method

Also Published As

Publication number Publication date
JP3650019B2 (en) 2005-05-18

Similar Documents

Publication Publication Date Title
US8125980B2 (en) User terminal connection control method and apparatus
RU2316124C2 (en) Method for dynamic routing based on files in broadband communication system
JP2002118602A (en) Communication control method for dial-up router
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP
Cisco Configuring SLIP and PPP

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050124

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050215

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050216

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees