JP2009088721A - Inter-network communicating method, notification device, program, and recording medium - Google Patents
Inter-network communicating method, notification device, program, and recording medium Download PDFInfo
- Publication number
- JP2009088721A JP2009088721A JP2007252844A JP2007252844A JP2009088721A JP 2009088721 A JP2009088721 A JP 2009088721A JP 2007252844 A JP2007252844 A JP 2007252844A JP 2007252844 A JP2007252844 A JP 2007252844A JP 2009088721 A JP2009088721 A JP 2009088721A
- Authority
- JP
- Japan
- Prior art keywords
- address
- network
- information
- communication device
- communication
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、ネットワークを通じた通信技術に関し、特に、異なるネットワークに接続された通信装置間で行われるネットワーク間通信技術に関する。 The present invention relates to a communication technology through a network, and more particularly, to an inter-network communication technology performed between communication devices connected to different networks.
社内LANなどのプライベートネットワークに接続された複数の通信装置がグローバルアドレス(IPアドレス)を共用し、インターネットに接続された通信装置と通信を行うための技術としてNAT(Network Address Translation)やNAPT(Network Address Port Translation)がある(例えば、非特許文献1参照)。NATやNAPTでは、プライベートネットワークとインターネットとをブロードバンドルータ等のNAT装置やNAPT装置を介して接続し、NAT装置やNAPT装置がプライベートアドレスとグローバルアドレスとの間のアドレス変換を行なうことにより、プライベートネットワークとインターネットとのネットワーク間通信を可能としている。
As a technology for multiple communication devices connected to a private network such as an in-house LAN to share a global address (IP address) and communicate with a communication device connected to the Internet, NAT (Network Address Translation) or NAPT (Network Address Port Translation) (see Non-Patent
また、次世代のインターネットプロトコルにIPv6(Internet Protocol Version 6)がある(例えば、非特許文献2参照)。IPv6では、グローバルアドレスのビット長が128bitあり、ビット長が32bitしかない従来のIPv4に比べ格段に大きなアドレス空間を確保できる。そのため、IPv6では、プライベートネットワーク内のアドレスとインターネット内のアドレスとを一元的に管理することができる。例えば、IPv6のグローバルアドレスの前半64bitのアドレス情報(プレフィックス)を各プライベートネットワークに割り当て、後半64bitのアドレス情報(インタフェースID)をプライベートネットワーク内の各通信装置に割り当てる管理が可能である。この場合、アドレス変換を行うことなく、プライベートネットワークとインターネットとのネットワーク間通信を行うことができる。
従来、特定のプライベートネットワーク内の第1通信装置が、その特定のプライベートネットワーク外の第2通信装置にアクセスし、さらにその第2通信装置が、第1通信装置に対し、第2通信装置が定める、その特定のプライベートネットワーク内の第3通信装置にアクセスさせる場合、第2通信装置は、特定のプライベートネットワーク内のすべての通信装置がその特定のプライベートネットワーク外の通信装置と通信する際に共有するアドレスと、第3通信装置に個別に割り当てられたアドレスと、の両方を既知でなければならない。 Conventionally, a first communication device in a specific private network accesses a second communication device outside the specific private network, and the second communication device defines the second communication device with respect to the first communication device. When the third communication device in the specific private network is accessed, the second communication device is shared when all communication devices in the specific private network communicate with communication devices outside the specific private network. Both the address and the address individually assigned to the third communication device must be known.
ここで、その特定のプライベートネットワークで共有されるアドレスは、第1通信装置も使用するアドレスであるため、第1通信装置がこのアドレスを第2通信装置に通知するのは容易である。これに対し、第1通信装置は、第3通信装置に個別に割り当てられたアドレスを知らない場合があり、この場合、第1通信装は、第3通信装置に個別に割り当てられたアドレスを、第2通信装置に送信することができない。
このような状況は、第1通信装置と第3通信装置がプライベートネットワーク内に存在し、第2通信装置がインターネット等のワイドエリアネットワーク内に存在する場合のみならず、第1通信装置と第3通信装置が第1ネットワーク内に存在し、第2通信装置が第2ネットワーク内に存在し、第1ネットワーク内では第1通信装置と第3通信装置に個別にアドレスが割り当てられているが、第2通信装置からは第1通信装置および第3通信装置がアドレスを共用しているように認識される環境であれば起こり得る。
Here, since the address shared by the specific private network is an address used also by the first communication device, it is easy for the first communication device to notify the second communication device of this address. On the other hand, the first communication device may not know the address individually assigned to the third communication device. In this case, the first communication device uses the address individually assigned to the third communication device, It cannot be transmitted to the second communication device.
Such a situation is not only the case where the first communication device and the third communication device exist in the private network and the second communication device exists in a wide area network such as the Internet, but also the first communication device and the third communication device. The communication device exists in the first network, the second communication device exists in the second network, and addresses are individually assigned to the first communication device and the third communication device in the first network. This can occur in an environment where the first communication device and the third communication device are recognized as sharing addresses from the two communication devices.
本発明はこのような点に鑑みてなされたものであり、第1ネットワーク内の第1通信装置が、第2ネットワーク内の第2通信装置にアクセスし、さらにその第2通信装置が、第1通信装置に対し、第2通信装置が定める、その特定のプライベートネットワーク内の第3通信装置にアクセスさせるといったネットワーク間通信を、第1通信装置が第3通信装置に個別に割り当てられたアドレスを知ることなく実行できる技術を提供することを目的とする。 The present invention has been made in view of such a point, and the first communication device in the first network accesses the second communication device in the second network, and the second communication device further includes the first communication device. For the communication device, the first communication device knows the address assigned to the third communication device for inter-network communication such as allowing the communication device to access the third communication device in the specific private network determined by the second communication device. An object is to provide a technique that can be executed without any problems.
本発明では上記課題を解決するために、まず、第1ネットワーク内の通信装置毎に割り当てられた第1アドレスと、第1ネットワーク内の通信装置に共用される第2ネットワーク内のアドレス情報である第2アドレスと、を通信装置毎に対応付けたアドレス対応付けテーブルを、第1ネットワーク外の第2ネットワーク内に接続された通知装置の記憶部に格納する(アドレス対応付けテーブル格納過程)。次に、通知装置の検索部に、第1ネットワーク内の第1通信装置から第2ネットワークを通じて送信された第1情報の送信元の第2アドレスが入力され、当該検索部が、入力された第2アドレスを用いてアドレス対応付けテーブルを検索し、当該第2アドレスに対応付けられた第1アドレスを抽出する(検索過程)。そして、第2ネットワーク内の第2通信装置の送信部が、検索過程で抽出された第1アドレスを含む第2情報を、第2ネットワークを通じて送信する(第2情報送信過程)。これにより、この第1アドレスによって宛先が特定される第3通信装置へのアクセスが可能となる。 In the present invention, in order to solve the above problems, first, the first address assigned to each communication device in the first network and the address information in the second network shared by the communication devices in the first network are provided. An address association table in which the second address is associated with each communication device is stored in the storage unit of the notification device connected in the second network outside the first network (address association table storage process). Next, the second address of the transmission source of the first information transmitted from the first communication device in the first network through the second network is input to the search unit of the notification device. The address association table is searched using the two addresses, and the first address associated with the second address is extracted (search process). Then, the transmission unit of the second communication device in the second network transmits the second information including the first address extracted in the search process through the second network (second information transmission process). This enables access to the third communication device whose destination is specified by the first address.
以上のように、本発明では、第1ネットワーク内の第1通信装置が、第2ネットワークに存在する第2通信装置にアクセスし、さらにその第2通信装置が、第1通信装置に対し、第2通信装置が定める、その特定のプライベートネットワーク内の第3通信装置にアクセスさせるといったネットワーク間通信を、第1通信装置が第3通信装置に個別に割り当てられたアドレスを知ることなく実行できる。 As described above, in the present invention, the first communication device in the first network accesses the second communication device existing in the second network, and the second communication device further The communication between networks, which is determined by the two communication devices and allows the third communication device in the specific private network to be accessed, can be executed without knowing the address individually assigned to the third communication device by the first communication device.
以下、本発明を実施するための最良の形態を図面を参照して説明する。
〔第1実施形態〕
まず、本発明における第1実施形態を説明する。
本形態は、NAPTを用いたネットワーク間通信に本発明を適用した例である。本形態では、第1ネットワークとしてLAN等のプライベートネットワークを利用し、第2ネットワークとしてインターネット等のワイドエリアネットワークを利用する。また、第1アドレスとしてワイドエリアネットワーク内のグローバルアドレスを用い、第2アドレスとしてプライベートネットワーク内のプライベートアドレスを用いる。なお、グローバルアドレスやプライベートアドレスには、例えば、IPv4に準拠したIPアドレスを用いる。また、プライベートアドレスとしてMAC(Media Access Control)アドレス等の固有情報を用いてもよい。また、第1通信装置として通信機能を具備するパーソナルコンピュータ(以下「PC」)を用い、第2通信装置及び通知装置として、それらを兼用するサーバ装置を用い、第3通信装置として携帯電話を用いる。
The best mode for carrying out the present invention will be described below with reference to the drawings.
[First Embodiment]
First, a first embodiment in the present invention will be described.
This embodiment is an example in which the present invention is applied to communication between networks using NAPT. In this embodiment, a private network such as a LAN is used as the first network, and a wide area network such as the Internet is used as the second network. A global address in the wide area network is used as the first address, and a private address in the private network is used as the second address. For the global address and private address, for example, an IP address conforming to IPv4 is used. In addition, unique information such as a MAC (Media Access Control) address may be used as a private address. Also, a personal computer (hereinafter referred to as “PC”) having a communication function is used as the first communication device, a server device that also serves as the second communication device and the notification device is used, and a mobile phone is used as the third communication device. .
<構成>
図1は、第1実施形態の通信システム1の全体構成を示したブロック図である。また、図2(a)は、図1のPC10の機能構成を示したブロック図であり、図2(b)は、図1のサーバ装置20の機能構成を示した図であり、図2(c)は、図1の携帯電話30の機能構成を示した図である。また、図3は、図1のNAPT装置40の機能構成を示した図である。なお、以下において、共通する部分については同じ符号を用い、重複説明を省略する。
<Configuration>
FIG. 1 is a block diagram illustrating an overall configuration of a
図1に例示するように、本形態の通信システム1は、PC10(第1通信装置)と、サーバ装置20(第2通信装置/通知装置)と、携帯電話30(第3通信装置)と、NAPT装置40(接続装置)とを有する。ここで、PC10及び携帯電話30は、プライベートネットワーク2(第1ネットワーク)内に存在し、サーバ装置20は、ワイドエリアネットワーク3(第2ネットワーク)内に存在する。そして、PC10及び携帯電話30は、NAPT装置40を介してサーバ装置20に接続可能に構成されている。なお、図1では説明の簡略化のため、NAPT装置40によってワイドエリアネットワーク3に接続された1つのプライベートネットワーク2のみを示しているが、同様なプライベートネットワーク2が複数存在し、それぞれのプライベートネットワーク2内にPC10及び携帯電話30が存在する構成であってもよい。
As illustrated in FIG. 1, the
また、図2(a)に例示するように、本形態のPC10は、送信部11と、受信部12と、通信処理部14と、記憶部15と、PC10を制御する制御部17とを有する。なお、PC10は、LANカード等の通信装置やCPU(Central Processing Unit)やRAM(Random Access Memory)を備えた公知のコンピュータに所定のWebブラウザ等のプログラムが読み込まれることによって構築され、プライベートネットワーク2内での通信やNAPT装置40を通じたワイドエリアネットワーク3との通信が可能なように構成される。
Further, as illustrated in FIG. 2A, the PC 10 of this embodiment includes a transmission unit 11, a reception unit 12, a communication processing unit 14, a storage unit 15, and a control unit 17 that controls the PC 10. . The PC 10 is constructed by reading a program such as a predetermined Web browser into a known computer having a communication device such as a LAN card, a CPU (Central Processing Unit), and a RAM (Random Access Memory), and the
また、図2(b)に例示するように、本形態のサーバ装置20は、送信部21と、受信部22と、登録処理部23と、通信処理部24と、記憶部25と、検索部26と、サーバ装置20を制御する制御部27とを有する。なお、サーバ装置20は、ワイドエリアネットワーク3との通信が可能な通信装置やCPUやRAMを備えた公知のコンピュータに所定のプログラムが読み込まれることによって構築される。
Further, as illustrated in FIG. 2B, the
また、図2(c)に例示するように、本形態の携帯電話30は、送信部31と、受信部32と、登録処理部33と、通信処理部34と、記憶部35と、携帯電話30を制御する制御部37とを有する。なお、本形態の携帯電話30は、プライベートネットワーク2内での通信やNAPT装置40を通じたワイドエリアネットワーク3との通信を行う機能を具備し、また、プライベートネットワーク2内の他の通信装置から送信されたリクエスト(例えば、HTTPリクエスト)に応答するサーバ機能を具備する。このような機能を具備する携帯電話としては、例えば「FOMA(登録商標) M1000 | 製品 | NTTドコモ」(参考文献1:http://www.nttdocomo.co.jp/product/related/archive/business_model/m1000/)を例示できる。そして、携帯電話30はCPUやRAM等を具備し、そのCPUに所定のプログラムが読み込まれることによって図2(c)に示す機能構成が構築される。なお、送信部31と受信部32とは、移動網(移動体通信網)への接続手段ではなく、プライベートネットワークへの接続手段である。実際は、移動網(移動体通信網)への接続手段も存在するが、図面ではその記載を省略する。
As illustrated in FIG. 2C, the
また、本形態のNAPT装置40は、プライベートネットワーク2とワイドエリアネットワーク3とを接続するブロードバンドルータ等である。図3に例示するように、本形態のNAPT装置40は、プライベートネットワーク2に接続される送信部41及び受信部42と、ワイドエリアネットワーク3に接続される送信部43及び受信部44と、通信処理部45と、記憶部46と、制御部47とを有する。
The
<処理>
次に、本形態のネットワーク間通信方法について説明する。なお、以下の処理の前提として、プライベートネットワーク2内でPC10に個別に割り当てられたPC10のプライベートアドレス(第1アドレス)がPC10の記憶部15に格納され(図2(a))、プライベートネットワーク2内で携帯電話30に個別に割り当てられた携帯電話30のプライベートアドレス(第1アドレス)が携帯電話30の記憶部35に格納されている(図2(c))ものとする。また、ワイドエリアネットワーク3内でNAPT装置40に個別に割り当てられたグローバルアドレス(第2アドレス)がNAPT装置40の記憶部46に格納されているものとする(図3)。なお、本来、NAPT装置40はアドレス変換とポート番号変換とを行うが、以下ではポート番号変換についての説明を省略する。
<Processing>
Next, the inter-network communication method of this embodiment will be described. As a premise of the following processing, the private address (first address) of the
[登録処理]
まず、本形態のネットワーク間通信の事前準備として必要な登録処理を説明する。
図5は、第1実施形態の登録処理を説明するためのシーケンス図である。以下、図5に従い、本形態の登録処理を説明する。
まず、携帯電話30の登録処理部33が、記憶部35から携帯電話30のプライベートアドレスを読み込み、ヘッダ情報に携帯電話30のプライベートアドレスを含み、ペイロード情報に登録要求を含む登録要求情報を生成し、通信処理部34に送る。通信処理部34は、この登録要求情報を送信部31からプライベートネットワーク2を通じてNAPT装置40に送信する(ステップS1)。なお、登録要求情報のヘッダ情報には、サーバ装置20のグローバルアドレスやポート番号等も含まれるがここでは説明を省略する。また、登録要求情報の送信は、例えばHTTPリクエストとして行われる。
[registration process]
First, registration processing necessary as preparation for inter-network communication according to this embodiment will be described.
FIG. 5 is a sequence diagram for explaining the registration processing of the first embodiment. Hereinafter, the registration processing of this embodiment will be described with reference to FIG.
First, the
登録要求情報は、NAPT装置40(図3)の受信部42に受信され、通信処理部45に送られる。通信処理部45は、登録要求情報のアドレス変換を行い、ヘッダ情報に記憶部46から読み込んだグローバルアドレス(第2アドレス)を送信元アドレスとして含み、ペイロード情報に携帯電話30のプライベートアドレス(第1アドレス)と登録要求とを含む登録要求情報を生成する。この過程で、記憶部46には、登録要求情報のヘッダ情報が具備していた携帯電話30のプライベートアドレス(第1アドレス)と、新たに登録要求情報のヘッダ情報とされたグローバルアドレス(第2アドレス)とが対応付けられる。アドレス変換された登録要求情報は、NAPT装置40の送信部43からワイドエリアネットワーク3を通じてサーバ装置20に送信され(登録要求送信過程/ステップS2)、サーバ装置20(図2(b))の受信部22で受信される(登録要求受信過程/ステップS3)。
The registration request information is received by the receiving unit 42 of the NAPT device 40 (FIG. 3) and sent to the communication processing unit 45. The communication processing unit 45 performs address conversion of the registration request information, includes the global address (second address) read from the
受信された登録要求情報は、通信処理部24を介して登録処理部23に送られ、登録処理部23は、登録要求情報のペイロード情報が有する携帯電話30のプライベートアドレス(第1アドレス)と、ヘッダ情報が有する送信元のグローバルアドレス(第2アドレス)とを対応付けたアドレス対応付けテーブル25aを、サーバ装置20の記憶部25に格納する(アドレス対応付けテーブル格納過程/ステップS4)。
図4(a)は、送信元のグローバルアドレス(第2アドレス)と、携帯電話30のプライベートアドレス(第1アドレス)と、が対応付けられたアドレス対応付けテーブル25aの具体例を示した図である。図4(a)の例では、送信元のグローバルアドレス「129.60.2.1」「129.60.2.2」「129.60.2.3」に対し、それぞれ、携帯電話のプライベートアドレス「192.168.1.3」「192.168.0.1」「192.168.1.1」が対応付けられている。
The received registration request information is sent to the
FIG. 4A is a diagram showing a specific example of the address association table 25a in which the global address (second address) of the transmission source and the private address (first address) of the
その後、通信処理部24は、登録要求情報のヘッダ情報が有する送信元のグローバルアドレスを宛先アドレスとした応答情報を、送信部21からNAPT装置40に送信する(ステップS5)。なお、この応答情報の送信は、例えばHTTPレスポンスとして行われる。
送信された応答情報は、NAPT装置40の受信部44で受信されて通信処理部45に送られる。通信処理部45は、記憶部46に格納されたアドレスの対応付けを用いて応答情報のアドレス変換を行い(ステップS6)、アドレス変換した応答情報を送信部41から携帯電話30に送信する。そして、携帯電話30の受信部32がこの応答情報を受信し、登録処理が終了する(ステップS7)。
Thereafter, the
The transmitted response information is received by the receiving unit 44 of the
なお、以上の登録処理は、任意の頻度で任意のタイミングで実行してもかまわないが、携帯電話30(第3通信装置)がプライベートネットワーク2(第1ネットワーク)に初めて接続される際、又は、携帯電話30(第3通信装置)がプライベートネットワーク2(第1ネットワーク)に接続されるたび、又は、携帯電話30(第3通信装置)に新たなプライベートアドレス(第1アドレス)が割り当てられるたびに実行されることが望ましい。これにより、最新のアドレス対応付けテーブル25aをサーバ装置20に登録しておくことができるからである。このような手順は、プライベートアドレスが携帯電話30に動的に割り当てられる場合に特に有効である。
The above registration process may be executed at an arbitrary frequency and at an arbitrary timing. However, when the mobile phone 30 (third communication device) is connected to the private network 2 (first network) for the first time, or Whenever the mobile phone 30 (third communication device) is connected to the private network 2 (first network) or when a new private address (first address) is assigned to the mobile phone 30 (third communication device). It is desirable to be executed. This is because the latest address association table 25 a can be registered in the
[サービス利用処理]
プライベートネットワーク2内のPC10(第1通信装置)が、その特定のプライベートネットワーク2外のサーバ装置20(第2通信装置)にアクセスし、さらにそのサーバ装置20(第2通信装置)が、PC10(第1通信装置)に対し、サーバ装置20(第2通信装置)が定める、その特定のプライベートネットワーク2内の携帯電話30(第3通信装置)にアクセスさせるサービス利用処理を説明する。
図6は、第1実施形態のサービス利用処理を説明するためのシーケンス図である。以下、図6に従い、本形態のサービス利用処理を説明する。
[Service Usage Processing]
The PC 10 (first communication device) in the
FIG. 6 is a sequence diagram for explaining service use processing according to the first embodiment. Hereinafter, the service use processing of this embodiment will be described with reference to FIG.
まず、PC10(第1通信装置)(図2(a))の通信処理部14が、記憶部15からPC10のプライベートアドレス(第1アドレス)を読み込み、ヘッダ情報にPC10のプライベートアドレスを含み、ペイロード情報にサービス要求を含むサービス要求情報を生成する。生成されたサービス要求情報は、送信部11からNAPT装置40に送信される(ステップS11)。なお、サービス要求情報のヘッダ情報には、ポート番号やサーバ装置20のグローバルアドレス等も含まれるが、ここでは説明を省略する。また、サービス要求情報の送信は、例えばHTTPリクエストとして行われる。
First, the communication processing unit 14 of the PC 10 (first communication device) (FIG. 2A) reads the private address (first address) of the
送信されたサービス要求情報は、NAPT装置40(図3)の受信部42で受信され、通信処理部45に送られる。通信処理部45は、送られたサービス要求情報のアドレス変換を行い、ヘッダ情報に記憶部46に格納されていたグローバルアドレス(第2アドレス)を送信元アドレスとして含み、ペイロード情報にサービス要求を含むサービス要求情報を生成する。この過程で、記憶部46には、サービス要求情報のヘッダ情報が具備していたPC10のプライベートアドレス(第1アドレス)と、新たにサービス要求情報のヘッダ情報とされたグローバルアドレス(第2アドレス)とが対応付けられる。アドレス変換されたサービス要求情報(第1情報)は、送信部43からワイドエリアネットワーク3(第2ネットワーク)を通じてサーバ装置20に送信され(ステップS12)、サーバ装置20(図2(b))の受信部22で受信される(ステップS13)。
The transmitted service request information is received by the receiving unit 42 of the NAPT device 40 (FIG. 3) and sent to the communication processing unit 45. The communication processing unit 45 performs address conversion of the transmitted service request information, includes the global address (second address) stored in the
受信部22で受信されたサービス要求情報(第1情報)は通信処理部24に送られ、通信処理部24は、そのサービス要求情報のヘッダ情報が有する送信元のグローバルアドレス(第2アドレス)を検索部26に送る。検索部26は、入力されたグローバルアドレス(第2アドレス)を用い、記憶部25に格納されたアドレス対応付けテーブル25aを検索し、そのグローバルアドレス(第2アドレス)に対応付けられた携帯電話30のプライベートアドレス(第1アドレス)を抽出する(検索過程/ステップS14)。
抽出された携帯電話30のプライベートアドレス(第1アドレス)は、検索に用いられたNAPT装置40のグローバルアドレス(第2アドレス)とともに通信処理部24に送られる。通信処理部24は、送られた携帯電話30のプライベートアドレス(第1アドレス)を含み、ヘッダ情報にグローバルアドレス(第2アドレス)を宛先アドレスとして含む応答情報(第2情報)を生成する。
The service request information (first information) received by the receiving
The extracted private address (first address) of the
図4(b)〜(e)は、携帯電話30のプライベートアドレス(第1アドレス)の応答情報(第2情報)への格納方式を例示した図である。以下に、これらの格納方式を説明する。
FIGS. 4B to 4E are diagrams illustrating a method of storing the private address (first address) of the
《アドレス格納方式1》応答情報(第2情報)のHTTPヘッダ情報(Location:ヘッダ)にプライベートアドレス(第1アドレス)を含める(図4(b))。
《アドレス格納方式2》応答情報(第2情報)のペイロード情報であるHTML文書等の<HEAD>タグにプライベートアドレス(第1アドレス)を含める(図4(c))。
<<
<<
《アドレス格納方式3》応答情報(第2情報)のペイロード情報であるHTML文書等の本文に、プライベートアドレス(第1アドレス)を含んだアンカータグを記述する(図4(d))。
《アドレス格納方式4》応答情報(第2情報)のペイロード情報であるHTML文書等の本文の<body>部分にプライベートアドレス(第1アドレス)を含むJava(登録商標)Scriptを記述する(図4(e))。
<<
<<
通信処理部24で生成された応答情報(第2情報)は、送信部21に送られ、送信部21は、応答情報(第2情報)を、ワイドエリアネットワーク3(第2ネットワーク)を通じてNAPT装置40に送信する(第2情報送信過程/ステップS15)。なお、この応答情報(第2情報)の送信は、例えばHTTPレスポンスとして行われる。
The response information (second information) generated by the
送信された応答情報は、NAPT装置40(図3)の受信部44で受信され、通信処理部45に送られる。通信処理部45は、応答情報のアドレス変換を行い、応答情報のヘッダ情報が含む宛先アドレスであるグローバルアドレスを、それに記憶部46で対応付けられているPC10のプライベートアドレスに置き換える(ステップS16)。このようにアドレス変換された応答情報(第2情報)は、送信部41から送信され、プライベートネットワーク2を通じてPC10(第1通信装置)の受信部12で受信される(第2情報受信過程/ステップS17)。
The transmitted response information is received by the receiving unit 44 of the NAPT device 40 (FIG. 3) and sent to the communication processing unit 45. The communication processing unit 45 converts the address of the response information, and replaces the global address, which is the destination address included in the header information of the response information, with the private address of the
この応答情報(第2情報)は、PC10(図2(a))の通信処理部14に送られる。通信処理部14は、送信部11から、応答情報(第2情報)が有する携帯電話のプライベートアドレス(第1アドレス)によって特定される携帯電話30(第3通信装置)に、プライベートネットワーク2(第1ネットワーク)を通じ、サービス要求情報(第3情報)を送信する(第3情報送信過程/ステップS18)。以下、前述のアドレス格納方式1〜4に応じた第3情報送信過程(ステップS18)の具体例を示す。
This response information (second information) is sent to the communication processing unit 14 of the PC 10 (FIG. 2A). The communication processing unit 14 sends the private network 2 (first communication device) from the transmission unit 11 to the mobile phone 30 (third communication device) specified by the private address (first address) of the mobile phone included in the response information (second information). Service request information (third information) is transmitted through (1 network) (third information transmission process / step S18). Hereinafter, a specific example of the third information transmission process (step S18) according to the
《アドレス格納方式1(図4(b))の場合》送信部11は、プライベートアドレス(第1アドレス)をリダイレクト先としたHTTPリダイレクト応答によってサービス要求情報(第3情報)を送信する。
《アドレス格納方式2(図4(c))の場合》送信部11は、<HEAD>タグにプライベートアドレス(第1アドレス)に向けてサービス要求情報(第3情報)を送信する。
《アドレス格納方式3(図4(d))の場合》PC10で表示されたリンクがクリックされることにより、送信部11がプライベートアドレス(第1アドレス)に向けてサービス要求情報(第3情報)を送信する。
《アドレス格納方式4(図4(e))の場合》Java(登録商標)Scriptが駆動することにより、送信部11がプライベートアドレス(第1アドレス)に向けてサービス要求情報(第3情報)を送信する。
<< In the Case of Address Storage Method 1 (FIG. 4B) >> The transmission unit 11 transmits service request information (third information) by an HTTP redirect response with a private address (first address) as a redirect destination.
<< In the case of the address storage method 2 (FIG. 4C) >> The transmission unit 11 transmits service request information (third information) to the <HEAD> tag toward the private address (first address).
<< In the case of the address storage method 3 (FIG. 4 (d)) >> When the link displayed on the
<< In the case of the address storage method 4 (FIG. 4 (e)) >> When the Java (registered trademark) script is driven, the transmission unit 11 sends service request information (third information) to the private address (first address). Send.
送信されたサービス要求情報(第3情報)は、携帯電話30(図2(c))の受信部32で受信され、通信処理部34に送られる(ステップS19)。通信処理部34は、その応答情報を生成し、送信部31から送信する(ステップS20)。この応答情報は、プライベートネットワーク2を通じ、PC10(図2(a))の受信部12で受信される(ステップS21)。なお、前述の参考文献にて示した携帯電話機には、HTTPサーバとして機能するJava(登録商標)アプリケーションを実装することが可能である。この携帯電話機を用いて携帯電話30を構築した場合、PC10は携帯電話30に接続した後、携帯電話30上で動作するHTTPサーバのサービスを利用することができる。
The transmitted service request information (third information) is received by the receiving
<本形態の特徴>
以上のように、本形態では、プライベートネットワーク2(第1ネットワーク)内の携帯電話30(通信装置)毎に割り当てられたプライベートアドレス(第1アドレス)と、プライベートネットワーク2(第1ネットワーク)内のPC10や携帯電話30(通信装置)に共用されるワイドエリアネットワーク3(第2ネットワーク)内のグローバルアドレス(第2アドレス)と、を携帯電話30(通信装置)毎に対応付けたアドレス対応付けテーブル25aを、プライベートネットワーク2(第1ネットワーク)外のワイドエリアネットワーク3(第2ネットワーク)内に接続されたサーバ装置20(通知装置)の記憶部25に格納し(ステップS4)、サーバ装置20(通知装置)の検索部26が、プライベートネットワーク2(第1ネットワーク)内のPC10(第1通信装置)からワイドエリアネットワーク3(第2ネットワーク)を通じて送信されたサービス要求情報(第1情報)の送信元のグローバルアドレス(第2アドレス)を用い、アドレス対応付けテーブル25aを検索し、当該グローバルアドレス(第2アドレス)に対応付けられた携帯電話30のプライベートアドレス(第1アドレス)を抽出し(ステップS14)、ワイドエリアネットワーク3(第2ネットワーク)内のサーバ装置20(第2通信装置)の送信部21が、ステップS14で抽出された携帯電話30のプライベートアドレス(第1アドレス)を含む応答情報(第2情報)を、ワイドエリアネットワーク3(第2ネットワーク)を通じて送信する(ステップS15)こととした。これにより、PC10は、事前に携帯電話30のプライベートアドレスを知らなくても、携帯電話30へアクセスできる。
<Features of this embodiment>
As described above, in this embodiment, the private address (first address) assigned to each mobile phone 30 (communication device) in the private network 2 (first network) and the private network 2 (first network) Address correspondence table in which a global address (second address) in the wide area network 3 (second network) shared by the
また、本形態では、ステップS15でサーバ装置20(第2通信装置)から送信された応答情報(第2情報)を、PC10(第1通信装置)の受信部12が受信し(ステップS17)、その送信部11がプライベートネットワーク2(第1ネットワーク)を通じ、応答情報(第2情報)が具備するプライベートアドレス(第1アドレス)によって特定される携帯電話30(第3通信装置)に、サービス要求情報(第3情報)を送信する(ステップS19)こととした。これにより、グローバルアドレス(第2アドレス)内のサーバ装置20側から、コネクションが確立されていないプライベートネットワーク2(第1ネットワーク)内の携帯電話30(第3通信装置)へのNAPT越えが可能となる。
In the present embodiment, the response information (second information) transmitted from the server device 20 (second communication device) in step S15 is received by the receiving unit 12 of the PC 10 (first communication device) (step S17). Service request information is sent from the transmitting unit 11 to the mobile phone 30 (third communication device) specified by the private address (first address) included in the response information (second information) through the private network 2 (first network). (Third information) is transmitted (step S19). As a result, the NAPT can be passed from the
また、本形態の登録処理(ステップS1〜S7)は、PC10が介入することなく、携帯電話30(第3通信装置)自らがプライベートアドレス(第1アドレス)をNAPT装置40経由でサーバ装置20に送信して行われる。そのため、PC10は、事前に携帯電話30のプライベートアドレスに全く関与することなく、携帯電話30へアクセスすることができる。
In addition, the registration processing (steps S1 to S7) of the present embodiment is such that the mobile phone 30 (third communication device) itself sends the private address (first address) to the
<第1実施形態の変形例>
なお、本発明は第1実施形態に限定されるものではない。
例えば、第1実施形態では、サーバ装置20が第2通信装置と通知装置とを兼ねる構成としたが、第2通信装置と通知装置とを別個に構成してもよい。また、複数の第2通信装置が通知装置を共用する構成であってもよい。これにより、重複するアドレス対応付けテーブルの作成・管理が不要となり、システム全体の効率が向上する。
図7は、第2通信装置である2つのサーバ装置150−1,150−2が1つの通知装置120を共用する通信システム101の例示である。
<Modification of First Embodiment>
Note that the present invention is not limited to the first embodiment.
For example, in the first embodiment, the
FIG. 7 is an illustration of the
この例の場合、2つのサーバ装置150−1,150−2と1つの通知装置120が存在するワイドエリアネットワーク103がNAPT装置40に接続される。そして、上述のステップS14の代わりに、サーバ装置150−1又は150−2で受信されたサービス要求情報(第1情報)が有する送信元のグローバルアドレス(第2アドレス)が通知装置120に送られ、通知装置120が、送られたグローバルアドレス(第2アドレス)を用い、記憶部25に格納されたアドレス対応付けテーブル25aを検索し、そのグローバルアドレス(第2アドレス)に対応付けられた携帯電話30のプライベートアドレス(第1アドレス)を抽出し、それをサーバ装置150−1又は150−2に返す処理がなされる。
In this example, a
また、第1実施形態では、PC10(第1通信装置)や携帯電話30(第3通信装置)がNAPT装置40を介してワイドエリアネットワーク3と通信を行う例を示したが、PC(第1通信装置)がNAPT装置を兼用する構成であってもよい。
図8は、PC(第1通信装置)がNAPT装置を兼用する場合の通信システム201の例示である。この場合、PC210(第1通信装置)は、ワイドエリアネットワーク3内のサーバ装置20との通信と、プライベートネットワーク202内の携帯電話30との通信を、それぞれ直接を行うことになる。その他の処理は第1実施形態と同様である。
In the first embodiment, an example in which the PC 10 (first communication device) and the mobile phone 30 (third communication device) communicate with the
FIG. 8 is an illustration of the
また、PC(第1通信装置)がNAPT装置の機能を具備し、さらに、第2通信装置と通知装置とを別個に構成し、通信システムを構成してもよい。図9は、PC(第1通信装置)がNAPT装置を兼用し、第2通信装置である2つのサーバ装置150−1,150−2が1つの通知装置120を共用する通信システム301の例示である。
また、第1実施形態では、NAPTを用いてプライベートネットワークとグローバルネットワークとの間の通信を行うこととしたが、NATを用いる構成であってもよい。その場合は、NAPT装置の代わりにNAT装置が用いられる。また、第1実施形態では、第1通信装置としてPCを用い、第3通信装置として携帯電話を用いる例を示した。しかし、第1通信装置として携帯電話やPDA等を用いてもよいし、第3通信装置としてPCやPDA等を用いてもよい。これらの点、図7〜図9の変形例についても同様である。
Further, the PC (first communication device) may have the function of a NAPT device, and the second communication device and the notification device may be separately configured to configure a communication system. FIG. 9 is an illustration of a
In the first embodiment, communication between the private network and the global network is performed using NAPT. However, a configuration using NAT may be used. In that case, a NAT device is used instead of the NAPT device. In the first embodiment, an example is shown in which a PC is used as the first communication device and a mobile phone is used as the third communication device. However, a mobile phone, a PDA, or the like may be used as the first communication device, and a PC, a PDA, or the like may be used as the third communication device. The same applies to these points and the modified examples of FIGS.
〔第2実施形態〕
本形態は、1つのプライベートネットワークに複数の第3通信装置が存在し、第1通信装置がアクセスする第3通信装置を選択可能な実施形態である。以下では、第1実施形態との相違点を中心に説明し、第1実施形態と共通する事項については説明を省略する。
[Second Embodiment]
In this embodiment, a plurality of third communication devices exist in one private network, and the third communication device accessed by the first communication device can be selected. Below, it demonstrates centering around difference with 1st Embodiment, and abbreviate | omits description about the matter which is common in 1st Embodiment.
<構成>
図10は、第2実施形態の通信システム401の全体構成を示したブロック図である。また、図11(a)は、図10のPC410の機能構成を示したブロック図であり、図11(b)は、図10のサーバ装置420の機能構成を示した図であり、図11(c)は、図10の携帯電話430の機能構成を示した図である。
<Configuration>
FIG. 10 is a block diagram illustrating an overall configuration of a
図10に例示するように、本形態の通信システム401は、PC410(第1通信装置)と、サーバ装置420(第2通信装置/通知装置)と、携帯電話430−1,430−2(第3通信装置)と、NAPT装置40(接続装置)とを有する。ここで、PC410及び携帯電話430−1,430−2は、プライベートネットワーク402(第1ネットワーク)内に存在し、サーバ装置420は、ワイドエリアネットワーク403(第2ネットワーク)内に存在する。そして、PC410及び携帯電話430−1,430−2は、NAPT装置40を介してサーバ装置420に接続可能に構成されている。
As illustrated in FIG. 10, the
なお、図10では説明の簡略化のため、NAPT装置40によってワイドエリアネットワーク403に接続された1つのプライベートネットワーク402のみを示しているが、同様なプライベートネットワーク402が複数存在し、それぞれのプライベートネットワーク402内にPC及び携帯電話が存在する構成であってもよい。また、プライベートネットワーク402内に3つ以上の携帯電話が存在する構成であってもよい。
また、以下では、携帯電話430−1,430−2に共通する事項を説明する場合には、携帯電話430として説明を行う。
In FIG. 10, only one
In addition, hereinafter, when the matters common to the mobile phones 430-1 and 430-2 are described, the description will be made as the
また、図11(a)に例示するように、本形態のPC410は、送信部11と、受信部12と、通信処理部14と、記憶部15と、制御部17と、入力部418と、出力部419とを有する。第1実施形態のPC10との構成上の相違点は、入力部418と、出力部419とを有する点のみである。
また、図11(b)に例示するように、本形態のサーバ装置420は、送信部21と、受信部22と、登録処理部23と、通信処理部24と、記憶部25と、検索部426と、サーバ装置20を制御する制御部27とを有する。第1実施形態のサーバ装置20との構成上の相違点は、記憶部25に格納されるアドレス対応付けテーブル425aの構成と、検索部426のみである。
Moreover, as illustrated in FIG. 11A, the
Further, as illustrated in FIG. 11B, the
また、図11(c)に例示するように、本形態の携帯電話430は、送信部31と、受信部32と、登録処理部33と、通信処理部34と、記憶部35と、携帯電話30を制御する制御部37とを有する。第1実施形態の携帯電話30との構成上の相違点は、記憶部35にそれぞれのアカウント名(識別情報)が格納される点のみである。
Further, as illustrated in FIG. 11C, the
<処理>
次に、本形態のネットワーク間通信方法について説明する。なお、以下の処理の前提として、プライベートネットワーク402内でPC410に個別に割り当てられたPC410のプライベートアドレス(第1アドレス)がPC410の記憶部15に格納され(図11(a))、プライベートネットワーク402内で携帯電話430−1,430−2に個別に割り当てられた携帯電話430−1,430−2のプライベートアドレス(第1アドレス)とアカウント名(識別情報)がそれぞれ携帯電話430−1,430−2の記憶部35に格納されている(図11(c))ものとする。
<Processing>
Next, the inter-network communication method of this embodiment will be described. As a premise of the following processing, the private address (first address) of the
[登録処理]
まず、本形態のネットワーク間通信の事前準備として必要な登録処理を説明する。
図13は、第2実施形態の登録処理を説明するためのシーケンス図である。以下、図13に従い、本形態の登録処理を説明する。
まず、各携帯電話430(図11(c))の登録処理部33が、記憶部35から携帯電話430のプライベートアドレス及びアカウント名を読み込み、ヘッダ情報に携帯電話430のプライベートアドレスを含み、ペイロード情報にアカウント名と登録要求を含む登録要求情報を生成し、通信処理部34に送る。通信処理部34は、この登録要求情報を送信部31からプライベートネットワーク402を通じてNAPT装置40に送信する(ステップS51)。
[registration process]
First, registration processing necessary as preparation for inter-network communication according to this embodiment will be described.
FIG. 13 is a sequence diagram for explaining the registration processing of the second embodiment. Hereinafter, the registration processing of this embodiment will be described with reference to FIG.
First, the
登録要求情報は、NAPT装置40で受信される。NAPT装置40は、第1実施形態と同様に登録要求情報をアドレス変換し、ヘッダ情報にグローバルアドレス(第2アドレス)を送信元アドレスとして含み、ペイロード情報に携帯電話430のプライベートアドレス(第1アドレス)とアカウント名(識別情報)と登録要求とを含む登録要求情報を生成する。アドレス変換された登録要求情報は、ワイドエリアネットワーク403を通じてサーバ装置420に送信され(登録要求送信過程/ステップS52)、サーバ装置420(図11(b))の受信部22で受信される(登録要求受信過程/ステップS53)。
The registration request information is received by the
受信された登録要求情報は、通信処理部24を介して登録処理部23に送られ、登録処理部23は、登録要求情報のペイロード情報が有する携帯電話430のプライベートアドレス(第1アドレス)と、アカウント名(識別情報)と、ヘッダ情報が有する送信元のグローバルアドレス(第2アドレス)とを対応付けたアドレス対応付けテーブル425aを、サーバ装置420の記憶部25に格納する(アドレス対応付けテーブル格納過程/ステップS54)。
図12(a)は、送信元のグローバルアドレス(第2アドレス)と、携帯電話430のプライベートアドレス(第1アドレス)と、アカウント名(識別情報)とが対応付けられたアドレス対応付けテーブル125aの具体例を示した図である。図12(a)の例では、送信元のグローバルアドレス「129.60.2.1」に対し、2つのアカウント名「taro」「hanako」が対応付けられ、送信元のグローバルアドレス「129.60.2.2」に対し、1つのアカウント名「ichiro」が対応付けられ、アカウント名「taro」「hanako」に対し、それぞれ携帯電話のプライベートアドレス「192.168.1.3」「192.168.1.4」が対応付けられ、アカウント名「ichiro」に対して携帯電話のプライベートアドレス「192.168.0.1」が対応付けられている。
The received registration request information is sent to the
FIG. 12A shows an address correspondence table 125a in which a global address (second address) of a transmission source, a private address (first address) of a
その後、第1実施形態のステップS5〜S7と同様な処理がなされ(ステップS55〜57)、登録処理が終了する。
なお、本形態の登録処理も、任意の頻度で任意のタイミングで実行してもかまわないが、携帯電話430(第3通信装置)がプライベートネットワーク402(第1ネットワーク)に初めて接続される際、又は、携帯電話430(第3通信装置)がプライベートネットワーク402(第1ネットワーク)に接続されるたび、又は、携帯電話430(第3通信装置)に新たなプライベートアドレス(第1アドレス)が割り当てられるたびに実行されることが望ましい。これにより、最新のアドレス対応付けテーブル425aをサーバ装置420に登録しておくことができるからである。このような手順は、プライベートアドレスが携帯電話430に動的に割り当てられる場合に特に有効である。
Thereafter, the same processing as steps S5 to S7 of the first embodiment is performed (steps S55 to 57), and the registration processing is completed.
The registration process of this embodiment may be executed at an arbitrary frequency and at an arbitrary timing. However, when the mobile phone 430 (third communication device) is connected to the private network 402 (first network) for the first time, Alternatively, whenever the mobile phone 430 (third communication device) is connected to the private network 402 (first network), or a new private address (first address) is assigned to the mobile phone 430 (third communication device). It is desirable to be executed every time. This is because the latest address association table 425a can be registered in the
[サービス利用処理]
図14,図15は、第2実施形態のサービス利用処理を説明するためのシーケンス図である。以下、図14,図15に従い、本形態のサービス利用処理を説明する。
まず、PC410(第1通信装置)(図11(a))の通信処理部14が、記憶部15からPC410のプライベートアドレス(第1アドレス)を読み込み、ヘッダ情報にPC410のプライベートアドレスを含み、ペイロード情報にサービス要求を含むサービス要求情報を生成する。生成されたサービス要求情報は、送信部11からNAPT装置40に送信(例えばHTTPリクエスト)される(ステップS61)。
[Service Usage Processing]
14 and 15 are sequence diagrams for explaining service use processing according to the second embodiment. Hereinafter, the service use processing of this embodiment will be described with reference to FIGS.
First, the communication processing unit 14 of the PC 410 (first communication device) (FIG. 11A) reads the private address (first address) of the
送信されたサービス要求情報は、NAPT装置40で受信され、第1実施形態と同様にアドレス変換が行なわれる。これにより、ヘッダ情報にグローバルアドレス(第2アドレス)を送信元アドレスとして含み、ペイロード情報にサービス要求を含むサービス要求情報が生成される。アドレス変換されたサービス要求情報(第1情報)は、ワイドエリアネットワーク403(第2ネットワーク)を通じてサーバ装置420に送信され(ステップS62)、サーバ装置420(図11(b))の受信部22で受信される(ステップS63)。
The transmitted service request information is received by the
受信部22で受信されたサービス要求情報(第1情報)は通信処理部24に送られ、通信処理部24は、そのサービス要求情報のヘッダ情報が有する送信元のグローバルアドレスを検索部426に送る。検索部426は、入力されたグローバルアドレスを用い、記憶部25に格納されたアドレス対応付けテーブル425aを検索し、そのグローバルアドレスに対応付けられた携帯電話430のアカウント名を抽出する(ステップS64)。この際、複数のアカウント名が抽出される場合もある。
抽出されたアカウント名は通信処理部24に送られ、通信処理部24は、抽出されたアカウント名に対応する携帯電話の一覧情報を含む選択指示情報を生成する。生成された選択指示情報は送信部21に送られ、そこからステップS63で受信されたサービス要求情報の応答情報(例えばHTTPレスポンス)として送信される(ステップS65)。
The service request information (first information) received by the
The extracted account name is sent to the
送信された選択指示情報は、NAPT装置40でアドレス変換された後(ステップS66)、プライベートネットワーク402を通じてPC410(図11(a))(第1通信装置)に送信され、その受信部12で受信される(ステップS67)。受信された選択指示情報は通信処理部14に送られ、通信処理部14は選択指示情報が具備する携帯電話の一覧情報を出力部419に送り、出力部419はこれを出力する(ステップS68)。
図12(b)は、このように出力された携帯電話の一覧情報を例示した図である。この例では、「利用したい携帯電話を選んでください」とのメッセージと、各携帯電話に対応するアカウント名「taro」[hanako]のクリックボタン419aa,419abが表示される。
The transmitted selection instruction information is address-converted by the NAPT device 40 (step S 66), then transmitted to the PC 410 (FIG. 11A) (first communication device) through the
FIG. 12B is a diagram exemplifying the mobile phone list information output in this way. In this example, a message “Please select a mobile phone you want to use” and click buttons 419aa and 419ab of the account name “taro” [hanako] corresponding to each mobile phone are displayed.
携帯電話の一覧情報を閲覧した利用者は、携帯電話の選択情報を入力部418に入力する(ステップS69)。図12(b)の例では、アカウント名「taro」[hanako] のクリックボタン419aa,419abの何れかをクリックし、何れかの携帯電話に対応するアカウント名(識別情報)を特定する選択情報を入力する。この選択情報は通信処理部14に送られる。通信処理部14は、記憶部15からPC410のプライベートアドレス(第1アドレス)を読み込み、ヘッダ情報にPC410のプライベートアドレスを含み、ペイロード情報に選択情報に示されるアカウント名(識別情報)とサービス要求を含む選択情報を生成する。生成された選択情報は、送信部11からNAPT装置40に送信(例えばHTTPリクエスト)される(ステップS70)。
The user who has viewed the mobile phone list information inputs the mobile phone selection information to the input unit 418 (step S69). In the example of FIG. 12B, the user clicks on the click button 419aa or 419ab of the account name “taro” [hanako] and selects the selection information for specifying the account name (identification information) corresponding to one of the mobile phones. input. This selection information is sent to the communication processing unit 14. The communication processing unit 14 reads the private address (first address) of the
送信された選択情報は、NAPT装置40で受信され、第1実施形態のサービス要求情報と同様にアドレス変換が行なわれる。これにより、ヘッダ情報にグローバルアドレス(第2アドレス)を送信元アドレスとして含み、ペイロード情報にアカウント名(識別情報)を含む選択情報が生成される。アドレス変換された選択情報(第1情報)は、ワイドエリアネットワーク403(第2ネットワーク)を通じてサーバ装置420に送信され(ステップS71)、サーバ装置420(図11(b))の受信部22で受信される(ステップS72)。
The transmitted selection information is received by the
受信部22で受信された選択情報(第1情報)は通信処理部24に送られ、通信処理部24は、そのサービス要求情報のヘッダ情報が有する送信元のグローバルアドレス(第2アドレス)と、ペイロード情報が有するアカウント名(識別情報)とを検索部426に送る。検索部426は、入力されたグローバルアドレス(第2アドレス)とアカウント名(識別情報)とを用い、記憶部25に格納されたアドレス対応付けテーブル425aを検索し、そのグローバルアドレス(第2アドレス)とアカウント名(識別情報)とに対応付けられた携帯電話430のプライベートアドレス(第1アドレス)を抽出する(検索過程/ステップS73)。
その後、第1実施形態のステップS15〜S20と同じ処理が実行される(ステップS74〜S80)。
The selection information (first information) received by the receiving
Thereafter, the same processing as steps S15 to S20 of the first embodiment is executed (steps S74 to S80).
<本形態の特徴>
以上のように、本形態では、プライベートネットワーク402(第1ネットワーク)内の携帯電話430(通信装置)毎に割り当てられたプライベートアドレス(第1アドレス)及びアカウント名(識別情報)と、プライベートネットワーク402(第1ネットワーク)内のPC410や携帯電話430(通信装置)に共用されるワイドエリアネットワーク403(第2ネットワーク)内のグローバルアドレス(第2アドレス)と、を携帯電話430(通信装置)毎に対応付けたアドレス対応付けテーブル425aを、プライベートネットワーク402(第1ネットワーク)外のワイドエリアネットワーク403(第2ネットワーク)内に接続されたサーバ装置420(通知装置)の記憶部25に格納し(ステップS54)、サーバ装置420(通知装置)の検索部426が、プライベートネットワーク402(第1ネットワーク)内のPC410(第1通信装置)からワイドエリアネットワーク403(第2ネットワーク)を通じて送信された選択情報(第1情報)の送信元のグローバルアドレス(第2アドレス)及び選択情報(第1情報)が具備するアカウント名(識別情報)を用い、アドレス対応付けテーブル425aを検索し、当該グローバルアドレス(第2アドレス)及びアカウント名(識別情報)に対応付けられた携帯電話430のプライベートアドレス(第1アドレス)を抽出し(ステップS73)、ワイドエリアネットワーク403(第2ネットワーク)内のサーバ装置420(第2通信装置)の送信部21が、ステップS73で抽出された携帯電話30のプライベートアドレス(第1アドレス)を含む応答情報(第2情報)を、ワイドエリアネットワーク403(第2ネットワーク)を通じて送信する(ステップS74)こととした。これにより、PC410は、事前に携帯電話430のプライベートアドレスを知らなくても、選択した携帯電話430へアクセスできる。
<Features of this embodiment>
As described above, in this embodiment, the private address (first address) and account name (identification information) assigned to each mobile phone 430 (communication device) in the private network 402 (first network), and the
また、本形態では、第1実施形態と同様なステップS74〜S80の処理により、NAPT越えができる。
また、本形態の登録処理(ステップS51〜S57)は、PC410が介入することなく、携帯電話430(第3通信装置)自らがプライベートアドレス(第1アドレス)をNAPT装置40経由でサーバ装置420に送信して行われる。そのため、PC410は、事前に携帯電話430のプライベートアドレスに全く関与することなく、選択した携帯電話430へアクセスすることができる。
Further, in this embodiment, the NAPT can be exceeded by the processing in steps S74 to S80 similar to the first embodiment.
Further, in the registration processing (steps S51 to S57) of this embodiment, the mobile phone 430 (third communication device) itself sends a private address (first address) to the
<第2実施形態の変形例>
なお、本発明は第2実施形態に限定されるものではない。
例えば、ステップS69で、利用者が携帯電話(アカウント名)の選択情報をPC410の入力部418に入力する際、サーバ装置420がPC410に対してパスワード等を入力させ、利用者が携帯電話(アカウント名)を選択する権限があるか否かを認証する構成であってもよい。
また、第2実施形態では、サーバ装置420が第2通信装置と通知装置とを兼ねる構成としたが、第2通信装置と通知装置とを別個に構成してもよい。また、複数の第2通信装置が通知装置を共用する構成であってもよい。これにより、重複するアドレス対応付けテーブルの作成・管理が不要となり、システム全体の効率が向上する。
<Modification of Second Embodiment>
The present invention is not limited to the second embodiment.
For example, when the user inputs selection information of the mobile phone (account name) to the
In the second embodiment, the
また、第2実施形態では、PC410(第1通信装置)や携帯電話430(第3通信装置)がNAPT装置40を介してワイドエリアネットワーク403と通信を行う例を示したが、PC410(第1通信装置)がNAPT装置を兼用する構成であってもよい。
また、PC(第1通信装置)がNAPT装置の機能を具備し、さらに、第2通信装置と通知装置とを別個に構成し、通信システムを構成してもよい。
また、第2実施形態では、NAPTを用いてプライベートネットワークとグローバルネットワークとの間の通信を行うこととしたが、NATを用いる構成であってもよい。その場合は、NAPT装置の代わりにNAT装置が用いられる。
In the second embodiment, the PC 410 (first communication device) and the mobile phone 430 (third communication device) communicate with the
Further, the PC (first communication device) may have the function of a NAPT device, and the second communication device and the notification device may be separately configured to configure a communication system.
In the second embodiment, communication between the private network and the global network is performed using NAPT. However, a configuration using NAT may be used. In that case, a NAT device is used instead of the NAPT device.
また、第2実施形態では、携帯電話(第3通信装置)の識別情報としてアカウント名を用いたが、携帯電話(第3通信装置)の識別情報として、電話番号やメールアドレスやMAC(Media Access Control)アドレスその他の携帯電話を一義に特定する情報を用いてもよい。また、第2実施形態では、第1通信装置としてPCを用い、第3通信装置として携帯電話を用いる例を示した。しかし、第1通信装置として携帯電話やPDA等を用いてもよいし、第3通信装置としてPCやPDA等を用いてもよい。
〔第3実施形態〕
本形態は第2実施形態の変形例であり、アドレスとしてIPv6に準拠したIPv6アドレスを用いる形態である。本形態では、プライベートネットワーク(例えば、プロバイダと契約した1本の回線を利用するプライベートネットワーク)毎に共通のIPv6アドレスのプレフィックスを割り当て、プライベートネットワーク内の各通信装置に、同じプレフィックスを持ち、異なるインタフェースIDを持つIPv6アドレスが割り当てられる。例えば、或るプライベートネットワークには、2001:1:2:4:0:0:0:0 〜 2001:1:2:4:ffff:ffff:ffff:ffffのIPv6アドレスが割り当てられ、他のプライベートネットワークには、2001:1:2:5:0:0:0:0〜2001:1:2:5:ffff:ffff:ffff:ffffのIPv6アドレスが割り当てられ、各々のプライベートネットワーク内の通信装置がそのプライベートネットワークに割り当てられたIPv6アドレスを利用する。そして、IPv6アドレスのプレフィックスを第1アドレスとして用い、インタフェースIDを第2アドレスとして用いる。
In the second embodiment, the account name is used as the identification information of the mobile phone (third communication device). However, as the identification information of the mobile phone (third communication device), a telephone number, a mail address, or a MAC (Media Access) is used. Control) Address or other information that uniquely identifies the mobile phone may be used. In the second embodiment, an example in which a PC is used as the first communication device and a mobile phone is used as the third communication device has been described. However, a mobile phone, a PDA, or the like may be used as the first communication device, and a PC, a PDA, or the like may be used as the third communication device.
[Third Embodiment]
This embodiment is a modification of the second embodiment, and uses an IPv6 address compliant with IPv6 as an address. In this embodiment, a common IPv6 address prefix is assigned to each private network (for example, a private network using a single line contracted with a provider), and each communication device in the private network has the same prefix and has a different interface. An IPv6 address having an ID is assigned. For example, an IPv6 address from 2001: 1: 2: 4: 0: 0: 0: 0 to 2001: 1: 2: 4: ffff: ffff: ffff: ffff is assigned to one private network and another private network is assigned. IPv6 addresses 2001: 1: 2: 5: 0: 0: 0: 0 to 2001: 1: 2: 5: ffff: ffff: ffff: ffff are assigned to the network, and communication devices in each private network Uses the IPv6 address assigned to the private network. Then, the IPv6 address prefix is used as the first address, and the interface ID is used as the second address.
以下では、第1,2実施形態との相違点を中心に説明し、第1,2実施形態と共通する事項については説明を省略する。 Below, it demonstrates centering around difference with 1st, 2 embodiment, and abbreviate | omits description about the matter which is common in 1st, 2 embodiment.
<構成>
図16は、第3実施形態の通信システム701の全体構成を示したブロック図である。また、図17(a)は、図16のPC710の機能構成を示したブロック図であり、図17(b)は、図16のサーバ装置720の機能構成を示した図であり、図17(c)は、図16の携帯電話730の機能構成を示した図である。
<Configuration>
FIG. 16 is a block diagram illustrating an overall configuration of a
図17に例示するように、本形態の通信システム701は、PC710−1,710−2(第1通信装置)と、サーバ装置720(第2通信装置/通知装置)と、携帯電話730−1〜3(第3通信装置)と、ルータ装置740−1,740−2(接続装置)とを有する。ここで、PC710−1及び携帯電話730−1,730−2は、プライベートネットワーク702−1(第1ネットワーク)内に存在し、PC710−2及び携帯電話730−3は、プライベートネットワーク702−2(第1ネットワーク)内に存在し、サーバ装置720は、ワイドエリアネットワーク703(第2ネットワーク)内に存在する。そして、PC710−1及び携帯電話730−1,730−2は、ルータ装置740−1を介してサーバ装置720に接続可能に構成され、PC710−2及び携帯電話730−3は、ルータ装置740−2を介してサーバ装置720に接続可能に構成されている。
As illustrated in FIG. 17, the
なお、図16では説明の簡略化のため、2つのプライベートネットワークのみを示しているが、同様なプライベートネットワークが複数存在し、それぞれのプライベートネットワーク内にPC及び携帯電話が存在する構成であってもよい。
また、以下では、PC710−1,710−2に共通する事項を説明する場合には、PC710として説明を行い、携帯電話730−1,730−2に共通する事項を説明する場合には、携帯電話730として説明を行い、ルータ装置740−1,740−2に共通する事項を説明する場合には、ルータ装置740として説明を行う。
In FIG. 16, only two private networks are shown for the sake of simplification, but there are a plurality of similar private networks, and a configuration in which a PC and a mobile phone exist in each private network. Good.
In addition, hereinafter, when explaining matters common to the PCs 710-1 and 710-2, explanation will be given as the
また、図17(a)に例示するように、本形態のPC710は、送信部11と、受信部12と、通信処理部14と、記憶部15と、制御部17と、入力部418と、出力部419とを有する。第2実施形態のPC410との構成上の相違点は、記憶部15に格納されるアドレスがIPv6アドレスである点のみである。
また、図17(b)に例示するように、本形態のサーバ装置720は、送信部21と、受信部22と、登録処理部23と、通信処理部24と、記憶部25と、検索部726と、サーバ装置20を制御する制御部27とを有する。第2実施形態のサーバ装置420との構成上の相違点は、記憶部25に格納されるアドレス対応付けテーブル725aの構成と、検索部726のみである。
Moreover, as illustrated in FIG. 17A, the
As illustrated in FIG. 17B, the
また、図17(c)に例示するように、本形態の携帯電話730は、送信部31と、受信部32と、登録処理部33と、通信処理部34と、記憶部35と、携帯電話30を制御する制御部37とを有する。第2実施形態の携帯電話430との構成上の相違点は、記憶部35に格納されるアドレスがIPv6アドレスである点のみである。
Further, as illustrated in FIG. 17C, the
<処理>
次に、本形態のネットワーク間通信方法について説明する。なお、以下の処理の前提として、各PC710に個別に割り当てられたIPv6アドレスがPC710の記憶部15に格納され(図17(a))、携帯電話730に個別に割り当てられたIPv6アドレスとアカウント名(識別情報)がそれぞれ携帯電話730の記憶部35に格納されている(図17(c))ものとする。なお、前述のように、プライベートネットワーク702−1内の携帯電話730−1,730−2及びPC710−1には、プレフィックスが同一でインタフェースIDが異なるIPv6アドレスがそれぞれ割り当てられる。また、プライベートネットワーク702−2内の携帯電話730−3及びPC710−2には、プレフィックスが同一でインタフェースIDが異なるIPv6アドレスがそれぞれ割り当てられる。また、携帯電話730−1,730−2及びPC710−1のIPv6アドレスのプレフィックスと、携帯電話730−3及びPC710−2のIPv6アドレスのプレフィックスとは異なる。また、各IPv6アドレスのプレフィックスが第2アドレスに相当し、インタフェースIDが第1アドレスに相当する。
<Processing>
Next, the inter-network communication method of this embodiment will be described. As a premise of the following processing, the IPv6 address individually assigned to each
[登録処理]
まず、本形態のネットワーク間通信の事前準備として必要な登録処理を説明する。
図19は、第2実施形態の登録処理を説明するためのシーケンス図である。以下、図19に従い、本形態の登録処理を説明する。
まず、各携帯電話730(図17(c))の登録処理部33が、記憶部35から携帯電話730のIPv6アドレス及びアカウント名を読み込み、ヘッダ情報に携帯電話730のIPv6アドレスを含み、ペイロード情報にアカウント名と登録要求を含む登録要求情報を生成し、通信処理部34に送る。通信処理部34は、この登録要求情報を送信部31からプライベートネットワーク702を通じてルータ装置740に送信する(ステップS101)。
[registration process]
First, registration processing necessary as preparation for inter-network communication according to this embodiment will be described.
FIG. 19 is a sequence diagram for explaining a registration process according to the second embodiment. Hereinafter, the registration processing of this embodiment will be described with reference to FIG.
First, the
ルータ装置740は、送信された登録要求情報を、ワイドエリアネットワーク703を通じてサーバ装置720に送信し(ステップS102)、送信された登録要求情報は、サーバ装置720(図17(b))の受信部22で受信される(登録要求受信過程/ステップS103)。
受信された登録要求情報は、通信処理部24を介して登録処理部23に送られ、登録処理部23は、登録要求情報のヘッダ情報が有するIPv6アドレス(プレフィックス(第2アドレス)+インタフェースID(第1アドレス))と、ペイロード情報が有する携帯電話730のアカウント名(識別情報)と、を対応付けたアドレス対応付けテーブル725aを、サーバ装置720の記憶部25に格納する(アドレス対応付けテーブル格納過程/ステップS104)。すなわち、このアドレス対応付けテーブル725aは、プレフィックス(第2アドレス)とインタフェースID(第1アドレス)とアカウント名(識別情報)とを対応付けたテーブルとなる。
The router device 740 transmits the transmitted registration request information to the
The received registration request information is sent to the
図18は、IPv6アドレス(プレフィックス(第2アドレス)+インタフェースID(第1アドレス))とアカウント名(識別情報)とを対応付けたアドレス対応付けテーブル725aの具体例を示した図である。図18の例では、プレフィックス(第2アドレス)が「2001:1:2:4:」で同一でインタフェースID(第1アドレス)がそれぞれ「…:3」「…:4」で相違する2つのIPv6アドレス「2001:1:2:4:…:3」「2001:1:2:4:…:4」と2つのアカウント名「taro」「hanako」がそれぞれ対応付けられ、プレフィックス(第2アドレス)が「2001:1:2:5:」でインタフェースID(第1アドレス)が「…:2」のIPv6アドレス「2001:1:2:5:…:2」とアカウント名「ichiro」が対応付けられている。 FIG. 18 is a diagram illustrating a specific example of an address association table 725a in which an IPv6 address (prefix (second address) + interface ID (first address)) and an account name (identification information) are associated with each other. In the example of FIG. 18, two different prefixes (second addresses) “2001: 1: 2: 4:” and the same interface ID (first address) “...: 3” “...: 4” are different. IPv6 addresses “2001: 1: 2: 4:…: 3” “2001: 1: 2: 4:…: 4” and two account names “taro” and “hanako” are associated with each other, and the prefix (second address ) Is "2001: 1: 2: 5:" and interface ID (first address) is "...: 2" IPv6 address "2001: 1: 2: 5: ...: 2" and account name "ichiro" are supported It is attached.
その後、サーバ装置720からルータ装置740、携帯電話730へと応答情報が送信され、携帯電話730で受信されて登録処理が終了する。
なお、本形態の登録処理も、任意の頻度で任意のタイミングで実行してもかまわないが、携帯電話730(第3通信装置)がプライベートネットワーク702(第1ネットワーク)に初めて接続される際、又は、携帯電話730(第3通信装置)がプライベートネットワーク702(第1ネットワーク)に接続されるたび、又は、携帯電話730(第3通信装置)に新たなプライベートアドレス(第1アドレス)が割り当てられるたびに、それぞれの携帯電話730が実行されることが望ましい。これにより、最新のアドレス対応付けテーブル725aをサーバ装置720に登録しておくことができるからである。このような手順は、プライベートアドレスが携帯電話730に動的に割り当てられる場合に特に有効である。
Thereafter, the response information is transmitted from the
The registration process of this embodiment may be executed at an arbitrary frequency and at an arbitrary timing. However, when the mobile phone 730 (third communication device) is connected to the private network 702 (first network) for the first time, Alternatively, each time the mobile phone 730 (third communication device) is connected to the private network 702 (first network), or a new private address (first address) is assigned to the mobile phone 730 (third communication device). Each time, it is desirable that each
[サービス利用処理]
図20,図21は、第2実施形態のサービス利用処理を説明するためのシーケンス図である。以下、図20,図21に従い、本形態のサービス利用処理を説明する。
まず、PC710(第1通信装置)(図17(a))の通信処理部14が、記憶部15からPC710のIPv6アドレス(第2アドレス+第1アドレス)を読み込み、ヘッダ情報にIPv6アドレスを含み、ペイロード情報にサービス要求を含むサービス要求情報を生成する。生成されたサービス要求情報は、送信部11からルータ装置740に送信(例えばHTTPリクエスト)される(ステップS111)。
[Service Usage Processing]
20 and 21 are sequence diagrams for explaining the service use processing of the second embodiment. Hereinafter, the service use processing of this embodiment will be described with reference to FIGS.
First, the communication processing unit 14 of the PC 710 (first communication device) (FIG. 17A) reads the IPv6 address (second address + first address) of the
送信されたサービス要求情報は、ルータ装置740で受信され、ワイドエリアネットワーク703(第2ネットワーク)を通じてサーバ装置720に送信され(ステップS112)、サーバ装置720(図17(b))の受信部22で受信される(ステップS113)。
受信部22で受信されたサービス要求情報(第1情報)は通信処理部24に送られ、通信処理部24は、そのサービス要求情報のヘッダ情報が有する送信元のIPv6アドレス(第2アドレス+第1アドレス)を検索部726に送る。検索部726は、入力されたIPv6アドレス(第2アドレス+第1アドレス)のプレフィックス(第2アドレス)を用い、記憶部25に格納されたアドレス対応付けテーブル725aを検索し、そのプレフィックスに対応する携帯電話730のアカウント名を抽出する(ステップS114)。この際、複数のアカウント名が抽出される場合もある。
The transmitted service request information is received by the router device 740, transmitted to the
The service request information (first information) received by the receiving
次に、第2実施形態のステップS65〜S69と同様な処理が実行される(ステップS115〜S119)。
その後、ステップS119で入力された選択情報がPC710(図17(a))の通信処理部14に送られる。通信処理部14は、記憶部15からPC710のIPv6アドレス(第2アドレス+第1アドレス)を読み込み、ヘッダ情報にPC710のIPv6アドレス(第2アドレス+第1アドレス)を含み、ペイロード情報に選択情報に示されるアカウント名(識別情報)とサービス要求を含む選択情報を生成する。生成された選択情報(第1情報)は、送信部11からルータ装置740に送信(例えばHTTPリクエスト)される(ステップS120)。
Next, processing similar to steps S65 to S69 of the second embodiment is executed (steps S115 to S119).
Thereafter, the selection information input in step S119 is sent to the communication processing unit 14 of the PC 710 (FIG. 17A). The communication processing unit 14 reads the IPv6 address (second address + first address) of the
送信された選択情報(第1情報)は、ルータ装置740で受信され、ワイドエリアネットワーク703(第2ネットワーク)を通じてサーバ装置720に送信され(ステップS121)、サーバ装置720(図17(b))の受信部22で受信される(ステップS122)。
受信部22で受信された選択情報(第1情報)は通信処理部24に送られ、通信処理部24は、そのサービス要求情報のヘッダ情報が有する送信元のIPv6アドレス(第2アドレス+第1アドレス)と、ペイロード情報が有するアカウント名(識別情報)とを検索部726に送る。検索部726は、入力されたIPv6アドレス(第2アドレス+第1アドレス)のプレフィックス(第2アドレス)とアカウント名(識別情報)とを用い、記憶部25に格納されたアドレス対応付けテーブル725aを検索し、そのプレフィックス(第2アドレス)とアカウント名(識別情報)とに対応する携帯電話730のIPv6アドレス(第2アドレス+第1アドレス)を抽出する(検索過程/ステップS123)。
The transmitted selection information (first information) is received by the router device 740, transmitted to the
The selection information (first information) received by the receiving
その後、抽出された携帯電話730のIPv6アドレス(第2アドレス+第1アドレス)は、その検索に用いられたサービス要求情報の送信元のIPv6アドレスとともに、通信処理部24に送られる。通信処理部24は、送られた携帯電話30のIPv6アドレス(第2アドレス+第1アドレス)を含み、ヘッダ情報の宛先アドレスとしてサービス要求情報の送信元のIPv6アドレスを含む応答情報(第2情報)を生成する。応答情報(第2情報)は、送信部21に送られ、送信部21は、応答情報(第2情報)を、ワイドエリアネットワーク703(第2ネットワーク)を通じてルータ装置740に送信する(第2情報送信過程/ステップS124)。なお、この応答情報(第2情報)の送信は、例えばHTTPレスポンスとして行われる。
Thereafter, the extracted IPv6 address (second address + first address) of the
送信された応答情報は、ルータ装置740で受信され(ステップS125)、プライベートネットワーク702を通じてステップS111と同じPC710(図17(a))(第1通信装置)の受信部12で受信される(第2情報受信過程/ステップS126)。この応答情報(第2情報)は、通信処理部14に送られる。通信処理部14は、送信部11から、応答情報(第2情報)が有する携帯電話のIPv6アドレス(第2アドレス+第1アドレス)によって特定される携帯電話730(第3通信装置)に、プライベートネットワーク702(第1ネットワーク)を通じ、サービス要求情報(第3情報)を送信する(第3情報送信過程/ステップS127)。 The transmitted response information is received by the router device 740 (step S125), and is received by the receiving unit 12 of the same PC 710 (FIG. 17A) (first communication device) as that of step S111 through the private network 702 (first communication device). 2 Information reception process / step S126). This response information (second information) is sent to the communication processing unit 14. The communication processing unit 14 sends a private message from the transmission unit 11 to the mobile phone 730 (third communication device) specified by the IPv6 address (second address + first address) of the mobile phone included in the response information (second information). Service request information (third information) is transmitted through the network 702 (first network) (third information transmission process / step S127).
送信されたサービス要求情報(第3情報)は、携帯電話730(図17(c))の受信部32で受信され、通信処理部34に送られる(ステップS128)。通信処理部34は、その応答情報を生成し、送信部31から送信する(ステップS129)。この応答情報は、プライベートネットワーク702を通じ、ステップS127と同じPC710(図17(a))の受信部12で受信される(ステップS130)。
The transmitted service request information (third information) is received by the receiving
<本形態の特徴>
以上のように、本形態では、プライベートネットワーク702(第1ネットワーク)内の携帯電話730(通信装置)毎に割り当てられたIPv6アドレスのインタフェースID(第1アドレス)及びアカウント名(識別情報)と、プライベートネットワーク702(第1ネットワーク)内のPC710や携帯電話730(通信装置)に共用されるIPv6アドレスのプレフィックス(第2アドレス)と、を携帯電話730(通信装置)毎に対応付けたアドレス対応付けテーブル725aを、プライベートネットワーク702(第1ネットワーク)外のワイドエリアネットワーク703(第2ネットワーク)内に接続されたサーバ装置720(通知装置)の記憶部25に格納し(ステップS104)、サーバ装置720(通知装置)の検索部726が、プライベートネットワーク702(第1ネットワーク)内のPC710(第1通信装置)からワイドエリアネットワーク703(第2ネットワーク)を通じて送信された選択情報(第1情報)の送信元IPv6アドレスのプレフィックス(第2アドレス)と、選択情報(第1情報)が具備するアカウント名(識別情報)とを用い、アドレス対応付けテーブル725aを検索し、これらに対応付けられた携帯電話730のIPv6アドレス(第2アドレス+第1アドレス)を抽出し(ステップS123)、ワイドエリアネットワーク703(第2ネットワーク)内のサーバ装置720(第2通信装置)の送信部21が、ステップS123で抽出された携帯電話730のIPv6アドレス(第2アドレス+第1アドレス)を含む応答情報(第2情報)を、ワイドエリアネットワーク703(第2ネットワーク)を通じて送信する(ステップS124)こととした。これにより、PC710は、事前に携帯電話730のIPv6アドレスを知らなくても、選択した携帯電話730へアクセスできる。
<Features of this embodiment>
As described above, in this embodiment, the interface ID (first address) and account name (identification information) of the IPv6 address assigned to each mobile phone 730 (communication device) in the private network 702 (first network), Address association in which the prefix (second address) of the IPv6 address shared by the
また、本形態の登録処理(ステップS101〜S107)は、PC710が介入することなく、携帯電話730(第3通信装置)自らがIPv6アドレス(第2アドレス+第1アドレス)をルータ装置740経由でサーバ装置720に送信して行われる。そのため、PC710は、事前に携帯電話730のIPv6アドレスに全く関与することなく、選択した携帯電話730へアクセスすることができる。
Further, the registration processing (steps S101 to S107) of this embodiment is such that the mobile phone 730 (third communication device) itself sends the IPv6 address (second address + first address) via the router device 740 without the
<第3実施形態の変形例>
なお、本発明は第3実施形態に限定されるものではない。
例えば、ステップS119で、利用者が携帯電話(アカウント名)の選択情報をPC710の入力部718に入力する際、サーバ装置720がPC710に対してパスワード等を入力させ、利用者が携帯電話(アカウント名)を選択する権限があるか否かを認証する構成であってもよい。
また、第3実施形態では、サーバ装置720が第2通信装置と通知装置とを兼ねる構成としたが、第2通信装置と通知装置とを別個に構成してもよい。また、複数の第2通信装置が通知装置を共用する構成であってもよい。これにより、重複するアドレス対応付けテーブルの作成・管理が不要となり、システム全体の効率が向上する。
<Modification of Third Embodiment>
Note that the present invention is not limited to the third embodiment.
For example, when the user inputs selection information of the mobile phone (account name) to the input unit 718 of the
In the third embodiment, the
また、第3実施形態では、PC710(第1通信装置)や携帯電話730(第3通信装置)がルータ装置740を介してワイドエリアネットワーク703と通信を行う例を示したが、PC710(第1通信装置)がルータ装置を兼用する構成であってもよい。
また、PC(第1通信装置)がルータ装置の機能を具備し、さらに、第2通信装置と通知装置とを別個に構成し、通信システムを構成してもよい。
In the third embodiment, the PC 710 (first communication device) and the mobile phone 730 (third communication device) communicate with the
Further, the PC (first communication device) may have the function of a router device, and the second communication device and the notification device may be separately configured to configure a communication system.
また、第3実施形態では、携帯電話(第3通信装置)の識別情報としてアカウント名を用いたが、携帯電話(第3通信装置)の識別情報として、電話番号やメールアドレスやMACアドレスその他の携帯電話を一義に特定する情報を用いてもよい。また、第3実施形態では、第1通信装置としてPCを用い、第3通信装置として携帯電話を用いる例を示した。しかし、第1通信装置として携帯電話やPDA等を用いてもよいし、第3通信装置としてPCやPDA等を用いてもよい。
さらに、ワイドエリアネットワーク703がプライベートネットワークであってもよい。
In the third embodiment, the account name is used as identification information of the mobile phone (third communication device). However, as identification information of the mobile phone (third communication device), a telephone number, an e-mail address, a MAC address, and other information are used. Information that uniquely identifies the mobile phone may be used. Moreover, in 3rd Embodiment, PC was used as a 1st communication apparatus and the example which uses a mobile telephone as a 3rd communication apparatus was shown. However, a mobile phone, a PDA, or the like may be used as the first communication device, and a PC, a PDA, or the like may be used as the third communication device.
Further, the
〔その他の変形例等〕
上述の各種の処理は、記載に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。その他、本発明の趣旨を逸脱しない範囲で適宜変更が可能であることはいうまでもない。
また、上述の構成をコンピュータによって実現する場合、各装置が有すべき機能の処理内容はプログラムによって記述される。そして、このプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。
[Other variations, etc.]
The various processes described above are not only executed in time series according to the description, but may also be executed in parallel or individually as required by the processing capability of the apparatus that executes the processes. Needless to say, other modifications are possible without departing from the spirit of the present invention.
Further, when the above-described configuration is realized by a computer, processing contents of functions that each device should have are described by a program. The processing functions are realized on the computer by executing the program on the computer.
この処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、例えば、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリ等どのようなものでもよいが、具体的には、例えば、磁気記録装置として、ハードディスク装置、フレキシブルディスク、磁気テープ等を、光ディスクとして、DVD(Digital Versatile Disc)、DVD−RAM(Random Access Memory)、CD−ROM(Compact Disc Read Only Memory)、CD−R(Recordable)/RW(ReWritable)等を、光磁気記録媒体として、MO(Magneto-Optical disc)等を、半導体メモリとしてEEP−ROM(Electronically Erasable and Programmable-Read Only Memory)等を用いることができる。 The program describing the processing contents can be recorded on a computer-readable recording medium. The computer-readable recording medium may be any medium such as a magnetic recording device, an optical disk, a magneto-optical recording medium, or a semiconductor memory. Specifically, for example, the magnetic recording device may be a hard disk device or a flexible Discs, magnetic tapes, etc. as optical discs, DVD (Digital Versatile Disc), DVD-RAM (Random Access Memory), CD-ROM (Compact Disc Read Only Memory), CD-R (Recordable) / RW (ReWritable), etc. As the magneto-optical recording medium, MO (Magneto-Optical disc) or the like can be used, and as the semiconductor memory, EEP-ROM (Electronically Erasable and Programmable-Read Only Memory) or the like can be used.
また、このプログラムの流通は、例えば、そのプログラムを記録したDVD、CD−ROM等の可搬型記録媒体を販売、譲渡、貸与等することによって行う。さらに、このプログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することにより、このプログラムを流通させる構成としてもよい。 The program is distributed by selling, transferring, or lending a portable recording medium such as a DVD or CD-ROM in which the program is recorded. Furthermore, the program may be distributed by storing the program in a storage device of the server computer and transferring the program from the server computer to another computer via a network.
このようなプログラムを実行するコンピュータは、例えば、まず、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、一旦、自己の記憶装置に格納する。そして、処理の実行時、このコンピュータは、自己の記録媒体に格納されたプログラムを読み取り、読み取ったプログラムに従った処理を実行する。また、このプログラムの別の実行形態として、コンピュータが可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することとしてもよく、さらに、このコンピュータにサーバコンピュータからプログラムが転送されるたびに、逐次、受け取ったプログラムに従った処理を実行することとしてもよい。また、サーバコンピュータから、このコンピュータへのプログラムの転送は行わず、その実行指示と結果取得のみによって処理機能を実現する、いわゆるASP(Application Service Provider)型のサービスによって、上述の処理を実行する構成としてもよい。なお、本形態におけるプログラムには、電子計算機による処理の用に供する情報であってプログラムに準ずるもの(コンピュータに対する直接の指令ではないがコンピュータの処理を規定する性質を有するデータ等)を含むものとする。 A computer that executes such a program first stores, for example, a program recorded on a portable recording medium or a program transferred from a server computer in its storage device. When executing the process, the computer reads a program stored in its own recording medium and executes a process according to the read program. As another execution form of the program, the computer may directly read the program from a portable recording medium and execute processing according to the program, and the program is transferred from the server computer to the computer. Each time, the processing according to the received program may be executed sequentially. Also, the program is not transferred from the server computer to the computer, and the above-described processing is executed by a so-called ASP (Application Service Provider) type service that realizes the processing function only by the execution instruction and result acquisition. It is good. Note that the program in this embodiment includes information that is used for processing by an electronic computer and that conforms to the program (data that is not a direct command to the computer but has a property that defines the processing of the computer).
また、この形態では、コンピュータ上で所定のプログラムを実行させることにより、本装置を構成することとしたが、これらの処理内容の少なくとも一部をハードウェア的に実現することとしてもよい。 In this embodiment, the present apparatus is configured by executing a predetermined program on a computer. However, at least a part of these processing contents may be realized by hardware.
本発明の産業上の利用分野としては、例えば、プライベートネットワーク(第1ネットワーク)内の携帯電話(第3通信装置)を認証装置とした認証システムを例示できる。本発明を適用することにより、例えば、プライベートネットワーク(第1ネットワーク)内のPC(第1通信装置)が、ワイドエリアネットワーク(第2ネットワーク)上のサービス提供装置であるサーバ装置(通知装置兼用)にサービスを要求し、サーバ装置(通知装置兼用)がPC(第1通信装置)に認証装置である携帯電話(第3通信装置)によるユーザ認証を求める処理を実行することができる。 As an industrial application field of the present invention, for example, an authentication system using a mobile phone (third communication device) in a private network (first network) as an authentication device can be exemplified. By applying the present invention, for example, a server device (also used as a notification device) in which a PC (first communication device) in a private network (first network) is a service providing device on a wide area network (second network). The server device (also used as a notification device) can execute processing for requesting user authentication by a mobile phone (third communication device) as an authentication device to the PC (first communication device).
1,101,201,301,401,701 通信システム 1, 101, 201, 301, 401, 701 Communication system
Claims (10)
第1ネットワーク内の通信装置毎に割り当てられた第1アドレスと、第1ネットワーク内の通信装置に共用される第2ネットワーク内のアドレス情報である第2アドレスと、を通信装置毎に対応付けたアドレス対応付けテーブルを、第1ネットワーク外の第2ネットワーク内に接続された通知装置の記憶部に格納するアドレス対応付けテーブル格納過程と、
上記通知装置の検索部に、第1ネットワーク内の第1通信装置から第2ネットワークを通じて送信された第1情報の送信元の第2アドレスが入力され、当該検索部が、入力された第2アドレスを用いて上記アドレス対応付けテーブルを検索し、当該第2アドレスに対応付けられた第1アドレスを抽出する検索過程と、
第2ネットワーク内の第2通信装置の送信部が、上記検索過程で抽出された上記第1アドレスを含む第2情報を、第2ネットワークを通じて送信する第2情報送信過程と、
を有することを特徴とするネットワーク間通信方法。 An inter-network communication method performed between a communication device in a first network and a communication device in a second network,
The first address assigned to each communication device in the first network is associated with the second address, which is address information in the second network shared by the communication devices in the first network, for each communication device. An address association table storage process for storing the address association table in a storage unit of a notification device connected in the second network outside the first network;
The search unit of the notification device receives the second address of the transmission source of the first information transmitted from the first communication device in the first network through the second network, and the search unit receives the input second address. A search process for searching the address association table using the above and extracting a first address associated with the second address;
A second information transmission process in which the transmission unit of the second communication device in the second network transmits the second information including the first address extracted in the search process through the second network;
A communication method between networks, comprising:
上記第1通信装置の受信部が、上記第2情報を受信する第2情報受信過程と、
上記第1通信装置の送信部が、第1ネットワークを通じ、上記第2情報が有する上記第1アドレスによって特定される第3通信装置に、第3情報を送信する第3情報送信過程と、をさらに有し、
上記第2情報送信過程は、
上記第2通信装置の送信部が、上記第1情報の応答情報として上記第2情報を上記第1通信装置に送信する過程である、
ことを特徴とするネットワーク間通信方法。 The inter-network communication method according to claim 1,
A second information receiving process in which the receiving unit of the first communication device receives the second information;
A third information transmission process in which the transmission unit of the first communication device transmits the third information to the third communication device specified by the first address included in the second information through the first network; Have
The second information transmission process includes:
The transmission unit of the second communication device is a process of transmitting the second information to the first communication device as response information of the first information.
An inter-network communication method characterized by the above.
第1ネットワークと第2ネットワークとを接続する接続装置の送信部が、第1ネットワーク内の第3通信装置から送信された当該第3通信装置に割り当てられた第1アドレスと、当該第1ネットワーク内の通信装置に共用される第2ネットワーク内のアドレス情報である第2アドレスと、を有する登録要求情報を、上記通知装置に送信するか、又は、第1ネットワーク内の第3通信装置の送信部が、当該第3通信装置に割り当てられた第1アドレスと、当該第1ネットワーク内の通信装置に共用される第2ネットワーク内のアドレス情報である第2アドレスと、を有する登録要求情報を、上記通知装置に送信する登録要求送信過程と、
上記通知装置の受信部が、上記登録要求情報を受信する登録要求受信過程と、をさらに有し、
上記アドレス対応付けテーブル格納過程は、
上記登録要求受信過程で受信された上記登録要求情報が有する第1アドレスと第2アドレスとを対応付けたアドレス対応付けテーブルを、上記通知装置の記憶部に格納する過程である、
ことを特徴とするネットワーク間通信方法。 The inter-network communication method according to claim 1 or 2,
The transmission unit of the connection device that connects the first network and the second network, the first address assigned to the third communication device transmitted from the third communication device in the first network, and the first network The registration request information having the second address which is the address information in the second network shared by the communication device is transmitted to the notification device, or the transmission unit of the third communication device in the first network Registration request information having a first address assigned to the third communication device and a second address that is address information in the second network shared by the communication devices in the first network, A registration request transmission process to be transmitted to the notification device;
The receiving unit of the notification device further includes a registration request receiving process of receiving the registration request information;
The address mapping table storage process is as follows:
A process of storing an address association table in which the first address and the second address of the registration request information received in the registration request reception process are associated with each other in the storage unit of the notification device;
An inter-network communication method characterized by the above.
上記アドレス対応付けテーブルは、
第1ネットワーク内の通信装置を識別する識別情報を、さらに当該通信装置に対応する第1アドレスと第2アドレスとに対応付けたテーブルであり、
上記検索過程は、
さらに入力された識別情報を用い、入力された第2アドレスと識別情報とに対応付けられている第1アドレスを抽出する過程である、
ことを特徴とするネットワーク間通信方法。 The inter-network communication method according to claim 1 or 2,
The address mapping table is
A table in which identification information for identifying a communication device in the first network is further associated with a first address and a second address corresponding to the communication device;
The above search process is
Furthermore, using the input identification information, it is a process of extracting the first address associated with the input second address and identification information,
An inter-network communication method characterized by the above.
第1ネットワークと第2ネットワークとを接続する接続装置の送信部が、第1ネットワーク内の第3通信装置から送信された当該第3通信装置に割り当てられた第1アドレス及び識別情報と、当該第1ネットワーク内の通信装置に共用される第2ネットワーク内のアドレス情報である第2アドレスと、を有する登録要求情報を、上記通知装置に送信するか、又は、第1ネットワーク内の第3通信装置の送信部が、当該第3通信装置に割り当てられた第1アドレス及び識別情報と、当該第1ネットワーク内の通信装置に共用される第2ネットワーク内のアドレス情報である第2アドレスと、を有する登録要求情報を、上記通知装置に送信する登録要求送信過程と、
上記通知装置の受信部が、上記登録要求情報を受信する登録要求受信過程と、をさらに有し、
上記アドレス対応付けテーブル格納過程は、
上記登録要求受信過程で受信された上記登録要求情報が有する第1アドレスと識別情報と第2アドレスとを対応付けたアドレス対応付けテーブルを、上記通知装置の記憶部に格納する過程である、
ことを特徴とするネットワーク間通信方法。 The inter-network communication method according to claim 4,
The transmission unit of the connection device that connects the first network and the second network includes a first address and identification information assigned to the third communication device transmitted from the third communication device in the first network, and the first Registration request information having a second address which is address information in a second network shared by communication devices in one network is transmitted to the notification device, or a third communication device in the first network Has a first address and identification information assigned to the third communication device, and a second address that is address information in the second network shared by the communication devices in the first network. A registration request transmission process for transmitting registration request information to the notification device;
The receiving unit of the notification device further includes a registration request receiving process of receiving the registration request information;
The address mapping table storage process is as follows:
Storing the address association table in which the first address, identification information, and second address of the registration request information received in the registration request reception process are associated with each other in the storage unit of the notification device;
An inter-network communication method characterized by the above.
上記登録要求送信過程と上記登録要求受信過程と上記アドレス対応付けテーブル格納過程とは、上記第3通信装置が第1ネットワークに初めて接続される際、又は、上記第3通信装置が第1ネットワークに接続されるたび、又は、上記第3通信装置に新たな第1アドレスが割り当てられるたびに実行される過程である、
ことを特徴とするネットワーク間通信方法。 The inter-network communication method according to claim 3 or 5,
The registration request transmission process, the registration request reception process, and the address association table storage process are performed when the third communication device is connected to the first network for the first time, or when the third communication device is connected to the first network. A process that is executed each time a connection is made or a new first address is assigned to the third communication device.
An inter-network communication method characterized by the above.
第1ネットワーク内の通信装置毎に割り当てられた第1アドレスと、第1ネットワーク内の通信装置に共用される第2ネットワーク内のアドレス情報である第2アドレスと、を通信装置毎に対応付けたアドレス対応付けテーブルを格納する記憶部と、
第1ネットワーク内の第1通信装置から第2ネットワークを通じて送信された第1情報の送信元の第2アドレスが入力され、当該検索部が、入力された第2アドレスを用いて上記アドレス対応付けテーブルを検索し、当該第2アドレスに対応付けられた第1アドレスを抽出する検索部と、を有し、
第1ネットワーク外の第2ネットワーク内に接続される、
ことを特徴とする通知装置。 A notification device used for inter-network communication between a communication device in a first network and a communication device in a second network,
The first address assigned to each communication device in the first network is associated with the second address, which is address information in the second network shared by the communication devices in the first network, for each communication device. A storage unit for storing an address correspondence table;
The second address of the transmission source of the first information transmitted from the first communication device in the first network through the second network is input, and the search unit uses the input second address to input the address association table. And a search unit for extracting the first address associated with the second address,
Connected in a second network outside the first network,
The notification apparatus characterized by the above-mentioned.
上記アドレス対応付けテーブルは、
第1ネットワーク内の通信装置を識別する識別情報を、さらに当該通信装置に対応する第1アドレスと第2アドレスとに対応付けたテーブルであり、
上記検索部は、
さらに入力された識別情報を用い、入力された第2アドレスと識別情報とに対応付けられている第1アドレスを抽出する、
ことを特徴とする通知装置。 The notification device according to claim 7,
The address mapping table is
A table in which identification information for identifying a communication device in the first network is further associated with a first address and a second address corresponding to the communication device;
The search part above
Further, using the input identification information, a first address associated with the input second address and the identification information is extracted.
The notification apparatus characterized by the above-mentioned.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007252844A JP2009088721A (en) | 2007-09-28 | 2007-09-28 | Inter-network communicating method, notification device, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007252844A JP2009088721A (en) | 2007-09-28 | 2007-09-28 | Inter-network communicating method, notification device, program, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009088721A true JP2009088721A (en) | 2009-04-23 |
Family
ID=40661597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007252844A Pending JP2009088721A (en) | 2007-09-28 | 2007-09-28 | Inter-network communicating method, notification device, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009088721A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005079023A1 (en) * | 2004-02-17 | 2005-08-25 | Ginganet Corporation | Address solving apparatus, address solving method, and communication system using the same |
JP2005348090A (en) * | 2004-06-03 | 2005-12-15 | Nec Corp | Method and system for multicast tree construction, network node device, and server |
-
2007
- 2007-09-28 JP JP2007252844A patent/JP2009088721A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005079023A1 (en) * | 2004-02-17 | 2005-08-25 | Ginganet Corporation | Address solving apparatus, address solving method, and communication system using the same |
JP2005348090A (en) * | 2004-06-03 | 2005-12-15 | Nec Corp | Method and system for multicast tree construction, network node device, and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7631181B2 (en) | Communication apparatus and method, and program for applying security policy | |
US9350814B2 (en) | Internet protocol connectivity over a service-oriented architecture bus | |
JP3876741B2 (en) | Protocol conversion method and apparatus | |
JP4421517B2 (en) | Information processing server, remote operation system, and remote operation method | |
US20030069992A1 (en) | Resolving host name data | |
CN100518125C (en) | Communication apparatus, system, method | |
US20130111066A1 (en) | Device and Method for Split DNS Communications | |
US7594031B2 (en) | Network address selection | |
WO2010100850A1 (en) | Communication method, communication system, anonymizing device, and server | |
US10498864B1 (en) | System and method for selecting connection mode between a client and a server | |
JP2006148902A (en) | IPv4-IPv6 CONVERSION SYSTEM USING DUAL STACK CONVERSION MECHANISM AND ITS METHOD | |
US8194683B2 (en) | Teredo connectivity between clients behind symmetric NATs | |
JP2005295217A (en) | Communication apparatus, name resolution method and program | |
US20130064250A1 (en) | Remotely accessing and controlling user equipment in a private network | |
US20070183367A1 (en) | Method and apparatus of searching for and acquiring handover information using dynamic host configuration protocol | |
JP2006087039A (en) | Mobile ip communication terminal device and mobile ip communication method | |
CN105681249A (en) | Network access method and network conversion equipment | |
US7693091B2 (en) | Teredo connectivity between clients behind symmetric NATs | |
JP2009088721A (en) | Inter-network communicating method, notification device, program, and recording medium | |
JP3864397B2 (en) | User edge router, gateway router, multihoming communication system, multihoming communication method, and multihoming communication program | |
JP3575369B2 (en) | Access routing method and access providing system | |
JP3742390B2 (en) | Communication method, communication apparatus, and program using HTTP tunneling server | |
JP6885903B2 (en) | Packet communication network system, network API management device, network API address resolution method and computer program | |
US20150032906A1 (en) | Apparatus and method for assigning ip address in communication system | |
JP2004048260A (en) | Packet transfer method, packet transfer system, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110406 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110412 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110607 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110809 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20110812 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111206 |