JP2006285387A - Content delivery server, content delivery method, and content delivery program - Google Patents

Content delivery server, content delivery method, and content delivery program Download PDF

Info

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
Application number
JP2005101333A
Other languages
Japanese (ja)
Inventor
Atsunobu Hoyo
庄伸 保要
Joji Urata
穣司 浦田
Junji Enozono
淳二 榎園
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.)
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West 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 Nippon Telegraph and Telephone Corp, Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005101333A priority Critical patent/JP2006285387A/en
Publication of JP2006285387A publication Critical patent/JP2006285387A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently perform redelivery of a content between content receiving terminals. <P>SOLUTION: A content receiving terminal 3a requests delivery of a content to a content delivery server. The content delivery server 2 finds content receiving terminals 3b and 3d accumulating the content requested to deliver from a plurality of content receiving terminals. The content delivery server 2 detects the router number between the content receiving terminal 3a and each of the content receiving terminals 3b and 3d, and reports the content receiving terminal 3b with the smaller router number as an optimum delivery terminal to the content receiving terminal 3a. The content is redelivered from the content receiving terminal 3b to the content receiving terminal 3a. <P>COPYRIGHT: (C)2007,JPO&INPIT

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.

例えば、コンテンツを蓄積しているコンテンツ受信端末の情報を保持するコンテンツ配信サーバがネットワーク上に存在し、コンテンツ配信サーバは配信要求されたコンテンツを蓄積しているコンテンツ受信端末の検索を行う。そして、コンテンツ配信サーバは、コンテンツの配信要求元のコンテンツ受信端末に対して、検索の結果見つかったコンテンツ受信端末を通知する。そして、配信要求元のコンテンツ受信端末は、通知されたコンテンツ受信端末に対してコンテンツの配信要求を行い、これにより配信要求元のコンテンツ受信端末にコンテンツが配信される。
特表2004−502987号公報
For example, a content distribution server that holds information of a content receiving terminal that stores content exists on the network, and the content distribution server searches for a content receiving terminal that stores the content requested to be distributed. Then, the content distribution server notifies the content receiving terminal that is the content distribution request source of the content receiving terminal found as a result of the search. Then, the content receiving terminal that is the distribution request source makes a content distribution request to the notified content receiving terminal, whereby the content is distributed to the content receiving terminal that is the distribution request source.
JP-T-2004-502987

従来のコンテンツ配信システムにおいて、コンテンツ配信サーバはコンテンツを蓄積しているコンテンツ受信端末の情報を保持しているが、コンテンツ受信端末のネットワーク上の位置の情報やコンテンツ受信端末の配信状態の情報(例えば、待機中、配信中)などを保持していなかった。このため、配信要求元のコンテンツ受信端末はネットワーク上の最も配信に適したコンテンツ受信端末からコンテンツの再配信を受けるといった効率的なコンテンツの再配信を行うことができなかった。   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 content distribution server 2 and a plurality of content reception terminals (only four content reception terminals 3a, 3b, 3c, and 3d are shown in the figure). The content distribution server 2 and the content receiving terminals 3a to 3d are connected to the network 4, respectively, whereby data transmission / reception between the content distribution server 2 and the content receiving terminals 3a to 3d, and the content receiving terminals 3a to 3d. Data transmission / reception between 3d is performed.

次に、図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 routers 4a to 4i are shown in the figure) which are network constituent devices. In the network configuration example shown in FIG. 2, the number of routers that pass between the content receiving terminal 3a and the content receiving terminal 3b is 3 (routers 4d, 4b, and 4f). The number of routers passing between the content receiving terminal 3a and the content receiving terminal 3d is 5 (routers 4d, 4b, 4a, 4c, 4i).

ここで、コンテンツ配信システム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 terminals 3b and 3d are content receiving terminals that store the requested content. It is assumed that the content receiving terminals 3b and 3d can be distributed together (the content is not redistributed with other content receiving terminals and the content holding period has not elapsed).

コンテンツ受信端末3aがコンテンツ配信サーバに対してコンテンツの配信要求を行う。コンテンツ配信サーバ2は、複数のコンテンツ受信端末から配信要求のあったコンテンツを蓄積しているコンテンツ受信端末3b、3dを探し出す。そして、コンテンツ受信端末3b、3dはコンテンツを配信可能であり、配信要求のあったコンテンツを蓄積しているコンテンツ受信端末が2台あるので、コンテンツ配信サーバ2は、コンテンツ受信端末3aとコンテンツ受信端末3bとの間のルータの経由数「3」を検出し、コンテンツ受信端末3aとコンテンツ受信端末3dとの間のルータの経由数「5」を検出する。そして、コンテンツ配信サーバ2は、ルータの経由数が少ない方のコンテンツ受信端末3bを最適配信端末とし、コンテンツ受信端末3bをコンテンツ受信端末3aに通知する。コンテンツ受信端末3aはコンテンツ配信サーバ2から通知されたコンテンツ受信端末3bに対してコンテンツの配信要求を行い、コンテンツ受信端末3bからコンテンツ受信端末3aへコンテンツの再配信が行われる。   The content receiving terminal 3a makes a content distribution request to the content distribution server. The content distribution server 2 searches for content receiving terminals 3b and 3d that store the content requested to be distributed from a plurality of content receiving terminals. Since the content receiving terminals 3b and 3d are capable of distributing content and there are two content receiving terminals that store the content requested to be distributed, the content distribution server 2 includes the content receiving terminal 3a and the content receiving terminal. The number “3” of routers passing through 3b is detected, and the number “5” of routers passing between the content receiving terminal 3a and the content receiving terminal 3d is detected. Then, the content distribution server 2 sets the content reception terminal 3b with the smaller number of routers to be the optimal distribution terminal and notifies the content reception terminal 3b to the content reception terminal 3a. The content receiving terminal 3a makes a content distribution request to the content receiving terminal 3b notified from the content distribution server 2, and the content is redistributed from the content receiving terminal 3b to the content receiving terminal 3a.

他の例として、コンテンツ受信端末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 content receiving terminals 3b and 3c as content receiving terminals storing the requested content, and the line speed of the content receiving terminal 3b. Is faster than the line speed of the content receiving terminal 3c. It is assumed that both the content receiving terminals 3b and 3c can be distributed.

コンテンツ受信端末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 content receiving terminal 3a makes a content distribution request to the content distribution server. The content distribution server 2 searches for content receiving terminals 3b and 3c that store the content requested to be distributed from a plurality of content receiving terminals. Since the content receiving terminals 3b and 3c are capable of distributing content and there are two content receiving terminals that store the content requested to be distributed, the content distribution server 2 includes the content receiving terminal 3a and the content receiving terminal. The number “3” of routers passing through 3b is detected, the number “3” of routers passing between the content receiving terminal 3a and the content receiving terminal 3c is detected, and the number of passing routers is the same. Furthermore, the content distribution server 2 compares the line speeds of the content receiving terminal 3b and the content receiving terminal 3c, and notifies the content receiving terminal 3a of the content receiving terminal 3b having a high line speed as the optimum distribution terminal. The content receiving terminal 3a makes a content distribution request to the content receiving terminal 3b notified from the content distribution server 2, and the content is redistributed from the content receiving terminal 3b to the content receiving terminal 3a.

なお、コンテンツ受信端末3aがコンテンツ配信サーバ2に対して配信要求をしたコンテンツを蓄積しているコンテンツ受信端末がない場合にはコンテンツ配信サーバ2がコンテンツ受信端末3aへコンテンツの配信を行う。   If there is no content receiving terminal that stores the content requested by the content receiving terminal 3a to the content distribution server 2, the content distribution server 2 distributes the content to the content receiving terminal 3a.

次に、図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 content distribution server 2 constituting the content distribution system 1 shown in FIGS. 1 and 2 will be described with reference to FIG. FIG. 3 is a functional block diagram showing a functional configuration of the content distribution server 2.
The content distribution server 2 shown in FIG. 3 includes a content storage unit 201, a network configuration storage unit 202, a terminal information storage unit 203, a storage terminal information storage unit 204, a distribution request reception unit 205, a storage terminal information deletion unit 206, and storage terminal information. Extraction unit (storage terminal extraction means) 207, distribution state determination unit 208, availability determination unit 209, optimum distribution terminal detection unit 210, terminal information transmission unit 211, content extraction unit 212, content transmission unit 213, redistribution information reception unit 214, a first distribution state changing unit 215, a redistribution completion information receiving unit 216, a second distribution state changing unit 217, and storage unit information adding unit 218.

コンテンツ記憶部201は、コンテンツに一意に割り振られたコンテンツを識別するためのコンテンツ識別情報(コンテンツID)に対応付けてコンテンツを記憶する記憶装置である。
ネットワーク構成記憶部202は、例えば図2に概略を示すネットワークの構成、つまり、ネットワークを構成するルータの接続関係を記憶する記憶装置である。
The content storage unit 201 is a storage device that stores content in association with content identification information (content ID) for identifying content uniquely assigned to the content.
The network configuration storage unit 202 is a storage device that stores, for example, a network configuration schematically shown in FIG. 2, that is, a connection relationship of routers that configure 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 information storage unit 203 has an IP address (corresponding to terminal information) as terminal location information of the content receiving terminal for each content receiving terminal, a router name of the router to which the content receiving terminal is connected (corresponding to installation location information), This is a storage device that stores the line speed of the line to which the content receiving terminal is connected. An example is shown in FIG.
FIG. 4 is a diagram showing an example of the contents stored in the terminal information storage unit 203 of FIG. The table of the terminal information storage unit 203 shown as an example in FIG. 4 includes “terminal ID”, “terminal location information”, “connection router name”, and “line speed” as fields.
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 content distribution server 2 receives registration information (IP address, router name, line speed) from the content receiving terminals 3a to 3d, the terminal ID is paid out, and the paid out terminal ID and the received registration information are received. (IP address, router name, line speed) are stored in the terminal information storage unit 203.

