JP2008067089A - Content distribution system, terminal equipment in the system, program for the equipment, and information management method by the equipment - Google Patents

Content distribution system, terminal equipment in the system, program for the equipment, and information management method by the equipment Download PDF

Info

Publication number
JP2008067089A
JP2008067089A JP2006243240A JP2006243240A JP2008067089A JP 2008067089 A JP2008067089 A JP 2008067089A JP 2006243240 A JP2006243240 A JP 2006243240A JP 2006243240 A JP2006243240 A JP 2006243240A JP 2008067089 A JP2008067089 A JP 2008067089A
Authority
JP
Japan
Prior art keywords
distribution system
information
terminal device
content
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
JP2006243240A
Other languages
Japanese (ja)
Inventor
Hideki Matsuo
英輝 松尾
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2006243240A priority Critical patent/JP2008067089A/en
Publication of JP2008067089A publication Critical patent/JP2008067089A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a content distribution system capable of securing a sufficient storage area in the storage part of terminal equipment as the area for a second distribution system, even when the terminal equipment participates in the second distribution system, which distributes content data by streaming in a broadcasting form from a content distribution device to the terminal equipment, in a state where the terminal equipment participates in a first distribution system, where the other terminal equipment holding the content data distributes the content data, based on the download request of the content data from one terminal equipment, between several pieces of terminal equipment, and to provide the terminal equipment in the system, the program for the terminal equipment, and an information management method by the terminal equipment. <P>SOLUTION: When the terminal equipment participates in the second distribution system in a state where the equipment participates in the first distribution system, a part of the storage area to be secured for the first distribution system is functioned as the storage area for the second distribution system concerning the storage part of the terminal equipment. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、コンテンツ配信システム及び同システムにおける端末装置及び同端末装置のプログラム及び同端末装置による情報管理方法に関するものである。   The present invention relates to a content distribution system, a terminal device in the system, a program for the terminal device, and an information management method using the terminal device.

近年、インターネットを始めとする情報通信ネットワーク(以下、単に「ネットワーク」という。)にパーソナルコンピュータ等の端末装置を接続して、所望する音楽や映画等のコンテンツに相当するコンテンツデータを保持しているサーバや他の端末装置からコンテンツデータを受信し、受信したコンテンツデータを各端末装置で視聴することができるコンテンツ配信システムが広く利用されている。   In recent years, a terminal device such as a personal computer is connected to an information communication network such as the Internet (hereinafter simply referred to as a “network”) to hold content data corresponding to desired content such as music or movies. 2. Description of the Related Art Content distribution systems that can receive content data from a server or another terminal device and can view the received content data on each terminal device are widely used.

この種のコンテンツ配信システムには、ネットワークに接続した所望のコンテンツデータを保持している他の端末装置からダウンロード要求を送信した端末装置へコンテンツデータを配信するオンデマンド型のコンテンツ配信システム(以下、「第1配信システム」という。)と、ネットワーク上においてコンテンツ配信装置から放送形態にてストリーミング配信されているコンテンツデータを、そのネットワークに接続することによってストリーミング受信する放送型のコンテンツ配信システム(以下、「第2配信システム」という。)とがある。   This type of content distribution system includes an on-demand content distribution system (hereinafter referred to as “content distribution system”) that distributes content data to a terminal device that has transmitted a download request from another terminal device that holds desired content data connected to a network. "First distribution system") and a broadcast-type content distribution system (hereinafter referred to as "first distribution system") that receives content data that has been distributed in a broadcast form from a content distribution apparatus on a network by connecting to the network. "Second delivery system").

この第1の配信システムとしては、たとえば、ネットワークに接続している複数の端末装置に複数種類のコンテンツデータが分散して保持され、各端末装置間で相互にコンテンツデータの授受を行うコンテンツ配信システムが知られている(たとえば、特許文献1参照)。   As this first distribution system, for example, a content distribution system in which a plurality of types of content data are distributed and held in a plurality of terminal devices connected to a network, and content data is exchanged between the terminal devices. Is known (see, for example, Patent Document 1).

そして、この第1配信システムにより所望のコンテンツデータをダウンロードするためには、ネットワーク上に存在する複数種類のコンテンツデータから所望のコンテンツデータを識別すると共に、ネットワーク上において所望のコンテンツデータを保持している他の端末装置を識別する必要がある。   In order to download the desired content data by the first distribution system, the desired content data is identified from a plurality of types of content data existing on the network, and the desired content data is held on the network. It is necessary to identify other terminal devices that are present.

そこで、第1配信システムでは、DHT(Distributed Hash Table:分散ハッシュテーブル)を用いて、全てのコンテンツデータに各コンテンツデータを識別するためのコンテンツ識別情報(以下、「コンテンツID」という。)を付与すると共に、全ての端末装置に各端末装置を識別するための端末識別情報(以下、「端末ID」という。)を付与し、所定のコンテンツデータに関するコンテンツIDとそのコンテンツデータを保持している端末装置の所在情報(以下、「IPアドレス」という。)と、端末IDとを関連付けた情報(以下、「インデックスキャッシュ情報」という。)をネットワークに接続している一部の端末装置(以下、「ルート端末装置」という。)に分散して記憶させるようにしている。   Therefore, in the first distribution system, content identification information (hereinafter referred to as “content ID”) for identifying each content data is assigned to all the content data using a DHT (Distributed Hash Table). At the same time, terminal identification information (hereinafter referred to as “terminal ID”) for identifying each terminal device is assigned to all terminal devices, and a content ID related to predetermined content data and a terminal holding the content data Some terminal apparatuses (hereinafter referred to as “IP cache”) and information relating to the location of the apparatus (hereinafter referred to as “IP address”) and terminal ID (hereinafter referred to as “index cache information”). It is stored in a distributed manner on the “root terminal device”.

このとき、あるコンテンツデータのルート端末装置となる端末装置は、あるコンテンツデータに付与されたコンテンツIDの各桁における情報と、端末IDの各桁における情報とが、上位側から連続して最も多く一致する端末ID(コンテンツIDと最も近い端末ID)が付与されている端末装置である。   At this time, the terminal device that is the root terminal device of certain content data has the largest number of information in each digit of the content ID assigned to the certain content data and information in each digit of the terminal ID continuously from the upper side. This is a terminal device to which a matching terminal ID (terminal ID closest to the content ID) is assigned.

このルート端末装置に記憶されるインデックスキャッシュ情報は、新たにコンテンツデータを保持した端末装置から所定の規則に従って複数の端末装置に転送されながら最終的にルート端末装置まで転送される情報であり、この転送経路にあたる各端末装置にも記憶される。なお、インデックスキャッシュ情報を転送する各端末装置は、それぞれが備える後述のルーティングテーブルに従ってインデックスキャッシュ情報を転送する。   The index cache information stored in the root terminal device is information that is finally transferred to the root terminal device while being transferred to a plurality of terminal devices according to a predetermined rule from the terminal device that newly holds the content data. It is also stored in each terminal device corresponding to the transfer path. Each terminal device that transfers the index cache information transfers the index cache information according to a routing table that will be described later.

また、各端末装置は、全端末IDのなかの一部の端末IDと、その端末IDに対応する端末装置のネットワーク上に置けるIPアドレスとを関連付けた他端末情報が記録されたルーティングテーブルを備えている。   Each terminal device includes a routing table in which other terminal information in which a part of the terminal IDs among all the terminal IDs is associated with an IP address that can be placed on the network of the terminal device corresponding to the terminal ID is recorded. ing.

このルーティングテーブルには、全ての端末IDが含まれる端末ID群(以下、「ID空間」という。)を段階的なレベル毎にレベル数を上げつつ細分化していき、そのレベル(段階的に細分化した領域)毎に、任意に選択した端末装置の端末IDとそのIPアドレスとを対にした他端末情報が格納されている。   In this routing table, a terminal ID group (hereinafter referred to as “ID space”) including all terminal IDs is subdivided while increasing the number of levels for each stepped level, and the level (stepwise subdivision). For each area), other terminal information in which a terminal ID of an arbitrarily selected terminal device and its IP address are paired is stored.

つまり、このルーティングテーブルには、全端末装置のなかの一部の端末装置に関する他端末情報が格納されているのである。   In other words, this terminal table stores other terminal information related to some terminal devices among all terminal devices.

そして、各端末装置は、コンテンツデータのダウンロード要求やインデックスキャッシュ情報等といった所定のコンテンツデータに関する各種情報(メッセージ)を他の端末装置へ送信する際には、このルーティングテーブルを参照して、ルーティングテーブルに格納している他端末情報のなかで、所定のコンテンツデータのコンテンツIDと最も近い端末IDが付与された端末装置に情報を送信し、この情報を受信した端末装置は、自身が備えるルーティングテーブルを参照して同様に他の端末へ受信した情報を送信(転送)して最終的にその情報がルートノードへ転送されるのである。   Each terminal device refers to this routing table when transmitting various information (messages) related to predetermined content data such as a content data download request and index cache information to the other terminal device. In the other terminal information stored in the terminal device, information is transmitted to the terminal device to which the terminal ID closest to the content ID of the predetermined content data is assigned, and the terminal device that has received this information has its own routing table. Similarly, the received information is transmitted (transferred) to other terminals, and the information is finally transferred to the root node.

このように構成した第1配信システムでは、各端末装置が第1配信システムに参加するためのアプリケーションを起動して、ネットワークに接続すると共に、各端末装置が備える記憶部に第1配信システム用の記憶領域を確保し、この第1配信システム用の記憶領域に、上記したルーティングテーブルやインデックスキャッシュ情報、現在ダウンロード可能なコンテンツデータのリスト情報を含むカタログ情報等といった各種情報を記憶する。   In the first distribution system configured as described above, each terminal device starts an application for participating in the first distribution system, connects to the network, and the storage unit included in each terminal device uses the first distribution system. A storage area is secured, and various information such as the above routing table, index cache information, catalog information including list information of currently downloadable content data, and the like are stored in the storage area for the first distribution system.

そして、ある端末装置がコンテンツデータの配信を受けようとする場合、その端末装置は、まず、第1配信システム用の記憶領域に記憶しているルーティングテーブルを参照して、所望のコンテンツデータを保持している端末装置に関する情報を得るために、ルートノード宛に所定のメッセージを送信する。   When a terminal device intends to receive distribution of content data, the terminal device first holds desired content data by referring to the routing table stored in the storage area for the first distribution system. A predetermined message is transmitted to the root node in order to obtain information on the terminal device that is currently operating.

このメッセージは、上記したように、いくつかの端末装置に転送されてルートノードに受信される。そして、このメッセージを受信したルートノードは、メッセージの送信元の端末装置へその端末装置が受信しようとしているコンテンツデータに関するインデックスキャッシュ情報を返信する。   As described above, this message is transferred to several terminal devices and received by the root node. Then, the root node that has received this message returns index cache information related to the content data that the terminal device is about to receive to the terminal device that is the source of the message.

このインデックスキャッシュ情報を受信した端末装置は、受信したインデックスキャッシュ情報を参照して、所望のコンテンツデータを保持している端末装置にコンテンツのダウンロード要求を送信することによって、所望のコンテンツデータの配信を受けるのである。   The terminal device that has received the index cache information refers to the received index cache information, and transmits the content download request to the terminal device that holds the desired content data, thereby distributing the desired content data. To receive.

また、第2配信システムとしては、たとえば、コンテンツ配信装置を頂点として複数の端末装置がネットワーク上にツリー状の階層構造で多層に論理接続され、コンテンツ配信装置から放送形態にて配信されるコンテンツデータが、ツリー状の階層構造の上流に接続された端末装置から下流に接続された端末装置にかけて順次各端末装置の中継機能によってストリーミング配信されるコンテンツ配信システムが知られている(たとえば、特許文献2参照。)。   In addition, as the second distribution system, for example, content data distributed in a broadcast form from a content distribution device in which a plurality of terminal devices are logically connected in a tree-like hierarchical structure on a network with the content distribution device at the top. However, there is known a content distribution system in which streaming is sequentially performed by a relay function of each terminal device from a terminal device connected upstream of a tree-like hierarchical structure to a terminal device connected downstream (for example, Patent Document 2). reference.).

すなわち、この第2配信システムでは、各端末装置が第2配信システムに参加するためアプリケーションを起動して、ネットワークに接続すると共に、各端末装置が備える記憶部の第2配信システム用の記憶領域を確保する。   That is, in this second distribution system, each terminal device participates in the second distribution system, starts an application, connects to the network, and has a storage area for the second distribution system in the storage unit included in each terminal device. Secure.

そして、ある端末装置がコンテンツデータの配信を受けようとする場合、その端末装置は、まず、上記階層構造における各端末装置の論理接続の状態を管理する接続管理装置へ第2配信システムへの参加要求を送信し、接続管理装置から送信される接続先となる端末装置のIPアドレスを受信する。   When a terminal device intends to receive distribution of content data, the terminal device first participates in the second distribution system to the connection management device that manages the logical connection state of each terminal device in the hierarchical structure. The request is transmitted, and the IP address of the terminal device as the connection destination transmitted from the connection management device is received.

その後、このIPアドレスを受信した端末装置は、受信したIPアドレスに対応した端末装置の階層構造における下流側に接続して、階層構造における上流側の端末装置から所望のコンテンツデータを受信する。   Thereafter, the terminal device that has received this IP address connects to the downstream side in the hierarchical structure of the terminal device corresponding to the received IP address, and receives desired content data from the upstream terminal device in the hierarchical structure.

このとき、この端末装置は、第2配信システム用の記憶領域をリングバッファとして機能させ、階層構造における上流側の端末装置からストリーミング受信したコンテンツデータを順次リングバッファに一時的に蓄積し、このリングバッファに蓄積したコンテンツデータを順次再生すると共に、再生の終了した部分のコンテンツデータをリングバッファから削除するようにしている。   At this time, the terminal device causes the storage area for the second distribution system to function as a ring buffer, and temporarily stores the content data stream-received from the upstream terminal device in the hierarchical structure in the ring buffer. The content data stored in the buffer is sequentially played back, and the content data of the part that has been played back is deleted from the ring buffer.

また、階層構造において、この端末装置の階層構造における下流側に他の端末装置が接続している場合には、再生したコンテンツデータをリングバッファから削除する前に、階層構造における下流側に接続している他の端末装置へ中継(ストリーミング配信)し、その後、リングバッファから削除するようにしている。
特開2006−197400号公報 特開2006−087046号公報
Also, in the hierarchical structure, when another terminal device is connected to the downstream side in the hierarchical structure of this terminal device, the reproduced content data is connected to the downstream side in the hierarchical structure before being deleted from the ring buffer. It is relayed to other terminal devices (streaming distribution) and then deleted from the ring buffer.
JP 2006-197400 A JP 2006-087046 A

ところが従来の端末装置では、上記したように、第1配信システムに参加する場合には、端末装置の記憶部に第1配信システム用の記憶領域を確保し、第2配信システムに参加する場合には、端末装置の記憶部に第2配信システム用の記憶領域を確保するため、第1配信システムに参加している状態で第2配信システムに参加した場合、第2配信システム用の記憶領域を十分に確保することができずに、第2配信システムによるコンテンツデータのストリーミング受信に支障をきたす恐れがあるという問題点があった。   However, in the conventional terminal device, as described above, when participating in the first distribution system, a storage area for the first distribution system is secured in the storage unit of the terminal device, and when participating in the second distribution system. In order to secure a storage area for the second distribution system in the storage unit of the terminal device, when participating in the second distribution system while participating in the first distribution system, the storage area for the second distribution system is There is a problem that the second delivery system may interfere with streaming reception of content data without being sufficiently secured.

すなわち、端末装置が第1配信システムに参加している状態では、インデックスキャッシュ情報や、カタログ情報、ルーティングテーブル等といった様々な情報を記憶しておく必要があるため、第1配信システム用の記憶領域として比較的大きな記憶領域を確保しておかなければならない。   That is, when the terminal device is participating in the first distribution system, it is necessary to store various information such as index cache information, catalog information, and a routing table. As a result, a relatively large storage area must be secured.

そのため、このように第1配信システム用の記憶領域として、比較的大きな記憶領域を確保した状態で、第2配信システムに参加しようとすると、第2配信システムで用いるリングバッファの領域を十分に確保することができず、コンテンツデータの受信、再生、中継等を正常に行うことができないおそれがあった。   Therefore, if a relatively large storage area is secured as the storage area for the first distribution system in this way and it is attempted to participate in the second distribution system, a sufficient ring buffer area is secured for the second distribution system. There is a risk that content data cannot be received, played back, relayed, etc. normally.

また、第2配信システムへ何時でも参加できるように、予め記憶部に第2配信システム用の記憶領域を確保しておくことも考えられるが、この場合、第2配信システムに参加していないときには、その記憶領域が無駄に確保されることとなるため、容量に制限がある記憶部を有効に利用することができないという問題点があった。   In addition, in order to be able to participate in the second distribution system at any time, it may be possible to secure a storage area for the second distribution system in the storage unit in advance, but in this case, when not participating in the second distribution system Since the storage area is secured uselessly, there is a problem in that a storage unit with a limited capacity cannot be used effectively.

そこで、本発明は、上記各問題点に鑑みて為されたもので、その目的は、上述したごとく、第1配信システムに参加している状態で、第2配信システムに参加しても、記憶部に第2配信システムで用いるリングバッファの領域を十分に確保することができ、記憶部を有効に利用することができるコンテンツ配信システム及び同システムにおける端末装置及び同端末装置のプログラム及び同端末装置による情報管理方法を提供することにある。   Therefore, the present invention has been made in view of the above-described problems, and the purpose thereof is as described above, even if it participates in the second distribution system in the state where it participates in the first distribution system. Content distribution system capable of sufficiently securing a ring buffer area used in the second distribution system in the section and effectively using the storage section, a terminal device in the system, a program of the terminal device, and the terminal device It is to provide an information management method according to.

請求項1に係る本発明では、複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいてコンテンツデータを保持する他の端末装置がコンテンツデータを配信する第1配信システムに参加している状態で、コンテンツ配信装置から端末装置にコンテンツデータを放送形態にてストリーミング配信する第2配信システムへ参加可能な端末装置において、第1配信システムへ参加しているときに、第1配信システム用に確保される記憶領域と、第1配信システムに参加した状態で、前記第2配信システムに参加したとき、第1配信システム用に確保している記憶領域の一部を第2配信システム用の記憶領域として機能させる情報管理手段とを有することを特徴とする。   According to the first aspect of the present invention, in a first distribution system in which another terminal device that holds content data based on a content data download request from one terminal device distributes the content data among a plurality of terminal devices. In a participating state, a terminal device capable of participating in a second distribution system that performs streaming distribution of content data from a content distribution device to a terminal device in a broadcast form, when participating in the first distribution system, A storage area reserved for the distribution system and a part of the storage area reserved for the first distribution system when participating in the second distribution system while participating in the first distribution system. And an information management unit that functions as a storage area for the system.

また、請求項2に係る本発明では、請求項1に記載の端末装置において、第2配信システムへ参加することにより必要となる記憶領域の容量を検出する記憶容量検出手段を備え、情報管理手段は、記憶容量検出手段の検出結果に応じて、第1配信システム用に確保している記憶領域の一部を第2配信システム用の記憶領域として機能させるか否かを判定することを特徴とする。   According to a second aspect of the present invention, the terminal device according to the first aspect further comprises a storage capacity detecting means for detecting a capacity of a storage area required by participating in the second distribution system, and an information management means. Determining whether or not to make a part of the storage area reserved for the first distribution system function as the storage area for the second distribution system according to the detection result of the storage capacity detection means. To do.

また、請求項3に係る本発明では、請求項1又は請求項2に記載の端末装置において、第1配信システムは、ネットワークを介して接続された複数の端末装置に、複数種類のコンテンツデータが分散して保持されており、ダウンロード要求に対応するコンテンツデータを保持している他の端末装置から、ダウンロード要求を送信した端末装置へコンテンツデータが配信される配信システムであり、第1配信システムに参加していて、コンテンツデータを保持している他の端末装置の所在情報と他の端末装置が保持しているコンテンツデータを識別するためのコンテンツ識別情報とを関連付けたコンテンツ保持端末情報を受信するコンテンツ保持端末情報受信手段を備え、情報管理手段は、第1配信システム用に確保した記憶領域に、コンテンツ保持端末情報受信手段により受信した前記コンテンツ保持端末情報を記憶し、第1配信システムに参加した状態で、第2配信システムに参加したとき、第1配信システム用に確保している記憶領域に記憶したコンテンツ保持端末情報を削除し、コンテンツ保持端末情報を記憶していた領域を第2配信システム用の記憶領域として機能させることを特徴とする。   According to the third aspect of the present invention, in the terminal device according to the first or second aspect, the first distribution system has a plurality of types of content data stored in a plurality of terminal devices connected via a network. A distribution system in which content data is distributed from another terminal device that holds content data corresponding to a download request to a terminal device that has transmitted the download request. The content holding terminal information that associates the location information of the other terminal device that is participating and holding the content data and the content identification information for identifying the content data held by the other terminal device is received. Content holding terminal information receiving means, and the information management means stores content in a storage area reserved for the first distribution system. The content holding terminal information received by the holding terminal information receiving means is stored and stored in a storage area reserved for the first distribution system when participating in the second distribution system while participating in the first distribution system. The content holding terminal information is deleted, and the area storing the content holding terminal information is caused to function as a storage area for the second distribution system.

また、請求項4に係る本発明では、請求項3に記載の端末装置において、削除対象の前記コンテンツ保持端末情報を管理している端末装置から、その端末装置が管理しているコンテンツ保持端末情報の情報量を取得する情報量取得手段を備え、情報管理手段は、情報量取得手段により取得した情報量が所定の閾値を超えている場合に、第1配信システム用に確保している記憶領域から前記削除対象のコンテンツ保持端末情報を削除することを特徴とする。   Moreover, in this invention which concerns on Claim 4, in the terminal device of Claim 3, the content holding terminal information which the terminal device manages from the terminal device which manages the said content holding terminal information of deletion object A storage area reserved for the first distribution system when the information amount acquired by the information amount acquisition unit exceeds a predetermined threshold value. And deleting the content holding terminal information to be deleted.

また、請求項5に係る本発明では、請求項4に記載の端末装置において、情報管理手段は、情報量取得手段により、複数種類のコンテンツデータに関するコンテンツ保持端末情報の情報量を取得し、取得した複数種類の情報量のうち、情報量が多いコンテンツ保持端末情報から順に削除することを特徴とする。   Further, in the present invention according to claim 5, in the terminal device according to claim 4, the information management means acquires and acquires the information amount of the content holding terminal information related to the plurality of types of content data by the information amount acquisition means. Of the plurality of types of information amounts, the content holding terminal information with a large amount of information is deleted in order.

また、請求項6に係る本発明では、請求項1〜5のいずれか1項に記載の端末装置において、情報管理手段は、第1配信システム用に確保した記憶領域に、現在ダウンロード可能なコンテンツデータのリスト情報を記憶し、第1配信システムに参加した状態で、第2配信システムに参加したとき、第1配信システム用に確保している記憶領域からリスト情報を削除して、リスト情報を記憶していた領域を第2配信システム用の記憶領域として機能させることを特徴とする。   Further, in the present invention according to claim 6, in the terminal device according to any one of claims 1 to 5, the information management means is a content that is currently downloadable in a storage area reserved for the first distribution system. When list information of data is stored, and when participating in the second distribution system in a state of participating in the first distribution system, the list information is deleted from the storage area reserved for the first distribution system, and the list information is stored. The stored area is made to function as a storage area for the second distribution system.

また、請求項7に係る本発明では、請求項1〜6のいずれか1項に記載の端末装置において、情報管理手段は、第1配信システム用に確保した記憶領域に、他の端末装置を識別するための端末識別情報と他の端末装置の所在情報とを含む他端末情報を記憶し、第1配信システムに参加した状態で、第2配信システムに参加したとき、第1配信システム用に確保している記憶領域から他端末情報の少なくとも一部を削除して、他端末情報を記憶していた領域を第2配信システム用の記憶領域として機能させることを特徴とする。   Moreover, in this invention which concerns on Claim 7, in the terminal device of any one of Claims 1-6, an information management means puts another terminal device in the storage area ensured for 1st delivery systems. Other terminal information including terminal identification information for identification and location information of other terminal devices is stored, and when participating in the second distribution system in a state of participating in the first distribution system, for the first distribution system It is characterized in that at least a part of the other terminal information is deleted from the reserved storage area, and the area in which the other terminal information is stored functions as a storage area for the second distribution system.

また、請求項8に係る本発明では、請求項1又は請求項2に記載の端末装置において、情報管理手段は、第1配信システム用に確保した記憶領域に、第1配信システムに参加していて、コンテンツデータを保持している他の端末装置の所在情報と他の端末装置が保持しているコンテンツデータを識別するためのコンテンツ識別情報とを関連付けたコンテンツ保持端末情報と、現在ダウンロード可能なコンテンツデータのリスト情報とを記憶すると共に、他の端末装置を識別するための端末識別情報と、他の端末装置の所在情報とを含む他端末情報とを記憶させ、第1配信システムに参加した状態で、第2配信システムに参加したとき、第1配信システム用に確保している記憶領域から、コンテンツ保持端末情報及びリスト情報を削除すると共に、他端末情報の一部を削除することを特徴とする。   In the present invention according to claim 8, in the terminal device according to claim 1 or claim 2, the information management means participates in the first distribution system in the storage area reserved for the first distribution system. Content holding terminal information that associates location information of other terminal devices holding content data with content identification information for identifying content data held by other terminal devices, and is currently available for download The content data list information is stored, and the terminal identification information for identifying other terminal devices and the other terminal information including the location information of the other terminal devices are stored and participated in the first distribution system. If the content holding terminal information and the list information are deleted from the storage area reserved for the first distribution system when participating in the second distribution system in the state, , And deletes a part of the other terminal information.

また、請求項9に係る本発明では、請求項8に記載の端末装置において、第1配信システム用に確保している記憶領域に記憶した情報において、情報管理手段による削除の優先順位は、コンテンツ保持端末情報、リスト情報、他端末情報の順であることを特徴とする。   In the present invention according to claim 9, in the terminal device according to claim 8, in the information stored in the storage area reserved for the first distribution system, the priority of deletion by the information management means is the content The holding terminal information, list information, and other terminal information are in this order.

また、請求項10に係る本発明では、請求項1〜9のいずれか1項に記載の端末装置において、第1配信システムに参加している端末装置数を検出する参加端末数検出手段を有し、情報管理手段は、参加端末数検出手段により検出した端末装置数が所定の閾値を超えている場合に、第1配信システム用に確保している記憶領域の一部を第2配信システム用の記憶領域として機能させることを特徴とする。   Further, in the present invention according to claim 10, in the terminal device according to any one of claims 1 to 9, there is provided a participation terminal number detection means for detecting the number of terminal devices participating in the first distribution system. When the number of terminal devices detected by the participating terminal number detection unit exceeds a predetermined threshold, the information management unit uses a part of the storage area reserved for the first distribution system for the second distribution system. It is characterized by functioning as a storage area.

また、請求項11に係る本発明では、請求項1〜10のいずれか1項に記載の端末装置において、第1配信システム用に確保している記憶領域から削除する情報を保存しておくための他の記憶手段を備え、第1配信システムに参加した状態で、第2配信システムに参加したとき、情報管理手段は、第1配信システムに記憶している情報の一部を他の記憶手段に保存した後、他の記憶手段に保存した情報を記憶していた領域を、第2配信システム用の記憶領域として機能させ、第2配信システムから離脱した後に、他の記憶手段に保存した情報を、再度、第1配信システム用に確保した記憶領域に記憶させることを特徴とする。   Moreover, in this invention which concerns on Claim 11, in the terminal device of any one of Claims 1-10, in order to preserve | save the information deleted from the storage area ensured for 1st delivery systems When the second distribution system is joined in a state in which the other distribution means is provided and participates in the first distribution system, the information management means stores part of the information stored in the first distribution system as another storage means. The information stored in the other storage means after functioning as the storage area for the second distribution system after being saved in the other storage means, and the information stored in the other storage means after leaving the second distribution system Is again stored in the storage area reserved for the first distribution system.

また、請求項12に係る本発明では、
前記第2配信システム用に確保する記憶領域は、前記第2配信システムによりストリーミング受信したコンテンツデータを一時的に蓄積するリングバッファを備え、
前記情報管理手段は、請求項1〜11のいずれか1項に記載の端末装置において、第1配信システムに参加した状態で、第2配信システムに参加したとき、第1配信システム用に確保している記憶領域の一部をリングバッファとして機能させることを特徴とする。
In the present invention according to claim 12,
The storage area reserved for the second distribution system includes a ring buffer for temporarily storing content data stream-received by the second distribution system,
In the terminal device according to any one of claims 1 to 11, the information management unit is reserved for the first distribution system when participating in the second distribution system while participating in the first distribution system. A part of the storage area is made to function as a ring buffer.

また、請求項13に係る本発明では、請求項1〜12のいずれか1項に記載の端末装置において、第2配信システムによりコンテンツデータを受信する際の受信速度を検出する受信速度検出手段を有し、情報管理手段は、第1配信システムに参加した状態で、第2配信システムに参加したとき、受信速度検出手段により取得した受信速度に応じて、第1配信システム用に確保している記憶領域のうち、第2配信システム用の記憶領域として機能させる領域を拡張又は縮小することを特徴とする。   Moreover, in this invention which concerns on Claim 13, in the terminal device of any one of Claims 1-12, the receiving speed detection means which detects the receiving speed at the time of receiving content data by a 2nd delivery system is provided. The information management means reserves for the first distribution system according to the reception speed acquired by the reception speed detection means when participating in the second distribution system in the state of participating in the first distribution system. Of the storage areas, an area that functions as a storage area for the second distribution system is expanded or reduced.

また、請求項14に係る本発明では、複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいてコンテンツデータを保持する他の端末装置がコンテンツデータを配信する第1配信システムと、コンテンツ配信装置から端末装置にコンテンツデータを放送形態にてストリーミング配信する第2配信システムとを有するコンテンツ配信システムであって、端末装置は、第1配信システムへ参加しているときに、第1配信システム用に確保される記憶領域と、第1配信システムに参加した状態で、第2配信システムに参加したとき、第1配信システム用に確保している記憶領域の一部を第2配信システム用の記憶領域として機能させる情報管理手段とを有することを特徴とするコンテンツ配信システム。   According to the fourteenth aspect of the present invention, the first distribution in which another terminal device that holds content data based on a request for downloading content data from one terminal device distributes the content data among a plurality of terminal devices. A content distribution system having a system and a second distribution system for streaming distribution of content data from the content distribution apparatus to the terminal device in a broadcast form, when the terminal device participates in the first distribution system, A storage area reserved for the first distribution system and a part of the storage area reserved for the first distribution system when participating in the second distribution system in the state of participating in the first distribution system A content distribution system comprising: information management means that functions as a storage area for the distribution system.

また、請求項15に係る本発明では、コンピュータを、請求項1〜13のいずれかに記載の端末装置における各手段として機能させるためのプログラムを提供する。   According to a fifteenth aspect of the present invention, there is provided a program for causing a computer to function as each means in the terminal device according to any one of the first to thirteenth aspects.

また、請求項16に係る本発明では、複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいてコンテンツデータを保持する他の端末装置がコンテンツデータを配信する第1配信システムに参加している状態で、コンテンツ配信装置から端末装置にコンテンツデータを放送形態にてストリーミング配信する第2配信システムへ参加可能な端末装置における情報管理方法であって、第1配信システムへ参加しているときに、第1配信システム用に記憶領域を確保するステップと、第1配信システムに参加した状態で、第2配信システムに参加したとき、第1配信システム用に確保した記憶領域に記憶している情報の一部を削除するステップと、削除した情報が記憶されていた第1配信システム用に確保した記憶領域を、第2配信システム用の記憶領域として機能させるステップと、を有することを特徴とする。   According to the sixteenth aspect of the present invention, the first distribution in which another terminal device that holds content data based on a request for downloading content data from one terminal device distributes the content data among a plurality of terminal devices. An information management method in a terminal device capable of participating in a second distribution system that performs streaming distribution of content data from a content distribution device to a terminal device in a broadcast form while participating in the system, A storage area reserved for the first distribution system when participating in the second distribution system in a state of participating in the first distribution system, and a step of securing a storage area for the first distribution system. A step of deleting a part of the stored information, and securing for the first distribution system in which the deleted information was stored The storage area, and having a step function as a storage area for the second distribution system, the.

請求項1及び請求項14〜16に記載の本発明によれば、第1配信システムに参加している状態で、第2配信システムに参加したときに、端末装置の記憶部において、第1配信システム用に確保している記憶領域の一部を第2配信システム用の記憶領域として機能させることにより、第2配信システム用の記憶領域を十分に確保することがきるので、第2配信システムによるコンテンツデータのストリーミング受信に支障をきたすことがなく、第2配信システムに参加していないときに、予め記憶部に第2配信システム用の記憶領域を確保しておく必要もないため、端末装置の記憶部を有効に利用することができる。   According to this invention of Claim 1 and Claims 14-16, when participating in a 2nd delivery system in the state which has participated in the 1st delivery system, in a memory | storage part of a terminal device, the 1st delivery By making a part of the storage area reserved for the system function as a storage area for the second distribution system, a sufficient storage area for the second distribution system can be secured. Since there is no hindrance to streaming reception of content data and it is not necessary to secure a storage area for the second distribution system in the storage unit in advance when not participating in the second distribution system, The storage unit can be used effectively.

請求項2に記載の本発明によれば、情報管理手段は、端末装置の記憶部に第2配信システム用の記憶領域を十分に確保できるだけの空き領域がある場合に、第1配信システム用の記憶領域を第2配信システム用の記憶領域として機能させる処理を行わなくて済むので、その分、情報管理手段の処理負担を軽減することができる。   According to the second aspect of the present invention, the information management means is provided for the first distribution system when there is a free area in the storage unit of the terminal device that can sufficiently secure a storage area for the second distribution system. Since it is not necessary to perform processing for causing the storage area to function as a storage area for the second distribution system, the processing load on the information management means can be reduced accordingly.

