JP2000032063A - Isdn router and communication path selection method using it - Google Patents

Isdn router and communication path selection method using it

Info

Publication number
JP2000032063A
JP2000032063A JP10195387A JP19538798A JP2000032063A JP 2000032063 A JP2000032063 A JP 2000032063A JP 10195387 A JP10195387 A JP 10195387A JP 19538798 A JP19538798 A JP 19538798A JP 2000032063 A JP2000032063 A JP 2000032063A
Authority
JP
Japan
Prior art keywords
route
isdn
area code
destination
router
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
JP10195387A
Other languages
Japanese (ja)
Inventor
Yasushi Murakawa
泰 村川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10195387A priority Critical patent/JP2000032063A/en
Publication of JP2000032063A publication Critical patent/JP2000032063A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a the ISDN router that can select an optimum path in terms of the communication cost. SOLUTION: The ISDN routers R1, R2, R3 interconnect plurality of networks. ISDN area code are added to a routing table that is referenced in the case of relaying data between networks, and in the case that an area code of an ISDN number of a destination connected newly is coincident with an area code of an existing network relay destination, a charge of a bypass that is a path connecting to a newly connected destination via an existing network is compared with a charge of a direct path that connects directly to the destination connected newly.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のネットワー
クを接続する際に、各ネットワーク間を接続する接続経
路選択において、その時々で最も低コストな接続経路を
選択可能にするISDNルータおよびそれを用いた通信
経路選択方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ISDN router for connecting a plurality of networks and selecting an inexpensive connection path at each time when selecting a connection path connecting the networks. The present invention relates to a communication path selection method used.

【0002】[0002]

【従来の技術】近年、遠隔地のネットワーク同士間やイ
ンターネットへ接続するためのアクセスポイントを提供
するプロバイダ等と、ISDNルータを用いて、公衆回
線を通じて接続するケースが多くなっている。この時、
通信したい相手先への接続を試みる場合、ISDNルー
タ内に内蔵している経路決定のためのテーブル(ルーテ
ィングテーブル)を用いて、通信したい相手に接続する
ための相手先となるルータを選択し、実際に回線を接続
して通信路を確立する。ルーティングテーブルは、通信
したい相手先(ディスティネーション)と実際に接続す
るISDNルータ(ゲートウェイ)との対応をテーブル
として管理するものであり、(表1)、(表2)に示す
ように、各ディスティネーションごとのエントリに、そ
のディスティネーションに到達するまでに経由するルー
タの数をホップ数としてカウントした値を追加した構造
となっている。
2. Description of the Related Art In recent years, there has been an increasing number of cases in which an ISDN router is used to connect to a provider or the like that provides an access point for connecting between remote networks or to the Internet through a public line. At this time,
When trying to connect to the other party to communicate with, select a router to be connected to the other party to communicate using the routing table built in the ISDN router (routing table), The line is actually connected to establish a communication path. The routing table manages the correspondence between the destination (destination) to communicate with and the ISDN router (gateway) to be actually connected as a table. As shown in (Table 1) and (Table 2), each destination Each entry has a structure in which a value obtained by counting the number of routers that pass through to reach the destination as the number of hops is added to the entry for each nation.

【0003】[0003]

【表1】 [Table 1]

【0004】[0004]

【表2】 [Table 2]

【0005】そして、同一宛先へのエントリが複数ある
場合はホップ数が小さい経路を優先して選択するように
なっている。また、あるゲートウェイに接続することに
よって既にテーブルに登録されている宛先と接続する経
路が更に増えた場合でも、ホップ数が少ない経路を優先
してルーティングテーブルに登録するようになってい
る。
[0005] When there are a plurality of entries to the same destination, a route having a small number of hops is preferentially selected. Further, even if the number of routes connecting to destinations already registered in the table further increases by connecting to a certain gateway, a route having a small number of hops is preferentially registered in the routing table.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来のISDNルータのルーティングテーブルでは、接続
するゲートウェイを決定する場合や、ルーティングテー
ブルに動的にエントリを追加、変更する場合、そのディ
スティネーションに到達するまでに経由するルータの数
すなわちホップ数のみを選択の根拠とし、このホップ数
が小さい経路が優先されてしまうが、実際には、この経
路は、他の経路と比較して、通信コストがかかったり、
スループットが小さかったりする場合がある。
However, in the routing table of the conventional ISDN router, when a gateway to be connected is determined, or when an entry is dynamically added or changed in the routing table, the destination is reached. Only the number of routers that pass through, that is, the number of hops is the basis for selection, and a route with a small number of hops takes precedence, but in actuality, this route has a higher communication cost than other routes. Or
The throughput may be small.

