JP3509848B2 - Communication control device and recording medium - Google Patents

Communication control device and recording medium

Info

Publication number
JP3509848B2
JP3509848B2 JP2000127562A JP2000127562A JP3509848B2 JP 3509848 B2 JP3509848 B2 JP 3509848B2 JP 2000127562 A JP2000127562 A JP 2000127562A JP 2000127562 A JP2000127562 A JP 2000127562A JP 3509848 B2 JP3509848 B2 JP 3509848B2
Authority
JP
Japan
Prior art keywords
address
local
port number
global
server device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000127562A
Other languages
Japanese (ja)
Other versions
JP2001308934A (en
Inventor
嘉昭 奥山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2000127562A priority Critical patent/JP3509848B2/en
Publication of JP2001308934A publication Critical patent/JP2001308934A/en
Application granted granted Critical
Publication of JP3509848B2 publication Critical patent/JP3509848B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、グローバルネット
ワーク上のクライアント装置と、ローカルエリア上のサ
ーバー装置との通信に用いられる装置およびそのための
プログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device used for communication between a client device on a global network and a server device on a local area, and a recording medium recording a program therefor.

【0002】[0002]

【従来の技術】従来よりローカルエリア上の装置と、グ
ローバルネット上の装置の通信の仲介を行うためのNA
T(Network Address transfer)技術が知られてい
る。この一例として、例えば特開平11−150566
号公報記載のインターネットワーク装置が挙げられる。
確かに、この装置によれば、ローカルネットワーク上の
クライアント装置がグローバルネットワーク上のサーバ
ー装置に対してコネクションを確立することを自動で行
うことができる。その理由は、グローバルネットワーク
上でのIPアドレスやそのポート番号は公開されている
からである。
2. Description of the Related Art Conventionally, an NA for mediating communication between a device on a local area and a device on a global net.
A T (Network Address transfer) technique is known. As an example of this, for example, JP-A-11-150566.
An internetwork device described in the publication is cited.
Certainly, according to this device, a client device on the local network can automatically establish a connection with a server device on the global network. The reason is that the IP address and its port number on the global network are publicly available.

【発明が解決しようとする課題】これに対して、グロー
バルネットワーク上のクライアント装置がローカルネッ
トワーク上のサーバー装置に対してコネクションを確立
することは、ローカルネットワーク上でのIPアドレス
やそのポート番号は公開されていないため、必ずしも自
動で行うことはできず、しかも、このための技術開示は
上記公報にて行われていない。
On the other hand, when the client device on the global network establishes a connection with the server device on the local network, the IP address and its port number on the local network are disclosed. Since this is not done, it cannot always be done automatically, and the technical disclosure for this is not made in the above publication.

【0003】本発明は、このような従来の課題を解決す
るためになされたもので、グローバルネットワーク上の
クライアント装置がローカルネットワーク上のサーバー
装置に対して自動的にコネクションを確立して通信を行
うことを可能とする通信制御装置およびそのためのプロ
グラムを記録した記録媒体を提供することを目的とす
る。
The present invention has been made to solve such a conventional problem, and a client device on a global network automatically establishes a connection with a server device on a local network for communication. An object of the present invention is to provide a communication control device that enables the above and a recording medium recording a program therefor.

【課題を解決するための手段】上記目的を達成するため
に、本発明は、グローバルネットワーク上のクライアン
ト装置と、ローカルエリア上のサーバー装置との通信に
用いられる装置において、前記クライアント装置から所
定の処理要求が発行される前に、前記サーバー装置から
の指示に応答して、前記サーバー装置のローカルアドレ
スおよびこのローカルアドレス内のポート番号を、グロ
ーバルアドレスおよびこのグローバルアドレス内のポー
ト番号に変換したものを、前記ローカルアドレスとこの
ローカルアドレス内のポート番号に対応付けて蓄積する
手段と、前記クライアント装置からの前記所定の処理要
求を受信した場合、送られてきたグローバルアドレスお
よびこのグローバルアドレス内のポート番号を、前記蓄
積しておいた情報を参照して、ローカルアドレスおよび
このローカルアドレス内のポート番号に変換する手段
と、前記サーバー装置が前記所定の処理を完了した場
合、サーバー装置のローカルアドレスおよびこのローカ
ルアドレス内のポート番号とを、前記蓄積しておいた情
報を参照して、グローバルアドレスおよびこのグローバ
ルアドレス内のポート番号に変換する手段と、前記サー
バー装置のローカルアドレスおよびこのローカルアドレ
ス内のポート番号と、これらを変換したグローバルアド
レスおよびこのグローバルアドレス内のポート番号と
を、前記所定の処理の識別子に対応付けて蓄積する手段
と、を備えるようにした。
In order to achieve the above object, the present invention relates to a device used for communication between a client device on a global network and a server device on a local area, wherein a predetermined device is used from the client device. Before the processing request is issued, in response to the instruction from the server device, the local address of the server device and the port number in the local address are converted into the global address and the port number in the global address. Is stored in association with the local address and the port number in the local address, and when the predetermined processing request from the client device is received, the global address sent and the port in the global address are sent. The number is the information that has been accumulated With reference to the local address and the means for converting the port number in the local address, and the server device, when the predetermined processing is completed, the local address of the server device and the port number in the local address, With reference to the accumulated information, a means for converting a global address and a port number in this global address, and the server
Bar device local address and this local address
Port number in the device and the global address
And the port number in this global address
Is stored in association with the predetermined processing identifier.
And so on.

【0004】この発明においては、クライアント装置か
ら所定の処理要求が発行される前に、換言すれば、コネ
クション確立前に、サーバー装置からの指示に応答し
て、サーバー装置のローカルアドレスおよびこのローカ
ルアドレス内のポート番号を、グローバルアドレスおよ
びこのグローバルアドレス内のポート番号に変換したも
のを、ローカルアドレスとこのローカルアドレス内のポ
ート番号に対応付けて蓄積しておく。このため、以降の
ローカル・グローバル間のアドレスやポート番号の変換
が自動的に行える。つまり、非公開のローカルアドレス
やポート番号が設定されたサーバ装置に対しても、コネ
クション確立が自動的に行える。また、サーバー装置
は、ローカルネットワークおよびグローバルネットワー
クの双方のネットワーク上のアドレス、ポート番号を用
いて、ローカルネットワーク上およびグローバルネット
ワーク上の双方の装置に対して通信を行うことができ
る。
According to the present invention, before the predetermined processing request is issued from the client device, in other words, before the connection is established, in response to the instruction from the server device, the local address of the server device and this local address are sent. The port number in is converted into the global address and the port number in the global address, and the local address and the port number in the local address are associated and accumulated. Therefore, the subsequent conversion of addresses and port numbers between local and global can be performed automatically. In other words, the connection can be automatically established even for the server device to which the private local address or port number is set. Also, the server device
Local network and global network
Address and port number on both networks
On the local network and on the global network
It is possible to communicate with both devices on the work.
It

【0005】[0005]

【0006】[0006]

【0007】また、グローバルネットワーク上のクライ
アント装置と、ローカルエリア上のサーバー装置との通
信における通信制御を行うためのプログラムを記録した
コンピュータ読み取り可能な記録媒体において、前記ク
ライアント装置から所定の処理要求が発行される前に、
前記サーバー装置からの指示に応答して、前記サーバー
装置のローカルアドレスおよびこのローカルアドレス内
のポート番号を、グローバルアドレスおよびこのグロー
バルアドレス内のポート番号に変換したものを、前記ロ
ーカルアドレスとこのローカルアドレス内のポート番号
に対応付けて蓄積する処理と、前記クライアント装置か
らの前記所定の処理要求を受信した場合、送られてきた
グローバルアドレスおよびこのグローバルアドレス内の
ポート番号とを、前記蓄積しておいた情報を参照して、
ローカルアドレスおよびこのローカルアドレス内のポー
ト番号に変換する処理と、前記サーバー装置が前記所定
の処理を完了した場合、サーバー装置のローカルアドレ
スおよびこのローカルアドレス内のポート番号とを、前
記蓄積しておいた情報を参照して、グローバルアドレス
およびこのグローバルアドレス内のポート番号に変換す
る処理と、前記サーバー装置のローカルアドレスおよび
このローカルアドレス内のポート番号と、これらを変換
したグローバルアドレスおよびこのグローバルアドレス
内のポート番号とを、前記所定の処理の識別子に対応付
けて蓄積する処理と、を含む処理を実行させるためのプ
ログラムを記録した記録媒体も提供される。
Further, in a computer-readable recording medium in which a program for controlling communication in communication between a client device on a global network and a server device on a local area is recorded, a predetermined processing request is issued from the client device. Before being issued
In response to an instruction from the server device, the local address of the server device and the port number in the local address are converted into a global address and a port number in the global address, and the local address and the local address are converted. Processing for accumulating in association with the port number in the internal address, and when the predetermined processing request from the client device is received, the global address sent and the port number in this global address are accumulated. See the information that
The process of converting the local address and the port number in the local address, and the local address of the server device and the port number in the local address when the server device completes the predetermined process are stored. Referring to have information, the process of converting to the port number of the global address and within the global address, local address of the server device and
Translates these port numbers in this local address
Global address and this global address
The port number in the above is associated with the identifier of the predetermined process.
There is also provided a recording medium in which a program for executing the processing including the processing for storing the information and the processing for storing the information is recorded.

【0008】なお、このような記録媒体としては、RO
M、半導体IC等の半導体記録媒体、DVDROM、C
DROM等の光記録媒体、フレキシブルディスク等の磁
気記録媒体、MO等の光磁気記録媒体等が挙げられる。
Incidentally, as such a recording medium, RO
M, semiconductor recording medium such as semiconductor IC, DVDROM, C
Examples thereof include an optical recording medium such as DROM, a magnetic recording medium such as a flexible disk, and a magneto-optical recording medium such as MO.

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照しつつ説明する。図1は、本発明の実施の形態の
通信制御装置1を含む通信システムの構成図である。こ
の通信制御装置1は、アドレスやそのポート番号が公開
されているグローバルネットワーク2と、アドレスやそ
のポート番号が通常非公開のローカルネットワーク3と
に接続されている。また、グローバルネットワーク2に
は所定の処理の実行を要求するいクライアント装置4が
接続され、一方、ローカルネットワーク3には要求され
た処理を実行してサービス応答するサーバー装置5が接
続されている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of a communication system including a communication control device 1 according to an embodiment of the present invention. The communication control device 1 is connected to a global network 2 whose address and its port number are open to the public, and a local network 3 whose address and its port number are normally closed. A client device 4 that requests execution of a predetermined process is connected to the global network 2, while a server device 5 that executes a requested process and responds to a service is connected to the local network 3.

【0009】ゲートウェイ機能を有する通信制御装置1
は、サービス管理装置11とアドレス変換装置12とを
有している。サービス管理装置11は、サービス名・サ
ービス識別子登録手段111と、サービス識別子解析手
段112と、ローカルアドレス通知手段113と、グロ
ーバルアドレス受信手段114と、グローバルサービス
識別子作成手段115と、サービス名・サービス識別子
蓄積装置116とを備えている。
Communication controller 1 having a gateway function
Has a service management device 11 and an address translation device 12. The service management device 11 includes a service name / service identifier registration means 111, a service identifier analysis means 112, a local address notification means 113, a global address reception means 114, a global service identifier creation means 115, and a service name / service identifier. And a storage device 116.

【0010】また、アドレス変換装置12は、命令中継
手段121と、アドレス変換手段122と、ローカルア
ドレス受信手段123と、グローバルアドレス作成手段
124と、アドレス蓄積装置125とを備えている。
The address translation device 12 also comprises an instruction relay means 121, an address translation means 122, a local address reception means 123, a global address creation means 124, and an address storage device 125.

【0011】サービス名・サービス識別子登録手段11
1は、ローカルネットワーク上のサーバー装置5から、
クライアント装置4からの所定の処理の要求が発行され
る前に、その処理のサービス名とサービス識別子の登録
要求を受け取る。なお、サービス識別子は、図3に示す
ようにヘッダ部とデータ部とからなっていて、そのヘッ
ダ部には、IPアドレスとポート番号とが含まれてい
る。サービス識別子解析手段112は、サービス名・サ
ービス識別子登録手段111が通知したサービス識別子
を解析して、サービス識別子からローカルネットワーク
のIPアドレスとポート番号とを取り出す。
Service name / service identifier registration means 11
1 is from the server device 5 on the local network,
Before a request for a predetermined process is issued from the client device 4, a registration request for a service name and a service identifier of the process is received. The service identifier is composed of a header part and a data part as shown in FIG. 3, and the header part includes an IP address and a port number. The service identifier analysis unit 112 analyzes the service identifier notified by the service name / service identifier registration unit 111, and extracts the IP address and port number of the local network from the service identifier.

【0012】ローカルアドレス通知手段113は、ロー
カルネットワークのIPアドレスとポート番号とをアドレ
ス変換装置12に通知する。グローバルアドレス受信手
段114は、グローバルネットワークのIPアドレスとポ
ート番号とをアドレス変換装置12から受信する。グロ
ーバルサービス識別子作成手段115は、サービス識別
子内のローカルネットワークのIPアドレスとポート番号
とを、グローバルネットワークの IPアドレスとポート
番号とに入れ替える。 サービス名・サービス識別子蓄
積装置116は、サービス名と、サービス識別子とを対
応付けて記憶する。
The local address notifying means 113 notifies the address translator 12 of the IP address and port number of the local network. The global address receiving means 114 receives the IP address and port number of the global network from the address translation device 12. The global service identifier creating means 115 replaces the IP address and port number of the local network in the service identifier with the IP address and port number of the global network. The service name / service identifier storage device 116 stores the service name and the service identifier in association with each other.

【0013】命令中継手段121は、グローバルネット
ワークとローカルネットワークとの間でサービス要求/
応答を中継する。アドレス変換手段122は、アドレス
変換装置12が中継するIPパケットのアドレス変換を行
う。ローカルアドレス受信手段123は、ローカルネッ
トワークのIPアドレスとポート番号とをサービス管理装
置11から受信する。グローバルアドレス作成手段12
4は、ローカルネットワークのIPアドレスとポート番号
とに対して、一意なグローバルネットワークのIPアドレ
スとポート番号を作成し割り当てる。アドレス蓄積装置
125は、グローバルネットワークのポート番号と、
ローカルネットワークのIPアドレスとポート番号とを対
応付けて記憶する。
The command relay unit 121 requests / services a service between the global network and the local network.
Relay the response. The address translation unit 122 translates the address of the IP packet relayed by the address translation device 12. The local address receiving means 123 receives the IP address and port number of the local network from the service management device 11. Global address creating means 12
4 creates and assigns a unique global network IP address and port number to the local network IP address and port number. The address storage device 125 uses the port number of the global network,
The IP address and the port number of the local network are stored in association with each other.

【0014】次に動作を説明する。なお、この通信制御
装置1自体のグローバルネットワーク上でのIPアドレ
スを「X」(アドレス変換装置12に設定されている)
として説明する。先ず、サーバー装置5から指令によっ
て、通信制御装置1は、クライアント装置4が所定の処
理の要求を発行する前に、サービス名・サービス識別子
登録手段111を起動させる。サービス名・サービス識
別子登録手段111は、サービス名とサービス識別子と
をグローバルサービス識別子作成手段115に渡すと共
に、サービス識別子をサービス識別子解析手段112に
受け渡す。サービス識別子解析手段112は、サービス
識別子を解析して得られたサーバー装置5のローカルネ
ットワーク上でのIPアドレスとポート番号とをローカル
アドレス通知手段113に渡す。
Next, the operation will be described. The IP address of the communication control device 1 itself on the global network is "X" (set in the address translation device 12).
As described below. First, in response to a command from the server device 5, the communication control device 1 activates the service name / service identifier registration means 111 before the client device 4 issues a request for a predetermined process. The service name / service identifier registration means 111 passes the service name and service identifier to the global service identifier creation means 115, and also passes the service identifier to the service identifier analysis means 112. The service identifier analyzing means 112 passes the IP address and the port number on the local network of the server device 5 obtained by analyzing the service identifier to the local address notifying means 113.

【0015】ローカルアドレス通知手段113は、サー
ビス識別子解析手段112より受け取ったIPアドレスと
ポート番号とを、アドレス変換装置12のローカルアド
レス受信手段123に受け渡す。ローカルアドレス受信
手段123は、ローカルアドレス通知手段113より受
け取ったIPアドレスとポート番号とをグローバルアドレ
ス作成手段124に受け渡す。
The local address notifying means 113 delivers the IP address and port number received from the service identifier analyzing means 112 to the local address receiving means 123 of the address translation device 12. The local address receiving means 123 delivers the IP address and the port number received from the local address notifying means 113 to the global address creating means 124.

【0016】グローバルアドレス作成手段124は、ロ
ーカルアドレス受信手段123より受け取ったIPアドレ
スとポート番号を、ローカルネットワーク上のアドレス
として解釈し、さらに、同一のローカルアドレスがアド
レス蓄積装置125に登録されているか否かを調べる。
同一のものがなければ、グローバルアドレス作成手段1
24は、ローカルネットワークのIPアドレス、ポート
番号に、一意な検索用番号(グローバルアドレス内のポ
ート番号)を与え、これらを対応付けてアドレス蓄積装
置125に記憶する。
The global address creating means 124 interprets the IP address and port number received from the local address receiving means 123 as an address on the local network, and whether the same local address is registered in the address storage device 125. Check whether or not.
If they are not the same, global address creating means 1
24 gives a unique search number (port number in the global address) to the IP address and port number of the local network, and stores them in the address storage device 125 in association with each other.

【0017】図4は、アドレス蓄積装置125の記憶状
態例の説明図である。この例によれば、グローバルアド
レス作成手段124は、ローカルネットワークのIPア
ドレス、ポート番号である「a」、「b」に、一意な検
索用番号(グローバルアドレス内のポート番号)である
「Y」を与え、これらを対応付けてアドレス蓄積装置1
25に記憶している。
FIG. 4 is an explanatory diagram of an example of the storage state of the address storage device 125. According to this example, the global address creating means 124 has a unique search number (port number in the global address) "Y" in the IP addresses and port numbers "a" and "b" of the local network. The address storage device 1
It is stored in 25.

【0018】また、グローバルアドレス作成手段124
は、アドレス蓄積装置125に登録されているローカル
アドレスに一致するものがあれば、そのローカルアドレ
スに割り当てられている検索用番号を取り出す。グロー
バルアドレス作成手段124は、この検索用番号をグロ
ーバルネットワーク用のポート番号(図4では「Y」)
とする。グローバルアドレス作成手段124は、アドレ
ス変換装置12のIPアドレス「X」と、このポート番号
「Y」を組み合わせたものをグローバルアドレス受信手
段114に通知する。
Further, global address creating means 124
If there is a match with the local address registered in the address storage device 125, the retrieval number assigned to the local address is retrieved. The global address creating means 124 uses the search number as the port number for the global network (“Y” in FIG. 4).
And The global address creating means 124 notifies the global address receiving means 114 of a combination of the IP address “X” of the address translation device 12 and the port number “Y”.

【0019】グローバルアドレス受信手段114は、グ
ローバルアドレス作成手段124が通知したローカルネ
ットワーク上のIPアドレスとポート番号とを、グローバ
ルサービス識別子作成手段115に受け渡す。グローバ
ルサービス識別子作成手段115は、サービス名・サー
ビス識別子登録手段111から通知された、ローカルネ
ットワーク上のサーバー装置5のIPアドレスとポート番
号とを、グローバルアドレス受信手段114より受け取
ったグローバルネットワークのIPアドレスとポート番号
とに置き換える。
The global address receiving means 114 delivers the IP address and port number on the local network notified by the global address creating means 124 to the global service identifier creating means 115. The global service identifier creating means 115 receives the IP address and the port number of the server device 5 on the local network notified from the service name / service identifier registering means 111 from the global address receiving means 114. And port number.

【0020】グローバルサービス識別子作成手段115
は、IPアドレスとポート番号が書き換わったサービス識
別子を、サービス名・サービス識別子登録手段111か
ら受け取ったサービス名と共に、サービス名・サービス
識別子蓄積装置116に記憶する。図5は、この記憶例
を示した説明図であり、サービス名「処理」と、グロ
バルアドレス「X」と、グローバルアドレス内のポート
番号「Y」とが対応付けて記憶されている。
Global service identifier creating means 115
Stores the service identifier in which the IP address and the port number are rewritten in the service name / service identifier storage device 116 together with the service name received from the service name / service identifier registration means 111. FIG. 5 is an explanatory diagram showing this storage example, in which the service name “process”, the global address “X”, and the port number “Y” in the global address are stored in association with each other.

【0021】次に、実際にクライアント装置4から所定
の処理の実行要求が発行された場合の動作について説明
する。グローバルネットワーク上のクライアント装置4
がサービス要求を行った場合、そのサービス要求はアド
レス変換装置12によって中継される。命令中継手段1
21は、そのサービス要求を受信し、サービス要求のア
ドレス変換をアドレス変換手段122に依頼する。アド
レス変換手段122は、そのサービス要求の送信先ポー
ト番号をキーにして、アドレス蓄積装置125からロー
カルネットワーク用のアドレスを検索する。そして、ア
ドレス変換手段122は、サービス要求の送信先IPアド
レスとポート番号とを、検索によって一致したローカル
ネットワーク用のアドレスに変換する。具体的には、ク
ライアント装置4からのサービス要求に、グローバルア
ドレス「X」、ポート番号「Y」との情報が含まれてい
れば、図4に示すように、これをローカルアドレス
「a」、ローカルアドレス内のポート番号「b」とす
る。
Next, the operation when the client device 4 actually issues a request to execute a predetermined process will be described. Client device 4 on the global network
Makes a service request, the service request is relayed by the address translation device 12. Command relay means 1
21 receives the service request and requests the address conversion means 122 to perform address conversion of the service request. The address conversion unit 122 searches the address storage device 125 for an address for the local network using the destination port number of the service request as a key. Then, the address translation unit 122 translates the destination IP address and the port number of the service request into the addresses for the local network that are matched by the search. Specifically, if the service request from the client device 4 includes the information of the global address “X” and the port number “Y”, as shown in FIG. The port number "b" in the local address.

【0022】命令中継手段121は、このローカルネッ
トワーク用のアドレスに変換されたサービス要求をロー
カルネットワーク3に送信する。そして、ローカルネッ
トワーク3上のサーバー装置5が処理を終了してサービ
ス応答を行った場合、そのサービス応答は、アドレス変
換装置12によって中継される。命令中継手段121
は、そのサービス応答を受信し、サービス応答の送信元
アドレスの変換をアドレス変換手段122に依頼する。
アドレス変換手段122は、サービス応答の送信元IPア
ドレスとポート番号をキーにして、アドレス蓄積装置1
25からグローバルネットワーク用のポート番号を検索
する。アドレス変換手段122は、検索によって一致し
たグローバルネットワーク用のポート番号と、アドレス
変換装置12のIPアドレスを送信元のIPアドレスとポー
ト番号に変換してグローバルネットワークに送信する。
具体的には、サーバー装置5からサービス応答に、ロー
カルアドレス「a」、ポート番号「b」の情報が含まれ
ていれば、図4に示すように、これをグローバルアドレ
ス「X」、グローバルアドレス内のポート番号「X」と
して、グローバルネットワーク2に情報を送信する。
The command relay means 121 sends the service request converted into the address for the local network to the local network 3. When the server device 5 on the local network 3 finishes the process and makes a service response, the service response is relayed by the address translation device 12. Command relay means 121
Receives the service response and requests the address translation means 122 to translate the source address of the service response.
The address conversion means 122 uses the source IP address and port number of the service response as keys to store the address storage device 1.
The port number for the global network is searched from 25. The address conversion unit 122 converts the port number for the global network that matches the search and the IP address of the address conversion device 12 into the IP address and the port number of the transmission source, and transmits the converted IP address to the global network.
Specifically, if the service response from the server device 5 includes the information of the local address "a" and the port number "b", as shown in FIG. 4, this is changed to the global address "X" and the global address. The information is transmitted to the global network 2 as the port number “X” in the above.

【0023】したがって、この実施の形態によれば、ク
ライアント装置4から所定の処理要求が発行される前
に、換言すれば、コネクション確立前に、サーバー装置
5からの指示に応答して、サーバー装置5のローカルア
ドレスおよびこのローカルアドレス内のポート番号を、
グローバルアドレスおよびこのグローバルアドレス内の
ポート番号に変換したものを、ローカルアドレスとこの
ローカルアドレス内のポート番号に対応付けてアドレス
蓄積装置125に蓄積しておく。このため、以降のロー
カル・グローバル間のアドレスやポート番号の変換が自
動的に行える。つまり、非公開のローカルアドレスやポ
ート番号が設定されたサーバ装置に対しても、コネクシ
ョン確立が自動的に行える。
Therefore, according to this embodiment, the server device 5 responds to the instruction from the server device 5 before the predetermined processing request is issued from the client device 4, in other words, before the connection is established. 5 local address and port number in this local address,
The global address and the port number in the global address are stored in the address storage device 125 in association with the local address and the port number in the local address. Therefore, the subsequent conversion of addresses and port numbers between local and global can be performed automatically. In other words, the connection can be automatically established even for the server device to which the private local address or port number is set.

【0024】また、これにより、グローバルネットワー
ク用に公開されるポート番号をキーにして一意なローカ
ルアドレスが特定できるので、グローバルネットワーク
のIPアドレスを複数使用する必要がない。
Further, as a result, since a unique local address can be specified by using the port number disclosed for the global network as a key, it is not necessary to use a plurality of IP addresses of the global network.

【0025】次に他の実施形態について説明する。この
実施形態は、グローバルサービス識別子作成手段115
は、サーバー装置5からのローカルアドレスおよびポー
ト番号をサービス名と対応付けて記憶すると共に、これ
らのローカルアドレスおよびそのポート番号をグローバ
ルアドレスおよびそのポート番号に変換したものも前記
サービス名に対応付けて記憶してサービス名・サービス
識別子蓄積装置116に蓄積させるようにする。この蓄
積例を図6に示す。
Next, another embodiment will be described. In this embodiment, the global service identifier creating means 115.
Stores the local address and port number from the server device 5 in association with the service name, and also converts these local address and port number into a global address and its port number in association with the service name. It is stored and stored in the service name / service identifier storage device 116. An example of this accumulation is shown in FIG.

【0026】サービス名・サービス識別子蓄積装置11
6に蓄積されるサービス識別子は、グローバルネットワ
ーク用、ローカルネットワーク用の2つとなる。したが
って、クライアント装置がサービス識別子を要求した
時、要求元クライアントのアドレスを判定し、ローカル
ネットワーク内からの要求なら、ローカルネットワーク
用のサービス識別子を、一方、グローバルネットワーク
からの要求なら、グローバルネットワーク用 のサービ
ス識別子を返す。これにより、ローカルネットワークに
あるクライアント装置が、サーバー装置にアクセスでき
る。
Service name / service identifier storage device 11
There are two service identifiers stored in 6 for the global network and the local network. Therefore, when the client device requests the service identifier, the address of the requesting client is determined, and if the request is from within the local network, the service identifier for the local network is used. Returns the service identifier. This allows the client device on the local network to access the server device.

【0027】したがって、この他の実施形態によれば、
サーバー装置5は、ローカルネットワーク3およびグロ
ーバルネットワーク2の双方のネットワーク上のアドレ
ス、ポート番号を用いて、ローカルネットワーク上およ
びグローバルネットワーク上の双方の装置に対して通信
を行うことができる。
Therefore, according to this other embodiment,
The server device 5 can communicate with both devices on the local network and the global network by using addresses and port numbers on both the local network 3 and the global network 2.

【0028】また、図2に示す装置は、その動作手順を
プログラム化したものをROM等に記憶しておいて、こ
れをCPUが実行するようにして実現することができ
る。
The apparatus shown in FIG. 2 can be realized by storing a program in which the operating procedure is programmed in a ROM or the like and executing this by the CPU.

【0029】以上本発明の実施の形態について説明した
きたが、本発明の要旨を逸脱しない範囲内において、本
発明の実施の形態に対して種々の変形や変更を施すこと
ができ、例えば、アドレス変換装置12と、サービス管
理装置11とを別々の装置内に配置する構成として負荷
分散を行う、等の種々の変形や変更が挙げられる。
Although the embodiments of the present invention have been described above, various modifications and changes can be made to the embodiments of the present invention without departing from the scope of the present invention. There are various modifications and changes such as load balancing as a configuration in which the conversion device 12 and the service management device 11 are arranged in separate devices.

【発明の効果】以上説明してきたように、本発明によれ
ば、クライアント装置から所定の処理要求が発行される
前に、換言すれば、コネクション確立前に、サーバー装
置からの指示に応答して、サーバー装置のローカルアド
レスおよびこのローカルアドレス内のポート番号を、グ
ローバルアドレスおよびこのグローバルアドレス内のポ
ート番号に変換したものを、ローカルアドレスとこのロ
ーカルアドレス内のポート番号に対応付けて蓄積してお
くため、非公開のローカルアドレスやポート番号が設定
されたサーバ装置に対しても、コネクション確立が自動
的に行えるという効果が得られる。
As described above, according to the present invention, in response to an instruction from the server device before a predetermined processing request is issued from the client device, in other words, before the connection is established. , The local address of the server device and the port number in this local address are converted into the global address and the port number in this global address, and are stored in association with the local address and the port number in this local address. Therefore, it is possible to automatically establish a connection even for a server device to which a private local address or port number is set.

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

【図1】本発明の通信制御装置を含む通信システムの構
成図である。
FIG. 1 is a configuration diagram of a communication system including a communication control device of the present invention.

【図2】本発明の実施の形態の通信制御装置のブロック
構成図である。
FIG. 2 is a block configuration diagram of a communication control device according to the embodiment of the present invention.

【図3】サービス識別子説明図である。FIG. 3 is an explanatory diagram of service identifiers.

【図4】アドレス蓄積装置125の蓄積内容の説明図で
ある。
FIG. 4 is an explanatory diagram of contents stored in an address storage device 125.

【図5】サービス名・サービス識別子蓄積装置116の
蓄積内容の説明図である。
FIG. 5 is an explanatory diagram of contents stored in a service name / service identifier storage device 116.

【図6】他の実施形態の説明図である。FIG. 6 is an explanatory diagram of another embodiment.

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

1 通信制御装置 2 グローバルネットワーク 3 ローカルネットワーク 4 クライアント装置 5 サーバー装置 11 サービス管理装置 12 アドレス変換装置 111 サービス名・サービス識別子登録手段 112 サービス識別子解析手段 113 ローカルアドレス通知手段 114 グローバルアドレス受信手段 115 グローバルサービス識別子作成手段 116 サービス名・サービス識別子蓄積装置 121 命令中継手段 122 アドレス変換手段 123 ローカルアドレス受信手段 124 グローバルアドレス作成手段 125 アドレス蓄積装置 1 Communication control device 2 Global network 3 local network 4 Client device 5 Server device 11 Service management device 12 Address translator 111 Service name / service identifier registration means 112 Service Identifier Analyzing Means 113 means for notifying local address 114 Global address receiving means 115 Global Service Identifier Creating Means 116 Service name / service identifier storage device 121 Command relay means 122 address conversion means 123 means for receiving local address 124 Global address creation means 125 address storage device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平8−263413(JP,A) 特開2000−59416(JP,A) K. Egevang,et.a l.,The IP Network Address Translator (NAT),RFC 1631,米国,I ETF,1994年 5月,p2−3 P.Srisuresh, et.a l.,Load Sharing us ing IP Network Add ress Translation (LSNAT),RFC 2391,IET F,1998年 8月,p8−9 (58)調査した分野(Int.Cl.7,DB名) H04L 12/66 H04L 12/28 H04L 29/08 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-8-263413 (JP, A) JP-A-2000-59416 (JP, A) K. Egevang, et. a. , The IP Network Address Translator (NAT), RFC 1631, USA, IETF, May 1994, p2-3P. Srisuresh, et. a. , Road Sharing using IP Network Addition Translation (LSNAT), RFC 2391, IETF, August 1998, p8-9 (58) Fields investigated (Int.Cl. 7 , DB name) H04L 12/66 H04L 12 / 28 H04L 29/08

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 グローバルネットワーク上のクライアン
ト装置と、ローカルエリア上のサーバー装置との通信に
用いられる装置において、 前記クライアント装置から所定の処理要求が発行される
前に、前記サーバー装置からの指示に応答して、前記サ
ーバー装置のローカルアドレスおよびこのローカルアド
レス内のポート番号を、グローバルアドレスおよびこの
グローバルアドレス内のポート番号に変換したものを、
前記ローカルアドレスとこのローカルアドレス内のポー
ト番号に対応付けて蓄積する手段と、 前記クライアント装置からの前記所定の処理要求を受信
した場合、送られてきたグローバルアドレスおよびこの
グローバルアドレス内のポート番号とを、前記蓄積して
おいた情報を参照して、ローカルアドレスおよびこのロ
ーカルアドレス内のポート番号に変換する手段と、 前記サーバー装置が前記所定の処理を完了した場合、サ
ーバー装置のローカルアドレスおよびこのローカルアド
レス内のポート番号を、前記蓄積しておいた情報を参照
して、グローバルアドレスおよびこのグローバルアドレ
ス内のポート番号に変換する手段と、前記サーバー装置のローカルアドレスおよびこのローカ
ルアドレス内のポート番号と、 これらを変換したグローバルアドレスおよびこのグロー
バルアドレス内のポート番号とを、前記所定の処理の識
別子に対応付けて蓄積する手段と、 を備えたことを特徴
とする通信制御装置。
1. A device used for communication between a client device on a global network and a server device on a local area, wherein an instruction from the server device is given before a predetermined processing request is issued from the client device. In response, the local address of the server device and the port number within this local address are converted into a global address and a port number within this global address,
Means for storing the local address in association with the port number in the local address; and, when receiving the predetermined processing request from the client device, the global address sent and the port number in the global address. With reference to the accumulated information, a means for converting the local address and a port number in the local address, and when the server device completes the predetermined processing, the local address of the server device and the local address A means for converting a port number in a local address into a global address and a port number in the global address by referring to the accumulated information, and a local address of the server device and this local device.
Port numbers in the global address, the translated global address and this glow
The port number in the global address is used to identify the specified process.
Characterized by comprising a means for storing in association with the Besshi, the
A communication control device to.
【請求項2】 グローバルネットワーク上のクライアン
ト装置と、ローカルエリア上のサーバー装置との通信に
おける通信制御を行うためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体において、 前記クライアント装置から所定の処理要求が発行される
前に、前記サーバー装置からの指示に応答して、前記サ
ーバー装置のローカルアドレスおよびこのローカルアド
レス内のポート番号を、グローバルアドレスおよびこの
グローバルアドレス内のポート番号に変換したものを、
前記ローカルアドレスとこのローカルアドレス内のポー
ト番号に対応付けて蓄積する処理と、 前記クライアント装置からの前記所定の処理要求を受信
した場合、送られてきたグローバルアドレスおよびこの
グローバルアドレス内のポート番号とを、前記蓄積して
おいた情報を参照して、ローカルアドレスおよびこのロ
ーカルアドレス内のポート番号に変換する処理と、 前記サーバー装置が前記所定の処理を完了した場合、サ
ーバー装置のローカルアドレスおよびこのローカルアド
レス内のポート番号を、前記蓄積しておいた情報を参照
して、グローバルアドレスおよびこのグローバルアドレ
ス内のポート番号に変換する処理と、 前記サーバー装置のローカルアドレスおよびこのローカ
ルアドレス内のポート番号と、 これらを変換したグローバルアドレスおよびこのグロー
バルアドレス内のポート番号とを、前記所定の処理の識
別子に対応付けて蓄積する処理と、を含む処理を実行さ
せるためのプログラムを記録した記録媒体
2. A client on a global network
Communication between the server device and the server device in the local area.
A computer that records a program for controlling communication in
In a computer-readable recording medium , the client device issues a predetermined processing request.
Before responding to the instruction from the server device,
Server device local address and this local address
Port number within the global address and this
Converted to the port number in the global address,
The local address and the port within this local address
A process of storing the data in association with a client number and receiving the predetermined process request from the client device.
If you do, the global address sent to you and this
The port number in the global address and the
Refer to the information you provided to find the local address and this
If the server device completes the process of converting to the port number in the local address and the predetermined process,
Server device local address and this local address
For the port number in the reply, refer to the information accumulated above
The global address and this global address.
Conversion to the port number in the server, the local address of the server device and this local
Port numbers in the global address, the translated global address and this glow
The port number in the global address is used to identify the specified process.
A process that includes the process of associating with another child and storing
A recording medium on which a program for recording is recorded .
JP2000127562A 2000-04-27 2000-04-27 Communication control device and recording medium Expired - Fee Related JP3509848B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000127562A JP3509848B2 (en) 2000-04-27 2000-04-27 Communication control device and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000127562A JP3509848B2 (en) 2000-04-27 2000-04-27 Communication control device and recording medium

Publications (2)

Publication Number Publication Date
JP2001308934A JP2001308934A (en) 2001-11-02
JP3509848B2 true JP3509848B2 (en) 2004-03-22

Family

ID=18637139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000127562A Expired - Fee Related JP3509848B2 (en) 2000-04-27 2000-04-27 Communication control device and recording medium

Country Status (1)

Country Link
JP (1) JP3509848B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040006573A1 (en) * 2001-06-18 2004-01-08 Nomura Takashi Data transmission apparatus, data transmission method, and data transmission method program
AU2002330471A1 (en) * 2002-09-02 2004-03-29 Allied Telessis Holdings K.K. Relay equipment, communication system, communication method, and program
JP3797344B2 (en) 2002-10-11 2006-07-19 オンキヨー株式会社 Server client system
FR2865335A1 (en) * 2004-01-16 2005-07-22 France Telecom Internal and external internet protocol terminals communication system, has control server that is provided in public IP network and that controls mediation system via communication channel passing via firewall
JP2008226039A (en) * 2007-03-14 2008-09-25 Nippon Telegr & Teleph Corp <Ntt> INTERNET STORAGE NAME SERVICE (iSNS) METHOD, SERVER AND PROGRAM

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
K. Egevang,et.al.,The IP Network Address Translator (NAT),RFC 1631,米国,IETF,1994年 5月,p2−3
P.Srisuresh, et.al.,Load Sharing using IP Network Address Translation (LSNAT),RFC 2391,IETF,1998年 8月,p8−9

Also Published As

Publication number Publication date
JP2001308934A (en) 2001-11-02

Similar Documents

Publication Publication Date Title
US6163843A (en) Packet inspection device, mobile computer and packet transfer method in mobile computing with improved mobile computer authenticity check scheme
JP4382328B2 (en) Secure storage system
JP3651721B2 (en) Mobile computer device, packet processing device, and communication control method
JP4505168B2 (en) Packet network interfacing
JP3327225B2 (en) Network address translator and recording medium thereof
JP4327408B2 (en) Virtual private volume system and system
JP4075318B2 (en) Protocol conversion method and address conversion server
US6813715B2 (en) Method for accessing home-network using home-gateway and home-portal server and apparatus thereof
JP3760767B2 (en) Network management apparatus and network management method
JP3411159B2 (en) Mobile computer support system
JP4482601B2 (en) Preventing duplicate sources from clients handled by network address port translators
US7734819B1 (en) Apparatus and methods for forwarding data between public networks via a private network
JP5790775B2 (en) Routing method and network transmission apparatus
US20090016360A1 (en) Storage media storing a network relay control program, apparatus, and method
JP4077351B2 (en) Name / address converter
JP2007527068A (en) Address and port number abstraction when setting up a connection between at least two computing devices
JP3736173B2 (en) Network management system
KR100522600B1 (en) Router for providing linkage with mobile node, and the method thereof
JP3509848B2 (en) Communication control device and recording medium
US7447162B1 (en) Methods and apparatus for anchoring of mobile nodes using DNS
CN116248595B (en) Method, device, equipment and medium for communication between cloud intranet and physical network
WO2015025848A1 (en) Communication system, control instruction device, communication control method, and program
JPH10154994A (en) Address conversion system
JP4191180B2 (en) Communication support device, system, communication method, and computer program
JP2004158973A (en) Packet relaying apparatus

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031223

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

Free format text: PAYMENT UNTIL: 20080109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees