JP2004102410A - Information distribution method, distribution server, and program - Google Patents

Information distribution method, distribution server, and program Download PDF

Info

Publication number
JP2004102410A
JP2004102410A JP2002260013A JP2002260013A JP2004102410A JP 2004102410 A JP2004102410 A JP 2004102410A JP 2002260013 A JP2002260013 A JP 2002260013A JP 2002260013 A JP2002260013 A JP 2002260013A JP 2004102410 A JP2004102410 A JP 2004102410A
Authority
JP
Japan
Prior art keywords
address
distribution
server
client computer
information
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
JP2002260013A
Other languages
Japanese (ja)
Inventor
Tatsuya Seo
瀬尾 達也
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2002260013A priority Critical patent/JP2004102410A/en
Publication of JP2004102410A publication Critical patent/JP2004102410A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To continuously distribute contents without conducting re-authentication or the like in a distribution server, even when a global IP address is changed in a client computer. <P>SOLUTION: A unique domain name is imparted to an LAN 200. A global IP address is imparted to a router 202 when a PC 204 or the like in the LAN 200 is connected to the Internet. A correspondence relation between the global IP address and the domain name is stored in a dynamic DNS server 150, and its content is updated dynamically. A distribution server 102 or the like requires repeatingly name solution to the server 150, as to the domain name, when distributing the content to the PC 204 or the like. The content is thereby continued to be distributed even when the global IP address of the router 202 is changed in the midway of the distribution. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、インターネット上における動画等の配信サービスに用いて好適な情報配信方法、配信サーバおよびプログラムに関する。
【0002】
【従来の技術】
インターネットに接続されたクライアントコンピュータが配信サーバからコンテンツの配信を受ける際、一般的にクライアントコンピュータ側では配信サーバのドメイン名等が既知であるが、配信サーバのグローバルIPアドレスは不知である。そこで、クライアントコンピュータにおいては、所定のDNSサーバに対して配信サーバのドメイン名が送信され、DNSサーバから当該ドメイン名に割り当てられたグローバルIPアドレスが返信される。このように相手側のドメイン名に基づいてIPアドレスを取得する処理を「名前解決」という。
【0003】
クライアントコンピュータにおいて名前解決が行われると、目的となる配信サーバのグローバルIPアドレスが判明するから、当該グローバルIPアドレスを送信先アドレスとするIPパケット(例えば配信要求のパケット)がクライアントコンピュータから配信サーバに供給されることになる。一方、配信サーバにおいては、クライアントコンピュータから送信されたパケットの送信元アドレスを参照すると、直ちにクライアントコンピュータのグローバルIPアドレスが判明するから、名前解決を行う必要はない。配信サーバにおいては、例えば、正しいユーザIDとパスワードがクライアントコンピュータから送信された等の所定の条件を満たされれば、該クライアントコンピュータに対して動画等のコンテンツが配信されることになる。
【0004】
【発明が解決しようとする課題】
ところで、一般家庭あるいは小規模オフィス内に設けられているクライアントコンピュータは、通常はインターネットサービスプロバイダ(ISP)を介してインターネットに接続される。しかし、各契約者に対して予め固定のグローバルIPアドレスを付与するサービスは動的なグローバルIPアドレスを付与するサービスよりもコスト高になるため、通常はIPアドレスは動的に付与されている。ここで、ISPを介して動的なグローバルIPアドレスが付与されているクライアントコンピュータが配信サーバからコンテンツの配信を受けている途中において、なんらかの原因によりクライアントコンピュータ側の回線が切断されたとする。かかる場合にクライアントコンピュータがISPを介してインターネットに再接続すると、そのグローバルIPアドレスは以前に接続されていた時のアドレスとは異なるアドレスになる。
【0005】
この新たに付与されたグローバルIPアドレスは、配信サーバにおいては未知のアドレスであるため、クライアントコンピュータ側においては、再びユーザIDとパスワードを入力する等の処置を行わなければコンテンツの受信を継続することができなくなる。かかる作業はクライアントコンピュータ側のユーザにとって煩雑な作業である。この発明は上述した事情に鑑みてなされたものであり、クライアントコンピュータのグローバルIPアドレスが変更された場合においても、コンテンツの配信を迅速かつ容易に続行できる情報配信方法、配信サーバおよびプログラムを提供することを目的としている。
【0006】
【課題を解決するための手段】
上記課題を解決するため本発明にあっては、下記構成を具備することを特徴とする。なお、括弧内は例示である。
請求項1記載の情報配信方法にあっては、接続される毎にIPアドレスが変化し得るクライアントコンピュータと、前記クライアントコンピュータに対して前記IPアドレスと所定のドメイン名とを対応付けて記憶するDNSサーバとが接続されるネットワーク(インターネット)に設けられ、前記クライアントコンピュータに対して情報を配信する配信サーバにおいて実行される情報配信方法において、前記DNSサーバに対して前記ドメイン名を通知することにより、前記DNSサーバからIPアドレスを受信する過程(SP244)と、この受信したIPアドレスを用いて前記クライアントコンピュータに対して情報を配信する過程(SP248)とを情報の配信中に繰り返し実行することを特徴とする。
また、請求項2記載の情報配信方法(変形例)にあっては、接続される毎にIPアドレスが変化し得るクライアントコンピュータと、前記クライアントコンピュータに対して前記IPアドレスと所定のドメイン名とを対応付けて記憶するDNSサーバとが接続されるネットワーク(インターネット)に設けられ、前記クライアントコンピュータに対して情報を配信する配信サーバにおいて実行される情報配信方法において、前記DNSサーバから受信した一のIPアドレスを用いた場合に前記クライアントコンピュータに対して情報の配信が可能であるか否かを判定する判定過程と、前記判定過程において情報の配信が不可能であると判定された場合に、前記DNSサーバに対して前記ドメイン名を通知することにより、前記DNSサーバから新たなIPアドレスを受信する過程と、前記一のIPアドレスに代えて、前記新たなIPアドレスを用いて前記クライアントコンピュータに対して情報を配信する過程とを情報の配信中に繰り返し実行することを特徴とする。
また、請求項3記載の配信サーバにあっては、請求項1または2の何れかに記載の情報配信方法を実行することを特徴とする。
また、請求項4記載のプログラムにあっては、請求項1または2の何れかに記載の情報配信方法を実行することを特徴とする。
【0007】
【発明の実施の形態】
1.実施形態の構成
次に、本発明の一実施形態のネットワークシステムの全体構成を図1を参照し説明する。
図において204,206,208はパーソナルコンピュータ(PC)であり、ローカルエリアネットワーク(LAN)200を介して相互に接続されている。202はルータであり、インターネットサービスプロバイダ側のサーバ(以下ISPサーバという)を介してインターネット100に接続され、LAN200内のパケットとインターネット100上のパケットとを相互にやりとりする。102,104,106は配信サーバであり、インターネット100を介して、コンテンツの配信要求を行ったクライアントコンピュータ(例えばPC204,206,208)に対して、動画等のコンテンツを配信する。
【0008】
ISPサーバ108においては、ルータ202を介して接続要求を受信すると、ルータ202に対して一のグローバルIPアドレスが付与される。そして、LAN200内においては、IPマスカレード等の手法により、当該一のグローバルIPアドレスが複数のPC204,206,208によって共有されることになる。なお、LAN200に対しては、予めドメイン名が定められている。150はダイナミックDNSサーバであり、ISPサーバ108が付与したグローバルIPアドレスと、LAN200のドメイン名とを対応付けるデータベースを記憶し、外部からの照会に基づいて、照会元にグローバルIPアドレスまたはドメイン名を通知する。
【0009】
2.実施形態の動作
2.1.クライアント側の動作
次に、本実施形態の動作を説明する。まず、PC204,206,208の何れかにおいて、配信サービスを受信する操作が行われると、当該PCにおいて図2に示す配信サービス要求ルーチンが起動される。図において処理がステップSP106に進むと、配信サービス開始要求が完了しているか否かが判定される。ここで「NO」と判定されると、処理はステップSP108に進み、当該PCから対象となる配信サーバに対して、配信サービス開始要求が送信される。この配信サービス開始要求には、「要求元情報」として、自ドメイン名が含まれる。これに対する配信サーバ側の処理の詳細については後述するが、当該PCと配信サーバとの間で動画等の配信サービスが開始される。次に、処理がステップSP110に進むと、当該PCのユーザが配信サービスの停止を希望しているか否かが判定される。ここで「NO」と判定されると、処理はステップSP106に戻る。
【0010】
コンテンツの配信サービスを受けている状態においては、ステップSP106において「YES」と判定されるから、以後はステップSP106,SP110が繰り返し実行され、本ルーチンにおいては実質的な処理は行われない。その期間中、コンテンツを受信するアプリケーションプログラム(例えば動画ビュアー)において、動画の表示等、コンテンツに応じた処理が実行されることになる。そして、ユーザが配信サービスの停止を指示する所定の操作を行うと、ステップSP110において「YES」と判定され、処理はステップSP112に進む。ここでは、当該PCから配信サーバに対して配信サービス停止要求が送信される。なお、この配信サービス停止要求においても、配信停止の「要求元情報」として、自ドメイン名が含まれる。これに対する配信サーバ側の処理の詳細については後述するが、コンテンツの配信は停止され、本ルーチンの処理も終了する。
【0011】
一方、ルータ202においては、LAN200から受信したIPパケットに対して、ISPサーバ108に送出すべきものであるか否かが常時判定されている。そして、ISPサーバ108側に送出すべきIPパケットが検出されると、図3に示すネットワーク接続ルーチンが呼び出される。図において処理がステップSP121に進むと、ルータ202がISPサーバ108を介してインターネット100に接続されているか否かが判定される。ここで「YES」と判定されると、そのまま処理が終了する。
【0012】
一方、ステップSP121において「NO」と判定されると、処理はステップSP122に進み、ルータ202とISPサーバ108との間で接続プロトコルに基づくネゴシエーションが行われる。次に、処理がステップSP124に進むと、ISPサーバ108からグローバルIPアドレスが付与される。このグローバルIPアドレスはルータ202内に記憶され、LAN200内のローカルアドレスとグローバルIPアドレスとの相互変換のために用いられる。次に、処理がステップSP126に進むと、図4に示すDNS登録ルーチンが呼び出される。
【0013】
図4において処理がステップSP142に進むと、ダイナミックDNSサーバ150に対して、自ドメイン名とグローバルIPアドレスとパスワードが通知され、サーバ150とルータ202との間で認証操作が実行される。これは、他者によって勝手にドメイン名等の変更が行われることを防止するためである。次に、処理がステップSP144に進むと、ダイナミックDNSサーバ150からの応答により、DNS登録が成功したか失敗したかが検出される。なお、ステップSP144においては、自ドメイン名に対してルータ202自体が名前解決を試行することにより、DNS登録の可否を判定してもよい。次に、処理がステップSP146に進むと、DNS登録が成功したか否かが判定される。ここで「NO」と判定されると、処理はステップSP142に戻り、DNS登録が成功するまでステップSP142,SP144の処理が繰り返され、DNS登録が成功すると本ルーチンの処理は終了する。
【0014】
ところで、何れかのPCがコンテンツの配信を受けている途中においては、上述したようにステップSP106,SP110が繰り返し実行されるが、その途中でなんらかの原因によってルータ202およびISPサーバ108の回線が切断される場合も考えられる。かかる場合には、上述したように、ルータ202においてネットワーク接続ルーチン(図3)内のステップSP122〜SP126が再び起動され、ISPサーバ108からグローバルIPアドレスが付与される(SP124)。ここで、付与されるグローバルIPアドレスは、一般的には前回付与されたグローバルIPアドレスとは異なるアドレスである。従って、ステップSP126においては、この新たなグローバルIPアドレスと、ルータ202のドメイン名とが対応付けられるように、ダイナミックDNSサーバ150内のデータベースが更新される。
【0015】
但し、コンテンツの配信を受けている途中で回線が切断された場合においても、既に配信サービスの開始は要求済みであるため、ステップSP106においては「YES」と判定される。すなわち、かかる場合にはステップSP108(配信サービス開始要求の送信)は実行されない。このように、本実施形態においては、回線が一旦切断された後に再接続された場合に認証の再実行の必要がなく、ユーザは煩雑な再認証操作から解放されるという利点がある。
【0016】
2.2.ダイナミックDNSサーバ150の動作
上記ステップSP142においては、ダイナミックDNSサーバ150に対して、自ドメイン名とグローバルIPアドレスとパスワードが通知される。サーバ150においてこれらのデータが受信されると、図5に示すDNSサーバドメイン名登録ルーチンが起動される。図において処理がステップSP204に進むと、通知されたドメイン名が既にデータベースに登録されているドメイン名であるか否かが判定される。このドメイン名が新たなドメイン名であってデータベースに登録されていなければ「NO」と判定され、処理はステップSP208に進む。ここでは、通知されたパスワードに対応して、ドメイン名と、グローバルIPアドレスとがデータベースに記録される。そして、処理がステップSP210に進むと、DNS登録が成功した旨がクライアントコンピュータに通知され、本ルーチンの処理が終了する。
【0017】
一方、一旦回線が中断された後、再接続された場合には、クライアントコンピュータ側から前回と同一のドメイン名がサーバ150に通知されることになる。かかる場合にはステップSP204において「YES」と判定され、処理はステップSP206に進む。ステップSP206においては、当該ドメイン名は送信されたパスワードを保有するユーザの使用するドメイン名であるか否かが判定される。一旦回線が中断された後、再接続された場合には、前回のパスワードと同一のパスワードがサーバ150に供給される筈であるから、ここで「YES」と判定され、処理はステップSP208に進む。これにより、新たに付与されたグローバルIPアドレスと、上記ドメイン名と、上記パスワードとを対応付けるように、サーバ150内のデータベースの内容が更新される。そして、ステップSP210においては、DNS登録が成功した旨がクライアントコンピュータに通知され、本ルーチンの処理が終了する。
【0018】
また、既にあるユーザがあるドメイン名を使用しているにもかかわらず、他のユーザから同一のドメイン名についてサーバ150にDNS登録要求を送信する場合もありうる。かかる場合には両ユーザにおけるパスワードが異なるため、ステップSP206において「NO」と判定され、処理はステップSP210に進む。ここでは、当該他のユーザのクライアントコンピュータに対して、DNS登録を拒否する旨が通知され、本ルーチンの処理が終了する。
【0019】
また、クライアントコンピュータのDNS登録が終了した後、他のコンピュータ(例えば配信サーバ102,104,106)から名前解決要求が供給されると、ダイナミックDNSサーバ150においては、図6に示す名前解決ルーチンが起動される。図において処理がステップSP224に進むと、名前解決要求されたドメイン名に対するIPアドレスがデータベースに登録されているか否かが判定される。ここで「YES」と判定されると、処理はステップSP226に進み、名前解決の要求元のコンピュータに対して供給される応答パケットに、当該IPアドレスが格納される。次に、処理がステップSP228に進むと、名前解決の要求元のコンピュータに対して、生成された応答パケットが送信され、本ルーチンの処理が終了する。
【0020】
一方、名前解決要求されたドメイン名に対するIPアドレスがデータベースに登録されていなかった場合には、ステップSP224において「NO」と判定され、処理はステップSP228に進む。この場合には、名前解決が成功しなかった旨を示すパケットが、名前解決の要求元のコンピュータに対して送信され、本ルーチンの処理が終了する。
【0021】
2.3.配信サーバの動作
上述したように、ステップSP108においては、クライアントコンピュータから配信サーバに対して配信サービス開始要求が送信される。この配信サービス開始要求が対応する配信サーバ102,104,106において受信されると、図7に示す配信サーバ配信サービスルーチンが起動される。図において処理がステップSP244に進むと、配信サービス開始要求を出力したクライアントコンピュータの名前解決を行うために、該クライアントコンピュータのドメイン名がダイナミックDNSサーバ150に供給される。上述したように、サーバ150においては、名前解決が成功すれば要求元の配信サーバに対してIPアドレスを返信し、名前解決が成功しなかった場合にはその旨を示すパケットが配信サーバに返信される。
【0022】
次に、処理がステップSP246に進むと、サーバ150から返信されたパケットに基づいて、名前解決が成功したか否かが判定される。名前解決が成功した場合には「YES」と判定され、処理はステップSP248に進む。ここでは、名前解決によって得られたIPアドレスに対して、動画等のコンテンツが配信される。次に、処理がステップSP250に進むと、クライアントコンピュータから配信サービス停止要求を受信したか否かが判定される。ここで「NO」と判定されると、処理はステップSP244に戻り、名前解決が成功するとともに配信サービス停止要求が受信されない限り、ステップSP244〜SP250の処理が繰り返される。
【0023】
そして、クライアントコンピュータから配信サービス停止要求が供給された場合、あるいは名前解決が失敗した場合にはステップSP246またはSP250を介して処理はステップSP252に進む。ここでは、当該配信サーバにおける配信サービスが停止され、本ルーチンの処理が終了する。このように、本実施形態の配信サーバにおいては、配信サービス中に、同一ドメイン名に対して、繰り返し名前解決を行う点に特徴がある。これにより、コンテンツの配信途中においてクライアントコンピュータのIPアドレスが変更されたとしても、その変更結果に追従して配信サービスを続行することができる。
【0024】
換言すれば、クライアントコンピュータ側から見れば、インターネットに対する接続が一旦切断され再接続を行った際に、前回とは異なるIPアドレスが付与されたとしても、配信サーバ102,104,106に対してログイン操作等、配信サービスの再開を要求するための操作を行う必要はなく、直ちにコンテンツの受信を再開することができる。
【0025】
また、本実施形態においては、配信サービスを受けるクライアントコンピュータ以外のコンピュータから配信サービスの開始および停止等の操作を行うことが容易になる。これは、配信サービスを受けるクライアントコンピュータのグローバルIPアドレスは接続の度に変更されるのに対して、ドメイン名は恒久的に一定であるから、このドメイン名を指定することによって種々の設定を行うことができるからである。
【0026】
また、本実施形態において、個々のクライアントコンピュータのユーザがコンテンツの配信業者と配信契約を結ぶ場合は、コンテンツを受信するドメイン名のみを配信業者に通知すればよい。これにより、個々のユーザIDおよびパスワードはダイナミックDNSサーバ150においてのみ管理し、個々の配信サーバ102,104,106におけるユーザIDおよびパスワードを管理を省略することができる。これにより、配信サーバにおける認証等の処理が簡素化され、配信サーバのリソースが節約できる。
【0027】
このことは、換言すれば、ユーザ側においてパスワード等の秘密情報の一元化を図ることができることに等しい。さらに、このパスワード等は、クライアントコンピュータとダイナミックDNSサーバ150との間においてのみやりとりされる情報であって、ISPが運営する、あるいは同一ISPのネットワーク内に存在するダイナミックDNSサーバを利用することによって、パスワード等がインターネット100には流出しないようにできることも本実施形態の特徴である。インターネット100上にパスワードを流出させないことにより、パスワード等を含むパケットを暗号化することなく、きわめて高いセキュリティを確保することができる。このように、本実施形態によれば、コスト高な固定IPサービスではなく、安価な動的IPサービスによって、高い安全性と利便性を備えたコンテンツ配信システムを実現することができる。
【0028】
3.変形例
本発明は上述した実施形態に限定されるものではなく、例えば以下のように種々の変形が可能である。
(1)上記実施形態においては、配信サーバ上で動作するプログラムによって本発明の情報配信方法を実現したが、このプログラムのみをCD−ROM、フレキシブルディスク等の記録媒体に格納して頒布し、あるいは伝送路を通じて頒布することもできる。
【0029】
(2)上記実施形態の配信サーバ配信サービスルーチン(図7)においては、ステップSP244〜SP259のループを繰り返す毎に名前解決(SP244)を実行した。しかし、これに代えて、現時点で配信サーバが把握しているIPアドレスによってコンテンツの配信が可能であるか否かを確認し、配信可能であればコンテンツの配信を行うとともに配信不可能であれば配信可能なIPアドレスを取得し直すようにしてもよい。
【0030】
その一例として、配信サーバ側から所定期間毎にクライアント側に確認要求パケットを送信し、これを受信したクライアント側は確認応答パケットを配信サーバに返信するようにプロトコルを設定することが考えられる。配信サーバにおいては、この確認応答パケットが受信され続ける限り、従前のIPアドレスに対してコンテンツを配信し続けるとよい。一方、配信サーバにおいてこの確認応答パケットを受信できなくなれば、クライアントコンピュータのIPアドレスが変更された可能性が高くなるため、かかる場合にダイナミックDNSサーバ150にクライアントコンピュータのドメイン名を送信して名前解決を実行し、その結果得られた新たなIPアドレスに対してコンテンツの配信を続行すればよい。
【0031】
【発明の効果】
以上説明したように本発明によれば、配信サーバは、情報の配信中に名前解決を繰り返し実行し、あるいは、クライアントコンピュータに対して情報の配信が可能であるか否かを繰り返し判定し配信不可能な場合に名前解決を実行するから、クライアントコンピュータのIPアドレスが変更された場合においても、再認証等を行うことなく情報の配信を続行することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態のネットワークシステムのブロック図である。
【図2】配信サービス要求ルーチンのフローチャートである。
【図3】ネットワーク接続ルーチンのフローチャートである。
【図4】DNS登録ルーチンのフローチャートである。
【図5】DNSサーバドメイン名登録ルーチンのフローチャートである。
【図6】名前解決ルーチンのフローチャートである。
【図7】配信サーバ配信サービスルーチンのフローチャートである。
【符号の説明】
100…インターネット、108…ISPサーバ、150…ダイナミックDNSサーバ、200…LAN、202…ルータ、102,104,106…配信サーバ、204,206,208…パーソナルコンピュータ。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an information distribution method, a distribution server, and a program suitable for use in a distribution service of moving images and the like on the Internet.
[0002]
[Prior art]
When a client computer connected to the Internet receives content distribution from a distribution server, the client computer generally knows the domain name and the like of the distribution server, but does not know the global IP address of the distribution server. Therefore, in the client computer, the domain name of the distribution server is transmitted to a predetermined DNS server, and the global IP address assigned to the domain name is returned from the DNS server. The process of acquiring an IP address based on the other party's domain name in this manner is called "name resolution."
[0003]
When name resolution is performed in the client computer, the global IP address of the target distribution server is determined. Therefore, an IP packet (for example, a distribution request packet) having the global IP address as a destination address is transmitted from the client computer to the distribution server. Will be supplied. On the other hand, in the distribution server, referring to the source address of the packet transmitted from the client computer, the global IP address of the client computer is immediately found, so that there is no need to perform name resolution. In the distribution server, for example, if predetermined conditions such as a correct user ID and password transmitted from a client computer are satisfied, content such as a moving image is distributed to the client computer.
[0004]
[Problems to be solved by the invention]
By the way, a client computer provided in a general home or a small office is usually connected to the Internet via an Internet service provider (ISP). However, a service for assigning a fixed global IP address to each subscriber in advance is more expensive than a service for assigning a dynamic global IP address, and therefore, an IP address is usually assigned dynamically. Here, it is assumed that a line on the client computer side is disconnected for some reason while a client computer to which a dynamic global IP address is assigned via the ISP is receiving content from the distribution server. In such a case, if the client computer reconnects to the Internet via the ISP, its global IP address will be different from the address that was previously connected.
[0005]
Since the newly assigned global IP address is an unknown address in the distribution server, the client computer must continue receiving the content unless the user ID and password are input again. Can not be done. This operation is complicated for the user on the client computer side. The present invention has been made in view of the above-described circumstances, and provides an information distribution method, a distribution server, and a program that can quickly and easily continue distribution of contents even when a global IP address of a client computer is changed. It is aimed at.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, the present invention is characterized by having the following configuration. The contents in parentheses are examples.
2. The information distribution method according to claim 1, wherein a client computer whose IP address can change each time it is connected, and a DNS that stores the IP address and a predetermined domain name in the client computer in association with each other. In an information distribution method that is provided in a network (Internet) connected to a server and is executed in a distribution server that distributes information to the client computer, by notifying the DNS server of the domain name, The step of receiving an IP address from the DNS server (SP244) and the step of distributing information to the client computer using the received IP address (SP248) are repeatedly executed during the distribution of information. And
Further, in the information distribution method (modification) according to the second aspect, a client computer whose IP address can change each time a connection is made, and the IP address and a predetermined domain name are transmitted to the client computer. In an information distribution method that is provided in a network (Internet) connected to a DNS server for storing information in association with the DNS server and that distributes information to the client computer, one IP received from the DNS server is provided. A determining step of determining whether or not information can be distributed to the client computer when the address is used; and determining that the information cannot be distributed in the determining step; By notifying the server of the domain name, the DNS server Repeating the step of receiving a new IP address and the step of delivering information to the client computer using the new IP address instead of the one IP address during the delivery of the information. Features.
According to a third aspect of the present invention, there is provided a distribution server which executes the information distribution method according to the first or second aspect.
According to a fourth aspect of the present invention, there is provided a program for executing the information distribution method according to any one of the first and second aspects.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
1. Next, the overall configuration of a network system according to an embodiment of the present invention will be described with reference to FIG.
In the figure, reference numerals 204, 206, and 208 denote personal computers (PCs), which are mutually connected via a local area network (LAN) 200. A router 202 is connected to the Internet 100 via a server on the side of an Internet service provider (hereinafter, referred to as an ISP server), and exchanges packets in the LAN 200 and packets on the Internet 100 with each other. Reference numerals 102, 104, and 106 denote distribution servers that distribute contents such as moving images to client computers (for example, PCs 204, 206, and 208) that have requested distribution of the contents via the Internet 100.
[0008]
When the ISP server 108 receives a connection request via the router 202, one global IP address is assigned to the router 202. In the LAN 200, the one global IP address is shared by the plurality of PCs 204, 206, and 208 by a method such as IP masquerade. Note that a domain name is predetermined for the LAN 200. Reference numeral 150 denotes a dynamic DNS server that stores a database that associates the global IP address given by the ISP server 108 with the domain name of the LAN 200, and notifies the query source of the global IP address or domain name based on an external query. I do.
[0009]
2. Operation of embodiment 2.1. Next, the operation of the present embodiment will be described. First, when an operation of receiving a distribution service is performed in any of the PCs 204, 206, and 208, a distribution service request routine shown in FIG. 2 is started in the PC. In the figure, when the process proceeds to step SP106, it is determined whether or not the distribution service start request has been completed. If “NO” is determined here, the process proceeds to step SP108, and a distribution service start request is transmitted from the PC to the target distribution server. This distribution service start request includes the own domain name as “request source information”. The details of the processing on the distribution server side for this will be described later, but a distribution service for a moving image or the like is started between the PC and the distribution server. Next, when the process proceeds to step SP110, it is determined whether or not the user of the PC desires to stop the distribution service. Here, if “NO” is determined, the process returns to step SP106.
[0010]
In the state of receiving the content distribution service, "YES" is determined in step SP106, and thereafter, steps SP106 and SP110 are repeatedly executed, and no substantial processing is performed in this routine. During that period, an application program (for example, a moving image viewer) that receives the content performs processing corresponding to the content, such as displaying a moving image. Then, when the user performs a predetermined operation for instructing stop of the distribution service, “YES” is determined in step SP110, and the process proceeds to step SP112. Here, a distribution service stop request is transmitted from the PC to the distribution server. In this distribution service stop request, the own domain name is also included as the “request source information” of the distribution stop. Although the details of the processing on the distribution server side for this will be described later, the distribution of the content is stopped, and the processing of this routine ends.
[0011]
On the other hand, the router 202 constantly determines whether or not an IP packet received from the LAN 200 should be sent to the ISP server 108. When an IP packet to be transmitted to the ISP server 108 is detected, a network connection routine shown in FIG. 3 is called. In the figure, when the process proceeds to step SP121, it is determined whether or not the router 202 is connected to the Internet 100 via the ISP server 108. If "YES" is determined here, the process ends as it is.
[0012]
On the other hand, if “NO” is determined in the step SP121, the process proceeds to a step SP122, and a negotiation is performed between the router 202 and the ISP server 108 based on a connection protocol. Next, when the process proceeds to step SP124, the ISP server 108 assigns a global IP address. This global IP address is stored in the router 202 and used for mutual conversion between the local address in the LAN 200 and the global IP address. Next, when the process proceeds to step SP126, a DNS registration routine shown in FIG. 4 is called.
[0013]
In FIG. 4, when the process proceeds to step SP142, the own DNS name, global IP address, and password are notified to the dynamic DNS server 150, and an authentication operation is performed between the server 150 and the router 202. This is to prevent a domain name or the like from being changed by another person without permission. Next, when the process proceeds to step SP144, it is detected from the response from the dynamic DNS server 150 whether the DNS registration has succeeded or failed. Note that in step SP144, the router 202 itself may try to resolve the name of the own domain name to determine whether DNS registration is possible. Next, when the process proceeds to step SP146, it is determined whether or not the DNS registration has succeeded. If “NO” is determined here, the process returns to step SP142, and the processes of steps SP142 and SP144 are repeated until the DNS registration succeeds. If the DNS registration succeeds, the process of this routine ends.
[0014]
By the way, while any of the PCs is receiving content distribution, steps SP106 and SP110 are repeatedly executed as described above, but the line between the router 202 and the ISP server 108 is disconnected for some reason during the process. May be considered. In such a case, as described above, steps SP122 to SP126 in the network connection routine (FIG. 3) are started again in the router 202, and the ISP server 108 assigns a global IP address (SP124). Here, the assigned global IP address is generally an address different from the previously assigned global IP address. Therefore, in step SP126, the database in the dynamic DNS server 150 is updated so that the new global IP address is associated with the domain name of the router 202.
[0015]
However, even if the line is disconnected during the distribution of the content, the start of the distribution service has already been requested, so that “YES” is determined in the step SP106. That is, in such a case, step SP108 (transmission of a distribution service start request) is not executed. As described above, in the present embodiment, when the line is once disconnected and then reconnected, there is no need to re-execute the authentication, and there is an advantage that the user is released from a complicated re-authentication operation.
[0016]
2.2. Operation of Dynamic DNS Server 150 In the above step SP142, the dynamic DNS server 150 is notified of its own domain name, global IP address, and password. When the server 150 receives these data, a DNS server domain name registration routine shown in FIG. 5 is started. In the figure, when the processing proceeds to step SP204, it is determined whether or not the notified domain name is a domain name already registered in the database. If this domain name is a new domain name and is not registered in the database, "NO" is determined, and the process proceeds to step SP208. Here, the domain name and the global IP address are recorded in the database corresponding to the notified password. Then, when the process proceeds to step SP210, the client computer is notified that the DNS registration has succeeded, and the process of this routine ends.
[0017]
On the other hand, if the line is interrupted and then reconnected, the client computer notifies the server 150 of the same domain name as the previous time. In such a case, “YES” is determined in step SP204, and the process proceeds to step SP206. In step SP206, it is determined whether or not the domain name is a domain name used by the user holding the transmitted password. If the line is temporarily interrupted and then reconnected, the same password as the previous password should be supplied to the server 150, so that the determination is "YES" here, and the process proceeds to step SP208. . Thus, the contents of the database in the server 150 are updated so that the newly assigned global IP address, the domain name, and the password are associated with each other. Then, in step SP210, the client computer is notified that the DNS registration has succeeded, and the processing of this routine ends.
[0018]
Further, there is a case where a DNS registration request is transmitted to the server 150 for the same domain name from another user even though an existing user is using a certain domain name. In such a case, since the passwords of the two users are different, "NO" is determined in step SP206, and the process proceeds to step SP210. Here, the client computer of the other user is notified that the DNS registration is rejected, and the processing of this routine ends.
[0019]
Further, when the name resolution request is supplied from another computer (for example, the distribution servers 102, 104, 106) after the DNS registration of the client computer is completed, the name resolution routine shown in FIG. Is activated. In the figure, when the processing proceeds to step SP224, it is determined whether or not the IP address corresponding to the domain name requested to be resolved is registered in the database. If "YES" is determined here, the process proceeds to step SP226, and the IP address is stored in a response packet supplied to the computer that has requested name resolution. Next, when the process proceeds to step SP228, the generated response packet is transmitted to the computer requesting name resolution, and the process of this routine ends.
[0020]
On the other hand, if the IP address corresponding to the domain name requested to be resolved is not registered in the database, “NO” is determined in the step SP224, and the process proceeds to a step SP228. In this case, a packet indicating that the name resolution has not been successful is transmitted to the computer requesting name resolution, and the processing of this routine ends.
[0021]
2.3. Operation of Distribution Server As described above, in step SP108, a distribution service start request is transmitted from the client computer to the distribution server. When this distribution service start request is received by the corresponding distribution servers 102, 104, and 106, the distribution server distribution service routine shown in FIG. 7 is started. In the figure, when the processing proceeds to step SP244, the domain name of the client computer that has output the distribution service start request is supplied to the dynamic DNS server 150 in order to resolve the name. As described above, in the server 150, if the name resolution is successful, the IP address is returned to the requesting distribution server, and if the name resolution is not successful, a packet indicating that is returned to the distribution server. Is done.
[0022]
Next, when the process proceeds to step SP246, it is determined based on the packet returned from the server 150 whether or not the name resolution is successful. If the name resolution is successful, “YES” is determined, and the process proceeds to step SP248. Here, content such as a moving image is distributed to the IP address obtained by name resolution. Next, when the process proceeds to step SP250, it is determined whether a distribution service stop request has been received from the client computer. If "NO" is determined here, the process returns to step SP244, and the processes in steps SP244 to SP250 are repeated unless the name resolution is successful and the distribution service stop request is not received.
[0023]
Then, when a distribution service stop request is supplied from the client computer or when the name resolution fails, the process proceeds to step SP252 via step SP246 or SP250. Here, the distribution service in the distribution server is stopped, and the processing of this routine ends. As described above, the distribution server of the present embodiment is characterized in that name resolution is repeatedly performed for the same domain name during the distribution service. Thus, even if the IP address of the client computer is changed during distribution of the content, the distribution service can be continued following the result of the change.
[0024]
In other words, from the viewpoint of the client computer, when the connection to the Internet is once disconnected and the connection is made again, even if an IP address different from the last time is given, the user logs in to the distribution servers 102, 104 and 106. It is not necessary to perform an operation for requesting the restart of the distribution service, such as an operation, and the reception of the content can be restarted immediately.
[0025]
Further, in the present embodiment, it is easy to perform operations such as starting and stopping the distribution service from a computer other than the client computer receiving the distribution service. This is because, while the global IP address of the client computer receiving the distribution service is changed every time the connection is made, the domain name is permanently fixed, so various settings are made by designating this domain name. Because you can do it.
[0026]
Further, in the present embodiment, when the user of each client computer makes a distribution contract with a content distributor, only the domain name for receiving the content need be notified to the distributor. Thus, individual user IDs and passwords can be managed only in the dynamic DNS server 150, and management of user IDs and passwords in the individual distribution servers 102, 104, and 106 can be omitted. This simplifies processes such as authentication in the distribution server, and saves resources of the distribution server.
[0027]
In other words, this means that the user can unify secret information such as a password on the user side. Further, the password and the like are information exchanged only between the client computer and the dynamic DNS server 150. By using a dynamic DNS server operated by the ISP or existing in the same ISP network, A feature of the present embodiment is that a password or the like can be prevented from leaking to the Internet 100. By preventing the password from leaking onto the Internet 100, extremely high security can be ensured without encrypting the packet including the password and the like. As described above, according to the present embodiment, it is possible to realize a content distribution system with high security and convenience by using an inexpensive dynamic IP service instead of an expensive fixed IP service.
[0028]
3. Modifications The present invention is not limited to the above-described embodiment, and various modifications are possible as follows, for example.
(1) In the above embodiment, the information distribution method of the present invention is realized by a program operating on the distribution server. However, only this program is stored in a recording medium such as a CD-ROM or a flexible disk and distributed. They can also be distributed via transmission channels.
[0029]
(2) In the distribution server distribution service routine of the above embodiment (FIG. 7), the name resolution (SP244) is executed each time the loop of steps SP244 to SP259 is repeated. However, instead of this, it is checked whether or not the content can be distributed by the IP address currently known by the distribution server, and if the content can be distributed, the content is distributed, and if the content cannot be distributed, the content is distributed. The IP address that can be distributed may be acquired again.
[0030]
As an example, it is conceivable that a confirmation request packet is transmitted from the distribution server to the client every predetermined period, and the client that has received the confirmation request sets a protocol so as to return an acknowledgment packet to the distribution server. In the distribution server, as long as the acknowledgment packet is continuously received, the content may be continuously distributed to the previous IP address. On the other hand, if the acknowledgment packet cannot be received by the distribution server, it is highly likely that the IP address of the client computer has been changed. In such a case, the domain name of the client computer is transmitted to the dynamic DNS server 150 to resolve the name. May be executed, and the distribution of the content may be continued to the new IP address obtained as a result.
[0031]
【The invention's effect】
As described above, according to the present invention, the distribution server repeatedly executes name resolution during information distribution, or repeatedly determines whether information distribution is possible to the client computer, and determines whether distribution is impossible. Since name resolution is performed when possible, even when the IP address of the client computer is changed, information distribution can be continued without performing re-authentication or the like.
[Brief description of the drawings]
FIG. 1 is a block diagram of a network system according to an embodiment of the present invention.
FIG. 2 is a flowchart of a distribution service request routine.
FIG. 3 is a flowchart of a network connection routine.
FIG. 4 is a flowchart of a DNS registration routine.
FIG. 5 is a flowchart of a DNS server domain name registration routine.
FIG. 6 is a flowchart of a name resolution routine.
FIG. 7 is a flowchart of a distribution server distribution service routine.
[Explanation of symbols]
100: Internet, 108: ISP server, 150: Dynamic DNS server, 200: LAN, 202: Router, 102, 104, 106: Distribution server, 204, 206, 208: Personal computer.