請求項3、6〜8に記載の本発明によれば、削除しても第1配信システムによるコンテンツデータの受信に支障のない情報を削除して、この削除した情報を記憶していた記憶領域を第2配信システム用の記憶領域として機能させることができるので、第1配信システムに参加している状態で、第2配信システム用の記憶領域として十分な記憶領域を確保することができる。   According to the present invention described in claims 3 and 6 to 8, information that does not hinder the reception of content data by the first distribution system is deleted even if deleted, and the storage area in which the deleted information is stored Can function as a storage area for the second distribution system, so that a sufficient storage area can be secured as a storage area for the second distribution system while participating in the first distribution system.

請求項4及び請求項5に記載の本発明によれば、第1配信システムのデータ受信に支障をきたすことがない。   According to the present invention described in claims 4 and 5, there is no problem in receiving data in the first distribution system.

請求項9に記載の本発明によれば、第1配信システム用の記憶領域において、第1配信システムによりコンテンツデータの受信を行う際に、支障をきたすおそれの低い情報から順に削除することができる。   According to the ninth aspect of the present invention, in the storage area for the first distribution system, when content data is received by the first distribution system, information that is less likely to cause trouble can be deleted in order. .

請求項10に記載の本発明によれば、自身が保持している情報を必要とする他の端末装置は、第1配信システムに参加している他の端末装置から取得することができるので、第1配信システム用の記憶領域に記憶している情報を削除しても、第1配信システムに参加している他の端末装置に支障をきたすことがない。   According to the tenth aspect of the present invention, since the other terminal device that needs the information held by itself can be acquired from the other terminal devices participating in the first distribution system, Even if the information stored in the storage area for the first distribution system is deleted, other terminal devices participating in the first distribution system are not hindered.

請求項11に記載の本発明によれば、第1配信システム用の記憶領域から削除した情報が再度必要になった場合に、他の記憶手段に記憶した情報を改めて第1配信システム用の記憶領域に記憶させることができるので、第1配信システムによるコンテンツの受信に支障をきたすことがない。   According to the present invention as set forth in claim 11, when the information deleted from the storage area for the first distribution system becomes necessary again, the information stored in the other storage means is newly stored for the first distribution system. Since it can be stored in the area, it does not hinder the reception of content by the first distribution system.

請求項に12記載の本発明によれば、第2配信システムで使用するリングバッファとして十分な記憶領域を確保することができるので、第1配信システムに参加している状態であっても、第2配信システムによるコンテンツデータの受信及びコンテンツデータの中継を確実に行うことができる。   According to the present invention as set forth in claim 12, since a sufficient storage area can be secured as a ring buffer used in the second distribution system, even if it is in a state of participating in the first distribution system, 2. Content data reception and content data relay by the distribution system can be reliably performed.

以下、本発明の最良の実施形態を図面を参照して説明する。なお、以下に説明する実施形態は、配信する情報を音楽データや映像データ等のコンテンツデータとしたコンテンツ配信システムに対して本発明を適用した場合の実施形態である。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings. The embodiment described below is an embodiment when the present invention is applied to a content distribution system in which information to be distributed is content data such as music data and video data.

[コンテンツ配信システムの構成等]
本実施形態におけるコンテンツ配信システムは、複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいて、そのコンテンツデータを保持する他の端末装置がコンテンツデータを配信する第1配信システムと、コンテンツ配信装置から端末装置にコンテンツデータを放送形態にストリーミング配信する第2配信システムとを有している。
[Content distribution system configuration]
The content distribution system according to the present embodiment is a first distribution in which another terminal device that holds content data distributes the content data among a plurality of terminal devices based on a content data download request from one terminal device. And a second distribution system that distributes the content data from the content distribution apparatus to the terminal device in a broadcast form.

そして、本実施形態における端末装置は、上記第1配信システムに参加している状態で、上記第2配信システムへ参加可能に構成されている。   And the terminal device in this embodiment is comprised so that it can participate in the said 2nd delivery system in the state which has participated in the said 1st delivery system.

また、本実施形態では第1配信システムの一例として、複数の端末装置間でコンテンツデータを送受信するコンテンツ配信システムは種々あるが、本実施形態においては、P2Pグリッド型配信システムについて、特に、分散ハッシュテーブル(DHT(Distributed Hash Table))を利用することにより端末装置間のコンテンツデータを送受信するコンテンツ配信システムであって、Pastry型と呼ばれるコンテンツ配信システムを例に挙げて説明する。   In this embodiment, there are various content distribution systems that transmit and receive content data between a plurality of terminal devices as an example of the first distribution system. In the present embodiment, the P2P grid distribution system is particularly distributed hash. A content distribution system that transmits and receives content data between terminal devices by using a table (DHT (Distributed Hash Table)) will be described as an example of a content distribution system called a Pastry type.

また、第2配信システムの一例として、サーバ−クライアント型の放送形態、ツリー状の階層構造による放送形態などがあるが、本実施形態においては、コンテンツ配信装置からストリーミング配信されるコンテンツデータを、ツリー状の階層構造を構成する端末装置がP2Pによって受信し、中継する放送形態のコンテンツ配信システムを例に挙げて説明する。   In addition, examples of the second distribution system include a server-client type broadcast form and a broadcast form with a tree-like hierarchical structure. In this embodiment, content data streamed from a content distribution apparatus is represented by a tree. A content distribution system in a broadcast form that is received and relayed by P2P by a terminal device that forms a hierarchical structure will be described as an example.

図1は、本実施形態に係るコンテンツ配信システムSの概要構成例を示す図である。図1に示す物理接続形態のように、コンテンツ配信システムSを構成するコンテンツ配信装置1、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8、接続管理装置3、コンテンツ投入装置4、コンタクト先紹介装置5は、インターネットに代表されるネットワーク6上に分散配置されている。   FIG. 1 is a diagram illustrating a schematic configuration example of a content distribution system S according to the present embodiment. As in the physical connection form shown in FIG. 1, the content distribution device 1, the terminal devices 2a1, 2a2, 2b1 to 2b4, 2c1 to 2c8, the connection management device 3, the content input device 4, and the contact destination introduction constituting the content distribution system S The devices 5 are distributed on a network 6 represented by the Internet.

コンテンツ配信装置1、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8、接続管理装置3、コンテンツ投入装置4、コンタクト先紹介装置5には、各装置を識別する端末識別情報(以下、「端末ID」という。)としての固有の製造番号(たとえば、MACアドレス)及びIP(Internet Protocol)アドレス(所在情報)が割り当てられており、これら装置は、ネットワーク6にルータ10等を介して接続されている。そして、目的の接続先装置のIPアドレスを宛先IPアドレス、自装置のIPアドレスを送信元IPアドレスとしたヘッダを含むパケットを送信することによって通信接続が可能となっている。   The content distribution device 1, terminal devices 2 a 1, 2 a 2, 2 b 1 to 2 b 4, 2 c 1 to 2 c 8, connection management device 3, content input device 4, contact destination introduction device 5 have terminal identification information (hereinafter referred to as “terminal” A unique manufacturing number (for example, a MAC address) and an IP (Internet Protocol) address (location information) are assigned as IDs), and these devices are connected to the network 6 via the router 10 or the like. Yes. Then, communication connection is possible by transmitting a packet including a header in which the IP address of the target connection destination device is the destination IP address and the IP address of the own device is the source IP address.

なお、コンテンツ配信システムSに直接関係ない装置もネットワーク6に接続されるが、ここでは省略している。また、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8のいずれかの端末装置又は全ての端末装置を示す場合には、便宜上、端末装置2という場合がある。   An apparatus not directly related to the content distribution system S is also connected to the network 6, but is omitted here. Further, in the case of showing any one of the terminal devices 2a1, 2a2, 2b1-2b4, 2c1-2c8 or all the terminal devices, it may be called the terminal device 2 for convenience.

図1に示す例では、コンテンツ配信装置1、接続管理装置3、コンテンツ投入装置4、コンタクト先紹介装置5は、それぞれ独立した装置としているが、一つの装置においてこれらの装置の機能を実現するようにしてもよい。この場合にはこれらの装置のIPアドレスは同一のものとなり、ポート番号などで区別されることになる。   In the example shown in FIG. 1, the content distribution device 1, the connection management device 3, the content input device 4, and the contact destination introduction device 5 are independent devices, but the functions of these devices are realized in one device. It may be. In this case, the IP addresses of these devices are the same and are distinguished by port numbers and the like.

[1.1.第1配信システムについて]
次に、図2を参照して、コンテンツ配信システムSにおける第1配信システムの概要構成等について説明する。図2は、本実施形態に係るコンテンツ配信システムSにおける第1配信システムを示す図である。この第1配信システムは、P2Pグリッド型配信システムであり、分散ハッシュテーブル(以下、「DHT」(Distributed Hash Table)という。)を利用することによりネットワーク6上に分散配置された複数の端末装置2間でコンテンツデータの送受信を行うコンテンツ配信システムである。
[1.1. About the first distribution system]
Next, with reference to FIG. 2, a schematic configuration and the like of the first distribution system in the content distribution system S will be described. FIG. 2 is a diagram illustrating a first distribution system in the content distribution system S according to the present embodiment. The first distribution system is a P2P grid type distribution system, and a plurality of terminal devices 2 distributed on the network 6 by using a distributed hash table (hereinafter referred to as “DHT”). It is a content distribution system that transmits and receives content data between.

[1.1.1 DHTの概要]
まず、本実施形態に係るDHTを利用したアルゴリズムについて説明する。
[1.1.1 Outline of DHT]
First, an algorithm using DHT according to the present embodiment will be described.

コンテンツ配信システムSの第1配信システムにおいて、当該端末装置2同士が、互いに情報をやり取りする際には、お互いの所在情報としてのIPアドレスを知っていなければならない。   In the first distribution system of the content distribution system S, when the terminal devices 2 exchange information with each other, they must know the IP addresses as the location information of each other.

例えば、複数の端末装置間でコンテンツデータを互いに共有するシステムにおいては、ネットワーク6に参加している各端末装置2が互いにネットワーク6に参加している全ての端末装置2のIPアドレスを知っておくのが単純な手法であるが、端末数が何万何十万と多数になると、その全ての端末装置2のIPアドレスを覚えておくのは現実的ではない。また、任意の端末装置の電源が頻繁にON或いはOFFとすると、各端末装置2において記憶している当該任意の端末装置のIPアドレスの更新が頻繁になり、運用上困難となる。   For example, in a system in which content data is shared among a plurality of terminal devices, each terminal device 2 participating in the network 6 knows the IP addresses of all the terminal devices 2 participating in the network 6. However, when the number of terminals becomes as large as tens of thousands, it is not realistic to remember the IP addresses of all the terminal devices 2. Further, if the power supply of an arbitrary terminal device is frequently turned on or off, the IP address of the arbitrary terminal device stored in each terminal device 2 is frequently updated, which makes operation difficult.

そこで、1台の端末装置2では、ネットワーク6に参加している全ての端末装置2のうち、必要最低限の一部の端末装置2のIPアドレスだけを記憶しておき、IPアドレスを記憶していない端末装置2については、各端末装置2間で互いに情報を転送し合うことによりコンテンツデータを届けるシステムが考案されている。   Therefore, one terminal device 2 stores only the IP addresses of some of the minimum necessary terminal devices 2 among all the terminal devices 2 participating in the network 6, and stores the IP addresses. For terminal devices 2 that are not connected, a system for delivering content data by transferring information between the terminal devices 2 has been devised.

このようなシステムの一例として、DHTを利用したアルゴリズムによって、図2に示すような、オーバーレイネットワークが構築されることになる。つまり、このオーバーレイネットワークは、既存のネットワーク6を用いて形成された仮想的なリンク(論理接続)を構成するネットワークを意味する。   As an example of such a system, an overlay network as shown in FIG. 2 is constructed by an algorithm using DHT. That is, this overlay network means a network that forms a virtual link (logical connection) formed using the existing network 6.

本実施形態においては、DHTを利用したアルゴリズムによって構築されたオーバーレイネットワークを前提としており、このオーバーレイネットワーク上に配置された端末装置2を、コンテンツ配信システムSの第1配信システムに参加している端末装置2という。   In this embodiment, it is assumed that the overlay network is constructed by an algorithm using DHT, and the terminal device 2 arranged on this overlay network is a terminal participating in the first distribution system of the content distribution system S. It is called device 2.

コンテンツ配信システムSの第1配信システムに参加している各端末装置2を識別するための端末識別情報である端末IDとして、それぞれの端末装置2毎にユニークな番号(固有番号)を付与する。この番号は、端末装置の最大運用台数を収容できるだけのbit数を持たせる必要がある。例えば、128bitの番号とすれば、2128≒340×1036台の端末装置を運用できる。   A unique number (unique number) is assigned to each terminal device 2 as a terminal ID that is terminal identification information for identifying each terminal device 2 participating in the first distribution system of the content distribution system S. This number needs to have a number of bits that can accommodate the maximum number of operating terminal devices. For example, if a 128-bit number is used, 2128≈340 × 1036 terminal devices can be operated.

より具体的には、各端末装置2の端末IDは、それぞれの端末装置2のIPアドレス或いは製造番号等の端末装置2毎に固有の値を、共通のハッシュ関数(ハッシュアルゴリズム)によりハッシュ化して得たハッシュ値であり、一つのID空間に偏りなく分散して配置されることになる。このように共通のハッシュ関数によりハッシュ化されて求められた端末IDは、当該IPアドレス或いは製造番号が異なれば、同じ値になる確率が極めて低いものである。なお、ハッシュ関数については公知であるので詳しい説明を省略する。また、本実施形態では、IPアドレス(グローバルIPアドレス)を共通のハッシュ関数によりハッシュ化した値を端末IDとする。   More specifically, the terminal ID of each terminal device 2 is obtained by hashing a unique value for each terminal device 2 such as the IP address or manufacturing number of each terminal device 2 with a common hash function (hash algorithm). The obtained hash value is distributed and arranged in one ID space without deviation. Thus, the terminal ID obtained by hashing with a common hash function has a very low probability of having the same value if the IP address or the manufacturing number is different. Since the hash function is publicly known, detailed description thereof is omitted. In the present embodiment, a value obtained by hashing an IP address (global IP address) with a common hash function is used as a terminal ID.

また、コンテンツ配信システムSの第1配信システムに参加している複数の端末装置2には、図2に示すように、一の端末装置2から他の端末装置2に配信されるコンテンツデータがコンテンツ投入装置4によって分散して端末装置2に投入されるが、当該コンテンツデータにも、各コンテンツデータを識別するために、それぞれのコンテンツデータ毎の固有のコンテンツ識別情報(以下、「コンテンツID」と呼ぶ。)を付与する。   In addition, as shown in FIG. 2, content data distributed from one terminal device 2 to another terminal device 2 includes content in a plurality of terminal devices 2 participating in the first distribution system of the content distribution system S. The content is distributed by the input device 4 and input to the terminal device 2. In order to identify each content data, the content data also has unique content identification information (hereinafter referred to as “content ID”). Call).

そして、当該コンテンツIDは、端末IDと同様の長さ(例えば、128bit等)とし、例えば、コンテンツの名称(コンテンツタイトル)やコンテンツの概要情報(あらすじ)等のキーワードが、上記端末IDを得るときと共通のハッシュ関数によりハッシュ化され(つまり、端末装置2のIPアドレスのハッシュ値と同一のID空間に配置)、そのハッシュ値と最も近い(例えば、上位桁がより多く一致する)端末IDを有する端末装置2が、コンテンツデータを保持する端末装置2(以下、「コンテンツ保持端末装置」と呼ぶ。)へのリンク情報、すなわちコンテンツ保持端末装置の所在情報であるIPアドレスを保持する。   The content ID has the same length as the terminal ID (for example, 128 bits). For example, when a keyword such as a content name (content title) or content outline information (summary) obtains the terminal ID And the terminal ID closest to the hash value (for example, the higher-order digits match more) are hashed by a common hash function (that is, placed in the same ID space as the hash value of the IP address of the terminal device 2). The terminal device 2 possessed holds the link information to the terminal device 2 that holds the content data (hereinafter referred to as “content holding terminal device”), that is, the IP address that is the location information of the content holding terminal device.

コンテンツ保持端末装置は、コンテンツ投入装置4によってランダムに決定される。すなわち、コンテンツ投入装置4は、コンテンツデータを保持すべき1以上の端末装置2をランダムに決定し、このように決定した端末装置2にコンテンツデータを送信する。コンテンツ投入装置4からコンテンツデータを受信した端末装置2は、コンテンツデータを記憶部に保持することによってコンテンツ保持端末装置として機能する。これにより、コンテンツデータが偏りなくコンテンツ配信システムS上に分散して配置される。   The content holding terminal device is randomly determined by the content input device 4. That is, the content input device 4 randomly determines one or more terminal devices 2 that should hold the content data, and transmits the content data to the terminal device 2 determined in this way. The terminal device 2 that has received the content data from the content input device 4 functions as a content holding terminal device by holding the content data in the storage unit. Thereby, the content data is distributed and arranged on the content distribution system S without any bias.

なお、異なるコンテンツデータであっても、同一のキーワード(例えば、コンテンツの名称)になる場合が想定されるが、この場合、同じハッシュ値になってしまうので、これを避けるために、ハッシュ化するキーワードを、例えば、コンテンツのタイトルと著作権情報(例えば、出演者名、監督名、原作者名、歌手名、作曲者名、又は作詞者名等)の組み合わせとすればよい。本実施形態においては、コンテンツのタイトルは重複しないものとし、コンテンツのタイトルをキーワードとするものとする。   Note that even if the content data is different, it is assumed that the same keyword (for example, the name of the content) is used. In this case, the hash value is the same to avoid the same hash value. The keyword may be, for example, a combination of content title and copyright information (for example, performer name, director name, original author name, singer name, composer name, or songwriter name). In the present embodiment, it is assumed that content titles do not overlap and the content title is a keyword.

このように、各端末装置2及び各コンテンツデータに付与された端末ID及びコンテンツIDは、共通のハッシュ関数によって生成するため、図2に示す如く、同一のリング状のID空間上にさほど偏ることなく、散らばって存在するものとして考えることができる。同図は32bitで端末ID及びコンテンツIDを付与し、図示したものである。図中丸点は端末IDを、四角形はコンテンツIDを示し、反時計回りでIDが増加するものとする。   As described above, since the terminal ID and the content ID assigned to each terminal device 2 and each content data are generated by a common hash function, as shown in FIG. 2, the terminal ID and the content ID are slightly biased on the same ring-shaped ID space. It can be thought of as being scattered and present. This figure shows a terminal ID and content ID assigned in 32 bits. In the figure, a round dot indicates a terminal ID, a square indicates a content ID, and the ID increases counterclockwise.

次に、どの端末装置2に、どのコンテンツデータが管理されるかを、一定の規則の下に決定する。本実施形態においては、「あるコンテンツIDを有するコンテンツデータを管理する端末装置2は、そのコンテンツIDに近い端末IDを有する端末装置2である」という規則とする。   Next, which content data is managed by which terminal device 2 is determined under a certain rule. In the present embodiment, the rule is that “the terminal device 2 that manages content data having a certain content ID is a terminal device 2 having a terminal ID close to that content ID”.

ここで、「近い」ことの定義は、当該コンテンツIDを超えず、コンテンツIDと端末IDとの差が一番少ないものとするが、実際には、各コンテンツデータの管理を各端末装置2に割り振る際に、一貫していればよい。図2に示す例では、この定義に基づいて、コンテンツIDaは、当該コンテンツIDaに近い端末ID(以下、「端末IDa」と呼ぶ。)を有する端末装置2に管理され、コンテンツIDbは、当該コンテンツIDbに近い端末ID(以下、「端末IDb」と呼ぶ。)を有する端末装置2に管理され、コンテンツIDcは、当該コンテンツIDcに近い端末ID(以下、「端末IDc」と呼ぶ。)を有する端末装置2に管理される。   Here, the definition of “close” does not exceed the content ID, and the difference between the content ID and the terminal ID is the smallest. However, in practice, the management of each content data is assigned to each terminal device 2. It is only necessary to be consistent when allocating. In the example shown in FIG. 2, based on this definition, the content IDa is managed by the terminal device 2 having a terminal ID close to the content IDa (hereinafter referred to as “terminal IDa”), and the content IDb is the content IDb. Managed by the terminal device 2 having a terminal ID close to IDb (hereinafter referred to as “terminal IDb”), and the content IDc has a terminal ID close to the content IDc (hereinafter referred to as “terminal IDc”). Managed by the device 2.

なお、ここで「管理」というのは、コンテンツデータを保持していることを意味するのではなく、「コンテンツデータがいずれの端末装置2に保持されているかを知っている」ことを意味する。すなわち、図2において、端末IDaを有する端末装置2は、コンテンツIDaを有するコンテンツデータがいずれの端末装置2に保持されているかを知っており、端末IDbを有する端末装置2及び端末IDcを有する端末装置2も同様にそれぞれコンテンツIDbを有するコンテンツデータ及びコンテンツIDcを有するコンテンツデータがいずれの端末装置2に保持されているかを知っているということになる。   Here, “management” does not mean that content data is held, but “knows which terminal device 2 holds the content data”. That is, in FIG. 2, the terminal device 2 having the terminal IDa knows which terminal device 2 holds the content data having the content IDa, and the terminal device 2 having the terminal IDb and the terminal having the terminal IDc. Similarly, the device 2 knows which terminal device 2 holds the content data having the content IDb and the content data having the content IDc.

このように、あるコンテンツデータがいずれの端末装置2に保持されているかを知っている端末装置2を、そのコンテンツデータのルート端末装置と呼び、このルート端末装置は、自身がルート端末装置となっているコンテンツデータのコンテンツIDと、そのコンテンツデータを保持しているコンテンツ保持端末装置のIPアドレスとを関連付けたコンテンツ保持端末情報を他の端末装置より最も多く保持している。   In this way, the terminal device 2 that knows which terminal device 2 holds certain content data is called the root terminal device of the content data, and this root terminal device itself becomes the root terminal device. The content holding terminal information associating the content ID of the content data being held with the IP address of the content holding terminal device holding the content data is held more than the other terminal devices.

そして、図2においては、端末IDaを有する端末装置2が、コンテンツIDaを有するコンテンツデータのルート端末装置であって、端末IDbを有する端末装置2が、コンテンツIDbを有するコンテンツデータのルート端末装置であって、端末IDcを有する端末装置2が、コンテンツIDcを有するコンテンツデータのルート端末装置である。   In FIG. 2, the terminal device 2 having the terminal IDa is a content data root terminal device having the content IDa, and the terminal device 2 having the terminal IDb is a content data root terminal device having the content IDb. The terminal device 2 having the terminal IDc is the root terminal device for content data having the content IDc.

ここで、コンテンツ投入装置4は、コンテンツ配信システムS内の端末装置2をコンテンツ保持端末装置とするためにコンテンツデータを端末装置2へ配布する機能のほか、端末装置2に配布した現在第1配信システムでダウンロードが可能な複数のコンテンツデータ(言い換えれば、コンテンツ保持端末装置が保持しているコンテンツデータ)をそのコンテンツのタイトルとコンテンツIDとを関連付けたリスト情報が含まれたカタログ情報を生成して端末装置2へ提供する機能を有している。   Here, the content input device 4 has the function of distributing content data to the terminal device 2 in order to make the terminal device 2 in the content distribution system S a content holding terminal device, as well as the current first distribution distributed to the terminal device 2. A plurality of content data that can be downloaded by the system (in other words, content data held by the content holding terminal device) is generated to generate catalog information including list information in which the content title and content ID are associated with each other. It has a function to be provided to the terminal device 2.

また、コンテンツ配信システムSの第1配信システムにおいては、コンタクト先紹介装置5が配置されている。このコンタクト先紹介装置5は、コンテンツ配信システムSの第1配信システムに参加していない端末装置2からこの第1配信システムへの参加要求があったときに、未参加の端末装置2が参加メッセージを送信する既参加の端末装置2(以下、「コンタクト先端末装置」と呼ぶ。)の所在情報を通知する機能を有している。   Further, in the first distribution system of the content distribution system S, the contact destination introduction device 5 is arranged. The contact introduction device 5 is configured so that when a terminal device 2 not participating in the first distribution system of the content distribution system S has requested to participate in the first distribution system, the non-participating terminal device 2 receives a participation message. Has the function of notifying the location information of the terminal device 2 that has already participated (hereinafter referred to as “contact destination terminal device”).

[1.1.2.ルーティングテーブルの作成]
次に、図3〜5を参照して、DHTで用いるルーティングテーブルの作成方法の一例、及び、作成したルーティングテーブルの構成について説明する。
[1.1.2. Create routing table]
Next, an example of a method for creating a routing table used in DHT and the configuration of the created routing table will be described with reference to FIGS.

ここで、本実施形態の端末装置2は、ルーティングテーブルとして、他の端末装置2へ情報等を送信する際に、主として用いられるメインテーブルMRと、当該メインテーブルMRの代替として順次用いられるサブテーブルR1〜R3との複数枚のテーブルから構成されるルーティングテーブルRTを備えている。   Here, the terminal device 2 of the present embodiment, as a routing table, transmits a main table MR that is mainly used when transmitting information or the like to the other terminal devices 2, and a sub-table that is sequentially used as an alternative to the main table MR. A routing table RT including a plurality of tables R1 to R3 is provided.

図3は、DHTによってルーティングテーブルが作成される様子の一例を示す図であり、図4は、メインテーブルMRの構成を示す説明図であり、図5は、メインテーブルMRとサブテーブルR1〜R3とにより構成されたルーティングテーブルRTの全体構成を示す説明図である。   FIG. 3 is a diagram illustrating an example of a state in which a routing table is created by DHT, FIG. 4 is an explanatory diagram illustrating a configuration of the main table MR, and FIG. 5 is a diagram illustrating the main table MR and the sub tables R1 to R3. It is explanatory drawing which shows the whole structure of the routing table RT comprised by these.

本実施形態の端末装置2では、ルーティングテーブルRTを作成する場合に、まず、以下のようにしてメインテーブルMRを作成する。   In the terminal device 2 of this embodiment, when creating the routing table RT, first, the main table MR is created as follows.

すなわち、図3(a)に示す如く、ID空間を幾つかのエリアに分割する。実際には、16分割程度が良く用いられるが、説明を簡単にするためここでは4分割とし、IDをビット長8bitの4進数で表すことにする。そして、端末装置2Nの端末IDを「1133」とし、この端末装置2NのメインテーブルMRを作る例について説明する。   That is, as shown in FIG. 3A, the ID space is divided into several areas. Actually, about 16 divisions are often used, but in order to simplify the explanation, four divisions are used here, and the ID is represented by a quaternary number having a bit length of 8 bits. An example in which the terminal ID of the terminal device 2N is “1133” and the main table MR of the terminal device 2N is created will be described.

(レベル1のルーティング)
まず、ID空間を4分割とした場合、それぞれのエリアは4進数で表すと最大桁が異なる4つのエリア「0XXX」「1XXX」、「2XXX」、「3XXX」(Xは0から3の自然数、以下同様。)で分けられる。端末装置2Nは、当該端末装置2N自身の端末IDが「1133」であるため、図3(a)中左下「1XXX」のエリアに存在することになる。そして、端末装置2Nは、自分の存在するエリア(すなわち、「1XXX」のエリア)以外のエリア(すなわち、「0XXX」のエリア、「2XXX」のエリア、「3XXX」のエリア)に存在する端末装置2をランダムに選択し、当該端末IDの所在情報、すなわち、当該端末IDのIPアドレスをレベル1のテーブルに記憶する。図4がレベル1のテーブルの一例である。このテーブルでは、「0XXX」のエリアの端末IDとして「0100」、「2XXX」のエリアの端末IDとして「2133」、「3XXX」のエリアの端末IDとして「3213」がそれぞれ選択されている状態を示している。なお、当該レベル1の2列目は端末装置2N自身を示しているため、IPアドレスを記憶する必要はない。
(Level 1 routing)
First, if the ID space is divided into four areas, each area is represented by four areas “0XXX”, “1XXX”, “2XXX”, “3XXX” (X is a natural number from 0 to 3, The same shall apply hereinafter.) Since the terminal ID of the terminal device 2N itself is “1133”, the terminal device 2N exists in the lower left “1XXX” area in FIG. The terminal device 2N is a terminal device existing in an area (that is, an area of “0XXX”, an area of “2XXX”, an area of “3XXX”) other than the area where the terminal device exists (that is, the area of “1XXX”). 2 is selected at random, and the location information of the terminal ID, that is, the IP address of the terminal ID is stored in the level 1 table. FIG. 4 is an example of a level 1 table. In this table, “0100” is selected as the terminal ID of the “0XXX” area, “2133” is selected as the terminal ID of the “2XXX” area, and “3213” is selected as the terminal ID of the “3XXX” area. Show. Since the second column of level 1 indicates the terminal device 2N itself, it is not necessary to store the IP address.

(レベル2のルーティング)
次に、図3(b)に示す如く、上記ルーティングによって4分割したエリアのうち、自分の存在するエリア「1XXX」を更に4分割し、更に4つのエリア「10XX」「11XX」、「12XX」、「13XX」と分ける。そして、上記と同様に自分の存在するエリア「11xx」以外のエリアに存在する端末装置2をランダムに選択し、当該端末IDの所在情報であるIPアドレスをレベル2のテーブルに記憶する。図4がレベル2のテーブルの一例である。このテーブルでは、「10XX」のエリアの端末IDとして「1003」、「12XX」のエリアの端末IDとして「1221」が、「13XX」のエリアの端末IDとして「1313」がそれぞれ選択されている状態を示している。なお、レベル2の2列目は端末装置2Nが存在するエリア「11XX」であり、後述するレベル3にてテーブル化されるためIPアドレスを記憶していない。また、上記エリアに端末装置2が存在しない場合には、端末ID及びIPアドレスの欄は空白となる。
(Level 2 routing)
Next, as shown in FIG. 3B, among the areas divided into four by the above routing, the area “1XXX” where the user exists is further divided into four, and four areas “10XX”, “11XX”, and “12XX” are further divided. , “13XX”. Similarly to the above, the terminal device 2 existing in an area other than the area “11xx” in which it is present is randomly selected, and the IP address that is the location information of the terminal ID is stored in the level 2 table. FIG. 4 is an example of a level 2 table. In this table, “1003” is selected as the terminal ID of the “10XX” area, “1221” is selected as the terminal ID of the “12XX” area, and “1313” is selected as the terminal ID of the “13XX” area. Is shown. The second column of level 2 is an area “11XX” in which the terminal device 2N exists, and since it is tabulated at level 3 to be described later, no IP address is stored. When the terminal device 2 does not exist in the area, the terminal ID and IP address fields are blank.

(レベル3のルーティング)
更に、上記ルーティングによって4分割したエリアのうち、自分の存在するエリア「11XX」を更に4分割し、更に4つのエリア「110X」「111X」、「112X」、「113X」と分ける。そして、上記と同様に自分の存在するエリア「113X」以外のエリアに存在する端末装置2をランダムに選択し、当該端末IDの所在情報であるIPアドレスをレベル3のテーブルに記憶する。図4がレベル3のテーブルの一例である。レベル3の4列目は端末装置2Nが存在するエリアであり、後述するレベル4にてテーブル化されるためIPアドレスを記憶していない。また、上記エリアに端末装置が存在しない場合には、端末ID及びIPアドレスの欄は空白となる。
(Level 3 routing)
Further, of the areas divided into four by the above routing, the area “11XX” where the user exists is further divided into four, and further divided into four areas “110X”, “111X”, “112X”, and “113X”. Similarly to the above, the terminal device 2 existing in an area other than the area “113X” in which it is present is randomly selected, and the IP address that is the location information of the terminal ID is stored in the level 3 table. FIG. 4 is an example of a level 3 table. The fourth column of level 3 is an area where the terminal device 2N exists, and since it is tabulated at level 4 described later, no IP address is stored. If there is no terminal device in the area, the terminal ID and IP address fields are blank.

このようにして、レベル4まで同様にメインテーブルMRを図4に示す如く作成することにより、8bitのID全てを網羅することができる。レベルが上がる毎にテーブルの中に空白が目立つようになる。   In this way, all the 8-bit IDs can be covered by creating the main table MR as shown in FIG. As the level goes up, white space becomes more noticeable in the table.

そして、端末装置2は、上記メインテーブルMRの作成と同様にして、サブテーブルR1〜R3を作成し、図5に示す構成のルーティングテーブルRTを作成する。   Then, the terminal device 2 creates the sub tables R1 to R3 in the same manner as the creation of the main table MR, and creates the routing table RT having the configuration shown in FIG.

この構成において、メインテーブルMRはレベル1〜4までの4つのレベル分のエントリEを合計16個(4つのレベル×4つのエリア)含んでいる。また、サブテーブルR1は、レベル1及び2の2つのレベル分のエントリEを合計8個(2つのレベル×4つのエリア)含んでおり、更にサブテーブルR2及びR3は、各々、レベル1のみのエントリEを4個(1つのレベル×4つのエリア)夫々含んでいる。すなわち、ルーティングテーブルRTとしては、各テーブルにおけるレベル数を、メインテーブルMRからみて指数関数的に減少させている。   In this configuration, the main table MR includes a total of 16 entries (four levels × four areas) for four levels from level 1 to level 4. The sub-table R1 includes a total of eight entries (two levels × four areas) corresponding to two levels 1 and 2, and each of the sub-tables R2 and R3 includes only level 1s. Four entries E (one level × four areas) are included. That is, as the routing table RT, the number of levels in each table is decreased exponentially as viewed from the main table MR.

