JP2004007516A - GLOBAL IP SHARING METHOD FOR REALIZING VoIP - Google Patents

GLOBAL IP SHARING METHOD FOR REALIZING VoIP Download PDF

Info

Publication number
JP2004007516A
JP2004007516A JP2003086894A JP2003086894A JP2004007516A JP 2004007516 A JP2004007516 A JP 2004007516A JP 2003086894 A JP2003086894 A JP 2003086894A JP 2003086894 A JP2003086894 A JP 2003086894A JP 2004007516 A JP2004007516 A JP 2004007516A
Authority
JP
Japan
Prior art keywords
port
global
data packet
data
local terminal
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
JP2003086894A
Other languages
Japanese (ja)
Inventor
Be In-Gu
イン−グ,ベ
Jon Hii-Choru
ヒー−チョル,ジョン
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.)
Atrium C & I Co Ltd
Original Assignee
Atrium C & I 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 Atrium C & I Co Ltd filed Critical Atrium C & I Co Ltd
Publication of JP2004007516A publication Critical patent/JP2004007516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/695Types of network addresses using masks or ranges of addresses

Abstract

<P>PROBLEM TO BE SOLVED: To provide a global IP sharing method whereby local IP terminals share a global IP so as to attain the Internet speech between local IP terminals or between one local IP terminal and a global IP terminal. <P>SOLUTION: The method includes: a step of receiving a data packet from a local terminal; a step of detecting an IP and port information for the H.225 processing when the received data packet is gatekeeper registration request data and storing the IP and the port information subjected to masquerading to a global IP assigned to its own IP terminal and an optionally generated port; a step of detecting an IP and port information for the H.245 processing when the received data packet is H.225 processing data and storing the IP and the port information subjected to masquerading to the global IP assigned to its own IP terminal and the optionally generated port; a step of externally transmitting the received data packet; and a step of de-masquerading the IP and the port information detected from the externally received data packet and transmitting the result to the local terminal. <P>COPYRIGHT: (C)2004,JPO

Description