【0007】このISDNルータおよびISDNルータ
を用いた通信経路選択方法では、通信コスト的に最適な
経路を選択することが要求されている。
In the ISDN router and the communication route selection method using the ISDN router, it is required to select an optimal route in terms of communication cost.

【0008】本発明は、通信コスト的に最適な経路を選
択することが可能なISDNルータ、および、通信コス
ト的に最適な経路を選択するためのISDNルータを用
いた通信経路選択方法を提供することを目的とする。
The present invention provides an ISDN router capable of selecting an optimal path in terms of communication cost, and a communication path selecting method using an ISDN router for selecting an optimal path in terms of communication cost. The purpose is to:

【0009】[0009]

【課題を解決するための手段】この課題を解決するため
に本発明のISDNルータは、ホップ数や料金を相手先
別に格納するルーティングテーブルを各ネットワーク間
を中継する際に参照して複数のネットワークを接続する
ためのISDNルータであって、ルーティングテーブル
にISDNの市外局番を追加し、新しく接続した相手先
のISDN番号の市外局番と既存のネットワーク中継先
の市外局番とが合致する場合には、既存のネットワーク
を経由して新しく接続した相手先に接続する経路である
迂回経路と新しく接続した相手先に直接に接続する経路
である直接経路との料金を比較する構成を備えている。
In order to solve this problem, an ISDN router according to the present invention refers to a routing table which stores the number of hops and charges for each destination when relaying between a plurality of networks. ISDN router for connecting to the network, the ISDN area code is added to the routing table, and the area code of the newly connected ISDN number matches the area code of the existing network relay destination Has a configuration for comparing a fee for a detour route, which is a route connecting to a newly connected partner via an existing network, and a fee for a direct route, which is a route for directly connecting to a newly connected partner. .

【0010】これにより、通信コスト的に最適な経路を
選択することが可能なISDNルータが得られる。
[0010] Thus, an ISDN router capable of selecting an optimal route in terms of communication cost is obtained.

【0011】ホップ数や料金を相手先別に格納するルー
ティングテーブルを各ネットワーク間を中継する際に参
照して複数のネットワークを接続するためのISDNル
ータを用いた通信経路選択方法であって、ルーティング
テーブルにISDNの市外局番を追加し、新しく接続し
た相手先のISDN番号の市外局番と既存のネットワー
ク中継先の市外局番とが合致する場合には、既存のネッ
トワークを経由して新しく接続した相手先に接続する経
路である迂回経路と新しく接続した相手先に直接に接続
する経路である直接経路との料金を比較する構成を備え
ている。
A communication path selection method using an ISDN router for connecting a plurality of networks by referring to a routing table storing the number of hops and charges for each destination when relaying between networks, the method comprising: If the area code of the newly connected partner's ISDN number matches the area code of the existing network relay destination, the new connection is made via the existing network. A configuration is provided for comparing the fee of a detour route that is a route connecting to a destination and a fee of a direct route that is a route directly connecting to a newly connected destination.

【0012】これにより、通信コスト的に最適な経路を
選択するためのISDNルータを用いた通信経路選択方
法が得られる。
As a result, a communication path selection method using an ISDN router for selecting an optimum path in terms of communication cost can be obtained.

【0013】[0013]

【発明の実施の形態】本発明の請求項1に記載のISD
Nルータは、ホップ数や料金を相手先別に格納するルー
ティングテーブルを各ネットワーク間を中継する際に参
照して複数のネットワークを接続するためのISDNル
ータであって、ルーティングテーブルにISDNの市外
局番を追加し、新しく接続した相手先のISDN番号の
市外局番と既存のネットワーク中継先の市外局番とが合
致する場合には、既存のネットワークを経由して新しく
接続した相手先に接続する経路である迂回経路と新しく
接続した相手先に直接に接続する経路である直接経路と
の料金を比較することとしたものであり、迂回経路とす
るか直接経路とするかを料金の比較結果に基づいて決定
するという作用を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS ISD according to claim 1 of the present invention
The N router is an ISDN router for connecting a plurality of networks by referring to a routing table that stores the number of hops and charges for each destination when relaying between networks, and includes an ISDN area code in the routing table. Is added, and if the area code of the newly connected destination's ISDN number matches the area code of the existing network relay destination, a route connecting to the newly connected destination via the existing network And the direct route, which is a route directly connected to the newly connected partner, is compared, and whether the route is the detour route or the direct route is determined based on the comparison result of the fees. It has the effect of determining.

