JP2006285387A - Content delivery server, content delivery method, and content delivery program - Google Patents
Content delivery server, content delivery method, and content delivery program Download PDFInfo
- Publication number
- JP2006285387A JP2006285387A JP2005101333A JP2005101333A JP2006285387A JP 2006285387 A JP2006285387 A JP 2006285387A JP 2005101333 A JP2005101333 A JP 2005101333A JP 2005101333 A JP2005101333 A JP 2005101333A JP 2006285387 A JP2006285387 A JP 2006285387A
- Authority
- JP
- Japan
- Prior art keywords
- content
- terminal
- information
- distribution
- receiving 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
Description
本発明は、コンテンツの配信要求を行ったコンテンツ受信端末に対して当該コンテンツを蓄積しているコンテンツ受信端末を通知するコンテンツ配信サーバ、コンテンツ配信方法、およびコンテンツ配信プログラムに関する。 The present invention relates to a content distribution server, a content distribution method, and a content distribution program that notify a content receiving terminal that has made a content distribution request to the content receiving terminal that has accumulated the content.
コンテンツの配信要求を行ったコンテンツ受信端末に対してコンテンツを配信する形態として、コンテンツ配信サーバから配信要求元のコンテンツ受信端末に対してコンテンツを配信する形態、コンテンツ受信端末間においてコンテンツを再配信する形態などが実用化され或いは提案されている。 As a form of distributing contents to a content receiving terminal that has requested distribution of contents, a form of distributing contents from a content distribution server to a content receiving terminal that is a distribution request source, and redistributing contents between content receiving terminals Forms have been put to practical use or proposed.
例えば、コンテンツを蓄積しているコンテンツ受信端末の情報を保持するコンテンツ配信サーバがネットワーク上に存在し、コンテンツ配信サーバは配信要求されたコンテンツを蓄積しているコンテンツ受信端末の検索を行う。そして、コンテンツ配信サーバは、コンテンツの配信要求元のコンテンツ受信端末に対して、検索の結果見つかったコンテンツ受信端末を通知する。そして、配信要求元のコンテンツ受信端末は、通知されたコンテンツ受信端末に対してコンテンツの配信要求を行い、これにより配信要求元のコンテンツ受信端末にコンテンツが配信される。
従来のコンテンツ配信システムにおいて、コンテンツ配信サーバはコンテンツを蓄積しているコンテンツ受信端末の情報を保持しているが、コンテンツ受信端末のネットワーク上の位置の情報やコンテンツ受信端末の配信状態の情報(例えば、待機中、配信中)などを保持していなかった。このため、配信要求元のコンテンツ受信端末はネットワーク上の最も配信に適したコンテンツ受信端末からコンテンツの再配信を受けるといった効率的なコンテンツの再配信を行うことができなかった。 In a conventional content distribution system, a content distribution server holds information on a content receiving terminal that stores content, but information on a location of the content receiving terminal on the network and information on a distribution state of the content receiving terminal (for example, , Standby, delivery) etc. did not hold. For this reason, the content receiving terminal as the distribution request source cannot efficiently redistribute content such as receiving content redistribution from the content receiving terminal most suitable for distribution on the network.
そこで、本発明は、コンテンツ受信端末間におけるコンテンツの再配信を効率的に行うことを可能にするコンテンツ配信サーバ、コンテンツ配信方法、およびコンテンツ配信プログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide a content distribution server, a content distribution method, and a content distribution program that enable efficient redistribution of content between content receiving terminals.
本発明のコンテンツ配信サーバは、コンテンツを蓄積する複数のコンテンツ受信端末にネットワークを介して接続されたコンテンツ配信サーバにおいて、各前記コンテンツ受信端末についてコンテンツ受信端末を示す端末情報と当該コンテンツ受信端末のネットワークに接続される設置位置を示す設置位置情報とを対応付けて記憶する端末情報記憶手段と、コンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とを対応付けて記憶する蓄積端末情報記憶手段と、前記コンテンツ受信端末から受信するコンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記蓄積端末情報記憶手段に記憶されている各端末情報を取り出す蓄積端末取出手段と、前記蓄積端末取出手段により取り出された端末情報の夫々について端末情報に対応付けて前記端末情報記憶手段に記憶されている設置位置情報を取り出す設置位置情報取出手段と、前記配信要求を行ったコンテンツ受信端末の設置位置情報と前記設置位置情報取出手段により取り出される各前記設置位置情報とを利用して、前記蓄積端末取出手段により端末情報が取り出されたコンテンツ受信端末の中から前記配信要求を行ったコンテンツ受信端末の設置位置に対して最短の設置位置にあるコンテンツ受信端末を検出して最適配信端末とする最適配信端末検出手段と、前記最適配信端末検出手段により最適配信端末として検出されるコンテンツ受信端末の端末情報を前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信する端末情報送信手段と、を備えたものである。 The content distribution server of the present invention is a content distribution server connected via a network to a plurality of content reception terminals that store content, and terminal information indicating the content reception terminal for each content reception terminal and the network of the content reception terminal Terminal information storage means for associating and storing the installation position information indicating the installation position connected to the terminal, content identification information for identifying the content, and terminal information indicating the content receiving terminal storing the content Storage terminal information storage means for storing in association with each other, and storage for retrieving each terminal information stored in the storage terminal information storage means in association with content identification information included in a content distribution request received from the content receiving terminal Terminal take-out means and storage terminal take-out means Installation position information extraction means for extracting the installation position information stored in the terminal information storage means in association with the terminal information for each of the terminal information extracted, and the installation position information of the content receiving terminal that has made the distribution request Of the content receiving terminal that has made the distribution request from among the content receiving terminals from which the terminal information has been extracted by the storage terminal extracting means, using the setting position information extracted by the installation position information extracting means Optimal distribution terminal detecting means for detecting the content receiving terminal at the shortest installation position relative to the position and making it the optimal distribution terminal, and terminal information of the content receiving terminal detected as the optimal distribution terminal by the optimal distribution terminal detecting means Terminal information transmitting means for transmitting to the content receiving terminal that made the content distribution request; Those were example.
上記コンテンツ配信サーバにおいて、前記端末情報記憶手段は、前記コンテンツ受信端末を示す端末情報に当該コンテンツ受信端末が接続されているネットワークの回線速度を対応づけてさらに記憶しており、前記最適配信端末検出手段は、検出したコンテンツ受信端末の数が複数の場合検出した複数の各コンテンツ受信端末について当該コンテンツ受信端末の端末情報に対応付けて前記端末情報記憶手段に記憶されている回線速度を取り出し、取り出した回線速度が最大のコンテンツ受信端末を最適配信端末とするものである。 In the content distribution server, the terminal information storage means further stores the terminal information indicating the content receiving terminal in association with the line speed of the network to which the content receiving terminal is connected, and detects the optimum distribution terminal The means extracts and extracts the line speed stored in the terminal information storage means in association with the terminal information of the content receiving terminal for each of the detected content receiving terminals when the number of detected content receiving terminals is plural. The content receiving terminal with the maximum line speed is the optimum distribution terminal.
上記コンテンツ配信サーバにおいて、前記蓄積端末情報記憶手段は、さらにコンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とに対応付けて当該コンテンツ受信端末がコンテンツの送受信中であるか否かを示す配信状態情報を記憶しており、前記蓄積端末取出手段により取り出された端末情報の夫々について前記蓄積端末情報記憶手段に記憶されている配信状態情報がコンテンツの送受信中でないことを示しているか否かを判断する配信状態判断手段をさらに備え、前記最適配信端末検出手段は、前記配信状態判断手段により前記配信状態情報がコンテンツの送受信中でないことを示していると判断された端末情報のコンテンツ受信端末を検出対象とするものである。 In the content distribution server, the storage terminal information storage means further associates content identification information for identifying the content with terminal information indicating the content reception terminal storing the content, and the content reception terminal stores the content. Distribution status information indicating whether or not the transmission / reception is being transmitted / received, and the distribution status information stored in the storage terminal information storage means for each of the terminal information extracted by the storage terminal extraction means It further includes a distribution state determination unit that determines whether or not it indicates that transmission / reception is not being performed, and the optimum distribution terminal detection unit indicates that the distribution state information is not being transmitted / received by the distribution state determination unit. The content receiving terminal of the terminal information determined to be the detection target.
上記コンテンツ配信サーバにおいて、前記蓄積端末情報記憶手段は、さらにコンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とに対応付けて当該コンテンツ受信端末に蓄積されている当該コンテンツの利用が可能か否かを示す利用可否情報を記憶しており、前記蓄積端末取出手段により取り出された端末情報の夫々について前記蓄積端末情報記憶手段に記憶されている利用可否情報がコンテンツの利用が可能であることを示しているか否かを判断する利用可否判断手段をさらに備え、前記最適配信端末検出手段は、前記利用可否判断手段により前記利用可否情報がコンテンツの利用が可能であることを示していると判断された端末情報のコンテンツ受信端末を検出対象とするものである。 In the content distribution server, the storage terminal information storage means stores the content identification information for identifying the content in association with terminal information indicating the content reception terminal storing the content in the content reception terminal. Is stored in the storage terminal information storage unit for each piece of terminal information extracted by the storage terminal extraction unit. The information processing apparatus further includes a use availability determination unit that determines whether or not the information indicates that the content can be used, and the optimum distribution terminal detection unit uses the content determination unit to determine whether the use availability information is used by the content. The content receiving terminal of the terminal information that has been determined to be possible is targeted for detection. It is intended.
上記コンテンツ配信サーバにおいて、前記端末情報送信手段は、前記最適配信端末検出手段により複数のコンテンツ受信端末が最適配信端末とされた場合最適配信端末とされた全てのコンテンツ受信端末の端末情報を送信するものである。 In the content distribution server, the terminal information transmitting unit transmits terminal information of all content receiving terminals that are determined as the optimal distribution terminals when the plurality of content receiving terminals are determined as the optimal distribution terminals by the optimal distribution terminal detection unit. Is.
上記コンテンツ配信サーバにおいて、コンテンツを識別するためのコンテンツ識別情報と当該コンテンツとを対応付けて記憶するコンテンツ記憶手段と、前記コンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて記憶されている端末情報が前記蓄積端末情報記憶手段にない場合に、当該コンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記コンテンツ記憶手段に記憶されているコンテンツを取り出すコンテンツ取出手段と、前記コンテンツ取出手段により取り出されたコンテンツを前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信するコンテンツ送信手段と、をさらに備えたものである。 In the content distribution server, content storage means for storing content identification information for identifying content and the content in association with each other, and a terminal stored in association with the content identification information included in the content distribution request When the information is not in the storage terminal information storage unit, the content extraction unit extracts the content stored in the content storage unit in association with the content identification information included in the content distribution request, and the content extraction unit Content transmission means for transmitting the extracted content to the content receiving terminal that has requested the distribution of the content is further provided.
上記コンテンツ配信サーバにおいて、前記コンテンツ受信端末が蓄積するコンテンツは暗号化されたものであって、コンテンツを識別するためのコンテンツ識別情報と当該コンテンツが暗号化された暗号化コンテンツを復号するための復号鍵とを対応付けて記憶する復号鍵記憶手段と、前記コンテンツ受信端末から受信する復号鍵要求に含まれるコンテンツ識別情報に対応付けて前記復号鍵記憶手段に記憶されている復号鍵を取り出す復号鍵取出手段と、前記復号鍵取出手段により取り出された復号鍵を前記復号鍵要求を行ったコンテンツ受信端末に対して送信する復号鍵送信手段と、をさらに備えたものである。 In the content distribution server, the content stored in the content receiving terminal is encrypted, and content identification information for identifying the content and decryption for decrypting the encrypted content in which the content is encrypted A decryption key storage means for storing the key in association with each other; and a decryption key for extracting the decryption key stored in the decryption key storage means in association with the content identification information included in the decryption key request received from the content receiving terminal. And a decryption key transmitting means for transmitting the decryption key extracted by the decryption key extracting means to the content receiving terminal that has issued the decryption key request.
本発明のコンテンツ配信方法は、コンテンツを蓄積する複数のコンテンツ受信端末にネットワークを介して接続されたコンテンツ配信サーバによって行われるコンテンツ配信方法において、コンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とを対応付けて記憶する蓄積端末情報記憶手段を照会して、前記コンテンツ受信端末から受信するコンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記蓄積端末情報記憶手段に記憶されている各端末情報を取り出す蓄積端末取出手順と、各前記コンテンツ受信端末についてコンテンツ受信端末を示す端末情報と当該コンテンツ受信端末のネットワークに接続される設置位置を示す設置位置情報とを対応付けて記憶する端末情報記憶手段を照会して、前記蓄積端末取出手順において取り出された端末情報の夫々について端末情報に対応付けて前記端末情報記憶手段に記憶されている設置位置情報を取り出す設置位置情報取出手順と、前記配信要求を行ったコンテンツ受信端末の設置位置情報と前記設置位置情報取出手順において取り出された各前記設置位置情報とを利用して、前記蓄積端末取出手順において端末情報が取り出されたコンテンツ受信端末の中から前記配信要求を行ったコンテンツ受信端末の設置位置に対して最短の設置位置にあるコンテンツ受信端末を検出して最適配信端末とする最適配信端末検出手順と、前記最適配信端末検出手順において最適配信端末として検出されたコンテンツ受信端末の端末情報を前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信する端末情報送信手順と、を有するものである。 The content distribution method of the present invention is a content distribution method performed by a content distribution server connected via a network to a plurality of content receiving terminals that store content, and stores content identification information for identifying the content and the content The storage terminal information storage means that stores the terminal information indicating the content receiving terminal that is associated with each other is inquired, and the storage is associated with the content identification information included in the content distribution request received from the content receiving terminal. Storage terminal extraction procedure for extracting each terminal information stored in the terminal information storage means, terminal information indicating the content receiving terminal for each content receiving terminal, and an installation position indicating an installation position connected to the network of the content receiving terminal Associate and store information An installation position information extraction procedure for inquiring the terminal information storage means and extracting the installation position information stored in the terminal information storage means in association with the terminal information for each of the terminal information extracted in the storage terminal extraction procedure; The content reception in which the terminal information is extracted in the storage terminal extraction procedure using the installation position information of the content receiving terminal that has made the distribution request and each of the installation position information extracted in the installation location information extraction procedure Optimal distribution terminal detection procedure for detecting the content receiving terminal at the shortest installation position with respect to the installation position of the content receiving terminal that has made the distribution request from the terminals, and making the optimal distribution terminal, and the optimal distribution terminal detection procedure Requested delivery of the content of the content receiving terminal detected as the optimal delivery terminal A terminal information transmitting step of transmitting relative content receiving terminal, and has a.
本発明のコンテンツ配信プログラムは、コンテンツを蓄積する複数のコンテンツ受信端末にネットワークを介して接続されたコンテンツ配信サーバとしてのコンピュータに、コンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とを対応付けて記憶する蓄積端末情報記憶手段を照会して、前記コンテンツ受信端末から受信するコンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記蓄積端末情報記憶手段に記憶されている各端末情報を取り出す蓄積端末取出手順と、各前記コンテンツ受信端末についてコンテンツ受信端末を示す端末情報と当該コンテンツ受信端末のネットワークに接続される設置位置を示す設置位置情報とを対応付けて記憶する端末情報記憶手段を照会して、前記蓄積端末取出手順において取り出された端末情報の夫々について端末情報に対応付けて前記端末情報記憶手段に記憶されている設置位置情報を取り出す設置位置情報取出手順と、前記配信要求を行ったコンテンツ受信端末の設置位置情報と前記設置位置情報取出手順において取り出された各前記設置位置情報とを利用して、前記蓄積端末取出手順において端末情報が取り出されたコンテンツ受信端末の中から前記配信要求を行ったコンテンツ受信端末の設置位置に対して最短の設置位置にあるコンテンツ受信端末を検出して最適配信端末とする最適配信端末検出手順と、前記最適配信端末検出手順において最適配信端末として検出されたコンテンツ受信端末の端末情報を前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信する端末情報送信手順と、を実行させるものである。 The content distribution program of the present invention stores content identification information for identifying content and the content in a computer as a content distribution server connected via a network to a plurality of content receiving terminals that store the content. The storage terminal information storage means that stores the terminal information indicating the content receiving terminal in association with the storage terminal information is stored, and the storage terminal information storage is stored in association with the content identification information included in the content distribution request received from the content receiving terminal. Storage terminal extraction procedure for retrieving each terminal information stored in the means, terminal information indicating the content receiving terminal for each content receiving terminal, and installation position information indicating an installation position connected to the network of the content receiving terminal Terminal information storage hand that stores in association The installation position information extraction procedure for extracting the installation position information stored in the terminal information storage means in association with the terminal information for each of the terminal information extracted in the storage terminal extraction procedure, and the distribution request The content receiving terminal from which the terminal information was extracted in the storage terminal extraction procedure using the installation position information of the content receiving terminal that has performed and each of the installation position information extracted in the installation position information extraction procedure An optimal distribution terminal detection procedure that detects a content reception terminal at the shortest installation position with respect to an installation position of the content reception terminal that has made the distribution request to make an optimal distribution terminal, and an optimal distribution terminal in the optimal distribution terminal detection procedure Content reception requesting distribution of the content with terminal information of the content receiving terminal detected as It is intended to execute, a terminal information transmitting step of transmitting relative end.
本発明によれば、コンテンツ受信端末の夫々のネットワークに接続されている設置位置を記憶し、配信要求を行ったコンテンツ受信端末の設置位置と配信要求のあったコンテンツを蓄積している各コンテンツ受信端末の設置位置とを利用して、配信要求のあったコンテンツを蓄積している複数のコンテンツ受信端末の中から配信要求を行ったコンテンツ受信端末に通知するコンテンツ受信端末を決定するため、コンテンツ受信端末間におけるコンテンツの再配信を効率的に行うことが可能になる。 According to the present invention, the installation positions of the content receiving terminals connected to the respective networks are stored, and the respective content receptions that store the installation positions of the content receiving terminals that have made distribution requests and the contents that have been requested for distribution are stored. The content receiving terminal is used to determine the content receiving terminal to be notified to the content receiving terminal that has made the distribution request from among the plurality of content receiving terminals that have accumulated the content requested to be distributed using the location of the terminal. It becomes possible to efficiently redistribute content between terminals.
以下、本発明の好適な実施の形態について図面を参照しつつ説明する。
まず、本発明の実施の形態におけるコンテンツ配信システムのシステム構成について図1を参照しつつ説明する。図1は本実施の形態におけるコンテンツ配信システムのシステム構成図である。ただし、本実施の形態においては、設置位置情報としてコンテンツ受信端末が接続されているルータのルータ名とし、コンテンツ受信端末に対して最短のコンテンツ受信端末はデータ通信の際に経由するルータの数が最も少ないものとする。なお、設置位置情報として設置されている住所(設置場所)として、コンテンツ受信端末に対して最短のコンテンツ受信端末は設置場所間の実際の距離が最も近いものとする、など様々な形態が考えられる。
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
First, the system configuration of the content distribution system in the embodiment of the present invention will be described with reference to FIG. FIG. 1 is a system configuration diagram of a content distribution system according to the present embodiment. However, in this embodiment, the router name of the router to which the content receiving terminal is connected is set as the installation position information, and the shortest content receiving terminal with respect to the content receiving terminal has the number of routers through which data communication is performed. The least. Various forms are conceivable, such as the shortest content receiving terminal with respect to the content receiving terminal as the address (installation location) set as the installation position information, such that the actual distance between the installation locations is the shortest. .
図1に示すコンテンツ配信システム1は、コンテンツ配信サーバ2と複数のコンテンツ受信端末(図においては4台のコンテンツ受信端末3a、3b、3c、3dのみ図示)とを有している。コンテンツ配信サーバ2とコンテンツ受信端末3a〜3dとは、夫々、ネットワーク4に接続されており、これにより、コンテンツ配信サーバ2とコンテンツ受信端末3a〜3dとの間のデータ送受信、コンテンツ受信端末3a〜3d間のデータ送受信が行われる。
A content distribution system 1 shown in FIG. 1 includes a
次に、図1のネットワークの構成例について図2を参照しつつ説明する。図2はネットワークの構成例を示す図である。
図2に示すように、ネットワーク4は複数のネットワーク構成機器であるルータ(図においては9台のルータ4a〜4iのみ図示)によって構成されている。図2に示すネットワークの構成例において、コンテンツ受信端末3aとコンテンツ受信端末3bとの間のルータの経由数は3(ルータ4d、4b、4f)である。また、コンテンツ受信端末3aとコンテンツ受信端末3dとの間のルータの経由数は5(ルータ4d、4b、4a、4c、4i)である。
Next, a configuration example of the network in FIG. 1 will be described with reference to FIG. FIG. 2 is a diagram illustrating a configuration example of a network.
As shown in FIG. 2, the network 4 is constituted by a plurality of routers (only nine
ここで、コンテンツ配信システム1におけるコンテンツの再配信(コンテンツ受信端末から他のコンテンツ受信端末へのコンテンツの配信)の概要について図1および図2を利用して説明する。 Here, an outline of content redistribution (content distribution from a content receiving terminal to another content receiving terminal) in the content distribution system 1 will be described with reference to FIGS. 1 and 2.
一の例として、コンテンツ受信端末3aがコンテンツの配信を要求するものとし、この要求されたコンテンツを蓄積しているコンテンツ受信端末としてコンテンツ受信端末3b、3dとがあるものとする。なお、コンテンツ受信端末3b、3dはともに配信可能である(他のコンテンツ受信端末との間でコンテンツの再配信をしておらず、コンテンツの保持期間を経過していない)とする。
As an example, it is assumed that the content receiving terminal 3a requests content distribution, and the content receiving
コンテンツ受信端末3aがコンテンツ配信サーバに対してコンテンツの配信要求を行う。コンテンツ配信サーバ2は、複数のコンテンツ受信端末から配信要求のあったコンテンツを蓄積しているコンテンツ受信端末3b、3dを探し出す。そして、コンテンツ受信端末3b、3dはコンテンツを配信可能であり、配信要求のあったコンテンツを蓄積しているコンテンツ受信端末が2台あるので、コンテンツ配信サーバ2は、コンテンツ受信端末3aとコンテンツ受信端末3bとの間のルータの経由数「3」を検出し、コンテンツ受信端末3aとコンテンツ受信端末3dとの間のルータの経由数「5」を検出する。そして、コンテンツ配信サーバ2は、ルータの経由数が少ない方のコンテンツ受信端末3bを最適配信端末とし、コンテンツ受信端末3bをコンテンツ受信端末3aに通知する。コンテンツ受信端末3aはコンテンツ配信サーバ2から通知されたコンテンツ受信端末3bに対してコンテンツの配信要求を行い、コンテンツ受信端末3bからコンテンツ受信端末3aへコンテンツの再配信が行われる。
The
他の例として、コンテンツ受信端末3aがコンテンツの配信を要求するものとし、この要求されたコンテンツを蓄積しているコンテンツ受信端末としてコンテンツ受信端末3b、3cとがあり、コンテンツ受信端末3bの回線速度がコンテンツ受信端末3cの回線速度より速いものとする。なお、コンテンツ受信端末3b、3cはともに配信可能であるとする。
As another example, it is assumed that the content receiving terminal 3a requests distribution of content, and there are
コンテンツ受信端末3aがコンテンツ配信サーバに対してコンテンツの配信要求を行う。コンテンツ配信サーバ2は、複数のコンテンツ受信端末から配信要求のあったコンテンツを蓄積しているコンテンツ受信端末3b、3cを探し出す。そして、コンテンツ受信端末3b、3cはコンテンツを配信可能であり、配信要求のあったコンテンツを蓄積しているコンテンツ受信端末が2台あるので、コンテンツ配信サーバ2は、コンテンツ受信端末3aとコンテンツ受信端末3bとの間のルータの経由数「3」を検出し、コンテンツ受信端末3aとコンテンツ受信端末3cとの間のルータの経由数「3」を検出し、ルータの経由数が同じである。さらに、コンテンツ配信サーバ2は、コンテンツ受信端末3bとコンテンツ受信端末3cとの回線速度を比較し、回線速度の速いコンテンツ受信端末3bを最適配信端末とし、コンテンツ受信端末3aに通知する。コンテンツ受信端末3aはコンテンツ配信サーバ2から通知されたコンテンツ受信端末3bに対してコンテンツの配信要求を行い、コンテンツ受信端末3bからコンテンツ受信端末3aへコンテンツの再配信が行われる。
The
なお、コンテンツ受信端末3aがコンテンツ配信サーバ2に対して配信要求をしたコンテンツを蓄積しているコンテンツ受信端末がない場合にはコンテンツ配信サーバ2がコンテンツ受信端末3aへコンテンツの配信を行う。
If there is no content receiving terminal that stores the content requested by the content receiving terminal 3a to the
次に、図1および図2に示したコンテンツ配信システム1を構成するコンテンツ配信サーバ2の機能構成について図3を参照しつつ説明する。図3はコンテンツ配信サーバ2の機能構成を示す機能ブロック図である。
図3に示すコンテンツ配信サーバ2は、コンテンツ記憶部201、ネットワーク構成記憶部202、端末情報記憶部203、蓄積端末情報記憶部204、配信要求受信部205、蓄積端末情報削除部206、蓄積端末情報取出部(蓄積端末取出手段)207、配信状態判断部208、利用可否判断部209、最適配信端末検出部210、端末情報送信部211、コンテンツ取出部212、コンテンツ送信部213、再配信情報受信部214、第1配信状態変更部215、再配信完了情報受信部216、第2配信状態変更部217、および蓄積端末情報追加部218として機能する各部を有している。
Next, the functional configuration of the
The
コンテンツ記憶部201は、コンテンツに一意に割り振られたコンテンツを識別するためのコンテンツ識別情報(コンテンツID)に対応付けてコンテンツを記憶する記憶装置である。
ネットワーク構成記憶部202は、例えば図2に概略を示すネットワークの構成、つまり、ネットワークを構成するルータの接続関係を記憶する記憶装置である。
The
The network
端末情報記憶部203は、コンテンツ受信端末毎にコンテンツ受信端末の端末位置情報としてのIPアドレス(端末情報に相当)、コンテンツ受信端末が接続されているルータのルータ名(設置位置情報に相当)、コンテンツ受信端末が接続されている回線の回線速度を記憶する記憶装置である。その一例が図4に示されている。
図4は図3の端末情報記憶部203の記憶内容の一例を示す図である。図4に一例を示す端末情報記憶部203のテーブルには、フィールドとして「端末ID」、「端末位置情報」、「接続ルータ名」、および「回線速度」がある。
フィールド「端末ID」には、コンテンツ受信端末に一意に払い出されたコンテンツ受信端末を識別するための端末識別子(端末ID)が格納される。フィールド「端末位置情報」には、対応するフィールド「端末ID」のコンテンツ受信端末のIPアドレスが格納される。フィールド「接続ルータ名」には、対応するフィールド「端末ID」のコンテンツ受信端末が接続されているルータのルータ名が格納される。フィールド「回線速度」には、対応するフィールド「端末ID」のコンテンツ受信端末が接続されている回線の回線速度が格納される。
なお、コンテンツ配信サーバ2がコンテンツ受信端末3a〜3dから登録情報(IPアドレス、ルータ名、回線速度)を受信した場合に、端末IDが払いだされ、払い出された端末IDと受信した登録情報(IPアドレス、ルータ名、回線速度)とが端末情報記憶部203に格納される。
The terminal
FIG. 4 is a diagram showing an example of the contents stored in the terminal
The field “terminal ID” stores a terminal identifier (terminal ID) for identifying a content receiving terminal that has been uniquely assigned to the content receiving terminal. The field “terminal position information” stores the IP address of the content receiving terminal of the corresponding field “terminal ID”. The field “connected router name” stores the name of the router to which the content receiving terminal of the corresponding field “terminal ID” is connected. The field “line speed” stores the line speed of the line to which the content receiving terminal of the corresponding field “terminal ID” is connected.
When the
蓄積端末情報記憶部204は、コンテンツを蓄積しているコンテンツ受信端末の端末位置情報としてのIPアドレス(端末情報に相当)、コンテンツ受信端末がコンテンツを蓄積している期間を示すコンテンツ保持期間(コンテンツ保持期間内のみコンテンツの利用が可能;利用可否情報に相当)、コンテンツ受信端末がコンテンツの送受信中であるか否かを示す配信状態情報を記憶する記憶装置である。その一例が図5に示されている。
図5は図3の蓄積端末情報記憶部204の記憶内容の一例を示す図である。図5に一例を示すコンテンツ蓄積情報記憶部204のテーブルには、フィールドとして「コンテンツID」、「端末位置情報」、「コンテンツ保持期間」、および「配信状態」とがある。
フィールド「コンテンツID」には、コンテンツIDが格納される。フィールド「端末位置情報」には、対応するフィールド「コンテンツID」のコンテンツを蓄積しているコンテンツ受信端末のIPアドレスが格納される。フィールド「コンテンツ保持期間」には、対応するフィールド「端末位置情報」のコンテンツ受信端末が対応するフィールド「コンテンツID」のコンテンツを蓄積している最終年月日(コンテンツ保持期間)が格納される。フィールド「配信状態」には、対応するフィールド「端末位置情報」のコンテンツ受信端末がコンテンツの送受信中であるか否かを示す配信状態情報が格納され、格納される配信状態情報はコンテンツの送受信中であれば「配信中」、コンテンツの送受信中でなければ「待機中」である。
The storage terminal
FIG. 5 is a diagram showing an example of the stored contents of the storage terminal
The field “content ID” stores the content ID. The field “terminal location information” stores the IP address of the content receiving terminal that stores the content of the corresponding field “content ID”. In the field “content retention period”, the last date (content retention period) in which the content receiving terminal of the corresponding field “terminal position information” accumulates the content of the corresponding field “content ID” is stored. The field “distribution status” stores distribution status information indicating whether or not the content receiving terminal in the corresponding field “terminal location information” is transmitting / receiving content, and the stored distribution status information is being transmitted / received. If it is, “Distributing”, and if it is not transmitting / receiving content, “Waiting”.
配信要求受信部205は、コンテンツ受信端末3a〜3dからコンテンツの配信要求を受信し、受信したコンテンツの配信要求を蓄積端末情報削除部206へ出力する。コンテンツ配信サーバ2がコンテンツ受信端末3a〜3dから受信するコンテンツの配信要求として、最初のコンテンツの配信要求、および2回目以降のコンテンツの配信要求(コンテンツ受信端末がIPアドレスが通知された他のコンテンツ受信端末からコンテンツのデータ全てを受信できなかった場合の配信要求)があり、両者のデータ構造は同じであるとする。
The distribution
配信要求には、配信要求元のコンテンツ受信端末のIPアドレス(配信要求元IPアドレス)、配信希望のコンテンツのコンテンツID、コンテンツの配信を受けることができなかったコンテンツ受信端末のIPアドレス(以下、不可IPアドレスという。)、およびこれまでに蓄積できたコンテンツのデータサイズ(以下、蓄積データサイズという。)が含まれている。最初のコンテンツの配信要求の場合には不可IPアドレスは「ブランク」になっている。また、最初のコンテンツの配信要求の場合には蓄積データサイズは「0」となっており、2回目以降のコンテンツの配信要求の場合であってもそれまでに全くコンテンツの蓄積ができなかった場合にも蓄積データサイズは「0」となる。 The distribution request includes an IP address (distribution request source IP address) of the content receiving terminal that is the distribution request source, a content ID of the content desired to be distributed, and an IP address of the content receiving terminal that could not receive the content distribution (hereinafter, And an unacceptable IP address) and the data size of the content that could be accumulated so far (hereinafter referred to as the accumulated data size). In the case of the first content distribution request, the impossible IP address is “blank”. In addition, in the case of the first content distribution request, the accumulated data size is “0”, and even in the case of the second and subsequent content distribution requests, the content could not be accumulated at all until then. In addition, the accumulated data size is “0”.
蓄積端末情報削除部206は、配信要求受信部205から入力されるコンテンツの配信要求に含まれる不可IPアドレスが「ブランク」であるか否かを判断する。蓄積端末情報削除部206は、「ブランク」でなければ蓄積端末情報記憶部204内をIPアドレスをキーとしてコンテンツの配信要求に含まれる不可IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索し、検索の結果見つかったレコードに記憶されている情報を削除する。また、蓄積端末情報削除部206は、配信要求受信部205から入力されるコンテンツの配信要求に含まれる配信要求元IPアドレス、コンテンツID、および蓄積データサイズを蓄積端末情報取出部207へ出力する。
The storage terminal
蓄積端末情報取出部207は、配信要求に含まれるコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末を蓄積端末情報記憶部204内において検索し、検索の結果見つかったコンテンツ受信端末のIPアドレス、コンテンツ保持期間、および配信状態情報を蓄積端末情報記憶部204から取り出す。具体的には、蓄積端末情報取出部207は、蓄積端末情報記憶部204内をコンテンツIDをキーとして蓄積端末情報削除部206から入力されるコンテンツIDにフィールド「コンテンツID」の値が一致するレコードを検索する。そして、蓄積端末情報取出部207は、一致するレコードが見つかれば、検索の結果見つかった夫々のレコードからフィールド「端末位置情報」のIPアドレス、フィールド「コンテンツ保持期間」のコンテンツ保持期間、およびフィールド「配信状態」の配信状態情報を取り出す。なお、取り出したIPアドレスを蓄積済みIPアドレスという。そして、蓄積端末情報取出部207は、取り出した蓄積済みIPアドレス、コンテンツ保持期間、および配信状態情報の組、並びに蓄積端末情報削除部206から入力される配信要求元IPアドレス、コンテンツID、および蓄積データサイズを配信状態判断部208へ出力する。一方、蓄積端末情報取出部207は、一致するレコードが見つからなければ、蓄積端末情報削除部206から入力されるコンテンツIDおよび蓄積データサイズをコンテンツ取出部212へ出力する。
The storage terminal
配信状態判断部208は、配信要求に含まれるコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の配信状態情報を確認し、そのコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の中から配信状態情報の内容が「待機中」のコンテンツ受信端末をコンテンツの再配信元のコンテンツ受信端末の候補とするものである。具体的には、配信状態判断部208は、蓄積端末情報取出部207から入力される蓄積済みIPアドレス、コンテンツ保持期間、および配信状態情報の組の夫々について、配信状態情報が「待機中」であるか否かを判断する。そして、配信状態判断部208は、「待機中」のものがあれば、配信状態情報が「待機中」であった夫々の組の蓄積済みIPアドレス、およびコンテンツ保持期間の組、並びに、蓄積端末情報取出部207から入力される配信要求元IPアドレス、コンテンツID、および蓄積データサイズを利用可否判断部209へ出力する。一方、配信状態判断部208は、「待機中」のものがなければ、蓄積端末情報取出部207から入力されるコンテンツIDおよび蓄積データサイズをコンテンツ取出部212へ出力する。
The distribution
利用可否判断部209は、配信要求に含まれるコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末のコンテンツ保持期間を確認し、そのコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末の中からコンテンツ保持期間内のコンテンツ受信端末をコンテンツの再配信元のコンテンツ受信端末の候補とするものである。具体的には、利用可否判断部209は、配信状態判断部208から入力される蓄積済みIPアドレス、およびコンテンツ保持期間の組の夫々について、現在時刻がコンテンツ保持期間が示す最終年月日を経過していないか否か(保持期間内か否か)を判断する。そして、利用可否判断部209は、保持期間内のものが複数あれば、保持期間内であった夫々の組の蓄積済みIPアドレスを最適配信端末検出部210の端末情報取出部210aへ出力する。また、利用可否判断部209は、保持期間内のものが1つのみであれば、保持期間内であった組の蓄積済みIPアドレスを端末情報送信部211へ出力する。さらに、利用可否判断部209は、保持期間内のものがなければ、配信状態判断部208から入力されるコンテンツIDおよび蓄積データサイズをコンテンツ取出部212へ出力する。
The
最適配信端末検出部210は、端末情報取出部210a、最小経由数端末特定部210b、および最大回線速度端末特定部210cとして機能する各部を有している。
端末情報取出部210aは配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末を端末情報記憶部203内において検索し、検索の結果見つかったコンテンツ受信端末が接続されているルータのルータ名、および接続されている回線の回線速度を端末情報記憶部203から取り出す。また、端末情報取出部210aは配信要求を行ったコンテンツ受信端末が接続されているルータのルータ名を端末情報記憶部203から取り出す。具体的には、端末情報取出部210aは、利用可否判断部209から入力される夫々の蓄積済みIPアドレスについて、端末情報記憶部203内をIPアドレスをキーとして蓄積済みIPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索し、検索の結果見つかったレコードのフィールド「接続ルータ名」のルータ名とフィールド「回線速度」の回線速度とを取り出す。端末情報取出部210aは、蓄積済みIPアドレス、取り出したルータ名、および取り出した回線速度の組の夫々を最小経由数端末特定部210bへ出力する。また、端末情報取出部210aは、利用可否判断部209から入力される配信要求元IPアドレスについて、端末情報記憶部203内をIPアドレスをキーとして配信要求元IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索し、検索の結果見つかったレコードのフィールド「接続ルータ名」のルータ名を取り出す。端末情報取出部210aは、配信要求元IPアドレス、および取り出したルータ名の組を最小経由数端末特定部210bへ出力する。
The optimum distribution
The terminal
最小経由数端末特定部210bは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内の各コンテンツ受信端末と、配信要求を行ったコンテンツ受信端末との間のデータ通信においてデータが経由するルータの数を検出する。そして、最小経由数端末特定部210bは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末の中から、配信要求を行ったコンテンツ受信端末とルータの経由数が最小のコンテンツ受信端末を検出する。具体的には、最小経由数端末特定部210bは、端末情報取出部210aから入力される蓄積済みIPアドレス、ルータ名、および回線速度の組の夫々について、組に含まれるルータ名のルータと、配信要求元IPアドレスに対応したルータ名のルータとを利用し、ネットワーク構成記憶部202に記憶されているネットワークの構成から、蓄積済みIPアドレスのコンテンツ受信端末と配信要求元IPアドレスのコンテンツ受信端末との間のルータの経由数を検出し、検出結果を基に経由数の最小のコンテンツ受信端末を特定する。最小経由数端末特定部210bは、経由数の最小のコンテンツ受信端末が1つであれば、最小のコンテンツ受信端末の蓄積済みIPアドレスを端末情報送信部211へ出力する。一方、最小経由数端末特定部210bは、経由数の最小のコンテンツ受信端末が複数あれば、経由数の最小のコンテンツ受信端末の蓄積済みIPアドレス、および回線速度の組の夫々を最大回線速度端末特定部210cへ出力する。
The minimum number-of-routers terminal specifying unit 210b performs data communication between each content receiving terminal in the holding period in which the content with the content ID included in the distribution request is stored and the content receiving terminal that has made the distribution request. Detect the number of routers through which data passes. Then, the minimum number-of-routers terminal specifying unit 210b stores the content receiving terminal and router that made the distribution request from among the content receiving terminals in the holding period in which the content of the content ID included in the distribution request is stored. A content receiving terminal with the smallest number of vias is detected. Specifically, the minimum number-of-routers terminal specifying unit 210b has a router with a router name included in the set for each of the stored IP address, router name, and line speed input from the terminal
最大回線速度端末特定部210cは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末のうちルータの経由数の最小のコンテンツ受信端末の中から、接続されている回線速度が最大のコンテンツ受信端末を検出する。具体的には、最大回線速度端末特定部210cは、最小経由数端末特定部210bから入力される蓄積済みIPアドレス、および回線速度の組の夫々を利用して、回線速度が最大の組に含まれる蓄積済みIPアドレス(1または複数)を端末情報送信部211へ出力する。
The maximum line speed
端末情報送信部211は、利用可否判断部209から入力される蓄積済みIPアドレス、最小経由数端末特定部210bから入力される蓄積済みIPアドレス、または最大回線速度端末特定部210cから入力される蓄積済みIPアドレス(1又は複数)をコンテンツの配信要求元のコンテンツ受信端末に対して送信する。
The terminal
コンテンツ取出部212は、コンテンツ記憶部201内をコンテンツIDをキーとして配信要求のあったコンテンツID(蓄積端末情報取出部207から入力されるコンテンツID、配信状態判断部208から入力されるコンテンツID、利用可否判断部209から入力されるコンテンツID)にフィールド「コンテンツID」の値が一致するコンテンツを検索してコンテンツを取り出す。そして、コンテンツ取出部212は、取り出したコンテンツにおいて蓄積データサイズ(蓄積端末情報取出部207から入力される蓄積データサイズ、配信状態判断部208から入力される蓄積データサイズ、利用可否判断部209から入力される蓄積データサイズ)を利用してコンテンツの配信要求を行ったコンテンツ受信端末が蓄積済みでないコンテンツのデータをコンテンツ送信部213へ出力する。
The
コンテンツ送信部213は、コンテンツ取出部212から入力されるコンテンツのデータをコンテンツの配信要求元のコンテンツ受信端末に対して送信する。なお、コンテンツ送信部213は、コンテンツの送信完了後、送信したコンテンツのコンテンツIDおよびコンテンツの送信先のコンテンツ受信端末のIPアドレスを蓄積端末情報記憶部204のフィールド「コンテンツID」およびフィールド「端末位置情報」に新規に格納し、対応するフィールド「コンテンツ保持期間」に現在時刻に予め定められた期間を加算して得られる年月日(コンテンツ保持期間)を格納し、対応するフィールド「配信状態」に「待機中」を格納する。
The
再配信情報受信部214は、コンテンツ受信端末3a〜3dからコンテンツの再配信元のコンテンツ受信端末のIPアドレス(以下、再配信元IPアドレスという。)を含む再配信情報を受信し、受信した再配信情報を第1配信状態変更部215へ出力する。
The redistribution
第1配信状態変更部215は、再配信情報受信部214から入力される再配信元IPアドレスについて、蓄積端末情報記憶部204内をIPアドレスをキーとして再配信元IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索する。そして、第1配信状態変更部215は、検索の結果見つかった各レコードの「配信状態」を「待機中」から「配信中」に変更する。
The first distribution
再配信完了情報受信部216は、コンテンツ受信端末3a〜3dから再配信完了情報を受信し、受信した再配信完了情報を第2配信状態変更部217および蓄積端末情報追加218へ出力する。再配信完了情報には、再配信先のコンテンツ受信端末において蓄積されたコンテンツのコンテンツID(蓄積コンテンツID)、コンテンツの再配信先のコンテンツ受信端末のIPアドレス(以下、再配信先IPアドレスという。)、コンテンツの再配信元のコンテンツ受信端末のIPアドレス(再配信元IPアドレス)が含まれている。
The redistribution completion
第2配信状態変更部217は、再配信完了情報受信部216から入力される再配信元IPアドレスについて、蓄積端末情報記憶部204内をIPアドレスをキーとして再配信元IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索する。そして、第2配信状態変更部217は、検索の結果見つかった各レコードの「配信状態」を「配信中」から「待機中」に変更する。
The second distribution
蓄積端末情報追加部218は、再配信完了情報受信部216から入力される蓄積コンテンツIDおよび再配信先IPアドレスを蓄積端末情報記憶部204のフィールド「コンテンツID」およびフィールド「端末位置情報」に新規に格納する。そして、蓄積端末情報追加部218は、対応するフィールド「コンテンツ保持期間」に現在時刻に予め定められた期間を加算して得られる年月日(コンテンツ保持期間)を格納し、対応するフィールド「配信状態」に「待機中」を格納する。
The storage terminal
次に、図1および図2に示したコンテンツ配信システム1を構成するコンテンツ受信端末3a〜3dの機能構成について図6を参照しつつ説明する。図6はコンテンツ受信端末3a〜3dの機能構成を示す機能ブロック図である。
図6に示すように、コンテンツ受信端末3a〜3dは、コンテンツ記憶部301、蓄積コンテンツ情報記憶部302、蓄積データサイズ記憶部303、コンテンツID入力部304、第1配信要求部305、配信コンテンツ受信部306、第1コンテンツ登録部307、端末情報受信部308、再配信要求部309、応答受信部310、再配信情報送信部311、再配信コンテンツ受信部312、第2コンテンツ登録部313、再配信監視部314、第2配信要求部315、再配信完了情報送信部316、再配信要求受信部317、再配信要求応答部318、コンテンツ取出部319、およびコンテンツ送信部320として機能する各部を有している。
Next, the functional configuration of the
As shown in FIG. 6, the
コンテンツ記憶部301は、コンテンツIDに対応付けて当該コンテンツIDのコンテンツを記憶する記憶装置である。
蓄積コンテンツ情報記憶部302は、コンテンツ記憶部301に記憶されているコンテンツ毎にコンテンツIDに対応付けてこのコンテンツを保持している最終年月日を示すコンテンツ保持期間を記憶する記憶装置である。なお、コンテンツ保持期間は、コンテンツ配信サーバ2において新たにコンテンツを蓄積したコンテンツ受信端末の情報(IPアドレスなど)が蓄積端末情報記憶部204に記憶された後にコンテンツ配信サーバ2からコンテンツ保持期間がコンテンツ受信端末3a〜3dに送信されることによって蓄積コンテンツ情報記憶部302に記憶される。
蓄積データサイズ記憶部303は、再配信されて受信するコンテンツの既に蓄積しているコンテンツのデータサイズ(蓄積データサイズ)を記憶する記憶装置である。
The
The stored content
The accumulated data
コンテンツID入力部304は、コンテンツ受信端末3a〜3dのユーザが希望するコンテンツのコンテンツIDを当該ユーザが入力する際に用いられる入力装置であり、必要に応じて各部へ入力されたコンテンツIDを出力する。
第1配信要求部305は、自コンテンツ受信端末のIPアドレス(配信要求元IPアドレス)およびコンテンツID入力部304から入力されるコンテンツIDを含めたコンテンツの配信要求であって、不可IPアドレスが「ブランク」で蓄積データサイズが「0」であるコンテンツの配信要求(最初の配信要求)を作成する。そして、第1配信要求部305は、作成したコンテンツの配信要求をコンテンツ配信サーバ2へ送信する。
The content ID input unit 304 is an input device that is used when the user of the
The first
配信コンテンツ受信部306は、コンテンツ配信サーバ2によって送信されるコンテンツIDとそのコンテンツを受信し、第1コンテンツ登録部307へ出力する。
第1コンテンツ登録部307は、配信コンテンツ受信部306から入力されるコンテンツを当該コンテンツのコンテンツIDに対応付けてコンテンツ記憶部301に格納する。
The distribution
The first
端末情報受信部308は、コンテンツ配信サーバ2の端末情報送信部211によって送信されるコンテンツの再配信元となるコンテンツ受信端末のIPアドレス(1又は複数)を受信し、受信したIPアドレスを再配信要求部309へ出力する。
再配信要求部309は、コンテンツID入力部304から入力されるコンテンツIDおよび蓄積データサイズ記憶部303に記憶されている蓄積データサイズを含む再配信要求を作成し、作成した再配信要求を端末情報受信部308から入力される夫々のIPアドレスのコンテンツ受信端末に対して送信する。
The terminal
The
応答受信部310は、再配信要求を送信したコンテンツ受信端末から応答を受け、応答が配信を行わない旨を示す配信拒否応答であるか否かを判断し、応答が配信拒否応答でなければ応答(配信応答)をしてきたコンテンツ受信端末のIPアドレスを再配信情報送信部311へ出力する。応答受信部310は、配信拒否応答でない応答があった後は他のコンテンツ受信端末からの応答を受け付けずに当該他のコンテンツ受信端末からコンテンツを受信することを行わない。
The
再配信情報送信部311は、配信応答をしてきたコンテンツ受信端末(コンテンツの再配信元となるコンテンツ受信端末)のIPアドレス(再配信元IPアドレス)を含めた再配信情報を作成し、作成した再配信情報をコンテンツ配信サーバ2に対して送信する。
The redistribution
再配信コンテンツ受信部312は、再配信元のコンテンツ受信端末によって送信されるコンテンツIDとそのコンテンツを受信し、第2コンテンツ登録部313へ出力する。
第2コンテンツ登録部313は、再配信コンテンツ受信部312から入力されるコンテンツを当該コンテンツのコンテンツIDに対応付けてコンテンツ記憶部301に格納し、コンテンツ記憶部301に記憶したコンテンツのデータサイズを蓄積データサイズ記憶部303に格納する。
The redistributed
The second
再配信監視部314は、応答受信部310によって所定期間内にコンテンツ受信端末から再配信要求に対する応答を受信できなかった場合、配信拒否応答しか受信できなかった場合に第2配信要求部315にコンテンツ配信サーバ2に対して再度の配信要求を行うように第1再要求指示データを出力する。また、再配信監視部314は、再配信コンテンツ受信部312によってコンテンツを継続して受信することができなくなった場合、第2配信要求部315にコンテンツ配信サーバ2に対して再度の配信要求を行うように第2再要求指示データを出力する。なお、コンテンツの再配信元のコンテンツ受信端末がユーザの意図によりネットワークから切断された場合にはコンテンツ受信端末間でデータ通信が行えず、或いは、継続して行えなくなる。また、通信断などのネットワークの障害によりコンテンツ受信端末間でデータ通信が行えず、或いは、継続して行えなくなる。コンテンツの配信元のコンテンツ受信端末においてユーザの意図によりコンテンツ保持期間内にコンテンツが消去された場合にはコンテンツの配信先のコンテンツ受信端末はコンテンツを受信できない。
The
第2配信要求部315は、再配信監視部314から第1再要求指示データが入力されると、自コンテンツ受信端末のIPアドレス(配信要求元IPアドレス)、コンテンツID入力部304から入力されるコンテンツID、蓄積データサイズ記憶部303に記憶されている蓄積データサイズを含めたコンテンツの配信要求であって、不可IPアドレスが「ブランク」であるコンテンツの配信要求を作成する。そして、第2配信要求部315は、作成したコンテンツの配信要求をコンテンツ配信サーバ2へ送信する。ただし、配信要求に含まれる蓄積データサイズは、これまでにコンテンツの受信ができていない場合には「0」、これまでにコンテンツの一部を受信できている場合にはその一部のデータサイズになる。なお、後者は、例えば、最初の配信要求において一部のデータを入手できたが、2回目の配信要求では再配信要求に対して応答がなかった場合、3回目の配信要求では最初の配信要求において受信されたコンテンツのデータサイズになる。
When the first re-request instruction data is input from the
第2配信要求部315は、再配信監視部314から第2再要求指示データが入力されると、自コンテンツ受信端末のIPアドレス(配信要求元IPアドレス)、コンテンツID入力部304から入力されるコンテンツID、コンテンツの再配信元であったコンテンツ受信端末のIPアドレス(不可IPアドレス)、蓄積データサイズ記憶部303に記憶されている蓄積データサイズを含めたコンテンツの配信要求を作成する。そして、第2配信要求部315は、作成したコンテンツの配信要求をコンテンツ配信サーバ2へ送信する。
When the second re-request instruction data is input from the
再配信完了情報送信部316は、再配信元のコンテンツ受信端末から再配信コンテンツ受信部312によってコンテンツ全体のデータを受信すると、受信したコンテンツのコンテンツID(蓄積コンテンツID)、自コンテンツ受信端末のIPアドレス(再配信先IPアドレス)、およびコンテンツの再配信元のコンテンツ受信端末のIPアドレス(再配信元IPアドレス)を含む再配信完了情報を作成する。そして、再配信完了情報送信部316は作成した再配信完了情報をコンテンツ配信サーバ2に対して送信する。
When the redistribution completion
再配信要求受信部317は、他のコンテンツ受信端末からコンテンツの再配信要求を受信し、再配信要求応答部318へ出力する。
再配信要求応答部318は、コンテンツ受信端末が他のコンテンツ受信端末との間でコンテンツの送受信を行っているか、再配信要求に含まれているコンテンツIDのコンテンツがコンテンツ記憶部301に記憶されているかを判断する。再配信要求応答部318は、コンテンツの送受信を行っている場合や要求されたコンテンツを記憶していない場合には配信拒否を示す配信拒否応答を行う。コンテンツの送受信を行っていない場合や要求されたコンテンツを記憶している場合には配信応答を行い、コンテンツ取出部319へ再配信要求に含まれるコンテンツIDおよび蓄積データサイズを出力する。
The redistribution
The redistribution
コンテンツ取出部319は、コンテンツ記憶部301内をコンテンツIDをキーとして再配信要求応答部318から入力されるコンテンツIDにフィールド「コンテンツID」の値が一致するコンテンツを検索してコンテンツを取り出す。そして、コンテンツ取出部319は、取り出したコンテンツにおいて配信要求に含まれる蓄積データサイズを利用して蓄積済みでないコンテンツのデータをコンテンツ送信部320へ出力する。
コンテンツ送信部320はコンテンツ取出部319から入力されるコンテンツのデータを再配信要求元のコンテンツ受信端末へ送信する。
The
The
次に、図1のコンテンツ配信サーバ2によって行われるコンテンツ配信処理について図7を参照しつつ説明する。図7はコンテンツ配信サーバ2によって行われるコンテンツ配信処理の流れを示すフローチャートである。ただし、図7はコンテンツの配信要求を受信してから配信要求元のコンテンツ受信端末に再配信元のコンテンツ受信端末を通知するまでの処理の流れを示している。
Next, content distribution processing performed by the
配信要求受信部205は、コンテンツ受信端末3a〜3dからコンテンツの配信要求を受信するのを待ち(ステップS101)、コンテンツの配信要求を受信すると、蓄積端末情報削除部206は、コンテンツの配信要求に含まれる不可IPアドレスが「ブランク」であるか否かを判断し、「ブランク」でなければ蓄積端末情報記憶部204内をIPアドレスをキーとしてコンテンツの配信要求に含まれる不可IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索し、検索の結果見つかったレコードに記憶されている情報を削除する(ステップS102)。
The distribution
蓄積端末情報取出部207は、配信要求に含まれるコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末を蓄積端末情報記憶部204内において検索する(ステップS103)。蓄積しているコンテンツ受信端末があれば(S103:YES)ステップS104の処理へ進み、蓄積しているコンテンツ受信端末がなければ(S103:NO)ステップS107の処理へ進む。
The storage terminal
蓄積端末情報取出部207は、ステップS103における検索の結果見つけた配信要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末のIPアドレス、コンテンツ保持期間、および配信状態情報を、蓄積端末情報記憶部204内の配信要求に含まれるコンテンツIDにフィールド「コンテンツID」の値が一致するレコードのフィールド「端末位置情報」、「コンテンツ保持期間」、および「配信状態」から取り出す(ステップS104)。
The storage terminal
配信状態判断部208は、配信要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末のステップS104において取り出された「配信状態」に格納されている情報を確認し、配信要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の中に「配信状態」が「待機中」であるコンテンツ受信端末があるか否かを判断する(ステップS105)。「待機中」のコンテンツ受信端末があれば(S105:YES)ステップS106の処理へ進み、「待機中」のコンテンツ受信端末がなければ(S105:NO)ステップS107の処理へ進む。
The distribution
利用可否判断部209は、配信要求に含まれるコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末のステップS104において取り出された「コンテンツ保持期間」に格納されている情報を確認し、配信要求に含まれるコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末の中に現在時刻がコンテンツ保持期間内であるコンテンツ受信端末があるか否かを判断する(ステップS106)。コンテンツ保持期間内のコンテンツ受信端末があれば(S106:YES)ステップS109の処理へ進み、コンテンツ保持期間内のコンテンツ受信端末がなければ(S106:NO)ステップS107の処理へ進む。
The
コンテンツ取出部212は、配信要求に含まれるコンテンツIDのコンテンツをコンテンツ記憶部301から取出し、配信要求に含まれた蓄積データサイズを利用して送信するコンテンツのデータの部分を特定し(ステップS107)、コンテンツ送信部213は配信要求元のコンテンツ受信端末に対して特定したコンテンツのデータ部分を送信する(ステップS108)。
The
利用可否判断部209は、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内のコンテンツ受信端末が1台であるか2台以上であるかを判断し(ステップS109)、1台であれば(S109:1台)ステップS110の処理へ進み、2台以上であれば(S109:2台以上)ステップS111処理へ進む。
The
端末情報送信部211は、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内のコンテンツ受信端末のIPアドレスをコンテンツの配信要求元のコンテンツ受信端末に対して送信する(ステップS110)。
The terminal
最適配信端末検出部210の端末情報取出部210aは、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内の各コンテンツ受信端末について、そのIPアドレスを基づいてそのコンテンツ受信端末が接続されているルータのルータ名、および接続されている回線の回線速度を端末情報記憶部203から取り出すとともに、コンテンツの配信要求を行ったコンテンツ受信端末について、そのIPアドレスを利用してそのコンテンツ受信端末が接続されているルータのルータ名を端末情報記憶部203から取り出す。最小経由数端末特定部210bは、端末情報取出部210aによって取り出された配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内の各コンテンツ受信端末が接続されているルータ名のルータと、コンテンツの配信要求を行ったコンテンツ受信端末接続されているルータ名のルータと、を利用して、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中のコンテンツ保持期間内の各コンテンツ受信端末と、配信要求を行ったコンテンツ受信端末との間のデータ通信においてデータが経由するルータの数を検出する。そして、最小経由数端末特定部210bは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末の中から、配信要求を行ったコンテンツ受信端末とルータの経由数が最小のコンテンツ受信端末を検出する(ステップS111)。
The terminal
最小経由数端末特定部210bは、ステップS111において検出したルータの経由数が最小のコンテンツ受信端末が1台であるか否かを判断する(ステップS112)。ルータの経由数が最小のコンテンツ受信端末が1台であれば(S112:YES)ステップS113の処理へ進み、ルータの経由数が最小のコンテンツ受信端末が1台でなければ、すなわち複数であれば(S112:NO)ステップS114の処理へ進む。 The minimum number-of-routers terminal specifying unit 210b determines whether or not there is one content receiving terminal with the minimum number of routers detected in step S111 (step S112). If there is one content receiving terminal with the smallest number of routed routers (S112: YES), the process proceeds to step S113, and if there is not one content receiving terminal with the smallest number of routed routers, that is, a plurality of content receiving terminals. (S112: NO) The process proceeds to step S114.
端末情報送信部211は、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内のコンテンツ受信端末であってステップS111においてルータの経由数が最小であるコンテンツ受信端末のIPアドレスをコンテンツの配信要求元のコンテンツ受信端末に対して送信する(ステップS113)。
The terminal
最大回線速度端末特定部210cは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末のうちルータの経由数の最小のコンテンツ受信端末の中から、接続されている回線速度が最大のコンテンツ受信端末を検出する(ステップS114)。
端末情報送信部211は、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内のルータの経由数が最小のコンテンツ受信端末であってステップS114において回線速度が最大であるとして検出された全てのコンテンツ受信端末のIPアドレスをコンテンツの配信要求元のコンテンツ受信端末(1または複数)に対して送信する(ステップS115)。
The maximum line speed
The terminal
次に、図1のコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理について図8を参照しつつ説明する。図8はコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理の流れを示すフローチャートである。図8はコンテンツの配信要求元及び再配信要求元のコンテンツ受信端末における処理の流れを示している。
Next, content distribution processing performed by the
第1配信要求部305は、自コンテンツ受信端末のIPアドレス、およびコンテンツID入力部304から入力されるコンテンツIDを含み、不可IPアドレスが「ブランク」、蓄積データサイズが「0」であるコンテンツの配信要求を作成し、作成したコンテンツの配信要求を送信する(ステップS201)。その後、コンテンツ受信端末はコンテンツ配信サーバ2からコンテンツおよびコンテンツを蓄積しているコンテンツ受信端末のIPアドレスの何れかを受信するのを待ち、受信した情報がコンテンツであるか否かを判断する(ステップS202)。コンテンツ受信端末が配信コンテンツ受信部306によってコンテンツを受信している場合には(S202:YES)ステップS203の処理へ進み、第1コンテンツ登録部307は、配信コンテンツ受信部306によって受信されているコンテンツをそのコンテンツIDに対応付けてコンテンツ記憶部301に格納する(ステップS203)。一方、コンテンツ受信端末が端末情報受信部308によってコンテンツを蓄積しているコンテンツ受信端末のIPアドレスを受信した場合には(S202:NO)ステップS204の処理へ進む。
The first
再配信要求部309は、コンテンツID入力部304から入力されるコンテンツIDおよび蓄積データサイズ記憶部303に記憶されている蓄積データサイズを含む再配信要求を作成し、作成した再配信要求を端末情報受信部308によって受信されたIPアドレスのコンテンツ受信端末(1または複数)に対して送信する(ステップS204)。なお、再配信要求を行った後に再配信要求先のコンテンツ受信端末から配信応答を受信すると、コンテンツ受信端末の再配信情報送信部311は、配信応答をしてきたコンテンツ受信端末のIPアドレス(再配信元IPアドレス)を含む再配信情報を作成し、作成した再配信情報をコンテンツ配信サーバ2に対して送信する。
The
再配信監視部314は、再配信要求先のコンテンツ受信端末からコンテンツを受信することができない(再配信元のコンテンツ受信端末からの応答がない、再配信元のコンテンツ受信端末からの応答が配信拒否応答、ネットワークの問題による通信断、など)かを判断する(ステップS205)。再配信要求先のコンテンツ受信端末からコンテンツを受信することができない場合には(S205:YES)ステップS206の処理へ進み、再配信要求先のコンテンツ受信端末からコンテンツを受信することができる場合には(S205:NO)ステップS208の処理へ進む。
The
第2配信要求部315は、蓄積データサイズ記憶部303に記憶されている蓄積データサイズを取り出し(ステップS206)、取り出した蓄積データサイズ、およびコンテンツを送信する或いは送信していたコンテンツ受信端末のIPアドレスなどを含む上述したコンテンツの配信要求を作成し、作成したコンテンツの配信要求をコンテンツ配信サーバ2へ送信する(ステップS207)。
The second
第2コンテンツ登録部313は、再配信コンテンツ受信部312によって受信されているコンテンツをそのコンテンツIDに対応付けてコンテンツ記憶部301に格納する(ステップS208)。
The second
次に、図1のコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理について図9を参照しつつ説明する。図9はコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理の流れを示すフローチャートである。図9はコンテンツの再配信要求先のコンテンツ受信端末における処理の流れを示している。
Next, content distribution processing performed by the
再配信要求受信部317がコンテンツ受信端末からコンテンツの再配信要求を受信するのを待ち(ステップS301)、再配信要求受信部317が再配信要求を受信すると、再配信要求応答部318は、再配信が可能であるか(コンテンツ受信端末が他のコンテンツ受信端末との間でコンテンツの送受信を行っていないか、要求されたコンテンツを記憶しているか)を判断する(ステップS302)。再配信が可能でない場合には(S302:NO)再配信要求応答部318は配信拒否を示す応答を行う(ステップS303)。再配信が可能である場合には(S302:YES)再配信要求応答部318は配信応答を行う。コンテンツ取出部319は再配信要求に含まれるコンテンツIDを利用してコンテンツ記憶部301からコンテンツを取り出し、再配信要求に含まれる蓄積データサイズを利用して再配信するコンテンツのデータ部分を特定し、コンテンツ送信部320はその特定されたデータ部分のコンテンツを再配信要求元のコンテンツ受信端末へ送信する(ステップS304)。
Waiting for the redistribution
次に、図1のコンテンツ配信システム1において行われるコンテンツの配信処理について図10を参照しつつ説明する。図10はコンテンツ配信システム1において行われるコンテンツの配信処理の流れの一例を示すシーケンス図である。
コンテンツ受信端末3aの第1配信要求部305はコンテンツ配信サーバ2に対してコンテンツの配信要求を送信し、送信された配信要求はコンテンツ配信サーバ2の配信要求受信部205によって受信される(ステップS401)。コンテンツ配信サーバ2は上述した図7の処理を行って最適なコンテンツ受信端末3bを検出する(ステップS402)。コンテンツ配信サーバ2の端末情報送信部211は最適なコンテンツ受信端末3bのIPアドレスを配信要求元のコンテンツ受信端末3aに対して送信し、送信されたコンテンツ受信端末3bのIPアドレスがコンテンツ受信端末3aの端末情報受信部308によって受信される(ステップS403)。
Next, content distribution processing performed in the content distribution system 1 of FIG. 1 will be described with reference to FIG. FIG. 10 is a sequence diagram illustrating an example of the flow of content distribution processing performed in the content distribution system 1.
The first
コンテンツ受信端末3aの再配信要求部309は再配信要求をステップS403において受信したIPアドレスのコンテンツ受信端末3bに対して送信し、送信された再配信要求がコンテンツ受信端末3bの再配信要求受信部317によって受信される(ステップS404)。コンテンツ受信端末3bの再配信要求応答部318は再配信要求に対する配信を行う応答(配信応答)を行い、コンテンツ受信端末3aの応答受信部310は配信応答を受信する(ステップS405)。コンテンツ受信端末3aの再配信情報送信部311はコンテンツ配信サーバ2に対して再配信元となるコンテンツ受信端末3bのIPアドレスを含む再配信情報を送信し、送信された再配信情報がコンテンツ配信サーバ2の再配信情報受信部214によって受信される(ステップS406)。コンテンツ配信サーバ2の第1配信状態変更部215は蓄積端末情報記憶部204に記憶されている再配信情報に含まれるコンテンツ受信端末3bのIPアドレスにフィールド「端末位置情報」のIPアドレスが一致する各レコードのフィールド「配信状態」を「待機中」から「配信中」に変更する。
The
コンテンツ受信端末3bのコンテンツ取出部319はコンテンツ記憶部301から再配信要求に含まれるコンテンツIDのコンテンツを取り出す。そして、コンテンツ送信部320は取り出したコンテンツをコンテンツ受信端末3aへ送信し、送信されたコンテンツがコンテンツ受信端末3aの再配信コンテンツ受信部312によって受信される(ステップS407)。そして、コンテンツ受信端末3aにおいて受信されたコンテンツが第2コンテンツ登録部313によってコンテンツ記憶部301に記憶される。
The
コンテンツ受信端末3aがコンテンツの全てを受信した後、コンテンツ受信端末3aの再配信完了情報送信部316は、受信したコンテンツのコンテンツID、自コンテンツ受信端末3aのIPアドレス、およびコンテンツの再配信元のコンテンツ受信端末3bのIPアドレスを含む再配信完了情報をコンテンツ配信サーバ2に対して送信する。そして、送信された再配信完了情報がコンテンツ配信サーバ2の再配信完了情報受信部216によって受信される(ステップS408)。コンテンツ配信サーバ2の第2配信状態変更部217は蓄積端末情報記憶部204に記憶されている再配信完了情報に含まれるコンテンツ受信端末3bのIPアドレスにフィールド「端末位置情報」のIPアドレスが一致する各レコードのフィールド「配信状態」を「配信中」から「待機中」に変更する。そして、蓄積端末情報追加部218は、再配信完了情報に含まれるコンテンツIDおよびコンテンツ受信端末3aのIPアドレスを蓄積端末情報記憶部204のフィールド「コンテンツID」およびフィールド「端末位置情報」に新規に格納するとともに、対応するフィールド「コンテンツ保持期間」に現在時刻に予め定められた期間を加算して得られる年月日(コンテンツ保持期間)を格納し、対応するフィールド「配信状態」に「待機中」を格納する。
After the content receiving terminal 3a receives all of the content, the redistribution completion
次に、図1のコンテンツ配信システム1において行われるコンテンツの配信処理について図11を参照しつつ説明する。図11はコンテンツ配信システム1において行われるコンテンツの配信処理の流れの一例を示すシーケンス図である。
コンテンツ受信端末3aの第1配信要求部305はコンテンツ配信サーバ2に対してコンテンツの配信要求を送信し、送信された配信要求はコンテンツ配信サーバ2の配信要求受信部205によって受信される(ステップS501)。コンテンツ配信サーバ2は上述した図7の処理を行って最適なコンテンツ受信端末3bを検出する(ステップS502)。コンテンツ配信サーバ2の端末情報送信部211は最適なコンテンツ受信端末3bのIPアドレスを配信要求元のコンテンツ受信端末3aに対して送信し、送信されたコンテンツ受信端末3bのIPアドレスがコンテンツ受信端末3aの端末情報受信部308によって受信される(ステップS503)。
Next, content distribution processing performed in the content distribution system 1 of FIG. 1 will be described with reference to FIG. FIG. 11 is a sequence diagram illustrating an example of the flow of content distribution processing performed in the content distribution system 1.
The first
コンテンツ受信端末3aの再配信要求部309は再配信要求をステップS503において受信したIPアドレスのコンテンツ受信端末3bに対して送信される(ステップS504)。コンテンツ受信部3aの応答受信部310はコンテンツ受信端末3bから応答を受けることができなかった(ステップS505)ので、第2配信要求部315は、自コンテンツ受信端末3aのIPアドレスとコンテンツIDとを含み、不可IPアドレスがコンテンツ受信端末3bのIPアドレスであり、蓄積データサイズが「0」である配信要求をコンテンツ配信サーバ2に対して送信し、送信された配信要求はコンテンツ配信サーバ2の配信要求受信部205によって受信される(ステップS506)。コンテンツ配信サーバ2は上述した図7の処理を行って不可IPアドレスのコンテンツ受信端末3bを蓄積端末情報記憶部204から削除するとともに最適なコンテンツ受信端末3cを検出する(ステップS507)。コンテンツ配信サーバ2の端末情報送信部211は最適なコンテンツ受信端末3cのIPアドレスを配信要求元のコンテンツ受信端末3aに対して送信し、送信されたコンテンツ受信端末3cのIPアドレスがコンテンツ受信端末3aの端末情報受信部308によって受信される(ステップS508)。
The
コンテンツ受信端末3aの再配信要求部309は再配信要求をステップS508において受信したIPアドレスのコンテンツ受信端末3cに対して送信し、送信された再配信要求がコンテンツ受信端末3cの再配信要求受信部317によって受信される(ステップS509)。コンテンツ受信端末3cの再配信要求応答部318は再配信要求に対する配信を行う応答(配信応答)を行い、コンテンツ受信端末3aの応答受信部310は配信応答を受信する(ステップS510)。コンテンツ受信端末3aの再配信情報送信部311はコンテンツ配信サーバ2に対して再配信元となるコンテンツ受信端末3cのIPアドレスを含む再配信情報を送信し、送信された再配信情報がコンテンツ配信サーバ2の再配信情報受信部214によって受信される(ステップS511)。コンテンツ配信サーバ2の第1配信状態変更部215は蓄積端末情報記憶部204に記憶されている再配信情報に含まれるコンテンツ受信端末3cのIPアドレスにフィールド「端末位置情報」のIPアドレスが一致する各レコードのフィールド「配信状態」を「待機中」から「配信中」に変更する。
The
コンテンツ受信端末3cのコンテンツ取出部319は再配信要求に含まれるコンテンツIDのコンテンツを取り出す。そして、コンテンツ送信部320は取り出したコンテンツをコンテンツ受信端末3aへ送信し、送信されたコンテンツがコンテンツ受信端末3aの再配信コンテンツ受信部312によって受信される(ステップS512)。そして、コンテンツ受信端末3aにおいて受信されたコンテンツが第2コンテンツ登録部313によってコンテンツ記憶部301に記憶される。
The
コンテンツ受信端末3aがコンテンツの全てを受信した後、コンテンツ受信端末3aの再配信完了情報送信部316は、受信したコンテンツのコンテンツID、自コンテンツ受信端末3aのIPアドレス、およびコンテンツの再配信元のコンテンツ受信端末3cのIPアドレスを含む再配信完了情報をコンテンツ配信サーバ2に対して送信し、送信された再配信完了情報がコンテンツ配信サーバ2の再配信完了情報受信部216によって受信される(ステップS513)。コンテンツ配信サーバ2の第2配信状態変更部217は蓄積端末情報記憶部204に記憶されている再配信完了情報に含まれるコンテンツ受信端末3cのIPアドレスにフィールド「端末位置情報」のIPアドレスが一致する各レコードのフィールド「配信状態」を「配信中」から「待機中」に変更する。そして、蓄積端末情報追加部218は、再配信完了情報に含まれるコンテンツIDおよびコンテンツ受信端末3aのIPアドレスを蓄積端末情報記憶部204のフィールド「コンテンツID」およびフィールド「端末位置情報」に新規に格納するとともに、対応するフィールド「コンテンツ保持期間」に現在時刻に予め定められた期間を加算して得られる年月日(コンテンツ保持期間)を格納し、対応するフィールド「配信状態」に「待機中」を格納する。
After the content receiving terminal 3a receives all of the content, the redistribution completion
次に、図1のコンテンツ配信システム1において行われるコンテンツの配信処理について図12を参照しつつ説明する。図12はコンテンツ配信システム1において行われるコンテンツの配信処理の流れの一例を示すシーケンス図である。
コンテンツ受信端末3aの第1配信要求部305はコンテンツ配信サーバ2に対してコンテンツの配信要求を送信し、送信された配信要求はコンテンツ配信サーバ2の配信要求受信部205によって受信される(ステップS601)。コンテンツ配信サーバ2は上述した図7の処理を行って最適なコンテンツ受信端末3bを検出する(ステップS602)。コンテンツ配信サーバ2の端末情報送信部211は最適なコンテンツ受信端末3bのIPアドレスを配信要求元のコンテンツ受信端末3aに対して送信し、送信されたコンテンツ受信端末3bのIPアドレスがコンテンツ受信端末3aの端末情報受信部308によって受信される(ステップS603)。
Next, content distribution processing performed in the content distribution system 1 of FIG. 1 will be described with reference to FIG. FIG. 12 is a sequence diagram illustrating an example of the flow of content distribution processing performed in the content distribution system 1.
The first
コンテンツ受信端末3aの再配信要求部309は再配信要求をステップS503において受信したIPアドレスのコンテンツ受信端末3bに対して送信し、送信された再配信要求がコンテンツ受信端末3bの再配信要求受信部317によって受信される(ステップS604)。コンテンツ受信端末3bの再配信要求応答部318は再配信要求に対する配信を行う応答(配信応答)を行い、コンテンツ受信端末3aの応答受信部310は配信応答を受信する(ステップS605)。コンテンツ受信端末3aの再配信情報送信部311はコンテンツ配信サーバ2に対して再配信元となるコンテンツ受信端末3bのIPアドレスを含む再配信情報を送信し、送信された再配信情報がコンテンツ配信サーバ2の再配信情報受信部214によって受信される(ステップS606)。コンテンツ配信サーバ2の第1配信状態変更部215は蓄積端末情報記憶部204に記憶されている再配信情報に含まれるコンテンツ受信端末3bのIPアドレスにフィールド「端末位置情報」のIPアドレスが一致する各レコードのフィールド「配信状態」を「待機中」から「配信中」に変更する。
The
コンテンツ受信端末3bのコンテンツ取出部319は再配信要求に含まれるコンテンツIDのコンテンツを取り出す。そして、コンテンツ送信部320は取り出したコンテンツをコンテンツ受信端末3aへ送信し、送信されたコンテンツがコンテンツ受信端末3aの再配信コンテンツ受信部312によって受信される(ステップS607)。そして、コンテンツ受信端末3aにおいて受信されたコンテンツが第2コンテンツ登録部313によってコンテンツ記憶部301に記憶される。この途中で通信断によりコンテンツ受信端末3aがコンテンツ受信端末3bからコンテンツを受信することができなくなる(ステップS608)と、第2コンテンツ受信端末3aはコンテンツ記憶部301にこれまでに記憶されたコンテンツのデータサイズを算出して蓄積データサイズ記憶部303に格納する。そして、第2配信要求部315は、自コンテンツ受信端末3aのIPアドレスとコンテンツIDとを含み、不可IPアドレスがコンテンツ受信端末3bのIPアドレスであり、蓄積データサイズがコンテンツ受信端末3bから受信できたデータサイズである配信要求をコンテンツ配信サーバ2に対して送信し、送信された配信要求はコンテンツ配信サーバ2の配信要求受信部205によって受信される(ステップS609)。コンテンツ配信サーバ2は上述した図7の処理を行って不可IPアドレスのコンテンツ受信端末3bを蓄積端末情報記憶部204から削除するとともに最適なコンテンツ受信端末3cを検出する(ステップS610)。コンテンツ配信サーバ2の端末情報送信部211は最適なコンテンツ受信端末3cのIPアドレスを配信要求元のコンテンツ受信端末3aに対して送信し、送信されたコンテンツ受信端末3cのIPアドレスがコンテンツ受信端末3aの端末情報受信部308によって受信される(ステップS611)。
The
コンテンツ受信端末3aの再配信要求部309はコンテンツIDおよびコンテンツ受信端末3bから受信したコンテンツのデータサイズ(蓄積データサイズ)を含む再配信要求をステップS611において受信したIPアドレスのコンテンツ受信端末3cに対して送信し、送信された再配信要求がコンテンツ受信端末3bの再配信要求受信部317によって受信される(ステップS612)。コンテンツ受信端末3cの再配信要求応答部318は再配信要求に対する配信を行う応答(配信応答)を行い、コンテンツ受信端末3aの応答受信部310は配信応答を受信する(ステップS613)。コンテンツ受信端末3aの再配信情報送信部311は再配信元となるコンテンツ受信端末3cのIPアドレスを含む再配信情報をコンテンツ配信サーバ2に対して送信し、送信された再配信情報がコンテンツ配信サーバ2の再配信情報受信部214によって受信される(ステップS614)。コンテンツ配信サーバ2の第1配信状態変更部215は蓄積端末情報記憶部204に記憶されている再配信情報に含まれるコンテンツ受信端末3cのIPアドレスにフィールド「端末位置情報」のIPアドレスが一致する各レコードのフィールド「配信状態」を「待機中」から「配信中」に変更する。
The
コンテンツ受信端末3cのコンテンツ取出部319は再配信要求に含まれるコンテンツIDのコンテンツを取り出し、再配信要求に含まれる蓄積データサイズを利用してコンテンツ受信端末3aが蓄積していないコンテンツのデータ部分を特定する。そして、コンテンツ送信部320は特定したデータ部分のコンテンツをコンテンツ受信端末3aへ送信し、送信されたコンテンツがコンテンツ受信端末3aの再配信コンテンツ受信部312によって受信される(ステップS615)。そして、コンテンツ受信端末3aにおいて受信されたコンテンツが第2コンテンツ登録部313によってコンテンツ記憶部301に記憶される。
The
コンテンツ受信端末3aがコンテンツの全てを受信した後、コンテンツ受信端末3aの再配信完了情報送信部316は、受信したコンテンツのコンテンツID、自コンテンツ受信端末3aのIPアドレス、およびコンテンツの再配信元のコンテンツ受信端末3cのIPアドレスを含む再配信完了情報をコンテンツ配信サーバ2に対して送信し、送信された再配信完了情報がコンテンツ配信サーバ2の再配信完了情報受信部216によって受信される(ステップS616)。コンテンツ配信サーバ2の第2配信状態変更部217は蓄積端末情報記憶部204に記憶されている再配信完了情報に含まれるコンテンツ受信端末3cのIPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードのフィールド「配信状態」を「配信中」から「待機中」に変更する。そして、蓄積端末情報追加部218は、再配信完了情報に含まれるコンテンツIDおよびコンテンツ受信端末3aのIPアドレスを蓄積端末情報記憶部204のフィールド「コンテンツID」およびフィールド「端末位置情報」に新規に格納するとともに、対応するフィールド「コンテンツ保持期間」に現在時刻に予め定められた期間を加算して得られる年月日(コンテンツ保持期間)を格納し、対応するフィールド「配信状態」に「待機中」を格納する。
After the content receiving terminal 3a receives all of the content, the redistribution completion
以上説明した本発明の実施の形態によれば、要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の中から、要求してきたコンテンツ受信端末とルータの経由数が最小のコンテンツ受信端末が通知される。このため、コンテンツ受信端末間のコンテンツの再配信の際に経由するルータの数が少なくなり、ネットワーク全体の負荷を下げながら効率的なコンテンツの再配信が可能になる。また、要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の中から、回線速度の最大のコンテンツ受信端末が通知されるため、コンテンツ受信端末間のコンテンツの再配信に要する時間を短くすることができる。 According to the embodiment of the present invention described above, among the content receiving terminals that store the content of the requested content ID, the content receiving terminal with the minimum number of transits between the requested content receiving terminal and the router is Be notified. For this reason, the number of routers through which content is redistributed between content receiving terminals is reduced, and efficient content redistribution is possible while reducing the load on the entire network. In addition, since the content receiving terminal having the maximum line speed is notified from the content receiving terminals that store the content of the requested content ID, the time required for redistributing the content between the content receiving terminals is shortened. be able to.
さらに、要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の中から、配信中のコンテンツ受信端末やコンテンツ保持期間が過ぎたコンテンツ受信端末を除いて、通知するコンテンツ受信端末を検出している。このため、再配信要求元のコンテンツ受信端末が配信中やコンテンツを既に保持していないというような事態を回避することができる。 Further, the content receiving terminal to be notified is detected from the content receiving terminals that store the content of the requested content ID, except for the content receiving terminal that is being distributed and the content receiving terminal that has passed the content holding period. Yes. For this reason, it is possible to avoid a situation in which the content receiving terminal that is the redistribution request source is distributing or not already holding the content.
さらに、コンテンツの一部を受信した後に通信断などが生じた場合には蓄積できたコンテンツのデータサイズを含めてコンテンツ配信サーバや他のコンテンツ受信端末にコンテンツの要求を行うため、コンテンツの既に受信していた部分が再度送受信されることがなくなり、データの通信量を減らすことができる。 In addition, if communication is interrupted after receiving a part of the content, the content is already received because the content distribution server and other content receiving terminals are requested including the data size of the accumulated content. The part that has been done is not sent and received again, and the amount of data communication can be reduced.
以下、上記実施の形態の変形例について説明する。変形例は暗号化したコンテンツ(暗号化コンテンツ)をコンテンツ配信サーバからコンテンツ受信端末へ、コンテンツ受信端末から他のコンテンツ受信端末へ送信されるものである。なお、コンテンツの暗号および復号に関する部分以外は上記実施の形態と実質的に同じである。 Hereinafter, modifications of the above embodiment will be described. In the modification, encrypted content (encrypted content) is transmitted from the content distribution server to the content receiving terminal, and from the content receiving terminal to another content receiving terminal. The portions other than the portions related to the encryption and decryption of the content are substantially the same as those in the above embodiment.
コンテンツ配信サーバ2はコンテンツを暗号化鍵を使用して暗号化する暗号化部を備え、コンテンツ記憶部201には暗号化部によって暗号化されたコンテンツ(暗号化コンテンツ)がコンテンツIDに対応付けられて記憶されている。そして、コンテンツ配信サーバ2はコンテンツIDに対応付けて暗号化コンテンツを復号するための復号鍵を記憶する復号鍵記憶部を備える。
The
上記実施の形態と同様にしてコンテンツの配信要求元のコンテンツ受信端末に暗号化コンテンツが蓄積される。その後暗号化コンテンツを記憶したコンテンツ受信端末はコンテンツ配信サーバ2に対してコンテンツIDを含む復号鍵要求を送信し(復号鍵要求手段)、コンテンツ配信サーバ2は復号鍵要求を受信する(復号鍵要求受信手段)。コンテンツ配信サーバが復号鍵要求を受信すると、コンテンツ配信サーバ2は復号鍵要求に含まれるコンテンツIDを利用して当該コンテンツIDに対応付けて復号鍵記憶部に記憶されている復号鍵を取り出す(復号鍵取出手段)。そして、コンテンツ配信サーバ2は取り出した復号鍵を復号鍵要求元のコンテンツ受信端末に対して送信し(復号鍵送信手段)、復号鍵要求元のコンテンツ受信端末は送信された復号鍵を受信する(復号鍵受信手段)。復号鍵要求元のコンテンツ受信端末は受信した復号鍵を利用して暗号化コンテンツを復号して(コンテンツ復号手段)、復号されたコンテンツを再生し、例えばディスプレイに表示する。
Similar to the above embodiment, the encrypted content is stored in the content receiving terminal that is the content distribution request source. Thereafter, the content receiving terminal storing the encrypted content transmits a decryption key request including the content ID to the content distribution server 2 (decryption key request means), and the
上記変形例によれば、暗号化されたコンテンツの閲覧などをする場合コンテンツ配信サーバから復号鍵を得る仕組みになっているので、コンテンツに対する課金などをコンテンツ配信サーバにおいて行うことが可能になり、コンテンツの著作権管理が可能になる。 According to the above modification, since the decryption key is obtained from the content distribution server when browsing the encrypted content, the content distribution server can be charged for the content. Can be copyrighted.
以上、本発明の好適な実施の形態について説明したが、本発明は上述の実施の形態に限られるものではなく、特許請求の範囲に記載した限りにおいて様々な設計変更が可能なものになっている。
例えば、上記実施の形態においては、コンテンツを蓄積している「待機中」のコンテンツ保持期間内のコンテンツ受信端末が複数ある場合は、ルータの経由数の最小のコンテンツ受信端末を通知するコンテンツ受信端末とし、さらにルータの経由数の最小のコンテンツ受信端末が複数ある場合には回線速度の最大のコンテンツ受信端末を通知するコンテンツ受信端末としている。これに限らず、例えば、ルータの経由数に第1重み付け値を乗算した値と回線速度に第2重み付け値を乗算した値とを加算した値を利用し、その加算した値が最大のコンテンツ受信端末を通知するコンテンツ受信端末とするなどであってもよい。
The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various design changes can be made as long as they are described in the claims. Yes.
For example, in the above-described embodiment, when there are a plurality of content receiving terminals within the “standby” content holding period in which content is stored, the content receiving terminal that notifies the content receiving terminal with the smallest number of passing through the router In addition, when there are a plurality of content receiving terminals with the smallest number of routers, the content receiving terminal notifies the content receiving terminal with the maximum line speed. For example, a value obtained by adding a value obtained by multiplying the number of passing routers by a first weighting value and a value obtained by multiplying the line speed by a second weighting value is used, and the added value is the maximum content reception. It may be a content receiving terminal that notifies the terminal.
また、コンテンツの蓄積しているコンテンツ受信端末の「配信状態」には配信中か待機中かを記憶するようにしているが、「配信状態」に配信元のコンテンツ受信端末としての候補としない期間を格納するようにし、「配信状態」を利用してコンテンツ受信端末を選定する際には現在時刻がその期間内であるか否かを判断して期間外のものを選定するようにする。例えば、その仕組みとして、再配信情報をコンテンツ受信端末から受信した場合にそれに含まれるIPアドレス(再配信元IPアドレス)にフィールド「端末位置情報」のIPアドレスが一致する各レコードの「配信状態」に現在時刻に予め決められた時間を加算した値を格納するようにする。 In addition, the “delivery status” of the content receiving terminal that stores the content stores whether it is being distributed or in standby, but the “distribution status” is not a candidate for the content receiving terminal of the distribution source When the content receiving terminal is selected using the “distribution state”, it is determined whether or not the current time is within the period, and the contents outside the period are selected. For example, as the mechanism, when the redistribution information is received from the content receiving terminal, the “distribution status” of each record in which the IP address of the field “terminal location information” matches the IP address (redistribution source IP address) included therein. A value obtained by adding a predetermined time to the current time is stored.
なお、上述したシステムの各処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述の処理を行ってもよい。尚、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。 Note that a program for realizing the function of each processing unit of the above-described system is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed, thereby executing the above-described program. Processing may be performed. The “computer system” here includes an OS and hardware such as peripheral devices. The “computer system” includes a WWW system provided with a homepage providing environment (or display environment). The “computer-readable recording medium” refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a storage device such as a hard disk built in the computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
1 コンテンツ配信システム
2 コンテンツ配信サーバ
3a〜3d コンテンツ受信端末
DESCRIPTION OF SYMBOLS 1
Claims (9)
各前記コンテンツ受信端末についてコンテンツ受信端末を示す端末情報と当該コンテンツ受信端末のネットワークに接続される設置位置を示す設置位置情報とを対応付けて記憶する端末情報記憶手段と、
コンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とを対応付けて記憶する蓄積端末情報記憶手段と、
前記コンテンツ受信端末から受信するコンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記蓄積端末情報記憶手段に記憶されている各端末情報を取り出す蓄積端末取出手段と、
前記蓄積端末取出手段により取り出された端末情報の夫々について端末情報に対応付けて前記端末情報記憶手段に記憶されている設置位置情報を取り出す設置位置情報取出手段と、
前記配信要求を行ったコンテンツ受信端末の設置位置情報と前記設置位置情報取出手段により取り出される各前記設置位置情報とを利用して、前記蓄積端末取出手段により端末情報が取り出されたコンテンツ受信端末の中から前記配信要求を行ったコンテンツ受信端末の設置位置に対して最短の設置位置にあるコンテンツ受信端末を検出して最適配信端末とする最適配信端末検出手段と、
前記最適配信端末検出手段により最適配信端末として検出されるコンテンツ受信端末の端末情報を前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信する端末情報送信手段と、
を備えたことを特徴とするコンテンツ配信サーバ。 In a content distribution server connected via a network to a plurality of content receiving terminals that store content,
Terminal information storage means for storing terminal information indicating a content receiving terminal for each content receiving terminal and installation position information indicating an installation position connected to the network of the content receiving terminal in association with each other;
Storage terminal information storage means for storing content identification information for identifying content and terminal information indicating a content receiving terminal storing the content in association with each other;
Storage terminal extraction means for extracting each terminal information stored in the storage terminal information storage means in association with content identification information included in a content distribution request received from the content reception terminal;
Installation position information extraction means for extracting the installation position information stored in the terminal information storage means in association with the terminal information for each of the terminal information extracted by the storage terminal extraction means;
Using the installation position information of the content receiving terminal that has made the distribution request and each of the installation position information extracted by the installation position information extraction means, the content reception terminal from which the terminal information has been extracted by the storage terminal extraction means Optimal distribution terminal detection means for detecting the content reception terminal at the shortest installation position relative to the installation position of the content reception terminal that has made the distribution request from among the optimal distribution terminal;
Terminal information transmitting means for transmitting the terminal information of the content receiving terminal detected as the optimal distribution terminal by the optimal distribution terminal detecting means to the content receiving terminal that has made the content distribution request;
A content distribution server comprising:
前記最適配信端末検出手段は、検出したコンテンツ受信端末の数が複数の場合検出した複数の各コンテンツ受信端末について当該コンテンツ受信端末の端末情報に対応付けて前記端末情報記憶手段に記憶されている回線速度を取り出し、取り出した回線速度が最大のコンテンツ受信端末を最適配信端末とすることを特徴とする請求項1に記載のコンテンツ配信サーバ。 The terminal information storage means further stores the terminal information indicating the content receiving terminal in association with the line speed of the network to which the content receiving terminal is connected,
The optimum distribution terminal detecting unit is configured to store a line stored in the terminal information storage unit in association with the terminal information of the content receiving terminal for each of the plurality of detected content receiving terminals when the number of detected content receiving terminals is plural. 2. The content distribution server according to claim 1, wherein a content receiving terminal having a maximum line speed is selected as an optimum distribution terminal.
前記蓄積端末取出手段により取り出された端末情報の夫々について前記蓄積端末情報記憶手段に記憶されている配信状態情報がコンテンツの送受信中でないことを示しているか否かを判断する配信状態判断手段をさらに備え、
前記最適配信端末検出手段は、前記配信状態判断手段により前記配信状態情報がコンテンツの送受信中でないことを示していると判断された端末情報のコンテンツ受信端末を検出対象とすることを特徴とする請求項1または請求項2に記載のコンテンツ配信サーバ。 Whether the storage terminal information storage means is associated with content identification information for identifying content and terminal information indicating the content reception terminal storing the content, and whether the content reception terminal is transmitting / receiving content. Stores distribution status information indicating whether or not
Distribution status determination means for determining whether or not the distribution status information stored in the storage terminal information storage means indicates that content is not being transmitted / received for each of the terminal information extracted by the storage terminal extraction means; Prepared,
The optimal distribution terminal detection unit is set to detect a content reception terminal of terminal information determined by the distribution state determination unit to indicate that the distribution state information indicates that content is not being transmitted / received. The content distribution server according to claim 1 or 2.
前記蓄積端末取出手段により取り出された端末情報の夫々について前記蓄積端末情報記憶手段に記憶されている利用可否情報がコンテンツの利用が可能であることを示しているか否かを判断する利用可否判断手段をさらに備え、
前記最適配信端末検出手段は、前記利用可否判断手段により前記利用可否情報がコンテンツの利用が可能であることを示していると判断された端末情報のコンテンツ受信端末を検出対象とすることを特徴とする請求項1から請求項3の何れか1項に記載のコンテンツ配信サーバ。 The storage terminal information storage means further associates content identification information for identifying content with terminal information indicating the content reception terminal storing the content, and stores the content stored in the content reception terminal. It stores usability information that indicates whether it can be used,
Use availability judgment means for judging whether or not the availability information stored in the storage terminal information storage means indicates that the content can be used for each of the terminal information extracted by the storage terminal extraction means. Further comprising
The optimum distribution terminal detecting means targets the content receiving terminal of the terminal information determined by the availability determining means that the availability information indicates that the content can be used. The content distribution server according to any one of claims 1 to 3.
前記コンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて記憶されている端末情報が前記蓄積端末情報記憶手段にない場合に、当該コンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記コンテンツ記憶手段に記憶されているコンテンツを取り出すコンテンツ取出手段と、
前記コンテンツ取出手段により取り出されたコンテンツを前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信するコンテンツ送信手段と、
をさらに備えたことを特徴とする請求項1から請求項5の何れか1項に記載のコンテンツ配信サーバ。 Content storage means for associating and storing content identification information for identifying content and the content;
When the terminal information stored in association with the content identification information included in the content distribution request is not stored in the storage terminal information storage unit, the content is associated with the content identification information included in the content distribution request. Content retrieval means for retrieving the content stored in the storage means;
Content transmitting means for transmitting the content extracted by the content extracting means to a content receiving terminal that has requested distribution of the content;
The content distribution server according to any one of claims 1 to 5, further comprising:
コンテンツを識別するためのコンテンツ識別情報と当該コンテンツが暗号化された暗号化コンテンツを復号するための復号鍵とを対応付けて記憶する復号鍵記憶手段と、
前記コンテンツ受信端末から受信する復号鍵要求に含まれるコンテンツ識別情報に対応付けて前記復号鍵記憶手段に記憶されている復号鍵を取り出す復号鍵取出手段と、
前記復号鍵取出手段により取り出された復号鍵を前記復号鍵要求を行ったコンテンツ受信端末に対して送信する復号鍵送信手段と、
をさらに備えたことを特徴とする請求項1から請求項6の何れか1項に記載のコンテンツ配信サーバ。 The content stored in the content receiving terminal is encrypted,
Decryption key storage means for storing content identification information for identifying content and a decryption key for decrypting encrypted content obtained by encrypting the content in association with each other;
Decryption key extraction means for extracting a decryption key stored in the decryption key storage means in association with content identification information included in the decryption key request received from the content receiving terminal;
Decryption key transmitting means for transmitting the decryption key extracted by the decryption key extracting means to the content receiving terminal that has made the decryption key request;
The content distribution server according to any one of claims 1 to 6, further comprising:
コンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とを対応付けて記憶する蓄積端末情報記憶手段を照会して、前記コンテンツ受信端末から受信するコンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記蓄積端末情報記憶手段に記憶されている各端末情報を取り出す蓄積端末取出手順と、
各前記コンテンツ受信端末についてコンテンツ受信端末を示す端末情報と当該コンテンツ受信端末のネットワークに接続される設置位置を示す設置位置情報とを対応付けて記憶する端末情報記憶手段を照会して、前記蓄積端末取出手順において取り出された端末情報の夫々について端末情報に対応付けて前記端末情報記憶手段に記憶されている設置位置情報を取り出す設置位置情報取出手順と、
前記配信要求を行ったコンテンツ受信端末の設置位置情報と前記設置位置情報取出手順において取り出された各前記設置位置情報とを利用して、前記蓄積端末取出手順において端末情報が取り出されたコンテンツ受信端末の中から前記配信要求を行ったコンテンツ受信端末の設置位置に対して最短の設置位置にあるコンテンツ受信端末を検出して最適配信端末とする最適配信端末検出手順と、
前記最適配信端末検出手順において最適配信端末として検出されたコンテンツ受信端末の端末情報を前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信する端末情報送信手順と、
を有することを特徴とするコンテンツ配信方法。 In a content distribution method performed by a content distribution server connected via a network to a plurality of content receiving terminals that store content,
The storage terminal information storage means for storing the content identification information for identifying the content and the terminal information indicating the content receiving terminal storing the content in association with each other is inquired, and the content received from the content receiving terminal A storage terminal extraction procedure for extracting each terminal information stored in the storage terminal information storage means in association with the content identification information included in the distribution request;
For each of the content receiving terminals, the terminal information storage unit that stores the terminal information indicating the content receiving terminal and the installation position information indicating the installation position connected to the network of the content receiving terminal in association with each other is referred to, and the storage terminal An installation position information extraction procedure for extracting installation position information stored in the terminal information storage means in association with the terminal information for each of the terminal information extracted in the extraction procedure;
The content receiving terminal from which the terminal information is extracted in the storage terminal extraction procedure by using the installation position information of the content receiving terminal that has made the distribution request and each of the installation position information extracted in the installation position information extraction procedure An optimal delivery terminal detection procedure for detecting the content receiving terminal at the shortest installation position relative to the installation position of the content receiving terminal that has made the delivery request from
A terminal information transmission procedure for transmitting the terminal information of the content receiving terminal detected as the optimal distribution terminal in the optimal distribution terminal detection procedure to the content receiving terminal that has requested the distribution of the content;
A content distribution method characterized by comprising:
コンテンツを識別するためのコンテンツ識別情報と当該コンテンツを蓄積しているコンテンツ受信端末を示す端末情報とを対応付けて記憶する蓄積端末情報記憶手段を照会して、前記コンテンツ受信端末から受信するコンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記蓄積端末情報記憶手段に記憶されている各端末情報を取り出す蓄積端末取出手順と、
各前記コンテンツ受信端末についてコンテンツ受信端末を示す端末情報と当該コンテンツ受信端末のネットワークに接続される設置位置を示す設置位置情報とを対応付けて記憶する端末情報記憶手段を照会して、前記蓄積端末取出手順において取り出された端末情報の夫々について端末情報に対応付けて前記端末情報記憶手段に記憶されている設置位置情報を取り出す設置位置情報取出手順と、
前記配信要求を行ったコンテンツ受信端末の設置位置情報と前記設置位置情報取出手順において取り出された各前記設置位置情報とを利用して、前記蓄積端末取出手順において端末情報が取り出されたコンテンツ受信端末の中から前記配信要求を行ったコンテンツ受信端末の設置位置に対して最短の設置位置にあるコンテンツ受信端末を検出して最適配信端末とする最適配信端末検出手順と、
前記最適配信端末検出手順において最適配信端末として検出されたコンテンツ受信端末の端末情報を前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信する端末情報送信手順と、
を実行させることを特徴とするコンテンツ配信プログラム。
A computer serving as a content distribution server connected via a network to a plurality of content receiving terminals that store content,
The storage terminal information storage means for storing the content identification information for identifying the content and the terminal information indicating the content receiving terminal storing the content in association with each other is inquired, and the content received from the content receiving terminal A storage terminal extraction procedure for extracting each terminal information stored in the storage terminal information storage means in association with the content identification information included in the distribution request;
For each of the content receiving terminals, the terminal information storage unit that stores the terminal information indicating the content receiving terminal and the installation position information indicating the installation position connected to the network of the content receiving terminal in association with each other is referred to, and the storage terminal An installation position information extraction procedure for extracting installation position information stored in the terminal information storage means in association with the terminal information for each of the terminal information extracted in the extraction procedure;
The content receiving terminal from which the terminal information is extracted in the storage terminal extraction procedure by using the installation position information of the content receiving terminal that has made the distribution request and each of the installation position information extracted in the installation position information extraction procedure An optimal delivery terminal detection procedure for detecting the content receiving terminal at the shortest installation position relative to the installation position of the content receiving terminal that has made the delivery request from
A terminal information transmission procedure for transmitting the terminal information of the content receiving terminal detected as the optimal distribution terminal in the optimal distribution terminal detection procedure to the content receiving terminal that has requested the distribution of the content;
A content distribution program characterized by causing
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005101333A JP2006285387A (en) | 2005-03-31 | 2005-03-31 | Content delivery server, content delivery method, and content delivery program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005101333A JP2006285387A (en) | 2005-03-31 | 2005-03-31 | Content delivery server, content delivery method, and content delivery program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006285387A true JP2006285387A (en) | 2006-10-19 |
Family
ID=37407284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005101333A Pending JP2006285387A (en) | 2005-03-31 | 2005-03-31 | Content delivery server, content delivery method, and content delivery program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006285387A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012114649A (en) * | 2010-11-24 | 2012-06-14 | Nippon Telegr & Teleph Corp <Ntt> | Content distribution method and system |
JP2016042366A (en) * | 2011-07-26 | 2016-03-31 | 株式会社リコー | Transmission side information processing apparatus, information processing method, and program |
US9661042B2 (en) | 2011-07-26 | 2017-05-23 | Ricoh Company, Ltd. | Data share system, data process apparatus, and computer-readable recording medium |
-
2005
- 2005-03-31 JP JP2005101333A patent/JP2006285387A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012114649A (en) * | 2010-11-24 | 2012-06-14 | Nippon Telegr & Teleph Corp <Ntt> | Content distribution method and system |
JP2016042366A (en) * | 2011-07-26 | 2016-03-31 | 株式会社リコー | Transmission side information processing apparatus, information processing method, and program |
US9661042B2 (en) | 2011-07-26 | 2017-05-23 | Ricoh Company, Ltd. | Data share system, data process apparatus, and computer-readable recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101291912B1 (en) | Selective data forwarding storage | |
KR101291885B1 (en) | Media delivery in data forwarding storage network | |
CN100481082C (en) | Document distribution system and method | |
JP2007066161A (en) | Cache system | |
US20120233019A1 (en) | Method and apparatus for managing content to be shared among devices | |
CN103477335A (en) | Asset management architecture for content delivery networks | |
CN102203763A (en) | Disassembly/reassembly in data forwarding storage | |
KR20110059659A (en) | Measurement in data forwarding storage | |
US20110238975A1 (en) | Information processing device, route control device, and data relay method | |
US20150381716A1 (en) | Method and system for sharing files over p2p | |
JP2007179202A5 (en) | ||
JP2006285387A (en) | Content delivery server, content delivery method, and content delivery program | |
JP4765876B2 (en) | TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM FOR CONTENT DISTRIBUTION SYSTEM | |
JP2006236040A (en) | Distributed server failure response program, server load distribution device and method | |
JP4579718B2 (en) | Information transmission system and information transmission method | |
JP5860259B2 (en) | Determination program and determination apparatus | |
JP4910542B2 (en) | SIP message delivery program | |
US10728301B1 (en) | Cryptographic content delivery network | |
US20140025775A1 (en) | Content delivery system and method based on information-centric networking | |
JP2008123067A (en) | Document processing management system | |
JP2007328736A (en) | Resource retrieval system | |
JP4727353B2 (en) | Identification information generation management device, system, and program | |
JP7131357B2 (en) | Communication device, communication method, and communication program | |
US20210064411A1 (en) | Management apparatus, management system, management method and management program | |
JP7060463B2 (en) | Data management system and node equipment |