そして、各エントリEには、対応するレベルのルーティング先(転送先)の端末装置2を示す端末ID及びIPアドレス等を含む他端末情報に加えて、当該ルーティング先の端末装置2までメッセージ等が到達するまでに中継される端末装置2の数であるホップ数が、当該ルーティング先の端末装置2までのネットワーク上の距離(換言すれば、当該ルーティング先の端末装置2までメッセージ等を到達させる際の容易性)を示す情報として記述されている。なお、当該端末ID、IPアドレス等及びホップ数を、纏めて以下「ノード情報」と称する。   In each entry E, in addition to other terminal information including a terminal ID and an IP address indicating the terminal device 2 of the corresponding level routing destination (transfer destination), a message or the like is sent to the terminal device 2 of the routing destination. The number of hops, which is the number of terminal devices 2 that are relayed before reaching, is the distance on the network to the routing destination terminal device 2 (in other words, when a message or the like reaches the routing destination terminal device 2). Is described as information indicating the ease of The terminal ID, IP address, etc. and the number of hops are collectively referred to as “node information” hereinafter.

また、ルーティングテーブルRTを構成するメインテーブルMR、サブテーブルR1〜R3においては、各テーブル内の同一レベル且つ同一エリアに相当するエントリEには、当該同一エリアに属する転送先となり得る端末装置2のノード情報が、ホップ数の少ない端末装置2から順にメインテーブルMR、サブテーブルR1〜R3に夫々一端末装置2分だけ記述されている。   Further, in the main table MR and sub-tables R1 to R3 constituting the routing table RT, the entry E corresponding to the same level and the same area in each table contains the terminal device 2 that can be a transfer destination belonging to the same area. Node information is described in the main table MR and the sub-tables R1 to R3 in order from the terminal device 2 with the smallest number of hops for one terminal device 2 each.

より具体的には、例えば図5に例示するメインテーブルMRのエントリME1に注目した場合、当該エントリME1内に記述されているノード情報により示される端末装置2と同じエリアに属する他の1つの端末装置2を示すノード情報が、当該エントリME1と同一レベル同一エリアに相当するサブテーブルR1のエントリR1E1、サブテーブルR2のエントリR2E1及びサブテーブルR3のエントリR3E1内に夫々記述されている。   More specifically, for example, when attention is paid to the entry ME1 of the main table MR illustrated in FIG. 5, another one terminal belonging to the same area as the terminal device 2 indicated by the node information described in the entry ME1. Node information indicating the device 2 is described in the entry R1E1 of the subtable R1, the entry R2E1 of the subtable R2, and the entry R3E1 of the subtable R3 corresponding to the same level and the same area as the entry ME1.

そして、メインテーブルMRのエントリME1内に記述されている端末IDにより示される端末装置2までのホップ数は、サブテーブルR1のエントリR1E1内に記述されている端末IDにより示される端末装置2までのホップ数より少なく、当該エントリR1E1内に記述されている端末IDにより示される端末装置2までのホップ数は、サブテーブルR2のエントリR2E1内に記述されている端末IDにより示される端末装置2までのホップ数より少なく、更に当該エントリR2E1内に記述されている端末IDにより示される端末装置2までのホップ数は、サブテーブルR3のエントリR3E1内に記述されている端末IDにより示される端末装置2までのホップ数より少なくなっている。   The number of hops to the terminal device 2 indicated by the terminal ID described in the entry ME1 of the main table MR is the number of hops to the terminal device 2 indicated by the terminal ID described in the entry R1E1 of the subtable R1. The number of hops to the terminal device 2 indicated by the terminal ID described in the entry R1E1 is smaller than the number of hops, and the number of hops to the terminal device 2 indicated by the terminal ID described in the entry R2E1 of the sub-table R2 The number of hops to the terminal device 2 indicated by the terminal ID described in the entry R2E1 is less than the number of hops up to the terminal device 2 indicated by the terminal ID described in the entry R3E1 of the sub-table R3. The number of hops is less.

なお、図5に示すルーティングテーブルRTにおいて、エントリME1、R1E1、R2E1及びR3E1内に夫々記述されている端末IDにより示される端末装置2までのホップ数を相互に等しく構成することも可能である。この場合は、他の端末装置2からメッセージを受け取った時刻が最近の端末装置2を示す端末IDがエントリME1内に記述されることになる。   In the routing table RT shown in FIG. 5, the number of hops to the terminal device 2 indicated by the terminal IDs described in the entries ME1, R1E1, R2E1, and R3E1 can be configured to be equal to each other. In this case, the terminal ID indicating the terminal device 2 having the latest time when the message is received from the other terminal device 2 is described in the entry ME1.

このような構成を備えるルーティングテーブルRTを用いて、他の端末装置2へメッセージ等を送信(転送)する場合、例えばメインテーブルMRのエントリME1内に記述されている端末IDにより示される端末装置2が、例えば当該端末装置2自体が第1配信システムから離脱した等の理由により当該第1配信システム内に存在しなくなったことが認識された場合、他のルーティング先の端末装置2を新たに探索することなく、サブテーブルR1のエントリR1E1内に記述されているノード情報により示される(同じエリア内の)他の端末装置2を新たなルーティング先に直ちに切り換えて必要なDHTルーティング処理を継続する。   When a message or the like is transmitted (transferred) to another terminal device 2 using the routing table RT having such a configuration, for example, the terminal device 2 indicated by the terminal ID described in the entry ME1 of the main table MR. However, when it is recognized that the terminal device 2 itself no longer exists in the first distribution system because, for example, the terminal device 2 itself has left the first distribution system, a new search is made for the terminal device 2 that is another routing destination. Without this, the other terminal device 2 (in the same area) indicated by the node information described in the entry R1E1 of the sub-table R1 is immediately switched to a new routing destination and the necessary DHT routing processing is continued.

そして、当該他の端末装置2をルーティング先としたメッセージ等の送信においては、元々エントリR1E1に記述されていたノード情報をエントリME1内に書き換えると共に、元々エントリR2E1に記述されていたノード情報をエントリR1E1内に書き換え、更に元々エントリR3E1に記述されていたノード情報をエントリR2E1内に書き換えるルーティングテーブルRTの更新を行い、新たなメッセージ等の送信に備える。   In transmission of a message or the like using the other terminal device 2 as a routing destination, the node information originally described in the entry R1E1 is rewritten in the entry ME1 and the node information originally described in the entry R2E1 is entered. The routing table RT is rewritten in the R1E1 and the node information originally written in the entry R3E1 is rewritten in the entry R2E1 to prepare for transmission of a new message or the like.

更に、例えば現在エントリME1内に記述されている端末IDにより示される端末装置2よりもホップ数が少ない同一レベル同一エリア内の他の端末装置2が発見された場合には、その新たに発見された端末装置2を示すノード情報を新たにエントリME1内に記述し、元々エントリME1に記述されていたノード情報をエントリR1E1内に書き換えると共に、元々エントリR1E1に記述されていたノード情報をエントリR2E1内に書き換え、更に元々エントリR2E1に記述されていたノード情報をエントリR3E1内に書き換えるルーティングテーブルRTの更新を行い、新たなメッセージ等の送信に備える。   Further, for example, when another terminal device 2 in the same level and the same area having a smaller number of hops than the terminal device 2 indicated by the terminal ID currently described in the entry ME1 is found, the newly discovered one is found. The node information indicating the terminal device 2 is newly described in the entry ME1, the node information originally described in the entry ME1 is rewritten in the entry R1E1, and the node information originally described in the entry R1E1 is rewritten in the entry R2E1. In addition, the routing table RT for rewriting the node information originally described in the entry R2E1 into the entry R3E1 is updated to prepare for transmission of a new message or the like.

そして、全ての各端末装置2は、以上説明したルーティングテーブルRTを、夫々作成して保持することになる。このように、各端末装置2は、第1配信システムにおける複数の端末装置2のうち一部の端末装置2の端末ID(端末識別情報)とIPアドレス(所在情報)等とを関連付けたルーティングテーブルRTを有しており、このルーティングテーブルRTは後述の第1配信システム用記憶領域250(図14参照。)に記憶される。   All the terminal devices 2 each create and hold the routing table RT described above. Thus, each terminal device 2 is a routing table that associates terminal IDs (terminal identification information), IP addresses (location information), and the like of some of the terminal devices 2 among the plurality of terminal devices 2 in the first distribution system. RT is included, and this routing table RT is stored in a first distribution system storage area 250 (see FIG. 14), which will be described later.

ところで、本実施形態の端末装置2は、第1配信システムに未参加のときには、第1配信システムに参加している他の端末装置2の所在情報などを知らない。そのため、端末装置2は、第1配信システムに参加するときには、次の項で説明するように、ルーティングテーブルを生成する。   By the way, the terminal device 2 of the present embodiment does not know the location information of other terminal devices 2 participating in the first distribution system when not participating in the first distribution system. Therefore, when the terminal device 2 participates in the first distribution system, the terminal device 2 generates a routing table as described in the next section.

なお、本実施形態の端末装置2は、電源が投入されると同時に第1配信システムに参加(接続)するためのアプリケーションを起動するように構成しており、電源が投入されている間は、常時第1配信システムに参加している状態を維持するように構成している。   Note that the terminal device 2 of the present embodiment is configured to start an application for participating in (connecting to) the first distribution system at the same time as the power is turned on, and while the power is turned on, It is comprised so that the state which has always participated in the 1st delivery system may be maintained.

[1.1.3.第1配信システムへの参加]
次に、図6を参照して、コンテンツ配信システムSにおける第1配信システムに未参加の(電源が投入されていない)端末装置2に電源が投入されて、当該第1配信システムへ参加する方法の一例について説明する。図6は、第1配信システムに未参加の端末装置2(以下、「新規参加端末装置2M」と呼ぶ。)が当該第1配信システムへ参加する様子の一例を示す図である。ここでは、新規参加端末装置2Mがコンテンツ配信システムSにおける第1配信システムに参加する手順について説明する。
[1.1.3. Participation in the first distribution system]
Next, referring to FIG. 6, a method in which power is applied to the terminal device 2 that has not participated in the first distribution system in the content distribution system S (the power is not turned on) and participates in the first distribution system. An example will be described. FIG. 6 is a diagram illustrating an example of a state in which a terminal device 2 that has not participated in the first distribution system (hereinafter referred to as “new participation terminal device 2M”) participates in the first distribution system. Here, a procedure in which the newly participating terminal device 2M participates in the first distribution system in the content distribution system S will be described.

まず、第1配信システムに未参加である新規参加端末装置2Mは、電源が投入されると、第1配信システムに参加するためのアプリケーションを起動して、新規参加端末装置2Mが備える後述の主記憶装置205内の第1配信システム用兼第2配信システム用記憶部205b(図13、図14参照。)に、上記したルーティングテーブルRTや、後述のインデックステーブル222等といった第1配信システムで用いる各種情報を記憶する領域として、第1配信システム用の記憶領域を確保する。   First, the new participation terminal apparatus 2M that has not participated in the first distribution system starts an application for participating in the first distribution system when the power is turned on, and the main part described later included in the new participation terminal apparatus 2M. The first distribution system storage unit 205b (see FIGS. 13 and 14) in the storage device 205 is used in the first distribution system such as the routing table RT and the index table 222 described later. A storage area for the first distribution system is secured as an area for storing various types of information.

その後、新規参加端末装置2Mは、コンテンツ配信システムSの第1配信システムに参加するために、コンタクト先紹介装置5に対して、参加メッセージを送信すべき端末装置2(以下、「コンタクト先端末装置」と呼ぶ。)の所在情報を要求(以下、「コンタクト先端末装置の問い合わせ」と呼ぶ。)する。   Thereafter, in order to participate in the first distribution system of the content distribution system S, the new participation terminal apparatus 2M should transmit a participation message to the contact introduction apparatus 5 (hereinafter referred to as “contact terminal apparatus”). Requesting location information (hereinafter referred to as “inquiry of a contact terminal device”).

新規参加端末装置2Mは、コンタクト先紹介装置5から参加メッセージを送信すべきコンタクト先端末装置の所在情報が送られてくると、コンタクト先端末装置に対して参加メッセージを送信する。ここで、参加メッセージのあて先識別情報は、新規参加端末装置2Mの端末IDとなっている。すなわち、新規参加端末装置2Mは、第1配信システムに参加する際に、自装置2のIPアドレスのハッシュ値「2133」を宛先識別情報とした参加メッセージを生成する。   The new participation terminal device 2M transmits a participation message to the contact destination terminal device when the location information of the contact destination terminal device to which the participation message is to be transmitted is sent from the contact destination introduction device 5. Here, the destination identification information of the participation message is the terminal ID of the new participation terminal device 2M. That is, the new participation terminal apparatus 2M generates a participation message using the hash value “2133” of the IP address of the own apparatus 2 as destination identification information when participating in the first distribution system.

コンタクト先端末装置は、新規参加端末装置2Mから送信された参加メッセージを受信すると、この参加メッセージがコンタクト先端末装置宛のメッセージであるか否かを判定する。コンタクト先端末装置宛のメッセージであるか否かは、宛先識別情報とルーティングテーブルRTとに基づいて行われる。具体的には、宛先識別情報がコンタクト先端末装置宛の識別情報と近いか否かが判定される。即ち、宛先識別情報に対して、コンタクト先端末装置自身が保持しているルーティングテーブルRTに記憶されている端末装置2の端末IDから、一番近い端末装置2の端末IDが、自身であるか他の端末装置2であるかを判定する。   When the contact destination terminal device receives the participation message transmitted from the new participation terminal device 2M, the contact destination terminal device determines whether or not the participation message is a message addressed to the contact destination terminal device. Whether the message is addressed to the contact destination terminal device is determined based on the destination identification information and the routing table RT. Specifically, it is determined whether the destination identification information is close to the identification information addressed to the contact destination terminal device. That is, for the destination identification information, is the terminal ID of the terminal device 2 that is closest to the terminal ID of the terminal device 2 stored in the routing table RT held by the contact destination terminal device itself? It is determined whether it is another terminal device 2.

そして、コンタクト先端末装置の端末IDよりも他の端末装置の端末IDの方が宛先識別情報に近いとき、参加メッセージを受信したコンタクト先端末装置は、コンタクト先端末装置自身が保持しているルーティングテーブルRTのレベル2を参照して、「2XXX」のエリアに属す端末装置2のうち、IPアドレスを知っている端末装置2Bに対して参加メッセージを転送するとともに自端末装置2が保持しているルーティングテーブルのレベル1のテーブルの情報を、新規参加端末装置2Mへ送信する。   When the terminal ID of the other terminal device is closer to the destination identification information than the terminal ID of the contact destination terminal device, the contact destination terminal device that has received the participation message has the routing held by the contact destination terminal device itself. Referring to level 2 of table RT, among the terminal devices 2 belonging to the area “2XXX”, the participation message is transferred to the terminal device 2B that knows the IP address and is held by the own terminal device 2 Information on the level 1 table of the routing table is transmitted to the newly participating terminal apparatus 2M.

このように、コンテンツIDの桁を上から順に適合していく要領で参加メッセージの転送を行い、順次ルーティングテーブルRTの各レベルの情報を送信する。最終的に宛先識別情報に最も近い端末装置2に辿り着いたところで参加メッセージの転送は終了する。なお、参加メッセージなどのメッセージを目的の端末装置2へ辿り着くまでに、上述のように転送する仕組みをDHTルーティングと呼ぶ。   In this way, the participation message is transferred in the manner of adapting the digits of the content ID in order from the top, and information on each level of the routing table RT is sequentially transmitted. When the terminal device 2 that finally comes closest to the destination identification information is reached, the transfer of the participation message ends. A mechanism for transferring a message such as a participation message to the target terminal device 2 as described above is called DHT routing.

こうして、新規参加端末装置2Mは、参加メッセージを受信した端末装置2からルーティングテーブルRTの各レベルの情報を上位レベルの情報から順に取得するようにしている。新規参加端末2はこのようにして、第1配信システムに参加するために必要なルーティングテーブルRTを生成する。   In this way, the new participation terminal device 2M obtains information of each level of the routing table RT from the higher level information in order from the terminal device 2 that has received the participation message. In this way, the new participation terminal 2 generates the routing table RT necessary for participating in the first distribution system.

[1.1.4.コンテンツデータの検索方法]
次に、図7を参照して、コンテンツデータを保持している端末装置2の検索方法の一例について説明する。図7は、DHTルーティングによりコンテンツデータを保持している端末装置2が検索される様子の一例を示す図である。
[1.1.4. Content data search method]
Next, an example of a search method for the terminal device 2 that holds content data will be described with reference to FIG. FIG. 7 is a diagram illustrating an example of a state in which the terminal device 2 holding content data is searched by DHT routing.

ここでは、端末ID「1133」の端末装置2Nが、コンテンツID「3020」を有するコンテンツデータを探す際の手順について説明する。なお、以下このようにコンテンツデータを探し、コンテンツデータの受信を要求する端末装置を「リクエスト端末装置」と呼ぶ。   Here, a procedure when the terminal device 2N having the terminal ID “1133” searches for content data having the content ID “3020” will be described. Hereinafter, a terminal device that searches for content data and requests reception of content data in this way is referred to as a “request terminal device”.

リクエスト端末装置2Nは、自己が保持しているルーティングテーブルRTのレベル1のテーブルを参照して、コンテンツID「3020」と同じエリアの端末IDを持つ端末装置の端末IDを宛先識別情報としてコンテンツ保持端末情報(コンテンツ保持端末装置の所在情報を含む情報)の送信要求(以下、「コンテンツ検索メッセージ」と呼ぶ。)を送信する。すなわち、コンテンツID「3020」は「3XXX」のエリアであるため、当該「3XXX」のエリアに属す端末装置2のうち、IPアドレスを知っている(すなわち、自己が保持しているルーティングテーブルRTにIPアドレスが記憶されている)端末装置2A(端末ID「3213」)に対してコンテンツ検索メッセージを送信する。このように、コンテンツ検索メッセージはコンテンツに対応する固有の識別情報であるコンテンツIDを含むものであり、このコンテンツIDはコンテンツ検索メッセージにおいて宛先識別情報として用いられる。   The requesting terminal device 2N refers to the level 1 table of the routing table RT held by itself and holds the content of the terminal ID of the terminal device having the terminal ID in the same area as the content ID “3020” as the destination identification information. A transmission request (hereinafter referred to as “content search message”) of terminal information (information including location information of the content holding terminal device) is transmitted. That is, since the content ID “3020” is an area of “3XXX”, the terminal device 2 belonging to the area of “3XXX” knows the IP address (that is, in the routing table RT held by itself). A content search message is transmitted to the terminal device 2A (terminal ID “3213”) in which the IP address is stored. Thus, the content search message includes a content ID that is unique identification information corresponding to the content, and this content ID is used as destination identification information in the content search message.

図7に示す例によれば、端末IDが「3213」である端末装置2AのIPアドレスがリクエスト端末装置2Nのルーティングテーブル(図4参照。)に記憶されているので、リクエスト端末装置2Nは、端末IDが「3213」である端末装置2Aに対してコンテンツ検索メッセージを送信する。   According to the example shown in FIG. 7, since the IP address of the terminal device 2A whose terminal ID is “3213” is stored in the routing table (see FIG. 4) of the request terminal device 2N, the request terminal device 2N A content search message is transmitted to the terminal device 2A whose terminal ID is “3213”.

次に、コンテンツ検索メッセージを受信した端末装置2Aは、このコンテンツ検索メッセージが自端末装置2A宛のメッセージであるか否かを判定する。自端末装置2A宛のメッセージであるか否かは、宛先識別情報とルーティングテーブルRTとに基づいて行われる。具体的には、宛先識別情報が自端末装置2Aの端末IDと近いか否かが判定される。即ち、宛先識別情報に対して、端末装置2A自身が保持しているルーティングテーブルRTに記憶されている端末装置2の端末IDから、一番近い端末装置2の端末IDが、自身であるか他の端末装置2であるかを判定する。ここでは、自端末装置2Aの端末IDよりも他の端末装置2の端末IDの方が、宛先識別情報に近いため、端末装置2Aは、当該端末装置2A自身が保持しているルーティングテーブルRTのレベル2のテーブルを参照して、「30XX」のエリアに属す端末装置2のうち、IPアドレスを知っている端末装置2B(端末ID「3031」)に対してコンテンツ検索メッセージを転送する。   Next, the terminal device 2A that has received the content search message determines whether or not the content search message is a message addressed to the terminal device 2A. Whether the message is addressed to the terminal device 2A is determined based on the destination identification information and the routing table RT. Specifically, it is determined whether the destination identification information is close to the terminal ID of the terminal device 2A. That is, for the destination identification information, whether the terminal ID of the terminal device 2 that is closest to the terminal ID of the terminal device 2 stored in the routing table RT held by the terminal device 2A itself is itself. It is determined whether it is a terminal device 2. Here, since the terminal ID of the other terminal device 2 is closer to the destination identification information than the terminal ID of its own terminal device 2A, the terminal device 2A has the routing table RT held by the terminal device 2A itself. Referring to the level 2 table, the content search message is transferred to the terminal device 2B (terminal ID “3031”) that knows the IP address among the terminal devices 2 belonging to the area “30XX”.

このように、コンテンツIDの桁を上から順に適合していく要領でコンテンツ検索メッセージの転送が進み、最終的に当該コンテンツデータを管理する端末装置2C(端末ID「3011」)、すなわちルート端末装置に辿り着くと、当該ルート端末装置は、コンテンツ検索メッセージに含まれるコンテンツID「3020」を、自身が管理している後述のインデックスキャッシュ情報の中から検索し、当該コンテンツデータを所有しているコンテンツ保持端末装置のIPアドレス等をリクエスト端末装置2Nに返信するようになっている。   In this way, the transfer of the content search message proceeds in the manner of adapting the digits of the content ID in order from the top, and finally the terminal device 2C (terminal ID “3011”) that manages the content data, that is, the root terminal device When the route terminal device arrives, the root terminal device searches the content ID “3020” included in the content search message from index cache information (described later) managed by itself, and owns the content data. The IP address or the like of the holding terminal device is returned to the request terminal device 2N.

こうして、リクエスト端末装置2Nは、上記ルート端末装置2Cから、コンテンツ保持端末情報(コンテンツID「3020」のコンテンツデータの所在情報、即ち、コンテンツID「3020」のコンテンツデータを保持するコンテンツ保持端末装置のIPアドレス)を受信して知ることになり、当該コンテンツ保持端末装置へ所望のコンテンツに関するダウンロード要求を送信することにより、このダウンロード要求を受信したコンテンツ保持端末装置から、そのコンテンツデータをダウンロードして取得することになる。   In this way, the request terminal device 2N receives the content holding terminal information (location information of the content data with the content ID “3020”, that is, the content data with the content ID “3020”) from the root terminal device 2C. IP address) is received, and the content data is downloaded and acquired from the content holding terminal device that has received the download request by transmitting a download request for the desired content to the content holding terminal device. Will do.

[1.1.5.インデックステーブルへの登録方法]
コンテンツ配信システムSにおける第1配信システムの中で、新しいコンテンツデータをネットワーク6上において他の端末装置2に見えるように公開する際の手法について述べる。
[1.1.5. How to register in the index table]
In the first distribution system in the content distribution system S, a method for publishing new content data so as to be visible to other terminal devices 2 on the network 6 will be described.

本実施形態におけるコンテンツ配信システムSの第1配信システムは、図8に示すように、コンテンツ投入装置4が各コンテンツ保持端末装置となる端末装置2に対して、各コンテンツ保持端末装置毎の管理対象コンテンツとなるコンテンツデータを送信する。コンテンツ投入装置4から管理対象のコンテンツデータを受信したコンテンツ保持端末装置は、後述のハードディスク装置203(図13参照。)に受信したコンテンツデータを記憶する。   As shown in FIG. 8, the first distribution system of the content distribution system S in this embodiment is a management target for each content holding terminal device with respect to the terminal device 2 in which the content input device 4 is each content holding terminal device. Send content data as content. The content holding terminal device that has received the content data to be managed from the content input device 4 stores the received content data in the hard disk device 203 (see FIG. 13) described later.

当該コンテンツデータを配布されたコンテンツ保持端末装置は、図8及び図9に示すように、当該コンテンツ保持端末装置のIPアドレス及び端末IDを含むコンテンツ保持端末情報の登録要求メッセージ(以下、「コンテンツ登録メッセージ」と呼ぶ。)を、コンテンツの名称等から求めたコンテンツIDと同じ端末IDを持つ端末装置2に向けて(この端末装置2が実在するか否かはこの時点ではわからない。)送信する。そして、このコンテンツ登録メッセージも、上記コンテンツ検索メッセージと同様にルーティングテーブルRTに従って、次々と転送されていき、当該コンテンツ登録メッセージに含まれるコンテンツIDに最も近い端末IDを有する端末装置2まで転送されたところで、その端末装置2がもはや送信先の端末装置2が他にないと判断すると、当該端末装置2自身がそのコンテンツのルート端末装置となるべきだと判断し、図9に示すように、当該コンテンツ登録メッセージに含まれるコンテンツ保持端末情報である当該コンテンツID、コンテンツ保持端末装置のIPアドレス、及び補助情報(タイトル、ジャンル、拡張情報等の属性情報や、監督名等の著作権情報やストリーミング時間等)をインデックスキャッシュ情報として後述のインデックステーブル222(図13参照。)に記憶する。   As shown in FIGS. 8 and 9, the content holding terminal device to which the content data has been distributed is a content holding terminal information registration request message (hereinafter referred to as “content registration”) including the IP address and terminal ID of the content holding terminal device. Message ") is transmitted to the terminal device 2 having the same terminal ID as the content ID obtained from the content name or the like (whether or not this terminal device 2 actually exists is not known at this time). This content registration message is also transferred one after another according to the routing table RT in the same manner as the content search message, and is transferred to the terminal device 2 having the terminal ID closest to the content ID included in the content registration message. By the way, when the terminal device 2 determines that there is no other destination terminal device 2, the terminal device 2 itself determines that it should be the root terminal device of the content, and as shown in FIG. The content ID that is the content holding terminal information included in the content registration message, the IP address of the content holding terminal device, and auxiliary information (attribute information such as title, genre, and extended information, copyright information such as a director name, and streaming time Etc.) as index cache information. DEX is stored in the table 222 (see FIG. 13.).

このようにルート端末装置のインデックステーブル222にコンテンツ保持端末装置の所在情報であるIPアドレスが登録されると、以後リクエスト端末装置からのコンテンツ検索メッセージに対してインデックステーブルに登録したコンテンツ保持端末装置の所在情報をリクエスト端末装置へ返信する。このようにして本実施形態では、コンテンツ投入装置4から配布されたコンテンツをコンテンツ保持端末装置に登録し、ルート端末装置を介して検索できるようにすることで、他の端末装置にコンテンツを公開する。   Thus, when the IP address, which is the location information of the content holding terminal device, is registered in the index table 222 of the root terminal device, the content holding terminal device registered in the index table in response to the content search message from the requesting terminal device thereafter. The location information is returned to the requesting terminal device. In this way, in the present embodiment, the content distributed from the content input device 4 is registered in the content holding terminal device, and can be searched via the root terminal device, so that the content is disclosed to other terminal devices. .

インデックステーブル222は、図10に示すように、コンテンツIDやコンテンツ保持端末装置の所在情報(所在情報)であるIPアドレスなどを含むコンテンツ保持端末情報を記憶するためのテーブルである。このインデックステーブル222には、コンテンツIDやコンテンツ保持端末装置のIPアドレスのほか、コンテンツ保持端末装置を紹介した時刻等がコンテンツ保持端末情報として1行(所定記憶エリア)毎に記憶される。   As shown in FIG. 10, the index table 222 is a table for storing content holding terminal information including a content ID and an IP address that is location information (location information) of the content holding terminal device. The index table 222 stores the content ID, the IP address of the content holding terminal device, the time when the content holding terminal device was introduced, and the like as content holding terminal information for each row (predetermined storage area).

また、本実施形態において、このコンテンツ保持端末情報は、コンテンツ保持端末装置からルート端末装置へ転送される際に、その転送経路上に存在する各端末装置2(コンテンツ保持端末情報を転送した端末装置2)のインデックステーブル222にも、インデックスキャッシュ情報として記憶される。   In the present embodiment, when the content holding terminal information is transferred from the content holding terminal device to the root terminal device, each terminal device 2 existing on the transfer path (the terminal device that transferred the content holding terminal information) The index table 222 of 2) is also stored as index cache information.

[1.2.第2配信システムについて]
次に、本実施形態のコンテンツ配信システムSにおける第2配信システムについて、図1及び図11及び図12を参照して説明する。
[1.2. About the second distribution system]
Next, a second distribution system in the content distribution system S of the present embodiment will be described with reference to FIGS. 1, 11, and 12.

コンテンツ配信システムSの第2配信システムは、図1に示すように、コンテンツ配信装置1を頂点として複数の端末装置2a1,2a2,2b1〜2b4,2c1〜2c8がツリー状の階層構造で多層に論理接続されており、コンテンツ配信装置1からコンテンツデータが当該ツリー状の階層構造の上流に接続されている端末装置2から下流に接続されている端末装置2にかけて順次各端末装置2の中継機能によってストリーミング配信されるように構成される。このツリー状の階層構造は、コンテンツ配信装置1が配信する放送チャンネル毎に構成される。   As shown in FIG. 1, the second distribution system of the content distribution system S includes a plurality of terminal devices 2a1, 2a2, 2b1 to 2b4, 2c1 to 2c8 with a tree-like hierarchical structure and logically arranged in multiple layers. The content data is streamed from the content distribution device 1 to the terminal device 2 connected upstream of the tree-like hierarchical structure to the terminal device 2 connected downstream by the relay function of each terminal device 2. Configured to be delivered. This tree-like hierarchical structure is configured for each broadcast channel distributed by the content distribution apparatus 1.

このコンテンツ配信システムSの第2配信システムにおいては、放送チャンネル毎にコンテンツ配信装置1を頂点(ここでは、便宜上第0階層とする。)として複数の端末装置2がツリー状の階層構造で多層に論理接続されるように接続管理装置3によって管理される。なお、本実施形態においては、ツリー状の階層構造として説明するが、これに限られず、複数の端末装置2がチェーン状の階層構造で多層に論理接続されるようにしてもよい。また、端末装置2a1,2a2は便宜上端末装置2aと、端末装置2b1〜2b4は便宜上端末装置2bと、端末装置2c1〜2c8は便宜上端末装置2cという場合がある。   In the second distribution system of the content distribution system S, a plurality of terminal devices 2 are arranged in a multi-layered manner in a tree-like hierarchical structure with the content distribution device 1 as the apex (here, the 0th layer for convenience) for each broadcast channel. It is managed by the connection management device 3 so as to be logically connected. In the present embodiment, a tree-like hierarchical structure is described. However, the present invention is not limited to this, and a plurality of terminal devices 2 may be logically connected in multiple layers in a chain-like hierarchical structure. The terminal devices 2a1 and 2a2 may be referred to as a terminal device 2a for convenience, the terminal devices 2b1 to 2b4 may be referred to as a terminal device 2b for convenience, and the terminal devices 2c1 to 2c8 may be referred to as a terminal device 2c for convenience.

ここで、第2配信システムにおけるコンテンツデータの配信動作について、図11を参照して簡単に説明する。図11はコンテンツ配信システムSにおける第2配信システムの配信動作説明図である。   Here, the operation of distributing content data in the second distribution system will be briefly described with reference to FIG. FIG. 11 is an explanatory diagram of the distribution operation of the second distribution system in the content distribution system S.

図11に示すように、コンテンツ配信装置1によって第2配信システムでストリーミング配信されるコンテンツデータは、コンテンツ投入装置4によってコンテンツ配信装置1へ投入される。すなわち、コンテンツデータは、コンテンツ投入装置4からコンテンツ配信装置1へ送信され、コンテンツ配信装置1において受信して後述のハードディスク装置203(図13参照。)に保持される。   As shown in FIG. 11, content data that is stream-distributed by the content distribution device 1 in the second distribution system is input to the content distribution device 1 by the content input device 4. That is, the content data is transmitted from the content input device 4 to the content distribution device 1, received by the content distribution device 1, and held in a hard disk device 203 (see FIG. 13) described later.

コンテンツ配信システムSにおける第2配信システムに参加していない端末装置2、言い換えれば放送チャンネルのいずれのツリー状の階層構造も構成していない端末装置2は、第2配信システムに参加する場合、まず、第2配信システムに参加するためのアプリケーションを起動し、自装置2が備える後述の主記憶装置205(図13参照。)に第2配信システム用の記憶領域を確保し、その後、接続管理装置3へ接続先紹介要求を送信する。   When the terminal device 2 that does not participate in the second distribution system in the content distribution system S, in other words, the terminal device 2 that does not constitute any tree-like hierarchical structure of the broadcast channel, when participating in the second distribution system, first, Then, an application for participating in the second distribution system is started, a storage area for the second distribution system is secured in a later-described main storage device 205 (see FIG. 13) included in the own device 2, and then the connection management device A connection destination introduction request is transmitted to 3.

なお、ここで確保される第2配信システム用の記憶領域は、後述のリングバッファ220等として機能するものである。   Note that the storage area for the second distribution system secured here functions as a ring buffer 220 or the like described later.

接続管理装置3は、図11に示すように、コンテンツ配信システムSにおける第2配信システムに参加していない端末装置2から接続先紹介要求を受信すると、第2配信システムのツリー状の階層構造の状態等に基づいて、その端末装置2がストリーミング配信を受けるための上流の装置として接続する接続先候補(コンテンツ配信装置1又は端末装置2)を選択する。そして、接続管理装置3は、このように選択した接続先候補の所在情報(接続先候補のIPアドレスやポート番号など)及び通信プロトコル等を端末装置2に通知する。また、接続先紹介要求は、他のチャンネルに切り替えるときや、ツリー状の階層構造における上流に接続している端末装置2との接続が切断されたときに接続管理装置3から送信される。   As shown in FIG. 11, when the connection management device 3 receives a connection destination introduction request from a terminal device 2 that does not participate in the second distribution system in the content distribution system S, the connection management device 3 has a tree-like hierarchical structure of the second distribution system. Based on the status or the like, a connection destination candidate (content distribution apparatus 1 or terminal apparatus 2) to be connected as an upstream apparatus for receiving streaming distribution of the terminal apparatus 2 is selected. Then, the connection management device 3 notifies the terminal device 2 of the location information (such as the IP address and port number of the connection destination candidate) and the communication protocol of the connection destination candidate thus selected. The connection destination introduction request is transmitted from the connection management device 3 when switching to another channel or when the connection with the terminal device 2 connected upstream in the tree-like hierarchical structure is disconnected.

なお、コンテンツ配信システムSにおいて、すでに通信プロトコルやポート番号が固定されているときには、端末装置2へのポート番号及び通信プロトコルは通知しなくてもよい。ここで、通信プロトコルとして、MMS(Microsoft Media Server)プロトコル、RTSP(Real Time Streaming Protocol)等が用いられる。また、コンテンツデータの形式として、ASF(Advanced Streaming Format)、WMA(Windows(登録商標) Media Audio)、WMV(Windows(登録商標) Media Video)等が用いられる。   In the content distribution system S, when the communication protocol and the port number are already fixed, the port number and the communication protocol to the terminal device 2 need not be notified. Here, MMS (Microsoft Media Server) protocol, RTSP (Real Time Streaming Protocol), etc. are used as communication protocols. As the format of the content data, ASF (Advanced Streaming Format), WMA (Windows (registered trademark) Media Audio), WMV (Windows (registered trademark) Media Video), or the like is used.

端末装置2は、接続管理装置3から接続先候補の所在情報を受信すると、その所在情報を宛先として接続先候補に対し、第2配信システムへの参加(接続)を要求し、これにより端末装置2がコンテンツ配信システムSの第2配信システムにおけるツリー状の階層構造へ組み込まれる。すなわち、端末装置2はコンテンツ配信装置1から配信されるコンテンツデータを受信可能となる。   When the terminal device 2 receives the location information of the connection destination candidate from the connection management device 3, the terminal device 2 requests the connection destination candidate to participate in (connect to) the second distribution system with the location information as the destination, and thereby the terminal device 2 is incorporated into a tree-like hierarchical structure in the second distribution system of the content distribution system S. That is, the terminal device 2 can receive the content data distributed from the content distribution device 1.

コンテンツ配信システムSにおける第2配信システムは、このように端末装置2が次々と各チャンネルに参加することによって、コンテンツ配信装置1を頂点として複数の端末装置2がツリー状の階層構造で多層に論理接続される。そして、コンテンツ配信装置1から配信されるコンテンツデータは、各端末装置2の中継機能により順次ツリー状の階層構造における下流の端末装置2へ中継されて複数の端末装置2にストリーミング配信される。   In the second distribution system in the content distribution system S, the terminal device 2 participates in each channel one after another in this way, so that a plurality of terminal devices 2 have a tree-like hierarchical structure and logically function in multiple layers with the content distribution device 1 as a vertex. Connected. Then, the content data distributed from the content distribution device 1 is sequentially relayed to the downstream terminal devices 2 in the tree-like hierarchical structure by the relay function of each terminal device 2 and streamed to the plurality of terminal devices 2.

すなわち、図11に示すように、コンテンツ配信装置1から端末装置2a1,2a2(第1層の端末装置)へコンテンツデータが送信され、端末装置2a1,2a2はコンテンツデータを受信すると、下流の端末装置2b1〜2b4(第2階層の端末装置)へ受信したコンテンツデータを順次中継する。端末装置2b1〜2b4はコンテンツデータを受信すると、下流の端末装置2c1〜2c8(第3階層の端末装置)へ受信したコンテンツデータを順次中継する。なお、図11においては、理解を容易にするため、複数の放送チャンネルのうち一つの放送チャンネルの階層構造のみを表している。   That is, as shown in FIG. 11, when content data is transmitted from the content distribution device 1 to the terminal devices 2a1, 2a2 (first-layer terminal devices) and the terminal devices 2a1, 2a2 receive the content data, the downstream terminal device The received content data is relayed sequentially to 2b1 to 2b4 (second layer terminal devices). When receiving the content data, the terminal devices 2b1 to 2b4 relay the received content data sequentially to the downstream terminal devices 2c1 to 2c8 (third layer terminal devices). In FIG. 11, only a hierarchical structure of one broadcast channel among a plurality of broadcast channels is shown for easy understanding.

なお、端末装置2は、組み込まれたツリー状の階層構造の位置の上流の端末装置2又はコンテンツ配信装置1の所在情報と、組み込まれたツリー所の階層構造の位置の下流の端末装置2の所在情報とを後述のハードディスク装置203に記憶しており、このように記憶した所在情報に基づいて、コンテンツデータの中継を行うようにしている。また、配信されるコンテンツデータは、複数のパケットに分割されて順次配信されるものであり、このようにパケットに分割されて配信されるデータをコンテンツパケットという。   The terminal device 2 includes the location information of the terminal device 2 or the content distribution device 1 upstream of the position of the embedded tree-like hierarchical structure and the terminal device 2 downstream of the position of the hierarchical structure of the embedded tree place. The location information is stored in a hard disk device 203 to be described later, and content data is relayed based on the location information stored in this way. Further, the content data to be distributed is divided into a plurality of packets and sequentially distributed, and the data thus divided and distributed is called a content packet.

このように端末装置2へ配信されるコンテンツデータは、放送チャンネル毎にそのツリー状の階層構造を構成する端末装置2へ配信される。配信されるコンテンツデータには、音楽や映画などコンテンツのデータのほか、再生時刻情報が含まれている。そして、コンテンツデータを受信した複数の端末装置2は、順次送信されるコンテンツデータの再生を再生時刻情報に基づいて行う。   In this way, the content data distributed to the terminal device 2 is distributed to the terminal device 2 constituting the tree-like hierarchical structure for each broadcast channel. The distributed content data includes reproduction time information in addition to content data such as music and movies. Then, the plurality of terminal devices 2 that have received the content data perform the reproduction of the sequentially transmitted content data based on the reproduction time information.

ここで、端末装置2におけるリングバッファ220について説明する。図12は、端末装置2におけるリングバッファ220を用いてコンテンツデータを受信し、再生或いは下流の端末装置2へ中継する構成を概念的に表した図である。   Here, the ring buffer 220 in the terminal device 2 will be described. FIG. 12 is a diagram conceptually illustrating a configuration in which content data is received using the ring buffer 220 in the terminal device 2 and is played back or relayed to the downstream terminal device 2.

端末装置2は、第2配信システムに参加したときに、参加した放送チャンネルにおけるツリー状の階層構造の上流の装置からストリーミング配信されるコンテンツパケットをストリーミング受信器によって順次受信し、受信したコンテンツパケットに含まれるコンテンツデータをリングバッファ220に一時的に蓄積する。リングバッファ220に一時的に蓄積されたコンテンツデータは、その再生時刻になると、端末装置2の再生手段であるプレイヤによってリングバッファ220から取り出されて再生される。   When the terminal device 2 participates in the second distribution system, the streaming device sequentially receives the content packets streamed from the upstream device of the tree-like hierarchical structure in the participating broadcast channel. The contained content data is temporarily stored in the ring buffer 220. The content data temporarily stored in the ring buffer 220 is taken out of the ring buffer 220 and played by the player as the playback means of the terminal device 2 at the playback time.

ここで、図12に示すように、リングバッファ220には時計回りの方向で新しいコンテンツデータが順次蓄積され、最も古いコンテンツデータが新しいコンテンツデータに書き換わるように構成されている。すなわち、ストリーミング受信器によってリングバッファ220に書き込まれるポイントをAとすると、このポイントAが時計回りに移動していくのである。   Here, as shown in FIG. 12, new content data is sequentially stored in the ring buffer 220 in the clockwise direction, and the oldest content data is rewritten to new content data. That is, if the point written to the ring buffer 220 by the streaming receiver is A, the point A moves clockwise.

なお、図12におけるリングバッファ220は概念的に示したものであり、実際にリング形状をしているのではなく、端末装置2の制御手段が、記憶領域における所定アドレス領域に蓄積した最も古いコンテンツデータを順次新しいコンテンツデータに書き換えることにより実現するものである。   Note that the ring buffer 220 in FIG. 12 is conceptually shown, and is not actually ring-shaped, but the control unit of the terminal device 2 stores the oldest content accumulated in a predetermined address area in the storage area. This is realized by sequentially rewriting data with new content data.

また、コンテンツデータには上述のように再生時刻情報が格納されており、プレイヤはリングバッファ220に蓄積したコンテンツデータのうち、現時刻と合致する再生時刻情報を有するコンテンツデータ(ここでは、図12中Bのポイントのコンテンツデータ)をリングバッファ220から取り出して順次再生する。   In addition, the playback time information is stored in the content data as described above, and the player has content data having playback time information that matches the current time among the content data stored in the ring buffer 220 (here, FIG. 12). The content data of the middle B point) is taken out from the ring buffer 220 and sequentially reproduced.

このようなリングバッファ220によって、再生時刻前のコンテンツデータを蓄積しながら、再生時刻までにネットワーク6の状態に依存して間欠的に発生するコンテンツパケットの損失に対処する。言い換えれば、コンテンツ配信装置1は、パケットの損失補完処理を行えるだけのマージンを確保しながらコンテンツデータを配信している。なお、パケットの損失補完処理とは、ある一定時間待っても上位装置からのパケットが届かない場合に、上位装置にパケットの再送要求を行い、上位装置から再度パケットを送信させる処理をいう。損失補完処理ではこのように一連の処理を行わなければならず、ある程度時間がかかるため、上述のようにマージンの確保が必要となる。   With such a ring buffer 220, content data before the playback time is accumulated, and content packet loss that occurs intermittently depending on the state of the network 6 by the playback time is dealt with. In other words, the content distribution apparatus 1 distributes content data while ensuring a margin sufficient to perform packet loss compensation processing. Note that the packet loss compensation process is a process in which if a packet from the host device does not arrive after waiting for a certain period of time, a packet retransmission request is sent to the host device and the packet is transmitted again from the host device. In the loss compensation process, a series of processes must be performed as described above, and it takes a certain amount of time. Therefore, it is necessary to secure a margin as described above.

ここで、ツリー状の階層構造の下流に他の端末装置2が2台接続されている場合、図12に示すように、端末装置2に2つのストリーミング送信器が設けられる。このストリーミング送信器は、リングバッファ220に格納されているコンテンツデータを所定量毎にコンテンツパケットのデータ領域に格納してコンテンツパケットを生成し、それぞれ下流に接続された他の端末装置2へこのコンテンツパケットを順次送信する。   Here, when two other terminal devices 2 are connected downstream of the tree-like hierarchical structure, two streaming transmitters are provided in the terminal device 2 as shown in FIG. The streaming transmitter stores the content data stored in the ring buffer 220 in a data area of the content packet for each predetermined amount, generates a content packet, and transmits this content to the other terminal devices 2 connected downstream. Send packets sequentially.

本実施形態の端末装置2では、ツリー状の上流の装置から送信されるコンテンツパケットに含まれるコンテンツデータを取り出してリングバッファ220に蓄積するようにしているが、コンテンツパケットをそのままリングバッファ220に蓄積するようにしてもよい。いずれにせよ、ストリーミング送信器は、ストリーミング受信器によって受信したコンテンツパケットの送信先及び送信元の情報を置き換えたコンテンツパケットをツリー状の階層構造における下流の端末装置2に送信することになる。なお、ストリーミング受信器は後述のストリーミング受信手段に対応し、プレイヤは後述のストリーミング再生手段に対応し、ストリーミング送信器は後述のストリーミング中継手段に対応する。   In the terminal device 2 of the present embodiment, the content data included in the content packet transmitted from the upstream device in the tree shape is extracted and stored in the ring buffer 220. However, the content packet is stored in the ring buffer 220 as it is. You may make it do. In any case, the streaming transmitter transmits the content packet obtained by replacing the transmission destination and transmission source information of the content packet received by the streaming receiver to the downstream terminal apparatus 2 in the tree-like hierarchical structure. The streaming receiver corresponds to a streaming receiving means described later, the player corresponds to a streaming reproducing means described later, and the streaming transmitter corresponds to a streaming relay means described later.

このように端末装置2は、第2配信システムに参加した際に、コンテンツデータを一時的に蓄積するリングバッファ220を確保することによって、コンテンツパケットをプリバッファリングしながらパケット損失に対する補完を行い、ネットワーク6の経路上で発生するパケット損失の影響を回避するようにしている。   In this way, when the terminal device 2 participates in the second distribution system, it secures the ring buffer 220 for temporarily storing the content data, thereby compensating for the packet loss while prebuffering the content packet, The influence of packet loss that occurs on the route of the network 6 is avoided.

以上のように、コンテンツ配信システムSの第2配信システムでは、コンテンツ配信装置1から送信されたコンテンツデータが複数の端末装置2にストリーミング配信され、複数の端末装置2において同時刻にコンテンツを再生することができる。すなわち、コンテンツ配信システムSは、P2Pを用いて複数の端末装置2への放送形式のストリーミング配信を実現している。   As described above, in the second distribution system of the content distribution system S, the content data transmitted from the content distribution device 1 is stream-distributed to the plurality of terminal devices 2, and the content is reproduced at the same time on the plurality of terminal devices 2. be able to. That is, the content distribution system S realizes streaming distribution in a broadcast format to a plurality of terminal devices 2 using P2P.

[3.端末装置2の構成等の説明]
次に、本実施形態に係る端末装置2の構成等について、図13〜図15を参照して具体的に説明する。
[3. Description of the configuration of the terminal device 2]
Next, the configuration and the like of the terminal device 2 according to the present embodiment will be specifically described with reference to FIGS.

図13は、端末装置2の構成を示すブロック図であり、図14は、端末装置の主記憶装置205内における第1配信システム用兼第2配信システム用記憶部205bを示す説明図であり、図15は、情報管理手段により第1配信システム用に確保される記憶領域と第2配信システム用に確保される記憶領域とを示す説明図である。   FIG. 13 is a block diagram showing a configuration of the terminal device 2, and FIG. 14 is an explanatory diagram showing the first distribution system storage unit 205b for the first distribution system in the main storage device 205 of the terminal device. FIG. 15 is an explanatory diagram showing a storage area reserved for the first distribution system and a storage area reserved for the second distribution system by the information management means.

本実施形態の端末装置2は、一般のパーソナルコンピュータ或いは専用端末を適用することができ、上記した第1配信システムに参加している状態で、上記第2配信システムにも参加することができるように構成しており、具体的には、図13に示すように構成している。   The terminal device 2 of the present embodiment can apply a general personal computer or a dedicated terminal, and can participate in the second distribution system while participating in the first distribution system. Specifically, it is configured as shown in FIG.

すなわち、この端末装置2は、図13に示すように、CPU(Central Processing Unit)202と、各種プログラム等を記憶(格納)する書き換え可能な主記憶装置205と、第1配信システムに参加するためのアプリケーションや第2配信システムに参加するためのアプリケーション等といった各種データ等を記憶するハードディスク装置203と、ネットワーク6を介してネットワーク上のコンテンツ配信装置1、接続管理装置3、コンテンツ投入装置4、コンタクト先紹介装置5及び他の端末装置2との間で有線通信による通信を行うためのネットワークインタフェース204と、ユーザの操作により所定の情報を入力可能なキーボード207やマウス208等の入力手段を制御する周辺機器制御チップ206と、CPU202からイメージデータを受け取り、内部のビデオメモリ(図示せず)に書き込むと共にこのビデオメモリに書き込んだデータを後述の内蔵ディスプレイ210に表示するビデオチップ209と、ビデオチップ209から送信される信号に応じた表示を行う内蔵ディスプレイ210と、FM音源(Frequency Modulation)やWave Table音源などの音源を有する音源チップ211と、音源チップ211から出力されるオーディオ信号を音波に変換する内蔵スピーカ212とを備えて構成され、これらの各種構成要素はシステムバス201を介して相互に接続されている。   That is, as shown in FIG. 13, the terminal device 2 participates in a CPU (Central Processing Unit) 202, a rewritable main storage device 205 that stores (stores) various programs, and the first distribution system. A hard disk device 203 that stores various data such as an application for participating in the second distribution system, a content distribution device 1, a connection management device 3, a content input device 4, and a contact via the network 6 A network interface 204 for performing wired communication between the first introduction device 5 and another terminal device 2 and an input unit such as a keyboard 207 and a mouse 208 capable of inputting predetermined information by a user operation are controlled. Image from peripheral device control chip 206 and CPU 202 The video chip 209 that receives the data and writes it in an internal video memory (not shown) and displays the data written in the video memory on a built-in display 210 to be described later, and a display corresponding to the signal transmitted from the video chip 209 A built-in display 210, a sound source chip 211 having a sound source such as an FM sound source (Frequency Modulation) or Wave Table sound source, and a built-in speaker 212 that converts an audio signal output from the sound source chip 211 into a sound wave. These various components are connected to each other via a system bus 201.

なお、本実施形態においては、CPU202と主記憶装置205とで制御部230を構成している。また、ネットワークインタフェース204は、ルータ10bを介して、ネットワーク6に接続されている。このルータ10bは、図1に示すルータ10に相当するものである。   In the present embodiment, the CPU 202 and the main storage device 205 constitute a control unit 230. The network interface 204 is connected to the network 6 via the router 10b. This router 10b corresponds to the router 10 shown in FIG.

また、上述したようなキーボード207やマウス208では、コンテンツ配信システムSにおけるコンテンツの購入などの操作が可能である。   Further, with the keyboard 207 and the mouse 208 as described above, operations such as purchase of content in the content distribution system S are possible.

(主記憶装置205について)
また、主記憶装置205は、端末装置2のコンピュータとしての基本的な機能を提供するためのOS(オペレーティングシステム)プログラム217、内蔵ディスプレイ210を制御するための画面制御プログラム218、第1配信システム又は第2配信システムにより受信したコンテンツデータをデコードして再生するためのデコーダプログラム219等が記憶されているプログラム記憶部205aを備えている。
(About the main storage device 205)
The main storage device 205 also includes an OS (operating system) program 217 for providing basic functions of the terminal device 2 as a computer, a screen control program 218 for controlling the built-in display 210, a first distribution system, A program storage unit 205a is provided that stores a decoder program 219 and the like for decoding and reproducing the content data received by the second distribution system.

また、この主記憶装置205には、第1配信システムに参加しているときに、第1配信システム用に確保される記憶領域(以下、「第1配信システム用記憶領域250」という。)として機能し、第2配信システムに参加しているときに、第2配信システム用に確保される記憶領域(以下、「第2配信システム用記憶領域251」という。)として機能する第1配信システム用兼第2配信システム用記憶部205bを備えている。   In addition, the main storage device 205 is a storage area reserved for the first distribution system when it participates in the first distribution system (hereinafter referred to as “first distribution system storage area 250”). For the first distribution system that functions and functions as a storage area reserved for the second distribution system (hereinafter referred to as “second distribution system storage area 251”) when participating in the second distribution system. Also, a second distribution system storage unit 205b is provided.

この第1配信システム用兼第2配信システム用記憶部205bは、制御部230が第1配信システムに参加するためのアプリケーションを起動すると、第1配信システム用記憶領域250として機能して、以下の情報を記憶する。   When the control unit 230 starts an application for participating in the first distribution system, the first distribution system and second distribution system storage unit 205b functions as the first distribution system storage area 250, and Store information.

すなわち、第1配信システム用記憶領域250は、図14(a)に示すように、DHTルーティングで用いるルーティングテーブルRT、コンテンツ保持端末装置のIPアドレスやコンテンツ保持端末装置が保持するコンテンツID等を含むコンテンツ保持端末情報(以下、「インデックスキャッシュ情報」ともいう。)を記載したインデックステーブル222、現在ダウンロード可能なコンテンツのタイトルや作者やジャンル等が記載されたコンテンツデータのリスト情報であるカタログ情報224、DHTルーティングの際に用いる各種メッセージ情報225、コンテンツ購入プログラム221等といった第1配信システムによりコンテンツデータを受信するための各種情報を記憶するようにしている。   That is, as shown in FIG. 14A, the first distribution system storage area 250 includes a routing table RT used in DHT routing, an IP address of the content holding terminal device, a content ID held by the content holding terminal device, and the like. An index table 222 in which content holding terminal information (hereinafter also referred to as “index cache information”) is described; catalog information 224 that is content data list information in which titles, authors, genres, and the like of currently downloadable content are described; Various information for receiving content data by the first distribution system such as various message information 225 and content purchase program 221 used at the time of DHT routing is stored.

一方、第1配信システム用兼第2配信システム用記憶部205bは、制御部230が第1配信システムに参加している状態で、第2配信システムに参加するためのアプリケーションを実行すると、第1配信システム用記憶領域250の一部を第2配信システム用記憶領域251として機能させて、以下の情報を記憶する。   On the other hand, when the control unit 230 participates in the first distribution system and executes the application for participating in the second distribution system, the first distribution system and second distribution system storage unit 205b executes the first distribution system storage unit 205b. A part of the distribution system storage area 250 is caused to function as the second distribution system storage area 251 to store the following information.

すなわち、第2配信システム用記憶領域251は、コンテンツ配信装置1から直接又は他の端末装置2に中継されてストリーミング配信されるコンテンツデータをストリーミング受信及びツリー状の階層構造における下流の端末装置2へストリーミング送信するためのストリーム制御プログラム215、ツリー状の階層構造に接続された一層上流の端末装置2(或いはコンテンツ配信装置1)の所在情報(IPアドレスやポート番号)とツリー状の階層構造に接続された一層下流の端末装置2の所在情報の管理等を行うためのトポロジー管理プログラム216、ストリーミング受信したコンテンツデータを順次一時的に記憶するリングバッファ220等といった第2配信システムによりコンテンツデータをストリーミング受信及びストリーミング配信するための情報を記憶するようにしている。   That is, the second distribution system storage area 251 receives the content data that is streamed and distributed directly from the content distribution device 1 or to another terminal device 2 to the downstream terminal device 2 in the streaming reception and tree-like hierarchical structure. Stream control program 215 for streaming transmission, location information (IP address and port number) of terminal device 2 (or content distribution device 1) connected to a tree-like hierarchical structure and a tree-like hierarchical structure Streamed content data is received by the second distribution system such as the topology management program 216 for managing the location information of the further downstream terminal device 2 and the ring buffer 220 for temporarily storing the streamed received content data. And streamy It is provided to store the information for graying delivery.

ここで、OSプログラム217は、CPU202によって読み出されて実行されることにより、キーボード207やマウス208の入出力に関する機能や、主記憶装置205やハードディスク装置203などのメモリ管理などの端末装置2であるコンピュータの基本的な機能を実行可能にするものである。そして、このOSプログラム217がCPU202によって実行された状態で、上述のストリーム制御プログラム215、トポロジー管理プログラム216、画面制御プログラム218、デコーダプログラム219、コンテンツ購入プログラム221等が主記憶装置205から読み出されて実行される。   Here, the OS program 217 is read and executed by the CPU 202, thereby causing the terminal device 2 such as a function related to input / output of the keyboard 207 and the mouse 208 and memory management such as the main storage device 205 and the hard disk device 203. It enables the basic functions of a computer to be executed. Then, with the OS program 217 being executed by the CPU 202, the above-described stream control program 215, topology management program 216, screen control program 218, decoder program 219, content purchase program 221 and the like are read from the main storage device 205. Executed.

なお、OSプログラム217、ストリーム制御プログラム215、トポロジー管理プログラム216、画面制御プログラム218、デコーダプログラム219、コンテンツ購入プログラム221等は、例えば、ネットワーク6に接続されたサーバ等から主記憶装置205にダウンロードされるようにしてもよく、また、CD−ROM等の記憶媒体に記録されてから当該記憶媒体を介して、主記憶装置205に読み込まれるようにしてもよい。   The OS program 217, stream control program 215, topology management program 216, screen control program 218, decoder program 219, content purchase program 221 and the like are downloaded to the main storage device 205 from a server connected to the network 6, for example. Alternatively, it may be recorded on a storage medium such as a CD-ROM and then read into the main storage device 205 via the storage medium.

(制御部230について)
制御部230は、上述のようにCPU202と主記憶装置205とから構成され、CPU202が主記憶装置205に記憶された各種プログラム215〜219、221、ハードディスク装置203に記憶している各種アプリケーションを読み出して実行することにより、端末装置2全体を統括制御し、かつ、後述する記憶容量検出手段、情報量取得手段、参加端末数検出手段、受信速度検出手段、情報管理手段、カタログ情報受信手段、識別情報取得手段、コンテンツデータ記憶制御手段、ダウンロード処理手段、コンテンツ保持端末情報受信手段、ダウンロード送信要求手段、ダウンロードデータ受信手段、メッセージ宛先判定手段、コンテンツ保持端末装置情報選択手段、コンテンツ保持端末装置情報返信手段、コンテンツ識別情報演算手段、コンテンツ登録メッセージ生成手段、コンテンツ登録メッセージ送信手段、メッセージ転送手段、コンテンツ再生手段、接続手段、ストリーミング受信手段、ストリーミング中継手段、ストリーミング再生手段、表示制御手段、デコード手段等として機能するようになっている。
(About the control unit 230)
The control unit 230 includes the CPU 202 and the main storage device 205 as described above, and the CPU 202 reads out various programs 215 to 219 and 221 stored in the main storage device 205 and various applications stored in the hard disk device 203. To execute overall control of the terminal device 2 and perform storage capacity detection means, information amount acquisition means, participating terminal number detection means, reception speed detection means, information management means, catalog information reception means, identification, which will be described later Information acquisition means, content data storage control means, download processing means, content holding terminal information receiving means, download transmission request means, download data receiving means, message destination determination means, content holding terminal device information selection means, content holding terminal device information reply Means, content identification information Means, content registration message generation means, content registration message transmission means, message transfer means, content reproduction means, connection means, streaming reception means, streaming relay means, streaming reproduction means, display control means, decoding means, etc. ing.

なお、CPU202がハードディスク装置203に記憶されている第1配信システムに参加するためのアプリケーション又は第2配信システムに参加するためのアプリケーションを起動することによって、記憶容量検出手段、情報量取得手段、参加端末数検出手段、受信速度検出手段、情報管理手段として、また、CPU202がコンテンツ購入プログラム221を実行することによって、カタログ情報受信手段、識別情報取得手段、コンテンツデータ記憶制御手段、ダウンロード処理手段、コンテンツ保持端末情報受信手段、ダウンロード送信要求手段、ダウンロードデータ受信手段、メッセージ宛先判定手段、コンテンツ保持端末装置情報選択手段、コンテンツ保持端末情報返信手段、コンテンツ識別情報演算手段、コンテンツ登録メッセージ生成手段、コンテンツ登録メッセージ送信手段、メッセージ転送手段等、コンテンツ再生手段として、更にCPU202がストリーム制御プログラム215を実行することによってストリーミング受信手段、ストリーミング中継手段等として、またCPU202がトポロジー管理プログラム216を実行することによって、接続手段等として、またCPU202が画面制御プログラム218を実行することによって表示制御手段等として、更にCPU202がデコーダプログラム219を実行することによってデコード手段、ストリーミング再生手段等として、それぞれ機能するようになっている。   The CPU 202 activates an application for participating in the first distribution system stored in the hard disk device 203 or an application for participating in the second distribution system, so that the storage capacity detection means, the information amount acquisition means, and the participation As a terminal number detection means, a reception speed detection means, an information management means, and when the CPU 202 executes the content purchase program 221, a catalog information reception means, an identification information acquisition means, a content data storage control means, a download processing means, a content Holding terminal information receiving means, download transmission request means, download data receiving means, message destination determination means, content holding terminal device information selection means, content holding terminal information return means, content identification information calculation means, content registration message As a content reproduction means such as a message generation means, a content registration message transmission means, and a message transfer means, the CPU 202 executes a stream control program 215, and as a streaming reception means, a streaming relay means, etc., and the CPU 202 executes a topology management program 216. As a connection means, as a display control means when the CPU 202 executes the screen control program 218, and as a decoding means and a streaming playback means as the CPU 202 executes the decoder program 219, respectively. It is supposed to function.

(記憶容量検出手段について)
記憶容量検出手段は、第2配信システムに参加することにより必要となる記憶領域の容量を検出するものである。
(About storage capacity detection means)
The storage capacity detection means detects the capacity of the storage area required by participating in the second distribution system.

すなわち、この記憶容量検出手段は、第2配信システムにより受信しようとするコンテンツデータの情報量(ビットレート)から、そのコンテンツデータをストリーミング受信するために必要となるリングバッファ220の記憶容量を算出すると共に、このリングバッファ220の容量とストリーム制御プログラム215と、トポロジー管理プログラム216とを記憶可能な記憶容量との合計を算出することによって、第2配信システムに参加することにより必要となる記憶領域の容量を検出する。   That is, the storage capacity detecting means calculates the storage capacity of the ring buffer 220 necessary for streaming reception of the content data from the information amount (bit rate) of the content data to be received by the second distribution system. At the same time, by calculating the sum of the capacity of the ring buffer 220 and the storage capacity capable of storing the stream control program 215 and the topology management program 216, the storage area required by participating in the second distribution system is calculated. Detect capacity.

また、記憶容量検出手段は、リングバッファ220として必要な記憶容量を算出する際に、後述の受信速度検出手段による検出結果に基づいて、第2配信システムにより単位時間にストリーミング受信するコンテンツデータ量を算出すると共に、この算出結果に基づいて必要となるリングバッファ220の記憶容量を算出することもできる。   In addition, when calculating the storage capacity required for the ring buffer 220, the storage capacity detection means determines the amount of content data stream-received per unit time by the second distribution system based on the detection result by the reception speed detection means described later. In addition to the calculation, the necessary storage capacity of the ring buffer 220 can be calculated based on the calculation result.

(情報量取得手段について)
情報量取得手段は、自身が保持しているコンテンツ保持端末情報において、削除対象のコンテンツ保持端末情報を管理している端末装置(ルート端末装置)から、その端末装置が保持しているコンテンツ保持端末情報の情報量を取得することによって、その端末装置が保持しているノード情報の量を取得するものである。
(About information acquisition means)
In the content holding terminal information held by itself, the information amount acquisition means is a content holding terminal held by the terminal device from the terminal device (root terminal device) that manages the content holding terminal information to be deleted. By acquiring the information amount of information, the amount of node information held by the terminal device is acquired.

(参加端末数検出手段について)
参加端末数検出手段は、第1配信システムに参加している端末装置2の数を検出するものである。
(About the number of participating terminals detection means)
The participating terminal number detecting means detects the number of terminal devices 2 participating in the first distribution system.

ここで、第1配信システムに参加している端末装置2の数を検出する方法としては、自端末装置2が記憶しているルーティングテーブルRTを参照し、ルーティングテーブルRTに記載されている端末装置2の数から第1配信システムに参加している端末装置2の数を概算することによって検出するようにしている。   Here, as a method of detecting the number of terminal devices 2 participating in the first distribution system, the terminal device described in the routing table RT is referred to the routing table RT stored in the terminal device 2 itself. The number of terminal devices 2 participating in the first distribution system is detected from the number of 2 by estimating the number.

また、第1配信システムに参加している端末装置2の数を検出する方法としては、第1配信システムに参加している全端末装置2の接続状態を管理しているコンタクト先紹介装置5から現在第1配信システムに参加している端末装置2の数取得するように構成することもできる。   Further, as a method of detecting the number of terminal devices 2 participating in the first distribution system, from the contact introduction device 5 that manages the connection status of all the terminal devices 2 participating in the first distribution system. The number of terminal devices 2 currently participating in the first distribution system can be acquired.

(受信速度検出手段について)
受信速度検出手段は、端末装置2が第2配信システムに参加したときに、ツリー状の階層構造に接続された一層上流の端末装置2(或いはコンテンツ配信装置1)から、その装置が使用している通信回線の種類を取得し、その通信回線(光回線、ADSL回線、通常の電話回線等)の種類から、その装置と自端末装置2との間の通信速度(ビットレート)を間接的に検出する。
(Reception speed detection means)
When the terminal device 2 participates in the second distribution system, the reception speed detection means is used by the device from the terminal device 2 (or the content distribution device 1) that is connected upstream of the tree-like hierarchical structure. The communication speed (bit rate) between the device and the terminal device 2 is indirectly determined from the type of the communication line (optical line, ADSL line, normal telephone line, etc.). To detect.

ここで受信速度検出手段は、通信回線の種類によって通信速度を検出するようにしているが、これに限定するものではなく、たとえば、ツリー状階層構造に接続された一層上流の端末装置2(或いはコンテンツ配信装置1)から、コンテンツデータを送信してもらう前に、所定のファイルサイズのデータをスピードテスト用のデータとして送信してもらい、そのデータの受信が完了するまでに要した時間から、通信速度を検出するように構成してもよい。   Here, the reception speed detection means detects the communication speed according to the type of the communication line, but the present invention is not limited to this. For example, the upstream terminal apparatus 2 connected to the tree-like hierarchical structure (or Before the content data is transmitted from the content distribution device 1), the data of a predetermined file size is transmitted as the data for speed test, and communication is performed from the time required until the reception of the data is completed. You may comprise so that a speed may be detected.

(情報管理手段について)
情報管理手段は、端末装置2が第1配信システムに参加するときに、主記憶装置205の第1配信システム用兼第2配信システム用記憶部205bに、第1配信システム用記憶領域250を確保し、当該端末装置2が第1配信システムに参加している状態で、第2配信システムに参加したときに、第1配信システム用記憶領域250の一部を第2配信システム用記憶領域251として機能させるものである。
(About information management means)
When the terminal device 2 participates in the first distribution system, the information management means secures the first distribution system storage area 250 in the first distribution system / second distribution system storage unit 205b of the main storage device 205. When the terminal device 2 participates in the first distribution system and participates in the second distribution system, a part of the first distribution system storage area 250 is used as the second distribution system storage area 251. It is to function.

すなわち、この情報管理手段は、端末装置2に電源が投入されると、まず、主記憶装置205内の第1配信システム用兼第2配信システム用記憶部205bに第1配信システム用記憶領域250を確保する。   That is, when the terminal device 2 is turned on, the information management unit first stores the first distribution system storage area 250 in the first distribution system / second distribution system storage unit 205b in the main storage device 205. Secure.