【0014】請求項2に記載のISDNルータは、請求
項1に記載のISDNルータにおいて、迂回経路の料金
が直接経路の料金よりも低い場合には迂回経路を選択す
ることとしたものであり、新たに接続しても迂回経路の
方が既存の直接経路よりも料金が安い場合には迂回経路
で接続するという作用を有する。
An ISDN router according to a second aspect of the present invention is the ISDN router according to the first aspect, wherein the alternative path is selected when the charge of the alternative path is lower than the charge of the direct path. Even if a new connection is made, when the detour route is cheaper than the existing direct route, there is an effect that the detour route is connected through the detour route.

【0015】請求項3に記載のISDNルータを用いた
通信経路選択方法は、ホップ数や料金を相手先別に格納
するルーティングテーブルを各ネットワーク間を中継す
る際に参照して複数のネットワークを接続するためのI
SDNルータを用いた通信経路選択方法であって、ルー
ティングテーブルにISDNの市外局番を追加し、新し
く接続した相手先のISDN番号の市外局番と既存のネ
ットワーク中継先の市外局番とが合致する場合には、既
存のネットワークを経由して新しく接続した相手先に接
続する経路である迂回経路と新しく接続した相手先に直
接に接続する経路である直接経路との料金を比較するこ
ととしたものであり、新たに接続しても迂回経路の方が
既存の直接経路よりも料金が安い場合には迂回経路で接
続されるという作用を有する。
According to a third aspect of the present invention, in the communication path selecting method using the ISDN router, a plurality of networks are connected by referring to a routing table storing the number of hops and a charge for each destination when relaying between the networks. I for
A communication route selection method using an SDN router, in which an ISDN area code is added to a routing table, and an area code of an ISDN number of a newly connected partner matches an area code of an existing network relay destination. In this case, the fee of the detour route, which is a route connecting to the newly connected partner via the existing network, and the direct route, which is a route directly connecting to the newly connected partner, are compared. Even if a new connection is made, the detour route is connected via the detour route when the fee is lower than the existing direct route.

【0016】以下、本発明の実施の形態について図1〜
図3を用いて説明する。 (実施の形態1)図1は本発明の実施の形態1によるI
SDNルータを使用するISDN回線システムを示す構
成図である。
Hereinafter, embodiments of the present invention will be described with reference to FIGS.
This will be described with reference to FIG. (Embodiment 1) FIG.
FIG. 1 is a configuration diagram showing an ISDN line system using an SDN router.

【0017】図1において、1、2、3はそれぞれ物理
的に離れた地点であるA地点、B地点、C地点にあるロ
ーカルエリアネットワーク(以下、「LAN」とい
う)、4はLAN1、2、3の交換機器であるISDN
ルータR1、R2、R3が接続されているISDN網で
ある。
In FIG. 1, reference numerals 1, 2, and 3 denote local area networks (hereinafter, referred to as "LANs") at points A, B, and C, which are physically distant points, respectively. ISDN which is the exchange equipment of No.3
This is an ISDN network to which routers R1, R2, and R3 are connected.

【0018】(表3)に、ISDNルータR1、R2、
R3に対するIPアドレス、ISDN番号、ISDNサ
ブアドレスを示す。
Table 3 shows that the ISDN routers R1, R2,
Shows the IP address, ISDN number, and ISDN subaddress for R3.

【0019】[0019]

【表3】 [Table 3]

【0020】前述の(表1)、次に示す(表4)に、I
SDNルータR1のルーティングテーブルの構成を示
す。
The above (Table 1) and the following (Table 4)
4 shows a configuration of a routing table of the SDN router R1.

【0021】[0021]

【表4】 [Table 4]

【0022】(表1)は従来のISDNルータR1のル
ーティングテーブルを示し、(表4)は地点A−Cを接
続した後に動的に経路を変更した場合のISDNルータ
R1のルーティングテーブルを示す。
(Table 1) shows a routing table of the conventional ISDN router R1, and (Table 4) shows a routing table of the ISDN router R1 when a route is dynamically changed after connecting the points AC.