蓄積端末情報記憶部204は、コンテンツを蓄積しているコンテンツ受信端末の端末位置情報としてのIPアドレス(端末情報に相当)、コンテンツ受信端末がコンテンツを蓄積している期間を示すコンテンツ保持期間(コンテンツ保持期間内のみコンテンツの利用が可能;利用可否情報に相当)、コンテンツ受信端末がコンテンツの送受信中であるか否かを示す配信状態情報を記憶する記憶装置である。その一例が図5に示されている。
図5は図3の蓄積端末情報記憶部204の記憶内容の一例を示す図である。図5に一例を示すコンテンツ蓄積情報記憶部204のテーブルには、フィールドとして「コンテンツID」、「端末位置情報」、「コンテンツ保持期間」、および「配信状態」とがある。
フィールド「コンテンツID」には、コンテンツIDが格納される。フィールド「端末位置情報」には、対応するフィールド「コンテンツID」のコンテンツを蓄積しているコンテンツ受信端末のIPアドレスが格納される。フィールド「コンテンツ保持期間」には、対応するフィールド「端末位置情報」のコンテンツ受信端末が対応するフィールド「コンテンツID」のコンテンツを蓄積している最終年月日(コンテンツ保持期間)が格納される。フィールド「配信状態」には、対応するフィールド「端末位置情報」のコンテンツ受信端末がコンテンツの送受信中であるか否かを示す配信状態情報が格納され、格納される配信状態情報はコンテンツの送受信中であれば「配信中」、コンテンツの送受信中でなければ「待機中」である。
The storage terminal information storage unit 204 includes an IP address (corresponding to terminal information) as terminal location information of a content receiving terminal that stores content, and a content holding period (contents) indicating the period during which the content receiving terminal stores content This is a storage device that stores distribution status information indicating whether or not the content receiving terminal is transmitting / receiving the content. An example is shown in FIG.
FIG. 5 is a diagram showing an example of the stored contents of the storage terminal information storage unit 204 of FIG. In the table of the content accumulation information storage unit 204 shown as an example in FIG. 5, there are “content ID”, “terminal location information”, “content holding period”, and “distribution state” as fields.
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 request receiving unit 205 receives content distribution requests from the content receiving terminals 3 a to 3 d and outputs the received content distribution requests to the storage terminal information deleting unit 206. The content distribution server 2 receives content distribution requests received from the content receiving terminals 3a to 3d as the first content distribution request and the second and subsequent content distribution requests (other content for which the content receiving terminal is notified of the IP address). It is assumed that there is a distribution request when all content data cannot be received from the receiving terminal), and the data structure of both is the same.

配信要求には、配信要求元のコンテンツ受信端末の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 information deletion unit 206 determines whether or not the disabled IP address included in the content distribution request input from the distribution request receiving unit 205 is “blank”. If it is not “blank”, the storage terminal information deletion unit 206 uses the IP address as a key in the storage terminal information storage unit 204, and the IP address of the field “terminal location information” matches the IP address included in the content distribution request. Search for a record and delete the information stored in the record found as a result of the search. The storage terminal information deleting unit 206 outputs the distribution request source IP address, the content ID, and the stored data size included in the content distribution request input from the distribution request receiving unit 205 to the storage terminal information extracting unit 207.

蓄積端末情報取出部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 information extraction unit 207 searches the storage terminal information storage unit 204 for a content reception terminal that stores the content with the content ID included in the distribution request, and the IP address and content of the content reception terminal found as a result of the search The retention period and distribution status information are extracted from the storage terminal information storage unit 204. Specifically, the storage terminal information extraction unit 207 records in the storage terminal information storage unit 204 that the value of the field “content ID” matches the content ID input from the storage terminal information deletion unit 206 using the content ID as a key. Search for. Then, if a matching record is found, the storage terminal information extracting unit 207 finds the IP address of the field “terminal location information”, the content holding period of the field “content holding period”, and the field “ The distribution status information of “distribution status” is extracted. The extracted IP address is referred to as an accumulated IP address. The storage terminal information extraction unit 207 then sets the extracted stored IP address, content holding period, and distribution status information, distribution request source IP address input from the storage terminal information deletion unit 206, content ID, and storage The data size is output to the distribution state determination unit 208. On the other hand, if no matching record is found, storage terminal information extraction unit 207 outputs the content ID and storage data size input from storage terminal information deletion unit 206 to content extraction unit 212.

配信状態判断部208は、配信要求に含まれるコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の配信状態情報を確認し、そのコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の中から配信状態情報の内容が「待機中」のコンテンツ受信端末をコンテンツの再配信元のコンテンツ受信端末の候補とするものである。具体的には、配信状態判断部208は、蓄積端末情報取出部207から入力される蓄積済みIPアドレス、コンテンツ保持期間、および配信状態情報の組の夫々について、配信状態情報が「待機中」であるか否かを判断する。そして、配信状態判断部208は、「待機中」のものがあれば、配信状態情報が「待機中」であった夫々の組の蓄積済みIPアドレス、およびコンテンツ保持期間の組、並びに、蓄積端末情報取出部207から入力される配信要求元IPアドレス、コンテンツID、および蓄積データサイズを利用可否判断部209へ出力する。一方、配信状態判断部208は、「待機中」のものがなければ、蓄積端末情報取出部207から入力されるコンテンツIDおよび蓄積データサイズをコンテンツ取出部212へ出力する。   The distribution status determination unit 208 checks the distribution status information of the content receiving terminal that stores the content with the content ID included in the distribution request, and distributes the content from the content receiving terminal that stores the content with the content ID. Content receiving terminals whose information content is “standby” are candidates for content receiving terminals that are content redistribution sources. Specifically, the distribution status determination unit 208 indicates that the distribution status information is “standby” for each of the stored IP address, content holding period, and distribution status information sets input from the storage terminal information extraction unit 207. Judge whether there is. If there is a “standby” distribution status determination unit 208, each set of stored IP addresses whose content status information is “standby”, a set of content holding periods, and a storage terminal The distribution request source IP address, the content ID, and the accumulated data size input from the information extraction unit 207 are output to the availability determination unit 209. On the other hand, if there is no “standby” item, distribution state determination unit 208 outputs the content ID and the stored data size input from storage terminal information extraction unit 207 to content extraction unit 212.

利用可否判断部209は、配信要求に含まれるコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末のコンテンツ保持期間を確認し、そのコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末の中からコンテンツ保持期間内のコンテンツ受信端末をコンテンツの再配信元のコンテンツ受信端末の候補とするものである。具体的には、利用可否判断部209は、配信状態判断部208から入力される蓄積済みIPアドレス、およびコンテンツ保持期間の組の夫々について、現在時刻がコンテンツ保持期間が示す最終年月日を経過していないか否か(保持期間内か否か)を判断する。そして、利用可否判断部209は、保持期間内のものが複数あれば、保持期間内であった夫々の組の蓄積済みIPアドレスを最適配信端末検出部210の端末情報取出部210aへ出力する。また、利用可否判断部209は、保持期間内のものが1つのみであれば、保持期間内であった組の蓄積済みIPアドレスを端末情報送信部211へ出力する。さらに、利用可否判断部209は、保持期間内のものがなければ、配信状態判断部208から入力されるコンテンツIDおよび蓄積データサイズをコンテンツ取出部212へ出力する。   The availability determination unit 209 confirms the content holding period of the “standby” content receiving terminal that stores the content of the content ID included in the distribution request, and stores the content of the content ID “standby The content receiving terminals within the content holding period from among the content receiving terminals “” are candidates for the content receiving terminal that is the content redistribution source. Specifically, the availability determination unit 209 determines that the current time has passed the last date indicated by the content retention period for each of the stored IP address and content retention period pairs input from the distribution state determination unit 208. It is determined whether or not (whether it is within the retention period). If there are a plurality of items within the retention period, the availability determination unit 209 outputs the stored IP addresses of each set within the retention period to the terminal information extraction unit 210a of the optimum distribution terminal detection unit 210. Further, if there is only one within the holding period, the availability determination unit 209 outputs the accumulated IP addresses of the set within the holding period to the terminal information transmission unit 211. Furthermore, if there is nothing within the retention period, the availability determination unit 209 outputs the content ID and the accumulated data size input from the distribution state determination unit 208 to the content extraction unit 212.

最適配信端末検出部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 terminal detection unit 210 includes units that function as a terminal information extraction unit 210a, a minimum number-of-passages terminal specification unit 210b, and a maximum line speed terminal specification unit 210c.
The terminal information extraction unit 210a searches the terminal information storage unit 203 for a content receiving terminal within the holding period in which the content of the content ID included in the distribution request is stored, and the content receiving terminal found as a result of the search is searched for. The router name of the connected router and the line speed of the connected line are extracted from the terminal information storage unit 203. In addition, the terminal information extraction unit 210a extracts from the terminal information storage unit 203 the router name of the router to which the content receiving terminal that has made the distribution request is connected. Specifically, the terminal information extraction unit 210a uses the IP address as a key in the terminal information storage unit 203 for each stored IP address input from the availability determination unit 209 in the field “terminal location”. The record having the same IP address in the “information” is searched, and the router name in the field “connected router name” and the line speed in the field “line speed” of the record found as a result of the search are extracted. The terminal information extraction unit 210a outputs each of the set of the accumulated IP address, the extracted router name, and the extracted line speed to the minimum number-of-routes terminal specifying unit 210b. In addition, the terminal information extraction unit 210 a uses the IP address as a key in the terminal information storage unit 203 for the distribution request source IP address input from the availability determination unit 209 in the field “terminal location information”. A record with a matching IP address is searched, and the router name in the field “connected router name” of the record found as a result of the search is extracted. The terminal information extraction unit 210a outputs the combination of the distribution request source IP address and the extracted router name to the minimum number-of-routers terminal identification unit 210b.