このとき、情報管理手段は、図15(a)に示すように、第1配信システムによりコンテンツデータをダウンロードするために必要なだけの記憶領域を第1配信システム用記憶領域250として確保し、この第1配信システム用記憶領域250内に、第1配信システムによりコンテンツデータのダウンロードを行うために必要なコンテンツ購入プログラム221、ルーティングテーブルRT、インデックステーブル222、カタログ情報224、各種メッセージ情報225等(図14(a)参照。)を記憶させる。   At this time, as shown in FIG. 15 (a), the information management means secures a storage area necessary for downloading the content data by the first distribution system as the first distribution system storage area 250. In the first distribution system storage area 250, a content purchase program 221, a routing table RT, an index table 222, catalog information 224, various message information 225 and the like necessary for downloading content data by the first distribution system (see FIG. 14 (a)) is stored.

これら第1配信システム用記憶領域250内に記憶させる各種情報は、前回端末装置2の電源を切る前に、ハードディスク装置203に保存しておいた情報である。ただし、ルーティングテーブルRTとインデックステーブル222とカタログ情報に関しては、一旦ハードディスク装置203から読み出して第1配信システム用記憶領域250に記憶した後、これらの情報が最新のものであるか否かの判断を行い、最新のものでないと判断した場合には、随時最新の情報に更新するように構成している。   Various types of information stored in the first distribution system storage area 250 are information stored in the hard disk device 203 before the terminal device 2 is turned off last time. However, the routing table RT, the index table 222, and the catalog information are once read from the hard disk device 203 and stored in the first distribution system storage area 250, and then it is determined whether these pieces of information are the latest. If it is determined that the information is not the latest, the information is updated as needed.

こうして情報管理手段は、第1配信システム用兼第2配信システム用記憶部205bに第1配信システム用記憶領域250を確保して、第1配信システムによるコンテンツデータのダウンロードに備える。   In this way, the information management means secures the first distribution system storage area 250 in the first distribution system and second distribution system storage unit 205b and prepares for the download of content data by the first distribution system.

その後、ユーザが端末装置2を第1配信システムに参加させている状態で、第2配信システムに参加させるために、キーボード207又はマウス208を操作すると、情報管理手段は、上記した記憶容量検出手段の検出結果に応じて、図15(b)に示すように第1配信システム用記憶領域250に記憶している情報のうちの一部を削除する。   Thereafter, when the user operates the keyboard 207 or the mouse 208 in order to participate in the second distribution system in a state where the terminal device 2 is participating in the first distribution system, the information management unit performs the storage capacity detection unit described above. In accordance with the detection result, a part of the information stored in the first distribution system storage area 250 is deleted as shown in FIG.

すなわち情報管理手段は、記憶容量検出手段の検出結果に応じて、第1配信システム用記憶領域250の一部を第2配信システム用記憶領域251として機能させるか否かを判断する。   That is, the information management unit determines whether or not a part of the first distribution system storage area 250 is to function as the second distribution system storage area 251 according to the detection result of the storage capacity detection unit.

このとき、情報管理手段は、記憶容量検出手段により算出された、第2配信システムによりコンテンツデータをストリーミング受信するのに必要なリングバッファ220の記憶容量とストリーム制御プログラム215とトポロジー管理プログラム216とを記憶可能な記憶容量の合計と、第1配信システム用兼第2配信システム用記憶部205bにおける空き領域の記憶容量とを比較し、この空き領域の記憶容量よりも記憶容量検出手段により算出された記憶領域の方が大きいと判断した場合に、第1配信システム用記憶領域250に記憶している情報のうちの一部を削除する。   At this time, the information management means calculates the storage capacity of the ring buffer 220, the stream control program 215, and the topology management program 216, which are calculated by the storage capacity detection means and are necessary for streaming reception of content data by the second distribution system. The total storage capacity that can be stored is compared with the storage capacity of the free area in the first distribution system / second distribution system storage unit 205b, and the storage capacity of the free area is calculated by the storage capacity detection means. When it is determined that the storage area is larger, a part of the information stored in the first distribution system storage area 250 is deleted.

一方、情報管理手段は、記憶容量検出手段により検出された記憶容量よりも、第1配信システム用兼第2配信システム用記憶部205bの空き領域の記憶容量の方が大きいと判断した場合には、この空き領域を第2配信システム用記憶領域251として機能させる。   On the other hand, if the information management unit determines that the storage capacity of the free area of the first distribution system / second distribution system storage unit 205b is larger than the storage capacity detected by the storage capacity detection unit The free area is caused to function as the second distribution system storage area 251.

これにより、情報管理手段は、第1配信システム用兼第2配信システム用記憶部205bに、第2配信システム用記憶領域251を十分に確保できるだけの空き領域がある場合に、第1配信システム用記憶領域250を第2配信システム用記記憶領域として機能させるための処理を行わなくて済むので、その分、当該情報管理手段の処理負担を軽減することができる。   As a result, the information management means can be used for the first distribution system when there is enough free space in the first distribution system and second distribution system storage unit 205b to sufficiently secure the second distribution system storage area 251. Since it is not necessary to perform a process for causing the storage area 250 to function as a storage area for the second distribution system, the processing load on the information management unit can be reduced accordingly.

また、情報管理手段は、第1配信システム用記憶領域250に記憶している情報の一部を削除する場合、上記情報量取得手段により取得した情報量に応じて、第1配信システム用記憶領域250内のインデックステーブル222を構成しているコンテンツ保持端末情報を削除するか否かの判断を行う。   In addition, when deleting a part of the information stored in the first distribution system storage area 250, the information management means first storage system storage area according to the information amount acquired by the information amount acquisition means. It is determined whether or not to delete the content holding terminal information constituting the index table 222 in 250.

すなわち、情報管理手段は、情報量取得手段により削除対象のコンテンツ保持端末情報を管理しているルート端末装置から、そのルート端末装置が保持している削除対象のコンテンツ保持端末情報の情報量を取得し、取得した情報量が所定の閾値を越えている場合に、第1配信システム用記憶領域250内のインデックステーブル222から削除対象のコンテンツ保持端末情報を削除する。   That is, the information management unit acquires the information amount of the content holding terminal information to be deleted held by the root terminal device from the root terminal device that manages the content holding terminal information to be deleted by the information amount acquiring unit. If the acquired amount of information exceeds a predetermined threshold, the content holding terminal information to be deleted is deleted from the index table 222 in the first distribution system storage area 250.

このとき削除するコンテンツ保持端末情報は、仮に削除しても、再び必要になった場合には、他の端末装置2から取得することができる情報であるため、第1配信システムによるコンテンツデータの受信に支障をきたすことがない。   Since the content holding terminal information to be deleted at this time is information that can be acquired from another terminal device 2 if it is necessary again even if it is deleted, the content data is received by the first distribution system. Will not be disturbed.

また、情報管理手段は、削除対象のコンテンツ保持端末情報を複数種類管理している場合には、情報量取得手段により、複数のルート端末装置から複数種類のコンテンツデータに関するコンテンツ保持端末情報の情報量を取得し、これら取得した複数種類の情報量のうち、情報量が多いコンテンツ保持端末情報から順に削除するようにしている。   In addition, when the information management unit manages a plurality of types of content holding terminal information to be deleted, the information amount acquisition unit determines the information amount of the content holding terminal information related to a plurality of types of content data from a plurality of root terminal devices And the content holding terminal information with the larger information amount among the acquired plural types of information amounts is deleted in order.

そのため、削除したコンテンツ保持端末情報が再度必要になった場合であっても、そのコンテンツ情報を保持しているルート端末装置がネットワーク6上に多数存在しているため、削除したコンテンツ保持端末情報を、そのルート端末装置から容易に取得することができる。   Therefore, even if the deleted content holding terminal information is needed again, there are many root terminal devices on the network 6 that hold the content information. Can be easily obtained from the root terminal device.

一方、情報管理手段は、情報量取得手段により取得した情報量が所定の閾値を超えていない場合には、第1配信システム用記憶領域250に記憶しているコンテンツ保持端末情報以外の情報を削除する。   On the other hand, the information management unit deletes information other than the content holding terminal information stored in the first distribution system storage area 250 when the information amount acquired by the information amount acquisition unit does not exceed a predetermined threshold. To do.

このように、第1配信システム用記憶領域250に記憶しているコンテンツ保持端末情報以外の情報を削除する場合に、情報管理手段は、第1配信システム用記憶領域250からカタログ情報若しくは、ルーティングテーブルRTを構成するノード情報の一部を削除する。   As described above, when information other than the content holding terminal information stored in the first distribution system storage area 250 is deleted, the information management means stores the catalog information or the routing table from the first distribution system storage area 250. A part of node information constituting the RT is deleted.

また、情報管理手段は、上記受信速度検出手段により取得した受信速度に応じて、第1配信システム用記憶領域250として確保している記憶領域のうち、第2配信システム用記憶領域251として機能させる領域を拡張又は縮小する。   Further, the information management means functions as the second distribution system storage area 251 among the storage areas reserved as the first distribution system storage area 250 according to the reception speed acquired by the reception speed detection means. Expand or shrink the area.

すなわち、受信速度検出手段により取得した受信速度が比較的低い場合には、単位時間にリングバッファ220に蓄積されるコンテンツデータのデータ量が比較的少ないため、リングバッファ220として機能させる記憶領域を縮小させても、リングバッファ220へ第2配信システムによりストリーミング受信したコンテンツデータを確実に蓄積することができる。   That is, when the reception speed acquired by the reception speed detection means is relatively low, the amount of content data stored in the ring buffer 220 per unit time is relatively small, so the storage area that functions as the ring buffer 220 is reduced. Even in this case, the content data stream-received by the second distribution system can be reliably stored in the ring buffer 220.

そのため、情報管理手段は、受信速度検出手段により取得した受信速度が比較的低い場合には、第1配信システム用記憶領域250として確保している記憶領域のうち、第2配信システム用記憶領域251として機能させる領域を縮小させ、第1配信システム用記憶領域250から削除する情報量を低減させるようにしている。   Therefore, the information management means, when the reception speed acquired by the reception speed detection means is relatively low, out of the storage areas secured as the first distribution system storage area 250, the second distribution system storage area 251. As a result, the amount of information to be deleted from the first distribution system storage area 250 is reduced.

一方、受信速度検出手段により取得した受信速度が比較的高い場合には、単位時間にリングバッファ220に蓄積されるコンテンツデータのデータ量が比較的多いため、リングバッファ220として機能させる記憶領域を拡張しなければ、第2配信システムによりストリーミング受信するコンテンツデータを確実に蓄積することができない。   On the other hand, when the reception speed acquired by the reception speed detection means is relatively high, the amount of content data accumulated in the ring buffer 220 per unit time is relatively large, so the storage area that functions as the ring buffer 220 is expanded. Otherwise, the content data stream-received by the second distribution system cannot be reliably stored.

そのため、情報管理手段は、受信速度検出手段により取得した受信速度が比較的高い場合には、第1配信システム用記憶領域250として確保している記憶領域のうち、第2配信システム用記憶領域251として機能させる領域を拡大し、第1配信システム用記憶領域250から削除する情報量を増大させる。   Therefore, the information management means, when the reception speed acquired by the reception speed detection means is relatively high, out of the storage areas secured as the first distribution system storage area 250, the second distribution system storage area 251. As a result, the amount of information to be deleted from the first distribution system storage area 250 is increased.

このように、第1配信システム用記憶領域250から削除する情報量が多くなった場合に、情報管理手段は、第1配信システム用記憶領域250に記憶している情報のうち、インデックステーブル222を構成しているコンテンツ保持端末情報又はカタログ情報のいずれか一方を削除する。   As described above, when the amount of information to be deleted from the first distribution system storage area 250 increases, the information management unit stores the index table 222 among the information stored in the first distribution system storage area 250. Either the content holding terminal information or the catalog information that is configured is deleted.

また、情報管理手段は、コンテンツ保持端末情報とカタログ情報とのいずれか一方を削除しても、リングバッファ220として必要となる記憶領域を十分に確保できないと判断した場合に、コンテンツ保持端末情報とカタログ情報との両方を第1配信システム用記憶領域250から削除する。   Further, when the information management means determines that the storage area necessary for the ring buffer 220 cannot be sufficiently secured even if either the content holding terminal information or the catalog information is deleted, the information holding terminal information and Both the catalog information and the catalog information are deleted from the first distribution system storage area 250.

そして、情報管理手段は、コンテンツ保持端末情報とカタログ情報との両方を削除しても、リングバッファ220として必要となる記憶領域を十分に確保できないと判断した場合には、ルーティングテーブルRTを構成するノード情報の一部を削除する。   If the information management unit determines that the storage area necessary for the ring buffer 220 cannot be secured even if both the content holding terminal information and the catalog information are deleted, the information management unit configures the routing table RT. Delete part of the node information.

このとき、情報管理手段は、他の端末装置2の端末IDとその端末装置2のIPアドレス等、DHTルーティングを行う際に必要不可欠な情報に関しては削除せず、自端末装置2からルート端末装置へ情報を転送する際の転送経路上に存在する端末装置の数(ポップ数)を示す情報等、削除してもDHTルーティングを行う際に支障をきたさない情報を削除するようにしている。   At this time, the information management means does not delete information essential for performing DHT routing, such as the terminal ID of the other terminal device 2 and the IP address of the terminal device 2, and does not delete it from the own terminal device 2 to the root terminal device. Information that does not cause any trouble when performing DHT routing, such as information indicating the number of terminal devices (pops) existing on the transfer path when transferring information to, is deleted.

そして、第1配信システムに記憶している情報において、情報管理手段による削除の優先順位は、コンテンツ保持端末情報、カタログ情報、ルーティングテーブルRTに記載されているノード情報の一部の順としている。   In the information stored in the first distribution system, the priority of deletion by the information management means is the order of the content holding terminal information, catalog information, and part of the node information described in the routing table RT.

すなわち、情報管理手段は、第1配信システム用記憶領域250から情報を削除する際に、まず、コンテンツ保持端末情報を削除し、それでもリングバッファ220として十分な記憶領域を確保できなければカタログ情報を削除し、それでもリングバッファ220として十分な記憶領域を確保できなければノード情報の一部を削除するようにしている。   That is, when deleting information from the first distribution system storage area 250, the information management means first deletes the content holding terminal information, and if it still cannot secure a sufficient storage area as the ring buffer 220, catalog information is stored. Even if a sufficient storage area cannot be secured as the ring buffer 220, a part of the node information is deleted.

このように削除の優先順位を設けたことにより、情報管理手段は、第1配信システム用記憶領域250から情報を削除する際に、削除してもDHTルーティングに支障をきたすおそれの低い情報、換言すれば、第1配信システムによりコンテンツデータのダウンロードを行う際に支障をきたすおそれの低い情報から順に削除することができる。   By providing the deletion priority in this way, the information management means, when deleting information from the first distribution system storage area 250, information that is unlikely to hinder DHT routing even if the information is deleted, in other words, In this case, it is possible to delete information in order from the information that is less likely to cause trouble when the content data is downloaded by the first distribution system.

また、情報管理手段は、上記参加端末数検出手段により検出した端末装置2の数が所定の閾値を超えている場合に、第1配信システム用記憶領域250の一部を削除する。   Further, the information management means deletes a part of the first distribution system storage area 250 when the number of terminal devices 2 detected by the participating terminal number detection means exceeds a predetermined threshold.

すなわち、情報管理手段は、第1配信システムに所定数よりも多い端末装置2が参加していれば、第1配信システム用記憶領域250に記憶している情報を削除しても、その情報が必要になった場合、第1配信システムに参加している他の端末装置2からその情報を取得することができる。   In other words, if more than a predetermined number of terminal devices 2 participate in the first distribution system, the information management means can delete the information stored in the first distribution system storage area 250 even if the information is deleted. When it becomes necessary, the information can be acquired from the other terminal devices 2 participating in the first distribution system.

しかも、当該端末装置2が所定のコンテンツデータのルート端末装置であった場合、第1配信システム用記憶領域250に記憶している情報を削除しても、自身が保持している情報を必要とする端末装置2は、第1配信システムに参加している他の端末装置2からその情報を取得することができ、第1配信システムに参加している他の端末装置2に支障をきたすことがない。   In addition, when the terminal device 2 is a root terminal device of predetermined content data, the information held by itself is required even if the information stored in the first distribution system storage area 250 is deleted. The terminal device 2 that can obtain the information from the other terminal devices 2 participating in the first distribution system may interfere with the other terminal devices 2 participating in the first distribution system. Absent.

また、情報管理手段は、第1配信システム用記憶領域250において削除対象となる情報量が多く、後にその情報が必要になった場合、その情報を他の端末装置2等から取得することが困難であると判断した場合、図15(b)に示すように、第1配信システム用記憶領域250から情報を削除する前に、削除対象の情報を一旦ハードディスク装置203へ保存しておく。   In addition, when the information management means has a large amount of information to be deleted in the first distribution system storage area 250 and the information is needed later, it is difficult to obtain the information from another terminal device 2 or the like. 15B, before deleting information from the first distribution system storage area 250, the information to be deleted is temporarily stored in the hard disk device 203, as shown in FIG.

この場合、ハードディスク装置203は、第1配信システム用記憶領域250から削除する情報を保存しておくための他の記憶手段として機能する。   In this case, the hard disk device 203 functions as another storage unit for storing information to be deleted from the first distribution system storage area 250.

このようにして、情報管理手段は、第1配信システム用記憶領域250から情報を削除した後、図15(c)に示すように、第1配信システム用記憶領域250において、削除した情報若しくはハードディスク装置203に保存した情報を記憶していた領域を第2配信システム用記憶領域251として機能させ、この第2配信システム用記憶領域251内に、第2配信システムによりコンテンツデータのダウンロードを行うために必要なストリーム制御プログラム215、トポロジー管理プログラム216、リングバッファ220等(図14(b)参照。)を記憶させる。   In this way, the information management unit deletes the information from the first distribution system storage area 250 and then deletes the deleted information or the hard disk in the first distribution system storage area 250 as shown in FIG. In order to cause the area storing the information stored in the device 203 to function as the second distribution system storage area 251, and to download the content data in the second distribution system storage area 251 by the second distribution system Necessary stream control program 215, topology management program 216, ring buffer 220, etc. (see FIG. 14B) are stored.

こうして情報管理手段は、第1配信システム用兼第2配信システム用記憶部205bに第2配信システム用記憶領域251を確保して、第2配信システムによるコンテンツデータのストリーミング受信に備える。   In this way, the information management means secures the second distribution system storage area 251 in the first distribution system / second distribution system storage unit 205b to prepare for streaming reception of content data by the second distribution system.

そして、情報管理手段は、端末装置2が第2配信システムから離脱した後に、図15(d)に示すように、第2配信システム用記憶領域251に記憶している情報を削除する。   Then, after the terminal device 2 leaves the second distribution system, the information management unit deletes the information stored in the second distribution system storage area 251 as shown in FIG.

その後、情報管理手段は、ハードディスク装置203内に第1配信システム用記憶領域250から削除した情報を保存している場合、図15(d)に示すように、その情報をハードディスク装置203から読み出して、再度、第1配信システム用兼第2配信システム用記憶部205bに確保した第1配信システム用記憶領域250に記憶させ、第1配信システム用兼第2配信システム用記憶部205bを図15(a)に示す状態へ戻す。   Thereafter, when the information deleted from the first distribution system storage area 250 is stored in the hard disk device 203, the information management means reads the information from the hard disk device 203 as shown in FIG. Again, the first distribution system storage unit 205b is stored in the first distribution system storage area 250 secured in the first distribution system storage unit 205b and the second distribution system storage unit 205b is configured as shown in FIG. Return to the state shown in a).

また、情報管理手段は、ハードディスク装置203内に第1配信システム用記憶領域250から削除した情報を保存していない場合、第1配信システム用記憶領域250から削除した情報を、他の端末装置2等から取得して、再度、第1配信システム用兼第2配信システム用記憶部205bに確保した第1配信システム用記憶領域250に記憶させ、第1配信システム用兼第2配信システム用記憶部205bを図15(a)に示す状態へ戻す。   In addition, when the information deleted from the first distribution system storage area 250 is not stored in the hard disk device 203, the information management means stores the information deleted from the first distribution system storage area 250 in the other terminal device 2. Is stored in the first distribution system storage area 250 secured in the first distribution system / second distribution system storage unit 205b again, and is stored in the first distribution system / second distribution system storage unit. 205b is returned to the state shown in FIG.

このように情報管理手段は、第1配信システムに参加した状態で、第2配信システムに参加したときに、第1配信システム用記憶領域250の一部を第2配信システム用記憶領域251として機能させることにより、第2配信システムで使用するリングバッファ220として十分な容量の記憶領域を確保することができるので、第2配信システムによるコンテンツデータのストリーミング受信に支障をきたすことがなく、第2配信システムに参加していないときには、第2配信システム用記憶領域251を確保しておく必要がないため、端末装置2の主記憶装置205を有効に利用することができる。   In this way, when the information management means participates in the second distribution system in a state of participating in the first distribution system, a part of the first distribution system storage area 250 functions as the second distribution system storage area 251. By doing so, it is possible to secure a storage area having a sufficient capacity as the ring buffer 220 used in the second distribution system, so that the second distribution system does not hinder the streaming reception of the content data, and the second distribution When not participating in the system, it is not necessary to secure the second distribution system storage area 251, so that the main storage device 205 of the terminal device 2 can be used effectively.

(カタログ情報受信手段について)
カタログ情報受信手段は、コンテンツ投入装置4から送信されるカタログ情報を受信する機能を有している。コンテンツ投入装置4から送信されるカタログ情報は、第1配信システムにおいて現在ダウンロード可能なコンテンツデータのタイトルとコンテンツIDとが関連付けられた情報であり、自端末装置2が第1配信システムに参加したときにコンテンツ投入装置4へカタログ情報の送信要求を行うことによって、コンテンツ投入装置4から送信されるものである。また、コンテンツ投入装置4は新たにコンテンツ配信装置1又は端末装置2に対して所定数のコンテンツデータを投入したときには、更新したカタログ情報を各端末装置2へ送信するようにしている。
(About catalog information receiving means)
The catalog information receiving unit has a function of receiving catalog information transmitted from the content input device 4. The catalog information transmitted from the content input device 4 is information in which the title of content data currently downloadable in the first distribution system and the content ID are associated, and when the terminal device 2 participates in the first distribution system. The content input device 4 transmits the catalog information to the content input device 4 in response to the request. Further, when a predetermined number of content data is newly input to the content distribution device 1 or the terminal device 2, the content input device 4 transmits the updated catalog information to each terminal device 2.

(識別情報取得手段について)
識別情報取得手段は、ユーザにより所望のコンテンツデータに関してダウンロード要求の操作があると、ダウンロード要求されたコンテンツデータを第1配信システムで取得するために、ダウンロード要求されたコンテンツデータの識別情報であるコンテンツIDを取得する。すなわち、識別情報取得手段は、カタログ情報受信手段によって受信したカタログ情報からダウンロード要求されたコンテンツデータの識別情報であるコンテンツIDを取得する。
(About identification information acquisition means)
The identification information acquisition unit is content that is identification information of content data requested to be downloaded in order to acquire the content data requested to be downloaded by the first distribution system when the user performs a download request operation regarding desired content data. Get an ID. That is, the identification information acquisition unit acquires the content ID that is the identification information of the content data requested for download from the catalog information received by the catalog information reception unit.

なお、識別情報取得手段は、ダウンロード要求されたコンテンツデータのコンテンツIDのみをコンテンツ投入装置4から取得するようにしてもよい。この場合、識別情報取得手段は、ダウンロード要求されたコンテンツデータのタイトルをコンテンツ投入装置4へ送信して、ダウンロード要求されたコンテンツデータのコンテンツIDを取得する。   Note that the identification information acquisition unit may acquire only the content ID of the content data requested to be downloaded from the content input device 4. In this case, the identification information acquisition means transmits the title of the content data requested for download to the content input device 4 and acquires the content ID of the content data requested for download.

また、識別情報取得手段は、後述するコンテンツ識別情報演算手段によってダウンロード要求されたコンテンツデータのコンテンツIDを求めるようにしてもよい。すなわち、ダウンロード要求されたコンテンツデータのタイトルをキーワードとして上記ハッシュ関数によりハッシュ化することによってコンテンツIDを求めるのである。このようにダウンロード要求されたコンテンツデータのタイトルをキーワードとしてコンテンツIDを求めることにより、端末装置2における第1配信システムでのダウンロード処理がし易くなる。なお、第1配信システムによってダウンロード可能なコンテンツのタイトルは、コンテンツ投入装置4から一覧表などの形式で取得し、コンテンツ識別情報演算手段は、この一覧表であるカタログ情報等からコンテンツのタイトルを取得することで、コンテンツIDを算出することができる。   Further, the identification information acquisition means may obtain the content ID of the content data requested to be downloaded by the content identification information calculation means described later. That is, the content ID is obtained by hashing with the hash function using the title of the content data requested to be downloaded as a keyword. Thus, by obtaining the content ID using the title of the content data requested for download as a keyword, the download processing in the first distribution system in the terminal device 2 is facilitated. The titles of content that can be downloaded by the first distribution system are acquired from the content input device 4 in the form of a list or the like, and the content identification information calculation means acquires the title of the content from the catalog information or the like that is the list. By doing so, the content ID can be calculated.

(コンテンツデータ記憶制御手段について)
コンテンツデータ記憶制御手段は、第1配信システムによってダウンロードしたコンテンツデータをハードディスク装置203のコンテンツデータ記憶領域に記憶する。
(About content data storage control means)
The content data storage control unit stores the content data downloaded by the first distribution system in the content data storage area of the hard disk device 203.

(ダウンロード処理手段について)
ダウンロード処理手段は、識別情報取得手段によって取得されたコンテンツデータのコンテンツIDに基づいて、ダウンロード要求されたコンテンツデータを第1配信システムに参加しているコンテンツ保持端末装置からダウンロードする機能を有しており、コンテンツ保持端末情報受信手段、ダウンロード送信要求手段、ダウンロードデータ受信手段などから構成されている。
(About download processing means)
The download processing unit has a function of downloading the content data requested to be downloaded from the content holding terminal devices participating in the first distribution system based on the content ID of the content data acquired by the identification information acquiring unit. And content holding terminal information receiving means, download transmission requesting means, download data receiving means, and the like.

(コンテンツ保持端末情報受信手段について)
コンテンツ保持端末情報受信手段は、まず、識別情報取得手段によって取得されたコンテンツデータのコンテンツIDに基づいて、ダウンロード要求されたコンテンツデータを保持するコンテンツ保持端末装置を検索する。
(About content holding terminal information receiving means)
The content holding terminal information receiving unit first searches for a content holding terminal device that holds the content data requested to be downloaded based on the content ID of the content data acquired by the identification information acquiring unit.

コンテンツ保持端末装置の検索は、識別情報取得手段によって取得されたコンテンツIDを宛先識別情報としたコンテンツ検索メッセージを生成し、そのコンテンツIDと同じエリアの端末IDを持つ端末装置2のIPアドレスをルーティングテーブルRTから取り出して、その端末装置2へコンテンツ検索メッセージを送信することによって行う。   The search for the content holding terminal device generates a content search message using the content ID acquired by the identification information acquisition means as the destination identification information, and routes the IP address of the terminal device 2 having the terminal ID in the same area as the content ID. This is done by taking out from the table RT and transmitting a content search message to the terminal device 2.

そして、このコンテンツ保持端末情報受信手段は、コンテンツ検索メッセージに対して、識別情報取得手段によって取得されたコンテンツIDのコンテンツデータを保持するコンテンツ保持端末装置のIPアドレスをルート端末装置から受信する。   The content holding terminal information receiving unit receives the IP address of the content holding terminal device that holds the content data of the content ID acquired by the identification information acquiring unit from the root terminal device in response to the content search message.

このようにして、コンテンツ保持端末情報受信手段は、ダウンロード要求されたコンテンツデータを保持するコンテンツ保持端末装置に関するコンテンツ保持端末情報を受信するのである。   In this way, the content holding terminal information receiving means receives the content holding terminal information related to the content holding terminal device that holds the content data requested to be downloaded.

(ダウンロード送信要求手段)
ダウンロード送信要求手段は、コンテンツ保持端末情報受信手段によって受信したコンテンツ保持端末情報に対応したコンテンツ保持端末装置に、ダウンロード要求されたコンテンツデータの送信をネットワーク6を介して要求(以下、「ダウンロード送信要求」と呼ぶ。)する。このダウンロード送信要求は、コンテンツ保持端末装置のIPアドレスを宛先として、ダウンロード要求に対応するコンテンツデータのコンテンツIDを設定するものである。なお、コンテンツ保持端末情報受信手段によって検索されたコンテンツ保持端末装置が複数ある場合には、近隣のコンテンツ保持端末装置の一つに対してダウンロード送信要求が行われる。
(Download transmission request means)
The download transmission request means requests the content holding terminal apparatus corresponding to the content holding terminal information received by the content holding terminal information receiving means to transmit the content data requested for download via the network 6 (hereinafter referred to as “download transmission request”). "). This download transmission request sets the content ID of the content data corresponding to the download request with the IP address of the content holding terminal device as the destination. When there are a plurality of content holding terminal devices searched by the content holding terminal information receiving means, a download transmission request is made to one of the neighboring content holding terminal devices.

ここで、「近隣のコンテンツ保持端末装置」とは、ダウンロード送信要求を行う端末装置2が、コンテンツ保持端末装置とDHTルーティングにおいて端末IDが近い端末装置、或いは、物理ネットワークにおいて近いコンテンツ保持端末装置を意味する。特に、ダウンロード送信要求を行うコンテンツ保持端末装置を物理ネットワークにおいて近いコンテンツ保持端末装置とする場合には、コンテンツ保持端末装置からのコンテンツデータのダウンロードを短時間で行うことができる。なお、「物理ネットワークにおいて近い」とは、ダウンロード送信要求を行う端末装置からのメッセージ到達時間が短い、或いはダウンロード送信要求を行う端末装置からのポップ数(ルータを経由する数)が少ない等を意味する。   Here, the “neighboring content holding terminal device” refers to a terminal device 2 that makes a download transmission request, a terminal device having a terminal ID close to the content holding terminal device in DHT routing, or a content holding terminal device close to the physical network. means. In particular, when the content holding terminal device that makes a download transmission request is a content holding terminal device that is close to the physical network, the content data can be downloaded from the content holding terminal device in a short time. Note that “close to the physical network” means that the message arrival time from the terminal device that issues the download transmission request is short, or that the number of pops (number via the router) from the terminal device that issues the download transmission request is small. To do.

(ダウンロードデータ受信手段について)
ダウンロードデータ受信手段は、ダウンロード要求されたコンテンツデータを保持するコンテンツ保持端末装置からダウンロード要求されたコンテンツデータをネットワーク6を介して受信する。コンテンツ保持端末装置から送信されるコンテンツデータは、第2配信システムのようなストリーミング形式ではなく、ダウンロード形式のデータである。
(About download data receiving means)
The download data receiving unit receives the content data requested to be downloaded from the content holding terminal device that holds the content data requested to be downloaded via the network 6. The content data transmitted from the content holding terminal device is not a streaming format as in the second distribution system, but is a download format data.

ダウンロード受信手段により受信したコンテンツデータは、制御部230によって、ハードディスク装置203のコンテンツデータ記憶領域(コンテンツデータ記憶手段に相当)に記憶される。   The content data received by the download receiving means is stored in the content data storage area (corresponding to the content data storage means) of the hard disk device 203 by the control unit 230.

(メッセージ宛先判定手段について)
メッセージ宛先判定手段は、ネットワーク6を介して受信したメッセージの宛先識別情報とルーティングテーブルRTとに基づいて、受信したメッセージが自端末装置2宛であるか否かを判定する。このメッセージ宛先判定手段が判定するメッセージは、上述のコンテンツ検索メッセージ、コンテンツ登録メッセージなどである。
(About message destination determination means)
The message destination determination unit determines whether the received message is addressed to the terminal device 2 based on the destination identification information of the message received via the network 6 and the routing table RT. The message determined by the message destination determination means is the above-described content search message, content registration message, or the like.

受信したメッセージが自端末装置2宛であるか否かの判定は、メッセージに含まれる宛先端末ID(宛先識別情報)を取り出し、主記憶装置205に記憶したルーティングテーブルRTに基づいて判定する。すなわち、各種のメッセージをネットワークインタフェース204を介して受信したとき、メッセージ宛先判定手段は、受信したメッセージに含まれる宛先識別情報とルーティングテーブルRTに記憶した端末IDとを比較し、メッセージに含まれる宛先識別情報と一番近いルーティングテーブルRT上の端末IDが自端末装置2の端末IDであると判定すると、自端末装置2宛のメッセージであると判定する。   Whether or not the received message is addressed to the own terminal device 2 is determined based on the routing table RT extracted from the destination terminal ID (destination identification information) included in the message. That is, when various messages are received via the network interface 204, the message destination determination unit compares the destination identification information included in the received message with the terminal ID stored in the routing table RT, and determines the destination included in the message. If it is determined that the terminal ID on the routing table RT closest to the identification information is the terminal ID of the own terminal apparatus 2, it is determined that the message is addressed to the own terminal apparatus 2.

(コンテンツ保持端末情報選択手段について)
コンテンツ保持端末情報選択手段は、メッセージ宛先判定手段によりネットワーク6を介して受信したメッセージが自端末装置2宛であり、かつコンテンツ検索メッセージであると判定すると、インデックステーブル222からコンテンツ検索メッセージが対象とするコンテンツIDのコンテンツデータを保持するコンテンツ保持端末装置のIPアドレスを選択する。なお、インデックステーブル222にコンテンツ保持端末装置のIPアドレスが複数ある場合には、それらを全部或いはいくつか選択する。
(About content holding terminal information selection means)
When the content holding terminal information selection unit determines that the message received via the network 6 by the message destination determination unit is addressed to the own terminal device 2 and is a content search message, the content search message is targeted from the index table 222. The IP address of the content holding terminal device that holds the content data of the content ID to be selected is selected. If there are a plurality of content holding terminal device IP addresses in the index table 222, all or some of them are selected.

