JP2004015685A - Communication terminal and method of identifying global ip address - Google Patents

Communication terminal and method of identifying global ip address Download PDF

Info

Publication number
JP2004015685A
JP2004015685A JP2002169535A JP2002169535A JP2004015685A JP 2004015685 A JP2004015685 A JP 2004015685A JP 2002169535 A JP2002169535 A JP 2002169535A JP 2002169535 A JP2002169535 A JP 2002169535A JP 2004015685 A JP2004015685 A JP 2004015685A
Authority
JP
Japan
Prior art keywords
address
communication terminal
mail
global
private
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002169535A
Other languages
Japanese (ja)
Inventor
Takashi Maniwa
馬庭 隆司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002169535A priority Critical patent/JP2004015685A/en
Publication of JP2004015685A publication Critical patent/JP2004015685A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To identify a global IP address assigned to a private IP address space by a general purpose means in a communication terminal on a private IP address space connected via a router comprising an NAT function. <P>SOLUTION: A mail making means 33 makes an mail addressed to the communication terminal itself, which is transmitted by a transmitting means 34 to a mail server located outside the private IP address space. A received mail screening means 36 identifies the mail transmitted by the communication terminal itself from the mails received by a mail receiving means 35, and an IP address extracting means 37 analyzes header information of the mail to extract information on the global IP address assigned to the private IP address space. The mail making means 33 makes a mail addressed to a predetermined terminal that includes the extracted global IP address information, which is transmitted by the mail transmitting means 34. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、TCP/IPに基づくネットワーク通信を利用した通信端末及びこれに係るグローバルIPアドレス特定方法に関するものである。
【0002】
【従来の技術】
近年、インターネットの普及とともに、ADSL(asymmetric digital subscriber line)やケーブルTVなどインターネットへの安価で高速な常時接続環境が充実してきている。このような背景のもと、家庭内においてもTCP/IP(transmission control protocol/internet protocol)に基づくネットワーク通信が可能な機器が増え、家庭内においてもネットワークを構築する必要性が出てきている。このような家庭内のネットワーク環境では、家庭内にプライベートなIPアドレス空間(以下、プライベートネットワークとする)を構成し、グローバルなIPアドレス空間であるインターネット(以下、グローバルネットワークとする)と接続して相互に通信を行う機会も急速に増えてきている。
【0003】
以下にプライベートネットワークとグローバルネットワーク間の通信について説明する。
【0004】
図4は、プライベートネットワークとグローバルネットワークを接続して通信を行う場合の構成を示すものである。図4において、10はインターネットなどグローバルIPアドレス空間であるグローバルネットワークであり、11はグローバルネットワーク10上に設置された通信端末である。12はプライベートIPアドレス空間であるプライベートネットワークであり、13及び17はプライベートネットワーク12上に設置された通信端末である。14はプライベートネットワークからグローバルネットワークへの接続点となるインターネット・サービス・プロバイダ(以下、ISPと略す)である。15はISP14からグローバルIPアドレスを取得するグローバルIPアドレス取得機器である。グローバルIPアドレス取得機器15は、IPS14との接続形態により異なり、例えば、ADSL接続の場合はADSLモデム、ケーブルTV接続の場合は専用の接続機器(ケーブルTV用モデム)となる。また、グローバルIPアドレス取得機器15は、IPS14との間で通信が確立された時点で、自動的に与えられるグローバルIPアドレスを取得するため、通信が確立される毎に異なるグローバルIPアドレスとなる場合が多い。
【0005】
16はグローバルIPアドレス取得機器15がISP14から取得したグローバルIPアドレスと、プライベートネットワーク上の通信端末13,17に割り当てられたプライベートIPアドレスとの相互変換を行うNAT(Network Address Translator)機能を備えたルータである。NAT機能は、一般にRFC(request for comments)1631として知られている。
【0006】
以上のように構成されたプライベートネットワークとグローバルネットワークについて、以下その間での通信動作について説明する。
【0007】
まず、グローバルIPアドレス取得機器15とIPS14の間で通信が確立した時点でグローバルIPアドレス取得機器15はIPS14から1つのグローバルIPアドレスを取得する。プライベートネットワーク12に設置された通信端末13からインターネット10に設置された通信端末11へ通信を行う場合、通信端末13にはプライベートIPアドレスが割り振られているため、通信端末13から発せられるTCP/IPのパケットは、一度、ルータ16において、その送り元IPアドレスがプライベートIPアドレスからグローバルIPアドレス取得機器15が取得したグローバルIPアドレスに変換され、IPS14を通してグローバルネットワーク10に設置された通信端末11まで到達する。
【0008】
一方、グローバルネットワーク10に設置された通信端末11からプライベートネットワーク12に設置された通信端末13に通信を行う場合、グローバルIPアドレス取得機器15が取得しているグローバルIPアドレスがプライベートネットワーク12に設置された通信端末13へ向けたTCP/IPパケットの送り先であることを事前に通信端末11に知らせておき、通信端末11はグローバルIPアドレス取得機器15が取得しているグローバルIPアドレスに向けTCP/IPパケットを発し、グローバルIPアドレス取得機器15へ届いたTCP/IPパケットは更にその後のルータ16により送り先IPアドレスをグローバルIPアドレス取得機器15のグローバルIPアドレスから通信端末13のプライベートIPアドレスに変換され、プライベートネットワーク12に設置された通信端末13まで到達する。
【0009】
このように、家庭内のプライベートネットワーク12において、複数の通信端末が存在する場合でも、1つのグローバルIPアドレスの取得で、通信端末13は、グローバルネットワーク10と接続し、通信端末11とのネットワーク通信を実現することができる。
【0010】
【発明が解決しようとする課題】
上記従来のネットワーク通信の環境では、グローバルネットワーク10に設置された通信端末11からプライベートネットワーク12に設置された通信端末13へ通信する場合に不可欠であるグローバルIPアドレス取得機器15が取得しているグローバルIPアドレスを汎用的に特定できる手段が無く、またグローバルIPアドレス取得機器15が取得しているグローバルIPアドレスをグローバルネットワーク10に設置された通信端末11に汎用的に通知する手段も無いため、グローバルネットワーク10に設置された通信端末11からプライベートネットワーク12に設置された通信端末13へは容易に通信を開始することができないという問題点を有していた。
【0011】
本発明は上記従来の問題点を解決するもので、プライベートネットワーク12に設置された通信端末が、グローバルIPアドレス取得機器15で取得しているグローバルIPアドレスを汎用的な手段で特定し、プライベートネットワーク12に設置された通信端末(自己)へ向けたTCP/IPパケットの送り先としてグローバルネットワーク10に設置された通信端末に汎用的な手段で知らせることで、グローバルネットワーク10に設置された通信端末からプライベートネットワークに設置された通信端末へのTCP/IPに基づく通信を容易に実現できる通信端末及びこれに係るグローバルIPアドレス特定方法を提供することを目的とする。
【0012】
【課題を解決するための手段】
この目的を達成するために本発明の通信端末は、ネットワークアドレス変換機能を有するルータと接続されるプライベートIPアドレス空間に設置される通信端末であって、プライベートIPアドレス空間外に設置されたインターネットメールサーバを介してインターネットメールを送信するメール発信手段と、インターネットメールサーバを介してインターネットメールを受信するメール受信手段と、メール受信手段にて受信したインターネットメールのヘッダ情報を解析し、IPアドレス情報を抽出するIPアドレス抽出手段とを備えたものである。
【0013】
この構成によって、プライベートIPアドレス空間に設置された通信端末が、プライベートIPアドレス空間外に設置されたインターネットメールサーバを介して送受信するインターネットメールから所望のIPアドレス情報を抽出することができる。
【0014】
【発明の実施の形態】
本発明の第1の発明は、ネットワークアドレス変換機能を有するルータと接続されるプライベートIPアドレス空間に設置される通信端末であって、前記プライベートIPアドレス空間外に設置されたインターネットメールサーバを介してインターネットメールを送信するメール発信手段と、前記インターネットメールサーバを介してインターネットメールを受信するメール受信手段と、前記メール受信手段にて受信したインターネットメールのヘッダ情報を解析し、IPアドレス情報を抽出するIPアドレス抽出手段とを備えたものであり、受信したインターネットメールのヘッダ情報を解析しIPアドレス情報を抽出することにより、ネットワーク経路上の機器のIPアドレス情報を特定することができるという作用を有する。
【0015】
また、本発明の第2の発明は、上記第1の発明において、前記IPアドレス抽出手段は、インターネットメールのヘッダ情報に含まれるReceived項に含まれるIPアドレス情報を抽出することにより、インターネットメールを発信した端末のIPアドレスを特定することを特徴とするものであり、簡便な手法により、受信したインターネットメールの発信元通信端末のIPアドレス情報を特定することができるという作用を有する。
【0016】
また、本発明の第3の発明は、上記第1の発明において、前記メール発信手段は、通信端末自身を宛先としたインターネットメールを発信し、前記IPアドレス抽出手段は、前記メール受信手段により受信した通信端末自身宛のインターネットメールのヘッダ情報からIPアドレス情報を抽出することにより、通信端末自身に係るIPアドレス情報を特定することを特徴とするものであり、受信したインターネットメールのヘッダ情報からIPアドレス情報を抽出することにより、通信端末自身に係るIPアドレス情報を特定できるという作用を有する。
【0017】
また、本発明の第4の発明は、上記第3の発明において、前記メール発信手段は、前記IPアドレス抽出手段にて抽出し特定した通信端末自身に係るIPアドレス情報を含むインターネットメールを、前記プライベートIPアドレス空間外に設置された所定の端末宛に発信することを特徴とするものであり、このインターネットメールをプライベートIPアドレス空間外(例えば、グローバルIPアドレス空間)に設置された所定の端末宛に発信することにより、プライベートIPアドレス空間上の通信端末自身に係るIPアドレス情報を、プライベートIPアドレス空間外の所定の端末に通知することができるという作用を有する。
【0018】
また、本発明の第5の発明は、上記第3の発明において、前記IPアドレス抽出手段は、前記ルータがネットワークアドレス変換するための、プライベートIPアドレス空間に設定されたグローバルIPアドレスをIPアドレス情報として抽出することを特徴とするものであり、通信端末自身が属するプライベートIPアドレス空間に割り当てられたグローバルIPアドレスをIPアドレス情報として特定することができるという作用を有する。
【0019】
また、本発明の第6の発明は、ネットワークアドレス変換機能を有するルータと接続されるプライベートIPアドレス空間に設置される通信端末において、前記プライベートIPアドレス空間に設定されたグローバルIPアドレスを特定する方法であって、前記プライベートIPアドレス空間外に設置されたインターネットメールサーバを介して前記通信端末宛のインターネットメールを送信するステップと、前記インターネットメールサーバを介して前記インターネットメールを受信するステップと、受信した前記インターネットメールのヘッダ情報を解析し、通信端末自身に係るIPアドレス情報を抽出するステップとを有する方法であり、通信端末が属するプライベートIPアドレス空間に設定されたグローバルIPアドレスを特定できるという作用を有する。
【0020】
また、本発明の第7の発明は、上記第6の発明において、前記IPアドレス情報は、インターネットメールのヘッダ情報に含まれる最も古いReceived項に含まれるIPアドレス情報を抽出することにより、通信端末が設置されるプライベートIPアドレス空間に対して設定されたグローバルIPアドレスを特定することを特徴とする方法であり、簡便な手法により、通信端末が属するプライベートIPアドレス空間に設定されたグローバルIPアドレスを特定できるという作用を有する。
【0021】
また、本発明の第8の発明は、上記第7の発明において、前記特定したグローバルIPアドレスの情報を含むインターネットメールを、前記プライベートIPアドレス空間外に設置された所定の端末宛に発信するステップを有することを特徴とする方法であり、このインターネットメールをプライベートIPアドレス空間外(例えば、グローバルIPアドレス空間)に設置された所定の端末宛に発信することにより、プライベートIPアドレス空間上の通信端末自身に係るIPアドレス情報を、プライベートIPアドレス空間外の所定の端末に通知することができるという作用を有する。
【0022】
以下、本発明の実施の形態について、図面を用いて説明する。
【0023】
(実施の形態1)
図1は、本発明の実施の形態1による通信端末が用いられるネットワーク環境を示す図であり、プライベートネットワークとグローバルネットワークとの間で通信を行う場合の構成を示すものである。
【0024】
同図において、10はグローバルネットワークであり、21はグローバルネットワークに設置された通信端末であり、携帯電話端末、パーソナルコンピュータなどがある。20はインターネットメールの配信を行うインターネットメールサーバ(以下、メールサーバと称す)であり、12はプライベートネットワークであり、17,22はプライベートネットワーク上に設置された通信端末であり、本実施の形態による通信端末は、通信端末22とする。14はプライベートネットワーク12からグローバルネットワーク10への接続点となるISPである。15はISP14からグローバルIPアドレスを取得するグローバルIPアドレス取得機器であり、ADSL接続の場合はADSLモデム、ケーブルTV接続の場合は専用の接続機器などとなる。16はグローバルIPアドレス取得機器15がISP14から取得したグローバルIPアドレスと、プライベートネットワーク12上の通信端末17,22に割り当てられたプライベートIPアドレスの相互変換を行うNAT機能を備えたルータである。
【0025】
図2は本発明の実施の形態1における上記通信端末22の構成を示すものである。同図において、31は制御部であり、専用に設計されたICやソフトウエアにより処理をプログラムできるマイクロコンピュータで実現する。32は自身のインターネットメールアドレスや通信端末21のインターネットメールアドレスを記憶するメールアドレス記憶部、33は制御部31の指示に基づき所定のインターネットメールを作成するメール作成手段、34は制御部31からの指示でメール作成手段33で作成されたインターネットメールを送信するメール発信手段、35は制御部31からの指示で、メールサーバ20からインターネットメールを受信するメール受信手段、36は受信したメールから自分自身が作成した自分宛のメールを選別する受信メール選別手段、37は受信メール選別手段36で選別したメールのヘッダ情報からIPアドレス情報を抽出するIPアドレス抽出手段である。
【0026】
上記した通信端末22の各構成要素は、専用に設計されたハードウェアや、マイクロコンピュータで動作可能なプログラムとして実現することができ、プログラムの場合は、マイクロコンピュータを構成するCPU(中央演算装置)やメモリ等のハードウェア資産を利用して通信端末22として機能させることができる。従って、本実施の形態による通信端末22は、少なくとも上記機能を有する機器であれば如何なるものであっても良い。
【0027】
以上のように構成された本実施の形態による通信端末について、図1〜図3を用いてその動作を説明する。図3は、本実施の形態による通信端末の動作を説明するためのフローチャートであり、通信端末22が設置されるプライベートネットワーク12に対して割り当てられているグローバルIPアドレス(グローバルIP取得装置15で取得しているグローバルIPアドレス)を、通信端末21に通知するための動作を示している。尚、以下の説明では、メールサーバ20との間でインターネットメールを送受信するために必要な機能は、予め設定されているものとし、また、通信端末22自身のインターネットメールアドレスと、通信端末21のインターネットメールアドレスは、予め設定されているものとする。
【0028】
図3において、ステップ40でメール作成手段33は、制御部31からの指示に基づき、メールアドレス記憶部32から自分自身(通信端末22)のインターネットメールアドレスを読み出す。ステップ41で、メール作成手段33は、自分自身宛のインターネットメールを作成する。ここで作成するメールは、自分自身が作成したメールであることを容易に特定することを可能とするために、特定の文字列をメールのタイトルとする。さらに、このメールのタイトルは、同タイトルのメールが複数存在することを避けるため、タイトル文字に発信時あるいは作成時の日付や時刻の情報を組み合わせた文字列などにしてもよし、タイトル文字に所定の規則で変化する数字等を組み合わせた文字列などにしてもよい。
【0029】
次に、ステップ42で、作成したメールをメール発信手段34により、グローバルネットワーク10上に配置されたメールサーバ20に向けて発信する。一定時間後にステップ43で、制御部31はメール受信手段35にてメールサーバ20からメールを受信する。ステップ44で、受信メール選別手段36が、先のメールのタイトルなどの情報から、自分自身が作成した最新のメールを選別する。ステップ45で、IPアドレス抽出手段37は、選別されたメールのヘッダ情報を解析する。
【0030】
IPアドレス抽出手段37において、受信したインターネットメールのヘッダ情報には、レシーブ項(Received項)が存在し、このReceived項にメールを最初に発信した端末から最後に受信した端末まで、メールが通過した通信機器の名称やIPアドレス情報が古い順に書き加えられていくため、最も古いReceived項に記述されている通信機器の名称やIPアドレス情報が即ちメールを最初に発信した通信端末の情報となる。また、メールサーバ20がメールを受信すると、メールサーバ20と同じIP空間上の通信機器から発信されたメールとして認識し、その発信元の名称やIPアドレス情報を記述していく。従ってグローバルネットワーク10に設置されたメールサーバ20が通信端末22からの該メールを受信したとき、メールサーバ20が該メールのReceived項に記述する発信元のIPアドレス情報は、プライベートネットワーク12で通信端末22へ割り当てられているプライベートIPアドレスではなく、ルータ16のNAT機能により変換されたグローバルIPアドレス取得機器15が取得しているグローバルIPアドレスとなる。よって、IPアドレス抽出手段37において、グローバルネットワーク10から通信端末22を特定するためのグローバルIPアドレスを取得することができる。
【0031】
次に、ステップ46において、メール作成手段33は、メールアドレス記憶部32から、抽出したグローバルIPアドレスを通知する通信端末21のインターネットメールアドレスを読み出し、ステップ47において、IPアドレス抽出手段37で抽出したグローバルIPアドレスを情報として含むメールを生成する。そして、ステップ48で、メール発信手段34は、通信端末21宛にメールを送信する。
【0032】
グローバルネットワーク10に設置あるいは接続可能な通信端末21は、通信端末22からのインターネットメールを受信することで、通信端末22が配置されているプライベートネットワーク12に割り当てられたグローバルIPアドレスを知ることができ、このグローバルIPアドレスにより、通信端末22との間で容易に通信を開始することができる。
【0033】
例えば、通信端末22が、ネットワーク通信機能を有する記録再生装置であり、通信端末21が、ネットワーク通信機能を有する携帯端末である場合、本実施の形態によるグローバルIPアドレスの通知により、TCP/IPを用いて通信端末21から通信端末22を制御することが可能となる。
【0034】
以上のように本実施の形態1によれば、プライベートネットワーク12上に設置された通信端末22にメール発信手段34とメール受信手段35とメールのヘッダー情報からIPアドレス情報を抽出するIPアドレス抽出手段37を設け、通信端末22とメールサーバ20との通信から通信端末22のグローバルIPアドレス情報を特定し、グローバルネットワーク10上に設置された通信端末21へ通知することにより、汎用的なインターネットメールサーバとインターネットメールの活用のみでグローバルネットワーク10上に設置された通信端末21からプライベートネットワーク12上に設置された通信端末22へ通信を行うときに不可欠である通信端末22のグローバルIPアドレスを、通信端末21へ通知することができ、容易にグローバルネットワーク10に設置された通信端末21からプライベートネットワーク12に設置された通信端末22へ通信を開始することができる。
【0035】
なお、上記実施の形態では、図3に示したフローチャートの実施のタイミングを規定していないが、通信端末22のグローバルIPアドレス抽出を一定時間毎に繰り返し実施し、前回抽出した結果と今回抽出した結果が異なる場合のみ、通信端末21に通知するよう制御部31にて制御することで、通信端末22から通信端末21への不要な通知メールを発生させず、同時に常に通信端末22の最新のグローバルIPアドレスを通信端末21に通知することができる。
【0036】
また、上記の説明では、特に言及しなかったが、本実施の形態による通信端末は、本発明の第6〜第8の発明によるグローバルIPアドレス特定方法の具現化の一例でもある。従って、本発明のグローバルIPアドレス特定方法は、ソフトウェアにより実現可能であり、そのソフトウェアは、所定の記録媒体に記録されて配布されても良いし、所定の通信手段によって配信されても良いし、予め機器のメモリに組み込まれていても良い。
【0037】
【発明の効果】
以上のように本発明は、プライベートIPアドレス空間のネットワークに設置された通信端末であって、メール発信手段とメール受信手段と受信するインターネットメールのヘッダー情報からIPアドレス情報を抽出する手段とを設け、さらに、通信端末とプライベートIPアドレス空間外のインターネットメールサーバと通信を行うことで、プライベートIPアドレス空間外に設置された所定の端末から通信端末へ通信する場合に不可欠である、プライベートIP空間に設定されたグローバルIPアドレスを汎用的な手段のみで特定することができ、また、そのグローバルIPアドレスをプライベートIPアドレス空間外に設置された所定の端末に汎用的な手段のみで通知することができ、プライベートIPアドレス空間外に設置された所望の端末からプライベートIPアドレス空間に設置された通信端末への通信を容易に開始することができるという優れた効果が得られる。
【図面の簡単な説明】
【図1】本発明の実施の形態1による通信端末を含むネットワーク環境の構成を示す図
【図2】同通信端末の構成を示すブロック図
【図3】同通信端末の動作を示すフローチャート
【図4】従来の通信端末をネットワーク環境の構成を示す図
【符号の説明】
10 グローバルネットワーク
12 プライベートネットワーク
14 インターネットサービスプロバイダ
15 グローバルIPアドレス取得機器
16 ルータ
17 プライベートネットワークに設置された通信端末
20 メールサーバ
21 グローバルネットワークに設置された通信端末
22 本発明によるグローバルネットワークに設置された通信端末
31 制御部
32 メールアドレス記憶部
33 メール作成手段
34 メール発信手段
35 メール受信手段
36 受信メール選別手段
37 IPアドレス抽出手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a communication terminal using network communication based on TCP / IP and a global IP address specifying method according to the communication terminal.
[0002]
[Prior art]
In recent years, with the spread of the Internet, an inexpensive, high-speed, constant connection environment to the Internet, such as an ADSL (asymmetric digital subscriber line) or a cable TV, has been enhanced. Against this background, devices that are capable of network communication based on TCP / IP (transmission control protocol / internet protocol) are increasing even in homes, and the necessity of constructing a network in homes is emerging. In such a home network environment, a private IP address space (hereinafter, referred to as a private network) is configured in the home and connected to the Internet (hereinafter, referred to as a global network), which is a global IP address space. Opportunities to communicate with each other are also increasing rapidly.
[0003]
Hereinafter, communication between the private network and the global network will be described.
[0004]
FIG. 4 shows a configuration in a case where communication is performed by connecting a private network and a global network. In FIG. 4, reference numeral 10 denotes a global network such as the Internet, which is a global IP address space, and reference numeral 11 denotes a communication terminal installed on the global network 10. Reference numeral 12 denotes a private network as a private IP address space, and reference numerals 13 and 17 denote communication terminals installed on the private network 12. Reference numeral 14 denotes an Internet service provider (hereinafter abbreviated as ISP) serving as a connection point from the private network to the global network. Reference numeral 15 denotes a global IP address acquisition device that acquires a global IP address from the ISP 14. The global IP address acquisition device 15 differs depending on the connection mode with the IPS 14. For example, in the case of ADSL connection, it is an ADSL modem, and in the case of cable TV connection, it is a dedicated connection device (cable TV modem). Also, the global IP address acquisition device 15 acquires a global IP address automatically given when communication with the IPS 14 is established. There are many.
[0005]
Reference numeral 16 has a NAT (Network Address Translator) function for performing mutual conversion between the global IP address acquired by the global IP address acquisition device 15 from the ISP 14 and the private IP addresses assigned to the communication terminals 13 and 17 on the private network. It is a router. The NAT function is generally known as RFC (request for comments) 1631.
[0006]
The communication operation between the private network and the global network configured as described above will be described below.
[0007]
First, when communication is established between the global IP address obtaining device 15 and the IPS 14, the global IP address obtaining device 15 obtains one global IP address from the IPS 14. When communication is performed from the communication terminal 13 installed on the private network 12 to the communication terminal 11 installed on the Internet 10, since the communication terminal 13 is assigned a private IP address, TCP / IP issued from the communication terminal 13 is used. Is once converted in the router 16 from the private IP address to the global IP address acquired by the global IP address acquiring device 15 in the router 16 and reaches the communication terminal 11 installed in the global network 10 through the IPS 14. I do.
[0008]
On the other hand, when communication is performed from the communication terminal 11 installed on the global network 10 to the communication terminal 13 installed on the private network 12, the global IP address acquired by the global IP address acquisition device 15 is installed on the private network 12. The communication terminal 11 is informed in advance that the TCP / IP packet is the destination of the TCP / IP packet directed to the communication terminal 13, and the communication terminal 11 transmits the TCP / IP packet to the global IP address acquired by the global IP address acquisition device 15. The TCP / IP packet which has transmitted the packet and arrived at the global IP address acquiring device 15 is further changed the destination IP address by the subsequent router 16 from the global IP address of the global IP address acquiring device 15 to the private IP address of the communication terminal 13. It is converted, to reach a communication terminal 13 installed in the private network 12.
[0009]
As described above, even when a plurality of communication terminals exist in the private network 12 at home, the communication terminal 13 connects to the global network 10 and obtains network communication with the communication terminal 11 by acquiring one global IP address. Can be realized.
[0010]
[Problems to be solved by the invention]
In the above-described conventional network communication environment, the global IP address acquisition device 15 that is indispensable when communicating from the communication terminal 11 installed on the global network 10 to the communication terminal 13 installed on the private network 12 has acquired the global IP address. There is no means for universally specifying an IP address, and there is no means for universally notifying the communication terminal 11 installed in the global network 10 of the global IP address acquired by the global IP address acquisition device 15. There is a problem that communication cannot be easily started from the communication terminal 11 installed on the network 10 to the communication terminal 13 installed on the private network 12.
[0011]
The present invention solves the above-mentioned conventional problems. A communication terminal installed in a private network 12 specifies a global IP address acquired by a global IP address acquisition device 15 by a general-purpose means, and The communication terminal installed in the global network 10 is notified of the destination of the TCP / IP packet to the communication terminal (self) installed in the global network 10 by a general-purpose means, so that the communication terminal installed in the global network 10 can use the private terminal. It is an object of the present invention to provide a communication terminal capable of easily realizing communication based on TCP / IP to a communication terminal installed on a network and a global IP address specifying method according to the communication terminal.
[0012]
[Means for Solving the Problems]
In order to achieve this object, a communication terminal according to the present invention is a communication terminal installed in a private IP address space connected to a router having a network address translation function, and an Internet mail installed outside the private IP address space. Mail sending means for sending an Internet mail via a server, mail receiving means for receiving an Internet mail via an Internet mail server, and analyzing the header information of the Internet mail received by the mail receiving means to obtain IP address information. And an IP address extracting means for extracting.
[0013]
With this configuration, a communication terminal installed in the private IP address space can extract desired IP address information from Internet mail transmitted and received via an Internet mail server installed outside the private IP address space.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
According to a first aspect of the present invention, there is provided a communication terminal installed in a private IP address space connected to a router having a network address translation function, via an Internet mail server installed outside the private IP address space. Mail sending means for sending internet mail, mail receiving means for receiving internet mail via the internet mail server, and analyzing the header information of the internet mail received by the mail receiving means to extract IP address information An IP address extracting means for analyzing the header information of the received Internet mail and extracting the IP address information, whereby the IP address information of the device on the network path can be specified. .
[0015]
In a second aspect of the present invention based on the first aspect, the IP address extracting means extracts the Internet mail by extracting the IP address information included in the Received term included in the header information of the Internet mail. It is characterized by specifying the IP address of the terminal that transmitted the message, and has the effect that the IP address information of the source communication terminal of the received Internet mail can be specified by a simple method.
[0016]
In a third aspect of the present invention based on the first aspect, the mail sending means sends Internet mail addressed to the communication terminal itself, and the IP address extracting means receives the Internet mail by the mail receiving means. Extracting IP address information from the header information of the Internet mail addressed to the communication terminal itself, thereby identifying the IP address information relating to the communication terminal itself. By extracting the address information, it is possible to specify the IP address information relating to the communication terminal itself.
[0017]
Further, according to a fourth aspect of the present invention, in the third aspect, the mail sending means transmits the Internet mail including IP address information relating to the communication terminal itself extracted and specified by the IP address extracting means. The Internet mail is transmitted to a predetermined terminal installed outside the private IP address space, and the Internet mail is sent to a predetermined terminal installed outside the private IP address space (for example, a global IP address space). , The IP address information relating to the communication terminal itself in the private IP address space can be notified to a predetermined terminal outside the private IP address space.
[0018]
In a fifth aspect of the present invention based on the third aspect, the IP address extracting means includes a global IP address set in a private IP address space for the router to translate a network address into IP address information. The global IP address assigned to the private IP address space to which the communication terminal itself belongs can be specified as IP address information.
[0019]
According to a sixth aspect of the present invention, in a communication terminal installed in a private IP address space connected to a router having a network address translation function, a method for specifying a global IP address set in the private IP address space is provided. Transmitting an Internet mail addressed to the communication terminal via an Internet mail server provided outside the private IP address space; receiving the Internet mail via the Internet mail server; Analyzing the header information of the Internet mail and extracting the IP address information relating to the communication terminal itself, and specifying the global IP address set in the private IP address space to which the communication terminal belongs. It has the effect of that.
[0020]
A seventh invention of the present invention is the communication terminal according to the sixth invention, wherein the IP address information is obtained by extracting IP address information contained in the oldest Received term contained in header information of Internet mail. Specifies a global IP address set for a private IP address space in which a communication terminal belongs, and specifies a global IP address set in a private IP address space to which a communication terminal belongs by a simple method. It has the effect that it can be specified.
[0021]
In an eighth aspect of the present invention based on the seventh aspect, the step of transmitting Internet mail containing information on the specified global IP address to a predetermined terminal installed outside the private IP address space. A communication terminal on the private IP address space by transmitting the Internet mail to a predetermined terminal installed outside the private IP address space (for example, a global IP address space). This has the effect that the IP address information relating to itself can be notified to a predetermined terminal outside the private IP address space.
[0022]
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0023]
(Embodiment 1)
FIG. 1 is a diagram showing a network environment in which a communication terminal according to the first embodiment of the present invention is used, and shows a configuration in a case where communication is performed between a private network and a global network.
[0024]
In FIG. 1, reference numeral 10 denotes a global network, and 21 denotes a communication terminal installed in the global network, such as a mobile phone terminal or a personal computer. Reference numeral 20 denotes an Internet mail server (hereinafter, referred to as a mail server) for delivering Internet mail, reference numeral 12 denotes a private network, and reference numerals 17 and 22 denote communication terminals provided on the private network. The communication terminal is the communication terminal 22. Reference numeral 14 denotes an ISP serving as a connection point from the private network 12 to the global network 10. Reference numeral 15 denotes a global IP address acquisition device for acquiring a global IP address from the ISP 14, which is an ADSL modem for ADSL connection, a dedicated connection device for cable TV connection, and the like. Reference numeral 16 denotes a router having a NAT function for performing mutual conversion between the global IP address acquired by the global IP address acquisition device 15 from the ISP 14 and the private IP addresses assigned to the communication terminals 17 and 22 on the private network 12.
[0025]
FIG. 2 shows a configuration of the communication terminal 22 according to Embodiment 1 of the present invention. In the figure, reference numeral 31 denotes a control unit, which is realized by a microcomputer which can perform a process by using an IC or software specially designed. Reference numeral 32 denotes a mail address storage unit that stores its own Internet mail address and the Internet mail address of the communication terminal 21; 33, a mail creation unit that creates a predetermined Internet mail based on an instruction from the control unit 31; A mail sending means for transmitting an Internet mail created by the mail creating means 33 according to an instruction, a mail receiving means 35 receiving an Internet mail from the mail server 20 according to an instruction from the control section 31, And 37 is an IP address extracting means for extracting IP address information from the header information of the mail selected by the received mail selecting means 36.
[0026]
Each component of the communication terminal 22 described above can be realized as specially designed hardware or a program operable by a microcomputer. In the case of a program, a CPU (Central Processing Unit) constituting the microcomputer The communication terminal 22 can function as a communication terminal 22 using hardware resources such as a memory and a memory. Therefore, the communication terminal 22 according to the present embodiment may be any device as long as it has at least the above functions.
[0027]
The operation of the communication terminal according to the present embodiment configured as described above will be described with reference to FIGS. FIG. 3 is a flowchart for explaining the operation of the communication terminal according to the present embodiment. The global IP address (acquired by global IP acquisition device 15) assigned to private network 12 in which communication terminal 22 is installed is shown. The operation for notifying the communication terminal 21 of the assigned global IP address) is shown. In the following description, it is assumed that functions necessary for sending and receiving Internet mail to and from the mail server 20 are set in advance, and that the Internet mail address of the communication terminal 22 itself and the It is assumed that the Internet mail address is set in advance.
[0028]
In FIG. 3, in step 40, based on an instruction from the control unit 31, the mail creation unit 33 reads out the Internet mail address of itself (the communication terminal 22) from the mail address storage unit 32. In step 41, the mail creating means 33 creates an Internet mail addressed to itself. A specific character string is used as the title of the mail to make it easy to specify that the mail to be created is a mail created by the user. Further, the title of this e-mail may be a character string that combines the date and time information at the time of origination or creation with the title character in order to avoid the presence of a plurality of e-mails with the same title. May be a character string obtained by combining numbers and the like that change according to the rule.
[0029]
Next, in step 42, the created mail is sent by the mail sending means 34 to the mail server 20 arranged on the global network 10. After a certain period of time, in step 43, the control section 31 receives mail from the mail server 20 by the mail receiving means 35. In step 44, the received mail selecting means 36 selects the latest mail created by itself from information such as the title of the previous mail. In step 45, the IP address extracting means 37 analyzes the header information of the selected mail.
[0030]
In the IP address extracting means 37, a received term (Received term) is present in the header information of the received Internet mail, and the mail has passed from the terminal that first sent the mail to the Received term to the terminal that last received it. Since the name and IP address information of the communication device are added in chronological order, the name and IP address information of the communication device described in the oldest Received item are the information of the communication terminal that first transmitted the mail. When the mail server 20 receives the mail, the mail server 20 recognizes the mail as being transmitted from a communication device on the same IP space as the mail server 20, and describes the name of the transmission source and IP address information. Therefore, when the mail server 20 installed in the global network 10 receives the mail from the communication terminal 22, the mail server 20 sends the source IP address information described in the Received item of the mail to the private network 12 The global IP address acquired by the global IP address acquisition device 15 converted by the NAT function of the router 16 is not the private IP address assigned to the IP address 22. Therefore, the IP address extracting means 37 can acquire a global IP address for specifying the communication terminal 22 from the global network 10.
[0031]
Next, in step 46, the mail creating means 33 reads out the Internet mail address of the communication terminal 21 notifying the extracted global IP address from the mail address storage section 32, and in step 47, the mail address is extracted by the IP address extracting means 37. A mail including a global IP address as information is generated. Then, in step 48, the mail sending means 34 sends the mail to the communication terminal 21.
[0032]
The communication terminal 21 that can be installed or connected to the global network 10 can receive the Internet mail from the communication terminal 22 to know the global IP address assigned to the private network 12 where the communication terminal 22 is located. By using this global IP address, communication with the communication terminal 22 can be easily started.
[0033]
For example, when the communication terminal 22 is a recording / reproducing device having a network communication function and the communication terminal 21 is a portable terminal having a network communication function, the communication of the global IP address according to the present embodiment allows the TCP / IP to be transmitted. It is possible to control the communication terminal 22 from the communication terminal 21 using this.
[0034]
As described above, according to the first embodiment, the mail sending unit 34, the mail receiving unit 35, and the IP address extracting unit that extracts the IP address information from the header information of the mail are transmitted to the communication terminal 22 installed on the private network 12. 37, the global IP address information of the communication terminal 22 is specified from the communication between the communication terminal 22 and the mail server 20, and is notified to the communication terminal 21 installed on the global network 10, so that a general-purpose Internet mail server is provided. When the communication terminal 21 installed on the global network 10 communicates with the communication terminal 22 installed on the private network 12 only by utilizing Internet mail, the global IP address of the communication terminal 22 21 can be notified easily It is possible to start communication from the communication terminal 21 installed in the global network 10 to the communication terminal 22 installed in the private network 12.
[0035]
In the above embodiment, the timing of executing the flowchart shown in FIG. 3 is not specified, but the global IP address of the communication terminal 22 is repeatedly extracted at regular intervals, and the result of the previous extraction and the current extraction By controlling the control unit 31 to notify the communication terminal 21 only when the result is different, unnecessary notification mail from the communication terminal 22 to the communication terminal 21 is not generated. The communication terminal 21 can be notified of the IP address.
[0036]
Although not particularly mentioned in the above description, the communication terminal according to the present embodiment is also an example of realizing the global IP address specifying method according to the sixth to eighth aspects of the present invention. Therefore, the global IP address specifying method of the present invention can be realized by software, and the software may be recorded on a predetermined recording medium and distributed, may be distributed by predetermined communication means, It may be incorporated in the memory of the device in advance.
[0037]
【The invention's effect】
As described above, the present invention is a communication terminal installed in a network in a private IP address space, provided with mail sending means, mail receiving means, and means for extracting IP address information from header information of received Internet mail. Further, by communicating with a communication terminal and an Internet mail server outside the private IP address space, the private IP space is indispensable when communication from a predetermined terminal installed outside the private IP address space to the communication terminal is performed. The set global IP address can be specified by general means only, and the global IP address can be notified to a predetermined terminal installed outside the private IP address space only by general means. Located outside the private IP address space It has excellent effect that the communication from the terminal to a private IP address communication terminal installed in a space can be easily started obtained.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a network environment including a communication terminal according to a first embodiment of the present invention. FIG. 2 is a block diagram showing a configuration of the communication terminal. FIG. 3 is a flowchart showing an operation of the communication terminal. 4 is a diagram showing the configuration of a conventional communication terminal in a network environment.
DESCRIPTION OF SYMBOLS 10 Global network 12 Private network 14 Internet service provider 15 Global IP address acquisition device 16 Router 17 Communication terminal 20 installed in private network Mail server 21 Communication terminal 22 installed in global network 22 Communication installed in global network according to the present invention Terminal 31 Control unit 32 Mail address storage unit 33 Mail creation unit 34 Mail transmission unit 35 Mail reception unit 36 Received mail selection unit 37 IP address extraction unit