最小経由数端末特定部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 information extraction unit 210a. Based on the network configuration stored in the network configuration storage unit 202 using the router having the router name corresponding to the distribution request source IP address, the content reception terminal having the accumulated IP address and the content reception terminal having the distribution request source IP address The number of routers passing through is detected, and the content receiving terminal with the smallest number of vias is identified based on the detection result. If there is one content receiving terminal with the smallest number of vias, the minimum number-of-routes terminal specifying unit 210b outputs the accumulated IP address of the smallest content receiving terminal to the terminal information transmitting unit 211. On the other hand, if there are a plurality of content receiving terminals with the minimum number of vias, the minimum number-of-routes terminal specifying unit 210b sets each of the stored IP address of the content receiving terminal with the minimum number of vias and the line speed as the maximum line speed terminal. It outputs to the specific part 210c.

最大回線速度端末特定部210cは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末のうちルータの経由数の最小のコンテンツ受信端末の中から、接続されている回線速度が最大のコンテンツ受信端末を検出する。具体的には、最大回線速度端末特定部210cは、最小経由数端末特定部210bから入力される蓄積済みIPアドレス、および回線速度の組の夫々を利用して、回線速度が最大の組に含まれる蓄積済みIPアドレス(1または複数)を端末情報送信部211へ出力する。   The maximum line speed terminal specifying unit 210c connects from the content receiving terminals with the smallest number of passing through the router among the content receiving terminals in the holding period in which the content of the content ID included in the distribution request is stored. The content receiving terminal having the maximum line speed is detected. Specifically, the maximum line speed terminal specifying unit 210c uses the stored IP address input from the minimum number-of-passages terminal specifying unit 210b and the set of line speeds, and is included in the set with the maximum line speed. The stored IP address (one or more) is output to the terminal information transmission unit 211.

端末情報送信部211は、利用可否判断部209から入力される蓄積済みIPアドレス、最小経由数端末特定部210bから入力される蓄積済みIPアドレス、または最大回線速度端末特定部210cから入力される蓄積済みIPアドレス(1又は複数)をコンテンツの配信要求元のコンテンツ受信端末に対して送信する。   The terminal information transmission unit 211 stores the IP address that has already been input from the availability determination unit 209, the IP address that has already been input from the minimum route number terminal specification unit 210b, or the storage that is input from the maximum line speed terminal specification unit 210c. The transmitted IP address (one or more) is transmitted to the content receiving terminal of the content distribution request source.

コンテンツ取出部212は、コンテンツ記憶部201内をコンテンツIDをキーとして配信要求のあったコンテンツID(蓄積端末情報取出部207から入力されるコンテンツID、配信状態判断部208から入力されるコンテンツID、利用可否判断部209から入力されるコンテンツID)にフィールド「コンテンツID」の値が一致するコンテンツを検索してコンテンツを取り出す。そして、コンテンツ取出部212は、取り出したコンテンツにおいて蓄積データサイズ(蓄積端末情報取出部207から入力される蓄積データサイズ、配信状態判断部208から入力される蓄積データサイズ、利用可否判断部209から入力される蓄積データサイズ)を利用してコンテンツの配信要求を行ったコンテンツ受信端末が蓄積済みでないコンテンツのデータをコンテンツ送信部213へ出力する。   The content extraction unit 212 uses the content ID as a key in the content storage unit 201 to request a content ID (content ID input from the storage terminal information extraction unit 207, content ID input from the distribution state determination unit 208, The content whose value of the field “content ID” matches the content ID input from the availability determination unit 209 is retrieved to extract the content. Then, the content extraction unit 212 stores the stored data size (the stored data size input from the storage terminal information extraction unit 207, the stored data size input from the distribution state determination unit 208, and the availability determination unit 209) in the extracted content. The content receiving terminal that has requested the content distribution using the stored data size) outputs the content data that has not been stored to the content transmitting unit 213.

コンテンツ送信部213は、コンテンツ取出部212から入力されるコンテンツのデータをコンテンツの配信要求元のコンテンツ受信端末に対して送信する。なお、コンテンツ送信部213は、コンテンツの送信完了後、送信したコンテンツのコンテンツIDおよびコンテンツの送信先のコンテンツ受信端末のIPアドレスを蓄積端末情報記憶部204のフィールド「コンテンツID」およびフィールド「端末位置情報」に新規に格納し、対応するフィールド「コンテンツ保持期間」に現在時刻に予め定められた期間を加算して得られる年月日(コンテンツ保持期間)を格納し、対応するフィールド「配信状態」に「待機中」を格納する。   The content transmission unit 213 transmits the content data input from the content extraction unit 212 to the content receiving terminal that is the content distribution request source. After the content transmission is completed, the content transmission unit 213 uses the field “content ID” and the field “terminal position” of the storage terminal information storage unit 204 to transmit the content ID of the transmitted content and the IP address of the content receiving terminal of the content transmission destination. The information is newly stored in “information”, and the date (content holding period) obtained by adding a predetermined period to the current time is stored in the corresponding field “content holding period”, and the corresponding field “delivery state” Stores "waiting".

再配信情報受信部214は、コンテンツ受信端末3a〜3dからコンテンツの再配信元のコンテンツ受信端末のIPアドレス(以下、再配信元IPアドレスという。)を含む再配信情報を受信し、受信した再配信情報を第1配信状態変更部215へ出力する。   The redistribution information receiving unit 214 receives the redistribution information including the IP address of the content receiving terminal that is the content redistribution source (hereinafter referred to as the redistribution source IP address) from the content receiving terminals 3a to 3d. The distribution information is output to the first distribution state changing unit 215.

第1配信状態変更部215は、再配信情報受信部214から入力される再配信元IPアドレスについて、蓄積端末情報記憶部204内をIPアドレスをキーとして再配信元IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索する。そして、第1配信状態変更部215は、検索の結果見つかった各レコードの「配信状態」を「待機中」から「配信中」に変更する。   The first distribution state changing unit 215 uses the IP address as a key in the storage terminal information storage unit 204 for the redistribution source IP address input from the redistribution information receiving unit 214 in the field “terminal location information”. ”Is searched for a record with a matching IP address. Then, the first distribution state changing unit 215 changes the “distribution state” of each record found as a result of the search from “standby” to “distributing”.

再配信完了情報受信部216は、コンテンツ受信端末3a〜3dから再配信完了情報を受信し、受信した再配信完了情報を第2配信状態変更部217および蓄積端末情報追加218へ出力する。再配信完了情報には、再配信先のコンテンツ受信端末において蓄積されたコンテンツのコンテンツID(蓄積コンテンツID)、コンテンツの再配信先のコンテンツ受信端末のIPアドレス(以下、再配信先IPアドレスという。)、コンテンツの再配信元のコンテンツ受信端末のIPアドレス(再配信元IPアドレス)が含まれている。   The redistribution completion information receiving unit 216 receives the redistribution completion information from the content receiving terminals 3a to 3d and outputs the received redistribution completion information to the second distribution state changing unit 217 and the storage terminal information addition 218. In the redistribution completion information, the content ID of the content accumulated in the redistribution destination content receiving terminal (accumulated content ID) and the IP address of the content receiving terminal of the content redistribution destination (hereinafter referred to as redistribution destination IP address). ), The IP address (redistribution source IP address) of the content receiving terminal that is the content redistribution source.

第2配信状態変更部217は、再配信完了情報受信部216から入力される再配信元IPアドレスについて、蓄積端末情報記憶部204内をIPアドレスをキーとして再配信元IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索する。そして、第2配信状態変更部217は、検索の結果見つかった各レコードの「配信状態」を「配信中」から「待機中」に変更する。   The second distribution state changing unit 217 uses the IP address as a key for the redistribution source IP address input from the redistribution completion information receiving unit 216 in the redistribution source IP address field “terminal position” Search for a record that matches the IP address of "information". Then, the second distribution state changing unit 217 changes the “distribution state” of each record found as a result of the search from “distributing” to “standby”.

蓄積端末情報追加部218は、再配信完了情報受信部216から入力される蓄積コンテンツIDおよび再配信先IPアドレスを蓄積端末情報記憶部204のフィールド「コンテンツID」およびフィールド「端末位置情報」に新規に格納する。そして、蓄積端末情報追加部218は、対応するフィールド「コンテンツ保持期間」に現在時刻に予め定められた期間を加算して得られる年月日(コンテンツ保持期間)を格納し、対応するフィールド「配信状態」に「待機中」を格納する。   The storage terminal information adding unit 218 newly adds the stored content ID and redistribution destination IP address input from the redistribution completion information receiving unit 216 to the field “content ID” and the field “terminal location information” of the storage terminal information storage unit 204. To store. Then, the storage terminal information adding unit 218 stores the date (content holding period) obtained by adding a predetermined period to the current time to the corresponding field “content holding period”, and the corresponding field “delivery” Stores "waiting" in "status".

次に、図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 content receiving terminals 3a to 3d configuring the content distribution system 1 shown in FIGS. 1 and 2 will be described with reference to FIG. FIG. 6 is a functional block diagram showing a functional configuration of the content receiving terminals 3a to 3d.
As shown in FIG. 6, the content receiving terminals 3a to 3d include a content storage unit 301, a stored content information storage unit 302, a stored data size storage unit 303, a content ID input unit 304, a first distribution request unit 305, and distribution content reception. Unit 306, first content registration unit 307, terminal information reception unit 308, redistribution request unit 309, response reception unit 310, redistribution information transmission unit 311, redistribution content reception unit 312, second content registration unit 313, redistribution Each unit functions as a monitoring unit 314, a second distribution request unit 315, a redistribution completion information transmission unit 316, a redistribution request reception unit 317, a redistribution request response unit 318, a content extraction unit 319, and a content transmission unit 320. ing.

コンテンツ記憶部301は、コンテンツIDに対応付けて当該コンテンツIDのコンテンツを記憶する記憶装置である。
蓄積コンテンツ情報記憶部302は、コンテンツ記憶部301に記憶されているコンテンツ毎にコンテンツIDに対応付けてこのコンテンツを保持している最終年月日を示すコンテンツ保持期間を記憶する記憶装置である。なお、コンテンツ保持期間は、コンテンツ配信サーバ2において新たにコンテンツを蓄積したコンテンツ受信端末の情報(IPアドレスなど)が蓄積端末情報記憶部204に記憶された後にコンテンツ配信サーバ2からコンテンツ保持期間がコンテンツ受信端末3a〜3dに送信されることによって蓄積コンテンツ情報記憶部302に記憶される。
蓄積データサイズ記憶部303は、再配信されて受信するコンテンツの既に蓄積しているコンテンツのデータサイズ(蓄積データサイズ)を記憶する記憶装置である。
The content storage unit 301 is a storage device that stores the content of the content ID in association with the content ID.
The stored content information storage unit 302 is a storage device that stores a content holding period indicating the last date and time of holding this content in association with the content ID for each content stored in the content storage unit 301. Note that the content retention period is set from the content distribution server 2 to the content retention period after information (IP address or the like) of the content receiving terminal that has newly accumulated the content in the content distribution server 2 is stored in the accumulation terminal information storage unit 204. By being transmitted to the receiving terminals 3a to 3d, it is stored in the stored content information storage unit 302.
The accumulated data size storage unit 303 is a storage device that stores the data size (accumulated data size) of content that has already been redistributed and received.

コンテンツ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 content receiving terminals 3a to 3d inputs the content ID desired by the user, and outputs the content ID input to each unit as necessary. To do.
The first distribution request unit 305 is a content distribution request including the IP address (distribution request source IP address) of the content receiving terminal and the content ID input from the content ID input unit 304. A content distribution request (initial distribution request) with the storage data size “0” and “blank” is created. Then, the first distribution request unit 305 transmits the created content distribution request to the content distribution server 2.

配信コンテンツ受信部306は、コンテンツ配信サーバ2によって送信されるコンテンツIDとそのコンテンツを受信し、第1コンテンツ登録部307へ出力する。
第1コンテンツ登録部307は、配信コンテンツ受信部306から入力されるコンテンツを当該コンテンツのコンテンツIDに対応付けてコンテンツ記憶部301に格納する。
The distribution content receiving unit 306 receives the content ID and the content transmitted by the content distribution server 2, and outputs them to the first content registration unit 307.
The first content registration unit 307 stores the content input from the distribution content reception unit 306 in the content storage unit 301 in association with the content ID of the content.

端末情報受信部308は、コンテンツ配信サーバ2の端末情報送信部211によって送信されるコンテンツの再配信元となるコンテンツ受信端末のIPアドレス(1又は複数)を受信し、受信したIPアドレスを再配信要求部309へ出力する。
再配信要求部309は、コンテンツID入力部304から入力されるコンテンツIDおよび蓄積データサイズ記憶部303に記憶されている蓄積データサイズを含む再配信要求を作成し、作成した再配信要求を端末情報受信部308から入力される夫々のIPアドレスのコンテンツ受信端末に対して送信する。
The terminal information receiving unit 308 receives the IP address (one or more) of the content receiving terminal that is the redistribution source of the content transmitted by the terminal information transmitting unit 211 of the content distribution server 2, and redistributes the received IP address Output to the request unit 309.
The redistribution request unit 309 creates a redistribution request including the content ID input from the content ID input unit 304 and the stored data size stored in the stored data size storage unit 303, and the generated redistribution request is transmitted to the terminal information. It transmits to the content receiving terminal of each IP address input from the receiving unit 308.

応答受信部310は、再配信要求を送信したコンテンツ受信端末から応答を受け、応答が配信を行わない旨を示す配信拒否応答であるか否かを判断し、応答が配信拒否応答でなければ応答(配信応答)をしてきたコンテンツ受信端末のIPアドレスを再配信情報送信部311へ出力する。応答受信部310は、配信拒否応答でない応答があった後は他のコンテンツ受信端末からの応答を受け付けずに当該他のコンテンツ受信端末からコンテンツを受信することを行わない。   The response receiving unit 310 receives a response from the content receiving terminal that has transmitted the redistribution request, determines whether the response is a distribution rejection response indicating that the distribution is not performed, and if the response is not a distribution rejection response, The IP address of the content receiving terminal that has made the (delivery response) is output to the redistribution information transmission unit 311. The response receiving unit 310 does not receive a response from another content receiving terminal without receiving a response from another content receiving terminal after receiving a response that is not a distribution rejection response.

再配信情報送信部311は、配信応答をしてきたコンテンツ受信端末(コンテンツの再配信元となるコンテンツ受信端末)のIPアドレス(再配信元IPアドレス)を含めた再配信情報を作成し、作成した再配信情報をコンテンツ配信サーバ2に対して送信する。   The redistribution information transmission unit 311 creates redistribution information including the IP address (redistribution source IP address) of the content receiving terminal (content receiving terminal that is the content redistribution source) that has made the distribution response. The redistribution information is transmitted to the content distribution server 2.

再配信コンテンツ受信部312は、再配信元のコンテンツ受信端末によって送信されるコンテンツIDとそのコンテンツを受信し、第2コンテンツ登録部313へ出力する。
第2コンテンツ登録部313は、再配信コンテンツ受信部312から入力されるコンテンツを当該コンテンツのコンテンツIDに対応付けてコンテンツ記憶部301に格納し、コンテンツ記憶部301に記憶したコンテンツのデータサイズを蓄積データサイズ記憶部303に格納する。
The redistributed content receiving unit 312 receives the content ID and the content transmitted from the redistribution source content receiving terminal, and outputs the content ID to the second content registering unit 313.
The second content registration unit 313 stores the content input from the redistributed content reception unit 312 in the content storage unit 301 in association with the content ID of the content, and accumulates the data size of the content stored in the content storage unit 301 It is stored in the data size storage unit 303.

再配信監視部314は、応答受信部310によって所定期間内にコンテンツ受信端末から再配信要求に対する応答を受信できなかった場合、配信拒否応答しか受信できなかった場合に第2配信要求部315にコンテンツ配信サーバ2に対して再度の配信要求を行うように第1再要求指示データを出力する。また、再配信監視部314は、再配信コンテンツ受信部312によってコンテンツを継続して受信することができなくなった場合、第2配信要求部315にコンテンツ配信サーバ2に対して再度の配信要求を行うように第2再要求指示データを出力する。なお、コンテンツの再配信元のコンテンツ受信端末がユーザの意図によりネットワークから切断された場合にはコンテンツ受信端末間でデータ通信が行えず、或いは、継続して行えなくなる。また、通信断などのネットワークの障害によりコンテンツ受信端末間でデータ通信が行えず、或いは、継続して行えなくなる。コンテンツの配信元のコンテンツ受信端末においてユーザの意図によりコンテンツ保持期間内にコンテンツが消去された場合にはコンテンツの配信先のコンテンツ受信端末はコンテンツを受信できない。   The redistribution monitoring unit 314 sends the content to the second distribution request unit 315 when the response receiving unit 310 cannot receive a response to the redistribution request from the content receiving terminal within a predetermined period, or when only the distribution rejection response is received. The first re-request instruction data is output so as to make another distribution request to the distribution server 2. In addition, when the redistribution content receiving unit 312 cannot continuously receive the content, the redistribution monitoring unit 314 makes a second distribution request to the content distribution server 2 to the second distribution request unit 315. In this way, the second re-request instruction data is output. If the content receiving terminal that is the redistribution source of the content is disconnected from the network for the purpose of the user, data communication cannot be performed between the content receiving terminals or cannot be performed continuously. In addition, data communication cannot be performed between content receiving terminals due to a network failure such as communication disconnection or cannot be performed continuously. If the content is deleted within the content holding period by the user's intention at the content receiving terminal as the content distribution source, the content receiving terminal as the content distribution destination cannot receive the content.

第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 re-distribution monitoring unit 314, the second distribution request unit 315 receives the IP address (distribution request source IP address) of the content receiving terminal and the content ID input unit 304. A content distribution request including the content ID and the stored data size stored in the stored data size storage unit 303, and a content distribution request having an impossible IP address of “blank” is created. Then, the second distribution request unit 315 transmits the created content distribution request to the content distribution server 2. However, the accumulated data size included in the distribution request is “0” when the content has not been received so far, and the partial data size when a part of the content has been received so far. become. In the latter case, for example, a part of the data can be obtained in the first distribution request, but if there is no response to the redistribution request in the second distribution request, the first distribution request in the third distribution request. Is the data size of the content received at.

第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 re-distribution monitoring unit 314, the second distribution request unit 315 is input from the IP address (distribution request source IP address) of the content receiving terminal and the content ID input unit 304. A content distribution request including the content ID, the IP address (impossible IP address) of the content receiving terminal that was the content redistribution source, and the accumulated data size stored in the accumulated data size storage unit 303 is created. Then, the second distribution request unit 315 transmits the created content distribution request to the content distribution server 2.

再配信完了情報送信部316は、再配信元のコンテンツ受信端末から再配信コンテンツ受信部312によってコンテンツ全体のデータを受信すると、受信したコンテンツのコンテンツID(蓄積コンテンツID)、自コンテンツ受信端末のIPアドレス(再配信先IPアドレス)、およびコンテンツの再配信元のコンテンツ受信端末のIPアドレス(再配信元IPアドレス)を含む再配信完了情報を作成する。そして、再配信完了情報送信部316は作成した再配信完了情報をコンテンツ配信サーバ2に対して送信する。   When the redistribution completion information transmission unit 316 receives data of the entire content from the redistribution source content receiving terminal by the redistribution content receiving unit 312, the content ID (accumulated content ID) of the received content, the IP of the own content receiving terminal Redistribution completion information including the address (redistribution destination IP address) and the IP address (redistribution source IP address) of the content receiving terminal that is the content redistribution source is created. Then, the redistribution completion information transmission unit 316 transmits the created redistribution completion information to the content distribution server 2.