(コンテンツ保持端末情報返信手段について)
コンテンツ保持端末情報返信手段は、コンテンツ保持端末情報選択手段によって選択されたコンテンツ保持端末装置のIPアドレスを、リクエスト端末装置へネットワーク6を介して返信する。
(About content holding terminal information return means)
The content holding terminal information return means returns the IP address of the content holding terminal apparatus selected by the content holding terminal information selection means to the request terminal apparatus via the network 6.

(コンテンツ識別情報演算手段について)
コンテンツ識別情報演算手段は、コンテンツデータの固有情報を上記の如く所定のハッシュ関数によって演算することによってコンテンツデータの識別情報であるコンテンツIDを演算する。
(About content identification information calculation means)
The content identification information calculation means calculates the content ID that is the identification information of the content data by calculating the specific information of the content data by a predetermined hash function as described above.

(コンテンツ登録メッセージ生成手段について)
コンテンツ登録メッセージ生成手段は、コンテンツ投入装置4からコンテンツデータを受信したとき、受信したコンテンツデータをコンテンツデータ記憶手段であるハードディスク装置203に記憶する。又、コンテンツデータのコンテンツのタイトルをコンテンツ識別情報演算手段によって演算したコンテンツIDを宛先識別情報とし、自端末装置の端末ID及びIPアドレスを含むコンテンツ登録メッセージを生成する。
(About content registration message generation means)
When the content registration message generating means receives the content data from the content input device 4, the content registration message generating means stores the received content data in the hard disk device 203 as the content data storage means. Further, a content registration message including the terminal ID and IP address of the terminal device is generated using the content ID obtained by calculating the content title of the content data by the content identification information calculation means as the destination identification information.

(コンテンツ登録メッセージ送信手段について)
コンテンツ登録メッセージ送信手段は、コンテンツ登録メッセージ生成手段によって生成したコンテンツ登録メッセージを、ハードディスク装置203に記憶したコンテンツデータのコンテンツIDに基づいて、ルーティングテーブルRTに記憶された端末装置2の端末IDから送信先端末装置を選択して送信する。例えば、図4及び図5に示すようなルーティングテーブルRTを有しており、かつハードディスク装置203に記憶したコンテンツデータのコンテンツIDが「1221」である場合、コンテンツ登録メッセージ送信手段は、ルーティングテーブルRTから端末ID「1221」を送信先端末装置として選択し、当該端末ID「1221」の端末装置のIPアドレス「21.13.21.13」を取り出す。そして、当該IPアドレス「21.13.21.13」を送信先端末装置としてコンテンツ登録メッセージを送信する。なお、このコンテンツ登録メッセージの宛先識別情報は「1221」となる。
(About content registration message transmission means)
The content registration message transmission unit transmits the content registration message generated by the content registration message generation unit from the terminal ID of the terminal device 2 stored in the routing table RT based on the content ID of the content data stored in the hard disk device 203. Select the destination terminal device and transmit. For example, when the routing table RT as shown in FIG. 4 and FIG. 5 is provided and the content ID of the content data stored in the hard disk device 203 is “1221”, the content registration message transmitting means transmits the routing table RT. Terminal ID “1221” is selected as the destination terminal device, and the IP address “21.13.21.13” of the terminal device with the terminal ID “1221” is extracted. Then, the content registration message is transmitted using the IP address “21.13.21.13” as the transmission destination terminal device. The destination identification information of this content registration message is “1221”.

(メッセージ転送手段について)
メッセージ転送手段は、メッセージ宛先判定手段によりネットワーク6を介して受信したメッセージが自端末装置宛ではないと判定されると、受信したメッセージの宛先識別情報に基づいて、転送先の端末装置のIPアドレスをルーティングテーブルRTから取り出し、転送先の端末装置2へ受信したメッセージを転送する。
(About message transfer means)
When the message transfer means determines that the message received via the network 6 is not addressed to its own terminal device, the message transfer means determines the IP address of the transfer destination terminal device based on the destination identification information of the received message. Is transferred from the routing table RT, and the received message is transferred to the terminal device 2 as the transfer destination.

(コンテンツ再生手段について)
コンテンツ再生手段は、ハードディスク装置203に記憶したコンテンツデータを取り出して再生するものであり、ビデオチップ209及び音源チップ211を動作させることによりコンテンツデータが再生される。
(About content playback means)
The content reproduction means retrieves and reproduces the content data stored in the hard disk device 203, and the content data is reproduced by operating the video chip 209 and the sound source chip 211.

(接続手段について)
接続手段は、端末装置2をコンテンツ配信システムSの第2配信システムへ参加させるために、接続先紹介要求をネットワーク6を介して接続管理装置3へ送信し、その後、接続管理装置3からネットワーク6を開始して通知された接続先候補に接続する。
(About connection means)
The connection means transmits a connection destination introduction request to the connection management device 3 via the network 6 in order to cause the terminal device 2 to participate in the second distribution system of the content distribution system S, and then from the connection management device 3 to the network 6. To connect to the notified connection destination candidate.

より具体的には、接続手段は、端末装置2をコンテンツ配信システムSの第2配信システムへ参加させるために、接続管理装置3へ登録要求をネットワーク6を介して送信して接続管理装置3へ登録し、更に接続先紹介要求をネットワーク6を介して送信して接続管理装置3へ接続先候補を要求する機能を有している。この登録要求や接続先紹介要求には、自端末装置2のIPアドレス等を含む。   More specifically, the connection means transmits a registration request to the connection management device 3 via the network 6 to cause the terminal device 2 to participate in the second distribution system of the content distribution system S and to the connection management device 3. It has a function of registering and requesting a connection destination candidate from the connection management device 3 by transmitting a connection destination introduction request via the network 6. The registration request and the connection destination introduction request include the IP address of the terminal device 2 itself.

また、接続手段は、接続管理装置3へ送信した接続先紹介要求に対して、接続管理装置3からネットワーク6を介して通知される接続先候補の情報、すなわち接続先候補の端末装置2の所在情報であるIPアドレスやポート番号などの情報(以下、接続先候補の情報を含めて、「接続先候補」と略すことがある。)を受信する機能を有する。   Further, the connection means responds to the connection destination introduction request transmitted to the connection management device 3, and information on connection destination candidates notified from the connection management device 3 via the network 6, that is, the location of the terminal device 2 of the connection destination candidate It has a function of receiving information such as IP address and port number (hereinafter, abbreviated as “connection destination candidates” including information on connection destination candidates).

更に、接続手段は、受信した接続先候補の情報に基づいて、その接続先候補への論理接続を行う機能を有する。すなわち、接続手段は、接続先候補の情報に基づいて、接続先候補のIPアドレス及びポート番号等をあて先とした接続要求を行い、接続先候補との論理接続を行う。このように接続先候補と接続することによって第2配信システムに参加、すなわち自端末装置2をツリー状の階層構造の一部に組み込むことが可能となる。   Further, the connection unit has a function of performing logical connection to the connection destination candidate based on the received information about the connection destination candidate. In other words, the connection means makes a connection request with the destination IP address and port number as the destination based on the information about the destination candidate, and makes a logical connection with the destination candidate. By connecting to the connection destination candidates in this way, it is possible to participate in the second distribution system, that is, to incorporate the own terminal device 2 into a part of the tree-like hierarchical structure.

(ストリーミング受信手段について)
ストリーミング受信手段は、ネットワークインタフェース204を介して第2配信システムによって上流装置、すなわちツリー状の階層構造における上流に論理接続したコンテンツ配信装置1又は上流に接続された端末装置2からコンテンツパケットとして送信されるコンテンツデータをストリーミング受信し、このようにストリーミング受信したコンテンツデータをリングバッファ220に順次記憶する。なお、コンテンツデータ受信手段や後述のコンテンツデータ中継手段は、公知のストリーミング配信用プロトコルを用いることができるほか、独自の専用プロトコルを用いるようにすることもできる。
(About streaming receiving means)
The streaming receiving means is transmitted as a content packet from the upstream device, that is, the content distribution device 1 logically connected upstream in the tree-like hierarchical structure or the terminal device 2 connected upstream by the second distribution system via the network interface 204. The content data to be streamed is received, and the content data thus streamed is stored in the ring buffer 220 sequentially. It should be noted that the content data receiving means and the content data relay means described later can use a known streaming distribution protocol, or can use a unique dedicated protocol.

(ストリーミング中継手段について)
ストリーミング中継手段は、第2配信システムにおける上流装置、すなわちコンテンツ配信装置1又はツリー状の階層構造における上流に接続された端末装置2からネットワーク6を介してストリーミング受信されたコンテンツデータを、下流に接続された他の端末装置2へネットワーク6を介して転送する。
(About streaming relay means)
The streaming relay means connects downstream the content data streamed via the network 6 from the upstream device in the second distribution system, that is, the content distribution device 1 or the terminal device 2 connected upstream in the tree-like hierarchical structure. Then, the data is transferred to the other terminal device 2 via the network 6.

(ストリーミング再生手段について)
ストリーミング再生手段は、ネットワークインタフェース204を介して第2配信システムによって上流装置からストリーミング受信してリングバッファ220に順次記憶されたコンテンツデータを順次再生する機能を有している。
(About streaming playback means)
The streaming reproduction means has a function of sequentially reproducing the content data sequentially received from the upstream apparatus by the second distribution system via the network interface 204 and sequentially stored in the ring buffer 220.

このストリーミング再生手段は、音源チップ211やビデオチップ209を動作させることによってこの機能を実現しており、リングバッファ220に格納したコンテンツデータを順次取り出して、所定のコンテンツデータ形式(たとえば、Wave形式)に変換して音源チップ211やビデオチップ209へ入力し、コンテンツの再生を行う。   This streaming reproduction means realizes this function by operating the sound source chip 211 and the video chip 209, and sequentially retrieves the content data stored in the ring buffer 220 to obtain a predetermined content data format (for example, Wave format). Is input to the sound source chip 211 and the video chip 209, and the content is reproduced.

ストリーミング再生手段によって所定のコンテンツデータ形式に変換されたコンテンツデータは、そのコンテンツデータがオーディオ情報を含む場合には、そのオーディオ情報が音源チップ211によってオーディオ信号へ変換された後、内蔵スピーカ212から出力される。   The content data converted into a predetermined content data format by the streaming reproduction means is output from the built-in speaker 212 after the audio information is converted into an audio signal by the sound source chip 211 when the content data includes audio information. Is done.

また、ストリーミング再生手段によって所定のコンテンツデータ形式に変換されたコンテンツデータは、そのコンテンツデータに映像情報が含まれるときには、後述の表示制御手段による制御によってこの映像情報が内蔵ディスプレイ210に表示される。   In addition, when the content data converted into a predetermined content data format by the streaming playback means includes video information, the video information is displayed on the built-in display 210 under the control of the display control means described later.

また、ストリーミング再生手段は、リングバッファ220に格納されたコンテンツデータに含まれる再生開始時刻情報に基づいて、当該コンテンツデータを再生するタイミングを決定する。すなわち、再生手段は、リングバッファ220に格納されたコンテンツデータをその再生開始時刻で内蔵スピーカ212や内蔵ディスプレイ210に出力するように構成されている。   Also, the streaming playback means determines the timing for playing back the content data based on the playback start time information included in the content data stored in the ring buffer 220. That is, the playback means is configured to output the content data stored in the ring buffer 220 to the built-in speaker 212 and the built-in display 210 at the playback start time.

(表示制御手段について)
表示制御手段は、ビデオチップ209及び内蔵ディスプレイ210を制御して、コンテンツデータや各種情報を表示する機能を有している。すなわち、表示制御手段は、内蔵ディスプレイ210にどのようにコンテンツの映像や各種情報を表示するかを制御することができる。
(Display control means)
The display control means has a function of controlling the video chip 209 and the built-in display 210 to display content data and various types of information. That is, the display control means can control how the content video and various types of information are displayed on the built-in display 210.

(デコード手段について)
デコード手段は、他の端末装置2から送信されるコンテンツデータ等をディスプレイ210に表示し、スピーカ212から出力するためにデコードする。すなわち、他の端末装置2から送信されるコンテンツデータは、ストリーミング配信用のデータ形式、例えばASF、WMA、WMV等のデータ形式でエンコードされており、このようにエンコードされているコンテンツデータをディスプレイ210やスピーカ212から出力できるようにデコードする。
(Decoding means)
The decoding means displays the content data transmitted from the other terminal device 2 on the display 210 and decodes it for output from the speaker 212. That is, the content data transmitted from the other terminal device 2 is encoded in a data format for streaming delivery, for example, a data format such as ASF, WMA, WMV, and the encoded content data is displayed on the display 210. And decoding so that it can be output from the speaker 212.

[2.接続管理装置の動作]
次に、本実施形態における接続管理装置3の動作について、図16に示すフローチャートを参照して説明する。ここで、接続管理装置3は、汎用のパーソナルコンピュータにより構成されており、図16に示すフローチャートは、接続管理装置3の制御部が行う処理を示すものである。
[2. Operation of connection management device]
Next, the operation of the connection management device 3 in this embodiment will be described with reference to the flowchart shown in FIG. Here, the connection management device 3 is composed of a general-purpose personal computer, and the flowchart shown in FIG. 16 shows processing performed by the control unit of the connection management device 3.

接続管理装置3の制御部は、電源が投入されると、図16に示すように、まず、電源OFFか否かの判断を行う。ここで接続管理装置3の制御部は、接続管理装置3の電源をOFFにする操作がなされたと判断した場合(ステップS1:Yes)に処理を終了し、電源をOFFにする操作がなされていないと判断した場合(ステップS1:No)に、処理をステップS2へ移す。   When the power is turned on, the control unit of the connection management device 3 first determines whether or not the power is off as shown in FIG. Here, when the control unit of the connection management device 3 determines that an operation to turn off the power of the connection management device 3 has been performed (step S1: Yes), the process ends, and an operation to turn off the power is not performed. Is determined (step S1: No), the process proceeds to step S2.

ステップS2において接続管理装置3の制御部は、第1配信システムに参加しようとする端末装置2から接続先紹介要求を受信したか否かの判断を行い、接続先紹介要求を受信したと判断した場合(ステップS2:Yes)に、処理をステップS3へ移し、接続先紹介要求を受信していないと判断した場合(ステップS2:No)に、その他の処理を行い(ステップS4)、その後処理をステップS1へ移す。   In step S2, the control unit of the connection management device 3 determines whether or not a connection destination introduction request has been received from the terminal device 2 that intends to participate in the first distribution system, and determines that the connection destination introduction request has been received. In the case (step S2: Yes), the process moves to step S3. When it is determined that the connection destination introduction request has not been received (step S2: No), other processes are performed (step S4), and the subsequent processes are performed. Move to step S1.

ステップS3において接続管理装置3の制御部は、接続先紹介要求を送信してきた端末装置2へ、第1配信システムに参加している現在接続可能な端末装置2のIPアドレスを送信する接続先候補紹介処理を行い、その後、処理をステップS1へ移す。   In step S3, the control unit of the connection management device 3 transmits the IP address of the currently connectable terminal device 2 participating in the first distribution system to the terminal device 2 that has transmitted the connection destination introduction request. An introduction process is performed, and then the process proceeds to step S1.

こうして接続管理装置3の制御部は、電源が投入されている間、ステップS1〜S4の処理を繰り返し、第1配信システムに参加しようとする端末装置2へ接続先候補となる端末装置を紹介する。   In this way, the control unit of the connection management device 3 repeats the processing of steps S1 to S4 while the power is turned on, and introduces terminal devices that are connection destination candidates to the terminal device 2 that intends to participate in the first distribution system. .

[3.端末装置の動作]
次に、本実施形態に係る端末装置の動作について、図17〜図33に示すフローチャートを参照して具体的に説明する。以下の各処理は、端末装置2の制御部230が上述した各手段として機能することによって実行されるものである。なお、以下の説明では、端末装置2の制御部230を単に制御部230と称する。
[3. Operation of terminal device]
Next, the operation of the terminal device according to the present embodiment will be specifically described with reference to the flowcharts shown in FIGS. The following processes are executed by the control unit 230 of the terminal device 2 functioning as each unit described above. In the following description, the control unit 230 of the terminal device 2 is simply referred to as the control unit 230.

(メイン処理)
制御部230を構成するCPU202は、電源が投入されると、まず初期設定動作を行い、その後、ハードディスク装置203に記憶している第1配信システムに参加するためのアプリケーションを起動して、制御部230としての機能を動作させ、主記憶装置205内の第1配信システム用兼第2配信システム用記憶部205bに第1配信システム用記憶領域250を確保する。
(Main process)
When power is turned on, the CPU 202 constituting the control unit 230 first performs an initial setting operation, and then starts an application for participating in the first distribution system stored in the hard disk device 203, The function as 230 is operated, and the first distribution system storage area 250 is secured in the first distribution system storage / second distribution system storage unit 205 b in the main storage device 205.

そして、制御部230は、ハードディスク装置203から読み出したコンテンツ購入プログラムと各種メッセージ情報とを第1配信システム用記憶領域250に記憶し、その後、図17に示すメイン処理を実行する。なお、ルーティングテーブルRT、インデックステーブル222、カタログ情報224に関しては、制御部230がメイン処理を実行することによって、第1配信システム用記憶領域250に順次記憶する。   Then, the control unit 230 stores the content purchase program and various message information read from the hard disk device 203 in the first distribution system storage area 250, and then executes the main processing shown in FIG. Note that the routing table RT, the index table 222, and the catalog information 224 are sequentially stored in the first distribution system storage area 250 by the control unit 230 executing main processing.

このメイン処理において制御部230は、図17に示すように、参加メッセージ送信処理を行う(ステップS11)。   In this main process, the control unit 230 performs a participation message transmission process as shown in FIG. 17 (step S11).

ここで制御部230は、第1配信システムに参加している全ての端末装置2の接続状態を管理しているコンタクト先紹介装置5へ、コンテンツ配信システムSの第1配信システムに参加するために、参加メッセージを送信すべきコンタクト先端末装置の所在情報を要求する。   Here, the control unit 230 participates in the first distribution system of the content distribution system S to the contact introduction device 5 that manages the connection state of all the terminal devices 2 participating in the first distribution system. , Requesting location information of the contact terminal device to which the participation message should be transmitted.

そして、制御部230は、コンタクト先紹介装置5から参加メッセージを送信すべきコンタクト先端末装置の所在情報が送られてくると、コンタクト先端末装置に対して参加メッセージを送信する。なお、このとき送信する参加メッセージの宛先識別情報は、自身の端末IDとなっている。制御部は、自装置2のIPアドレスのハッシュ値を宛先識別情報とした参加メッセージを送信するのである。   And the control part 230 will transmit a participation message with respect to a contact destination terminal device, if the location information of the contact destination terminal device which should transmit a participation message from the contact destination introduction apparatus 5 is sent. Note that the destination identification information of the participation message transmitted at this time is its own terminal ID. The control unit transmits a participation message using the hash value of the IP address of the own device 2 as destination identification information.

次に、制御部230は、ルーティングテーブル作成処理を行う(ステップS12)。ここで制御部230は、以下のようにしてルーティングテーブルRTを作成する。   Next, the control unit 230 performs a routing table creation process (step S12). Here, the control unit 230 creates the routing table RT as follows.

すなわち、参加メッセージを受信したコンタクト先端末装置は、自身が保持しているルーティングテーブルRTに基づいて、この参加メッセージを他の端末装置へ転送すると共に、自身が保持しているルーティングテーブルRTのレベル1のテーブルの情報を新規参加端末装置2Mである当該端末装置へ送信する。   That is, the contact terminal device that has received the participation message transfers the participation message to another terminal device based on the routing table RT held by itself, and at the level of the routing table RT held by itself. The information of the table of 1 is transmitted to the terminal device which is the newly participating terminal device 2M.

そして、参加メッセージが転送された他の端末装置も同様に、自身が保持しているルーティングテーブルRTに基づいて参加メッセージを転送すると共に、自身が保持しているルーティングテーブルRTのレベル2のテーブルの情報を新規参加端末装置2Mである当該端末装置へ送信する。   Similarly, other terminal devices to which the participation message is transferred transfer the participation message based on the routing table RT held by the terminal device, and the level 2 table of the routing table RT held by the terminal device itself. Information is transmitted to the terminal device which is the newly participating terminal device 2M.

このようにして参加メッセージは、順次他の端末装置2へ転送されていき、最終的に宛先識別情報に最も近い端末装置2に辿り着いたところで参加メッセージの転送は終了する。   In this way, the participation message is sequentially transferred to the other terminal devices 2, and the transfer of the participation message is finished when the terminal device 2 finally arrives closest to the destination identification information.

そして、制御部230は、参加メッセージの転送経路となった各端末装置2から、その端末装置2が保持しているルーティングテーブルの情報を順次受信して第1配信システム用記憶領域250に記憶することにより、自身のルーティングテーブルRTの各レベルの情報を上位レベルから順に登録して、第1配信システムに参加するために必要なルーティングテーブルRTを生成する。   And the control part 230 receives sequentially the information of the routing table which the terminal device 2 hold | maintained from each terminal device 2 used as the transfer path | route of the participation message, and memorize | stores it in the memory area 250 for 1st delivery systems. Thus, the information of each level of its own routing table RT is registered in order from the higher level, and the routing table RT necessary for participating in the first distribution system is generated.

次に制御部230は、カタログ情報取得処理を行う(ステップS13)。このとき制御部230は、コンタクト先端末装置等といった第1配信システムに参加している他の端末装置からカタログ情報224を受信して、第1配信システム用記憶領域250に記憶する。   Next, the control unit 230 performs catalog information acquisition processing (step S13). At this time, the control unit 230 receives the catalog information 224 from another terminal device participating in the first distribution system such as a contact terminal device and stores the catalog information 224 in the first distribution system storage area 250.

次に制御部230は、ユーザにより電源をOFF状態にする操作がなされたか否かの判断を行い(ステップS14)、電源をOFF状態にする操作がなされたと判断した場合(ステップS14:Yes)に、メイン処理を終了し、電源をOFF状態にする操作がなされていないと判断した場合(ステップS14:No)に、処理をステップS15へ移す。   Next, the control unit 230 determines whether or not an operation for turning off the power is performed by the user (step S14), and when it is determined that an operation for turning off the power is performed (step S14: Yes). When it is determined that the main process is finished and the operation to turn off the power is not performed (step S14: No), the process proceeds to step S15.

ステップS15において制御部230は、現在第2配信システムに参加中であるか否かの判断を行い、第2配信システムに参加中であると判断した場合(ステップS15:Yes)に、処理をステップS18へ移し、第2配信システムに参加中でないと判断した場合(ステップS15:No)に、処理をステップS16へ移す。   In step S15, the control unit 230 determines whether or not the user is currently participating in the second distribution system. If the control unit 230 determines that the user is currently participating in the second distribution system (step S15: Yes), the process proceeds to step S15. If the process proceeds to S18 and it is determined that the user is not participating in the second distribution system (step S15: No), the process proceeds to step S16.

ステップS18において制御部230は、図31に示す後述の第2配信システム参加中処理を行った後、処理をステップS19へ移す。   In step S18, the control unit 230 performs the second delivery system participation process described later shown in FIG. 31, and then moves the process to step S19.

次に、ステップS16において制御部230は、第2配信システムに参加するか否かの判断を行う。ここで制御部230は、ユーザにより第2配信システムに参加するための操作が為されたか否かによって、第2配信システムに参加するか否かの判断を行う。   Next, in step S16, the control unit 230 determines whether or not to participate in the second distribution system. Here, the control unit 230 determines whether or not to participate in the second distribution system depending on whether or not an operation for participating in the second distribution system is performed by the user.

そして制御部230は、第2配信システムに参加すると判断した場合(ステップS16:Yes)に、処理をステップS17へ移し、第2配信システムに参加しないと判断した場合(ステップS16:No)に、処理をステップS19へ移す。   And when it judges that control part 230 participates in the 2nd distribution system (Step S16: Yes), it moves processing to Step S17, and when it judges that it does not participate in the 2nd distribution system (Step S16: No), The process moves to step S19.

また、ステップS17において制御部230は、図23に示す後述の第2配信システムへの参加処理を行った後、処理をステップS19へ移す。   In step S17, the control unit 230 performs a participation process in the second delivery system described later shown in FIG. 23, and then moves the process to step S19.

ステップS19において制御部230は、第2配信システムのメッセージを受信したか否かの判断を行い、受信したと判断した場合(ステップS19:Yes)に処理をステップS20へ移し、受信していないと判断した場合(ステップS19:No)に、処理をステップS21へ移す。   In step S19, the control unit 230 determines whether or not the message of the second distribution system has been received. If it is determined that the message has been received (step S19: Yes), the process proceeds to step S20. If it is determined (step S19: No), the process proceeds to step S21.

ステップS20において制御部230は、図33に示す後述の第2配信システムのメッセージに対応した処理を行い、その後、処理をステップS14へ移す。   In step S20, the control unit 230 performs a process corresponding to the message of the second delivery system described later shown in FIG. 33, and then moves the process to step S14.

またステップS21において制御部230は、第1配信システムのメッセージを受信したか否かの判断を行い、受信したと判断した場合(ステップS21:Yes)に、処理をステップS22へ移し、受信していないと判断した場合(ステップS21:No)に、処理をステップS23へ移す。   In step S21, the control unit 230 determines whether or not the message of the first distribution system has been received. If it is determined that the message has been received (step S21: Yes), the control unit 230 moves the process to step S22 and receives it. If it is determined that there is not (step S21: No), the process proceeds to step S23.

ステップS22において制御部230は、図18に示す後述の第1配信システムのメッセージに対応した処理を行った後、処理をステップ14へ移す。なお、ステップS23において制御部230は、第1及び第2配信システムによるコンテンツデータの受信とは別のその他の処理を行い、その処理が終了すると処理をステップS14へ移す。   In step S <b> 22, the control unit 230 performs processing corresponding to a message of the first delivery system described later shown in FIG. 18, and then moves the processing to step 14. In step S23, the control unit 230 performs another process different from the reception of the content data by the first and second distribution systems, and when the process ends, the process proceeds to step S14.

そして、制御部230は、端末装置2に電源が投入されている間、これらステップS11〜S23の処理を繰り返し行う。   Then, the control unit 230 repeatedly performs the processes in steps S11 to S23 while the terminal device 2 is powered on.

(第1配信システムのメッセージに対応した処理)
次に、端末装置2の制御部230が、図17に示すメイン処理のステップS22で行う第1配信システムのメッセージに対応した処理について、図18を参照して説明する。
(Processing corresponding to the message of the first distribution system)
Next, the process corresponding to the message of the first distribution system performed by the control unit 230 of the terminal device 2 in step S22 of the main process shown in FIG. 17 will be described with reference to FIG.

第1配信システムのメッセージに対応した処理において、制御部230は、図18に示すように、第1配信システムのメッセージを受信すると、受信したメッセージがコンテンツ登録メッセージであるか否かの判断を行い(ステップS31)、コンテンツ登録メッセージであると判断した場合(ステップS31:Yes)に処理をステップS32へ移し、コンテンツ登録メッセージでないと判断した場合(ステップS31:No)に処理をステップS33へ移す。   In the process corresponding to the message of the first distribution system, when receiving the message of the first distribution system, the control unit 230 determines whether the received message is a content registration message, as shown in FIG. When it is determined that the message is a content registration message (step S31) (step S31: Yes), the process proceeds to step S32. When it is determined that the message is not a content registration message (step S31: No), the process proceeds to step S33.

ステップS32において制御部230は、図19、図20に示す後述のインデックステーブルへの登録処理を行い、その後、処理をステップS36へ移す。   In step S32, the control unit 230 performs registration processing in an index table described later shown in FIGS. 19 and 20, and then moves the processing to step S36.

ステップS33において制御部230は、受信した第1配信システムのメッセージがコンテンツ検索メッセージであるか否かの判断を行い、コンテンツ検索メッセージであると判断した場合(ステップS33:Yes)に処理をステップS34へ移し、コンテンツ検索メッセージでないと判断した場合(ステップS33:No)にその他の処理(ステップS35)を行った後、処理をステップS36へ移す。   In step S33, the control unit 230 determines whether or not the received message of the first distribution system is a content search message. If the control unit 230 determines that the message is a content search message (step S33: Yes), the process proceeds to step S34. If it is determined that the message is not a content search message (step S33: No), other processing (step S35) is performed, and then the processing proceeds to step S36.

ステップS34において制御部230は、自身が保持するインデックステーブル222を参照して、受信したコンテンツ検索メッセージによる検索対象のコンテンツに対応するインデックスキャッシュ情報を検索し、そのインデックスキャッシュ情報が見つかった場合には、そのインデックスキャッシュ情報をコンテンツ検索メッセージの送信元の端末装置2へ返信し、その後、処理をステップS36へ移す。なお、制御部230は、検索対象のコンテンツに対応するインデックスキャッシュ情報が見つからない場合、このステップS34の処理をスルーして処理をステップS36へ移す。   In step S34, the control unit 230 refers to the index table 222 held by itself, searches the index cache information corresponding to the search target content by the received content search message, and when the index cache information is found. The index cache information is returned to the terminal device 2 that is the transmission source of the content search message, and then the process proceeds to step S36. If the index cache information corresponding to the search target content is not found, the control unit 230 passes through the process of step S34 and moves the process to step S36.

次に、ステップS36において制御部230は、自身がコンテンツ登録メッセージにおける登録対象のコンテンツ、若しくは、コンテンツ検索メッセージにおける検索対象のコンテンツのルート端末装置であるか否かの判断を行い、ルート端末装置であると判断した場合(ステップS36:Yes)に処理をステップS37へ移し、ルート端末装置でないと判断した場合(ステップS36:No)に処理をステップS38へ移す。   Next, in step S36, the control unit 230 determines whether it is the content to be registered in the content registration message or the root terminal device of the content to be searched in the content search message. If it is determined that there is a process (step S36: Yes), the process proceeds to step S37. If it is determined that it is not a root terminal apparatus (step S36: No), the process proceeds to step S38.

ステップS37において制御部230は、自身が保持するルーティングテーブルRTに基づいて、受信した第1配信システムのメッセージを次の転送先に転送し、その後、処理をステップS38へ移す。   In step S37, the control unit 230 transfers the received message of the first distribution system to the next transfer destination based on the routing table RT held by itself, and then moves the process to step S38.

ステップS38において制御部230は、図21、図22に示す後述のルーティングテーブルへの登録処理を行うことによって、コンテンツ登録メッセージ及びコンテンツ検索メッセージに含まれるノード情報を、自身が保持するルーティングテーブルRTに登録して、第1配信システムのメッセージに対応した処理を終了する。   In step S38, the control unit 230 performs registration processing in a routing table described later shown in FIGS. 21 and 22 to thereby add the node information included in the content registration message and the content search message to the routing table RT held by itself. The process corresponding to the message of the first distribution system is completed after registration.

(インデックステーブルへの登録処理1)
次に、制御部230が、図18に示す第1配信システムのメッセージに対応した処理のステップS32で行うインデックステーブルへの登録処理1について、図19を参照して説明する。
(Registration process 1 in the index table)
Next, the index table registration process 1 performed by the control unit 230 in step S32 of the process corresponding to the message of the first distribution system shown in FIG. 18 will be described with reference to FIG.

インデックステーブルへの登録処理1において制御部230は、図19に示すように、現在第2配信システムに参加中であるか否かの判断を行い(ステップS41)、第2配信システムに参加中であると判断した場合(ステップS41:Yes)に、このインデックステーブルへの登録処理を終了して、処理を図18に示すステップS36へ移す。   In the index table registration process 1, as shown in FIG. 19, the control unit 230 determines whether or not it is currently participating in the second distribution system (step S41), and is participating in the second distribution system. If it is determined that there is any (step S41: Yes), the registration process to the index table is terminated, and the process proceeds to step S36 shown in FIG.

一方、制御部230は、現在第2配信システムに参加中でないと判断した場合(ステップS41:No)に処理をステップS42へ移し、コンテンツ登録メッセージに含まれるインデックスキャッシュ情報を、自身が保持するインデックステーブル222へ登録し、その後、このインデックステーブルへの登録処理を終了して、処理を図18に示すステップS36へ移す。   On the other hand, when it is determined that the control unit 230 is not currently participating in the second distribution system (step S41: No), the process proceeds to step S42, and the index cache information included in the content registration message is held by itself. After registering in the table 222, the registration process in the index table is terminated, and the process proceeds to step S36 shown in FIG.

(インデックステーブルへの登録処理2)
上記インデックステーブルへの登録処理1において制御部230は、第2配信システムに参加中でなければ、受信した全てのコンテンツ登録メッセージに対応したコンテンツのインデックスキャッシュ情報をインデックステーブル222に登録するようにしているが、複数種類のコンテンツデータのうちの一部のコンテンツデータに関するインデックスキャッシュ情報だけを、登録対象のインデックスキャッシュ情報としてインデックステーブル222に登録してよもよい。
(Registration process to index table 2)
In the registration process 1 to the index table, the control unit 230 registers the index cache information of the content corresponding to all the received content registration messages in the index table 222 unless it is participating in the second distribution system. However, only the index cache information related to some of the plurality of types of content data may be registered in the index table 222 as the index cache information to be registered.

この場合、たとえば、ユーザは、予め所定のジャンルに含まれるコンテンツデータに関するインデックスキャッシュ情報だけを登録対象のインデックスキャッシュ情報としてインデックステーブル222に登録するように端末装置2の設定を行っておく。   In this case, for example, the user sets the terminal device 2 in advance so that only the index cache information related to the content data included in the predetermined genre is registered in the index table 222 as the index cache information to be registered.

そして、制御部230は、登録対象のインデックスキャッシュ情報のみを登録する場合に、図20に示すインデックステーブルへの登録処理2を行う。   Then, when registering only the index cache information to be registered, the control unit 230 performs the registration process 2 in the index table shown in FIG.