【0023】以下、地点A−Cを接続する際のルーティ
ング方式の変化を説明する。図1に示す通り、既にA−
B間に料金3分間200円で接続する経路が存在すると
する。ここで新たに地点Aに地点Cが接続するとする。
ここでISDNルータR1は、地点Cの市外局番(ここ
では092)と合致する経路が存在するか否かを見るた
めにルーティングテーブルを検索する。ここでは地点B
が該当する。市外局番が同じなので、地点B−Cを接続
したら、料金は3分間10円であることは明白である。
ここで地点A−B間のホップ数と、地点A−C間を接続
する場合のホップ数とを比較する。後者は7で、(新た
に接続する経路のホップ数)>(既に存在する経路のホ
ップ数)+1が成立する。つまり(新たに接続する経路
のホップ数)−(既に存在する経路のホップ数)≧2で
ある。そこで、一旦は接続した地点A−C間の経路を破
棄して地点A−C間を新たに接続する場合は、既に存在
する地点A−B間の経路に加え、ISDNルータR2を
ゲートウェイとして地点BとCを直接つなぐ形で経路設
定を行う。
The change of the routing system when connecting points AC will be described below. As shown in FIG. 1, A-
It is assumed that there is a route connecting B for 200 yen for 3 minutes. Here, it is assumed that point C is newly connected to point A.
Here, the ISDN router R1 searches the routing table to see whether there is a route that matches the area code of the point C (here, 092). Here, point B
Is applicable. Since the area code is the same, if the point BC is connected, it is clear that the fee is 10 yen for 3 minutes.
Here, the number of hops between points A and B is compared with the number of hops when connecting points A and C. The latter is 7, and the following holds: (hop number of newly connected route)> (hop number of existing route) +1. That is, (hop number of newly connected path) − (hop number of already existing path) ≧ 2. Therefore, when the route between the points A and C once connected is to be discarded and a new connection is made between the points A and C, the point is set using the ISDN router R2 as a gateway in addition to the route between the points A and B already existing. The route is set by directly connecting B and C.

【0024】ここで、(表1)、(表4)について詳細
に説明する。(表1)は従来の地点A−B間のホップ数
5、地点A−C間のホップ数7を示し、料金はそれぞれ
200円、220円であることを示す。(表4)は本実
施の形態における地点A−B間のホップ数5、地点A−
C間のホップ数6を示し、料金はそれぞれ200円、2
10円であることを示す。すなわち、従来の経路選択で
は、地点A−C間のホップ数7で料金は220円である
のに対し、本実施の形態における経路選択では地点A−
C間のホップ数6で料金は210円である。
Here, (Table 1) and (Table 4) will be described in detail. (Table 1) shows the conventional number of hops between points A and B of 5 and the number of hops between points A and C of 7, and the charges are 200 yen and 220 yen, respectively. (Table 4) shows the number of hops 5 between points A and B and the point A-
Shows the number of hops 6 between C, the fee is 200 yen each, 2
It is 10 yen. That is, in the conventional route selection, the fee is 220 yen for 7 hops between the points A and C, whereas in the route selection in the present embodiment, the point A-
The cost is 210 yen for 6 hops between Cs.

【0025】以上のように本実施の形態によれば、各ネ
ットワーク間を中継する際に参照するルーティングテー
ブルにISDNの市外局番を追加し、新しく接続した相
手先のISDN番号の市外局番と既存のネットワーク中
継先の市外局番とが合致する場合には、既存のネットワ
ークを経由して新しく接続した相手先に接続する経路で
ある迂回経路と新しく接続した相手先に直接に接続する
経路である直接経路との料金を比較するようにしたこと
により、迂回経路とするか直接経路とするかを料金の比
較結果に基づいて決定することができるので、既存のネ
ットワークを経由しても迂回経路の方が直接経路よりも
料金が安い場合には迂回経路で接続するようにして、通
信コスト的に最適な経路を選択することができる。例え
ば、(表1)、(表4)の場合には、地点A−B−Cの
選択により、料金を3分間10円(220円−210
円)低下させ、ホップ数を1減らすことができる。
As described above, according to the present embodiment, the area code of the ISDN is added to the routing table to be referred to when relaying between networks, and the area code of the ISDN number of the newly connected partner is added. If the area code of the existing network relay destination matches, the detour route that connects to the newly connected destination via the existing network and the route that directly connects to the newly connected destination By comparing the fee with a certain direct route, it is possible to determine whether to use the detour route or the direct route based on the comparison result of the fee. If the fee is lower than the direct route, the connection is made by the detour route, and the route optimal for the communication cost can be selected. For example, in the case of (Table 1) and (Table 4), the fee is 10 yen (220 yen-210) for 3 minutes by selecting the point ABC.
Circle), and the number of hops can be reduced by one.

【0026】(実施の形態2)図2は本発明の実施の形
態によるISDNルータを使用するISDN回線システ
ムを示す構成図である。
(Embodiment 2) FIG. 2 is a configuration diagram showing an ISDN line system using an ISDN router according to an embodiment of the present invention.

【0027】図2において、LAN1、2、3、ISD
N回線4、ISDNルータR1、R2、R3は図1と同
様のものなので、同一符号を付し、説明は省略する。
In FIG. 2, LAN1, 2, 3, ISD
The N line 4 and the ISDN routers R1, R2, R3 are the same as those in FIG.

【0028】(表5)に、ISDNルータR1、R2、
R3に対するIPアドレス、ISDN番号、ISDNサ
ブアドレスを示す。
Table 5 shows ISDN routers R1, R2,
Shows the IP address, ISDN number, and ISDN subaddress for R3.