再配信要求受信部317は、他のコンテンツ受信端末からコンテンツの再配信要求を受信し、再配信要求応答部318へ出力する。
再配信要求応答部318は、コンテンツ受信端末が他のコンテンツ受信端末との間でコンテンツの送受信を行っているか、再配信要求に含まれているコンテンツIDのコンテンツがコンテンツ記憶部301に記憶されているかを判断する。再配信要求応答部318は、コンテンツの送受信を行っている場合や要求されたコンテンツを記憶していない場合には配信拒否を示す配信拒否応答を行う。コンテンツの送受信を行っていない場合や要求されたコンテンツを記憶している場合には配信応答を行い、コンテンツ取出部319へ再配信要求に含まれるコンテンツIDおよび蓄積データサイズを出力する。
The redistribution request receiving unit 317 receives a content redistribution request from another content receiving terminal and outputs it to the redistribution request responding unit 318.
The redistribution request response unit 318 is configured such that the content receiving terminal transmits / receives content to / from other content receiving terminals, or the content with the content ID included in the redistribution request is stored in the content storage unit 301. Judgment is made. The redistribution request response unit 318 performs a distribution rejection response indicating a distribution rejection when content is transmitted / received or when the requested content is not stored. When the content is not transmitted / received or when the requested content is stored, a distribution response is made, and the content ID and the accumulated data size included in the redistribution request are output to the content extraction unit 319.

コンテンツ取出部319は、コンテンツ記憶部301内をコンテンツIDをキーとして再配信要求応答部318から入力されるコンテンツIDにフィールド「コンテンツID」の値が一致するコンテンツを検索してコンテンツを取り出す。そして、コンテンツ取出部319は、取り出したコンテンツにおいて配信要求に含まれる蓄積データサイズを利用して蓄積済みでないコンテンツのデータをコンテンツ送信部320へ出力する。
コンテンツ送信部320はコンテンツ取出部319から入力されるコンテンツのデータを再配信要求元のコンテンツ受信端末へ送信する。
The content extraction unit 319 searches the content storage unit 301 for content whose field “content ID” matches the content ID input from the redistribution request response unit 318 using the content ID as a key, and extracts the content. Then, the content extraction unit 319 outputs content data that has not been stored to the content transmission unit 320 using the storage data size included in the distribution request in the extracted content.
The content transmission unit 320 transmits the content data input from the content extraction unit 319 to the content receiving terminal that is the redistribution request source.

次に、図1のコンテンツ配信サーバ2によって行われるコンテンツ配信処理について図7を参照しつつ説明する。図7はコンテンツ配信サーバ2によって行われるコンテンツ配信処理の流れを示すフローチャートである。ただし、図7はコンテンツの配信要求を受信してから配信要求元のコンテンツ受信端末に再配信元のコンテンツ受信端末を通知するまでの処理の流れを示している。   Next, content distribution processing performed by the content distribution server 2 in FIG. 1 will be described with reference to FIG. FIG. 7 is a flowchart showing the flow of content distribution processing performed by the content distribution server 2. However, FIG. 7 shows the flow of processing from receiving a content distribution request until notifying the content receiving terminal of the distribution request source of the content receiving terminal of the redistribution source.

配信要求受信部205は、コンテンツ受信端末3a〜3dからコンテンツの配信要求を受信するのを待ち(ステップS101)、コンテンツの配信要求を受信すると、蓄積端末情報削除部206は、コンテンツの配信要求に含まれる不可IPアドレスが「ブランク」であるか否かを判断し、「ブランク」でなければ蓄積端末情報記憶部204内をIPアドレスをキーとしてコンテンツの配信要求に含まれる不可IPアドレスにフィールド「端末位置情報」のIPアドレスが一致するレコードを検索し、検索の結果見つかったレコードに記憶されている情報を削除する(ステップS102)。   The distribution request receiving unit 205 waits to receive a content distribution request from the content receiving terminals 3a to 3d (step S101). Upon receiving the content distribution request, the storage terminal information deleting unit 206 responds to the content distribution request. It is determined whether or not the included IP address is “blank”. If the IP address is not “blank”, the field “ A record having the same IP address of “terminal position information” is searched, and information stored in the record found as a result of the search is deleted (step S102).

蓄積端末情報取出部207は、配信要求に含まれるコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末を蓄積端末情報記憶部204内において検索する(ステップS103)。蓄積しているコンテンツ受信端末があれば(S103:YES)ステップS104の処理へ進み、蓄積しているコンテンツ受信端末がなければ(S103:NO)ステップS107の処理へ進む。   The storage terminal information extraction unit 207 searches the storage terminal information storage unit 204 for a content reception terminal that stores the content with the content ID included in the distribution request (step S103). If there is an accumulated content receiving terminal (S103: YES), the process proceeds to step S104, and if there is no accumulated content receiving terminal (S103: NO), the process proceeds to step S107.

蓄積端末情報取出部207は、ステップS103における検索の結果見つけた配信要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末のIPアドレス、コンテンツ保持期間、および配信状態情報を、蓄積端末情報記憶部204内の配信要求に含まれるコンテンツIDにフィールド「コンテンツID」の値が一致するレコードのフィールド「端末位置情報」、「コンテンツ保持期間」、および「配信状態」から取り出す(ステップS104)。   The storage terminal information extraction unit 207 stores the IP address, content holding period, and distribution status information of the content receiving terminal that stores the content of the requested content ID found as a result of the search in step S103, in the storage terminal information storage It is extracted from the fields “terminal position information”, “content holding period”, and “distribution status” of the record whose value of the field “content ID” matches the content ID included in the distribution request in the section 204 (step S104).

配信状態判断部208は、配信要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末のステップS104において取り出された「配信状態」に格納されている情報を確認し、配信要求されたコンテンツIDのコンテンツを蓄積しているコンテンツ受信端末の中に「配信状態」が「待機中」であるコンテンツ受信端末があるか否かを判断する(ステップS105)。「待機中」のコンテンツ受信端末があれば(S105:YES)ステップS106の処理へ進み、「待機中」のコンテンツ受信端末がなければ(S105:NO)ステップS107の処理へ進む。   The distribution status determination unit 208 confirms the information stored in the “distribution status” extracted in step S104 of the content receiving terminal that has accumulated the content of the content ID requested for distribution, and the content ID requested for distribution. It is determined whether or not there is a content receiving terminal whose “distribution status” is “standby” among the content receiving terminals that store the content (step S105). If there is a "standby" content receiving terminal (S105: YES), the process proceeds to step S106, and if there is no "standby" content receiving terminal (S105: NO), the process proceeds to step S107.

利用可否判断部209は、配信要求に含まれるコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末のステップS104において取り出された「コンテンツ保持期間」に格納されている情報を確認し、配信要求に含まれるコンテンツIDのコンテンツを蓄積している「待機中」のコンテンツ受信端末の中に現在時刻がコンテンツ保持期間内であるコンテンツ受信端末があるか否かを判断する(ステップS106)。コンテンツ保持期間内のコンテンツ受信端末があれば(S106:YES)ステップS109の処理へ進み、コンテンツ保持期間内のコンテンツ受信端末がなければ(S106:NO)ステップS107の処理へ進む。   The availability determination unit 209 confirms the information stored in the “content holding period” extracted in step S104 of the “standby” content receiving terminal that stores the content with the content ID included in the distribution request. Then, it is determined whether there is a content receiving terminal whose current time is within the content holding period among the “waiting” content receiving terminals that store the content of the content ID included in the distribution request (step S106). . If there is a content receiving terminal within the content holding period (S106: YES), the process proceeds to step S109. If there is no content receiving terminal within the content holding period (S106: NO), the process proceeds to step S107.

コンテンツ取出部212は、配信要求に含まれるコンテンツIDのコンテンツをコンテンツ記憶部301から取出し、配信要求に含まれた蓄積データサイズを利用して送信するコンテンツのデータの部分を特定し(ステップS107)、コンテンツ送信部213は配信要求元のコンテンツ受信端末に対して特定したコンテンツのデータ部分を送信する(ステップS108)。   The content extraction unit 212 extracts the content with the content ID included in the distribution request from the content storage unit 301, and specifies the data portion of the content to be transmitted using the accumulated data size included in the distribution request (step S107). The content transmission unit 213 transmits the data portion of the specified content to the content receiving terminal that is the distribution request source (step S108).

利用可否判断部209は、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内のコンテンツ受信端末が1台であるか2台以上であるかを判断し(ステップS109)、1台であれば(S109:1台)ステップS110の処理へ進み、2台以上であれば(S109:2台以上)ステップS111処理へ進む。   The availability determination unit 209 determines whether there is one content reception terminal or two or more content reception terminals that are in a standby state in which the content of the content ID requested for distribution is stored (step S109). If the number is one (S109: one), the process proceeds to step S110. If the number is two or more (S109: two or more), the process proceeds to step S111.

端末情報送信部211は、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内のコンテンツ受信端末のIPアドレスをコンテンツの配信要求元のコンテンツ受信端末に対して送信する(ステップS110)。   The terminal information transmitting unit 211 transmits the IP address of the content receiving terminal within the content holding period while waiting to store the content of the content ID requested for distribution to the content receiving terminal that is the content distribution request source ( Step S110).

