JP2008085678A - Content distribution system, content distribution method, terminal device in the content distribution system and program thereof - Google Patents
Content distribution system, content distribution method, terminal device in the content distribution system and program thereof Download PDFInfo
- Publication number
- JP2008085678A JP2008085678A JP2006263561A JP2006263561A JP2008085678A JP 2008085678 A JP2008085678 A JP 2008085678A JP 2006263561 A JP2006263561 A JP 2006263561A JP 2006263561 A JP2006263561 A JP 2006263561A JP 2008085678 A JP2008085678 A JP 2008085678A
- Authority
- JP
- Japan
- Prior art keywords
- terminal device
- channel
- content
- content data
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本発明は、コンテンツデータ配信の技術に関する。詳細には、チャンネル毎にコンテンツ配信装置を頂点として複数の端末装置が階層構造で多層に論理接続され、コンテンツ配信装置からストリーミング配信されるコンテンツデータがチャンネル毎に端末装置の中継機能により順次階層構造の下流に中継され、複数の端末装置によってコンテンツデータを再生可能としたコンテンツ配信システム、コンテンツ配信方法、コンテンツ配信システムにおける端末装置及びそのプログラムに関する。 The present invention relates to content data distribution technology. Specifically, a plurality of terminal devices are logically connected in a multilayered manner with a content distribution device at the top for each channel, and content data streamed from the content distribution device is sequentially layered for each channel by the relay function of the terminal device In particular, the present invention relates to a content distribution system, a content distribution method, a terminal device in a content distribution system, and a program thereof that are relayed downstream of each other and can reproduce content data by a plurality of terminal devices.
近年、インターネットなどのネットワークを介して、音楽、映画、トーク番組などコンテンツのデータ(以下、「コンテンツデータ」と呼ぶ。)のストリーミング配信を行うコンテンツ配信サービスが開始されてきている。ここで、ストリーミング配信とは、クライアント端末装置(以下、単に「端末装置」と呼ぶ。)がストリーミング受信できるストリーミング形式でコンテンツデータを配信する配信方法であり、端末装置はストリーミング配信されるコンテンツデータを受信しながら再生することができる。また、ストリーミング配信形態としては、コンテンツデータの配信時間が決められた放送形式のものと、端末装置からの要求に応じて個々の端末装置にストリーミング配信するオンデマンド形式のものがある。 2. Description of the Related Art In recent years, content distribution services that perform streaming distribution of content data (hereinafter referred to as “content data”) such as music, movies, and talk programs have been started via networks such as the Internet. Here, the streaming distribution is a distribution method for distributing content data in a streaming format that can be stream-received by a client terminal device (hereinafter simply referred to as “terminal device”). You can play while receiving. Further, as a streaming distribution form, there are a broadcast format in which a distribution time of content data is determined and an on-demand format in which streaming distribution is performed to individual terminal devices in response to a request from the terminal device.
放送形式のコンテンツ配信サービスは、従来、一つのコンテンツ配信装置から複数の端末装置に対して直接コンテンツの配信を行うものが主流であったが、近年、端末装置間でのコンテンツデータの中継、すなわちP2P通信形態を用いることによりコンテンツ配信装置を増加することなく負荷やトラフィックの集中を低減することができるコンテンツ配信システムが提案されている(例えば、特許文献1参照)。 Conventionally, the content distribution service in the broadcast format has been the mainstream that directly distributes content from one content distribution device to a plurality of terminal devices. However, in recent years, content data is relayed between terminal devices. There has been proposed a content distribution system that can reduce load and traffic concentration without increasing the number of content distribution apparatuses by using the P2P communication mode (see, for example, Patent Document 1).
このコンテンツ配信システムは、コンテンツ配信装置を頂点としたツリー状階層構造で多層に複数の端末装置を論理接続し、コンテンツ配信装置からコンテンツデータを下流の端末装置へ順次配信していくものである。 In this content distribution system, a plurality of terminal devices are logically connected in multiple layers in a tree-like hierarchical structure with the content distribution device at the top, and content data is sequentially distributed from the content distribution device to downstream terminal devices.
すなわち、コンテンツ配信装置から配信されたコンテンツデータは、最上位層(第1階層)に位置する端末装置へ配信され、この最上位層に位置する端末装置はコンテンツ配信装置から配信されたコンテンツデータを第2階層に位置する端末装置へ中継し、このコンテンツデータの中継を最下層に位置する端末装置へ配信するまで行うものである。 That is, the content data distributed from the content distribution device is distributed to the terminal device located in the highest layer (first layer), and the terminal device located in the highest layer receives the content data distributed from the content distribution device. Relaying is performed to the terminal device located in the second hierarchy, and this content data is relayed to the terminal device located in the lowest layer.
ところで、このコンテンツ配信システムにおいて、複数の放送チャンネル(以下、単に「チャンネル」とも呼ぶ。)によりコンテンツデータをストリーミング配信する場合、コンテンツ配信装置を頂点としたツリー状階層構造は、チャンネル毎に構成されることになる。 By the way, in this content distribution system, when content data is streamed and distributed by a plurality of broadcast channels (hereinafter also simply referred to as “channels”), a tree-like hierarchical structure with the content distribution device as a vertex is configured for each channel. Will be.
従って、端末装置のユーザが、視聴しているチャンネルとは異なるチャンネルのコンテンツデータを視聴するためにチャンネルを切替える操作を行った場合、視聴しているチャンネルに対応するツリー状階層構造とは異なるツリー状階層構造に参加することになる。 Therefore, when the user of the terminal device performs an operation of switching channels in order to view content data of a channel different from the channel being viewed, a tree different from the tree-like hierarchical structure corresponding to the channel being viewed Will participate in the hierarchical structure.
しかしながら、端末装置のユーザが視聴するチャンネルを切替えたとき、切替先のチャンネルのツリー状階層構造に参加するためには多くの時間を要する。 However, when the user of the terminal device switches the viewing channel, it takes a lot of time to participate in the tree-like hierarchical structure of the switching destination channel.
すなわち、ユーザがチャンネルを切替える操作を行った場合、端末装置は、接続管理装置に対して新たな階層構造における接続先となる他の端末装置を紹介してもらう処理や、NAT(Network Address Translation)を越える処理を行う必要があり、これらの処理が終了するまで新たな階層構造に参加することができず、ユーザがチャンネルを切替える操作を行っても、即座に接続先を切替えることができないのである。 That is, when the user performs an operation to switch channels, the terminal device performs processing for having the connection management device introduce other terminal devices that are connection destinations in the new hierarchical structure, or NAT (Network Address Translation). It is necessary to perform processes that exceed the limit, and it is not possible to participate in a new hierarchical structure until these processes are completed, and even if the user performs an operation to switch channels, the connection destination cannot be switched immediately. .
このようなユーザによるチャンネル切替え(以下、「ザッピング」とも呼ぶ)の問題に対処する方法として、コンテンツデータに他のチャンネルに関する要約データ(対策用のコンテンツデータ)を重畳して配信しておくことにより、ユーザによるチャンネル切替操作から端末装置が新たな他の端末装置に接続するまでの時間を短縮させる情報閲覧方法を用いたコンテンツ配信システムが提案されている(たとえば、特許文献2参照。)。
しかしながら、視聴しているチャンネルのコンテンツデータとザッピング対策用の他のチャンネルのコンテンツデータとを端末装置において同時に受信することになるため、端末装置においてネットワークを介して他の装置との通信を行う場合には、当該他の装置との通信に利用するリソースを十分に確保することができない恐れがある。 However, since the terminal device simultaneously receives the content data of the channel being viewed and the content data of another channel for countermeasures against zapping, the terminal device communicates with other devices via the network. May not be able to secure sufficient resources for communication with the other devices.
すなわち、ツリー状階層構造を有するコンテンツ配信システムに参加すると、視聴していないコンテンツデータまでも受信することになり、端末装置のCPUの処理能力、メモリの容量、或いはネットワークとの通信の帯域などのリソースに不足が生じ、結果的に端末装置におけるコンテンツデータの送受信処理を十分に行うことができなくなる恐れがある。 In other words, when participating in a content distribution system having a tree-like hierarchical structure, even content data that has not been viewed will be received, such as the CPU processing capacity of the terminal device, the capacity of the memory, or the bandwidth of communication with the network. There may be a shortage of resources, with the result that content data transmission / reception processing in the terminal device may not be sufficiently performed.
本発明は、以上の不都合に鑑みてなされたものであり、視聴していないチャンネルのコンテンツデータをザッピング対策のために受信するようにした場合であっても、端末装置における他の通信への影響を抑えることができるコンテンツ配信システム及び方法等を提供することを目的とする。 The present invention has been made in view of the above inconveniences, and even when content data of a channel that is not viewed is received for countermeasures against zapping, the influence on other communications in the terminal device is achieved. It is an object of the present invention to provide a content distribution system and method that can suppress the problem.
上記課題を解決するために、請求項1に記載の発明は、複数のチャンネルでそれぞれコンテンツデータをストリーミング配信するコンテンツ配信装置を頂点として複数の端末装置がネットワーク上に前記チャンネル毎に階層構造で多層に論理接続されるように接続管理装置によって管理され、前記コンテンツ配信装置から送信される前記コンテンツデータが前記チャンネル毎に前記階層構造の上流の端末装置から下流の端末装置にかけて順次前記端末装置の中継機能によってストリーミング配信される第1配信形態と、前記複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいて前記コンテンツデータを保持する他の端末装置が前記コンテンツデータを配信する第2配信形態とを有するコンテンツ配信システムであって、前記コンテンツ配信装置は、前記ネットワークを介して前記コンテンツデータをストリーミング配信する配信手段を備え、前記接続管理装置は、前記チャンネル毎に前記階層構造を構成する前記端末装置の接続状態情報を記憶する接続状態情報記憶手段と、前記ネットワークを介して前記端末装置から接続先紹介要求を受信したとき、前記接続態情報記憶手段に記憶された前記接続状態情報から接続先候補を選択する接続先候補選択手段と前記接続先候補選択手段によって選択された前記接続先候補を、前記接続先紹介要求を送信した前記端末装置へ前記ネットワークを介して通知する通知手段と、を備え、前記端末装置は、前記チャンネルを選択するためのチャンネル選択手段と、前記チャンネル選択手段によって選択されたチャンネルに関する前記接続先紹介要求と当該チャンネルと所定の関係を有するチャンネルに関する前記接続先紹介要求とを前記接続管理装置へ送信し、その後、前記接続管理装置から前記チャンネル毎に通知された前記接続先候補にそれぞれ接続して複数のチャンネルで前記第1配信形態に参加する接続処理手段と、前記第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、前記第2配信形態に用いるリソースの使用状態に応じて、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する接続先装置との接続を切断する切断処理手段とを備えることを特徴とする。
In order to solve the above-mentioned problem, the invention according to
また、請求項2に記載の発明は、複数のチャンネルでそれぞれコンテンツデータをストリーミング配信するコンテンツ配信装置を頂点として複数の端末装置がネットワーク上に前記チャンネル毎に階層構造で多層に論理接続されるように接続管理装置によって管理され、前記コンテンツ配信装置から送信される前記コンテンツデータが前記チャンネル毎に前記階層構造の上流の端末装置から下流の端末装置にかけて順次前記端末装置の中継機能によってストリーミング配信される第1配信形態と、前記複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいて前記コンテンツデータを保持する他の端末装置が前記コンテンツデータを配信する第2配信形態とを有するコンテンツ配信システムにおける前記端末装置であって、前記端末装置は、前記チャンネルを選択するためのチャンネル選択手段と、前記チャンネル選択手段によって選択されたチャンネルに関する前記接続先紹介要求と当該チャンネルと所定の関係を有するチャンネルに関する前記接続先紹介要求とを前記接続管理装置へ送信し、その後、前記接続管理装置から前記チャンネル毎に通知された前記接続先候補にそれぞれ接続して複数のチャンネルで前記第1配信形態に参加する接続処理手段と、前記第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、前記第2配信形態に用いるリソースの使用状態に応じて、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する接続先装置との接続を切断する切断処理手段とを備えることを特徴とする。 According to the second aspect of the present invention, a plurality of terminal devices are logically connected in multiple layers in a hierarchical structure for each channel on the network, with a content distribution device that performs streaming distribution of content data through a plurality of channels at the top. The content data managed by the connection management device and transmitted from the content distribution device is stream-distributed by the relay function of the terminal device sequentially from the upstream terminal device to the downstream terminal device of the hierarchical structure for each channel. A first distribution form, and a second distribution form in which another terminal apparatus holding the content data distributes the content data based on a content data download request from one terminal apparatus, among the plurality of terminal apparatuses. In a content distribution system having The terminal device relates to a channel selection unit for selecting the channel, the connection destination introduction request regarding the channel selected by the channel selection unit, and a channel having a predetermined relationship with the channel. The connection destination introduction request is transmitted to the connection management device, and then connected to the connection destination candidates notified for each channel from the connection management device, and participates in the first distribution form through a plurality of channels. When executing download or upload of content data in the second distribution form with the connection processing means, a predetermined relationship with the channel selected by the channel selection means in accordance with the usage state of the resource used in the second distribution form Disconnect the connected device related to the channel with Characterized in that it comprises a cutting processing means.
また、請求項3に記載の発明は、請求項2に記載の発明において、前記端末装置は、前記第2配信形態に用いるリソースの使用量を検出するリソース使用量検出手段と、前記リソース使用量検出手段による検出結果に基づいて、前記第2配信形態によるコンテンツデータのダウンロード又はアップロードに必要なリソースが不足しているか否かを判定するリソース不足判定手段と、前記切断処理手段は、前記リソース不足判定手段によって前記リソースが不足していると判定されたとき、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する前記接続先候補との接続を切断することを特徴とする。
The invention according to
また、請求項4に記載の発明は、請求項1から3のいずれか1項に記載の発明において、前記リソース不足判定手段は、前記リソースが不足しているときに、前記リソースの不足量を判定し、前記切断処理手段は、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルが複数あるときに、これらのチャンネルのうち、前記リソースの不足量に応じた数のチャンネルに関する接続先装置との接続を切断することを特徴とする。
The invention according to
また、請求項5に記載の発明は、請求項4に記載の発明において、前記切断処理手段は、前記リソース不足判定手段によって前記リソースが不足していないと判定されたとき、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する前記接続先装置との接続の切断を行わないことを特徴とする。 According to a fifth aspect of the present invention, in the invention according to the fourth aspect, when the disconnection processing means determines that the resource is not insufficient by the resource shortage determination means, the channel selection means The connection with the connection destination device relating to a channel having a predetermined relationship with the selected channel is not disconnected.
また、請求項6に記載の発明は、請求項3又は請求項4に記載の発明において、前記端末装置は、前記コンテンツデータを記憶するコンテンツデータ記憶手段と、前記第2配信形態によるコンテンツデータのダウンロード要求の操作を検出するダウンロード操作検出手段と、前記ダウンロード要求されたコンテンツデータが前記コンテンツデータ記憶手段に記憶されているか否かを判定する判定手段を有し、前記判定手段によって、前記ダウンロード要求されたコンテンツデータが前記コンテンツデータ記憶手段に記憶されていると判定すると、前記接続状態にあるチャンネルの前記接続先候補との接続を前記切断処理手段によって切断せず、前記第2配信形態によって前記コンテンツデータのダウンロードを行わないことを特徴とする。
The invention according to
また、請求項7に記載の発明は、請求項2から6のいずれか1項に記載の発明において、前記リソースは、前記端末装置におけるCPUの処理能力、メモリの容量及び前記ネットワークとの通信帯域のうちの少なくともいずれか一つであることを特徴とする。
The invention according to
また、請求項8に記載の発明は、請求項2から7のいずれか1項に記載の発明において、前記第2配信形態によるコンテンツデータのダウンロード又はアップロードが完了すると、前記切断処理手段によって切断したチャンネルに関する前記接続先紹介要求を前記接続管理装置へ送信し、その後、前記接続管理装置から通知された前記接続先候補に再接続する再接続処理手段を備えたことを特徴とする。
The invention according to
また、請求項9に記載の発明は、コンピュータを、請求項2〜8のいずれか1項に記載の端末装置における各手段として機能させるためのプログラムとした。
The invention according to
また、請求項10に記載の発明は、複数のチャンネルでそれぞれコンテンツデータをストリーミング配信するコンテンツ配信装置を頂点として複数の端末装置がネットワーク上に前記チャンネル毎に階層構造で多層に論理接続されるように接続管理装置によって管理され、前記コンテンツ配信装置から送信される前記コンテンツデータが前記チャンネル毎に前記階層構造の上流の端末装置から下流の端末装置にかけて順次前記端末装置の中継機能によってストリーミング配信される第1配信形態と、前記複数の端末装置間において、一つの端末装置からのコンテンツデータのダウンロード要求に基づいて前記コンテンツデータを保持する他の端末装置が前記コンテンツデータを配信する第2配信形態とを有するコンテンツ配信システムにおけるコンテンツ配信方法であって、前記配信装置が、前記コンテンツデータをストリーミング配信するステップと、前記接続管理装置が、前記階層構造を構成する前記端末装置の接続状態情報を接続状態情報記憶手段に記憶するステップと、前記端末装置が、前記チャンネルを選択するためのチャンネル選択手段によって選択されたチャンネルに関する接続先紹介要求と当該チャンネルと所定の関係を有するチャンネルに関する前記接続先紹介要求とを前記ネットワークを介して前記接続管理装置に送信するステップと、前記接続管理装置が、前記ネットワークを介して前記端末装置から前記接続先紹介要求を受信したとき、前記接続先紹介要求毎に、前記接続状態情報記憶手段に記憶された前記接続状態情報から接続先候補を選択するステップと、前記接続管理装置が、前記接続先紹介要求毎に、前記選択した接続先候補を、前記接続先紹介要求を送信した前記端末装置へ前記ネットワークを介して通知するステップと、前記端末装置が、前記接続管理装置から通知された前記チャンネル毎の前記接続先候補にそれぞれ接続して複数のチャンネルで前記第1配信形態に参加するステップと、前記端末装置が、前記第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、前記第2配信形態に用いるリソースの使用状態に応じて、前記接続状態にあるチャンネルのうち、前記選択されたチャンネルと所定の関係を有するチャンネルに関する接続先装置との接続を切断するステップとを有することを特徴とする。
In the invention according to
請求項1,2,9,10に記載の発明によれば、第1配信形態であるツリー型階層構造による放送形態でコンテンツデータを視聴する際に、ザッピング対策用として視聴するチャンネルと一定の関係を有するチャンネルの階層構造に参加し、その後、グリッド型接続などの第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、第2配信形態に用いるリソースの使用状態に応じて、ザッピング対策チャンネルの階層構造から自動で脱退するようにしているので、端末装置のリソースを効率的に使用することができ、第1配信形態と第2配信形態とを両立することができるコンテンツ配信システム又はその端末装置を提供することができる。 According to the first, second, ninth, and tenth aspects of the present invention, when content data is viewed in the broadcast form of the tree-type hierarchical structure that is the first distribution form, there is a fixed relationship with the channel that is viewed as a countermeasure for zapping When the content data is downloaded or uploaded according to the second distribution form such as grid connection and then the content data is used in the second distribution form, the zapping countermeasure channel is used. The content distribution system or its terminal capable of efficiently using the resources of the terminal device and satisfying both the first distribution form and the second distribution form, because it automatically withdraws from the hierarchical structure An apparatus can be provided.
また、請求項3に記載の発明によれば、第2配信形態に用いるリソースの使用量を検出し、その検出結果に基づいて、第2配信形態によるコンテンツデータのダウンロード又はアップロードに必要なリソースが不足していると判定されたとき、ザッピング対策チャンネルの階層構造から自動で脱退し、第2配信形態でのダウンロード処理やアップロード処理が終了したら自動でザッピング対策チャンネルの階層構造に自動的に再接続するようにしているので、従来であれば第2配信形態に用いるリソースが不足するようなときであっても、第1配信形態と第2配信形態とを両立することができるコンテンツ配信システム又はその端末装置を提供することができる。
According to the invention described in
また、請求項4に記載の発明によれば、第2配信形態に用いるリソースが不足しているときに、その不足量に応じた数のザッピング対策チャンネルの階層構造から自動で脱退し、第2配信形態でのダウンロード処理やアップロード処理が終了したら自動でザッピング対策チャンネルの階層構造に自動的に再接続するようにしているので、ザッピング対策チャンネルの階層構造からの脱退を必要最小限で行うことができ、効率的に第1配信形態と第2配信形態との両立を図ることができる。
According to the invention of
また、請求項5に記載の発明によれば、第2配信形態に用いるリソースの使用量を検出し、その検出結果に基づいて、第2配信形態によるコンテンツデータのダウンロード又はアップロードに必要なリソースが不足していないと判定されたとき、ザッピング対策チャンネルの階層構造から自動で脱退し、第2配信形態でのダウンロード処理やアップロード処理が終了したら自動でザッピング対策チャンネルの階層構造に自動的に再接続するようにしているので、第2配信形態に用いるリソースが不足しないようなときには、ザッピング対策チャンネルの階層構造は保持されたままであり、再接続の煩雑さを回避することができる。
According to the invention described in
また、請求項6に記載の発明によれば、購入するコンテンツデータがすでにコンテンツデータ記憶手段に蓄積されているときには、コンテンツデータ記憶手段に記憶されたコンテンツデータを使用する。従って、新たに第2配信形態でコンテンツデータを取得するのに比べダウンロード処理を短縮することができる。たとえば、端末装置がコンテンツ保持端末装置であった場合、コンテンツ保持端末装置に対応するコンテンツデータをダウンロードする場合には、自端末装置に記憶しているコンテンツデータを用いることができる。 According to the sixth aspect of the present invention, when the content data to be purchased is already stored in the content data storage means, the content data stored in the content data storage means is used. Accordingly, the download process can be shortened compared to newly acquiring content data in the second distribution form. For example, when the terminal device is a content holding terminal device, when downloading content data corresponding to the content holding terminal device, the content data stored in the terminal device can be used.
また、請求項7に記載の発明によれば、リソースは 、端末装置におけるCPUの処理能力、メモリの容量及びネットワークとの通信の帯域のうちの少なくともいずれか一つであり、これらは第1配信形態と第2配信形態とで共通に用いるものであり、CPU、メモリ及び通信帯域の使用率に応じてザッピング対策チャンネルからの脱退処理を行うことにより、第2配信形態でのダウンロードやアップロードの阻害要因を低減することができる。
According to the invention described in
また、請求項8に記載の発明によれば、第2配信形態でのダウンロード処理やアップロード処理が終了したら、第2配信形態でのダウンロード処理やアップロード処理を行うために脱退したザッピング対策チャンネルの階層構造に自動的に再接続(再参加)するので、第2配信形態でのダウンロード処理やアップロード処理を行う前の状態に自動的に戻り、ザッピング対策を行うことができる。
According to the invention described in
以下、本発明の最良の実施形態を図面に基づいて説明する。なお、以下に説明する実施の形態は、配信する情報を音楽データや映像データなどのコンテンツデータとしたコンテンツ配信システムに対して本発明を適用した場合の実施形態である。 DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, the best embodiment 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.コンテンツ配信システムの構成等]
図1は、本実施形態に係るコンテンツ配信システムSの概要構成例を示す図である。図1に示す物理接続形態のように、コンテンツ配信システムSを構成するコンテンツ配信装置1、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8、接続管理装置3、コンテンツ投入装置4、コンタクト先紹介装置5は、インターネットに代表されるネットワーク6上に分散配置されている。なお、コンテンツ配信システムSに直接関係ない装置もネットワーク6に接続されるが、ここでは省略している。また、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8のいずれかの端末装置又は全ての端末装置を示す場合には、便宜上、端末装置2という場合がある。
[1. Content distribution system configuration]
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
コンテンツ配信装置1、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8、接続管理装置3、コンテンツ投入装置4、コンタクト先紹介装置5には、各装置を識別する情報としての固有の製造番号(たとえば、MACアドレス)及びIP(Internet Protocol)アドレス(所在情報)が割り当てられており、これら装置は、ネットワークの一例としてのネットワーク6にルータ10等を介して接続されている。すなわち、目的の接続先装置のIPアドレスを宛先IPアドレス、自装置のIPアドレスを送信元IPアドレスとしたヘッダを含むパケットを送信することによって通信接続が可能となっている。
The
図1に示す例では、コンテンツ配信装置1、接続管理装置3、コンテンツ投入装置4、コンタクト先紹介装置5は、それぞれ独立した装置としているが、一つの装置においてこれらの装置の機能を実現するようにしてもよい。この場合にはこれらの装置のIPアドレスは同一のものとなり、ポート番号などで区別されることになる。
In the example shown in FIG. 1, the
本実施形態におけるコンテンツ配信システムは、複数の放送チャンネル(以下、単に「チャンネル」と呼ぶ。)でそれぞれコンテンツデータをストリーミング配信するコンテンツ配信装置1を頂点として複数の端末装置2がネットワーク上にチャンネル毎に階層構造で多層に論理接続されるように接続管理装置3によって管理され、コンテンツ配信装置1から送信されるコンテンツデータがチャンネル毎に階層構造の上流の端末装置2から下流の端末装置2にかけて順次端末装置2の中継機能によってストリーミング配信される第1配信形態と、複数の端末装置2間において、一つの端末装置2からのコンテンツデータのダウンロード要求に基づいてコンテンツデータを保持する他の端末装置2がコンテンツデータを配信する第2配信形態とを有している。なお、コンテンツ配信装置1は、複数のチャンネルのコンテンツデータを配信する機能を有することとして以下説明するが、コンテンツ配信装置1をチャンネル毎に設けてもよい。
In the content distribution system according to the present embodiment, a plurality of
そして、端末装置2のユーザが第1配信形態によりコンテンツ配信装置1からのコンテンツデータを視聴するときには、当該端末装置2は、視聴対象のチャンネル(以下、「視聴用チャンネル」と呼ぶ。ここでは、チャンネルch1〜chNのN個のチャンネルがあるものとする。)の階層構造に参加するとともに、視聴用チャンネル以外のチャンネルであって、視聴用チャンネルと所定の関係を有するチャンネル(以下、「ザッピング対策チャンネル」と呼ぶ。)の階層構造にも参加するようにしている。
When the user of the
従って、端末装置2のユーザによる視聴用チャンネルの切替え操作(以下、「ザッピング」と呼ぶ。)が行なわれた場合に、ザッピング対策チャンネルによって、ユーザによるチャンネル切替操作から新たなチャンネルのコンテンツデータを視聴できるまでの時間を短縮させることができる。なお、本実施形態においては、説明の便宜上ザッピング対策チャンネルを2つのチャンネル(第1ザッピング対策チャンネルB及び第2ザッピング対策チャンネルC)とする。
Therefore, when the user of the
図2には、端末装置2Xが第1配信形態における視聴用チャンネルであるチャンネルAの階層構造に加えて、第1ザッピング対策チャンネルBの階層構造及び第2ザッピング対策チャンネルCの階層構造に参加している状態を模式的に示している。ここで、チャンネルの階層構造に参加するとは、チャンネルの階層構造を構成する端末装置(接続先装置)に接続することを意味し、チャンネルに接続という場合がある。
In FIG. 2, the
このように端末装置2Xが視聴用チャンネルA、第1ザッピング対策チャンネルB及び第2ザッピング対策チャンネルCに接続している状態で、端末装置2Xのユーザが第2配信形態によってコンテンツデータを取得するための操作を行うと、端末装置2Xは、所定の条件下、ザッピング対策チャンネルとの接続を切断し、第2ザッピング対策チャンネルの階層構造から脱退する。図3に示す例では、2つのザッピング対策チャンネルの階層構造のうち、第2ザッピング対策チャンネルCの階層構造のみからの脱退が行われているが、脱退するザッピング対策チャンネルの数は、後述で詳説するように、第2配信形態に用いる端末装置2Xのリソースの使用状態に応じて変動させている。ここで、チャンネルの階層構造から脱退するとは、チャンネルの階層構造を構成する接続先装置との接続を切断することを意味する。
In this way, the user of the
その後、端末装置2Xは、図4に示すように、コンテンツ検索メッセージを送信して、ルート端末装置2Zからコンテンツ保持端末装置2Yの所在情報を取得する。その後、端末装置2Xは、コンテンツ保持端末装置2Yに対してコンテンツデータの送信要求を行い、第2配信形態によってコンテンツデータを取得する。
After that, as shown in FIG. 4, the
第2配信形態によるコンテンツデータ受信が完了すると、端末装置2Xは、第2配信形態によってコンテンツデータを取得する際に脱退した第2ザッピング対策チャンネルCの階層構造に再接続することによって脱退したザッピング対策チャンネルの階層構造に再参加する。
When the reception of the content data in the second distribution form is completed, the
また、端末装置Xは、第2配信形態において配信するコンテンツデータを保持しており、かつ視聴用チャンネルA、第1ザッピング対策チャンネルB及び第2ザッピング対策チャンネルCに接続している状態で、第2配信形態に参加している他の端末装置2から保持しているコンテンツデータのダウンロード要求があると、所定の条件下、ザッピング対策チャンネルに関する接続先装置との接続を切断し、ザッピング対策チャンネルの階層構造から脱退して、その他の端末装置に対してコンテンツデータをアップロードする。第2配信形態によるコンテンツデータのアップロードが完了すると、端末装置2Xは、第2配信形態によってコンテンツデータをアップロードする際に脱退したザッピング対策チャンネルに再接続することによって脱退したザッピング対策チャンネルの階層構造に再参加する。
In addition, the terminal device X holds the content data to be distributed in the second distribution form, and is connected to the viewing channel A, the first zapping countermeasure channel B, and the second zapping countermeasure channel C. 2 When there is a request to download content data held by another
以上のように、本実施形態におけるコンテンツ配信システムSでは、端末装置2のユーザが、第1配信形態であるツリー型階層構造による放送形態でコンテンツデータを視聴する際に、端末装置2において、視聴用チャンネルと一定の関係を有するザッピング対策チャンネルの階層構造に参加し、その後、第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、第2配信形態に用いるリソースの使用状態に応じて、ザッピング対策チャンネルの階層構造から自動で脱退し、第2配信形態でのダウンロード処理又はアップロード処理が終了したら脱退したザッピング対策チャンネルの階層構造に自動的に再接続するようにしているので、ザッピング対策を施しつつ、端末装置のリソースを効率的に使用して、第1配信形態と第2配信形態とを両立することができるコンテンツ配信システム又はその端末装置を提供することができる。
As described above, in the content distribution system S according to the present embodiment, when the user of the
以下、本実施形態におけるコンテンツ配信システムSについて、更に具体的に図面を参照して説明する。 Hereinafter, the content distribution system S in the present embodiment will be described more specifically with reference to the drawings.
[1.1.第1配信形態について]
コンテンツ配信システムSの第1配信形態は、図1に示すように、コンテンツ配信装置1を頂点として複数の端末装置2a1,2a2,2b1〜2b4,2c1〜2c8がツリー状階層構造で多層に論理接続されており、コンテンツ配信装置1からコンテンツデータが当該ツリー状階層構造の上流の端末装置2から下流の端末装置2かけて順次端末装置2の中継機能によってストリーミング配信されるように構成される。このツリー状階層構造は、コンテンツ配信装置1が配信するチャンネル毎に構成される。
[1.1. About the first distribution form]
As shown in FIG. 1, the first distribution form of the content distribution system S is that a plurality of terminal devices 2a1, 2a2, 2b1-2b4, 2c1-2c8 are logically connected in a tree-like hierarchical structure with the
このコンテンツ配信システムSの第1配信形態においては、チャンネル毎にコンテンツ配信装置1を頂点(ここでは、便宜上第0階層とする。)として複数の端末装置2がツリー状階層構造で多層に論理接続されるように接続管理装置3によって管理される。なお、本実施形態においては、ツリー状階層構造として説明するが、これに限られず、複数の端末装置2がチェーン状の階層構造で多層に論理接続されるようにしてもよい。また、端末装置2a1,2a2は便宜上端末装置2aと、端末装置2b1〜2b4は便宜上端末装置2bと、端末装置2c1〜2c8は便宜上端末装置2cという場合がある。
In the first distribution form of the content distribution system S, a plurality of
ここで、第1配信形態におけるコンテンツデータの配信動作について、図5を参照して簡単に説明する。図5はコンテンツ配信システムSにおける第1配信形態の配信動作説明図である。 Here, the content data distribution operation in the first distribution mode will be briefly described with reference to FIG. FIG. 5 is an explanatory diagram of the distribution operation of the first distribution form in the content distribution system S.
接続管理装置3は、チャンネル毎にツリー状階層構造を構成する端末装置2の接続状態情報を記憶する接続状態情報記憶手段としての記憶部と、ネットワーク6を介して端末装置2から接続先紹介要求を受信したとき、接続状態情報記憶手段に記憶された接続状態情報から接続先候補を選択する接続先候補選択手段と、この接続先候補選択手段によって選択された接続先候補の情報を、接続先紹介要求を送信した端末装置2へネットワーク6を介して通知する通知手段と有している。なお、接続先候補とは、接続先紹介要求を送信した端末装置がチャンネルの階層構造に参加する際に、階層構造の上流の装置として接続する装置の候補を意味し、ここでは、コンテンツ配信装置1又は端末装置2を指す。
The
そして、接続管理装置3は、図5に示すように、コンテンツ配信システムSにおける第1配信形態に参加していない端末装置2、言い換えればチャンネルのいずれのツリー状階層構造も構成していない端末装置2から接続先紹介要求を受信すると、第1配信形態のツリー状階層構造の状態等に基づいて、その端末装置2がストリーミング配信を受けるための上流の装置として接続する接続先候補を選択する。そして、接続管理装置3は、このように選択した接続先候補の所在情報(接続先候補のIPアドレスやポート番号など)及び通信プロトコル等を端末装置2に通知する。また、接続先紹介要求は、例えば、端末装置2がチャンネルに接続するとき、他のチャンネルに切り替えるとき、或いは上流装置との接続が切断されたときに端末装置2から送信される。なお、コンテンツ配信システムSにおいて、すでに通信プロトコルやポート番号が固定されているときには、端末装置2へのポート番号及び通信プロトコルは通知しなくてもよい。
Then, as shown in FIG. 5, the
端末装置2は、接続管理装置3から接続先候補の所在情報を受信すると、その所在情報を宛先として接続先候補に対し、コンテンツ配信システムSへの参加(接続)を要求し、これにより端末装置2がコンテンツ配信システムSの第1配信形態における階層構造へ組み込まれる。すなわち、端末装置2はコンテンツ配信装置1から配信されるコンテンツデータを直接又は他の端末装置2を介して受信可能となる。
Upon receiving the location information of the connection destination candidate from the
コンテンツ配信システムSにおける第1配信形態は、このように端末装置2が次々と各チャンネルに参加することによって、コンテンツ配信装置1を頂点として複数の端末装置2がツリー状階層構造で多層に論理接続される。そして、コンテンツ配信装置1から配信されるコンテンツデータは、端末装置2の中継機能により順次下流の端末装置2へ中継されて複数の端末装置2にストリーミング配信される。
In the first distribution form in the content distribution system S, the
すなわち、コンテンツ配信装置1には、ネットワーク6を介してチャンネル毎にコンテンツデータをストリーミング配信する配信手段が設けられており、図5に示すように、コンテンツ配信装置1から端末装置2a1,2a2(第1層の端末装置)へコンテンツデータが送信され、端末装置2a1,2a2はコンテンツデータを受信すると、下流の端末装置2b1〜2b4(第2階層の端末装置)へ受信したコンテンツデータを順次中継する。端末装置2b1〜2b4はコンテンツデータを受信すると、下流の端末装置2c1〜2c8(第3階層の端末装置)へ受信したコンテンツデータを順次中継する。なお、図5においては、理解を容易にするため、複数のチャンネルのうち一つのチャンネルの階層構造のみを表している。
That is, the
端末装置2は、組み込まれた階層構造の位置の上流の端末装置2又はコンテンツ配信装置1の所在情報と、組み込まれた階層構造の位置の下流の端末装置2の所在情報とを後述のハードディスク装置203に記憶しており、このように記憶した所在情報に基づいて、コンテンツデータの受信及び中継を行うようにしている。また、配信されるコンテンツデータは、複数のパケットに分割されて順次配信されるものであり、このようにパケットに分割されて配信されるデータをコンテンツパケットという。
The
このように端末装置2へ配信されるコンテンツデータは、チャンネル毎にその階層構造を構成する端末装置2へ配信される。配信されるコンテンツデータには、音楽や映画などコンテンツのデータのほか、再生時刻情報が含まれている。そして、コンテンツデータを受信した複数の端末装置2は、順次送信されるコンテンツデータの再生を再生時刻情報に基づいて行う。
In this way, the content data distributed to the
ここで、端末装置2におけるリングバッファ領域について説明する。図6は、端末装置2におけるリングバッファ領域を用いてコンテンツデータを受信し、再生或いは下流の端末装置2へ中継する構成を概念的に表した図である。このリングバッファ領域は、参加したチャンネル毎に設けられるものであり、視聴用チャンネルAのためのリングバッファ領域のほか、ザッピング対策チャンネルのためのリングバッファ領域も設けられることになる。
Here, the ring buffer area in the
端末装置2は、第1配信形態に参加したときに、参加したチャンネルにおける階層構造の上流の装置からストリーミング配信されるコンテンツパケットをストリーミング受信器によって順次受信し、受信したコンテンツパケットに含まれるコンテンツデータをリングバッファ領域に一時的に蓄積する。リングバッファ領域に一時的に蓄積されたコンテンツデータは、その再生時刻になると、端末装置2の再生手段であるプレイヤによってリングバッファ領域から取り出されて再生される。
When the
ここで、図6に示すように、リングバッファ領域には時計回りの方向で新しいコンテンツデータが順次蓄積され、最も古いコンテンツデータが新しいコンテンツデータに書き換わるように構成されている。すなわち、ストリーミング受信器によってリングバッファ領域に書き込まれるポイントをAとすると、このポイントAが時計回りに移動していくのである。 Here, as shown in FIG. 6, new content data is sequentially stored in the ring buffer area in the clockwise direction, and the oldest content data is rewritten to new content data. That is, if the point written in the ring buffer area by the streaming receiver is A, the point A moves clockwise.
なお、図6におけるリングバッファ領域は概念的に示したものであり、実際にリング形状をしているのではなく、端末装置2の制御手段が、記憶領域における所定アドレス領域に蓄積した最も古いコンテンツデータを順次新しいコンテンツデータに書き換えることにより実現するものである。
Note that the ring buffer area in FIG. 6 is conceptually shown and is not actually ring-shaped, but the control unit of the
また、コンテンツデータには上述のように再生時刻情報が格納されており、プレイヤはリングバッファ領域に蓄積したコンテンツデータのうち、現時刻と合致する再生時刻情報を有するコンテンツデータ(ここでは、図6中Bのポイントのコンテンツデータ)をリングバッファ領域から取り出して順次再生する。なお、ザッピング対策チャンネルのリングバッファ領域に蓄積したコンテンツデータは再生されない。 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 matching the current time among the content data stored in the ring buffer area (here, FIG. 6). The content data of the middle B point) is taken out from the ring buffer area and sequentially reproduced. Note that the content data stored in the ring buffer area of the zapping countermeasure channel is not reproduced.
このように端末装置2は、コンテンツデータを一時的に蓄積するリングバッファ領域を設けることによって、コンテンツパケットをプリバッファリングしながらパケット損失に対する補完を行い、ネットワーク6の経路上で発生するパケット損失の影響を回避するようにしている。
In this way, the
以上のように、コンテンツ配信システムSの第1配信形態では、コンテンツ配信装置1から送信されたコンテンツデータが複数の端末装置2にストリーミング配信され、複数の端末装置2において同時刻にコンテンツを再生することができる。すなわち、コンテンツ配信システムSは、P2Pを用いて複数の端末装置2への放送形式のストリーミング配信を実現している。
As described above, in the first distribution form of the content distribution system S, the content data transmitted from the
[1.2.第2配信形態について]
次に、図7を参照して、コンテンツ配信システムSにおける第2配信形態の概要構成等について説明する。図7は、本実施形態に係るコンテンツ配信システムSにおける第2配信形態を示す図である。この第2配信形態は、P2Pグリッド型配信システムであり、本実施形態においては、分散ハッシュテーブル(以下、「DHT」(Distributed Hash Table)と呼ぶ。)を利用することによりネットワーク上に分散配置された複数の端末装置2間でコンテンツデータの送受信を行う配信形態を例に挙げて説明する。
[1.2. About the second distribution form]
Next, with reference to FIG. 7, a schematic configuration and the like of the second distribution form in the content distribution system S will be described. FIG. 7 is a diagram illustrating a second distribution form in the content distribution system S according to the present embodiment. This second distribution form is a P2P grid type distribution system. In this embodiment, the second distribution form is distributed on the network by using a distributed hash table (hereinafter referred to as “DHT”). A distribution form in which content data is transmitted and received between a plurality of
[1.2.1 DHTの概要]
まず、本実施形態に係るDHTを利用したアルゴリズムについて説明する。
[1.2.1 Outline of DHT]
First, an algorithm using DHT according to the present embodiment will be described.
コンテンツ配信システムSの第2配信形態において、当該端末装置2同士が、互いに情報をやり取りする際には、お互いの所在情報としてのIPアドレスを知っていなければならない。
In the second distribution form of the content distribution system S, when the
例えば、複数の端末装置間でコンテンツを互いに共有するシステムにおいては、ネットワーク6に参加している各端末装置2が互いにネットワーク6に参加している全ての端末装置2のIPアドレスを知っておくのが単純な手法であるが、端末数が何万何十万と多数になると、その全ての端末装置2のIPアドレスを覚えておくのは現実的ではない。また、任意の端末装置2の電源が頻繁にON或いはOFFとすると、各端末装置2において記憶している当該任意の端末装置2のIPアドレスの更新が頻繁になり、運用上困難となる。
For example, in a system in which content is shared among a plurality of terminal devices, each
そこで、1台の端末装置2では、ネットワーク6に参加している全ての端末装置2のうち、必要最低限の一部の端末装置2のIPアドレスだけを記憶しておき、IPアドレスを記憶していない端末装置2については、各端末装置2間で互いに情報を転送し合うことによりコンテンツを届けるシステムが考案されている。
Therefore, one
このようなシステムの一例として、DHTを利用したアルゴリズムによって、図7に示すような、オーバーレイネットワークが構築されることになる。つまり、このオーバーレイネットワークは、既存のネットワーク6を用いて形成された仮想的なリンク(論理接続)を構成するネットワークであり、P2Pグリッド型配信形態である。
As an example of such a system, an overlay network as shown in FIG. 7 is constructed by an algorithm using DHT. That is, this overlay network is a network that forms a virtual link (logical connection) formed using the existing
本実施形態においては、DHTを利用したアルゴリズムによって構築されたオーバーレイネットワークを前提としており、このオーバーレイネットワーク上に配置された端末装置2を、コンテンツ配信システムSの第2配信形態に参加している端末装置2という。なお、コンテンツ配信システムSの第2配信形態への参加は、未だ参加していない端末装置2が、すでに参加している端末装置2に対して参加要求を送ることによって行われる。
In this embodiment, it is premised on an overlay network constructed by an algorithm using DHT, and a
コンテンツ配信システムSの第2配信形態に参加している各端末装置2の識別番号である端末IDとして、それぞれの端末装置2毎にユニークな番号(固有番号)を付与する。この番号は、端末装置2の最大運用台数を収容できるだけのbit数を持たせる必要がある。例えば、128bitの番号とすれば、2128≒340×1036台の端末装置2を運用できる。
A unique number (unique number) is assigned to each
より具体的には、各端末装置2の端末IDは、それぞれの端末装置2のIPアドレス或いは製造番号等の端末装置2毎に固有の値を、共通のハッシュ関数(ハッシュアルゴリズム)によりハッシュ化して得たハッシュ値であり、一つのID空間に偏りなく分散して配置されることになる。このように共通のハッシュ関数によりハッシュ化されて求められた端末IDは、当該IPアドレス或いは製造番号が異なれば、同じ値になる確率が極めて低いものである。なお、ハッシュ関数については公知であるので詳しい説明を省略する。また、本実施形態では、IPアドレス(グローバルIPアドレス)を共通のハッシュ関数によりハッシュ化した値を端末IDとする。
More specifically, the terminal ID of each
また、コンテンツ配信システムSの第2配信形態に参加している複数の端末装置2には、図7に示すように、一の端末装置2から他の端末装置2に配信されるコンテンツデータがコンテンツ投入装置4によって分散して端末装置2に投入されるが、当該コンテンツデータにも、それぞれのコンテンツデータ毎の固有の識別情報(以下、「コンテンツID」と呼ぶ。)を付与する。
In addition, as shown in FIG. 7, content data distributed from one
そして、当該コンテンツ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, a keyword such as a content name (content title name) or content summary information (summary) determines the terminal ID. A terminal that is hashed by a hash function that is common to the time of acquisition (that is, placed in the same ID space as the hash value of the IP address of the terminal device 2) and that is closest to the hash value (for example, the higher-order digits match more) The
コンテンツ保持端末装置は、コンテンツ投入装置4によってランダムに決定される。すなわち、コンテンツ投入装置4は、コンテンツデータを保持すべき1以上の端末装置2をランダムに決定し、このように決定した端末装置にコンテンツデータを送信する。コンテンツ投入装置4からコンテンツデータを受信した端末装置は、コンテンツデータを記憶部に保持することによってコンテンツ保持端末装置として機能する。これにより、コンテンツデータが偏りなくコンテンツ配信システムS上に分散して配置される。
The content holding terminal device is randomly determined by the
なお、異なるコンテンツデータであっても、同一のキーワード(例えば、コンテンツの名称)になる場合が想定されるが、この場合、同じハッシュ値になってしまうので、これを避けるために、ハッシュ化するキーワードを、例えば、コンテンツの名称と著作権情報(例えば、出演者名、監督名、原作者名、歌手名、作曲者名、又は作詞者名等)の組み合わせとすればよい。本実施形態においては、コンテンツの名称は重複しないものとし、コンテンツの名称をキーワードとするものとする。 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 name and copyright information (for example, performer name, director name, original author name, singer name, composer name, or songwriter name). In the present embodiment, the content names are not duplicated, and the content name is a keyword.
このように、各端末装置2及び各コンテンツデータに付与された端末ID及びコンテンツIDは、共通のハッシュ関数によって生成するため、図7に示す如く、同一のリング状のID空間上にさほど偏ることなく、散らばって存在するものとして考えることができる。同図は32bitで端末ID及びコンテンツIDを付与し、図示したものである。図中丸点は端末IDを、四角形はコンテンツIDを示し、反時計回りでIDが増加するものとする。
As described above, since the terminal ID and the content ID assigned to each
次に、どの端末装置2に、どのコンテンツデータが保持されるかを、一定の規則の下に決定する。本実施形態においては、「あるコンテンツIDを有するコンテンツデータを管理する端末装置2は、そのコンテンツIDに近い端末IDを有する端末装置2である」という規則とする。ここで、「近い」ことの定義は、当該コンテンツIDを超えず、コンテンツIDと端末IDとの差が一番少ないものとするが、実際には、各コンテンツデータの管理を各端末装置2に割り振る際に、一貫していればよい。図7に示す例では、この定義に基づいて、コンテンツIDaは、当該コンテンツIDaに近い端末ID(以下、「端末IDa」と呼ぶ。)を有する端末装置2に管理され、コンテンツIDbは、当該コンテンツIDbに近い端末ID(以下、「端末IDb」と呼ぶ。)を有する端末装置2に管理され、コンテンツIDcは、当該コンテンツIDcに近い端末ID(以下、「端末IDc」と呼ぶ。)を有する端末装置2に管理される。
Next, which
なお、ここで「管理」というのは、コンテンツデータを保持していることを意味するのではなく、「コンテンツデータがいずれの端末装置2に保持されているかを知っている」ことを意味する。すなわち、図7において、端末IDaを有する端末装置2は、コンテンツIDaを有するコンテンツデータがいずれの端末装置2に保持されているかを知っており、端末IDbを有する端末装置2及び端末IDcを有する端末装置2も同様にそれぞれコンテンツIDbを有するコンテンツデータ及びコンテンツIDcを有するコンテンツデータがいずれの端末装置2に保持されているかを知っている、ということになる。
Here, “management” does not mean that content data is held, but “knows which
このように、あるコンテンツデータがいずれの端末装置2に保持されているかを知っている端末装置2を、そのコンテンツデータのルート端末装置と呼ぶ。つまり、端末IDaを有する端末装置2は、コンテンツIDaを有するコンテンツデータのルート端末装置であって、端末IDbを有する端末装置2は、コンテンツIDbを有するコンテンツデータのルート端末装置であって、端末IDcを有する端末装置2は、コンテンツIDcを有するコンテンツデータのルート端末装置である。
Thus, the
ここで、コンテンツ投入装置4は、コンテンツ配信システムS内の端末装置2をコンテンツ保持端末装置とするためにコンテンツデータを端末装置2へ配布する機能のほか、端末装置2に配布した複数のコンテンツデータ(言い換えれば、コンテンツ保持端末装置が保持しているコンテンツデータ)をそのコンテンツの名称とコンテンツIDとを関連付けた識別情報リストである識別情報リストを生成して端末装置2へ提供する機能を有している。
Here, the
また、コンテンツ配信システムSの第2配信形態においては、コンタクト先紹介装置5が配置されている。このコンタクト先紹介装置5は、コンテンツ配信システムSの第2配信形態に参加していない端末装置2からこの第2配信形態への参加要求があったときに、未参加の端末装置2が参加メッセージを送信する既参加の端末装置2(以下、「コンタクト先端末装置」と呼ぶ。)の所在情報を通知する機能を有している。
Further, in the second distribution form of the content distribution system S, the
[1.2.2 ルーティングテーブルの作成]
ここで、図8を参照して、DHTで用いるルーティングテーブルの作成手法の一例について説明する。図8は、DHTによってルーティングテーブルが作成される様子の一例を示す図である。
[1.2.2 Creating a routing table]
Here, an example of a method for creating a routing table used in DHT will be described with reference to FIG. FIG. 8 is a diagram illustrating an example of how a routing table is created by DHT.
まず、図8(a)に示す如く、ID空間を幾つかのエリアに分割する。実際には、16分割程度が良く用いられるが、説明を簡単にするためここでは4分割とし、IDをビット長8bitの4進数で表すことにする。そして、端末装置2Nの端末IDを「1133」とし、この端末装置2Nのルーティングテーブルを作る一例について説明する。 First, as shown in FIG. 8A, 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 routing table 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」であるため、図8(a)中左下「1XXX」のエリアに存在することになる。そして、端末装置2Nは、自分の存在するエリア(すなわち、「1XXX」のエリア)以外のエリア(すなわち、「0XXX」のエリア、「2XXX」のエリア、「3XXX」のエリア)に存在する端末装置2を適当に選択し、当該端末IDの所在情報、すなわち、当該端末IDのIPアドレスをレベル1のテーブルに記憶する。図9がレベル1のテーブルの一例である。このテーブルでは、「0XXX」のエリアの端末IDとして「0100」、「2XXX」のエリアの端末IDとして「2133」、「3XXX」のエリアの端末IDとして「3213」がそれぞれ選択されている状態を示している。なお、当該レベル1の2列目は端末装置2N自身を示しているため、IPアドレスを記憶する必要はない。
(
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 appropriately selected, and the location information of the terminal ID, that is, the IP address of the terminal ID is stored in the
(レベル2のルーティング)
次に、図8(b)に示す如く、上記ルーティングによって4分割したエリアのうち、自分の存在するエリア「1XXX」を更に4分割し、更に4つのエリア「10XX」「11XX」、「12XX」、「13XX」と分ける。そして、上記と同様に自分の存在するエリア「11xx」以外のエリアに存在する端末装置2を適当に選択し、当該端末IDの所在情報であるIPアドレスをレベル2のテーブルに記憶する。図9がレベル2のテーブルの一例である。このテーブルでは、「10XX」のエリアの端末IDとして「1003」、「12XX」のエリアの端末IDとして「1221」が、「13XX」のエリアの端末IDとして「1313」がそれぞれ選択されている状態を示している。なお、レベル2の2列目は端末装置2Nが存在するエリア「11XX」であり、後述するレベル3にてテーブル化されるためIPアドレスを記憶していない。また、上記エリアに端末装置2が存在しない場合には、端末ID及びIPアドレスの欄は空白となる。
(
Next, as shown in FIG. 8B, 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”. Then, similarly to the above, the
(レベル3のルーティング)
更に、上記ルーティングによって4分割したエリアのうち、自分の存在するエリア「11XX」を更に4分割し、更に4つのエリア「110X」「111X」、「112X」、「113X」と分ける。そして、上記と同様に自分の存在するエリア「113X」以外のエリアに存在する端末装置2を適当に選択し、当該端末IDの所在情報であるIPアドレスをレベル3のテーブルに記憶する。図9がレベル3のテーブルの一例である。レベル3の4列目は端末装置2Nが存在するエリアであり、後述するレベル4にてテーブル化されるためIPアドレスを記憶していない。また、上記エリアに端末装置が存在しない場合には、端末ID及びIPアドレスの欄は空白となる。
(
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”. Then, similarly to the above, the
このようにして、レベル4まで同様にルーティングテーブルを図9に示す如く作成することにより、8bitのID全てを網羅することができる。レベルが上がる毎にテーブルの中に空白が目立つようになる。
In this way, all the 8-bit IDs can be covered by creating a routing table in the same way up to
以上説明した手法に従って作成したルーティングテーブルを、全ての端末装置2が夫々作成して所有することになる。このように、各端末装置2は、コンテンツ配信システムSにおける複数の端末装置2のうち一部の端末装置2の端末ID(識別情報)とIPアドレス(所在情報)とを関連付けたルーティングテーブルを有しており、このルーティングテーブルは後述のルーティングテーブル記憶領域に記憶される。
All the
ところで、端末装置2は、第2配信形態に未参加のときには、第2配信形態に参加している端末装置2の所在情報などを知らない。そのため、端末装置2は、第2配信形態に参加するときには、次の項で説明するように、ルーティングテーブルを生成する。
By the way, when the
[1.2.3.第2配信形態への参加]
次に、図10を参照して、コンテンツ配信システムSにおける第2配信形態に未参加の端末装置2が当該第2配信形態へ参加する方法の一例について説明する。図10は、第2配信形態に未参加の端末装置2M(以下、「新規参加端末装置2M」と呼ぶ。)が当該第2配信形態へ参加する様子の一例を示す図である。
[1.2.3. Participation in the second distribution form]
Next, an example of a method in which the
まず、第2配信形態に未参加である新規参加端末装置2Mは、コンテンツ配信システムSの第2配信形態に参加するために、コンタクト先紹介装置5に対して、参加メッセージを送信すべきコンタクト先端末装置の所在情報を要求する。
First, the new participation terminal apparatus 2M that has not participated in the second distribution form, in order to participate in the second distribution form of the content distribution system S, is a contact destination to which a participation message should be sent to the
新規参加端末装置2Mは、コンタクト先紹介装置5から参加メッセージを送信すべきコンタクト先端末装置の所在情報が送られてくると、コンタクト先端末装置に対して参加メッセージを送信する。ここで、参加メッセージのあて先識別情報は、新規参加端末装置2Mの端末IDとなっている。すなわち、新規参加端末装置2Mは、第2配信形態に参加する際に、自装置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
コンタクト先端末装置は、新規参加端末装置2Mから送信された参加メッセージを受信すると、コンタクト先端末装置は、この参加メッセージがコンタクト先端末装置宛のメッセージであるか否かを判定する。コンタクト先端末装置宛のメッセージであるか否かは、宛先識別情報とルーティングテーブルとに基づいて行われる。具体的には、宛先識別情報がコンタクト先端末装置宛の識別情報と近いか否かが判定される。即ち、宛先識別情報に対して、コンタクト先端末装置自身が保持しているルーティングテーブルに記憶されている端末装置の識別情報から、一番近い端末装置の識別情報が、自身であるか他の端末装置であるかを判定する。そして、コンタクト先端末装置の識別情報よりも他の端末装置の識別情報の方が宛先識別情報に近いとき、参加メッセージを受信したコンタクト先端末装置は、コンタクト先端末装置自身が保持しているルーティングテーブルのレベル2を参照して、「2XXX」のエリアに属す端末装置2のうち、IPアドレスを知っている端末装置2Bに対して参加メッセージを転送するとともに、自端末装置のルーティングテーブル記憶領域に記憶されたルーティングテーブルのレベル1のテーブルの情報を、新規参加端末装置2Mへ送信する。
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. Specifically, it is determined whether the destination identification information is close to the identification information addressed to the contact destination terminal device. That is, with respect to the destination identification information, the terminal device identification information stored in the routing table held by the contact destination terminal device itself is the closest terminal device identification information itself or another terminal. Determine if it is a device. When the identification information of the other terminal device is closer to the destination identification information than the identification information of the contact destination terminal device, the contact destination terminal device that has received the participation message is the routing held by the contact destination terminal device itself. Referring to the
このように、コンテンツIDの桁を上から順に適合していく要領で参加メッセージの転送を行い、順次ルーティングテーブルの各レベルの情報を送信する。最終的に宛先識別情報に最も近い端末装置2に辿り着いたところで参加メッセージの転送は終了する。なお、参加メッセージなどのメッセージを目的の端末装置へ辿り着くまでに、上述のように転送する仕組みをDHTルーティングと呼ぶ。
In this way, the participation message is transferred in such a manner that the digits of the content ID are adapted in order from the top, and information on each level of the routing table is sequentially transmitted. When the
こうして、新規参加端末装置2Mは、参加メッセージを受信した端末装置2からルーティングテーブルの各レベルの情報を上位レベルの情報から順に取得するようにしている。新規参加端末2はこのようにして、第2配信形態に参加するために必要なルーティングテーブルを生成する。
In this way, the new participation terminal device 2M obtains the information of each level of the routing table from the higher level information in order from the
[1.2.4.コンテンツデータの検索方法]
次に、図11を参照して、コンテンツデータを保持している端末装置2の検索方法の一例について説明する。図11は、DHTルーティングによりコンテンツデータを保持している端末装置2が検索される様子の一例を示す図である。
[1.2.4. Content data search method]
Next, an example of a search method for the
ここでは、端末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は、自己が保持しているルーティングテーブルのレベル1のテーブルを参照して、コンテンツID「3020」と同じエリアの端末IDを持つ端末装置の端末IDを宛先識別情報としてコンテンツ保持端末装置情報(コンテンツ保持端末装置の所在情報を含む情報)の送信要求(以下、「コンテンツ検索メッセージ」と呼ぶ。)を送信する。すなわち、コンテンツID「3020」は「3XXX」のエリアであるため、当該「3XXX」のエリアに属す端末装置2のうち、IPアドレスを知っている(すなわち、自己が保持しているルーティングテーブルにIPアドレスが記憶されている)端末装置2A(端末ID「3213」)に対してコンテンツ検索メッセージを送信する。このように、コンテンツ検索メッセージはコンテンツに対応する固有の識別情報であるコンテンツIDを含むものであり、このコンテンツIDはコンテンツ検索メッセージにおいて宛先識別情報として用いられる。
The requesting terminal device 2N refers to the
図11に示す例によれば、端末IDが「3213」である端末装置2AのIPアドレスがリクエスト端末装置2Nのルーティングテーブル(図9参照。)に記憶されているので、リクエスト端末装置2Nは、端末IDが「3213」である端末装置2Aに対してコンテンツ検索メッセージを送信する。 According to the example shown in FIG. 11, since the IP address of the terminal device 2A whose terminal ID is “3213” is stored in the routing table (see FIG. 9) 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宛のメッセージであるか否かは、宛先識別情報とルーティングテーブルとに基づいて行われる。具体的には、宛先識別情報が自端末装置2Aの識別情報と近いか否かが判定される。即ち、宛先識別情報に対して、端末装置2A自身が保持しているルーティングテーブルに記憶されている端末装置の識別情報から、一番近い端末装置の識別情報が、自身であるか他の端末装置であるかを判定する。ここでは、自端末装置2Aの識別情報よりも他の端末装置の識別情報の方が、宛先識別情報に近いため、端末装置2Aは、当該端末装置2A自身が保持しているルーティングテーブルのレベル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. Specifically, it is determined whether the destination identification information is close to the identification information of the terminal device 2A. That is, with respect to the destination identification information, the identification information of the terminal device closest to the terminal device identification information stored in the routing table held by the terminal device 2A itself is itself or other terminal device It is determined whether it is. Here, since the identification information of the other terminal device is closer to the destination identification information than the identification information of its own terminal device 2A, the terminal device 2A is
このように、コンテンツ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 information (described later) managed by itself, and retains the content data that owns the content data. Location information such as the IP address of the terminal device is returned to the requesting terminal device 2N.
こうして、リクエスト端末装置2Nは、上記ルート端末装置2Cから、コンテンツID「3020」のコンテンツデータの所在情報、即ち、コンテンツID「3020」のコンテンツデータを保持するコンテンツ保持端末装置のIPアドレスを受信して知ることになり、当該コンテンツ保持端末装置から、そのコンテンツデータをダウンロードして取得することになる。 In this way, the request terminal device 2N receives the location information of the content data with the content ID “3020” from the root terminal device 2C, that is, the IP address of the content holding terminal device that holds the content data with the content ID “3020”. The content data is downloaded and acquired from the content holding terminal device.
[1.2.5.インデックステーブルへの登録方法]
コンテンツ配信システムSにおける第2配信形態の中で、新しいコンテンツデータをコンテンツ配信システムS上の他の端末装置2に見えるように公開する際の手法について述べる。
[1.2.5. How to register in the index table]
In the second distribution form in the content distribution system S, a method for publishing new content data so as to be visible to other
本実施形態におけるコンテンツ配信システムSの第2配信形態は、図12に示すように、コンテンツ投入装置4が各コンテンツ保持端末装置となる端末装置2に対して、各コンテンツ保持端末装置毎の管理対象コンテンツとなるコンテンツデータを送信する。コンテンツ投入装置4から管理対象のコンテンツデータを受信したコンテンツ保持端末装置は、後述のハードディスク装置203に受信したコンテンツデータを記憶する。
As shown in FIG. 12, the second distribution form of the content distribution system S in this embodiment is a management target for each content holding terminal device with respect to the
当該コンテンツデータを配布されたコンテンツ保持端末装置は、図12及び図13に示すように、当該コンテンツ保持端末装置の所在情報及び識別情報を含むコンテンツ保持端末装置情報の登録要求メッセージ(以下、「コンテンツ登録メッセージ」と呼ぶ。)を、コンテンツの名称等から求めたコンテンツIDと同じ端末IDを持つ端末装置に向けて(この端末装置が実在するか否かはこの時点ではわからない。)送信する。そして、このコンテンツ登録メッセージも、上記コンテンツ検索メッセージと同様にルーティングテーブルに従って、次々と転送されていき、当該コンテンツ登録メッセージに含まれるコンテンツIDに最も近い端末IDを有する端末装置2まで転送されたところで、その端末装置2がもはや送信先の端末装置が他にないと判断すると、当該端末装置2自身がそのコンテンツのルート端末装置となるべきだと判断し、図13に示すように、当該コンテンツ登録メッセージに含まれるコンテンツ保持端末装置情報である当該コンテンツID、コンテンツ保持端末装置のIPアドレス、及び補助情報(タイトル、ジャンル、拡張情報等の属性情報や、監督名等の著作権情報やストリーミング時間等)をインデックス情報として後述のインデックステーブル222に記憶する。
As shown in FIGS. 12 and 13, the content holding terminal device to which the content data has been distributed is a content holding terminal device information registration request message (hereinafter referred to as “contents” including location information and identification information of the content holding terminal device). "Registered message") is transmitted to the terminal device having the same terminal ID as the content ID obtained from the content name or the like (whether or not this terminal device actually exists is not known at this time). Then, the content registration messages are also sequentially transferred according to the routing table in the same manner as the content search message, and are transferred to the
このようにルート端末装置のインデックステーブル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
インデックステーブル222は、図14に示すように、コンテンツ保持端末装置の所在情報(所在情報)であるIPアドレスなどを含むコンテンツ保持端末装置情報を記憶するためのテーブルである。このインデックステーブル222には、コンテンツ保持端末装置のIPアドレスのほか、コンテンツ保持端末装置を紹介した時刻等がコンテンツ保持端末装置情報として1行(所定記憶エリア)毎に記憶される。 As shown in FIG. 14, the index table 222 is a table for storing content holding terminal device information including an IP address that is location information (location information) of the content holding terminal device. In the index table 222, the IP address of the content holding terminal device, the time when the content holding terminal device was introduced, and the like are stored for each row (predetermined storage area) as content holding terminal device information.
[2.端末装置2の構成等の説明]
次に、図15を参照して、端末装置2の構成及び動作について更に詳説する。図15は、本実施形態における端末装置2の概略構成例を示す図である。
[2. Description of Configuration of Terminal Device 2]
Next, the configuration and operation of the
端末装置2は、一般のパーソナルコンピュータ或いは専用端末を適用可能であり、図15に示すように、CPU(Central Processing Unit)202と、各種プログラム等を記憶(格納)する書き換え可能な主記憶装置205と、各種データ等を記憶するハードディスク装置203と、ネットワーク6を介してネットワーク上のコンテンツ配信装置1、接続管理装置3やコンテンツ投入装置4、コンタクト先紹介装置5及び他の端末装置2との間で有線通信による通信を行うためのネットワークインタフェース204と、ユーザによる端末装置2の遠隔操作が可能な所定の赤外線信号を送信及び受信するユーザ入力用リモコン208と、このユーザ入力用リモコン208と赤外線により通信を行うための赤外線ポート207と、赤外線ポート207を制御する周辺機器制御チップ206と、CPU202からイメージデータを受け取り、内部のビデオメモリ(図示せず)に書き込むと共にこのビデオメモリに書き込んだデータを後述の内蔵ディスプレイ210に表示するビデオチップ209と、ビデオチップ209から送信される信号に応じた表示を行う内蔵ディスプレイ210と、FM音源(Frequency Modulation)やWave Table音源などの音源を有する音源チップ211と、音源チップ211から出力されるオーディオ信号を音波に変換する内蔵スピーカ212とを備えて構成され、これらの各種構成要素はシステムバス201を介して相互に接続されている。
The
なお、本実施形態においては、CPU202と主記憶装置205とで制御部230を構成している。また、ネットワークインタフェース204は、アナログ電話回線、ISDN回線、ADSL回線、FTTH回線などの通信回線によってルータ10に接続することができるインターフェイスである。ルータ10は、通信回線を介して端末装置2から受信した信号をネットワーク6へ送信し、ネットワーク6から受信した信号を端末装置2へ送信する。
In the present embodiment, the
上述したようなユーザ入力用リモコン208では、コンテンツ配信システムSにおけるコンテンツデータのダウンロードなどの操作が可能である。また、本実施形態におけるユーザ入力用リモコン208では、コンテンツ配信システムSのチャンネルを選択するための選択手段として図示しないチャンネル選択ボタンを有しており、端末装置2のユーザはこのチャンネル選択ボタンによって所望のチャンネルに接続することができる。例えば、チャンネル選択ボタンをとして、「1」〜「10」までのボタンをリモコン208に配置し、これらのボタンを選択することにより、チャンネルch1〜ch10のいずれかを視聴用チャンネルとして選択することができる。また、図16に示すように、端末装置2の内蔵ディスプレイ210に、チャンネル選択ボタン22,23を配置したチャンネル選択画面を表示するようにもでき、選択するチャンネルを1chずつ切り替えるようにしてもよい。なお、表示枠21にはストリーミング再生手段によって再生されるコンテンツが表示される。
With the user input
(主記憶装置205について)
主記憶装置205には、端末装置2のコンピュータとしての基本的な機能を提供するためのオペレーディング(OS)プログラム217と、第1配信形態において、コンテンツ配信装置1から直接又は他の端末装置2に中継されてストリーミング配信されるコンテンツデータをストリーミング受信及び下流の端末装置2へストリーミング送信するためのストリーミング制御プログラム215と、第1配信形態において、ツリー接続された一層上流の端末装置2(或いはコンテンツ配信装置1)の所在情報(IPアドレスやポート番号)とツリー接続された一層下流の端末装置2の所在情報の管理等を行うためのトポロジー管理プログラム216と、内蔵ディスプレイ210を制御するための画面制御プログラム218と、第1配信形態において、上流の装置からストリーミング受信したコンテンツデータをデコードしてストリーミング再生したり、第2配信形態でダウンロードしてハードディスク装置203に記憶したコンテンツデータを再生したりするための音楽デコーダプログラム219と、所定の記憶容量を有し、ストリーミング受信したコンテンツデータを順次一時的に記憶するリングバッファ領域220と、第1配信形態でコンテンツデータをストリーミング再生している状態で、第2配信形態に参加してコンテンツデータをダウンロードしたり、アップロードしたりするためのコンテンツダウンロード・アップロードプログラム221(以下、「コンテンツDL/ULプログラム」とする。)等が記憶されており、これらはCPU202によって読み出され、CPU202によってこれらのプログラムに従った機能が実行される。
(About the main storage device 205)
The
また、主記憶装置205には、更にインデックステーブル222(図14参照)を記憶するためのインデックステーブル記憶領域やルーティングテーブル223(図9参照)を記憶するためのルーティングテーブル記憶領域が設けられている。
The
また、リングバッファ領域220は、参加しているチャンネル(視聴用チャンネル及びザッピング対策チャンネル)において配信されるコンテンツデータをチャンネル毎に一時的に記憶する領域であり、ザッピング対策チャンネルのリングバッファ領域に蓄積したコンテンツデータは再生されず中継のみのために用いられることから、リングバッファ領域は、視聴用チャンネルのリングバッファ領域に比べその容量を小さくしている。このようにザッピング対策チャンネルのリングバッファ領域を小さくしているため、主記憶装置205を効率よく使用することができる。勿論、設定等により全てのリングバッファ領域の容量を同一とするようにすることも可能である。
The
ここで、OSプログラム217は、CPU202によって読み出されて実行されることにより、ユーザ入力用リモコン208の入出力に関する機能や、主記憶装置205やハードディスク装置203などのメモリ管理などの端末装置2であるコンピュータの基本的な機能を実行可能にするものである。そして、このOSプログラム217がCPU202によって実行された状態で、上述のストリーミング制御プログラム215、トポロジー管理プログラム216、画面制御プログラム218、音楽デコーダプログラム219、コンテンツDL/ULプログラム221等が主記憶装置205から読み出されて実行される。
Here, the
なお、OSプログラム217、ストリーミング制御プログラム215、トポロジー管理プログラム216、画面制御プログラム218、音楽デコーダプログラム219、コンテンツDL/ULプログラム221等は、例えば、ネットワーク6に接続されたサーバ等から主記憶装置205にダウンロードされるようにしてもよく、また、CD−ROM等の記録媒体に記録されてから記録媒体のドライブを介して、主記憶装置205に読み込まれるようにしてもよい。
The
(制御部230について)
制御部230は、上述のようにCPU202と主記憶装置205とから構成され、CPU202が主記憶装置205に記憶された各種プログラム215〜219,221を読み出して実行することにより、端末装置2全体を統括制御し、かつ、後述する接続処理手段、ストリーミング受信処理手段、表示制御手段、ストリーミング再生手段、ストリーミング中継処理手段、デコード手段、識別情報取得手段、識別情報リスト受信手段、ダウンロード操作検出手段、切断処理手段、リソース使用量検出手段、リソース不足判定手段、再接続処理手段、判定手段、ダウンロード処理手段、アップロード処理手段、メッセージ宛先判定手段、コンテンツ保持端末装置情報選択手段、コンテンツ保持端末装置情報返信手段、コンテンツ識別情報演算手段、コンテンツ登録メッセージ生成手段、コンテンツ登録メッセージ送信処理手段、メッセージ転送処理手段、コンテンツ再生手段等として機能するようになっている。
(About the control unit 230)
The
なお、CPU202がストリーミング制御プログラム215を実行することによってストリーミング受信処理手段、ストリーミング中継処理手段等として、またCPU202がトポロジー管理プログラム216を実行することによって、接続処理手段等として、またCPU202が画面制御プログラム218を実行することによって表示制御手段等として、更にCPU202が音楽デコーダプログラム219を実行することによってデコード手段、ストリーミング再生手段、コンテンツ再生手段等として、更にCPU202がコンテンツDL/ULプログラム221を実行することによって、識別情報リスト受信手段、識別情報取得手段、判定手段、ダウンロード操作検出手段、切断処理手段、リソース使用量検出手段、リソース不足判定手段、再接続処理手段、ダウンロード処理手段、アップロード処理手段、メッセージ宛先判定手段、コンテンツ保持端末装置情報選択手段、コンテンツ保持端末装置情報返信手段、コンテンツ識別情報演算手段、コンテンツ登録メッセージ生成手段、コンテンツ登録メッセージ送信処理手段、メッセージ転送処理手段等として、それぞれ機能するようになっている。
It should be noted that the
(接続処理手段について)
接続処理手段は、端末装置2をコンテンツ配信システムSの第1配信形態へ参加させるために、チャンネル選択手段であるリモコン208のチャンネル選択ボタンのユーザによる操作によって選択されたチャンネルに関する接続先紹介要求を接続管理装置3へ送信し、その後、接続管理装置3から通知された接続先候補に接続する。さらに、接続処理手段は、チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネル(ザッピング対策チャンネル)に関する接続先紹介要求を接続管理装置3へ送信し、その後、接続管理装置3から通知された接続先候補に接続する。
(About connection processing means)
The connection processing means issues a connection destination introduction request regarding the channel selected by the user's operation of the channel selection button of the
より具体的には、接続処理手段は、端末装置2をコンテンツ配信システムSの第1配信形態へ参加させるために、接続管理装置3へ登録要求を送信して接続管理装置3へ登録すると共に、接続先紹介要求を送信して接続管理装置3へチャンネル選択手段によって選択されたチャンネルの接続先候補及びそのチャンネルと所定の関係を有するチャンネルの接続先候補を要求する接続先紹介要求をそれぞれ送信する機能を有している。この接続先紹介要求には、接続先候補を要求するチャンネルの情報の他、自端末装置2の所在情報等を含む。
More specifically, the connection processing unit transmits a registration request to the
また、接続処理手段は、接続管理装置3へ送信した接続先紹介要求に対して、接続管理装置3からネットワーク6を介して通知される視聴用チャンネルやザッピング対策チャンネルの接続先候補の情報、すなわち接続先候補の端末装置の所在情報であるIPアドレスやポート番号などの情報(以下、接続先候補の情報を含めて、「接続先候補」と略すことがある。)を受信する機能を有する。
Further, the connection processing means responds to the connection destination introduction request transmitted to the
更に、接続処理手段は、受信した各チャンネルの接続先候補の情報に基づいて、その接続先候補への論理接続を行う機能を有する。すなわち、接続処理手段は、接続先候補の情報に基づいて、接続先候補のIPアドレス及びポート番号等をあて先とした接続要求を行い、接続先候補との論理接続を行う。このように接続先候補と接続することによって各チャンネル(視聴用チャンネル及び複数のザッピング対策チャンネル)の階層構造に組み込まれ、第1配信形態に参加することになる。 Furthermore, the connection processing means has a function of performing a logical connection to the connection destination candidate based on the received connection destination candidate information of each channel. That is, the connection processing 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, the channel is incorporated into the hierarchical structure of each channel (viewing channel and a plurality of zapping countermeasure channels) and participates in the first distribution form.
ここで、「所定の関係を有するチャンネル」は、上述したようにチャンネル選択手段によって選択されたチャンネル番号に隣接するチャンネル番号を有するチャンネルである。例えば、チャンネル番号が「1」〜「10」まであるとき、チャンネル選択手段によって選択されたチャンネル番号が「2」であるとき、前後のチャンネル番号「1」,「3」を有するチャンネルを所定の関係を有するチャンネルとすることができる。なお、視聴用チャンネルとして使用されたチャンネルの履歴を主記憶装置205に記憶しておき、「所定の関係を有するチャンネル」を、視聴用チャンネルとして使用された頻度が最も高い2つのチャンネルとするようにしてもよい。
Here, the “channel having a predetermined relationship” is a channel having a channel number adjacent to the channel number selected by the channel selection unit as described above. For example, when the channel number is from “1” to “10”, and the channel number selected by the channel selection means is “2”, the channels having the preceding and following channel numbers “1” and “3” are specified. It can be a channel having a relationship. The history of the channels used as viewing channels is stored in the
(ストリーミング受信処理手段について)
ストリーミング受信処理手段は、ネットワークインタフェース204を介して第1配信形態によって上流装置、すなわち上流に論理接続したコンテンツ配信装置1又は上流に接続された端末装置2からコンテンツパケットとして送信されるコンテンツデータをチャンネル(視聴用チャンネル及びザッピング対策チャンネル)毎にストリーミング受信し、このようにストリーミング受信したコンテンツデータをチャンネル毎にリングバッファ領域220に順次記憶する。なお、コンテンツデータ受信手段や後述のコンテンツデータ中継手段は、公知のストリーミング配信用プロトコルを用いることができるほか、独自の専用プロトコルを用いるようにすることもできる。
(About streaming reception processing means)
The streaming reception processing means channels the content data transmitted as content packets from the upstream device, that is, the
(ストリーミング再生手段について)
ストリーミング再生手段は、ネットワークインタフェース204を介して第1配信形態によって上流装置からストリーミング受信してリングバッファ領域220に順次記憶されたコンテンツデータを順次再生する機能を有している。
(About streaming playback means)
The streaming reproduction means has a function of sequentially reproducing the content data sequentially received from the upstream apparatus through the
このストリーミング再生手段は、参加している複数のチャンネルのうちチャンネル選択ボタン等によって最後に選択された最新のチャンネルに対応するコンテンツデータをリングバッファ領域から取り出して、音源チップ211やビデオチップ209を動作させることによってこの機能を実現しており、リングバッファ領域220に格納したコンテンツデータを順次取り出して、所定のコンテンツデータ形式(たとえば、Wave形式)に変換して音源チップ211やビデオチップ209へ入力し、コンテンツの再生を行う。
This streaming playback means operates the
ストリーミング再生手段によって所定のコンテンツデータ形式に変換されたコンテンツデータは、そのコンテンツデータがオーディオ情報を含む場合には、そのオーディオ情報が音源チップ211によってオーディオ信号へ変換された後、内蔵スピーカ212から出力される。
The content data converted into a predetermined content data format by the streaming reproduction means is output from the built-in
また、ストリーミング再生手段によって所定のコンテンツデータ形式に変換されたコンテンツデータは、そのコンテンツデータに映像情報が含まれるときには、後述の表示制御手段による制御によってこの映像情報が内蔵ディスプレイ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
また、ストリーミング再生手段は、リングバッファ領域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
(表示制御手段について)
表示制御手段は、ビデオチップ209及び内蔵ディスプレイ210を制御して、コンテンツデータや各種情報を表示する機能を有している。すなわち、表示制御手段は、内蔵ディスプレイ210にどのようにコンテンツの映像や各種情報を表示するかを制御することができる。
(Display control means)
The display control means has a function of controlling the
(ストリーミング中継処理手段について)
ストリーミング中継処理手段は、第1配信形態における上流装置、すなわちコンテンツ配信装置1又は上流に接続された端末装置2からネットワーク6を介してストリーミング受信されたコンテンツデータを、下流に接続された他の端末装置2へネットワーク6を介して転送する。
(About streaming relay processing means)
The streaming relay processing means is the other device connected downstream from the upstream device in the first distribution form, that is, the content data streamed via the
(識別情報リスト受信手段について)
識別情報リスト受信手段は、コンテンツ投入装置4から送信される識別情報リストを受信する機能を有している。コンテンツ投入装置4から送信される識別情報リストは、第2配信形態においてダウンロード可能なコンテンツデータの名称とコンテンツIDとが関連付けられた情報であり、自端末装置2がコンテンツ投入装置4へ識別情報リストの送信要求を行うことによって、コンテンツ投入装置4から送信されるものである。
(Identification information list receiving means)
The identification information list receiving unit has a function of receiving the identification information list transmitted from the
(ダウンロード操作検出手段について)
ダウンロード操作検出手段は、第2配信形態によるコンテンツデータのダウンロード要求の操作を検出する機能を有する。例えば、図17に示すように第2配信形態においてダウンロード可能なコンテンツデータが内蔵ディスプレイ210の所定領域24に一覧表示されている状態で、ユーザがリモコン208を操作して、ダウンロードするコンテンツデータを指定枠25により指定してダウンロードボタン26を選択したことを検出することによって、第2配信形態によるコンテンツデータのダウンロード要求の操作を検出する。なお、内蔵ディスプレイ210の所定領域24に一覧表示される情報は、識別情報リスト受信手段により取得された情報である。
(About download operation detection means)
The download operation detecting means has a function of detecting an operation of downloading content data according to the second distribution form. For example, as shown in FIG. 17, in a state where content data that can be downloaded in the second distribution form is listed in the predetermined
(リソース使用量検出手段)
リソース使用量検出手段は、第1配信形態及び第2配信形態にいずれにも用いられるリソースの使用量を検出する機能を有する。すなわち、第2配信形態に用いるリソースの使用量を検出する機能と、第1配信形態で用いられているリソースの使用量を検出する機能を有する。ここで、「リソース」とは、CPU202の処理能力、主記憶装置205におけるメモリの容量、ネットワークとの通信の帯域(以下、「通信帯域」と呼ぶ。)などがある。また、ここでは、リソースの使用量の検出を、リソースの使用率の検出によって行うようにしているが、リソースの使用量(例えば、メモリであれば使用メモリのバイト数など)自体を検出するようにしてもよい。
(Resource usage detection means)
The resource usage detection means has a function of detecting the usage of resources used in both the first distribution form and the second distribution form. That is, it has a function of detecting the amount of resources used in the second distribution form and a function of detecting the amount of resources used in the first distribution form. Here, the “resource” includes the processing capability of the
リソース使用量検出手段は、第2配信形態に用いるリソースの使用量として、第2配信形態で他の端末装置2からコンテンツデータをダウンロードするときにはそのダウンロードの処理に必要なリソースの使用量を、第2配信形態で他の端末装置2へコンテンツデータをアップロードするときにはアップロードの処理に必要なリソースの使用量を検出する機能を有している。また、リソース使用量検出手段は、第1配信形態で用いられているリソースの使用量として、チャンネル選択手段によって選択されたチャンネルである視聴用チャンネルと、このチャンネルと所定の関係を有するザッピング対策チャンネルとに参加することによる各チャンネルにおけるCPU202の使用率、メモリの使用率、通信帯域の使用率を検出する。なお、ここでは、理解を容易にするために、ザッピング対策チャンネルは2つとして説明する。
The resource usage detection means uses the resource usage required for the download process when downloading content data from another
ここで、CPU202の使用率とは、第1配信形態や第2配信形態にいずれにも用いられるCPU202がどのくらい使用されているかを示す割合であり、CPU202の最大情報処理量を母数とした割合である。例えば、第1配信形態の視聴用チャンネルにおけるCPU202の使用率とは、第1配信形態の視聴用チャンネルに参加し、コンテンツデータを受信及び中継するためにCPU202が上記各手段として機能するときのCPU202の情報処理量をCPU202の最大情報処理量で除した割合となる。なお、CPU202が第1配信形態及び第2配信形態に関する動作以外の動作を行う場合には、第1配信形態及び第2配信形態に用いることができるCPU202の情報処理量を母数としたときの割合となる。また、CPU202の使用率の演算に用いる母数として、CPU202の最大情報処理量ではなく、例えば、CPU202の最大情報処理量の50%というように最大情報処理量よりも低く抑えるようにしてもよい。このようにすることで、端末装置2においてコンテンツ配信システムSに関する処理をより安定的に行うことができる。
Here, the usage rate of the
また、主記憶装置205におけるメモリの容量とは、主記憶装置205における記憶領域のうち、第1配信形態や第2配信形態にいずれにも用いられる記憶領域の記憶容量である。この記憶領域をCPU202が使用することにより、第1配信形態の各チャンネルに参加し、コンテンツデータを受信及び中継する等の処理、或いは第2配信形態でコンテンツデータのダウンロードやアップロード等の処理を行う。ここで、第1配信形態におけるメモリの容量の使用率とは、第1配信形態及び第2配信形態で用いることができる記憶領域の全容量のうち、現実に第1配信形態において使用されている記憶容量の割合を意味し、第2配信形態におけるメモリの容量の使用率とは、第1配信形態及び第2配信形態で用いることができる記憶領域の全容量のうち、第2配信形態において使用されていると予測される記憶容量の割合を意味する。なお、第2配信形態におけるメモリの容量の使用率には、インデックステーブル222やルーティングテーブル223に用いられる記憶容量は考慮しないが、第2配信形態においてダウンロード処理及びアップロード処理を行うときにのみ第2配信形態に参加するような場合には、インデックステーブル222やルーティングテーブル223に用いられる記憶容量を考慮することもできる。
The capacity of the memory in the
また、通信帯域とは、端末装置2が他の端末装置2やコンテンツ配信装置1との間で通信することができる時間当たりの最大通信量を意味する。また、通信帯域には、上りの通信帯域(端末装置2からネットワーク6側への通信方向の通信帯域)と、下りの通信帯域(ネットワーク6側から端末装置2への通信方向の通信帯域)とがある。
The communication band means the maximum communication amount per time that the
第1配信形態で用いる通信帯域の使用率とは、上りの通信帯域については、第1配信形態における視聴用チャンネル及びザッピング対策チャンネルに関して下層に接続された端末装置2へコンテンツデータをストリーミング送信するときの単位時間当たりの通信量の割合である。また、下りの通信帯域について、第1配信形態における視聴用チャンネル及びザッピング対策チャンネルに関して上層に接続された端末装置からコンテンツデータをストリーミング受信するときの単位時間当たりの通信量の割合である。
The usage rate of the communication band used in the first distribution form refers to the case of streaming transmission of content data to the
上述のように端末装置2はルータ10を介してネットワーク6に接続されており、ルータ10に接続する通信回線が、アナログ電話回線、ISDN回線、ADSL回線、FTTH回線などの回線のうちどの回線かによって通信帯域が異なることとなる。そこで、リソース使用量検出手段は、ネットワーク6上に配置された通信帯域検出用サーバ(図示せず)を用いて、このサーバに所定容量のデータを送信し、この送信が完了するまでの時間に基づいて上りの通信帯域を検出する。また、このサーバから送信される所定容量のデータを受信し、この受信が完了するまでの時間に基づいて下りの通信帯域を検出する。なお、リソース使用量検出手段は、ルータ10に接続するための回線がどの回線種別なのかを検出することによって、通信帯域を検出するようにしてもよい。
As described above, the
また、ルータ10に接続するための通信回線が、ベストエフォート型のADSL回線、FTTH回線が接続されている場合には、状況に応じて通信帯域(「スループット」とも言う。)が変化する。そこで、リソース使用量検出手段は、通信帯域検出用のサーバとの通信を第2配信形態におけるダウンロード処理又はアップロード処理をする直前に、通信帯域検出用のサーバと通信を行うことにより、上りの通信帯域及び下りの通信帯域を検出するようにしている。このとき、リソース使用量検出手段は、第1配信形態における視聴用チャンネル及びザッピング対策チャンネルによる通信帯域の使用率を考慮して通信帯域を検出するようにしている。すなわち、視聴用チャンネル及びザッピング対策チャンネルで下流の装置に送信するコンテンツデータの時間当たりの送信量(bit/s)と、通信帯域検出用のサーバへ送信するデータの時間当たりの送信量(bit/s)とを加算することにより上りの通信帯域を検出し、視聴用チャンネル及びザッピング対策チャンネルによって上流の装置から送信されるコンテンツデータの時間当たりの受信量(bit/s)と、通信帯域検出用のサーバから送信されるデータの時間当たりの受信量(bit/s)とを加算することにより、下りの通信帯域を検出する。
Further, when the communication line for connecting to the
また、通信帯域の使用率とは、上記の如く検出した通信帯域をどのくらい使用しているかの割合であり、例えば、下りの通信帯域が2Mbit/sであり、視聴用チャンネルにおけるデータの受信量が500kbit/sであるときには、視聴用チャンネルにおける通信帯域の使用率は、25%となる。 The usage rate of the communication band is a ratio of how much the communication band detected as described above is used. For example, the downlink communication band is 2 Mbit / s, and the amount of data received in the viewing channel is When it is 500 kbit / s, the usage rate of the communication band in the viewing channel is 25%.
リソース量検出手段は、第1配信形態におけるコンテンツデータのストリーミング受信、第1配信形態におけるコンテンツデータのストリーミング中継、第2配信形態におけるダウンロード、第2配信形態におけるアップロードのそれぞれについて、各リソースの使用量或いは予測される使用量を検出する。 The resource amount detection means uses each resource for streaming reception of content data in the first distribution form, streaming relay of content data in the first distribution form, download in the second distribution form, and upload in the second distribution form. Alternatively, a predicted usage amount is detected.
ここで、視聴用チャンネル、ザッピング対策チャンネルにおけるリソースの使用量については、実際に使用されている量をモニタすることによって検出することができる。しかし、自端末装置2において第2配信形態に用いるリソースの使用状態、つまり、第2配信形態におけるダウンロード処理や第2配信形態におけるアップロード処理におけるリソースの使用量は、これらの処理を実際に行う前に検出する必要がある。つまり、第1配信形態に参加し、各チャンネルでコンテンツデータをストリーミング受信及びストリーミング中継を行っている状態で、第2配信形態においてコンテンツデータのダウンロード処理或いはアップロード処理を行ってしまうと、リソースが不足してしまうことがあり、このようにリソースが不足すると第1配信形態における各チャンネルにおけるコンテンツデータのストリーミング受信や中継に影響を及ぼすことになり、状況によっては各チャンネルとの通信が切断されてしまう恐れがある。そこで、第2配信形態においてコンテンツデータのダウンロード処理或いはアップロード処理を行うために必要なリソースがあるか否かをその処理を行う前に判定する。なお、このように第2配信形態において用いるリソースを所定期間毎に行うようにしてもよい。
Here, the usage amount of the resource in the viewing channel and the zapping countermeasure channel can be detected by monitoring the actually used amount. However, the usage state of resources used in the second distribution form in the
(リソース不足判定手段)
リソース不足判定手段は、リソース使用量検出手段による検出結果に基づいて、第2配信形態によるコンテンツデータのダウンロード又はアップロードに必要なリソースが不足しているか否かを判定する。そして、リソースが不足していると判定したときには、そのリソースの不足量を判定する。ここでは、不足量の判定を、リソースの空き率と第2配信形態に用いるリソースの使用率とに基づき、リソースの不足率を演算することによって行うようにしている。第2配信形態に用いるリソースが不足しているか否かは、自端末装置2におけるリソース全体の使用可能量を100%とし、第1配信形態に用いているリソースの使用率を100%から減算したものが第2配信形態によるコンテンツデータのダウンロード又はアップロードに必要であると予測されるリソースの使用率よりも大きいか否かにより判定される。例えば、以下の表1に示すように、ザッピング対策チャンネルとして第1ザッピング対策チャンネルと第2ザッピング対策チャンネルとがある場合であって、第1配信形態における視聴用チャンネル(視聴CH)のリソースの使用率が各40%、第1配信形態における第1ザッピング対策チャンネル(ザッピング対策CH1)のリソースの使用率が各30%、第1配信形態における第2ザッピング対策チャンネル(ザッピング対策CH2)のリソースの使用率が各20%であるとき、自端末装置2におけるリソースの空き率は各10%となる。一方で、第2配信形態によるコンテンツデータのダウンロード又はアップロードに必要であると予測されるリソースの使用率が各30%であるとすると、リソース不足判定手段は、第2配信形態に用いるリソースが不足していると判定する。
(Resource shortage determination means)
The resource shortage determination unit determines whether or not the resource necessary for downloading or uploading the content data in the second distribution form is insufficient based on the detection result by the resource usage amount detection unit. When it is determined that the resource is insufficient, the resource shortage is determined. Here, the determination of the shortage amount is performed by calculating the resource shortage rate based on the resource vacancy rate and the resource usage rate used in the second distribution form. Whether or not the resources used for the second distribution form are insufficient is determined by subtracting the usage rate of the resources used for the first distribution form from 100%, assuming that the available amount of the entire resource in the
(切断処理手段について)
切断処理手段は、ダウンロード操作検出手段によってダウンロード要求の操作が検出されたとき、又は第2配信形態に参加している他の端末装置2からのアップロード要求があったときに、リソース不足判定手段によってリソースが不足していると判定されると、接続処理手段によって接続状態にあるチャンネルのうち、自端末装置2において第2配信形態に用いるリソースの使用状態に応じて、チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する接続先候補との接続を切断する機能を有する。
(About cutting processing means)
When the download request operation is detected by the download operation detection unit, or when there is an upload request from another
例えば、第1配信形態でのリソースの使用率が上記表1に示すようにある場合、第1ザッピング対策チャンネル又は第2ザッピング対策チャンネルのいずれかの接続先装置との接続を切断することにより、第2配信形態に用いるリソースの不足を解消することができる。すなわち、第1ザッピング対策チャンネルに関する接続先装置との接続を切断することによって、リソースの空き率は各40%になり、或いは第2ザッピング対策チャンネルに関する接続先装置との接続を切断することによって、リソースの空き率は30%になるため、第2配信形態に用いるリソースの使用率30%以上となり、第2配信形態に用いるリソースの不足を解消することができる。 For example, when the resource usage rate in the first distribution form is as shown in Table 1 above, by disconnecting the connection destination device of either the first zapping countermeasure channel or the second zapping countermeasure channel, The shortage of resources used in the second distribution form can be solved. That is, by disconnecting the connection with the connection destination device related to the first zapping countermeasure channel, the resource vacancy rate becomes 40% each, or by disconnecting the connection with the connection destination device regarding the second zapping countermeasure channel, Since the resource vacancy rate is 30%, the usage rate of resources used in the second distribution form is 30% or more, and the shortage of resources used in the second distribution form can be solved.
なお、このように、第1ザッピング対策チャンネル又は第2ザッピング対策チャンネルのいずれかの接続先装置との接続を切断すればよい場合、たとえば、切断処理手段は、チャンネル選択手段による選択頻度(視聴頻度)が低い方を選択することにより、ユーザによるチャンネル切り替え時に視聴用チャンネルAの接続処理を回避する可能性を向上させることができる。また、切断処理手段は、リソースの使用率が高い方を切断する対象として選択するようにすれば、第1配信形態におけるコンテンツデータのダウンロード時又はアップロード時に装置全体でのリソース使用率を低減することができるため、より安定的にコンテンツデータの送受信処理を行うことができる。 In this way, when the connection with the connection destination device of either the first zapping countermeasure channel or the second zapping countermeasure channel is to be disconnected as described above, for example, the disconnection processing means selects the selection frequency (viewing frequency) by the channel selection means. By selecting the lower one, it is possible to improve the possibility of avoiding the connection processing of the viewing channel A when the channel is switched by the user. In addition, if the disconnection processing unit selects the one with the higher resource usage rate as the target to be disconnected, the resource usage rate of the entire apparatus is reduced when the content data is downloaded or uploaded in the first distribution form. Therefore, content data transmission / reception processing can be performed more stably.
また、第1配信形態でのリソースの使用率が下記表2に示すようにある場合、第1ザッピング対策チャンネルに関する接続先候補及び第2ザッピング対策チャンネルに関する接続先装置のいずれか一方の接続先装置との接続を切断したとしても、リソースの空き率がまだ不足することになる。しかし、第1ザッピング対策チャンネル及び第2ザッピング対策チャンネルの双方の接続先装置との接続を切断することにより、第2配信形態に用いるリソースの不足を解消することができる。すなわち、第1ザッピング対策チャンネル及び第2ザッピング対策チャンネルに関する両方の接続先装置との接続を切断することによって、リソースの空き率は60%になるため、第2配信形態に用いるリソースの使用率50%以上となり、第2配信形態に用いるリソースの不足を解消することができる。 Further, when the resource usage rate in the first distribution form is as shown in Table 2 below, either one of the connection destination candidates for the first zapping countermeasure channel and the connection destination apparatus for the second zapping countermeasure channel Even if the connection with is disconnected, the resource vacancy rate is still insufficient. However, the lack of resources used in the second distribution form can be resolved by disconnecting the connection between the first zapping countermeasure channel and the second zapping countermeasure channel with the connection destination devices. In other words, the resource vacancy rate becomes 60% by disconnecting the connection with both connection destination devices related to the first zapping countermeasure channel and the second zapping countermeasure channel. %, It is possible to solve the shortage of resources used for the second distribution form.
また、第1配信形態でのリソースの使用率が下記表3に示すようにある場合、第2ザッピング対策チャンネルに関する接続先装置との接続を切断したとしても、リソースのうち通信帯域に関して第2配信形態に用いるリソースの不足を解消することができないが、第1ザッピング対策チャンネルに関する接続先装置との接続を切断することにより、第2配信形態に用いるリソースの不足を解消することができる。すなわち、第1ザッピング対策チャンネルに関する接続先装置との接続を切断することによって、リソースの空き率は、CPUに関して35%、メモリに関して40%、通信帯域に関して45%になるため、第2配信形態に用いるリソースの使用率(CPU、メモリ、通信帯域が各30%)以上となり、第2配信形態に用いるリソースの不足を解消することができる。 Further, when the resource usage rate in the first distribution form is as shown in Table 3 below, even if the connection with the connection destination device related to the second zapping countermeasure channel is disconnected, the second distribution is performed regarding the communication band among the resources. Although the shortage of resources used in the form cannot be resolved, the shortage of resources used in the second distribution form can be solved by disconnecting the connection with the connection destination device related to the first zapping countermeasure channel. That is, by disconnecting the connection with the connection destination device related to the first zapping countermeasure channel, the resource vacancy rate becomes 35% for the CPU, 40% for the memory, and 45% for the communication band. The usage rate of the resources to be used (CPU, memory, and communication bandwidth is 30% each) or more, and the shortage of resources used in the second distribution form can be solved.
このように第2配信形態でのコンテンツデータのダウンロード処理又はアップロード処理を行うためのリソースが不足する場合には、一以上のザッピング対策チャンネルから脱退するので、通信帯域をより多く確保することができ、第2配信形態での通信を安定させることができる。 As described above, when the resource for downloading or uploading the content data in the second distribution form is insufficient, the communication withdraws from one or more zapping countermeasure channels, so that a larger communication band can be secured. Communication in the second distribution form can be stabilized.
ここで、切断処理手段は、ザッピング対策チャンネルに関する接続先装置との接続の切断を次のように行う。すなわち、接続の切断対象となるザッピング対策チャンネルのコンテンツ供給元端末である接続先装置に対してコンテンツストリーミングの停止を要求する。言い換えれば、切断対象のザッピング対策チャンネルに関し、自端末装置2と論理接続され、自端末装置2に対して第1配信形態でストリーミング配信を行っているコンテンツ配信装置1又は他の端末装置2に対して、コンテンツデータのストリーミング配信を停止するようにネットワーク6を介して要求し、切断対象のザッピング対策チャンネルのトポロジーから脱退する。また、制御部230は、同ザッピング対策チャンネルに関する下流装置がある場合には、下流装置とのセッションを切断することにより、同ザッピング対策チャンネルのトポロジーから脱退する。
Here, the disconnection processing means disconnects the connection with the connection destination apparatus regarding the zapping countermeasure channel as follows. That is, it requests the connection destination device, which is the content supply source terminal of the zapping countermeasure channel to be disconnected, to stop the content streaming. In other words, with respect to the zapping countermeasure channel to be disconnected, to the
(識別情報取得手段について)
識別情報取得手段は、ダウンロード操作検出手段によってダウンロード要求の操作が検出されたとき、ダウンロード要求されたコンテンツデータを第2配信形態で取得するために、ダウンロード要求されたコンテンツデータの識別情報であるコンテンツIDを取得する。
(About identification information acquisition means)
The identification information acquisition unit is content that is identification information of the content data requested to be downloaded in order to acquire the content data requested to be downloaded in the second distribution form when the download operation detection unit detects the download request operation. Get an ID.
ダウンロード要求されたコンテンツIDの取得は、第1配信形態においてストリーミング再生手段によって再生されるコンテンツデータに関してダウンロード要求の操作があったときに、識別情報取得手段は、識別情報リスト受信手段によって受信した識別情報リストからダウンロード要求されたコンテンツデータの識別情報であるコンテンツIDを取得することによって行う。なお、識別情報取得手段は、後述するコンテンツ識別情報演算手段によってダウンロード要求されたコンテンツデータのコンテンツIDを求めるようにしてもよい。すなわち、ダウンロード要求されたコンテンツデータの名称をキーワードとして上記ハッシュ関数によりハッシュ化することによってコンテンツIDを求めるようにしてもよい。 The acquisition of the content ID requested to be downloaded is performed when the identification information acquisition means receives the identification information received by the identification information list reception means when there is a download request operation regarding the content data reproduced by the streaming reproduction means in the first distribution form. This is performed by acquiring a content ID that is identification information of content data requested to be downloaded from the information list. 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 may be obtained by hashing with the hash function using the name of the content data requested for download as a keyword.
(判定手段)
自端末装置がコンテンツ保持端末装置として機能する場合には、コンテンツ保持端末装置として保持すべきコンテンツデータは、ハードディスク装置203のコンテンツデータ記憶領域(コンテンツデータ記憶手段の一例に相当)に記憶される。また、過去にダウンロードしたコンテンツデータも同様にハードディスク装置203のコンテンツデータ記憶領域に記憶される。判定手段は、ダウンロード要求されたコンテンツデータがハードディスク装置203のコンテンツデータ記憶領域に記憶されているか否かを判定する。この判定手段によって、ダウンロード要求されたコンテンツデータがハードディスク装置203のコンテンツデータ記憶領域に記憶されていると判定すると、切断処理手段は、接続状態にあるチャンネルの接続先装置との接続を切断せず、かつ後述するダウンロード処理手段は、第2配信形態によってコンテンツデータのダウンロードを行わない。
(Judgment means)
When the own terminal device functions as a content holding terminal device, the content data to be held as the content holding terminal device is stored in a content data storage area (corresponding to an example of content data storage means) of the
(ダウンロード処理手段について)
ダウンロード処理手段は、識別情報取得手段によって取得されたコンテンツデータの識別情報に基づいて、ダウンロード要求されたコンテンツデータを第2配信形態の端末装置からダウンロードする機能を有しており、ダウンロード先検索手段、ダウンロード送信要求手段、ダウンロードデータ受信手段などから構成されている。
(About download processing means)
The download processing means has a function of downloading the content data requested to be downloaded from the terminal device in the second distribution form based on the identification information of the content data acquired by the identification information acquisition means. , Download transmission request means, download data reception means, and the like.
ダウンロード先検索手段は、識別情報取得手段によって取得されたコンテンツデータのコンテンツIDに基づいて、ダウンロード要求されたコンテンツデータを保持するコンテンツ保持端末装置を検索する。コンテンツ保持端末装置の検索は、識別情報取得手段によって取得されたコンテンツIDを宛先識別情報としたコンテンツ検索メッセージを生成し、そのコンテンツIDと同じエリアの端末IDを持つ端末装置の所在情報をルーティングテーブル223から取り出して、その端末装置へコンテンツ検索メッセージを送信することによって行う。このコンテンツ検索メッセージに対して、識別情報取得手段によって取得されたコンテンツIDのコンテンツデータを保持するコンテンツ保持端末装置の所在情報がルート端末装置から送信される。このようにして、ダウンロード先検索手段は、ダウンロード要求されたコンテンツデータを保持するコンテンツ保持端末装置を検索する。 The download destination search unit searches for a content holding terminal device that holds the content data requested for download based on the content ID of the content data acquired by the identification information acquisition unit. The search for the content holding terminal device generates a content search message with the content ID acquired by the identification information acquisition means as the destination identification information, and stores the location information of the terminal device having the terminal ID in the same area as the content ID in the routing table The content search message is taken out from H.223 and transmitted to the terminal device. In response to this content search message, the location information of the content holding terminal device that holds the content data of the content ID acquired by the identification information acquisition means is transmitted from the root terminal device. In this way, the download destination search means searches for a content holding terminal device that holds the content data requested to be downloaded.
また、ダウンロード送信要求手段は、ダウンロード先検索手段によって検索されたコンテンツ保持端末装置に、ダウンロード要求されたコンテンツデータの送信をネットワーク6を介して要求(以下、「ダウンロード送信要求」と呼ぶ。)する。このダウンロード送信要求は、コンテンツ保持端末装置の所在情報を宛先として、ダウンロード要求に対応するコンテンツデータのコンテンツIDを設定するものである。なお、ダウンロード先検索手段によって検索されたコンテンツ保持端末装置が複数ある場合には、選択した一つのコンテンツ保持端末装置に対してダウンロード送信要求が行われる。 The download transmission request means requests the content holding terminal device searched by the download destination search 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 location information of the content holding terminal device as the destination. When there are a plurality of content holding terminal devices searched by the download destination searching means, a download transmission request is made to one selected content holding terminal device.
また、ダウンロードデータ受信手段は、ダウンロード要求されたコンテンツデータを保持するコンテンツ保持端末装置からダウンロード要求されたコンテンツデータをネットワーク6を介して受信する。コンテンツ保持端末装置から送信されるコンテンツデータは、第1配信形態のようなストリーミング形式ではなく、ダウンロード形式のデータであるが、ストリーミング形式とすることも可能である。
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
ダウンロード受信手段により受信したコンテンツデータは、制御部230によって、ハードディスク装置203のコンテンツデータ記憶領域に記憶される。
The content data received by the download receiving means is stored in the content data storage area of the
(アップロード処理手段について)
アップロード処理手段は、第2配信形態に参加している他の端末装置2から第2配信形態でのダウンロード要求があると、このダウンロード要求に対応するコンテンツデータをコンテンツデータ記憶手段から取り出して、ダウンロード要求を行った他の端末装置2へ送信する機能を有する。
(About upload processing means)
When there is a download request in the second distribution form from another
(再接続処理手段について)
再接続処理手段は、ダウンロード要求したコンテンツデータのダウンロード処理手段での受信が完了したとき、或いはダウンロード要求されたコンテンツデータのアップロード処理手段での送信が完了したときに、切断処理手段によって切断したザッピング対策チャンネルがある場合、このザッピング対策チャンネルに関する接続先紹介要求を接続管理装置3へ送信し、その後、接続管理装置3から通知された接続先候補に再接続する機能を有する。
(About reconnection processing means)
The reconnection processing unit is configured to perform zapping that has been disconnected by the disconnection processing unit when the download processing unit completes reception of the content data requested for download or when transmission of the content data requested for download by the upload processing unit is completed. When there is a countermeasure channel, it has a function of transmitting a connection destination introduction request regarding this zapping countermeasure channel to the
なお、この再接続処理手段において、ダウンロード処理手段でのダウンロード処理やアップロード処理手段でのアップロード処理が完了して所定期間経過後に、切断処理手段によって切断したザッピング対策チャンネルに再接続するようにしてもよい。また、この所定期間を端末装置2における第2配信形態の利用状況に応じて変更するようにしてもよい。例えば、第2配信形態の連続利用時間の履歴をハードディスク装置203に記憶しておき、連続利用時間の平均時間に応じて前記所定期間を定めるようにすることができる。このようにすれば、切断処理手段によるチャンネルの切断と再接続処理手段によるチャンネルの再接続を頻繁に行なうような状態を低減することができ、その結果、第1配信形態における各階層構造に対する負荷を低減することが可能となる。
In this reconnection processing means, after the download processing by the download processing means and the upload processing by the upload processing means are completed and a predetermined period has elapsed, the reconnection processing means may be reconnected to the zapping countermeasure channel disconnected by the disconnection processing means. Good. The predetermined period may be changed according to the usage status of the second distribution form in the
(メッセージ宛先判定手段について)
メッセージ宛先判定手段は、ネットワーク6を介して受信したメッセージの宛先識別情報とルーティングテーブルとに基づいて、受信したメッセージが自端末装置2宛であるか否かを判定する。このメッセージ宛先判定手段が判定するメッセージは、上述のコンテンツ検索メッセージ、コンテンツ登録メッセージなどである。
(About message destination determination means)
The message destination determination means determines whether or not the received message is addressed to the own
受信したメッセージが自端末装置2宛であるか否かの判定は、メッセージに含まれる宛先端末ID(宛先識別情報)を取り出し、主記憶装置205に記憶したルーティングテーブルに基づいて判定する。すなわち、各種のメッセージをネットワークインタフェース204を介して受信したとき、メッセージ宛先判定手段は、受信したメッセージに含まれる宛先識別情報とルーティングテーブル223に記憶した端末IDとを比較し、メッセージに含まれる宛先識別情報と一番近いルーティングテーブル223上の端末IDが自端末装置2の端末IDであると判定すると、自端末装置2宛のメッセージであると判定する。
Whether or not the received message is addressed to the own
(コンテンツ保持端末装置情報選択手段について)
コンテンツ保持端末装置情報選択手段は、メッセージ宛先判定手段によりネットワーク6を介して受信したメッセージが自端末装置2宛であり、かつコンテンツ検索メッセージであると判定すると、インデックステーブル222からコンテンツ検索メッセージが対象とするコンテンツIDのコンテンツデータを保持するコンテンツ保持端末装置の所在情報を選択する。なお、インデックステーブル222にコンテンツ保持端末装置の所在情報が複数ある場合には、それらを全部或いはいくつか選択する。
(About content holding terminal device information selection means)
When the content holding terminal device information selection unit determines that the message received via the
(コンテンツ保持端末装置情報返信手段について)
コンテンツ保持端末装置情報返信手段は、コンテンツ保持端末装置情報選択手段によって選択されたコンテンツ保持端末装置の所在情報を、リクエスト端末装置へネットワーク6を介して返信する。
(About content holding terminal device information return means)
The content holding terminal device information return means returns the location information of the content holding terminal device selected by the content holding terminal device information selection means to the request terminal device via the
(コンテンツ識別情報演算手段について)
コンテンツ識別情報演算手段は、コンテンツデータの固有情報を上記の如く所定のハッシュ関数によって演算することによってコンテンツデータの識別情報であるコンテンツ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 content data is received from the
(コンテンツ登録メッセージ送信処理手段について)
コンテンツ登録メッセージ送信処理手段は、コンテンツ登録メッセージ生成手段によって生成したコンテンツ登録メッセージを、ハードディスク装置203に記憶したコンテンツデータのコンテンツIDに基づいて、ルーティングテーブル223に記憶された端末装置の識別情報から送信先端末装置を選択して送信する。例えば、図9に示すようなルーティングテーブルを有しており、かつハードディスク装置203に記憶したコンテンツデータのコンテンツIDが「1231」である場合、コンテンツ登録メッセージ送信処理手段は、ルーティングテーブルから端末ID「1221」を送信先端末装置として選択し、当該端末ID「1221」の端末装置のIPアドレス「21.13.21.13」を取り出す。そして、当該IPアドレス「21.13.21.13」を送信先端末装置としてコンテンツ登録メッセージを送信する。なお、このコンテンツ登録メッセージの宛先識別情報は「1231」となる。
(About content registration message transmission processing means)
The content registration message transmission processing means transmits the content registration message generated by the content registration message generation means from the identification information of the terminal device stored in the routing table 223 based on the content ID of the content data stored in the
(メッセージ転送処理手段について)
メッセージ転送処理手段は、メッセージ宛先判定手段によりネットワーク6を介して受信したメッセージが自端末装置宛ではないと判定されると、受信したメッセージの宛先識別情報に基づいて、転送先の端末装置の所在情報をルーティングテーブル223から取り出し、転送先の端末装置へ受信したメッセージを転送する。
(About message transfer processing means)
If the message destination determination means determines that the message received via the
(デコード手段について)
デコード手段は、他の端末装置2から送信されるコンテンツデータ等を内蔵ディスプレイ210に表示し、内蔵スピーカ212から出力するためにデコードする。すなわち、他の端末装置2から送信されるコンテンツデータは、ストリーミング配信用のデータ形式、例えばASF、WMA、WMV等のデータ形式でエンコードされており、このようにエンコードされているコンテンツデータを内蔵ディスプレイ210や内蔵スピーカ212から出力できるようにデコードする。
(Decoding means)
The decoding means displays the content data transmitted from the other
(コンテンツ再生手段について)
コンテンツ再生手段は、ハードディスク装置203に記憶したコンテンツデータを取り出して再生するものであり、このとき制御部230は、ストリーミング制御プログラム215に基づいてビデオチップ209及び音源チップ211を動作させることによりコンテンツデータが再生される。
(About content playback means)
The content reproduction means retrieves and reproduces the content data stored in the
[3.端末装置2の処理フロー]
以下、コンテンツ配信システムSにおける端末装置2の動作の一例について、図18のフローチャートを参照して説明する。図18は端末装置2における処理を示すフローチャートである。なお、以下の各処理は、端末装置2の制御部230が上述した手段等として機能することによって実行されるものである。
[3. Processing flow of terminal device 2]
Hereinafter, an example of the operation of the
端末装置2の電源がONになったとき、或いは端末装置2における図示しないリセットボタンが押下されたとき、図18に示すように、初期化処理を行う。この初期化処理は、端末装置2のCPU202は、主記憶装置205やハードディスク装置203のアクセス許可、作業領域確保を初期化等の初期設定動作を実行し、各プログラム215〜219,221をCPU202による実行状態とし、制御部230としての機能を動作させた後(ステップS100)、ステップS101に処理を移す。
When the
ステップS101において、制御部230は、第2配信形態への参加処理を行う。この参加処理は、図10において説明したように、要求に応じてコンタクト先紹介装置5から所在情報が送信されたコンタクト先端末装置に対して参加メッセージを送信する。その後、参加メッセージを受信した端末装置2から送信されるルーティングテーブルの各レベルの情報を上位レベルの情報から順に取得し、第2配信形態に参加するために必要なルーティングテーブルを生成することによって、第2配信形態に参加し、処理をステップS102へ移行する。
In step S101, the
また、制御部230は、コンテンツ投入装置4から識別情報リストを取得する。この識別情報リストの取得は、制御部230がコンテンツ投入装置4に対して、識別情報リストを要求し、当該要求に対して送信される識別情報リストを受信することによって行う。この識別情報リストは、上述のように第2配信形態において取得可能な複数のコンテンツデータの名称等とコンテンツIDとが関連付けられた情報であり、制御部230がこの識別情報リストを取得し、内蔵ディスプレイ210に表示した状態で、端末装置2のユーザがリモコン208等の操作により、第2配信形態でのコンテンツデータの取得を行うことができるようにしている。
In addition, the
ステップS102において、制御部230は、自端末装置2の通信帯域の検出処理を行う。この通信帯域の検出処理は、上述のように、ネットワーク6上に配置された通信帯域検出用サーバ(図示せず)を用いて、このサーバに所定容量のデータを送受信することにより行われるものであり、上りの通信帯域と下りの通信帯域とをそれぞれが検出される。
In step S <b> 102, the
次に、制御部230は、ステップS103において、視聴用チャンネルへの参加処理を行う。制御部230は、チャンネル選択手段であるリモコン208のチャンネル選択ボタンのユーザによる操作によって選択されたチャンネルに関する接続先紹介要求を接続管理装置3へ送信し、その後、接続管理装置3から通知された接続先候補に接続して、処理をステップS104に移行する。
Next, in step S103, the
なお、制御部230をチャンネル選択手段として機能させるようにしてもよい。例えば、端末装置2の電源OFF時直前に視聴しているチャンネル(以下、「最終視聴用チャンネル」と呼ぶ。)を制御部230によってハードディスク装置203に記憶し、このように記憶した最終視聴用チャンネルを制御部230がチャンネル選択手段として選択するように機能するように構成してもよい。
Note that the
ステップS104において、制御部230は、チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルであるザッピング対策チャンネルに関する接続先紹介要求を接続管理装置3へ送信し、その後、接続管理装置3からそれぞれ通知された接続先候補に接続して処理をステップS105に移行する。
In step S104, the
このように、ステップS103及ステップS104においては、チャンネル選択手段によって選択されたチャンネルを視聴用チャンネルとしてその接続先候補を接続管理装置3へ要求すると共に、ザッピング対策チャンネルとして、この視聴用チャンネルと所定関係を有するチャンネルに関する接続先候補を接続管理装置3へ要求するようにしている。この接続先候補の要求に対して接続管理装置3からはチャンネル毎に複数の接続先候補が送信されるため、制御部230は、この複数の接続先候補から一の接続先候補をチャンネル毎に選択し、この接続先候補に対してそれぞれ接続を要求することによって、視聴用チャンネル及びザッピング対策チャンネルに関する接続先候補に接続することになる。例えば、視聴用チャンネルと所定関係を有するチャンネルを、視聴チャンネルの番号の±1の番号を有するチャンネルとした場合において、全チャンネルがch1〜ch10である場合には、チャンネル選択手段によって選択されたチャンネルがch1であれば接続先候補を要求するチャンネルは、ch1のほか、ch2(ch1+1),ch10(ch1−1)となる。
As described above, in steps S103 and S104, the channel selected by the channel selection means is used as a viewing channel, and the connection destination candidate is requested to the
ここで、視聴用チャンネルやザッピング対策チャンネルに関する接続先候補に接続すると、接続した上流装置からコンテンツパケットが送信されてくる。制御部230は、ネットワークインタフェース204を介して、上流の接続先装置から送信されるコンテンツパケットを受信し、このコンテンツパケットからコンテンツデータを取り出してリングバッファ領域220に記憶し、下流側の端末装置2がある場合には、更にそのコンテンツデータを取り出してコンテンツパケットとして下流側の端末装置2へ転送する。
Here, when a connection destination candidate related to a viewing channel or a zapping countermeasure channel is connected, a content packet is transmitted from the connected upstream device. The
また、制御部230は、上流装置から受信したコンテンツパケットが選択チャンネルのコンテンツパケットであるか否かを判定する。選択チャンネルのコンテンツパケットであるか否かは、制御部230がネットワーク6を介して上流装置から受信したコンテンツパケットのヘッダ部に基づいて判定する。すなわち、制御部230は、コンテンツパケットのヘッダ部に含まれるチャンネル情報が、選択チャンネルであるか否かにより判定するのである。
In addition, the
制御部230は、上流装置から受信したコンテンツパケットが選択したチャンネル(視聴用チャンネル)のコンテンツパケットであると判定すると、制御部230は、リングバッファ領域220に記憶したコンテンツデータを取得して再生する。コンテンツパケットの再生は、音源チップ211やビデオチップ209を動作させることによってこの機能を実現しており、リングバッファ領域220に格納したコンテンツデータのうち再生時刻となったコンテンツパケットを順次取り出して、所定のコンテンツデータ形式(たとえば、Wave形式)に変換して音源チップ211やビデオチップ209へ入力し、コンテンツの再生を行う。
When the
ステップS105において、制御部230は、第2配信形態でのダウンロード処理を開始する契機となったか否かを判定する。すなわち、制御部230は、第2配信形態におけるダウンロード処理を行う必要があるか否かを判定する。制御部230は、第2配信形態によるコンテンツデータのダウンロード要求の操作を検出したときに、第2配信形態におけるダウンロード処理を行う必要があると判定する。また、制御部230は、ユーザからのダウンロード要求があったと判定したコンテンツデータに関するコンテンツIDをコンテンツ投入装置4から取得した識別情報リストから取得する。
In step S105, the
この処理において、第2配信形態でのダウンロード処理を開始する契機となったと判定すると(ステップS105:YES)、制御部230は、自端末装置2において第1配信形態及び第2配信形態に用いられるリソースの空き状態を検出する(ステップS106)。すなわち、第1配信形態及び第2配信形態に用いられるリソースに関して、第1配信形態において視聴用チャンネル及びザッピング対策チャンネルに関する処理での使用率を検出することにより、第1配信形態に用いられる使用率を求め、第2配信形態でのダウンロード処理での使用率を予測することにより、第2配信形態に用いられる使用率を求める。そして、これらの使用率を加算して、第1配信形態及び第2配信形態に用いられるリソースの使用率を求めて、リソースの空き率を検出して、処理をステップS107に移行する。なお、リソースのうち通信帯域に関しては上りの通信帯域を検出することになる。また、第2配信形態でのダウンロード処理での使用率は、ダウンロードするコンテンツデータの種類やサイズなどから求める。
In this process, when it is determined that the trigger for starting the download process in the second distribution form is made (step S105: YES), the
ステップS107において、制御部230は、リソースの空きがあるか否かを判定する。リソースの空きがあるか否かは、第2配信形態でのコンテンツデータのダウンロード処理を行うためのリソースが確保できるか否かにより判定される。すなわち、ステップS106で検出したリソースの空き率が0未満になっているときには、リソースに空きがないと判定し、ステップS106で検出したリソースの空き率がある場合には、リソースに空きがあると判定する。この処理において、制御部230は、リソースに空きがないと判定すると(ステップS107:NO)、処理をステップS108に移行する。また、制御部230は、ダウンロード要求があったコンテンツデータがハードディスク装置203のコンテンツデータ記憶領域に記憶されていると判定した場合には、処理をステップS108ではなく、ステップS109に移行する。
In step S107, the
ステップS108において、制御部230は、第2配信形態に用いられるリソースの使用状態、すなわち第1配信形態で用いられているリソースの使用率に応じて、ザッピング対策チャンネルのうち、1以上のザッピング対策チャンネルに関する接続先装置との接続を切断して、第2配信形態でのコンテンツデータのダウンロード処理を行うためのリソースを確保する。
In step S108, the
一方、リソースに空きがあると判定すると(ステップS107:YES)、ザッピング対策チャンネルに関する接続先装置との接続を維持したまま、処理をステップS109に移行する。 On the other hand, if it is determined that there is an available resource (step S107: YES), the process proceeds to step S109 while maintaining the connection with the connection destination device related to the zapping countermeasure channel.
ステップS109において、制御部230は、ダウンロード機能の使用処理を行う。この処理において、制御部230は、まずユーザからのダウンロード要求があったと判定したコンテンツデータに関するコンテンツIDをコンテンツ投入装置4から取得した識別情報リストから取得する。
In step S109, the
次に、制御部230は、インデックステーブル222にコンテンツIDが存在するか否かを判定する。この処理において、インデックステーブル222にコンテンツIDが存在すると判定されると、制御部230は、インデックステーブル222からコンテンツ保持端末装置の所在情報を取得する。一方、インデックステーブル222にコンテンツIDが存在しないと判定されると、制御部230は、ルーティングテーブル223に基づいて、ネットワーク6を介して検索メッセージを他の端末装置2へ転送し、この検索メッセージに対して他の端末装置から送信されるコンテンツ保持端末装置の所在情報を取得する。
Next, the
その後、制御部230は、取得したコンテンツ保持端末装置の所在情報宛に、コンテンツ送信要求を送信する。すなわち、制御部230は、コンテンツ保持端末装置に対してダウンロード送信要求を行う。制御部230は、このダウンロード送信要求に対してコンテンツ保持端末装置から送信されるコンテンツデータを受信し、ハードディスク装置203のコンテンツデータ記憶領域に記憶することによって、ダウンロード機能の使用処理を終了し(ステップS110)、処理をステップS111に移行する。
Thereafter, the
ステップS111において、制御部230は、ステップS105で接続を切断したザッピング対策チャンネルに関する接続の復帰処理を行う。この復帰処理は、ザッピング対策チャンネルに関する接続先候補を接続管理装置3へ要求し、この接続先候補の要求に対して接続管理装置3から送信される接続先候補に対して接続を要求することによって行われる。
In step S111, the
また、ステップS105において、第2配信形態でのダウンロード処理を開始する契機となっていないと判定すると(ステップS105:NO)、制御部230は、第2配信形態でのアップロード処理が開始される契機となったか否かを判定する(ステップS113)。すなわち、制御部230は、第2配信形態におけるアップロード処理を行う必要があるか否かを判定する。制御部230は、第2配信形態に参加している他の端末装置2からコンテンツデータのダウンロード要求を受信したときに、第2配信形態におけるアップロード処理を行う必要があると判定する。
If it is determined in step S105 that it is not an opportunity to start the download process in the second distribution form (step S105: NO), the
この処理において、第2配信形態でのアップロード処理を開始する契機でないと判定すると(ステップS112:NO)、その他のデータを受信又はその他のユーザの指示を受けたか否かを判断する(ステップS119)。そして、その他のデータを受信又はユーザの指示を受けたと判断すると(ステップS119:YES)、制御部230は、そのデータ又は指示に応じた処理を行う(ステップS120)。
In this process, if it is determined that it is not an opportunity to start the upload process in the second distribution form (step S112: NO), it is determined whether other data has been received or other user instructions have been received (step S119). . If it is determined that other data has been received or a user instruction has been received (step S119: YES), the
また、ステップS112において、第2配信形態でのアップロード処理を開始する契機となったと判定すると(ステップS112:YES)、制御部230は、自端末装置2において第1配信形態及び第2配信形態に用いられるリソースの空き状態を検出する(ステップS112)。このときの処理は、基本的にステップS106の処理と同様であるが、リソースのうち通信帯域に関しては下りの通信帯域を検出することになる。
Further, when it is determined in step S112 that the trigger for starting the upload process in the second distribution form is started (step S112: YES), the
ステップS114において、制御部230は、リソースの空きがあるか否かを判定する。リソースの空きがあるか否かは、第2配信形態でのコンテンツデータのアップロード処理を行うためのリソースが確保できるか否かにより判定される。このときの処理は、基本的にステップS107の処理と同様であるが、リソースのうち通信帯域に関しては下りの通信帯域である。この処理において、制御部230は、リソースに空きがないと判定すると(ステップS114:NO)、処理をステップS115に移行する。
In step S114, the
ステップS115において、制御部230は、第2配信形態に用いる必要があるリソースの使用状態、すなわち第2配信形態に用いられるリソースの使用状態に応じて、ザッピング対策チャンネルのうち、1以上のザッピング対策チャンネルに関する接続先装置との接続を切断して、第2配信形態でのコンテンツデータのアップロード処理を行うためのリソースを確保する。
In step S115, the
一方、リソースに空きがあると判定すると(ステップS114:YES)、ザッピング対策チャンネルに関する接続先装置との接続を維持したまま、処理をステップS116に移行する。 On the other hand, if it is determined that there is an available resource (step S114: YES), the process proceeds to step S116 while maintaining the connection with the connection destination device regarding the zapping countermeasure channel.
ステップS116において、制御部230は、アップロード機能の使用処理を行う。この処理において、制御部230は、他の端末装置2からダウンロード要求があったコンテンツデータをハードディスク装置203のコンテンツデータ記憶領域から取り出して、ダウンロード要求を行った他の端末装置2に送信することによってアップロード処理を行い、このアップロード処理が終了する(ステップS117)と、アップロード機能の使用処理を終了し、処理をステップS118に移行する。
In step S116, the
ステップS118において、制御部230は、ステップS115で接続を切断したザッピング対策チャンネルに関する接続の復帰処理を行う。この復帰処理は、ステップS111と同様に、ザッピング対策チャンネルに関する接続先候補を接続管理装置3へ要求し、この接続先候補の要求に対して接続管理装置3から送信される接続先候補に対して接続を要求することによって行われる。
In step S118, the
ステップS111、ステップS118又はステップS120の処理が終了したとき、ステップS119において、他のデータを受信又はユーザの指示を受けていないと判断したとき(ステップS119:NO)、制御部230は、自端末装置2の電源がOFFとなっているか否かを判定する(ステップS121)。この処理において、自端末装置2の電源がOFFとなっていると判定すると(ステップS121:YES)、制御部230は、処理を終了する。一方、自端末装置2の電源がOFFとなっていないと判定すると(ステップS121:NO)、制御部230は、処理をステップS105に戻して、ステップS105〜S121までの処理を繰り返す。
When the processing of step S111, step S118, or step S120 ends, when it is determined in step S119 that no other data has been received or the user's instruction has been received (step S119: NO), the
以上のように、本実施形態の端末装置2によれば、第1配信形態であるツリー型階層構造による放送形態でコンテンツデータを視聴する際に、ザッピング対策用として視聴するチャンネルと一定の関係を有するチャンネルの階層構造に参加し、その後、グリッド型接続などの第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、第2配信形態に用いるリソースの使用状態に応じて、ザッピング対策チャンネルの階層構造から自動で脱退し、第2配信形態でのコンテンツ購入処理が終了したら自動でザッピング対策チャンネルの階層構造に自動的に再接続(再参加)するようにしているので、リソースが限られている端末装置であっても、ザッピング対策を施しつつ、第1配信形態と第2配信形態とを両立することができるコンテンツ配信システム又はその端末装置を提供することができる。
As described above, according to the
なお、本実施形態における端末装置2では、リソースとして、CPUの処理能力、メモリの容量及び通信帯域の全てについて、使用状態を検出するようにしたが、これに限られず、これらのうち一つ又は2つを検出するリソースとするようにしてもよい。また、リソースとして、CPUの処理能力、メモリの容量及び通信帯域を例示的に示したが、これに限られない。
In the
[4.変形例1]
上記実施形態においては、ルート端末装置がリクエスト端末装置に対してコンテンツデータの所在情報を送信し、リクエスト端末装置がコンテンツ保持端末装置から、そのコンテンツデータをダウンロードして取得するものであったが、ルート端末装置がコンテンツ保持端末装置に対して、リクエスト端末装置へのコンテンツデータの送信を要求するようにしてもよい。
[4. Modification 1]
In the above embodiment, the root terminal device transmits the location information of the content data to the request terminal device, and the request terminal device downloads and acquires the content data from the content holding terminal device. The root terminal device may request the content holding terminal device to transmit content data to the requesting terminal device.
この場合、図19に示すように、ルート端末装置2Zは、リクエスト端末装置2Xから要求されたコンテンツデータを保持するコンテンツ保持端末装置2Yの所在情報をインデックステーブル222から取り出す。そして、当該コンテンツ保持端末装置2Yの所在情報に基づいて、リクエスト端末装置2Xの所在情報を含めたコンテンツデータの送信要求をコンテンツ保持端末装置2Yへ送信する。コンテンツ保持端末装置2Yは、コンテンツデータの送信要求を受信すると、このコンテンツデータの送信要求に含まれるリクエスト端末装置2Xの所在情報に対して、コンテンツデータの送信要求に対応するコンテンツデータを送信することになる。
In this case, as illustrated in FIG. 19, the
すなわち、端末装置2の制御部230は、リクエスト端末装置2Xからコンテンツ検索メッセージをルート端末装置2Zとして受信したとき、コンテンツ保持端末装置情報返信手段の機能に代えて、コンテンツ保持端末装置情報選択手段によって選択されたコンテンツ保持端末装置2Yの所在情報を宛先として、リクエスト端末装置2Xの所在情報を含めたコンテンツデータの送信要求を送信するコンテンツデータ送信要求手段として機能する。
That is, when receiving the content search message from the
なお、リクエスト端末装置2Xは、ダウンロード先検索手段によってコンテンツ検索メッセージを送信し、ダウンロードデータ受信手段は、このコンテンツ検索メッセージに応じたコンテンツデータをコンテンツ保持端末装置2Yから受信する。
The
このようにルート端末装置がコンテンツ保持端末装置に対して、リクエスト端末装置へのコンテンツデータの送信を要求するように第2配信形態を構成することも可能である。 In this way, the second distribution form can be configured such that the root terminal device requests the content holding terminal device to transmit the content data to the request terminal device.
[5.その他の変形例]
また、第2配信形態として、Pastry型のコンテンツ配信システムを例にして説明したが、これに限られず、メッセージの転送方法が異なるkademlia型、chord型、Viceroy型、CAN型などのコンテンツ配信システムにも本発明を適用可能である。
[5. Other variations]
In addition, the past delivery type content delivery system has been described as an example of the second delivery form, but the present invention is not limited to this, and the present invention is not limited to this, but can be applied to content delivery systems such as kademlia type, chord type, Viceroy type, and CAN type that have different message transfer methods. The present invention is also applicable.
S コンテンツ配信システム
1 コンテンツ配信装置
2 端末装置
3 接続管理装置
4 コンテンツ投入装置
5 コンタクト先紹介装置
6 ネットワーク
230 制御部
S
Claims (10)
前記コンテンツ配信装置は、
前記ネットワークを介して前記コンテンツデータをストリーミング配信する配信手段を備え、
前記接続管理装置は、
前記チャンネル毎に前記階層構造を構成する前記端末装置の接続状態情報を記憶する接続状態情報記憶手段と、
前記ネットワークを介して前記端末装置から接続先紹介要求を受信したとき、前記接続状態情報記憶手段に記憶された前記接続状態情報から接続先候補を選択する接続先候補選択手段と
前記接続先候補選択手段によって選択された前記接続先候補を、前記接続先紹介要求を送信した前記端末装置へ前記ネットワークを介して通知する通知手段と、を備え、
前記端末装置は、
前記チャンネルを選択するためのチャンネル選択手段と、
前記チャンネル選択手段によって選択されたチャンネルに関する前記接続先紹介要求と当該チャンネルと所定の関係を有するチャンネルに関する前記接続先紹介要求とを前記接続管理装置へ送信し、その後、前記接続管理装置から前記チャンネル毎に通知された前記接続先候補にそれぞれ接続して複数のチャンネルで前記第1配信形態に参加する接続処理手段と、
前記第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、前記第2配信形態に用いるリソースの使用状態に応じて、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する接続先装置との接続を切断する切断処理手段と、
を備えるコンテンツ配信システム。 The content distribution device is managed by a connection management device such that a plurality of terminal devices are logically connected in a hierarchical structure in a hierarchical structure for each channel on the network with the content distribution device streaming the content data through a plurality of channels, respectively. A first distribution form in which the content data transmitted from a device is stream-distributed sequentially from the upstream terminal device of the hierarchical structure to the downstream terminal device for each channel by the relay function of the terminal device; and the plurality of terminal devices A content delivery system having a second delivery form in which another terminal device that holds the content data delivers the content data based on a content data download request from one terminal device,
The content distribution device includes:
A delivery means for streaming delivery of the content data via the network;
The connection management device includes:
Connection state information storage means for storing connection state information of the terminal device constituting the hierarchical structure for each channel;
A connection destination candidate selection unit that selects a connection destination candidate from the connection state information stored in the connection state information storage unit when a connection destination introduction request is received from the terminal device via the network; and the connection destination candidate selection Notifying means for notifying the connection destination candidate selected by means to the terminal device that has transmitted the connection destination introduction request via the network;
The terminal device
Channel selection means for selecting the channel;
The connection destination introduction request for the channel selected by the channel selection means and the connection destination introduction request for a channel having a predetermined relationship with the channel are transmitted to the connection management device, and then the connection management device transmits the channel. Connection processing means for connecting to each of the connection destination candidates notified each time and joining the first distribution mode through a plurality of channels;
Connection for a channel having a predetermined relationship with the channel selected by the channel selection unit according to the use state of the resource used in the second distribution mode when downloading or uploading the content data according to the second distribution mode Disconnection processing means for disconnecting the connection with the destination device;
A content distribution system comprising:
前記端末装置は、
前記チャンネルを選択するためのチャンネル選択手段と、
前記チャンネル選択手段によって選択されたチャンネルに関する接続先紹介要求と当該チャンネルと所定の関係を有するチャンネルに関する前記接続先紹介要求とを前記接続管理装置へ送信し、その後、前記接続管理装置から前記チャンネル毎に通知された前記接続先候補にそれぞれ接続して複数のチャンネルで前記第1配信形態に参加する接続処理手段と、
前記第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、前記第2配信形態に用いるリソースの使用状態に応じて、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する接続先装置との接続を切断する切断処理手段と、
を備える端末装置。 The content distribution device is managed by a connection management device so that a plurality of terminal devices are logically connected in multiple layers in a hierarchical structure for each channel on the network, with the content distribution device streaming the content data through a plurality of channels, respectively. A first distribution form in which the content data transmitted from a device is sequentially stream-distributed from the upstream terminal device of the hierarchical structure to the downstream terminal device for each channel by the relay function of the terminal device; and the plurality of terminal devices The terminal device in the content distribution system has a second distribution form in which another terminal device that holds the content data distributes the content data based on a content data download request from one terminal device. And
The terminal device
Channel selection means for selecting the channel;
The connection destination introduction request for the channel selected by the channel selection means and the connection destination introduction request for a channel having a predetermined relationship with the channel are transmitted to the connection management device, and then, for each channel from the connection management device. A connection processing means for connecting to each of the connection destination candidates notified to and joining the first distribution mode through a plurality of channels;
Connection for a channel having a predetermined relationship with the channel selected by the channel selection unit according to the use state of the resource used in the second distribution mode when downloading or uploading the content data according to the second distribution mode Disconnection processing means for disconnecting the connection with the destination device;
A terminal device comprising:
前記第2配信形態に用いるリソースの使用量を検出するリソース使用量検出手段と、
前記リソース使用量検出手段による検出結果に基づいて、前記第2配信形態によるコンテンツデータのダウンロード又はアップロードに必要なリソースが不足しているか否かを判定するリソース不足判定手段と、
前記切断処理手段は、前記リソース不足判定手段によって前記リソースが不足していると判定されたとき、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルに関する接続先装置との接続を切断する
ことを特徴とする請求項2に記載の端末装置。 The terminal device
Resource usage detection means for detecting the usage of resources used in the second distribution mode;
Based on the detection result by the resource usage detection means, a resource shortage determination means for determining whether or not the resources necessary for downloading or uploading the content data according to the second distribution form are insufficient;
The disconnection processing unit disconnects a connection with a connection destination device related to a channel having a predetermined relationship with the channel selected by the channel selection unit when the resource shortage determination unit determines that the resource is insufficient. The terminal device according to claim 2, wherein:
前記切断処理手段は、前記チャンネル選択手段によって選択されたチャンネルと所定の関係を有するチャンネルが複数あるときに、これらのチャンネルのうち、前記リソースの不足量に応じた数のチャンネルに関する前記接続先装置との接続を切断する
ことを特徴とする請求項3に記載の端末装置。 The resource shortage determination means determines the resource shortage when the resource is short,
When there are a plurality of channels having a predetermined relationship with the channel selected by the channel selection unit, the disconnection processing unit relates to the connection destination device regarding the number of channels corresponding to the resource shortage among these channels. The terminal device according to claim 3, wherein the terminal device is disconnected.
ことを特徴とする請求項3又は請求項4に記載の端末装置。 When the resource shortage determining unit determines that the resource is not insufficient, the disconnection processing unit is configured to connect the channel selected by the channel selection unit with the connection destination device for a channel having a predetermined relationship. The terminal device according to claim 3 or 4, wherein cutting is not performed.
前記コンテンツデータを記憶するコンテンツデータ記憶手段と、
前記第2配信形態によるコンテンツデータのダウンロード要求の操作を検出するダウンロード操作検出手段と、
前記ダウンロード要求されたコンテンツデータが前記コンテンツデータ記憶手段に記憶されているか否かを判定する判定手段を有し、
前記判定手段によって、前記ダウンロード要求されたコンテンツデータが前記コンテンツデータ記憶手段に記憶されていると判定すると、前記接続状態にあるチャンネルの前記接続先候補との接続を前記切断処理手段によって切断せず、前記第2配信形態によって前記コンテンツデータのダウンロードを行わない
ことを特徴とする請求項2から5のいずれか1項に記載の端末装置。 The terminal device
Content data storage means for storing the content data;
Download operation detection means for detecting an operation of a download request for content data according to the second distribution form;
Determining means for determining whether or not the content data requested to be downloaded is stored in the content data storage means;
If the determination means determines that the content data requested to be downloaded is stored in the content data storage means, the disconnection processing means does not disconnect the connection destination candidate of the channel in the connected state. The terminal device according to any one of claims 2 to 5, wherein the content data is not downloaded according to the second distribution form.
ことを特徴とする請求項2から6いずれか1項に記載の端末装置。 The said resource is at least any one of the processing capacity of CPU in the said terminal device, the capacity | capacitance of a memory, and the zone | band of the communication with the said network. Terminal equipment.
前記配信装置が、前記コンテンツデータをストリーミング配信するステップと、
前記接続管理装置が、前記階層構造を構成する前記端末装置の接続状態情報を接続状態情報記憶手段に記憶するステップと、
前記端末装置が、前記チャンネルを選択するためのチャンネル選択手段によって選択されたチャンネルに関する接続先紹介要求と当該チャンネルと所定の関係を有するチャンネルに関する前記接続先紹介要求とを前記ネットワークを介して前記接続管理装置に送信するステップと、
前記接続管理装置が、前記ネットワークを介して前記端末装置から前記接続先紹介要求を受信したとき、前記接続先紹介要求毎に、前記接続状態情報記憶手段に記憶された前記接続状態情報から接続先候補を選択するステップと、
前記接続管理装置が、前記接続先紹介要求毎に、前記選択した接続先候補を、前記接続先紹介要求を送信した前記端末装置へ前記ネットワークを介して通知するステップと、
前記端末装置が、前記接続管理装置から通知された前記チャンネル毎の前記接続先候補にそれぞれ接続して複数のチャンネルで前記第1配信形態に参加するステップと、
前記端末装置が、前記第2配信形態によるコンテンツデータのダウンロード又はアップロードを実行するとき、前記第2配信形態に用いるリソースの使用状態に応じて、前記接続状態にあるチャンネルのうち、前記選択されたチャンネルと所定の関係を有するチャンネルに関する接続先装置との接続を切断するステップと、
を有するコンテンツ配信方法。 The content distribution device is managed by a connection management device so that a plurality of terminal devices are logically connected in multiple layers in a hierarchical structure for each channel on the network, with the content distribution device streaming the content data through a plurality of channels, respectively. A first distribution form in which the content data transmitted from a device is sequentially stream-distributed from the upstream terminal device of the hierarchical structure to the downstream terminal device for each channel by the relay function of the terminal device; and the plurality of terminal devices A content distribution method in a content distribution system having a second distribution form in which another terminal device that holds the content data distributes the content data based on a content data download request from one terminal device. And
The delivery device streaming delivering the content data;
The connection management device storing connection state information of the terminal devices constituting the hierarchical structure in a connection state information storage unit;
The terminal device connects the connection destination introduction request for the channel selected by the channel selection means for selecting the channel and the connection destination introduction request for the channel having a predetermined relationship with the channel via the network. Sending to the management device;
When the connection management device receives the connection destination introduction request from the terminal device via the network, a connection destination is determined from the connection state information stored in the connection state information storage unit for each connection destination introduction request. Selecting candidates,
The connection management device notifying the selected connection destination candidate for each connection destination introduction request to the terminal device that has transmitted the connection destination introduction request via the network;
The terminal device is connected to the connection destination candidates for each channel notified from the connection management device, and participates in the first distribution form through a plurality of channels;
When the terminal device downloads or uploads the content data according to the second distribution form, the selected one of the channels in the connected state is selected according to the use state of the resource used in the second distribution form. Disconnecting a connection with a connection destination device related to a channel having a predetermined relationship with the channel;
A content distribution method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006263561A JP2008085678A (en) | 2006-09-27 | 2006-09-27 | Content distribution system, content distribution method, terminal device in the content distribution system and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006263561A JP2008085678A (en) | 2006-09-27 | 2006-09-27 | Content distribution system, content distribution method, terminal device in the content distribution system and program thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008085678A true JP2008085678A (en) | 2008-04-10 |
Family
ID=39356070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006263561A Pending JP2008085678A (en) | 2006-09-27 | 2006-09-27 | Content distribution system, content distribution method, terminal device in the content distribution system and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008085678A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010122933A (en) * | 2008-11-20 | 2010-06-03 | Fujitsu Ltd | Method and device for transferring content |
WO2010125791A1 (en) * | 2009-04-27 | 2010-11-04 | 日本電気株式会社 | Content distribution system, node, content distribution method, and program |
KR101257579B1 (en) | 2009-10-19 | 2013-04-23 | 한국전자통신연구원 | Peer-to-peer overlay system and method for real time streaming service |
-
2006
- 2006-09-27 JP JP2006263561A patent/JP2008085678A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010122933A (en) * | 2008-11-20 | 2010-06-03 | Fujitsu Ltd | Method and device for transferring content |
WO2010125791A1 (en) * | 2009-04-27 | 2010-11-04 | 日本電気株式会社 | Content distribution system, node, content distribution method, and program |
KR101257579B1 (en) | 2009-10-19 | 2013-04-23 | 한국전자통신연구원 | Peer-to-peer overlay system and method for real time streaming service |
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 | |
US8134937B2 (en) | Distributed content storage system, content storage method, node device, and node processing program | |
WO2008013036A1 (en) | Node device, recording medium containing information processing program, content distribution method, and content distribution system | |
JP4604919B2 (en) | Content distribution system, content distribution method, connection management device, distribution device, terminal device, and program thereof | |
JP4765876B2 (en) | TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM FOR CONTENT DISTRIBUTION SYSTEM | |
JP4692278B2 (en) | Content distribution system, terminal device, information processing method thereof, and program thereof | |
JP4877107B2 (en) | Terminal device and information processing program in information distribution system, and information processing method of terminal device | |
JP2008085678A (en) | Content distribution system, content distribution method, terminal device in the content distribution system and program thereof | |
JP4539598B2 (en) | CONTENT DATA DISTRIBUTION SYSTEM, CONTENT DATA DISTRIBUTION METHOD, TERMINAL DEVICE, AND OPERATION PROGRAM FOR THE TERMINAL DEVICE | |
JP2007336396A (en) | Content distribution system, content distribution method, terminal device and program therefor | |
JP4924389B2 (en) | TERMINAL DEVICE, INFORMATION PROCESSING PROGRAM, AND INFORMATION PROCESSING METHOD USED FOR INFORMATION DISTRIBUTION SYSTEM | |
US20080291848A1 (en) | Information distribution system, terminal apparatus used in same system and recording medium on which is recorded a program, as well as information processing method | |
JP4797679B2 (en) | CONTENT DISTRIBUTION SYSTEM, CONTENT DATA MANAGEMENT DEVICE, ITS INFORMATION PROCESSING METHOD, AND ITS PROGRAM | |
US20090198818A1 (en) | Terminal apparatus and recording medium on which program is recorded, as well as reconnection process method, in information distribution system | |
JP4635966B2 (en) | CONTENT DISTRIBUTION SYSTEM, CONTENT DISTRIBUTION METHOD, TERMINAL DEVICE IN CONTENT DISTRIBUTION SYSTEM, AND PROGRAM THEREOF | |
JP2009200725A (en) | Information delivery system, method of forming hierarchical structure in the system, and program | |
JP2008293196A (en) | Information distribution system, terminal apparatus used for the system, information processing program thereof, and information processing method | |
JP5157770B2 (en) | Node device, program, and storage instruction method | |
JP2008236538A (en) | Tree type broadcast system, method for broadcasting content, broadcast management apparatus, and broadcast management processing program | |
JP2011008709A (en) | Information processing apparatus, content distributing system, method of controlling content distribution, and program | |
JP2009200979A (en) | Information distribution system, program for terminal connection management apparatus in the information distribution system and participation state detection method for the terminal device | |
JP2012078903A (en) | Node device, program for node device and information processing method | |
JP2009043128A (en) | Content distributed storage system, content data acquisition method, node device, and node processing program | |
JP2010072867A (en) | Terminal device, program, and content delivery system |