【0029】[0029]

【表5】 [Table 5]

【0030】(表5)に従来のR1のルーティングテー
ブルを示し、(表6)に地点A−Cを接続した後に動的
に経路を変更した場合のISDNルータR1のルーティ
ングテーブルを示す。
(Table 5) shows a conventional R1 routing table, and (Table 6) shows a routing table of the ISDN router R1 when a route is dynamically changed after connecting points AC.

【0031】[0031]

【表6】 [Table 6]

【0032】以下、地点A−Cを接続する際のルーティ
ング方式の変化を説明する。図2に示す通り、既にA−
B間に料金3分間230円で接続する経路が存在すると
する。ここで新たに地点Aに地点Cが接続するとする。
ここでISDNルータR1は、地点Cの市外局番(ここ
では092)と合致する経路が存在するか否かを見るた
めにルーティングテーブルを検索する。ここでは地点B
が該当する。市外局番が同じなので、地点B−Cを接続
したら、料金は3分間10円である。ここで地点A−B
間のホップ数と、地点A−C間を接続する場合のホップ
数を比較する。後者は5で、(既に存在する経路のホッ
プ数)>(新たに接続する経路のホップ数)+1が成立
する。つまり(既に存在する経路のホップ数)−(新た
に接続する経路のホップ数)≧2である。そこで、既に
存在する地点A−B間の経路を破棄して新たに地点A−
B間を接続する場合は、新たに接続された地点A−C間
の経路に加え、ISDNルータR3をゲートウェイとし
て地点BとCを直接つなぐ形で経路設定を行う。
The change of the routing method when connecting points AC will be described below. As shown in FIG.
It is assumed that there is a route connecting B at 230 yen for 3 minutes. Here, it is assumed that point C is newly connected to point A.
Here, the ISDN router R1 searches the routing table to see whether there is a route that matches the area code of the point C (here, 092). Here, point B
Is applicable. Since the area code is the same, if the point BC is connected, the fee is 10 yen for 3 minutes. Where point AB
The number of hops between the points A and C is compared with the number of hops when connecting points A and C. The latter is 5, and the following holds: (hop number of existing route)> (hop number of newly connected route) +1. That is, (hop number of existing route) − (hop number of newly connected route) ≧ 2. Therefore, the existing route between the points A and B is discarded, and the point A-
When connecting between points B, in addition to the path between points A and C newly connected, the path is set by directly connecting points B and C using the ISDN router R3 as a gateway.

【0033】ここで、(表5)、(表6)について詳細
に説明する。(表5)は従来の地点A−B間のホップ数
8、地点A−C間のホップ数5を示し、料金はそれぞれ
230円、200円であることを示す。(表6)は本実
施の形態における地点A−B間のホップ数6、地点A−
C間のホップ数5を示し、料金はそれぞれ210円、2
00円であることを示す。すなわち、従来の経路選択で
は、地点A−B間のホップ数8で料金は230円である
のに対し、本実施の形態における経路選択では地点A−
B間のホップ数6で料金は210円である。
Here, (Table 5) and (Table 6) will be described in detail. (Table 5) shows the conventional number of hops 8 between points A and B and the number of hops 5 between points A and C, and shows that the charges are 230 yen and 200 yen, respectively. (Table 6) shows the number of hops 6 between the points A and B and the point A-
Shows the number of hops 5 between C, the fee is 210 yen each, 2
It shows that it is 00 yen. That is, in the conventional route selection, the fee is 230 yen for 8 hops between points A and B, whereas in the route selection in the present embodiment, the point A-
The fee is 210 yen for 6 hops between B.

【0034】以上のように本実施の形態によれば、既に
存在した地点A−B間の経路(料金230円)を破棄し
て新たに地点A−B間を接続する場合は、新たに接続さ
れた地点A−C間の経路に加え、ISDNルータR3を
ゲートウェイとして地点BとCを直接つなぐ形で地点A
−B間の経路設定を行うようにしたことにより、料金を
3分間20円(230円−210円)に減少させ、ホッ
プ数を2減らすことができる。
As described above, according to the present embodiment, when the route between the points A and B (charge 230 yen) that has already existed is discarded and a new connection is made between the points A and B, a new connection is made. In addition to the route between points A and C, points A and B are directly connected to points B and C using ISDN router R3 as a gateway.
By setting the route between -B, the fee can be reduced to 20 yen (230 yen-210 yen) for 3 minutes, and the number of hops can be reduced by two.