最適配信端末検出部210の端末情報取出部210aは、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内の各コンテンツ受信端末について、そのIPアドレスを基づいてそのコンテンツ受信端末が接続されているルータのルータ名、および接続されている回線の回線速度を端末情報記憶部203から取り出すとともに、コンテンツの配信要求を行ったコンテンツ受信端末について、そのIPアドレスを利用してそのコンテンツ受信端末が接続されているルータのルータ名を端末情報記憶部203から取り出す。最小経由数端末特定部210bは、端末情報取出部210aによって取り出された配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内の各コンテンツ受信端末が接続されているルータ名のルータと、コンテンツの配信要求を行ったコンテンツ受信端末接続されているルータ名のルータと、を利用して、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中のコンテンツ保持期間内の各コンテンツ受信端末と、配信要求を行ったコンテンツ受信端末との間のデータ通信においてデータが経由するルータの数を検出する。そして、最小経由数端末特定部210bは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末の中から、配信要求を行ったコンテンツ受信端末とルータの経由数が最小のコンテンツ受信端末を検出する(ステップS111)。   The terminal information extraction unit 210a of the optimum distribution terminal detection unit 210 receives the content based on the IP address of each content reception terminal in the content holding period that is waiting and storing the content of the content ID requested for distribution. The router name of the router to which the terminal is connected and the line speed of the connected line are extracted from the terminal information storage unit 203, and the content receiving terminal that has made a content distribution request is used for the content receiving terminal using its IP address. The router name of the router to which the content receiving terminal is connected is extracted from the terminal information storage unit 203. The minimum number-of-routers terminal specifying unit 210b is the name of the router to which each content receiving terminal within the content holding period is connected while waiting to store the content of the content ID requested for distribution extracted by the terminal information extracting unit 210a. Within the standby content retention period in which the content with the content ID included in the distribution request is stored using the router of the router and the router with the name of the router connected to the content receiving terminal that made the content distribution request The number of routers through which data passes is detected in data communication between each content receiving terminal and the content receiving terminal that has requested distribution. 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. The content receiving terminal with the smallest number of vias is detected (step S111).

最小経由数端末特定部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 information transmission unit 211 is a content receiving terminal that is waiting for storing the content of the content ID requested to be distributed and is within the content holding period, and has the smallest number of routers passed through in step S111. The address is transmitted to the content receiving terminal that is the content distribution request source (step S113).

最大回線速度端末特定部210cは、配信要求に含まれるコンテンツIDのコンテンツを蓄積している待機中の保持期間内のコンテンツ受信端末のうちルータの経由数の最小のコンテンツ受信端末の中から、接続されている回線速度が最大のコンテンツ受信端末を検出する(ステップS114)。
端末情報送信部211は、配信要求されたコンテンツIDのコンテンツを蓄積している待機中でコンテンツ保持期間内のルータの経由数が最小のコンテンツ受信端末であってステップS114において回線速度が最大であるとして検出された全てのコンテンツ受信端末のIPアドレスをコンテンツの配信要求元のコンテンツ受信端末(1または複数)に対して送信する(ステップS115)。
The maximum line speed terminal specifying unit 210c connects from the content receiving terminals with the smallest number of passing through the router among the content receiving terminals in the holding period in which the content of the content ID included in the distribution request is stored. The content receiving terminal having the maximum line speed is detected (step S114).
The terminal information transmission unit 211 is a content receiving terminal that has the minimum number of routers in the content holding period during standby for storing the content of the content ID requested for distribution, and has the maximum line speed in step S114. The IP addresses of all the content receiving terminals detected as are transmitted to the content receiving terminal (s) that requested the content distribution (step S115).

次に、図1のコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理について図8を参照しつつ説明する。図8はコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理の流れを示すフローチャートである。図8はコンテンツの配信要求元及び再配信要求元のコンテンツ受信端末における処理の流れを示している。   Next, content distribution processing performed by the content receiving terminals 3a to 3d in FIG. 1 will be described with reference to FIG. FIG. 8 is a flowchart showing the flow of content distribution processing performed by the content receiving terminals 3a to 3d. FIG. 8 shows the flow of processing in the content receiving terminal of the content distribution request source and redistribution request source.

第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 distribution request unit 305 includes the IP address of its own content receiving terminal and the content ID input from the content ID input unit 304, and the content with the impossible IP address “blank” and the accumulated data size “0”. A distribution request is created, and a distribution request for the created content is transmitted (step S201). Thereafter, the content receiving terminal waits to receive from the content distribution server 2 either the content or the IP address of the content receiving terminal storing the content, and determines whether the received information is the content (step). S202). When the content receiving terminal receives content by the distribution content receiving unit 306 (S202: YES), the process proceeds to step S203, and the first content registration unit 307 receives the content received by the distribution content receiving unit 306. Is stored in the content storage unit 301 in association with the content ID (step S203). On the other hand, when the content receiving terminal receives the IP address of the content receiving terminal storing the content by the terminal information receiving unit 308 (S202: NO), the process proceeds to step S204.

再配信要求部309は、コンテンツID入力部304から入力されるコンテンツIDおよび蓄積データサイズ記憶部303に記憶されている蓄積データサイズを含む再配信要求を作成し、作成した再配信要求を端末情報受信部308によって受信されたIPアドレスのコンテンツ受信端末(1または複数)に対して送信する(ステップS204)。なお、再配信要求を行った後に再配信要求先のコンテンツ受信端末から配信応答を受信すると、コンテンツ受信端末の再配信情報送信部311は、配信応答をしてきたコンテンツ受信端末のIPアドレス(再配信元IPアドレス)を含む再配信情報を作成し、作成した再配信情報をコンテンツ配信サーバ2に対して送信する。   The redistribution request unit 309 creates a redistribution request including the content ID input from the content ID input unit 304 and the stored data size stored in the stored data size storage unit 303, and the generated redistribution request is transmitted to the terminal information. The information is transmitted to the content receiving terminal (or terminals) of the IP address received by the receiving unit 308 (step S204). When a distribution response is received from the content receiving terminal that is the redistribution request destination after making the redistribution request, the redistribution information transmitting unit 311 of the content receiving terminal receives the IP address (redistribution) of the content receiving terminal that has made the distribution response. Redistribution information including the original IP address is created, and the created redistribution information is transmitted to the content delivery server 2.

再配信監視部314は、再配信要求先のコンテンツ受信端末からコンテンツを受信することができない(再配信元のコンテンツ受信端末からの応答がない、再配信元のコンテンツ受信端末からの応答が配信拒否応答、ネットワークの問題による通信断、など)かを判断する(ステップS205)。再配信要求先のコンテンツ受信端末からコンテンツを受信することができない場合には(S205:YES)ステップS206の処理へ進み、再配信要求先のコンテンツ受信端末からコンテンツを受信することができる場合には(S205:NO)ステップS208の処理へ進む。   The redistribution monitoring unit 314 cannot receive the content from the redistribution request destination content receiving terminal (there is no response from the redistribution source content receiving terminal, the response from the redistribution source content receiving terminal is distribution refusal) It is determined whether or not communication, communication failure due to network problem, etc.) (step S205). If the content cannot be received from the redistribution request destination content receiving terminal (S205: YES), the process proceeds to step S206, and if the content can be received from the redistribution request destination content receiving terminal. (S205: NO) The process proceeds to step S208.

第2配信要求部315は、蓄積データサイズ記憶部303に記憶されている蓄積データサイズを取り出し(ステップS206)、取り出した蓄積データサイズ、およびコンテンツを送信する或いは送信していたコンテンツ受信端末のIPアドレスなどを含む上述したコンテンツの配信要求を作成し、作成したコンテンツの配信要求をコンテンツ配信サーバ2へ送信する(ステップS207)。   The second distribution request unit 315 extracts the stored data size stored in the stored data size storage unit 303 (step S206), transmits the extracted stored data size, and the IP of the content receiving terminal that has transmitted or transmitted the content. The above-described content distribution request including an address or the like is created, and the created content distribution request is transmitted to the content distribution server 2 (step S207).

第2コンテンツ登録部313は、再配信コンテンツ受信部312によって受信されているコンテンツをそのコンテンツIDに対応付けてコンテンツ記憶部301に格納する(ステップS208)。   The second content registration unit 313 stores the content received by the redistributed content reception unit 312 in the content storage unit 301 in association with the content ID (step S208).

次に、図1のコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理について図9を参照しつつ説明する。図9はコンテンツ受信端末3a〜3dによって行われるコンテンツ配信処理の流れを示すフローチャートである。図9はコンテンツの再配信要求先のコンテンツ受信端末における処理の流れを示している。   Next, content distribution processing performed by the content receiving terminals 3a to 3d in FIG. 1 will be described with reference to FIG. FIG. 9 is a flowchart showing the flow of content distribution processing performed by the content receiving terminals 3a to 3d. FIG. 9 shows the flow of processing in the content receiving terminal that is the content redistribution request destination.

再配信要求受信部317がコンテンツ受信端末からコンテンツの再配信要求を受信するのを待ち(ステップS301)、再配信要求受信部317が再配信要求を受信すると、再配信要求応答部318は、再配信が可能であるか(コンテンツ受信端末が他のコンテンツ受信端末との間でコンテンツの送受信を行っていないか、要求されたコンテンツを記憶しているか)を判断する(ステップS302)。再配信が可能でない場合には(S302:NO)再配信要求応答部318は配信拒否を示す応答を行う(ステップS303)。再配信が可能である場合には(S302:YES)再配信要求応答部318は配信応答を行う。コンテンツ取出部319は再配信要求に含まれるコンテンツIDを利用してコンテンツ記憶部301からコンテンツを取り出し、再配信要求に含まれる蓄積データサイズを利用して再配信するコンテンツのデータ部分を特定し、コンテンツ送信部320はその特定されたデータ部分のコンテンツを再配信要求元のコンテンツ受信端末へ送信する(ステップS304)。   Waiting for the redistribution request receiving unit 317 to receive a redistribution request for content from the content receiving terminal (step S301). When the redistribution request receiving unit 317 receives the redistribution request, the redistribution request responding unit 318 It is determined whether the distribution is possible (whether the content receiving terminal is not transmitting / receiving content to / from other content receiving terminals or storing the requested content) (step S302). If redistribution is not possible (S302: NO), the redistribution request response unit 318 makes a response indicating distribution rejection (step S303). If redistribution is possible (S302: YES), the redistribution request response unit 318 makes a distribution response. The content retrieval unit 319 retrieves content from the content storage unit 301 using the content ID included in the redistribution request, specifies the data portion of the content to be redistributed using the accumulated data size included in the redistribution request, The content transmitting unit 320 transmits the content of the specified data portion to the content receiving terminal that is the redistribution request source (step S304).