すなわち、インデックステーブルへの登録処理2において制御部230は、図20に示すように、第2配信システムに参加中であるか否かの判断を行い(ステップS51)、第2配信システムに参加中であると判断した場合(ステップS51:Yes)に処理をステップS52へ移し、第2配信システムに参加中でないと判断した場合(ステップS51:No)に処理をステップS53へ移す。   That is, in the index table registration process 2, as shown in FIG. 20, the control unit 230 determines whether or not it is participating in the second distribution system (step S51), and is participating in the second distribution system. If it is determined that it is (step S51: Yes), the process proceeds to step S52, and if it is determined that it is not participating in the second distribution system (step S51: No), the process proceeds to step S53.

ステップS52において制御部230は、受信したコンテンツ登録メッセージに含まれているインデックスキャッシュ情報が登録対象のインデックスキャッシュ情報であるか否かの判断を行い、登録対象のインデックスキャッシュ情報であると判断した場合(ステップS52:Yes)に処理をステップS53へ移し、登録対象のインデックスキャッシュ情報でないと判断した場合(ステップS52:No)に、このインデックステーブルへの登録処理2を終了して、処理を図18に示すステップS36へ移す。   In step S52, the control unit 230 determines whether or not the index cache information included in the received content registration message is index cache information to be registered, and determines that the index cache information is registration target index cache information. The process proceeds to step S53 (step S52: Yes), and when it is determined that the index cache information is not to be registered (step S52: No), the registration process 2 to the index table is ended, and the process is illustrated in FIG. To step S36 shown in FIG.

また、ステップS53において制御部230は、コンテンツ登録メッセージに含まれるインデックスキャッシュ情報を、自身が保持するインデックステーブル222へ登録した後、このインデックステーブルへの登録処理2を終了して、処理を図18に示すステップS36へ移す。   In step S53, the control unit 230 registers the index cache information included in the content registration message in the index table 222 held by the control unit 230, ends the registration process 2 in the index table, and performs the process as shown in FIG. To step S36 shown in FIG.

(ルーティングテーブルへの登録処理1)
次に、制御部230が、図18に示す第1配信システムのメッセージに対応した処理のステップS38で行うルーティングテーブルへの登録処理1について、図21を参照して説明する。
(Routing table registration process 1)
Next, the registration process 1 to the routing table performed by the control unit 230 in step S38 of the process corresponding to the message of the first distribution system shown in FIG. 18 will be described with reference to FIG.

ルーティングテーブルへの登録処理1において制御部230は、図21に示すように、第2配信システムに参加中であるか否かの判断を行い(ステップS61)、第2配信システムに参加中であると判断した場合(ステップS61:Yes)に、このルーティングテーブルへの登録処理1を終了して、処理を図17に示すメイン処理のステップS14へ移す。   In the routing table registration process 1, as shown in FIG. 21, the control unit 230 determines whether or not it is participating in the second distribution system (step S61), and is participating in the second distribution system. (Step S61: Yes), the routing table registration process 1 is terminated, and the process proceeds to step S14 of the main process shown in FIG.

また、ステップS62において制御部230は、コンテンツ登録メッセージ及びコンテンツ検索メッセージに含まれるノード情報を、自身が保持するルーティングテーブルRTに登録した後、このルーティングテーブルへの登録処理1を終了して、処理を図17に示すメイン処理のステップS14へ移す。   In step S62, the control unit 230 registers the node information included in the content registration message and the content search message in the routing table RT held by the control unit 230, and then ends the registration process 1 in the routing table. To step S14 of the main process shown in FIG.

(ルーティングテーブルへの登録処理2)
上記ルーティングテーブルへの登録処理1において制御部230は、第2配信システムに参加中でなければ、受信した全てのコンテンツ登録メッセージ及びコンテンツ検索メッセージに含まれるノード情報をルーティングテーブルRTに登録するようにしているが、複数種類のノード情報のうち一部のノード情報だけを、登録対象のノード情報としてルーティングテーブルRTに登録してよもよい。
(Routing table registration process 2)
In the routing table registration process 1, the control unit 230 registers the node information included in all received content registration messages and content search messages in the routing table RT unless participating in the second distribution system. However, only some of the node information of a plurality of types of node information may be registered in the routing table RT as node information to be registered.

この場合、たとえば、ユーザは、所定のジャンルに含まれるコンテンツに関するコンテンツ登録メッセージ及びコンテンツ検索メッセージ中のノードだけを登録対象のノード情報としてルーティングテーブルRTに登録するように端末装置2の設定を行っておく。   In this case, for example, the user sets the terminal device 2 so that only the nodes in the content registration message and content search message related to the content included in the predetermined genre are registered in the routing table RT as registration target node information. deep.

そして、制御部230は、登録対象のノード情報のみを登録する場合に、図22に示すルーティングテーブルへの登録処理2を行う。   Then, when registering only the registration target node information, the control unit 230 performs the registration process 2 in the routing table shown in FIG.

すなわちルーティングテーブルへの登録処理2において制御部230は、図22に示すように、第2配信システムに参加中であるか否かの判断を行い(ステップS71)、第2配信システムに参加中であると判断した場合(ステップS71:Yes)に処理をステップS72へ移し、第2配信システムに参加中でないと判断した場合(ステップS71:No)に処理をステップS73へ移す。   That is, in the routing table registration process 2, as shown in FIG. 22, the control unit 230 determines whether or not it is participating in the second distribution system (step S71), and is participating in the second distribution system. If it is determined that there is (step S71: Yes), the process proceeds to step S72, and if it is determined that it is not participating in the second distribution system (step S71: No), the process proceeds to step S73.

ステップS72において制御部230は、受信したコンテンツ登録メッセージ又はコンテンツ検索メッセージに含まれているノード情報が登録対象のノード情報であるか否かの判断を行い、登録対象のノード情報であると判断した場合(ステップS72:Yes)に処理をステップS73へ移し、登録対象のノード情報でないと判断した場合(ステップS72:No)に、このルーティングテーブルへの登録処理2を終了して、処理を図17に示すメイン処理のステップS14へ移す。   In step S72, the control unit 230 determines whether the node information included in the received content registration message or content search message is node information to be registered, and determines that the node information is to be registered. In the case (step S72: Yes), the process proceeds to step S73. When it is determined that the node information is not the registration target node information (step S72: No), the registration process 2 to the routing table is ended, and the process is illustrated in FIG. To step S14 of the main process shown in FIG.

また、ステップS73において制御部230は、ノード情報を自身が保持するルーティングテーブルRTへ登録した後、ルーティングテーブルへの登録処理2を終了して、処理を図17に示すメイン処理のステップS14へ移す。   Also, in step S73, the control unit 230 registers the node information in the routing table RT held by itself, ends the registration process 2 in the routing table, and moves the process to step S14 of the main process shown in FIG. .

(第2配信システムへの参加処理)
次に、制御部230が、図17に示すメイン処理のステップS17で行う第2配信システムへの参加処理について、図23を参照して説明する。
(Participation process in the second distribution system)
Next, the participation process to the second distribution system performed by the control unit 230 in step S17 of the main process shown in FIG. 17 will be described with reference to FIG.

第2配信システムへの参加処理において制御部230は、図23に示すように、第2配信システムで必要となる記憶容量を検出し(ステップS81)、その後、処理をステップS82へ移す。   In the process of participating in the second distribution system, as shown in FIG. 23, the control unit 230 detects the storage capacity necessary for the second distribution system (step S81), and then moves the process to step S82.

このとき、制御部230は、第2配信システムにより受信しようとするコンテンツデータの情報量(データサイズ)から、そのコンテンツデータをストリーミング受信するために必要となるリングバッファ220の容量を算出することによって、第2配信システムに参加することにより必要となる記憶領域の容量を検出する。   At this time, the control unit 230 calculates the capacity of the ring buffer 220 necessary for streaming reception of the content data from the information amount (data size) of the content data to be received by the second distribution system. The capacity of the storage area required by participating in the second distribution system is detected.

ここで制御部230は、第2配信システムにより受信するコンテンツデータの情報量に基づいて、必要となるリングバッファ220の容量を検出するようにしているが、これ以外に、自装置2へコンテンツデータをストリーミング配信する他の端末装置2の通信速度に基づいて、必要となるリングバッファ220の容量を検出してもよい。   Here, the control unit 230 detects the necessary capacity of the ring buffer 220 based on the amount of content data received by the second distribution system. The necessary capacity of the ring buffer 220 may be detected based on the communication speed of the other terminal device 2 that performs streaming distribution.

次に、ステップS82において制御部230は、図24に示す後述の各種情報の削除処理を行った後、処理をステップS83へ移す。   Next, in step S82, the control unit 230 performs a process for deleting various information described later shown in FIG. 24, and then moves the process to step S83.

ステップS83において制御部は、接続管理装置3から接続先候補のノード情報を受信し、その後、処理をステップS84へ移す。   In step S83, the control unit receives the node information of the connection destination candidate from the connection management device 3, and then moves the process to step S84.

ここで制御部230は、接続管理装置3へ接続先紹介要求を送信することにより、接続管理装置3から、第2配信システムのツリー状階層構造において接続先候補となる端末装置の所在情報(接続先候補のIPアドレスやポート番号など)及び通信プロトコル等を含むノード情報を受信するのである。   Here, the control unit 230 transmits a connection destination introduction request to the connection management device 3, whereby the location information (connection information) of the terminal device that is a connection destination candidate in the tree-like hierarchical structure of the second distribution system is transmitted from the connection management device 3. Node information including the destination candidate's IP address and port number) and the communication protocol is received.

次に、ステップS84において制御部230は、接続先候補へコンテンツデータの配信要求を送信し、その後、この第2配信システムへの参加処理を終了し、処理を図17に示すメイン処理のステップS19へ移す。   Next, in step S84, the control unit 230 transmits a content data distribution request to the connection destination candidate, thereafter ends the participation process in the second distribution system, and the process is step S19 of the main process shown in FIG. Move to.

(各種情報の削除処理)
次に、制御部230が、図23に示す第2配信システムへの参加処理で行う各種情報の削除処理について、図24を参照して説明する。
(Deleting information)
Next, a process of deleting various information performed by the control unit 230 in the process of participating in the second distribution system shown in FIG. 23 will be described with reference to FIG.

各種情報の削除処理において制御部230は、図24に示すように、第2配信システム用の空き領域があるか否かの判断を行う(ステップS91)。   In the deletion process of various types of information, the control unit 230 determines whether there is a free area for the second distribution system as shown in FIG. 24 (step S91).

ここで、制御部230は、第1配信システム用記憶領域250が確保されている第1配信システム用兼第2配信システム用記憶部205bに、ステップS81で検出した記憶容量を十分に確保できるだけの空き領域があるか否かの判断を行い(ステップS91)、空き領域があると判断した場合(ステップS91:Yes)に、この各種情報の削除処理を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移し、空き領域がないと判断した場合(ステップS91:No)に処理をステップS92へ移す。   Here, the control unit 230 can sufficiently secure the storage capacity detected in step S81 in the first distribution system / second distribution system storage unit 205b in which the first distribution system storage area 250 is reserved. It is determined whether or not there is a free area (step S91). If it is determined that there is a free area (step S91: Yes), this various information deletion process is terminated, and the process is shown in FIG. 2 The process moves to step S83 of the participation process in the distribution system, and when it is determined that there is no free space (step S91: No), the process moves to step S92.

ステップS92において制御部230は、優先順位に従った情報削除処理を行う。ここで制御部230は、第1配信システム用記憶領域250に記憶している各種情報の中で、削除しても第1配信システムによるコンテンツデータの受信に支障をきたさない情報から順に削除する。   In step S92, the control unit 230 performs information deletion processing according to the priority order. Here, the control unit 230 sequentially deletes the information stored in the first distribution system storage area 250 from information that does not hinder the reception of the content data by the first distribution system even if the information is deleted.

具体的に説明すると、制御部230は、第2配信システム用記憶領域として十分な記憶容量を確保できるまで、インデックステーブル222内のインデックスキャッシュ情報、カタログ情報、ルーティングテーブルRT内のノード情報の一部、の順で順次情報を削除する。   More specifically, the control unit 230 provides a part of the index cache information, catalog information, and node information in the routing table RT in the index table 222 until a sufficient storage capacity can be secured as the second distribution system storage area. The information is deleted sequentially in the order of.

そして、制御部230は、ステップS92の処理を行った後に、この優先順位に従った情報削除処理を終了し、その後、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   Then, after performing the process of step S92, the control unit 230 ends the information deletion process in accordance with the priority order, and then moves the process to step S83 of the participation process in the second distribution system shown in FIG. .

そして、
(インデックスキャッシュ情報の削除処理1)
次に、制御部230が、図24に示す優先順位に従った情報削除処理において、削除の優先順位が最も高いインデックスキャッシュ情報の削除処理1について、図25を参照して説明する。このインデックスキャッシュ情報の削除処理1では、制御部230は、自身が保持している全てのインデックスキャッシュ情報を削除する。
And
(Index cache information deletion process 1)
Next, the deletion processing 1 of index cache information with the highest deletion priority in the information deletion processing according to the priority shown in FIG. 24 will be described with reference to FIG. In the index cache information deletion process 1, the control unit 230 deletes all index cache information held by itself.

インデックスキャッシュ情報の削除処理1において制御部230は、自身が保持する第1配信システム用記憶領域250内のインデックステーブル222における全てのインデックスキャッシュ情報をハードディスク装置203の所定領域に保存し(ステップS101)その後、処理をステップS102へ移す。   In the index cache information deletion process 1, the control unit 230 saves all index cache information in the index table 222 in the first distribution system storage area 250 held by itself in a predetermined area of the hard disk device 203 (step S101). Thereafter, the process proceeds to step S102.

ステップS102において制御部230は、第1配信システム用記憶領域250から全てのインデックスキャッシュ情報を削除し、その後、このインデックスキャッシュ情報の削除処理1を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   In step S102, the control unit 230 deletes all index cache information from the first distribution system storage area 250, and then ends the index cache information deletion processing 1 to execute the second distribution shown in FIG. The process proceeds to step S83 of the system participation process.

(インデックスキャッシュ情報の削除処理2)
また、制御部230は、全てのインデックスキャッシュ情報を削除しなくても、一部のインデックスキャッシュ情報だけを削除すれば、第2配信システム用記憶領域として十分な記憶容量を確保できる場合、図26に示すインデックスキャッシュ情報の削除処理2を行う。
(Delete processing of index cache information 2)
If the controller 230 does not delete all the index cache information, but only a part of the index cache information is deleted, a sufficient storage capacity can be secured as a storage area for the second distribution system. The index cache information deletion process 2 shown in FIG.

このインデックスキャッシュ情報の削除処理2において、制御部230は、全インデックスキャッシュ情報のなかで、自分がルート端末装置でないコンテンツのインデックスキャッシュ情報だけを削除する。なお、ここでは、インデックステーブル222に2つのインデックスキャッシュ情報が記憶されており、自装置2は、1番目のインデックスキャッシュ情報のルート端末装置であり、2番目のインデックスキャッシュ情報のルート端末でない場合を例に挙げて説明する。   In this index cache information deletion process 2, the control unit 230 deletes only the index cache information of the content that is not the root terminal device among all the index cache information. Here, two index cache information is stored in the index table 222, and the own device 2 is the root terminal device of the first index cache information and is not the root terminal of the second index cache information. An example will be described.

このインデックスキャッシュ情報の削除処理2において、制御部230は、まず、第1配信システム用記憶領域250内の所定の記憶領域に、変数NUM=0を記憶させ(ステップS111)、その後、処理をステップS112へ移す。   In the index cache information deletion process 2, the control unit 230 first stores the variable NUM = 0 in a predetermined storage area in the first distribution system storage area 250 (step S111), and then performs the processing step. Move to S112.

ステップS112において制御部230は、現在保持しているインデックスキャッシュ情報数が変数NUMよりも大きいか否かの判断を行い、現在保持しているインデックスキャッシュ情報数が変数NUMよりも大きいと判断した場合(ステップS112:Yes)に処理をステップS113へ移す。   In step S112, the control unit 230 determines whether or not the number of index cache information currently held is larger than the variable NUM, and determines that the number of index cache information currently held is larger than the variable NUM. The process proceeds to step S113 (step S112: Yes).

一方、制御部230は、現在保持しているインデックスキャッシュ情報数が変数NUMより小さいと判断した場合に、このインデックスキャッシュ情報の削除処理2を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   On the other hand, when the control unit 230 determines that the number of index cache information currently held is smaller than the variable NUM, the control unit 230 ends the deletion process 2 of the index cache information, and the process is the second distribution system shown in FIG. The process proceeds to step S83 of the participation process.

ここでは、自装置2が現在保持しているインデックスキャッシュ情報の数が2であり、NUM(=0)よりも大きいため、ステップS112の判断の結果(ステップS112:Yes)、処理がステップS113へ移行する。   Here, since the number of index cache information currently held by the own device 2 is 2 and is larger than NUM (= 0), the result of determination in step S112 (step S112: Yes), the process proceeds to step S113. Transition.

ステップS113において制御部230は、自装置2がNUM+1番目のインデックスキャッシュ情報のルート端末装置であるか否かの判断を行い、ルート端末装置であると判断した場合(ステップS113:Yes)に処理をステップS116へ移し、ルート端末装置でないと判断した場合(ステップS113:No)に処理をステップS114へ移す。   In step S113, the control unit 230 determines whether or not the own device 2 is the root terminal device of the NUM + 1-th index cache information, and performs processing when determining that the own device 2 is the root terminal device (step S113: Yes). The process moves to step S116, and if it is determined that it is not the root terminal device (step S113: No), the process moves to step S114.

ここで、自装置2は、NUM+1(0+1=1)番目のインデックスキャッシュ情報のルート端末装置であるので、ステップS113の判断の結果(ステップS113:Yes)、処理がステップS116へ移行する。   Here, since the own device 2 is the root terminal device of the NUM + 1 (0 + 1 = 1) -th index cache information, as a result of the determination in step S113 (step S113: Yes), the processing moves to step S116.

ステップS116において制御部230は、変数NUMを1インクリメントする処理(NUM+1)を行い、その後、処理をステップSS112へ移す。   In step S116, the control unit 230 performs a process (NUM + 1) of incrementing the variable NUM by 1, and then moves the process to step SS112.

次に、ステップS112において制御部230は、再度、現在保持しているインデックスキャッシュ情報数が変数NUMよりも大きいか否かの判断を行う。ここでは、自装置2が現在保持しているインデックスキャッシュ情報数が2であり、NUM(=1)よりも大きいため、ステップS112の判断の結果(ステップS112:Yes)、処理がステップS113へ移行する。   Next, in step S112, the control unit 230 again determines whether or not the number of index cache information currently held is larger than the variable NUM. Here, since the number of index cache information currently held by the own device 2 is 2 and larger than NUM (= 1), the result of determination in step S112 (step S112: Yes), the process proceeds to step S113. To do.

次に、ステップS113において制御部230は、自装置2がNUM+1(1+1=2)番目のインデックスキャッシュ情報のルート端末装置であるか否かの判断を行う。   Next, in step S113, the control unit 230 determines whether or not the own device 2 is the root terminal device of the NUM + 1 (1 + 1 = 2) th index cache information.

ここで、自装置2は、NUM+1(1+1=2)番目のインデックスキャッシュ情報のルート端末装置でないため、ステップS113の判断の結果(ステップS113:No)、処理がステップS114へ移行する。   Here, since the own device 2 is not the root terminal device of the NUM + 1 (1 + 1 = 2) -th index cache information, the process proceeds to step S114 as a result of the determination in step S113 (step S113: No).

ステップS114において制御部230は、自装置2がルート端末装置でないインデックスキャッシュ情報(2番目のインデックスキャッシュ情報)をハードディスク装置203の所定領域に保存する処理を行い、その後、処理をステップS115へ移す。   In step S114, the control unit 230 performs processing for storing index cache information (second index cache information) in which the device 2 is not a root terminal device in a predetermined area of the hard disk device 203, and then moves the processing to step S115.

ステップS115において制御部230は、ハードディスク装置203へ保存したインデックスキャッシュ情報を第1配信システム用記憶領域から削除する処理を行い、その後、処理をステップS116へ移す。   In step S115, the control unit 230 performs a process of deleting the index cache information stored in the hard disk device 203 from the first distribution system storage area, and then moves the process to step S116.

次に、ステップS116において制御部230は、変数NUMを1インクリメント(NUM=1+1=2)する処理を行い、その後、処理をステップS112へ移す。   Next, in step S116, the control unit 230 performs a process of incrementing the variable NUM by 1 (NUM = 1 + 1 = 2), and then moves the process to step S112.

次に、ステップS112において制御部230は、再度、現在保持しているインデックスキャッシュ情報数が変数NUMよりも大きいか否かの判断を行う。ここでは、自装置2が現在保持しているインデックスキャッシュ情報をステップS115において1つ削除しているため、現在保持しているインデックスキャッシュ情報数が1であり、変数NUMよりも小さいため、ステップ112の判断の結果(ステップS112:No)、インデックスキャッシュ情報の削除処理3を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   Next, in step S112, the control unit 230 again determines whether or not the number of index cache information currently held is larger than the variable NUM. Here, since one index cache information currently held by the own device 2 is deleted in step S115, the number of index cache information currently held is 1, which is smaller than the variable NUM. As a result of the determination (step S112: No), the index cache information deletion process 3 is terminated, and the process proceeds to step S83 of the participation process in the second distribution system shown in FIG.

(インデックスキャッシュ情報の削除処理3)
また、制御部230は、インデックスキャッシュ情報の全て、若しくは、インデックスキャッシュ情報の一部を削除する場合の変形例として、図27に示すインデックスキャッシュ情報の削除処理3を行うことができる。
(Index cache information deletion process 3)
Further, the control unit 230 can perform the index cache information deletion process 3 shown in FIG. 27 as a modification example in which all or some of the index cache information is deleted.

このインデッククス情報の削除処理3において、制御部230は、自装置2が保持しているインデックスキャッシュ情報について、そのインデックスキャッシュ情報のルート端末装置保持しているインデックスキャッシュ情報の情報量に基づいて、インデックスキャッシュ情報を削除する。   In the index information deletion process 3, the control unit 230 determines the index cache information held by the own device 2 based on the information amount of the index cache information held by the root terminal device of the index cache information. Delete index cache information.

すなわち、インデックスキャッシュ情報の削除処理3において、制御部は、図27に示すように、第1配信システム用記憶領域250内の所定の領域に、変数NUM=0を記憶させ(ステップS121)、その後、処理をステップS122へ移す。   That is, in the index cache information deletion process 3, as shown in FIG. 27, the control unit stores the variable NUM = 0 in a predetermined area in the first distribution system storage area 250 (step S121). Then, the process proceeds to step S122.

ステップS122において制御部230は、現在保持しているインデックスキャッシュ情報数が変数NUMよりも大きいか否かの判断を行い、現在保持しているインデックスキャッシュ情報数が変数NUMよりも大きいと判断した場合(ステップS122:Yes)に処理をステップS123へ移す。   In step S122, the control unit 230 determines whether or not the currently held index cache information number is larger than the variable NUM, and determines that the currently held index cache information number is larger than the variable NUM. The process moves to step S123 (step S122: Yes).

一方、制御部230は、現在保持しているインデックスキャッシュ情報数が変数NUMより小さいと判断した場合に、このインデックスキャッシュ情報の削除処理3を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   On the other hand, when the control unit 230 determines that the number of index cache information currently held is smaller than the variable NUM, the control unit 230 ends the deletion process 3 of the index cache information, and the process is the second distribution system shown in FIG. The process proceeds to step S83 of the participation process.

ステップS123において制御部230は、ルート端末装置から情報量取得処理を行い、その後、処理をステップS124へ移す。   In step S123, the control unit 230 performs an information amount acquisition process from the root terminal device, and then moves the process to step S124.

ここで、制御部230は、現在保持しているインデックスキャッシュ情報の中で削除対象となっているインデックスキャッシュ情報のルート端末装置から、そのルート端末装置が保持している削除対象のインデックスキャッシュ情報と同じインデックスキャッシュ情報数を取得する。   Here, the control unit 230 determines, from the root terminal device of the index cache information that is the deletion target in the currently held index cache information, the deletion target index cache information that the root terminal device holds. Get the same number of index cache information.

次に、ステップS124において制御部230は、ルート端末装置から取得した情報量が、予め設定しておいた閾値よりも大きいか否かの判断を行い、取得した情報量が閾値よりも大きいと判断した場合(ステップS124:Yes)に処理をステップS125へ移し、取得した情報量が閾値よりも小さいと判断した場合(ステップS124:No)に処理をステップS127へ移す。   Next, in step S124, the control unit 230 determines whether the amount of information acquired from the root terminal device is larger than a preset threshold value, and determines that the acquired information amount is larger than the threshold value. If so (step S124: Yes), the process proceeds to step S125. If it is determined that the acquired information amount is smaller than the threshold (step S124: No), the process proceeds to step S127.

ステップS125において制御部230は、自身が保持している削除対象のインデックスキャッシュ情報をハードディスク装置203の所定領域に保存し、その後、処理をステップS126へ移す。   In step S125, the control unit 230 stores the index cache information to be deleted held by the control unit 230 in a predetermined area of the hard disk device 203, and then moves the process to step S126.

ステップS126において制御部230は、ハードディスク装置203へ保存したインデックスキャッシュ情報を第1配信システム用記憶領域250から削除するインデックする情報削除処理を行い、その後、処理をステップS127へ移す。   In step S126, the control unit 230 performs indexing information deletion processing for deleting the index cache information stored in the hard disk device 203 from the first distribution system storage area 250, and then moves the processing to step S127.

ステップS127において制御部230は、変数NUMを1インクリメントする処理(NUM+1)を行い、その後、処理をステップS122へ移す。   In step S127, the control unit 230 performs a process (NUM + 1) of incrementing the variable NUM by 1, and then moves the process to step S122.

(カタログ情報削除処理)
制御部230は、上記のようにして第1配信システム用記憶領域250からインデックスキャッシュ情報を削除しても、第2配信システム用記憶領域251として十分な記憶容量を確保できない場合に、図28に示すカタログ情報削除処理を行うことにより、第1配信システム用記憶領域250からカタログ情報を削除する。
(Catalog information deletion process)
If the controller 230 cannot secure a sufficient storage capacity as the second distribution system storage area 251 even if the index cache information is deleted from the first distribution system storage area 250 as described above, the control unit 230 returns to FIG. The catalog information is deleted from the first distribution system storage area 250 by performing the catalog information deletion process shown.

カタログ情報削除処理において制御部230は、図28に示すように、第1配信システム用記憶領域250に記憶しているカタログ情報を、ハードディスク装置203内の所定の領域に保存(ステップS131)した後、第1配信システム用記憶領域250から全カタログ情報を削除(ステップS132)し、その後、このカタログ情報削除処理を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   In the catalog information deletion process, the control unit 230 stores the catalog information stored in the first distribution system storage area 250 in a predetermined area in the hard disk device 203 (step S131), as shown in FIG. Then, all catalog information is deleted from the first distribution system storage area 250 (step S132), and then the catalog information deletion process is terminated, and the process is joined to the second distribution system shown in FIG. Move to.

(ノード情報の削除処理1)
また、制御部230は、上記のようにして第1配信システム用記憶領域250からインデックスキャッシュ情報とカタログ情報とを削除しても、第2配信システム用記憶領域251として十分な記憶容量を確保できない場合に、図29に示すノード情報の削除処理1を行うことにより、第1配信システム用記憶領域250からルーティングテーブルRTの一部を削除する。
(Node information deletion process 1)
Further, even if the control unit 230 deletes the index cache information and the catalog information from the first distribution system storage area 250 as described above, the control unit 230 cannot secure a sufficient storage capacity as the second distribution system storage area 251. In this case, a part of the routing table RT is deleted from the first distribution system storage area 250 by performing the node information deletion process 1 shown in FIG.

ノード情報の削除処理1において制御部230は、選択したノード情報をハードディスク装置203へ保存する処理(ステップS141)を行う。ここで制御部230は、予めルーティングテーブルRT内のノード情報のなかで削除対象のノード情報を選択しておき、第1配信システム用記憶領域250からインデックスキャッシュ情報とカタログ情報とを削除しても、第2配信システム用記憶領域251として十分な記憶容量を確保できない場合に、予め選択したノード情報をハードディスク装置203へ保存する。   In the node information deletion process 1, the control unit 230 performs a process of saving the selected node information in the hard disk device 203 (step S141). Here, the control unit 230 selects the node information to be deleted from the node information in the routing table RT in advance, and deletes the index cache information and the catalog information from the first distribution system storage area 250. When a sufficient storage capacity cannot be secured as the second distribution system storage area 251, the node information selected in advance is stored in the hard disk device 203.

次に、制御部230は、予め選択したノード情報を第1配信システム用記憶領域250から削除し(ステップS142)、その後、このノード情報の削除処理1を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   Next, the control unit 230 deletes the preselected node information from the first distribution system storage area 250 (step S142), and then ends the node information deletion process 1 and the process is shown in FIG. The process proceeds to step S83 of the participation process in the second distribution system.

(ノード情報の削除処理2)
また、制御部230は、ルーティングテーブルRTの一部を削除する場合に、上記ノード情報の削除処理1に替えて、図30に示すノード情報の削除処理2を行うことによって、第1配信システム用記憶領域250からノード情報の一部を削除することもできる。
(Node information deletion process 2)
Further, when part of the routing table RT is deleted, the control unit 230 performs the node information deletion process 2 shown in FIG. 30 in place of the node information deletion process 1, thereby performing the first distribution system use. Part of the node information can be deleted from the storage area 250.

このノード情報の削除処理2において制御部230は、ルーティングテーブルRTを参照して、サブテーブルR1〜R3があるか否かの判断を行い(ステップS151)、サブテーブルR1〜R3があると判断した場合(ステップS151:Yes)に処理をステップS152へ移し、サブテーブルR1〜R3がないと判断した場合(ステップS151:No)に、このノード情報の削除処理2を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   In the node information deletion process 2, the control unit 230 refers to the routing table RT to determine whether there are sub-tables R1 to R3 (step S151), and determines that there are sub-tables R1 to R3. If so (step S151: Yes), the process proceeds to step S152, and if it is determined that there are no sub-tables R1 to R3 (step S151: No), the node information deletion process 2 is terminated, and the process proceeds to FIG. It moves to step S83 of the participation process to the 2nd delivery system shown.

また、ステップS152において制御部230は、サブテーブル削除処理を行う。ここで制御部230は、削除しても第1配信システムによるコンテンツデータの受信に支障をきたすおそれの低いサブテーブルR3から順に削除するようにしている。   In step S152, the control unit 230 performs sub-table deletion processing. Here, the control unit 230 deletes the sub-table R3 in order from the sub-table R3, which is less likely to interfere with reception of the content data by the first distribution system.

そして、制御部230は、このサブテーブル削除処理を行った後に、このノード情報の削除処理2を終了して、処理を図23に示す第2配信システムへの参加処理のステップS83へ移す。   Then, after performing the sub-table deletion process, the control unit 230 ends the node information deletion process 2 and moves the process to step S83 of the process of joining the second distribution system shown in FIG.

そして、制御部230は、上記したインデックスキャッシュ情報の削除処理1〜3、カタログ情報削除処理、ノード情報の削除処理1〜2等の処理により、第1配信システム用記憶領域250に記憶している情報を削除し、この削除した情報が記憶されていた領域を第2配信システム用記憶領域251として機能させるのである。   And the control part 230 is memorize | stored in the memory area 250 for 1st delivery systems by processes, such as deletion processing 1-3 of the above-mentioned index cache information, catalog information deletion processing, and node information deletion processing 1-2. The information is deleted, and the area where the deleted information is stored is caused to function as the second distribution system storage area 251.

この第2配信システム用記憶領域には、上記したように、第2配信システムによりコンテンツデータを受信するために必要となる、ストリーム制御プログラム215、トポロジー管理プログラム216、リングバッファ220等が記憶(格納)される。   As described above, the second distribution system storage area stores (stores) the stream control program 215, the topology management program 216, the ring buffer 220, and the like necessary for receiving content data by the second distribution system. )

(第2配信システム参加中処理)
次に、制御部230が、図17に示すメイン処理のステップS18で行う第2配信システム参加中処理について、図31を参照して説明する。
(Processing while participating in the second distribution system)
Next, the second distribution system participation process performed by the control unit 230 in step S18 of the main process illustrated in FIG. 17 will be described with reference to FIG.

この第2配信システム参加中処理において制御部230は、図31に示すように、自装置2が第2配信システムから離脱するか否かの判断を行い(ステップS161)、離脱すると判断した場合(ステップS161:Yes)に処理をステップS165へ移し、離脱しないと判断した場合(ステップS161:No)に処理をステップS162へ移す。   In this second distribution system participation process, as shown in FIG. 31, the control unit 230 determines whether or not its own device 2 is disconnected from the second distribution system (step S161). In step S161: Yes, the process proceeds to step S165. If it is determined that the process does not leave (step S161: No), the process proceeds to step S162.

ステップS162において制御部230は、ツリー状の階層構造において自身の上流側に接続している端末装置2からストリーミング受信したコンテンツデータをストリーミング再生する受信コンテンツ再生処理を行い、その後、処理をステップS163へ移す。   In step S162, the control unit 230 performs a received content reproduction process for streaming reproduction of the content data stream-received from the terminal device 2 connected to the upstream side in the tree-like hierarchical structure, and then the process proceeds to step S163. Transfer.

ステップS163において制御部230は、下流の装置(ツリー状の階層構造において自身の下流の端末装置2)と接続しているか否かの判断を行い、下流の装置と接続していると判断した場合(ステップS163:Yes)に処理をステップS164へ移し、下流の装置と接続していないと判断した場合(ステップS163:No)に、この第2配信システム参加中処理を終了して、処理を図17に示すメイン処理のステップS19へ移す。   In step S163, the control unit 230 determines whether or not it is connected to a downstream device (the terminal device 2 that is downstream in the tree-like hierarchical structure) and determines that it is connected to a downstream device. The process proceeds to step S164 (step S163: Yes), and when it is determined that it is not connected to a downstream device (step S163: No), this second distribution system participation process is terminated, and the process is illustrated. The process proceeds to step S19 of the main process shown in FIG.