Claims (8)

ネットワークアドレス変換機能を有するルータと接続されるプライベートIPアドレス空間に設置される通信端末であって、
前記プライベートIPアドレス空間外に設置されたインターネットメールサーバを介してインターネットメールを送信するメール発信手段と、
前記インターネットメールサーバを介してインターネットメールを受信するメール受信手段と、
前記メール受信手段にて受信したインターネットメールのヘッダ情報を解析し、IPアドレス情報を抽出するIPアドレス抽出手段とを備えた通信端末。
A communication terminal installed in a private IP address space connected to a router having a network address translation function,
Mail sending means for sending Internet mail through an Internet mail server installed outside the private IP address space;
Mail receiving means for receiving Internet mail via the Internet mail server;
A communication terminal comprising: an IP address extracting unit that analyzes header information of Internet mail received by the mail receiving unit and extracts IP address information.
前記IPアドレス抽出手段は、インターネットメールのヘッダ情報に含まれるReceived項に含まれるIPアドレス情報を抽出することにより、インターネットメールを発信した端末のIPアドレスを特定することを特徴とする請求項1記載の通信端末。2. The apparatus according to claim 1, wherein the IP address extracting unit specifies an IP address of a terminal that has transmitted the Internet mail by extracting IP address information included in a Received term included in header information of the Internet mail. Communication terminal. 前記メール発信手段は、通信端末自身を宛先としたインターネットメールを発信し、前記IPアドレス抽出手段は、前記メール受信手段により受信した通信端末自身宛のインターネットメールのヘッダ情報からIPアドレス情報を抽出することにより、通信端末自身に係るIPアドレス情報を特定することを特徴とする請求項1記載の通信端末。The mail sending means sends Internet mail addressed to the communication terminal itself, and the IP address extracting means extracts IP address information from header information of the Internet mail addressed to the communication terminal received by the mail receiving means. 2. The communication terminal according to claim 1, wherein the communication terminal specifies IP address information relating to the communication terminal itself. 前記メール発信手段は、前記IPアドレス抽出手段にて抽出し特定した通信端末自身に係るIPアドレス情報を含むインターネットメールを、前記プライベートIPアドレス空間外に設置された所定の端末宛に発信することを特徴とする請求項3記載の通信端末。The mail transmitting means transmits Internet mail including IP address information relating to the communication terminal itself extracted and specified by the IP address extracting means to a predetermined terminal installed outside the private IP address space. The communication terminal according to claim 3, wherein: 前記IPアドレス抽出手段は、前記ルータがネットワークアドレス変換するための、プライベートIPアドレス空間に設定されたグローバルIPアドレスをIPアドレス情報として抽出することを特徴とする請求項3記載の通信端末。4. The communication terminal according to claim 3, wherein said IP address extracting means extracts, as IP address information, a global IP address set in a private IP address space for the router to translate a network address. ネットワークアドレス変換機能を有するルータと接続されるプライベートIPアドレス空間に設置される通信端末において、前記プライベートIPアドレス空間に対して設定されたグローバルIPアドレスを特定する方法であって、
前記プライベートIPアドレス空間外に設置されたインターネットメールサーバを介して前記通信端末宛のインターネットメールを送信するステップと、
前記インターネットメールサーバを介して前記インターネットメールを受信するステップと、
受信した前記インターネットメールのヘッダ情報を解析し、通信端末自身に係るIPアドレス情報を抽出するステップとを有するグローバルIPアドレス特定方法。
In a communication terminal installed in a private IP address space connected to a router having a network address translation function, a method for specifying a global IP address set for the private IP address space,
Transmitting Internet mail addressed to the communication terminal via an Internet mail server installed outside the private IP address space;
Receiving the Internet mail via the Internet mail server;
Analyzing the header information of the received Internet mail and extracting the IP address information relating to the communication terminal itself.
前記IPアドレス情報は、インターネットメールのヘッダ情報に含まれるReceived項に含まれるIPアドレス情報を抽出することにより、通信端末が設置されるプライベートIPアドレス空間に対して設定されたグローバルIPアドレスを特定することを特徴とする請求項6記載のグローバルIPアドレス特定方法。The IP address information specifies a global IP address set for a private IP address space where a communication terminal is installed by extracting IP address information included in a Received term included in header information of Internet mail. 7. The global IP address specifying method according to claim 6, wherein: 前記特定したグローバルIPアドレスの情報を含むインターネットメールを、前記プライベートIPアドレス空間外に設置された所定の端末宛に発信するステップを有することを特徴とする請求項7記載のグローバルIPアドレス特定方法。8. The global IP address specifying method according to claim 7, further comprising a step of transmitting an Internet mail including the information of the specified global IP address to a predetermined terminal installed outside the private IP address space.
JP2002169535A 2002-06-11 2002-06-11 Communication terminal and method of identifying global ip address Pending JP2004015685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002169535A JP2004015685A (en) 2002-06-11 2002-06-11 Communication terminal and method of identifying global ip address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002169535A JP2004015685A (en) 2002-06-11 2002-06-11 Communication terminal and method of identifying global ip address