Claims (4)

接続される毎にIPアドレスが変化し得るクライアントコンピュータと、前記クライアントコンピュータに対して前記IPアドレスと所定のドメイン名とを対応付けて記憶するDNSサーバとが接続されるネットワークに設けられ、前記クライアントコンピュータに対して情報を配信する配信サーバにおいて実行される情報配信方法において、
前記DNSサーバに対して前記ドメイン名を通知することにより、前記DNSサーバからIPアドレスを受信する過程と、
この受信したIPアドレスを用いて前記クライアントコンピュータに対して情報を配信する過程と
を情報の配信中に繰り返し実行することを特徴とする情報配信方法。
A client computer provided with a client computer whose IP address can change each time it is connected, and a DNS server for storing the client computer in association with the IP address and a predetermined domain name, In an information distribution method executed in a distribution server that distributes information to a computer,
Receiving the IP address from the DNS server by notifying the DNS server of the domain name;
And distributing information to the client computer using the received IP address during the information distribution.
接続される毎にIPアドレスが変化し得るクライアントコンピュータと、前記クライアントコンピュータに対して前記IPアドレスと所定のドメイン名とを対応付けて記憶するDNSサーバとが接続されるネットワークに設けられ、前記クライアントコンピュータに対して情報を配信する配信サーバにおいて実行される情報配信方法において、
前記DNSサーバから受信した一のIPアドレスを用いた場合に前記クライアントコンピュータに対して情報の配信が可能であるか否かを判定する判定過程と、
前記判定過程において情報の配信が不可能であると判定された場合に、前記DNSサーバに対して前記ドメイン名を通知することにより、前記DNSサーバから新たなIPアドレスを受信する過程と、
前記一のIPアドレスに代えて、前記新たなIPアドレスを用いて前記クライアントコンピュータに対して情報を配信する過程と
を情報の配信中に繰り返し実行することを特徴とする情報配信方法。
A client computer provided with a client computer whose IP address can change each time it is connected, and a DNS server for storing the client computer in association with the IP address and a predetermined domain name, In an information distribution method executed in a distribution server that distributes information to a computer,
A judging step of judging whether or not information can be distributed to the client computer when one IP address received from the DNS server is used;
A step of receiving a new IP address from the DNS server by notifying the DNS server of the domain name when it is determined that distribution of information is impossible in the determination step;
And distributing the information to the client computer using the new IP address instead of the one IP address, during the distribution of the information.
請求項1または2の何れかに記載の情報配信方法を実行することを特徴とする配信サーバ。A distribution server that executes the information distribution method according to claim 1. 請求項1または2の何れかに記載の情報配信方法を実行することを特徴とするプログラム。A program for executing the information distribution method according to claim 1.
JP2002260013A 2002-09-05 2002-09-05 Information distribution method, distribution server, and program Pending JP2004102410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002260013A JP2004102410A (en) 2002-09-05 2002-09-05 Information distribution method, distribution server, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002260013A JP2004102410A (en) 2002-09-05 2002-09-05 Information distribution method, distribution server, and program