次に、図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 distribution request unit 305 of the content receiving terminal 3a transmits a content distribution request to the content distribution server 2, and the transmitted distribution request is received by the distribution request reception unit 205 of the content distribution server 2 (step S401). ). The content distribution server 2 detects the optimum content receiving terminal 3b by performing the above-described processing of FIG. 7 (step S402). The terminal information transmission unit 211 of the content distribution server 2 transmits the IP address of the optimum content reception terminal 3b to the content reception terminal 3a that is the distribution request source, and the transmitted IP address of the content reception terminal 3b is the content reception terminal 3a. Is received by the terminal information receiving unit 308 (step S403).

コンテンツ受信端末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 redistribution request unit 309 of the content receiving terminal 3a transmits the redistribution request to the content receiving terminal 3b of the IP address received in step S403, and the redistribution request transmitted is the redistribution request receiving unit of the content receiving terminal 3b. It is received by 317 (step S404). The redistribution request response unit 318 of the content receiving terminal 3b performs a response (distribution response) for distributing the redistribution request, and the response receiving unit 310 of the content receiving terminal 3a receives the distribution response (step S405). The redistribution information transmitting unit 311 of the content receiving terminal 3a transmits redistribution information including the IP address of the content receiving terminal 3b that is a redistribution source to the content distribution server 2, and the transmitted redistribution information is the content distribution server. 2 is received by the second redistribution information receiving unit 214 (step S406). The first distribution state changing unit 215 of the content distribution server 2 matches the IP address of the field “terminal location information” with the IP address of the content receiving terminal 3 b included in the redistribution information stored in the storage terminal information storage unit 204. The field “delivery status” of each record is changed from “standby” to “delivering”.

コンテンツ受信端末3bのコンテンツ取出部319はコンテンツ記憶部301から再配信要求に含まれるコンテンツIDのコンテンツを取り出す。そして、コンテンツ送信部320は取り出したコンテンツをコンテンツ受信端末3aへ送信し、送信されたコンテンツがコンテンツ受信端末3aの再配信コンテンツ受信部312によって受信される(ステップS407)。そして、コンテンツ受信端末3aにおいて受信されたコンテンツが第2コンテンツ登録部313によってコンテンツ記憶部301に記憶される。   The content extracting unit 319 of the content receiving terminal 3b extracts the content with the content ID included in the redistribution request from the content storage unit 301. Then, the content transmitting unit 320 transmits the extracted content to the content receiving terminal 3a, and the transmitted content is received by the redistributed content receiving unit 312 of the content receiving terminal 3a (step S407). Then, the content received at the content receiving terminal 3 a is stored in the content storage unit 301 by the second content registration unit 313.

コンテンツ受信端末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 information transmitting unit 316 of the content receiving terminal 3a receives the content ID of the received content, the IP address of the content receiving terminal 3a, and the content redistribution source Re-distribution completion information including the IP address of the content receiving terminal 3b is transmitted to the content distribution server 2. Then, the transmitted redistribution completion information is received by the redistribution completion information receiving unit 216 of the content distribution server 2 (step S408). The second distribution state changing unit 217 of the content distribution server 2 matches the IP address of the field “terminal location information” with the IP address of the content receiving terminal 3 b included in the redistribution completion information stored in the storage terminal information storage unit 204. The field “delivery status” of each record to be changed is changed from “delivering” to “standby”. Then, the storage terminal information adding unit 218 newly adds the content ID included in the redistribution completion information and the IP address of the content receiving terminal 3a to the field “content ID” and the field “terminal location information” of the storage terminal information storage unit 204. And stores the date (content holding period) obtained by adding a predetermined period to the current time in the corresponding field “content holding period”, and “standby” in the corresponding field “delivery state” Is stored.

次に、図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 distribution request unit 305 of the content receiving terminal 3a transmits a content distribution request to the content distribution server 2, and the transmitted distribution request is received by the distribution request receiving unit 205 of the content distribution server 2 (step S501). ). The content distribution server 2 detects the optimum content receiving terminal 3b by performing the above-described processing of FIG. 7 (step S502). The terminal information transmission unit 211 of the content distribution server 2 transmits the IP address of the optimum content reception terminal 3b to the content reception terminal 3a that is the distribution request source, and the transmitted IP address of the content reception terminal 3b is the content reception terminal 3a. Is received by the terminal information receiving unit 308 (step S503).

コンテンツ受信端末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 redistribution request unit 309 of the content receiving terminal 3a transmits the redistribution request to the content receiving terminal 3b having the IP address received in step S503 (step S504). Since the response receiving unit 310 of the content receiving unit 3a could not receive a response from the content receiving terminal 3b (step S505), the second distribution requesting unit 315 obtains the IP address and content ID of its own content receiving terminal 3a. Including a distribution request whose content IP address is the IP address of the content receiving terminal 3b and whose stored data size is “0” is transmitted to the content distribution server 2, and the transmitted distribution request is distributed by the content distribution server 2. The request is received by the request receiving unit 205 (step S506). The content distribution server 2 performs the above-described processing of FIG. 7 to delete the content receiving terminal 3b having the impossible IP address from the storage terminal information storage unit 204 and detect the optimum content receiving terminal 3c (step S507). The terminal information transmitting unit 211 of the content distribution server 2 transmits the IP address of the optimum content receiving terminal 3c to the content receiving terminal 3a that is the distribution request source, and the transmitted IP address of the content receiving terminal 3c is the content receiving terminal 3a. Is received by the terminal information receiving unit 308 (step S508).

コンテンツ受信端末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 redistribution request unit 309 of the content receiving terminal 3a transmits the redistribution request to the content receiving terminal 3c of the IP address received in step S508, and the redistribution request transmitted is the redistribution request receiving unit of the content receiving terminal 3c. It is received by 317 (step S509). The redistribution request response unit 318 of the content receiving terminal 3c makes a response (distribution response) for distributing the redistribution request, and the response receiving unit 310 of the content receiving terminal 3a receives the distribution response (step S510). The redistribution information transmission unit 311 of the content receiving terminal 3a transmits redistribution information including the IP address of the content receiving terminal 3c that is the redistribution source to the content distribution server 2, and the transmitted redistribution information is the content distribution server. 2 is received by the redistribution information receiving unit 214 (step S511). The first distribution state changing unit 215 of the content distribution server 2 matches the IP address of the field “terminal location information” with the IP address of the content receiving terminal 3 c included in the redistribution information stored in the storage terminal information storage unit 204. The field “delivery status” of each record is changed from “standby” to “delivering”.

コンテンツ受信端末3cのコンテンツ取出部319は再配信要求に含まれるコンテンツIDのコンテンツを取り出す。そして、コンテンツ送信部320は取り出したコンテンツをコンテンツ受信端末3aへ送信し、送信されたコンテンツがコンテンツ受信端末3aの再配信コンテンツ受信部312によって受信される(ステップS512)。そして、コンテンツ受信端末3aにおいて受信されたコンテンツが第2コンテンツ登録部313によってコンテンツ記憶部301に記憶される。   The content extraction unit 319 of the content receiving terminal 3c extracts the content with the content ID included in the redistribution request. Then, the content transmitting unit 320 transmits the extracted content to the content receiving terminal 3a, and the transmitted content is received by the redistributed content receiving unit 312 of the content receiving terminal 3a (step S512). Then, the content received at the content receiving terminal 3 a is stored in the content storage unit 301 by the second content registration unit 313.

コンテンツ受信端末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 information transmitting unit 316 of the content receiving terminal 3a receives the content ID of the received content, the IP address of the content receiving terminal 3a, and the content redistribution source The redistribution completion information including the IP address of the content receiving terminal 3c is transmitted to the content distribution server 2, and the transmitted redistribution completion information is received by the redistribution completion information receiving unit 216 of the content distribution server 2 (step). S513). The second distribution state changing unit 217 of the content distribution server 2 matches the IP address of the field “terminal location information” with the IP address of the content receiving terminal 3 c included in the redistribution completion information stored in the storage terminal information storage unit 204. The field “delivery status” of each record to be changed is changed from “delivering” to “standby”. Then, the storage terminal information adding unit 218 newly adds the content ID included in the redistribution completion information and the IP address of the content receiving terminal 3a to the field “content ID” and the field “terminal location information” of the storage terminal information storage unit 204. And stores the date (content holding period) obtained by adding a predetermined period to the current time in the corresponding field “content holding period”, and “standby” in the corresponding field “delivery state” Is stored.

次に、図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 distribution request unit 305 of the content receiving terminal 3a transmits a content distribution request to the content distribution server 2, and the transmitted distribution request is received by the distribution request receiving unit 205 of the content distribution server 2 (step S601). ). The content distribution server 2 detects the optimum content receiving terminal 3b by performing the above-described processing of FIG. 7 (step S602). The terminal information transmission unit 211 of the content distribution server 2 transmits the IP address of the optimum content reception terminal 3b to the content reception terminal 3a that is the distribution request source, and the transmitted IP address of the content reception terminal 3b is the content reception terminal 3a. Is received by the terminal information receiving unit 308 (step S603).

コンテンツ受信端末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 redistribution request unit 309 of the content receiving terminal 3a transmits the redistribution request to the content receiving terminal 3b of the IP address received in step S503, and the transmitted redistribution request is the redistribution request receiving unit of the content receiving terminal 3b. It is received by 317 (step S604). The redistribution request response unit 318 of the content receiving terminal 3b performs a response (distribution response) for distributing the redistribution request, and the response receiving unit 310 of the content receiving terminal 3a receives the distribution response (step S605). The redistribution information transmitting unit 311 of the content receiving terminal 3a transmits redistribution information including the IP address of the content receiving terminal 3b that is a redistribution source to the content distribution server 2, and the transmitted redistribution information is the content distribution server. 2 is received by the redistribution information receiving unit 214 (step S606). The first distribution state changing unit 215 of the content distribution server 2 matches the IP address of the field “terminal location information” with the IP address of the content receiving terminal 3 b included in the redistribution information stored in the storage terminal information storage unit 204. The field “delivery status” of each record is changed from “standby” to “delivering”.