【0035】(実施の形態3)図3は本発明の実施の形
態3によるISDNルータを使用するISDN回線シス
テムを示す構成図である。
(Embodiment 3) FIG. 3 is a configuration diagram showing an ISDN line system using an ISDN router according to Embodiment 3 of the present invention.

【0036】図3において、LAN1、2、ISDN回
線4、ISDNルータR1、R2は図1と同様のものな
ので、同一符号を付し、説明は省略する。5はISDN
ルータR4を有するLANであり、(表7)に示すよう
に、ISDNルータR4はISDNサブアドレスが「K
urume」となっている。
In FIG. 3, the LANs 1, 2, the ISDN line 4, and the ISDN routers R1, R2 are the same as those in FIG. 5 is ISDN
This is a LAN having a router R4. As shown in (Table 7), the ISDN router R4 has an ISDN subaddress of “K
urume ".

【0037】[0037]

【表7】 [Table 7]

【0038】(表8)に、あるISDNアドレスの市外
局番とそのサブアドレスの組を示し、(表9)に、(表
8)の市外局番の地域に隣接する地域のISDN番号の
市外局番とそのサブアドレスの組を示す。
(Table 8) shows a set of an area code of an ISDN address and its subaddress, and (Table 9) shows an area code of an ISDN number of an area adjacent to the area of the area code shown in (Table 8). Shows a set of station number and its subaddress.

【0039】[0039]

【表8】 [Table 8]

【0040】[0040]

【表9】 [Table 9]

【0041】図3に示す通り、既にA−B間に料金3分
間200円で接続する経路が存在するとする。ここで新
たに地点Aに地点Cが接続するとする。ここでISDN
ルータR1は、地点Cの市外局番(ここでは092)と
合致する経路が存在するか否かを見るためにルーティン
グテーブルを検索する。ここでは該当する既存の経路は
存在しない。そこで既存の経路の市外局番に隣接する地
域が存在しないか否かを見るために、ISDNルータ内
のデータベースを検索する。この場合、(表9)に示す
通り、0942(Kurume)が合致する。
As shown in FIG. 3, it is assumed that there is already a route connecting A and B for 200 yen for 3 minutes. Here, it is assumed that point C is newly connected to point A. Where ISDN
The router R1 searches the routing table to see if there is a route that matches the area code of the point C (here, 092). Here, there is no corresponding existing route. Therefore, a database in the ISDN router is searched in order to check whether or not an area adjacent to the area code of the existing route exists. In this case, as shown in (Table 9), 0942 (Kurume) matches.

【0042】そこで、新たに地点Aと地点Cを接続する
場合は、既に経路設定されている地点A−B間の経路に
地点Bと地点Cをつなぐ形で、既に設定されている最適
な経路を利用し、出来る限り接続料金を節約して接続す
る。
Therefore, when a new connection is made between the point A and the point C, the optimal route that has already been set is established by connecting the point B and the point C to the route between the points A and B that has already been set. Use to save as much connection fee as possible.

【0043】以上のように本実施の形態によれば、IS
DN番号の市外局番同士の隣接関係をデータベースに登
録しておき、未知の市外局番を持つ新たな相手先と接続
する場合、隣接する市外局番を持つネットワーク中継先
との経路を加えるようにしたことにより、これまで未知
の地域の相手先に接続する場合でも、既存の最適な経路
情報から帰納的に最適な経路を導き出すことができる。
As described above, according to the present embodiment, the IS
The adjacent relationship between the area codes of DN numbers is registered in a database, and when connecting to a new destination having an unknown area code, a route to a network relay destination having an adjacent area code is added. Thus, even when connecting to a destination in an unknown area, an optimal route can be derived inductively from existing optimal route information.

【0044】[0044]

【発明の効果】以上のように本発明の請求項1に記載の
ISDNルータによれば、複数のネットワークを接続す
るためのISDNルータであって、各ネットワーク間を
中継する際に参照するルーティングテーブルにISDN
の市外局番を追加し、新しく接続した相手先のISDN
番号の市外局番と既存のネットワーク中継先の市外局番
とが合致する場合には、既存のネットワークを経由して
新しく接続した相手先に接続する経路である迂回経路と
新しく接続した相手先に直接に接続する経路である直接
経路との料金を比較することにより、迂回経路とするか
直接経路とするかを料金の比較結果に基づいて決定する
ことができるので、既存のネットワークを経由しても迂
回経路の方が直接経路よりも料金が安い場合には迂回経
路で接続するようにして通信コスト的に最適な経路を選
択することができるという有利な効果が得られる。
As described above, according to the ISDN router according to the first aspect of the present invention, an ISDN router for connecting a plurality of networks, the routing table being referred to when relaying between the networks. ISDN
Add the area code of the ISDN of the newly connected party
If the area code of the number matches the area code of the existing network relay destination, the detour route that connects to the newly connected destination via the existing network and the newly connected destination By comparing the fee with the direct route, which is the route directly connected, it is possible to determine whether to use the detour route or the direct route based on the comparison result of the fee, Also, when the detour route is lower in price than the direct route, there is obtained an advantageous effect that the route is connected by the detour route and the route optimal for communication cost can be selected.