Publications (1)

Publication Number Publication Date
JP2004102410A true JP2004102410A (en) 2004-04-02

Family

ID=32260855

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002260013A Pending JP2004102410A (en) 2002-09-05 2002-09-05 Information distribution method, distribution server, and program

Country Status (1)

Country Link
JP (1) JP2004102410A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218463A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd License management system, image processing apparatus, information processing apparatus, license management method, and license management program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218463A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd License management system, image processing apparatus, information processing apparatus, license management method, and license management program

Similar Documents

Publication Publication Date Title
US11695744B2 (en) Using credentials stored in different directories to access a common endpoint
RU2417422C2 (en) Single network login distributed service
US9762568B2 (en) Consolidated authentication
US10623272B2 (en) Authenticating connections and program identity in a messaging system
US7266837B2 (en) Authentication, authorization, and accounting (AAA) server
US7082532B1 (en) Method and system for providing distributed web server authentication
US6895511B1 (en) Method and apparatus providing for internet protocol address authentication
US7406524B2 (en) Secret session supporting load balancer
US8136144B2 (en) Apparatus and method for controlling communication through firewall, and computer program product
US20120284786A1 (en) System and method for providing access credentials
WO2021114934A1 (en) Cluster key acquisition method and device for trusted computing cluster
EP2548333A2 (en) Pluggable token provider model to implement authentication across multiple web services
US20070277236A1 (en) Secured communication channel between IT administrators using network management software as the basis to manage networks
US10263789B1 (en) Auto-generation of security certificate
CN112367666B (en) Method, device and system for allowing pNF in 5G core network to pass NRF authentication cNF
JP2022528711A (en) Destination addressing associated with the distributed ledger
US20180034633A1 (en) Cryptographic material sharing among entities with no direct trust relationship or connectivity
EP1039724A2 (en) Method and apparatus providing for internet protocol address authentication
US7640580B1 (en) Method and apparatus for accessing a computer behind a firewall
JP2004102410A (en) Information distribution method, distribution server, and program
JP2003304234A (en) Communication method and device for web service utilization and cooperation method for web service utilization
JP2002328899A (en) Server/client user authentication system, user authentication method, client device, server device, computer readable recording medium having program recorded thereon and program
JP2002245009A (en) Work group network constituting method using access limiting technology in web server

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060908

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070306