Publications (1)

Publication Number Publication Date
JP2004015685A true JP2004015685A (en) 2004-01-15

Family

ID=30436069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002169535A Pending JP2004015685A (en) 2002-06-11 2002-06-11 Communication terminal and method of identifying global ip address

Country Status (1)

Country Link
JP (1) JP2004015685A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2419491A (en) * 2004-10-23 2006-04-26 Siemens Ag Enabling communication between two network nodes
CN100481792C (en) * 2004-08-20 2009-04-22 株式会社日立制作所 Wireless communication system, and communication method, wireless terminal and server therein
US8954508B2 (en) 2010-10-28 2015-02-10 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, communication system, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100481792C (en) * 2004-08-20 2009-04-22 株式会社日立制作所 Wireless communication system, and communication method, wireless terminal and server therein
GB2419491A (en) * 2004-10-23 2006-04-26 Siemens Ag Enabling communication between two network nodes
US8954508B2 (en) 2010-10-28 2015-02-10 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, communication system, and program

Similar Documents

Publication Publication Date Title
US7856023B2 (en) Secure virtual private network having a gateway for managing global ip address and identification of devices
JP4354294B2 (en) Gateway device connected to a plurality of networks having different network segments, and program and method for transferring IP packet
JPH1168833A (en) Control method for network facsimile equipment
JP2006174350A (en) Communication apparatus
EA009020B1 (en) Wireless gateway
JP2004241946A (en) Message transmission and reception system and message conversion method used for same
WO2002001371A1 (en) Method and apparatus for setting communication parameter in information terminal
JP2004015685A (en) Communication terminal and method of identifying global ip address
US20170070403A1 (en) User terminal, operator server, remote support method, and program for user terminal
CN114401429B (en) Remote screen projection method and electronic equipment
JP4507030B2 (en) Network system, terminal device, and information transmission method
JP2000004252A (en) Controlling method for network communication system
JP2005045505A (en) Communication controller and network associating method
JP6728745B2 (en) Server and system
JP2004266325A5 (en)
JP3967649B2 (en) Network terminal device and control method thereof
JP2004334427A (en) Communication device
JP2010288154A (en) Communication system, communication method, communication program, and recording medium with communication program recorded thereon
JP2005339149A (en) Data processor, data processing method and data processing program
JPH11355497A (en) Control method of network facsimile communication system
JP4167110B2 (en) Image forming apparatus control method and image forming apparatus
JP2006054878A (en) Communication parameter setting method and server
JP5011210B2 (en) Communications system
JP3795292B2 (en) Communication connection method and apparatus
JP2003337879A (en) Device and method for managing report