コンテンツ受信端末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 content extracting unit 319 of the content receiving terminal 3b extracts the content with the content ID included in the redistribution request. Then, the content transmitting unit 320 transmits the extracted content to the content receiving terminal 3a, and the transmitted content is received by the redistributed content receiving unit 312 of the content receiving terminal 3a (step S607). Then, the content received at the content receiving terminal 3 a is stored in the content storage unit 301 by the second content registration unit 313. If the content receiving terminal 3a cannot receive the content from the content receiving terminal 3b due to the communication interruption in the middle (step S608), the second content receiving terminal 3a stores the content stored so far in the content storage unit 301. The data size is calculated and stored in the accumulated data size storage unit 303. Then, the second distribution request unit 315 includes the IP address and content ID of the content receiving terminal 3a, the impossible IP address is the IP address of the content receiving terminal 3b, and the stored data size can be received from the content receiving terminal 3b. The distribution request having the data size is transmitted to the content distribution server 2, and the transmitted distribution request is received by the distribution request receiving unit 205 of the content distribution server 2 (step S609). The content distribution server 2 performs the above-described processing of FIG. 7 to delete the content receiving terminal 3b having the impossible IP address from the storage terminal information storage unit 204 and detect the optimum content receiving terminal 3c (step S610). The terminal information transmitting unit 211 of the content distribution server 2 transmits the IP address of the optimum content receiving terminal 3c to the content receiving terminal 3a that is the distribution request source, and the transmitted IP address of the content receiving terminal 3c is the content receiving terminal 3a. Is received by the terminal information receiving unit 308 (step S611).

コンテンツ受信端末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 redistribution request unit 309 of the content receiving terminal 3a sends a redistribution request including the content ID and the data size (accumulated data size) of the content received from the content receiving terminal 3b to the content receiving terminal 3c having the IP address received in step S611. The redistribution request transmitted is received by the redistribution request receiving unit 317 of the content receiving terminal 3b (step S612). The redistribution request response unit 318 of the content receiving terminal 3c performs a response (distribution response) for distributing the redistribution request, and the response receiving unit 310 of the content receiving terminal 3a receives the distribution response (step S613). The redistribution information transmitting unit 311 of the content receiving terminal 3a transmits redistribution information including the IP address of the content receiving terminal 3c that is a redistribution source to the content distribution server 2, and the transmitted redistribution information is the content distribution server. 2 is received by the redistribution information receiving unit 214 (step S614). The first distribution state changing unit 215 of the content distribution server 2 matches the IP address of the field “terminal location information” with the IP address of the content receiving terminal 3 c included in the redistribution information stored in the storage terminal information storage unit 204. The field “delivery status” of each record is changed from “standby” to “delivering”.

コンテンツ受信端末3cのコンテンツ取出部319は再配信要求に含まれるコンテンツIDのコンテンツを取り出し、再配信要求に含まれる蓄積データサイズを利用してコンテンツ受信端末3aが蓄積していないコンテンツのデータ部分を特定する。そして、コンテンツ送信部320は特定したデータ部分のコンテンツをコンテンツ受信端末3aへ送信し、送信されたコンテンツがコンテンツ受信端末3aの再配信コンテンツ受信部312によって受信される(ステップS615)。そして、コンテンツ受信端末3aにおいて受信されたコンテンツが第2コンテンツ登録部313によってコンテンツ記憶部301に記憶される。   The content extraction unit 319 of the content receiving terminal 3c extracts the content with the content ID included in the redistribution request, and uses the stored data size included in the redistribution request to extract the data portion of the content that is not stored in the content receiving terminal 3a. Identify. Then, the content transmitting unit 320 transmits the content of the specified data portion to the content receiving terminal 3a, and the transmitted content is received by the redistributed content receiving unit 312 of the content receiving terminal 3a (step S615). Then, the content received at the content receiving terminal 3 a is stored in the content storage unit 301 by the second content registration unit 313.

コンテンツ受信端末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 information transmitting unit 316 of the content receiving terminal 3a receives the content ID of the received content, the IP address of the content receiving terminal 3a, and the content redistribution source The redistribution completion information including the IP address of the content receiving terminal 3c is transmitted to the content distribution server 2, and the transmitted redistribution completion information is received by the redistribution completion information receiving unit 216 of the content distribution server 2 (step). S616). The second distribution state changing unit 217 of the content distribution server 2 matches the IP address of the field “terminal location information” with the IP address of the content receiving terminal 3 c included in the redistribution completion information stored in the storage terminal information storage unit 204. Change the field “delivery status” of the record to be changed from “delivering” to “waiting”. Then, the storage terminal information adding unit 218 newly adds the content ID included in the redistribution completion information and the IP address of the content receiving terminal 3a to the field “content ID” and the field “terminal location information” of the storage terminal information storage unit 204. And stores the date (content holding period) obtained by adding a predetermined period to the current time in the corresponding field “content holding period”, and “standby” in the corresponding field “delivery state” Is stored.

以上説明した本発明の実施の形態によれば、要求されたコンテンツ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 content distribution server 2 includes an encryption unit that encrypts content using an encryption key. In the content storage unit 201, content encrypted by the encryption unit (encrypted content) is associated with a content ID. Is remembered. The content distribution server 2 includes a decryption key storage unit that stores a decryption key for decrypting the encrypted content in association with the content ID.

上記実施の形態と同様にしてコンテンツの配信要求元のコンテンツ受信端末に暗号化コンテンツが蓄積される。その後暗号化コンテンツを記憶したコンテンツ受信端末はコンテンツ配信サーバ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 content distribution server 2 receives the decryption key request (decryption key request). Receiving means). When the content distribution server receives the decryption key request, the content distribution server 2 uses the content ID included in the decryption key request to extract the decryption key stored in the decryption key storage unit in association with the content ID (decryption). Key retrieval means). Then, the content distribution server 2 transmits the extracted decryption key to the content receiving terminal requesting the decryption key (decryption key transmitting means), and the content receiving terminal requesting the decryption key receives the transmitted decryption key ( Decryption key receiving means). The content receiving terminal that requested the decryption key uses the received decryption key to decrypt the encrypted content (content decryption means), reproduces the decrypted content, and displays it on the display, for example.

上記変形例によれば、暗号化されたコンテンツの閲覧などをする場合コンテンツ配信サーバから復号鍵を得る仕組みになっているので、コンテンツに対する課金などをコンテンツ配信サーバにおいて行うことが可能になり、コンテンツの著作権管理が可能になる。   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.

本発明の実施の形態におけるコンテンツ配信システムのシステム構成図。The system block diagram of the content delivery system in embodiment of this invention. 図1のネットワークの構成例を示す図。The figure which shows the structural example of the network of FIG. 図1のコンテンツ配信サーバの機能構成を示す機能ブロック図。The functional block diagram which shows the function structure of the content delivery server of FIG. 図3の端末情報記憶部の記憶内容の一例を示す図。The figure which shows an example of the memory content of the terminal information storage part of FIG. 図3の蓄積端末情報記憶部の記憶内容の一例を示す図。The figure which shows an example of the memory content of the storage terminal information storage part of FIG. 図1のコンテンツ受信端末の機能構成を示す機能ブロック図。The functional block diagram which shows the function structure of the content receiving terminal of FIG. 図1のコンテンツ配信サーバが行うコンテンツ配信処理の流れを示すフローチャート。The flowchart which shows the flow of the content delivery process which the content delivery server of FIG. 1 performs. 図1のコンテンツ受信端末が行うコンテンツ配信処理の流れを示すフローチャート。The flowchart which shows the flow of the content delivery process which the content receiving terminal of FIG. 1 performs. 図1のコンテンツ受信端末が行うコンテンツ配信処理の流れを示すフローチャート。The flowchart which shows the flow of the content delivery process which the content receiving terminal of FIG. 1 performs. 図1のコンテンツ配信システムが行うコンテンツの配信処理の流れの一例を示すシーケンス図。The sequence diagram which shows an example of the flow of the content delivery process which the content delivery system of FIG. 1 performs. 図1のコンテンツ配信システムが行うコンテンツの配信処理の流れの一例を示すシーケンス図。The sequence diagram which shows an example of the flow of the content delivery process which the content delivery system of FIG. 1 performs. 図1のコンテンツ配信システムが行うコンテンツの配信処理の流れの一例を示すシーケンス図。The sequence diagram which shows an example of the flow of the content delivery process which the content delivery system of FIG. 1 performs.

符号の説明Explanation of symbols

1 コンテンツ配信システム
2 コンテンツ配信サーバ
3a〜3d コンテンツ受信端末

DESCRIPTION OF SYMBOLS 1 Content distribution system 2 Content distribution server 3a-3d Content receiving terminal

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から請求項4の何れか1項に記載のコンテンツ配信サーバ。   The terminal information transmitting means transmits terminal information of all content receiving terminals determined as optimal distribution terminals when a plurality of content receiving terminals are determined as optimal distribution terminals by the optimal distribution terminal detecting means. The content distribution server according to any one of claims 1 to 4. コンテンツを識別するためのコンテンツ識別情報と当該コンテンツとを対応付けて記憶するコンテンツ記憶手段と、
前記コンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて記憶されている端末情報が前記蓄積端末情報記憶手段にない場合に、当該コンテンツの配信要求に含まれるコンテンツ識別情報に対応付けて前記コンテンツ記憶手段に記憶されているコンテンツを取り出すコンテンツ取出手段と、
前記コンテンツ取出手段により取り出されたコンテンツを前記コンテンツの配信要求を行ったコンテンツ受信端末に対して送信するコンテンツ送信手段と、
をさらに備えたことを特徴とする請求項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

JP2005101333A 2005-03-31 2005-03-31 Content delivery server, content delivery method, and content delivery program Pending JP2006285387A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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