【0045】請求項2に記載のISDNルータによれ
ば、請求項1に記載のISDNルータにおいて、迂回経
路の料金が直接経路の料金よりも低い場合には迂回経路
を選択することにより、新たに接続しても迂回経路の方
が既存の直接経路よりも料金が安い場合には迂回経路で
接続することができるので、通信コスト的に最適な経路
を選択することができるという有利な効果が得られる。
According to the ISDN router of the second aspect, in the ISDN router of the first aspect, when the charge of the bypass route is lower than the charge of the direct route, the bypass route is newly selected by selecting the bypass route. Even if the connection is made, if the detour route is cheaper than the existing direct route, the detour route can be connected by the detour route, so that an advantageous effect that an optimal route in terms of communication cost can be selected can be obtained. Can be

【0046】請求項3に記載のISDNルータを用いた
通信経路選択方法によれば、ホップ数や料金を相手先別
に格納するルーティングテーブルを各ネットワーク間を
中継する際に参照して複数のネットワークを接続するた
めのISDNルータを用いた通信経路選択方法であっ
て、ルーティングテーブルにISDNの市外局番を追加
し、新しく接続した相手先のISDN番号の市外局番と
既存のネットワーク中継先の市外局番とが合致する場合
には、既存のネットワークを経由して新しく接続した相
手先に接続する経路である迂回経路と新しく接続した相
手先に直接に接続する経路である直接経路との料金を比
較することにより、迂回経路とするか直接経路とするか
を料金の比較結果に基づいて決定することができるの
で、既存のネットワークを経由しても迂回経路の方が直
接経路よりも料金が安い場合には迂回経路で接続するよ
うにして通信コスト的に最適な経路が選択されるという
有利な効果が得られる。
According to the communication route selection method using the ISDN router according to the third aspect, a plurality of networks are referred to by referencing a routing table storing the number of hops and charges for each destination when relaying between the networks. A method of selecting a communication route using an ISDN router for connection, wherein an area code of an ISDN is added to a routing table, and an area code of an ISDN number of a newly connected partner and an area code of an existing network relay destination. If the station numbers match, compare the charges for the detour route, which is the route connecting to the newly connected partner via the existing network, and the direct route, which is the route connecting directly to the newly connected partner. By doing so, it is possible to determine whether to use the detour route or the direct route based on the comparison result of the charges, so that the existing network can be used. Advantageous effect that to communicate cost-optimal route to connect with detour route is selected if the lower rate than the direct path towards even detour path via.

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

【図1】本発明の実施の形態1によるISDNルータを
使用するISDN回線システムを示す構成図
FIG. 1 is a configuration diagram showing an ISDN line system using an ISDN router according to a first embodiment of the present invention;

【図2】本発明の実施の形態2によるISDNルータを
使用するISDN回線システムを示す構成図
FIG. 2 is a configuration diagram showing an ISDN line system using an ISDN router according to a second embodiment of the present invention;

【図3】本発明の実施の形態3によるISDNルータを
使用するISDN回線システムを示す構成図
FIG. 3 is a configuration diagram showing an ISDN line system using an ISDN router according to a third embodiment of the present invention;

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