[発明の目的]
[発明の属する技術分野及び従来の技術]
本発明は、グローバル(Global)IP共有方法に関するもので、特にローカル(Local)IPでインターネット通話が可能なようにグローバルIPを共有する方法に関するものである。
【0001】
一般的に、各企業、或いはアパートのような共同住宅では、LANのような構内網を介して多数のコンピューター端末機を連結して情報を共有している。
【0002】
一般的に、各コンピューター端末機がインターネットに接続するには固有のIP住所をISP(Internet Service Provider)から割り当ててもらわなければならない。しかし、IP割当の制約によって、前記の例にあげた企業、或いは共同住宅ではIP共有器またはウィンゲート(Wingate)やミッドポイント(Midpoint)などのアイピー共有プログラムを利用し、多数のコンピューター端末機がインターネットに接続可能なようにシステムを構築している。
【0003】
このような一般的なIP共有器では、ローカル端末機から伝送された固定されたローカル(内部)IP住所とポート情報の代わりに、共有器自信のグローバル(外部)IP住所とポート住所とをグローバル端末機に伝送し、相手側グローバル端末機からデータが伝送されると、これを内部に貯蔵されたローカルIP住所とポート情報とを有するローカル端末機に伝送し、ローカル端末機とグローバル端末機間でデータ通信が成されるようにする。つまり、一般的なIP共有器がネットワーク住所変換(NAT)(或いはTCP階層のポートまで変換するNAPT)機能を有することによって、ローカル端末機はグローバルIP住所の割当なしでもグローバル端末機と通信できるのである。
【0004】
しかし、上述した一般的なIP共有器を利用してTCP、UDPの上位レベルの固有性を有するH.323などのようなプロトコルを支援することはできない。その理由は、H.323プロトコルを構成するプロトコルの中には、コール設定及び解除、コール制御のためにIP住所とポート情報をやり取りするプロトコル(H.225、H.245)があるためであるのだが、このようなコール設定及び解除、コール制御のためのIPとポートとの位置及び意味はTCP/IPレベルでのように固定されていないので、適切に変形しなければならない。しかし、従来のIP共有器はTCP/IPレベル以上のプロトコルに対する住所及びポート変換機能が具備されていないので、VoIPの具現自体が不可能であるという問題点がある。
【0005】
[発明が解決しようとする技術的課題]
従って、本発明の目的は、一つのグローバル(Global)IP確保だけでも多数のローカル端末機使用者がインターネット通話を遂行することができる、グローバルIP共有方法を提供することにある。
【0006】
本発明のまた別の目的は、ローカル端末機間でインターネット通話が成される場合、インターネット通話遂行のために処理されなければならないデータの数を減少させてIP共有器の負荷処理負担を減少させることは勿論、迅速な通話が成されるようにするためのグローバルIP共有方法を提供することにある。
【0007】
[発明の構成]
前記の目的を達成するための本発明の実施例によるグローバルIP共有方法は;
ローカル端末機からデータパケットを受信する段階と;
受信データパケットがゲートキーパー登録要求データなら、H.225処理のためのIPとポート情報とを検出して自分に割り当てられたグローバルIPと任意に生成されたポートにマスカレードして貯蔵する段階と;
前記受信データパケットがH.225処理データなら、H.245通信のためのIPとポート情報とを検出し、自分に割り当てられたグローバルIPと任意に生成されたポートにマスカレードして貯蔵する段階と;
前記受信データパケットがH.245処理データなら、音声/画像/データ通信のためのIPとポート情報とを検出して自分に割り当たられたグローバルIPと任意に生成されたポートにマスカレードして貯蔵する段階と;
前記受信データパケットを外部に伝送する段階と;
外部から受信されたデータパケットから検出されたIPとポート情報とをデマスカレードして該当ローカル端末機に伝送する段階;とを含むことを特徴とする。
【0008】
以下、本発明の好ましい実施例を添付の図面を参照に詳細に説明する。本発明を説明するにおいて、関連する公知の機能或いは構成に対する具体的な説明が本発明の要旨を不要に不明にすると判断される場合、それに対する詳細な説明は省略することにする。
【0009】
図1は、本発明の実施例によるシステム構成図を例示したものである。
【0010】
図1を参照すると、まず本発明の実施例によるシステムは、構内網(LAN)内に接続されている多数のローカル端末機10とIP共有器20とを含んでいる。このようなローカル端末機各々にはローカルIPが割り当てられており、前記IP共有器20にもローカルIPとグローバルIPが割り当てられている。各々のローカル端末機10は、IP共有器20を介してインターネットサービスを受けることは勿論、構内網に接続されている他ローカル端末機或いはインターネットに接続可能なグローバル端末機50とインターネット通話可能である。
【0011】
IP共有器20は、本発明の実施例によるグローバルIP共有プログラムデータに基づき、内部ローカル端末機或いは内部ローカル端末機10と外部グローバル端末機50との間でインターネット通話が可能なように支援する。本発明の実施のためのIP共有器20は、マスカレードされたIPとポート情報を登録貯蔵するためのハッシュ(hash)テーブルを具備する。そして、このようなIP共有器20は、従来のIP共有器の有する住所変換機能を基本的に有することは自明であると言える。
【0012】
ゲートウェイ(Gate Way:G/W)30は、回線交換網(図示せず)とパケット交換網を連結するブリッジの役割を遂行する。
【0013】
ゲートキーパー(Gatekeeper:G/K)40は、H.323端末機、つまりローカル端末機に対する住所変換(Address Translation)、接近制御(Access Control)などの機能をし、ゲートウェイ30の位置を端末機に知らせたり帯域幅の管理をする。
【0014】
以下、上述の構成を有するシステムのIP共有器20で遂行されるグローバルIP共有方法を添付の図面を参照に、より具体的に説明することにする。
【0015】
図2は、本発明の一実施例によるIP共有器20でのデータパケット処理のフローチャートを図示したもので、より具体的には、ローカル端末機10でグローバル端末機50にフォワーディング(forwarding)する場合、IP共有器20で処理されるデータパケットのフローチャートを図示したものである。本発明の実施例によるIP共有器20は、VoIP具現のためのH.323プロトコルを処理するために、基本的にはゲートキーパー40にローカル端末機10を登録するための過程を経らねばならず、電話コール(Call)によるデータパケット処理過程を経らなければならない。
【0016】
図2を参照すると、まずIP共有器20は、ローカル端末機10からデータパケットが受信(100段階)されると、110段階に進み、受信されたデータパケットに含まれているソース(source)のポートがマスカレード(masquerade)されているか否かを検査する。検査結果、ソースポートがマスカレードされていなければ、120段階に進み、TCP/IP階層のソースIPとポートとをIP共有器20に割り当てられているグローバルIPとポートにマスカレードする。つまり、一般的なIP共有器でのように、TCP/IP階層で住所変換をするのである。
【0017】
もし、110段階の検査結果、ソースポートが既にマスカレードされているなら、IP共有器20は115段階に進み、ソースIPとポートとを既にマスカレードされているIPとポートに変更する。そして、IP共有器20は、130段階、140段階、150段階を介して前記受信されたデータパケットがH.323プロトコルスタックによるゲートキーパー40登録データ(RRQ:Registration Request)、相互連結データ(H.225)、コール制御データ(H.245)であるかを検査する。
【0018】
130段階、140段階及び150段階の検査結果、インターネット通話を遂行するためのいかなるデータも含まれていないなら、本発明の実施例によるIP共有器20は、一般的なIP共有器でのようにマスカレードされた自分のIPとポートが含まれたデータパケットを外部に伝送(160段階)する。
【0019】
しかし、130段階の検査結果、受信されたデータパケットがゲートキーパー40登録データ(RRQ)なら(目的地のポート情報“1719”の有無で判断)、IP共有器20は132段階に進み、受信されたデータパケットからコールシグナル(Call Signal)IP/ポートとRAS(Registration Admission Status)メッセージIP/ポートとを検出する。そして、IP共有器20は、前記検出されたコールシグナルIP/ポートとRASメッセージIP/ポートとを自分に割り当てられたグローバルIPと任意に生成されたポートにマスカレード(134段階)した後、検出された前記IP/ポートとマスカレードされたIP/ポートをハッシュ(hash)テーブルに登録(136段階)することによって、前記コールシグナルポートをH.225処理用ポートに登録することになるのである。以後、IP共有器20は受信されたデータパケットをゲートキーパー40に伝送(138段階)する。
【0020】
これによって、IP共有器20内部にはローカル端末機(ソース)のコールシグナルIP/ポートとRASメッセージのIP/ポートがマスカレードされ貯蔵されるもので、ゲートキーパー40にはIP共有器20でマスカレードされて伝送されたコールシグナルポートが登録されることになるのである。参考的に、前記コールシグナルポート情報は、以後、インターネット通話のための呼出に利用される。
【0021】
上述のように、ゲートキーパー40にローカル端末機の登録が完了された後、ローカル端末機から受信されるデータパケットがH.225プロトコルに基づいた相互連結データなら(140段階)、IP共有器20は141段階から147段階を遂行する。参考的に、データパケットが相互連結データであるかを判断する方法は、H.323標準勧告案で規定しているポート情報(“1720”)がデータパケットに含まれているか、136段階で登録されたH.225処理用ポート情報(つまり、コールシグナルポート)が含まれているかを検査することによって判断することができる。上述の判断方法によって相互連結データがデータパケットに含まれていれば、IP共有器20は受信データパケットでコール制御(H.245)のためのIP/ポートを検出(141段階)する。一般的に、コール制御(H.245)のためのポートは、警報(Alerting)メッセージに含まれている。一方、IP共有器20は、検出されたH.245通信用IP/ポートをIP共有器20自信のグローバルIPと任意に生成されたポートにマスカレード(142段階)し、検出されたIP/ポートとマスカレードされたIP/ポートをハッシュテーブルに登録(143段階)することによって、検出されたポートをH.245通信用ポートとして登録することになるのである。
【0022】
以後、IP共有器20は144段階に進み、高速開始(Fast Start)モードを判断(高速開始処理のためのH.245ポートテーブルを追加で含んでいれば)し、高速開始モードを遂行しなければならないのなら、145段階に進み、受信されたデータパケットから音声/画像/データ通信のためのIPとポートを検出する。参考的に、音声/画像/データ通信のためのポートは、H.245ポート(AlertingとConnectを介して伝達された)を介して伝達される。音声/画像/データ通信のためのポートが検出されると、これを自分のグローバルIPと任意に生成されたポートにマスカレード及び登録(146段階)した後、147段階に進み、受信されたデータパケットを外部に伝送する。このように、音声/画像/データ通信のためのIPとポートがマスカレード完了されると、以後、マスカレードされたIPとポートを介してグローバル端末機にデータパケットが伝送され、グローバル端末機から伝送されるデータパケットに含まれたIPとポートをマスカレードして内部のローカル端末機に伝送することになると、正常的なインターネット通話が可能になるのである。そして、144段階の検査結果、高速開始モードでないノーマル(normal)モードであるなら、IP共有器20は147段階に進み、データパケットを外部(ゲートキーパー)に伝送することによって、相互連結を要求することになるのである。
【0023】
一方、IP共有器20は、受信されたデータパケットがコール制御(H.245)データであるかを判断(150段階)する。判断方法としては、143段階で登録されたH.245通信用ポート情報が含まれているかの可否で判断することができる。判断結果、コール制御のためのデータなら、IP共有器20は152段階に進み、受信データパケットから音声/画像/データ通信のためのIPとポートを検出し、検出されたIPとポートを自分のグローバルIPと任意に生成されたポートにマスカレード(154段階)して貯蔵する。そして、IP共有器20は、マスカレードされたIPとポートが含まれたデータパケットを外部(グローバル端末機)に伝送することによって、以後、ローカル端末機10とグローバル端末機60との間で伝送されるインターネット通話のためのデータパケットは、IP共有器20でマスカレード及びデマスカレード過程を経てグローバル端末機60とローカル端末機10に伝送されることになるのである。
【0024】
従って、ローカル端末機10はIP共有器20に割り当てられているグローバルIPを共有することによって、グローバル端末機60と正常的なインターネット通話を遂行することができるようになるのである。
【0025】
図3は、本発明の一実施例によるIP共有器20でのデータパケット処理のフローチャートを図示したもので、より具体的には、目的地がIP共有器20である場合のデータパケット処理フローチャートを図示したものである。そして、図4は、本発明の一実施例によるローカル端末機10の間でデータ伝送が成される過程を説明するための図面を参考的に図示したものである。
【0026】
まず、図3を参照すると、IP共有器20は、自分を目的地とするデータパケットが受信(200段階)されると、受信データパケットに含まれているポート情報が既にマスカレードされたポートであるかを検査(210段階)する。もし、マスカレードされたポートでなければ、自分の制御のためのデータ(例えば、IP共有器でTelet接続をする場合、或いはTCPポート23番であり、ウェブページ接続である場合)なので、212段階に進み、内部で処理する。しかし、210段階の検査結果、マスカレードされたポートなら、IP共有器20はTCP/IP階層のIPとポートをデマスカレードして該当ローカル端末機10に伝送(250段階)する。
【0027】
つまり、IP共有器20は、自分を目的地とするデータパケットが受信されると、既にマスカレードされたポートであるかを検査し、反対にデマスカレードした後、内部のローカル端末機10に伝送すればよい。ただ、内部のローカル端末機10、或いは外部のグローバル端末機50から通話相手側の相互連結(H.225)のためのデータが受信されることがあるので、220段階と250段階との間で受信されたデータパケットが相互連結データであるかを検査(230段階)しなければならない。
【0028】
230段階の検査結果、受信データパケットが相互連結データなら、IP共有器20は232段階に進み、相互連結データがコール連結(Call Setup)データ(Q.931)であるかを検査する。検査結果、コール連結データなら、それに応答して相手側端末機から伝送されるデータパケットからH.245通信用IP/ポートを検出(234段階)し、検出ポートをH.245通信ポートに登録(236段階)する。このようにする理由は、内部から外部にコール(コール)する時、外部ではそれに応答してH.245プロトコルに基づいたデータパケット(Alerting, Connect)が受信されるため、これを介して伝達されるデータを目的地に正常伝送するためである。
【0029】
一方、IP共有器20は232段階の検査結果、コール連結データでなければ、238段階に進み、データパケット伝送した端末機がローカル端末機であるかを検査する。これは、ソースIPで検査することができる。検査結果、グローバル端末機50であれば、240段階に進み、グローバル端末機50から受信されたデータパケットを内部端末機10に伝送するのだが、このような場合、IP共有器20は受信されたIPとポートに対応するローカル端末機のIPとポートをハッシュテーブルから探し(つまり、デマスカレードし)内部に伝送すればよい。
【0030】
もし、238段階でテーブルパケット伝送した端末機がローカル端末機10であれば、IP共有器20はH.245処理のために既にマスカレードされたIPとポートを探し、これをデマスカレード(242段階)した後、これを内部に伝送(244段階)する。これを、図4を参照してより具体的に説明すると、IP共有器20がローカル端末機1からソースIP192.168.0.100、ソースポート1001、目的地IP61.251.85.138、目的地ポート60001を有するデータパケットを受信したと仮定し、IP共有器20のマスカレード動作によりポート1002が60001にマスカレードされたと仮定すると、IP共有器20ではソースIPが61.251.85.138、ソースポートが60002、目的地IPが192.168.0.101、目的地ポートが1002にマスカレードされ、ローカル端末機nに伝送される。このようなH.225プロトコルは、H.245処理のためのIPとポートをやり取りする過程なので、データの中のソースIP192.168.0.100もIP共有器20のグローバルIP61.251.85.138に変更されることになる。このような場合は、再びIP共有器20にデータパケットが伝送されデマスカレード動作を遂行しなければならないので、データ処理において遅延の素地がある。従って、本発明では、H.225プロトコル処理過程中(図4の▲2▼過程中)、242段階を介してH.245処理IP(61.251.85.138)とポートとを元来のソース側IP(192.168.0.100)とポートにデマスカレードすることによって、この後ローカル端末機相互間に直接通信が成されることによって、IP共有器20によるマスカレード/デマスカレードによる通信遅延を防止することができる。
【0031】
上述したように、本発明の実施例によるIP共有器20が目的地に指定されグローバル、或いはローカル端末機からデータパケットを受信した場合、IP共有器20は、既にマスカレードされたハッシュテーブルを利用してIPとポートをデマスカレードして内部端末機に伝送することによって、グローバルIP共有によるローカル端末機とグローバル端末機との間にインターネット通話が正常的に成されるようにする。並びに、IP共有器20は、ローカル端末機間に相互連結のためのH.225プロトコル処理時にH.245処理のためにマスカレードされたIPとポートをデマスカレードすることによって、ローカル端末機間でH.245処理のためのデータ通信が成されるようにする。
【0032】
[発明の効果]
上述のように、本発明はTCP/IPレベル以上のプロトコルに対する住所(IP)及びポート変換機能が具備されているので、ローカルIPを有するローカル端末機が一つのグローバルIPを共有してインターネット通話を遂行することができるという長所がある。
【0033】
また、本発明は、ローカル端末機間でインターネット通話が成される場合、インターネット通話遂行のために処理されなければならないデータの数を減少させ、グローバルIPを共有させるハードウェアーの負荷処理の負担を軽減させることができることは勿論、迅速なインターネット通話が可能な長所がある。
【0034】
一方、本発明は、図面に図示されている実施例たちを参考に説明されたが、これは例示的なものに過ぎず、当該技術分野で通常の知識を有した者なら、これより多様な変形及び均等な他実施例が可能であると言う点を理解することができるであろう。従って、本発明の真なる技術的保護範囲は、添付の特許請求の範囲によってのみ定められるべきである。
【図面の簡単な説明】
【図1】本発明の実施例によるシステム構成例示図である。
【図2】本発明の一実施例によるIP共有器20でのデータパケット処理のフローチャートである。
【図3】本発明の一実施例によるIP共有器20でのデータパケット処理のフローチャートである。
【図4】本発明の一実施例によるローカル端末機の間にデータ伝送が成される過程を説明するための図面である。
[Object of the invention]
[Technical field to which the invention belongs and conventional technology]
The present invention relates to a method for sharing a global IP, and more particularly, to a method for sharing a global IP so that Internet calls can be made using a local IP.
[0001]
2. Description of the Related Art Generally, in a company or an apartment house such as an apartment, information is shared by connecting a plurality of computer terminals via a private network such as a LAN.
[0002]
Generally, in order for each computer terminal to connect to the Internet, a unique IP address must be assigned from an ISP (Internet Service Provider). However, due to restrictions on IP allocation, the above-mentioned companies or apartment houses use an IP sharing device or an IP sharing program such as Wingate or Midpoint, and a large number of computer terminals are used. The system is being constructed so that it can be connected to the Internet.
[0003]
In such a general IP sharing device, instead of the fixed local (internal) IP address and port information transmitted from the local terminal, the global (external) IP address and port address of the sharing device itself are globally assigned. When the data is transmitted to the terminal and the data is transmitted from the partner global terminal, the data is transmitted to the local terminal having the local IP address and port information stored therein, and the data is transmitted between the local terminal and the global terminal. To perform data communication. That is, since a general IP sharing device has a network address translation (NAT) function (or a NAPT for translating to a TCP layer port), a local terminal can communicate with a global terminal without assigning a global IP address. is there.
[0004]
However, using the above-described general IP sharing device, H.264 that has a higher level of uniqueness than TCP and UDP. Protocols such as H.323 cannot be supported. The reason is that This is because among the protocols constituting the H.323 protocol, there are protocols (H.225, H.245) for exchanging IP address and port information for call setup and release and call control. The positions and meanings of IP and ports for call setup and release and call control are not fixed as at the TCP / IP level, and must be appropriately modified. However, the conventional IP sharing device does not have an address and port conversion function for a protocol higher than the TCP / IP level, so that there is a problem in that VoIP itself cannot be implemented.
[0005]
[Technical problem to be solved by the invention]
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a global IP sharing method in which a plurality of local terminal users can make an Internet call by securing only one global (Global) IP.
[0006]
Another object of the present invention is to reduce the number of data that must be processed for performing an Internet call when an Internet call is made between local terminals, thereby reducing the load processing load on an IP sharing device. Of course, it is an object of the present invention to provide a global IP sharing method for making a quick call.
[0007]
[Configuration of the Invention]
To achieve the above object, a global IP sharing method according to an embodiment of the present invention includes:
Receiving a data packet from a local terminal;
If the received data packet is gatekeeper registration request data, Detecting the IP and port information for the H.225 processing, masquerading the global IP allocated to itself and an arbitrarily generated port, and storing them;
The received data packet is H.264. 225 processing data, Detecting IP and port information for H.245 communication, and masquerading and storing the global IP allocated to itself and an arbitrarily generated port;
The received data packet is H.264. If it is H.245 processing data, detecting IP and port information for voice / image / data communication, masquerading the global IP allocated to itself and an arbitrarily generated port, and storing the masqueraded data;
Transmitting the received data packet to the outside;
De-masquerading the IP and port information detected from the data packet received from the outside and transmitting the information to the corresponding local terminal.
[0008]
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In describing the present invention, when it is determined that a detailed description of a related known function or configuration will unnecessarily obscure the gist of the present invention, a detailed description thereof will be omitted.
[0009]
FIG. 1 illustrates a system configuration diagram according to an embodiment of the present invention.
[0010]
Referring to FIG. 1, a system according to an embodiment of the present invention includes a plurality of local terminals 10 and an IP sharing device 20 connected in a local area network (LAN). Each of the local terminals is assigned a local IP, and the IP sharer 20 is also assigned a local IP and a global IP. Each of the local terminals 10 can receive Internet services via the IP sharing device 20, and can make Internet calls with other local terminals connected to the private network or a global terminal 50 connectable to the Internet. .
[0011]
The IP sharing device 20 supports the Internet communication between the internal local terminal or the internal local terminal 10 and the external global terminal 50 based on the global IP sharing program data according to the embodiment of the present invention. The IP sharing device 20 for implementing the present invention includes a hash table for registering and storing masqueraded IP and port information. It can be said that such an IP sharing device 20 basically has the address conversion function of the conventional IP sharing device.
[0012]
The gateway (G / W) 30 performs a role of a bridge connecting a circuit switching network (not shown) and a packet switching network.
[0013]
The gatekeeper (Gatekeeper: G / K) 40 is a H.264 gate. It performs functions such as address translation and access control for the H.323 terminal, that is, the local terminal, and informs the terminal of the position of the gateway 30 to the terminal and manages the bandwidth.
[0014]
Hereinafter, a global IP sharing method performed by the IP sharing device 20 of the system having the above configuration will be described in more detail with reference to the accompanying drawings.
[0015]
FIG. 2 is a flowchart illustrating a data packet process in the IP sharing device 20 according to an embodiment of the present invention. More specifically, a case in which the local terminal 10 performs forwarding to the global terminal 50 is described. 3 is a flowchart of a data packet processed by the IP sharing device 20. The IP sharing device 20 according to the embodiment of the present invention is an H.264 for implementing VoIP. In order to process the H.323 protocol, basically, a process of registering the local terminal 10 with the gatekeeper 40 must be performed, and a data packet processing process by a telephone call must be performed.
[0016]
Referring to FIG. 2, when a data packet is received from the local terminal 10 (step 100), the IP sharer 20 proceeds to step 110, where the source of the source included in the received data packet is transmitted. Check if the port is masqueraded. If the result of the check indicates that the source port is not masqueraded, the process proceeds to step 120, where the source IP and port of the TCP / IP layer are masqueraded to the global IP and port assigned to the IP sharing device 20. That is, address conversion is performed in the TCP / IP layer as in a general IP sharing device.
[0017]
If the result of the check at step 110 indicates that the source port has already been masqueraded, the IP sharer 20 proceeds to step 115 and changes the source IP and port to the already masqueraded IP and port. Then, the IP sharer 20 determines whether the received data packet has passed H.130, 140, and 150. It checks whether the data is registration data (RRQ: Registration Request), interconnection data (H.225), and call control data (H.245) by the H.323 protocol stack.
[0018]
If the results of steps 130, 140, and 150 do not include any data for performing an Internet call, the IP sharer 20 according to the embodiment of the present invention is the same as a general IP sharer. The masqueraded data packet including its own IP and port is transmitted to the outside (step 160).
[0019]
However, if the received data packet is the gatekeeper 40 registration data (RRQ) as a result of the inspection at step 130 (determined based on the presence or absence of the destination port information “1719”), the IP sharing device 20 proceeds to step 132 and receives the received data packet. A call signal (Call Signal) IP / port and a RAS (Registration Admission Status) message IP / port are detected from the received data packet. Then, the IP sharer 20 masquerades the detected call signal IP / port and RAS message IP / port to a global IP allocated to itself and an arbitrarily generated port (step 134). By registering the IP / port and the masqueraded IP / port in a hash table (step 136), the call signal port is set to H.264. It is registered in the 225 processing port. Thereafter, the IP sharing device 20 transmits the received data packet to the gatekeeper 40 (operation 138).
[0020]
Accordingly, the call signal IP / port of the local terminal (source) and the IP / port of the RAS message are masqueraded and stored inside the IP sharer 20, and the gatekeeper 40 is masqueraded by the IP sharer 20. The transmitted call signal port is registered. For reference, the call signal port information is used for a call for an Internet call thereafter.
[0021]
As described above, after the registration of the local terminal with the gatekeeper 40 is completed, the data packet received from the local terminal is transmitted according to H.264. If the interconnected data is based on the H.225 protocol (step 140), the IP sharing device 20 performs steps 141 to 147. For reference, a method of determining whether a data packet is interconnected data is described in H. The port information (“1720”) specified in the H.323 standard recommendation is included in the data packet, or the H.323 registered in step 136 is registered. It can be determined by examining whether 225 processing port information (that is, a call signal port) is included. If the interconnection data is included in the data packet according to the above determination method, the IP sharing device 20 detects an IP / port for call control (H.245) in the received data packet (operation 141). Generally, the port for call control (H.245) is included in the Alerting message. On the other hand, IP sharer 20 detects the detected H.264. The IP / port for H.245 communication is masqueraded to the global IP of the IP sharing device 20 and a port arbitrarily generated (step 142), and the detected IP / port and the masqueraded IP / port are registered in a hash table (143). Step), the detected port is set to H.264. It will be registered as a 245 communication port.
[0022]
Thereafter, the IP sharer 20 proceeds to step 144 to determine the fast start mode (if an H.245 port table for fast start processing is additionally included) and execute the fast start mode. If so, the process proceeds to step 145 to detect an IP and a port for voice / image / data communication from the received data packet. For reference, the port for voice / image / data communication is H.264. It is transmitted via the 245 port (transmitted via Alerting and Connect). When a port for voice / image / data communication is detected, it is masqueraded and registered (step 146) with its own global IP and an arbitrarily generated port, and then proceeds to step 147 to receive the received data packet. To the outside. When the masquerading of the IP / port for voice / image / data communication is completed, a data packet is transmitted to the global terminal via the masqueraded IP and port, and transmitted from the global terminal. If the IP and port included in the data packet are masqueraded and transmitted to an internal local terminal, a normal Internet call can be made. If the result of the check in step 144 is that the mode is the normal mode instead of the fast start mode, the IP sharer 20 proceeds to step 147 and requests the interconnection by transmitting the data packet to the outside (gate keeper). It will be.
[0023]
Meanwhile, the IP sharing device 20 determines whether the received data packet is call control (H.245) data (operation 150). As a determination method, H.R. The determination can be made based on whether or not 245 communication port information is included. If the result of the determination is that the data is for call control, the IP sharer 20 proceeds to step 152, detects the IP and port for voice / image / data communication from the received data packet, and replaces the detected IP and port with its own. It is masqueraded (step 154) to the global IP and an arbitrarily generated port and stored. Then, the IP sharer 20 transmits the masqueraded data packet including the IP and the port to the outside (global terminal), and thereafter, is transmitted between the local terminal 10 and the global terminal 60. A data packet for an Internet call is transmitted to the global terminal 60 and the local terminal 10 through a masquerading and de-masquerading process in the IP sharing device 20.
[0024]
Accordingly, the local terminal 10 can perform a normal Internet call with the global terminal 60 by sharing the global IP allocated to the IP sharing device 20.
[0025]
FIG. 3 is a flowchart illustrating a data packet process performed by the IP sharing device 20 according to an embodiment of the present invention. More specifically, FIG. 3 illustrates a data packet processing flowchart when the destination is the IP sharing device 20. This is illustrated. FIG. 4 is a diagram illustrating a process of transmitting data between local terminals 10 according to an embodiment of the present invention.
[0026]
First, referring to FIG. 3, when a data packet destined for itself is received (step 200), the IP sharer 20 is a port whose port information included in the received data packet has already been masqueraded. An inspection is performed (step 210). If the port is not a masqueraded port, it is data for its own control (for example, if a Telnet connection is made with an IP sharing device, or if it is TCP port 23 and a web page connection). Proceed and process internally. However, if the result of the inspection at step 210 indicates that the port is a masqueraded port, the IP sharer 20 de-masquerades the IP and port of the TCP / IP layer and transmits it to the corresponding local terminal 10 (step 250).
[0027]
That is, when a data packet destined for itself is received, the IP sharer 20 checks whether the port is already masqueraded, de-masquerades it, and transmits it to the internal local terminal 10. Just fine. However, since data for the interconnection (H.225) of the communication partner may be received from the internal local terminal 10 or the external global terminal 50, the time between steps 220 and 250 may be reduced. It must be checked whether the received data packet is interconnected data (step 230).
[0028]
If it is determined in step 230 that the received data packet is interconnected data, the IP sharing device 20 proceeds to step 232, and checks whether the interconnected data is Call Setup data (Q.931). As a result of the inspection, if the call connection data, the H.264 data is transmitted from the data packet transmitted from the other terminal in response thereto. 245 communication IP / port is detected (step 234), and the detected port is set to H.245. It is registered in the 245 communication port (step 236). The reason for this is that when a call is made from the inside to the outside, the outside responds to the call. This is because a data packet (Alerting, Connect) based on the H.245 protocol is received, and data transmitted through the packet is normally transmitted to a destination.
[0029]
On the other hand, if the result of the check at step 232 is that the call connection data is not present, the IP sharer 20 proceeds to step 238 to check whether the terminal that transmitted the data packet is a local terminal. This can be checked on the source IP. If the inspection result indicates that the terminal is the global terminal 50, the process proceeds to step 240, and the data packet received from the global terminal 50 is transmitted to the internal terminal 10. In such a case, the IP sharer 20 receives the data packet. The IP and port of the local terminal corresponding to the IP and port may be searched from the hash table (that is, demasqueraded) and transmitted to the inside.
[0030]
If the terminal that transmitted the table packet in step 238 is the local terminal 10, the IP sharing device 20 transmits the H.264 packet. For 245 processing, an IP and a port that have already been masqueraded are searched for, de-masqueraded (step 242), and then transmitted internally (step 244). This will be described in more detail with reference to FIG. 4. When the IP sharer 20 transmits the source IP 192.168.0.100, the source port 1001, the destination IP 61.251.85.138, the destination Assuming that a data packet having a local port 60001 is received and that the port 1002 is masqueraded to 60001 by the masquerading operation of the IP sharing device 20, the source IP of the IP sharing device 20 is 61.251.85.138 and the source is The port is 60002, the destination IP is 192.168.0.101, the destination port is masqueraded to 1002, and transmitted to the local terminal n. Such H. The H.225 protocol is described in H.264. Since the port is exchanged with the IP for the H.245 processing, the source IP 192.168.0.100 in the data is also changed to the global IP 61.251.85.138 of the IP sharing device 20. In such a case, since the data packet must be transmitted to the IP sharer 20 again to perform the de-masquerading operation, there is a delay in data processing. Therefore, in the present invention, H. During the process of the H.225 protocol (during the process {circle around (2)} in FIG. The H.245 processing IP (61.251.85.138) and the port are de-masqueraded to the original source-side IP (192.168.0.100) and the port, so that direct communication between the local terminals is possible thereafter. Is performed, communication delay due to masquerade / de-masquerade by the IP sharing device 20 can be prevented.
[0031]
As described above, when the IP sharing device 20 according to the embodiment of the present invention is designated as a destination and receives a data packet from a global or local terminal, the IP sharing device 20 uses the already masqueraded hash table. By de-masquerading the IP and the port and transmitting it to the internal terminal, an Internet call can be normally established between the local terminal and the global terminal by sharing the global IP. In addition, the IP sharing device 20 has an H.264 for interconnection between local terminals. H.225 protocol processing. By de-masquerading the masqueraded IP and port for H.245 processing, H.245 communication between local terminals can occur. Data communication for H.245 processing is performed.
[0032]
[The invention's effect]
As described above, since the present invention is provided with an address (IP) and port conversion function for a protocol higher than the TCP / IP level, a local terminal having a local IP can share one global IP to make an Internet call. It has the advantage of being able to carry out.
[0033]
Also, the present invention reduces the number of data that must be processed for performing an Internet call when an Internet call is made between local terminals, and reduces the load of hardware load processing for sharing a global IP. There is an advantage that a quick Internet call can be made, as well as being reduced.
[0034]
Meanwhile, the present invention has been described with reference to the embodiments illustrated in the drawings. However, this is merely an example, and a person having ordinary knowledge in the art may have a wider variety of embodiments. It will be appreciated that variations and equivalent alternatives are possible. Therefore, the true scope of the present invention should be determined only by the attached claims.
[Brief description of the drawings]
FIG. 1 is an exemplary diagram of a system configuration according to an embodiment of the present invention.
FIG. 2 is a flowchart of a data packet process in the IP sharing device 20 according to an embodiment of the present invention.
FIG. 3 is a flowchart of a data packet process in the IP sharing device 20 according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating a process of transmitting data between local terminals according to an embodiment of the present invention.

Claims (3)

各々のローカル端末機がグローバルIPを共有し、他ローカル端末機或いはグローバル端末機とインターネット通話可能にするためのグローバルIP共有方法において、
ローカル端末機からデータパケットを受信する段階と;
受信データパケットがゲートキーパー登録要求データなら、H.225処理のためのIPとポート情報とを検出して自分に割り当てられたグローバルIPと任意に生成されたポートにマスカレードして貯蔵する段階と;
前記受信データパケットがH.225処理データなら、H.245通信のためのIPとポート情報とを検出し、自分に割り当てられたグローバルIPと任意に生成されたポートにマスカレードして貯蔵する段階と;
前記受信データパケットがH.245処理データなら、音声/画像/データ通信のためのIPとポート情報とを検出して自分に割り当たられたグローバルIPと任意に生成されたポートにマスカレードして貯蔵する段階と;
前記受信データパケットを外部に伝送する段階と;
外部から受信されたデータパケットから検出されたIPとポート情報とをデマスカレードして該当ローカル端末機に伝送する段階;とを含むことを特徴とするグローバルIP共有方法。
In a global IP sharing method in which each local terminal shares a global IP and enables Internet communication with another local terminal or a global terminal,
Receiving a data packet from a local terminal;
If the received data packet is gatekeeper registration request data, Detecting the IP and port information for the H.225 processing, masquerading the global IP allocated to itself and an arbitrarily generated port, and storing them;
The received data packet is H.264. 225 processing data, Detecting IP and port information for H.245 communication, and masquerading and storing the global IP allocated to itself and an arbitrarily generated port;
The received data packet is H.264. If it is H.245 processing data, detecting IP and port information for voice / image / data communication, masquerading the global IP allocated to itself and an arbitrarily generated port, and storing the masqueraded data;
Transmitting the received data packet to the outside;
De-masquerading IP and port information detected from an externally received data packet and transmitting the information to a corresponding local terminal.
前記受信データパケットの外部伝送に応答して受信されるデータパケットはコール連結データを含み、前記コール連結データ受信時、H.245通信のためのIPとポート情報とを検出して登録する段階と;
登録されたポート情報を有するローカル端末機にH.245通信データを伝送する段階;とを含むことを特徴とする特許請求の範囲第1項に記載のグローバルIP共有方法。
The data packet received in response to the external transmission of the received data packet includes call connection data. Detecting and registering IP and port information for H.245 communication;
The local terminal having the registered port information is sent to the local terminal. And transmitting the H.245 communication data. 2. The method as claimed in claim 1, further comprising transmitting 245 communication data.
前記受信データパケットは、内部のローカル端末機と相互連結のためのH.225処理データを含み、内部のローカル端末機と相互連結のためのH.225処理データ受信時、目的地ポートがマスカレードされたポートなら、ソース側IPとポートを呼出側ローカル端末機のIPとポートにデマスカレードして被呼出側ローカル端末機に伝送する段階;を含むことを特徴とする特許請求の範囲第1項または第2項に記載のグローバルIP共有方法。The received data packet is transmitted to an internal local terminal according to H.264 for interconnection. H.225 including H.225 processing data and H.225 for interconnection with an internal local terminal. 225, when receiving the processed data, if the destination port is a masqueraded port, demasquerading the source IP and port to the IP and port of the calling local terminal and transmitting it to the called local terminal. The global IP sharing method according to claim 1 or 2, wherein:
JP2003086894A 2002-04-13 2003-03-27 GLOBAL IP SHARING METHOD FOR REALIZING VoIP Pending JP2004007516A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020020260A KR20030081840A (en) 2002-04-13 2002-04-13 METHOD FOR HOLDING A GLOBAL IP IN COMMON TO REALIZE A VoIP

Publications (1)

Publication Number Publication Date
JP2004007516A true JP2004007516A (en) 2004-01-08

Family

ID=30439277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003086894A Pending JP2004007516A (en) 2002-04-13 2003-03-27 GLOBAL IP SHARING METHOD FOR REALIZING VoIP

Country Status (2)

Country Link
JP (1) JP2004007516A (en)
KR (1) KR20030081840A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100457823B1 (en) * 2004-05-14 2004-11-18 넷코덱(주) Virtual IP Supporting Method for Apparatus Having Network Server Program
KR100844380B1 (en) * 2006-11-07 2008-07-07 주식회사 케이티 Appratus for managing subscriber terminal and method thereof, recording medium for realizing the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3444407B2 (en) * 1999-09-01 2003-09-08 日本電気株式会社 VoIP address setting system and method
KR100689540B1 (en) * 2000-03-20 2007-03-08 삼성전자주식회사 Multi telecommunication method by local ip network and method thereof
KR100341880B1 (en) * 2000-07-14 2002-06-26 이윤봉 Apparatus for being shared ip address by port number
KR100393624B1 (en) * 2001-02-20 2003-08-02 삼성전자주식회사 Nat router for voice over internet protocol system

Also Published As

Publication number Publication date
KR20030081840A (en) 2003-10-22

Similar Documents

Publication Publication Date Title
US8582749B2 (en) Method and apparatus for connecting packet telephony calls between secure and non-secure networks
JP3872477B2 (en) Multiple call system and method through local IP network
US7830878B2 (en) Virtual network connection system, virtual network connection apparatus, and computer-readable medium
JP5335886B2 (en) Method and apparatus for communicating data packets between local networks
US20070217408A1 (en) Address Resolution Device, Address Resolution Method, And Communication System Including The Same
US20060018308A1 (en) Method and system for supporting global IP telephony system
US20150036641A1 (en) MOBILE PHONE DOCKING STATION VPNs
US8037531B2 (en) Dynamic network security system and control method thereof
US20090245278A1 (en) Network address translation bypassing based on network layer protocol
US20060056420A1 (en) Communication apparatus selecting a source address
US20130308628A1 (en) Nat traversal for voip
TW200409500A (en) Dynamic network address translation system and method of transparent private network device
JP2002502152A (en) Proxy server for TCP / IP network address mobile terminal
JP2003174466A (en) Address conversion device, message processing method and device
JP2012521147A (en) Access node comprising a VoIP card having a common IP address and a MAC address
US20100020792A1 (en) Media Proxy Able to Detect Blocking
KR20130052240A (en) Method and apparatus for provisioning network address translator traversal methods
JP4352630B2 (en) Connection proxy device
US8184622B2 (en) Integrated internet telephony system and signaling method thereof
US7680065B2 (en) System and method for routing information packets
US20090201933A1 (en) Method, device and system for signaling transfer
JP2004007516A (en) GLOBAL IP SHARING METHOD FOR REALIZING VoIP
JP4263915B2 (en) Data communication system
KR20040105301A (en) Method and system for providing h.323 service
JP6904020B2 (en) Communication control device and communication control program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040914

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050222