また、ステップS165において制御部230は、上流の装置へ中継停止要求メッセージ送信処理を行う。すなわち、制御部230は、ツリー状の階層構造において自装置2の上流側に接続している端末装置2に対して、自装置2へのコンテンツデータの配信停止を要求するメッセージを送信するのである。   In step S165, the control unit 230 performs a relay stop request message transmission process to an upstream device. That is, the control unit 230 transmits a message requesting stop of distribution of content data to the own device 2 to the terminal device 2 connected to the upstream side of the own device 2 in the tree-like hierarchical structure. .

次に、制御部230は、ステップS166において、図32に示す後述の保存情報読み込み処理を行い、その後、この第2配信システム参加中処理を終了して、処理を図17に示すメイン処理のステップS19へ移す。   Next, in step S166, the control unit 230 performs a later-described stored information reading process shown in FIG. 32, and then ends this second distribution system participation process, and the process is a step of the main process shown in FIG. Move to S19.

なお、本実施形態の第2配信システムにおけるコンテンツ配信装置1は、放送形態によるコンテンツデータの配信を一つのチャンネルで行うようにしているため、この第2配信システム参加中処理において制御部230は、上記のように、第2配信システムから離脱すると判断した場合、上流の装置へ中継停止メッセージを送信した後、すぐに保存情報の読み込み処理を行うようにしているが、コンテンツ配信装置1が複数のチャンネルで複数種類のコンテンツデータを放送形態により配信しており、この端末装置2が現在複数のチャンネルで同時に複数のコンテンツデータの配信を受けている場合には、第2配信システムから離脱すると判断した後、以下のような処理を行う。   In addition, since the content distribution apparatus 1 in the second distribution system of the present embodiment is configured to distribute the content data in the broadcast form through one channel, the control unit 230 in the second distribution system participation process, As described above, when it is determined to leave the second distribution system, the stored information is read immediately after the relay stop message is transmitted to the upstream apparatus. When a plurality of types of content data are distributed in the form of broadcast on the channel, and this terminal device 2 is currently receiving a plurality of content data distributed simultaneously on a plurality of channels, it is determined that the terminal device 2 will leave the second distribution system. Thereafter, the following processing is performed.

すなわち、制御部230は、図31に示すステップS161において第2配信システムから離脱すると判断した場合、現在配信を受けている全てのチャンネルからのコンテンツデータの受信を停止するのか、それとも、一部のチャンネルからのコンテンツデータの受信だけを停止するのかを判断する。   That is, if the control unit 230 determines in step S161 shown in FIG. 31 to leave the second distribution system, the control unit 230 stops receiving content data from all channels currently receiving distribution, or a part of the distribution data. It is determined whether to stop only receiving content data from the channel.

ここで制御部230は、一部のチャンネルからのコンテンツデータの受信だけを停止すると判断した場合に、受信を停止するチャンネル用に確保しているリングバッファ220の領域を縮小する処理を行い、その後、処理を図31に示すステップS166へ移して保存情報の読み込み処理を行う。   Here, when the control unit 230 determines to stop only the reception of content data from some channels, the control unit 230 performs a process of reducing the area of the ring buffer 220 reserved for the channel for which reception is stopped, and then Then, the process proceeds to step S166 shown in FIG.

一方、制御部230は、現在配信を受けている全てのチャンネルからのコンテンツデータの受信を停止すると判断した場合、第2配信システム用記憶領域251に記憶している情報を削除して、第1配信システム用兼第2配信システム用記憶部205b全体を第1配信システム用記憶領域250として使用可能な状態にする処理を行い、その後、処理を図31に示すステップS166へ移して保存情報の読み込み処理を行う。   On the other hand, when determining that the reception of the content data from all the channels currently receiving distribution is stopped, the control unit 230 deletes the information stored in the second distribution system storage area 251 and first Processing is performed to make the entire distribution system / second distribution system storage unit 205b usable as the first distribution system storage area 250, and then the process proceeds to step S166 shown in FIG. Process.

(保存情報の読み込み処理)
次に、制御部230が、図31に示す第2配信システム参加中処理のステップS168で行う保存情報の読み込み処理について、図32を参照して説明する。
(Reading saved information)
Next, the storage information reading process performed by the control unit 230 in step S168 of the second distribution system participation process illustrated in FIG. 31 will be described with reference to FIG.

この保存情報の読み込み処理において制御部230は、図32に示すように、ハードディスク装置203内にインデックスキャッシュ情報が保存されているか否かの判断を行い(ステップS171)、インデックスキャッシュ情報が保存されていると判断した場合(ステップS171:Yes)に処理をステップS172へ移し、インデックスキャッシュ情報が保存されていないと判断した場合(ステップS171:No)に処理をステップS173へ移す。   In this storage information reading process, the control unit 230 determines whether or not the index cache information is stored in the hard disk device 203 as shown in FIG. 32 (step S171), and the index cache information is stored. If it is determined that the index cache information is not stored (step S171: No), the process proceeds to step S173.

ステップ172において制御部230は、ハードディスク装置203に保存されているインデックスキャッシュ情報を読み込み、第1配信システム用記憶領域250に再度記憶する処理を行い、その後、処理をステップS173へ移す。   In step 172, the control unit 230 reads the index cache information stored in the hard disk device 203, stores it again in the first distribution system storage area 250, and then moves the process to step S173.

ステップS173において制御部230は、ハードディスク装置203内にノード情報が記憶されているか否かの判断を行い、ノード情報が記憶されていると判断した場合(ステップS173:Yes)に処理をステップS174へ移し、ノード情報が記憶されていないと判断した場合(ステップS173:No)に処理をステップS175へ移す。   In step S173, the control unit 230 determines whether or not the node information is stored in the hard disk device 203. If it is determined that the node information is stored (step S173: Yes), the process proceeds to step S174. If it is determined that the node information is not stored (step S173: No), the process proceeds to step S175.

ステップS174において制御部230は、ハードディスク装置203からノード情報を読み込み、第1配信システム用記憶領域250に再度記憶する処理を行い、その後、処理をステップS175へ移す。   In step S174, the control unit 230 reads the node information from the hard disk device 203, stores it again in the first distribution system storage area 250, and then moves the process to step S175.

ステップS175において制御部230は、ハードディスク装置203にカタログ情報が記憶されているか否かの判断を行い、カタログ情報が記憶されていると判断した場合(ステップS175:Yes)に処理をステップS176へ移し、カタログ情報が記憶されていないと判断した場合(ステップS175:No)に、この保存情報の読み込み処理を終了して、処理を図17に示すメイン処理のステップS19へ移す。   In step S175, the control unit 230 determines whether or not catalog information is stored in the hard disk device 203. If it is determined that catalog information is stored (step S175: Yes), the process proceeds to step S176. If it is determined that the catalog information is not stored (step S175: No), the storage information reading process is terminated, and the process proceeds to step S19 of the main process shown in FIG.

ステップS176において制御部230は、ハードディスク装置203からカタログ情報を読み込み、第1配信システム用記憶領域に再度記憶する処理を行い、その後、この保存情報の読み込み処理を終了して、処理を図17に示すメイン処理のステップS19へ移す。   In step S176, the control unit 230 reads the catalog information from the hard disk device 203 and stores it again in the first distribution system storage area. Then, the storage information reading process ends, and the process is shown in FIG. The process proceeds to step S19 of the main process shown.

(第2配信システムのメッセージに対応した処理)
次に、制御部230が、図17に示すメイン処理のステップS20で行う第2配信システムのメッセージに対応した処理について、図33を参照して説明する。
(Processing corresponding to the message of the second distribution system)
Next, the process corresponding to the message of the second distribution system performed by the control unit 230 in step S20 of the main process shown in FIG. 17 will be described with reference to FIG.

この第2配信システムのメッセージに対応した処理において、制御部230は、受信した第2配信システムのメッセージが、ツリー状の階層構造において下流に接続している端末装置2からのコンテンツデータの中継要求メッセージであるか否かの判断を行い(ステップS181)、中継要求メッセージであると判断した場合(ステップS181:Yes)に処理をステップS182へ移し、中継メッセージでないと判断した場合(ステップS181:No)に処理をステップS183へ移す。   In the processing corresponding to the message of the second distribution system, the control unit 230 requests that the received message of the second distribution system is a content data relay request from the terminal device 2 connected downstream in the tree-like hierarchical structure. It is determined whether or not the message is a message (step S181). If it is determined that the message is a relay request message (step S181: Yes), the process proceeds to step S182. If it is determined that the message is not a relay message (step S181: No) ) Moves the process to step S183.

ステップS182において制御部230は、ツリー状の階層構造において上流に接続している端末装置2からストリーミング受信したコンテンツデータを、ツリー状の階層構造において下流に接続している端末装置2へストリーミング配信する受信コンテンツ中継処理を行い、その後、この第2配信システムのメッセージに対応した処理を終了して、処理を図17に示すメイン処理のステップS14へ移す。   In step S182, the control unit 230 performs streaming distribution of the content data stream-received from the terminal device 2 connected upstream in the tree-like hierarchical structure to the terminal device 2 connected downstream in the tree-like hierarchical structure. The received content relay process is performed, and then the process corresponding to the message of the second distribution system is terminated, and the process proceeds to step S14 of the main process shown in FIG.

また、ステップS183において制御部230は、受信した第2配信システムのメッセージが、ツリー状の階層構造において下流に接続している端末装置2からのコンテンツデータの中継停止要求メッセージであるか否かの判断を行い、中継停止要求メッセージであると判断した場合(ステップS183:Yes)に処理をステップS184へ移し、中継停止要求でないと判断した場合(ステップS183:No)に、この第2配信システムのメッセージに対応した処理を終了して、処理を図17に示すメイン処理のステップS14へ移す。   In step S183, the control unit 230 determines whether the received message of the second distribution system is a content data relay stop request message from the terminal device 2 connected downstream in the tree-like hierarchical structure. If it is determined that the message is a relay stop request message (step S183: Yes), the process proceeds to step S184. If it is determined that the message is not a relay stop request (step S183: No), the second distribution system The process corresponding to the message is terminated, and the process proceeds to step S14 of the main process shown in FIG.

ステップ184において制御部230は、ツリー状の階層構造において上流に接続している端末装置2からストリーミング受信したコンテンツデータのストリーミング中継を停止する受信コンテンツ中継停止処理を行い、その後、この第2配信システムのメッセージに対応した処理を終了して、処理を図17に示すメイン処理のステップS14へ移す。   In step 184, the control unit 230 performs a received content relay stop process for stopping streaming relay of content data stream-received from the terminal device 2 connected upstream in the tree-like hierarchical structure, and then the second distribution system. The process corresponding to the message is terminated, and the process proceeds to step S14 of the main process shown in FIG.

また、ステップS185において制御部230は、第1及び第2配信システムによるコンテンツデータの受信とは別のその他の処理を行い、その後、この第2配信システムのメッセージに対応した処理を終了して、処理を図17に示すメイン処理のステップS14へ移す。   In step S185, the control unit 230 performs another process different from the reception of the content data by the first and second distribution systems, and then ends the process corresponding to the message of the second distribution system, The process moves to step S14 of the main process shown in FIG.

本実施形態に係るコンテンツ配信システムの概要構成例を示す図である。It is a figure showing an example of outline composition of a contents distribution system concerning this embodiment. 本実施形態に係るコンテンツ配信システムの第配信システムの配信動作説明図である。It is delivery operation explanatory drawing of the 1st delivery system of the content delivery system which concerns on this embodiment. DHTによってルーティングテーブルが作成される様子の一例を示す図である。It is a figure which shows an example of a mode that a routing table is produced by DHT. ルーティングテーブルにおけるメインテーブルの一例を示す図である。It is a figure which shows an example of the main table in a routing table. ルーティングテーブルを示す説明図である。It is explanatory drawing which shows a routing table. 端末装置が第1配信システムへ参加する様子の一例を示す図である。It is a figure which shows an example of a mode that a terminal device participates in a 1st delivery system. DHTルーティングによりコンテンツデータを保持している端末装置が検索される様子の一例を示す図である。It is a figure which shows an example of a mode that the terminal device holding content data is searched by DHT routing. DHTルーティングによりコンテンツデータが端末装置に保持される様子の一例を示す図である。It is a figure which shows an example of a mode that content data are hold | maintained at a terminal device by DHT routing. DHTルーティングにより登録メッセージがルート端末装置に送信される一例を示す図である。It is a figure which shows an example in which a registration message is transmitted to a root terminal device by DHT routing. インデックステーブルの一例を示す図である。It is a figure which shows an example of an index table. 本実施形態に係るコンテンツ配信システムの第2配信システムの配信動作説明図である。It is delivery operation explanatory drawing of the 2nd delivery system of the content delivery system which concerns on this embodiment. リングバッファの機能を概念的に表した図である。It is the figure which represented the function of the ring buffer notionally. 端末装置の概略構成例を示す図である。It is a figure which shows the schematic structural example of a terminal device. 第1配信システム用記憶領域及び第2配信システム用記憶領域を示す説明図である。It is explanatory drawing which shows the memory area for 1st delivery systems, and the memory area for 2nd delivery systems. 第1配信システム用記憶領域及び第2配信システム用記憶領域を示す説明図である。It is explanatory drawing which shows the memory area for 1st delivery systems, and the memory area for 2nd delivery systems. 接続管理装置における処理を示すフローチャートである。It is a flowchart which shows the process in a connection management apparatus. 端末装置におけるメイン処理を示すフローチャートである。It is a flowchart which shows the main process in a terminal device. 第1配信システムのメッセージに対応した処理を示すフローチャートである。It is a flowchart which shows the process corresponding to the message of a 1st delivery system. インデックステーブルへの登録処理1を示すフローチャートである。It is a flowchart which shows the registration process 1 to an index table. インデックステーブルへの登録処理2を示すフローチャートである。It is a flowchart which shows the registration process 2 to an index table. ルーティングテーブルへの登録処理1を示すフローチャートである。It is a flowchart which shows the registration process 1 to a routing table. ルーティングテーブルへの登録処理2を示すフローチャートである。It is a flowchart which shows the registration process 2 to a routing table. 第2配信システムへの参加処理を示すフローチャートである。It is a flowchart which shows the participating process to a 2nd delivery system. 各種情報の削除処理を示すフローチャートである。It is a flowchart which shows the deletion process of various information. インデックスキャッシュ情報の削除処理1を示すフローチャートである。It is a flowchart which shows the deletion process 1 of index cache information. インデックスキャッシュ情報の削除処理2を示すフローチャートである。It is a flowchart which shows the deletion process 2 of index cache information. インデックスキャッシュ情報の削除処理3を示すフローチャートである。It is a flowchart which shows the deletion process 3 of index cache information. カタログ情報削除処理を示すフローチャートである。It is a flowchart which shows a catalog information deletion process. ノード情報の削除処理1を示すフローチャートである。It is a flowchart which shows the deletion process 1 of node information. ノード情報の削除処理2を示すフローチャートである。It is a flowchart which shows the deletion process 2 of node information. 第2配信システム参加中処理を示すフローチャートである。It is a flowchart which shows a 2nd delivery system participation process. 情報読み込み処理を示すフローチャートである。It is a flowchart which shows an information reading process. 第2配信システムのメッセージに対応した処理を示すフローチャートである。It is a flowchart which shows the process corresponding to the message of a 2nd delivery system.

符号の説明Explanation of symbols

S コンテンツ配信システム
1 コンテンツ配信装置
2 端末装置
3 接続管理装置
4 コンテンツ投入装置
5 コンタクト先紹介装置
6 ネットワーク
130,230,330,430,530 制御部
230 制御部
203 ハードディスク装置
205 主記憶装置
205b 第1配信システム用兼第2配信システム用記憶部
250 第1配信システム用記憶領域
251 第2配信システム用記憶領域
S content distribution system 1 content distribution device 2 terminal device 3 connection management device 4 content input device 5 contact destination introduction device 6 network 130, 230, 330, 430, 530 control unit 230 control unit 203 hard disk device 205 main storage device 205b first Distribution system / second distribution system storage unit 250 First distribution system storage area 251 Second distribution system storage area

Claims (16)

複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいて前記コンテンツデータを保持する他の端末装置が前記コンテンツデータを配信する第1配信システムに参加している状態で、コンテンツ配信装置から端末装置にコンテンツデータを放送形態にてストリーミング配信する第2配信システムへ参加可能な端末装置において、
前記第1配信システムへ参加しているときに、前記第1配信システム用に確保される記憶領域と、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記第1配信システム用に確保している記憶領域の一部を前記第2配信システム用の記憶領域として機能させる情報管理手段と、
を有することを特徴とする端末装置。
In a state where other terminal devices that hold the content data based on a download request for content data from one terminal device participate in a first distribution system that distributes the content data, among a plurality of terminal devices, In a terminal device capable of participating in a second distribution system that performs streaming distribution of content data in broadcast form from a content distribution device to a terminal device,
A storage area reserved for the first distribution system when participating in the first distribution system;
When participating in the second distribution system while participating in the first distribution system, a part of the storage area reserved for the first distribution system is caused to function as a storage area for the second distribution system. Information management means;
The terminal device characterized by having.
前記第2配信システムへ参加することにより必要となる記憶領域の容量を検出する記憶容量検出手段を備え、
前記情報管理手段は、前記記憶容量検出手段の検出結果に応じて、前記第1配信システム用に確保している記憶領域の一部を前記第2配信システム用の記憶領域として機能させるか否かを判定することを特徴とする請求項1に記載の端末装置。
Storage capacity detecting means for detecting the capacity of the storage area required by participating in the second distribution system;
Whether the information management unit causes a part of the storage area reserved for the first distribution system to function as the storage area for the second distribution system according to the detection result of the storage capacity detection unit. The terminal device according to claim 1, wherein the terminal device is determined.
前記第1配信システムは、ネットワークを介して接続された複数の端末装置に、複数種類のコンテンツデータが分散して保持されており、前記ダウンロード要求に対応するコンテンツデータを保持している他の端末装置から、前記ダウンロード要求を送信した端末装置へ前記コンテンツデータが配信される配信システムであり、
前記第1配信システムに参加していて、前記コンテンツデータを保持している他の端末装置の所在情報と前記他の端末装置が保持しているコンテンツデータを識別するためのコンテンツ識別情報とを関連付けたコンテンツ保持端末情報を受信するコンテンツ保持端末情報受信手段を備え、
前記情報管理手段は、
前記第1配信システム用に確保した記憶領域に、前記コンテンツ保持端末情報受信手段により受信した前記コンテンツ保持端末情報を記憶し、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記第1配信システム用に確保している記憶領域に記憶した前記コンテンツ保持端末情報を削除し、前記コンテンツ保持端末情報を記憶していた領域を前記第2配信システム用の記憶領域として機能させることを特徴とする請求項1又は請求項2に記載の端末装置。
In the first distribution system, a plurality of types of content data are distributed and held in a plurality of terminal devices connected via a network, and other terminals holding the content data corresponding to the download request A distribution system in which the content data is distributed from a device to a terminal device that has transmitted the download request;
Associating location information of another terminal device that is participating in the first distribution system and holding the content data with content identification information for identifying the content data held by the other terminal device Content holding terminal information receiving means for receiving the received content holding terminal information,
The information management means includes
Storing the content holding terminal information received by the content holding terminal information receiving means in a storage area reserved for the first distribution system;
When participating in the second distribution system while participating in the first distribution system, the content holding terminal information stored in the storage area reserved for the first distribution system is deleted, and the content holding terminal The terminal device according to claim 1 or 2, wherein an area storing information functions as a storage area for the second distribution system.
削除対象の前記コンテンツ保持端末情報を管理している端末装置から、その端末装置が管理している前記コンテンツ保持端末情報の情報量を取得する情報量取得手段を備え、
前記情報管理手段は、前記情報量取得手段により取得した情報量が所定の閾値を超えている場合に、前記第1配信システム用に確保している記憶領域から前記削除対象のコンテンツ保持端末情報を削除することを特徴とする請求項3に記載の端末装置。
An information amount acquisition means for acquiring an information amount of the content holding terminal information managed by the terminal device from a terminal device managing the content holding terminal information to be deleted;
The information management unit obtains the content holding terminal information to be deleted from the storage area reserved for the first distribution system when the amount of information acquired by the information amount acquisition unit exceeds a predetermined threshold. The terminal device according to claim 3, wherein the terminal device is deleted.
前記情報管理手段は、
前記情報量取得手段により、複数種類のコンテンツデータに関する前記コンテンツ保持端末情報の情報量を取得し、前記取得した複数種類の情報量のうち、情報量が多い前記コンテンツ保持端末情報から順に削除することを特徴とする請求項4に記載の端末装置。
The information management means includes
The information amount acquisition unit acquires the information amount of the content holding terminal information regarding a plurality of types of content data, and sequentially deletes the content holding terminal information from the acquired plurality of types of information amount in descending order. The terminal device according to claim 4.
前記情報管理手段は、
前記第1配信システム用に確保した記憶領域に、現在ダウンロード可能なコンテンツデータのリスト情報を記憶し、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記第1配信システム用に確保している記憶領域から前記リスト情報を削除して、前記リスト情報を記憶していた領域を前記第2配信システム用の記憶領域として機能させることを特徴とする請求項1〜5のいずれか1項に記載の端末装置。
The information management means includes
In the storage area reserved for the first distribution system, the list information of the content data that can be downloaded at present is stored,
When participating in the second distribution system while participating in the first distribution system, the list information is deleted from the storage area reserved for the first distribution system, and the list information is stored. The terminal device according to claim 1, wherein the terminal device functions as a storage region for the second distribution system.
前記情報管理手段は、
前記第1配信システム用に確保した記憶領域に、他の端末装置を識別するための端末識別情報と、前記他の端末装置の所在情報とを含む他端末情報を記憶し、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記第1配信システム用に確保している記憶領域から前記他端末情報の少なくとも一部を削除して、前記他端末情報を記憶していた領域を前記第2配信システム用の記憶領域として機能させることを特徴とする請求項1〜6のいずれか1項に記載の端末装置。
The information management means includes
Storing other terminal information including terminal identification information for identifying other terminal devices and location information of the other terminal devices in a storage area reserved for the first distribution system;
When participating in the second distribution system in a state of participating in the first distribution system, at least a part of the other terminal information is deleted from the storage area reserved for the first distribution system, and the other The terminal device according to claim 1, wherein an area in which terminal information is stored is caused to function as a storage area for the second distribution system.
前記情報管理手段は、
前記第1配信システム用に確保した記憶領域に、
前記第1配信システムに参加していて、前記コンテンツデータを保持している他の端末装置の所在情報と前記他の端末装置が保持しているコンテンツデータを識別するためのコンテンツ識別情報とを関連付けたコンテンツ保持端末情報と、現在ダウンロード可能なコンテンツデータのリスト情報とを記憶すると共に、
他の端末装置を識別するための端末識別情報と、前記他の端末装置の所在情報とを含む他端末情報とを記憶させ、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記第1配信システム用に確保している記憶領域から、前記コンテンツ保持端末情報及び前記リスト情報を削除すると共に、前記他端末情報の一部を削除することを特徴とする請求項1又は請求項2に記載の端末装置。
The information management means includes
In the storage area reserved for the first distribution system,
Associating location information of another terminal device that is participating in the first distribution system and holding the content data with content identification information for identifying the content data held by the other terminal device Storing the content holding terminal information and the list information of the content data currently available for download,
Storing terminal identification information for identifying other terminal devices and other terminal information including location information of the other terminal devices;
When participating in the second distribution system in a state of participating in the first distribution system, the content holding terminal information and the list information are deleted from the storage area reserved for the first distribution system, The terminal device according to claim 1, wherein a part of the other terminal information is deleted.
前記第1配信システム用に確保している記憶領域に記憶した情報において、
前記情報管理手段による削除の優先順位は、
前記コンテンツ保持端末情報、前記リスト情報、前記他端末情報の順であることを特徴とする請求項8に記載の端末装置。
In the information stored in the storage area reserved for the first distribution system,
The priority of deletion by the information management means is:
The terminal device according to claim 8, wherein the content holding terminal information, the list information, and the other terminal information are in this order.
前記第1配信システムに参加している端末装置数を検出する参加端末数検出手段を有し、
前記情報管理手段は、前記参加端末数検出手段により検出した端末装置数が所定の閾値を超えている場合に、前記第1配信システム用に確保している記憶領域の一部を前記第2配信システム用の記憶領域として機能させることを特徴とする請求項1〜9のいずれか1項に記載の端末装置。
Having a participating terminal number detecting means for detecting the number of terminal devices participating in the first distribution system;
The information management means, when the number of terminal devices detected by the participating terminal number detection means exceeds a predetermined threshold value, a part of a storage area reserved for the first distribution system in the second distribution The terminal device according to claim 1, wherein the terminal device functions as a storage area for the system.
前記第1配信システム用に確保している記憶領域から削除する情報を保存しておくための他の記憶手段を備え、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、
前記情報管理手段は、
前記第1配信システムに記憶している情報の一部を前記他の記憶手段に保存した後、前記他の記憶手段に保存した情報を記憶していた領域を、前記第2配信システム用の記憶領域として機能させ、
前記第2配信システムから離脱した後に、前記他の記憶手段に保存した前記情報を、再度、前記第1配信システム用に確保した記憶領域に記憶させることを特徴とする請求項1〜10のいずれか1項に記載の端末装置。
Comprising other storage means for storing information to be deleted from the storage area reserved for the first distribution system;
When participating in the second distribution system while participating in the first distribution system,
The information management means includes
After storing a part of the information stored in the first distribution system in the other storage unit, an area in which the information stored in the other storage unit is stored is stored for the second distribution system. Function as an area,
11. The information stored in the other storage means after leaving the second distribution system is stored again in a storage area reserved for the first distribution system. The terminal device according to claim 1.
前記第2配信システム用に確保する記憶領域は、前記第2配信システムによりストリーミング受信したコンテンツデータを一時的に蓄積するリングバッファを備え、
前記情報管理手段は、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、
前記第1配信システム用に確保している記憶領域の一部を前記リングバッファとして機能させることを特徴とする請求項1〜11のいずれか1項に記載の端末装置。
The storage area reserved for the second distribution system includes a ring buffer for temporarily storing content data stream-received by the second distribution system,
The information management means includes
When participating in the second distribution system while participating in the first distribution system,
The terminal device according to any one of claims 1 to 11, wherein a part of a storage area reserved for the first distribution system is caused to function as the ring buffer.
前記第2配信システムによりコンテンツデータを受信する際の受信速度を検出する受信速度検出手段を有し、
前記情報管理手段は、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記受信速度検出手段により取得した前記受信速度に応じて、前記第1配信システム用に確保している記憶領域のうち、前記第2配信システム用の記憶領域として機能させる領域を拡張又は縮小することを特徴とする請求項1〜12のいずれか1項に記載の端末装置。
Receiving speed detecting means for detecting a receiving speed when content data is received by the second distribution system;
The information management means includes
A storage area reserved for the first distribution system according to the reception speed acquired by the reception speed detection means when participating in the second distribution system in a state of participating in the first distribution system. The terminal device according to claim 1, wherein an area that functions as a storage area for the second distribution system is expanded or reduced.
複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいて前記コンテンツデータを保持する他の端末装置が前記コンテンツデータを配信する第1配信システムと、コンテンツ配信装置から端末装置にコンテンツデータを放送形態にてストリーミング配信する第2配信システムとを有するコンテンツ配信システムであって、
前記端末装置は、
前記第1配信システムへ参加しているときに、前記第1配信システム用に確保される記憶領域と、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記第1配信システム用に確保している記憶領域の一部を前記第2配信システム用の記憶領域として機能させる情報管理手段と、
を有することを特徴とするコンテンツ配信システム。
A first distribution system in which another terminal device holding the content data distributes the content data based on a download request for content data from one terminal device, and the content distribution device to the terminal device among a plurality of terminal devices A content delivery system having a second delivery system for streaming delivery of content data in broadcast form,
The terminal device
A storage area reserved for the first distribution system when participating in the first distribution system;
When participating in the second distribution system while participating in the first distribution system, a part of the storage area reserved for the first distribution system is caused to function as a storage area for the second distribution system. Information management means;
A content distribution system comprising:
コンピュータを、請求項1〜13のいずれかに記載の端末装置における各手段として機能させるためのプログラム。   The program for functioning a computer as each means in the terminal device in any one of Claims 1-13. 複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいて前記コンテンツデータを保持する他の端末装置が前記コンテンツデータを配信する第1配信システムに参加している状態で、コンテンツ配信装置から端末装置にコンテンツデータを放送形態にてストリーミング配信する第2配信システムへ参加可能な端末装置における情報管理方法であって、
前記第1配信システムへ参加しているときに、前記第1配信システム用に記憶領域を確保するステップと、
前記第1配信システムに参加した状態で、前記第2配信システムに参加したとき、前記第1配信システム用に確保した記憶領域に記憶している情報の一部を削除するステップと、
前記削除した情報が記憶されていた前記第1配信システム用に確保した記憶領域を、前記第2配信システム用の記憶領域として機能させるステップと、
を有することを特徴とする情報管理方法。
In a state where other terminal devices that hold the content data based on a download request for content data from one terminal device participate in a first distribution system that distributes the content data, among a plurality of terminal devices, An information management method in a terminal device capable of participating in a second distribution system that performs streaming distribution of content data from a content distribution device to a terminal device in broadcast form,
Securing a storage area for the first distribution system when participating in the first distribution system;
Deleting a part of information stored in a storage area reserved for the first distribution system when participating in the second distribution system in a state of participating in the first distribution system;
Causing the storage area reserved for the first distribution system in which the deleted information is stored to function as a storage area for the second distribution system;
An information management method characterized by comprising:
JP2006243240A 2006-09-07 2006-09-07 Content distribution system, terminal equipment in the system, program for the equipment, and information management method by the equipment Pending JP2008067089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006243240A JP2008067089A (en) 2006-09-07 2006-09-07 Content distribution system, terminal equipment in the system, program for the equipment, and information management method by the equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006243240A JP2008067089A (en) 2006-09-07 2006-09-07 Content distribution system, terminal equipment in the system, program for the equipment, and information management method by the equipment

Publications (1)

Publication Number Publication Date
JP2008067089A true JP2008067089A (en) 2008-03-21

Family

ID=39289388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006243240A Pending JP2008067089A (en) 2006-09-07 2006-09-07 Content distribution system, terminal equipment in the system, program for the equipment, and information management method by the equipment

Country Status (1)

Country Link
JP (1) JP2008067089A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086271A (en) * 2008-09-30 2010-04-15 Fujitsu Ltd Information processor, information processing system, method, and program
JP2010238143A (en) * 2009-03-31 2010-10-21 Brother Ind Ltd Node device, node processing program, and retrieval method
JP2011008707A (en) * 2009-06-29 2011-01-13 Brother Industries Ltd Distributed storage system, node device, processing method thereof, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086271A (en) * 2008-09-30 2010-04-15 Fujitsu Ltd Information processor, information processing system, method, and program
JP2010238143A (en) * 2009-03-31 2010-10-21 Brother Ind Ltd Node device, node processing program, and retrieval method
JP2011008707A (en) * 2009-06-29 2011-01-13 Brother Industries Ltd Distributed storage system, node device, processing method thereof, and program

Similar Documents

Publication Publication Date Title
JP4640307B2 (en) CONTENT DISTRIBUTION SYSTEM, CONTENT DISTRIBUTION METHOD, TERMINAL DEVICE IN CONTENT DISTRIBUTION SYSTEM, AND PROGRAM THEREOF
US7882168B2 (en) Contents distribution system, node apparatus and information processing method thereof, as well as recording medium on which program thereof is recorded
JP4862463B2 (en) Information communication system, content catalog information search method, node device, etc.
JP4830889B2 (en) Information distribution system, information distribution method, node device, etc.
WO2007119413A1 (en) Information communication system, content catalog information distribution method, and node device, and others
JP2008059399A (en) Content distribution system, information processing method for content distribution system, terminal device, and its program
WO2006103800A1 (en) Information processing device and storage device, information processing method and storing method, and information processing program and program for storage device
JP2008129694A (en) Information distribution system, information distribution method, distribution device, node device and the like
WO2008013036A1 (en) Node device, recording medium containing information processing program, content distribution method, and content distribution system
JP4998197B2 (en) Content acquisition apparatus, program, content acquisition method, and content acquisition system
US8332463B2 (en) Distributed storage system, connection information notifying method, and recording medium in which distributed storage program is recorded
JP4692278B2 (en) Content distribution system, terminal device, information processing method thereof, and program thereof
JP2008067089A (en) Content distribution system, terminal equipment in the system, program for the equipment, and information management method by the equipment
JP2007336396A (en) Content distribution system, content distribution method, terminal device and program therefor
JP2010113573A (en) Content distribution storage system, content storage method, server device, node device, server processing program and node processing program
JP4797679B2 (en) CONTENT DISTRIBUTION SYSTEM, CONTENT DATA MANAGEMENT DEVICE, ITS INFORMATION PROCESSING METHOD, AND ITS PROGRAM
US8312068B2 (en) Node device, information communication system, method for managing content data, and computer readable medium
JP2008035337A (en) Node device, distribution device, management device, information processing program, content distribution method and content distribution system
JP2009232272A (en) Content distributive storage system, content playback method, node device, management apparatus, node-processing program, and management processing program
JP4635966B2 (en) CONTENT DISTRIBUTION SYSTEM, CONTENT DISTRIBUTION METHOD, TERMINAL DEVICE IN CONTENT DISTRIBUTION SYSTEM, AND PROGRAM THEREOF
JP2010066930A (en) Content distributed storage system, content storage method, node device and node processing program
JP4983183B2 (en) Node device, information division storage system, information processing program, and information utilization method
JP2008242990A (en) Information communication system, terminal apparatus included therein, information processing method, and program therefor
JP2010238143A (en) Node device, node processing program, and retrieval method
JP5157770B2 (en) Node device, program, and storage instruction method