1、2、3、5 LAN 4 ISDN回線 R1、R2、R3 ISDNルータ 1, 2, 3, 5 LAN 4 ISDN line R1, R2, R3 ISDN router

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04M 3/00 H04L 11/02 F 15/16 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04M 3/00 H04L 11/02 F 15/16

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】ホップ数や料金を相手先別に格納するルー
ティングテーブルを各ネットワーク間を中継する際に参
照して複数のネットワークを接続するためのISDNル
ータであって、前記ルーティングテーブルにISDNの
市外局番を追加し、新しく接続した相手先のISDN番
号の市外局番と既存のネットワーク中継先の市外局番と
が合致する場合には、前記既存のネットワークを経由し
て前記新しく接続した相手先に接続する経路である迂回
経路と前記新しく接続した相手先に直接に接続する経路
である直接経路との料金を比較することを特徴とするI
SDNルータ。
1. An ISDN router for connecting a plurality of networks by referring to a routing table for storing the number of hops and charges for each destination when relaying between networks, wherein the routing table includes an ISDN When an area code is added and the area code of the newly connected destination's ISDN number matches the area code of the existing network relay destination, the newly connected destination via the existing network And comparing a detour route which is a route connecting to the newly connected partner with a direct route which is a route directly connecting to the newly connected partner.
SDN router.
【請求項2】前記迂回経路の料金が前記直接経路の料金
よりも低い場合には前記迂回経路を選択することを特徴
とする請求項1に記載のISDNルータ。
2. The ISDN router according to claim 1, wherein the alternative route is selected when the fee of the alternative route is lower than the fee of the direct route.
【請求項3】ホップ数や料金を相手先別に格納するルー
ティングテーブルを各ネットワーク間を中継する際に参
照して複数のネットワークを接続するためのISDNル
ータを用いた通信経路選択方法であって、前記ルーティ
ングテーブルにISDNの市外局番を追加し、新しく接
続した相手先のISDN番号の市外局番と既存のネット
ワーク中継先の市外局番とが合致する場合には、前記既
存のネットワークを経由して前記新しく接続した相手先
に接続する経路である迂回経路と前記新しく接続した相
手先に直接に接続する経路である直接経路との料金を比
較することを特徴とするISDNルータを用いた通信経
路選択方法。
3. A communication path selection method using an ISDN router for connecting a plurality of networks by referring to a routing table storing the number of hops and charges for each destination when relaying between networks. The area code of ISDN is added to the routing table, and if the area code of the newly connected partner's ISDN number matches the area code of the existing network relay destination, the connection is made via the existing network. A communication route using an ISDN router, wherein a fee is compared between a detour route which is a route connecting to the newly connected partner and a direct route which is a route directly connecting to the newly connected partner. Selection method.
JP10195387A 1998-07-10 1998-07-10 Isdn router and communication path selection method using it Pending JP2000032063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10195387A JP2000032063A (en) 1998-07-10 1998-07-10 Isdn router and communication path selection method using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10195387A JP2000032063A (en) 1998-07-10 1998-07-10 Isdn router and communication path selection method using it

Publications (1)

Publication Number Publication Date
JP2000032063A true JP2000032063A (en) 2000-01-28

Family

ID=16340322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10195387A Pending JP2000032063A (en) 1998-07-10 1998-07-10 Isdn router and communication path selection method using it

Country Status (1)

Country Link
JP (1) JP2000032063A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693159B2 (en) 2002-01-30 2010-04-06 Ntt Docomo, Inc. Method, terminal and router for detection of trigger to rerouting
JP2011166359A (en) * 2010-02-08 2011-08-25 Nec Corp Device and method for controlling connection and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7693159B2 (en) 2002-01-30 2010-04-06 Ntt Docomo, Inc. Method, terminal and router for detection of trigger to rerouting
JP2011166359A (en) * 2010-02-08 2011-08-25 Nec Corp Device and method for controlling connection and program

Similar Documents

Publication Publication Date Title
US7307990B2 (en) Shared communications network employing virtual-private-network identifiers
US6445922B1 (en) Method and system for support of overlapping IP addresses between an interworking function and a mobile IP foreign agent
US7756998B2 (en) Managing L3 VPN virtual routing tables
US7298743B2 (en) Mobile router support for IPv6
ES2685443T3 (en) Produce routing messages for voice over IP communications
US7653074B2 (en) Method and apparatus for virtual private networks
US8089968B2 (en) Automatic prioritization of BGP next-hop in IGP convergence
US7969992B2 (en) Method and system for optimizing routing of data packets
US8665887B2 (en) Number automatic routing method, updating method, withdrawing method, router and device
US6907032B2 (en) Method for selecting terminating gateways for an internet telephone call using a tree search
US5745702A (en) Apparatus and method for interconnecting ISDN/internetwork users
US20030237002A1 (en) Network node and communication system
US20110228785A1 (en) Automatic route tagging of bgp next-hop routes in igp
AU770760B2 (en) Method of transmitting data from server of virtual private network to mobile node
JP2003516679A (en) No. Method of integrating a common channel signaling network with a multi-protocol label switching network
CN102368726B (en) Forwarding method and device applied to L2VPN (layer 2 virtual private network)
CN113271255A (en) Method and device for converting network address to loopback
EP3381162B1 (en) Network routing systems and techniques
JP2000032063A (en) Isdn router and communication path selection method using it
Cisco Configuring IP Routing Protocol-Independent Features
US7423974B2 (en) Disabling mutually recursive routes
WO2009072776A2 (en) Method and apparatus for processing number portability in internet phone
US7315555B2 (en) Sub-network and related methods for routing signaling messages
JPH0637764A (en) Routing system for remote bridge and remote bridge device
JP2001251356A (en) Private network access point router for interconnection among providers on internet path